WO2018184436A1 - Method and device for displaying image - Google Patents
Method and device for displaying image Download PDFInfo
- Publication number
- WO2018184436A1 WO2018184436A1 PCT/CN2018/077899 CN2018077899W WO2018184436A1 WO 2018184436 A1 WO2018184436 A1 WO 2018184436A1 CN 2018077899 W CN2018077899 W CN 2018077899W WO 2018184436 A1 WO2018184436 A1 WO 2018184436A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- interface
- data
- image
- selected display
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
Definitions
- the present disclosure relates to the field of interface management and display technologies, for example, to a method and apparatus for displaying a picture.
- the picture to be displayed is generally stored in the memory of the television.
- the interface to be displayed is created, and then the created interface is loaded onto the TV screen, and the picture to be displayed is obtained from the TV memory and decoded and displayed.
- the present disclosure provides a method and a device for displaying a picture, so that a user can view a picture quickly and without interruption during browsing of a picture, and at the same time effectively save system resources of the smart device and improve utilization of the CPU of the smart device.
- the present disclosure provides a method for displaying a picture, which is applied to a smart device, and the method includes:
- the interface to be displayed Loading the data of the interface to be displayed, and dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the currently selected display image and the to-be-selected display image, wherein the current display interface is used for Displaying an original image of the currently selected display image and a thumbnail of the at least one display image to be selected, and the hidden invisible interface has a preset correspondence relationship with the to-be-selected display image;
- the present disclosure provides a display device for a picture, which is applied to a smart device, and the device includes:
- the original data acquisition module is configured to obtain the original image data after decoding the currently selected display image
- the display image obtaining module to be selected is configured to obtain at least one to-be-selected display image according to the preset picture selection rule according to the currently selected display picture, and obtain thumbnail data of the to-be-selected display picture;
- the interface loading module to be displayed is configured to load data of the interface to be displayed, and according to the currently selected display image and the to-be-selected display image, the interface to be displayed is divided into a current display interface and at least one hidden invisible interface, wherein
- the current display interface is configured to display an original image of the currently selected display image and a thumbnail of the at least one to-be-selected display image, the hidden invisible interface, and a preset with the to-be-selected display image Correspondence relationship;
- a picture display module configured to load the original picture data and the thumbnail data on the current display interface to display an original picture of the currently selected display picture and a thumbnail of the at least one picture to be selected .
- the present disclosure also provides a computer readable storage medium storing computer executable instructions for performing the above method.
- the present disclosure also provides a picture display device including one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory when being processed by one or more processors When executed, perform the above method.
- the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, Having the computer perform any of the methods described above.
- the user obtains the data of the currently to-be-displayed interface and the original selected display image after the high-speed browsing of the massive picture through the smart device.
- Graph data so on the current display interface, the currently selected displayed image can be loaded and displayed quickly and clearly.
- at least one picture to be selected different from the currently selected display picture is selected from the massive pictures stored in the smart device, and obtained
- the thumbnail data of the to-be-displayed picture is displayed, and the thumbnail is displayed on the current display interface.
- the thumbnail can be selected more directly and conveniently, so that the user can quickly browse the next picture.
- the display interface of the smart device can display a large number of pictures quickly and clearly, and there is no abnormality or slick phenomenon such as “black screen” or “caloon”, and the memory utilization rate of the smart device is improved. At the same time, it enhances the user's sensory experience.
- FIG. 1 is a schematic flow chart of a method for displaying a picture according to Embodiment 1.
- FIG. 2 is a schematic diagram of interface transition provided by Embodiment 1.
- FIG. 3 is a schematic flow chart of a method for displaying a picture according to Embodiment 2.
- FIG. 4A is a structural block diagram of a display device for a picture according to Embodiment 3.
- 4B is a structural block diagram of a display device for another picture provided in Embodiment 3.
- FIG. 5 is a schematic structural diagram of hardware of a picture display device according to Embodiment 4.
- FIG. 1 is a schematic flow chart of a method for displaying a picture according to Embodiment 1.
- the method of this embodiment can be performed by a picture display device such as a smart TV. As described in FIG. 1, the method may include the following steps:
- Step 110 Acquire original picture data after decoding of the currently selected display picture.
- the source of the currently selected display picture may be a local picture stored in a picture display device such as a smart TV, or may be a picture stored in a peripheral such as a U disk or a hard disk connected to a picture display device such as a smart TV. It can also be a picture stored in the cloud obtained by a picture display device such as a smart TV via the Internet.
- the decoded original image data is original image data obtained by decoding the currently selected display image data of the unique format according to the decoding manner of the storage format of the corresponding image.
- the decoded data of the original picture (abbreviated as the original picture) of the currently selected display picture of the user has been stored in the memory, hard disk or disk of the smart TV.
- the original picture data of the original picture of the currently selected display picture is not stored in the memory, the hard disk or the disk of the smart TV, the current user needs to obtain the current picture.
- the original picture of the displayed picture is selected for decoding, and the decoded original picture data is obtained.
- the method may further include:
- the decoded original image data is stored in a cache.
- the cache can include a memory cache and a disk cache.
- the decoded original image data it can be ensured that the user selects the display to be selected in the process of quickly browsing the massive image from left to right in the case that at least one cache space in the memory cache and the disk cache is fixed.
- the high-speed loading and display of the image reduces the occurrence of abnormalities such as "black screen” or "calorie” or the like, as compared with the technical solution that does not use the cache.
- Step 120 According to the currently selected display picture, at least one picture to be selected is obtained according to a preset picture determination rule, and thumbnail data of the picture to be selected is obtained.
- the preset picture determination rule may be: performing pre-judgment according to a preset picture priority level according to a preset screening algorithm, and obtaining at least one to-be-selected display picture according to the pre-judgment result.
- the preset picture priority may be: the currently selected display picture has the highest priority; the closer the picture is to the storage location of the currently selected display picture, the higher the priority, the distance from the currently selected display picture storage. The lower the position, the lower the priority of the picture.
- the priority of the image may be determined according to the priority identifier carried in the original image data. Therefore, the preset screening algorithm may be: when the image is stored in the cache, the image may be identified according to the priority. After sorting, the storage is performed. Therefore, after the currently selected display image is determined, at least one next selected display image can be determined according to the currently selected display image and image sorting.
- the priority identifier of the image (such as time-based or location-based) can be set before the smart device leaves the factory.
- the user-stored images can be classified according to the user's needs (for example, according to the image)
- the storage time or shooting time or shooting location is classified, and the corresponding priority identifier is added to different images.
- the preset filtering algorithm may be: in the current time period, the corresponding priority identifier may be added to the image stored by the user according to the order of the storage time.
- the smart device may prioritize according to the image.
- the level identifier and the currently displayed display picture are determined according to the storage time order, and at least one of the next to be selected display pictures is pushed to the user.
- the priority identifier of the image may be added by the user, that is, when the user stores the image, the priority identifier corresponding to the stored image may be added according to actual needs.
- an identifier 1 is added for the picture A
- an identifier 2 is added for the picture B, wherein the priority of the identifier 1 is higher than the priority of the identifier 2.
- the preset filtering algorithm may also be: the pictures stored by the user may be sorted according to the actual needs of the user, and when the user browses the picture, at least one next to be selected display picture may be determined according to the above sorting. According to the actual needs of users, the default order of the pictures obtained by sorting can meet the needs of users.
- the priority of the picture can also be dynamically changed according to the user's operation.
- the user's picture browsing operation behavior can be counted by means of machine learning, so that the degree of fit and tacit agreement between the picture judgment rule executed by the program in the smart device and the historical picture browsing operation of the user is higher, and thus effective
- the efficiency of the user to select the display picture next is determined. For example, when a user browses a picture in a picture library, the smart device can obtain the browsing time of the user for the picture, and determine the priority of the picture by counting the length of each picture browsing time.
- the priority of the picture A can be set to the first level, and the picture A is cached in the position of the first picture in the picture library. In this way, the first picture currently displayed in the process of browsing the massive picture library is the picture A, thereby saving the time for searching for the picture A and improving the user experience.
- the preset screening algorithm may also be: in a one-week time period, the system statistics of the smart device find that after the user browses the picture A, the user spends the most time browsing the picture B, that is, the picture B and Picture A is the most relevant, so it can be inferred that after the user has finished browsing picture A, it is possible to browse picture B.
- the picture B has the highest priority with respect to the picture A, and the picture B is the picture to be selected for the picture A.
- the preset picture determination rule at least one next to be selected display picture that the user may wish to browse after browsing the currently selected display picture is obtained.
- the currently selected display image and the thumbnail data corresponding to the at least one to-be-selected display image may also be determined at the same time.
- the storage manner of at least one to-be-selected display picture and its corresponding thumbnail data may be selected to be stored using a cache.
- Step 130 Load data of the interface to be displayed, and divide the interface to be displayed into a current display interface and at least one hidden invisible interface according to the currently selected display image and the to-be-selected display image.
- the current display interface is configured to display an original image of the currently selected displayed image and at least one thumbnail of the to-be-selected display image, and the hidden invisible interface has a preset corresponding to the to-be-selected display image. relationship.
- the interface to be displayed is a carrier that currently selects a display image and a display image to be selected.
- the current display interface is an interface that the user can see, usually the interface where the user is browsing. This interface can show the user the original image of the currently selected display image and the thumbnail of the next selected display image.
- the hidden invisible interface is in the invisible area of the user, and is usually a picture display interface that has been browsed by the user or the next picture display interface to be browsed. Since the display images to be selected have been sorted according to the priority, there is a preset correspondence between the hidden invisible interface and the display image to be selected. Optionally, the preset correspondence may be determined according to a priority of the to-be-selected display picture.
- the current display interface may be used to display the original image of the currently selected display picture and the corresponding thumbnail image, wherein the thumbnail image may be displayed floating above, below, above or below the original image according to the preset path, and may be according to a predetermined track.
- the thumbnail is swiped.
- the thumbnail corresponding to the selected display image can also be displayed in the current display interface. For example, in a case that the user does not affect the currently selected display picture, the thumbnails corresponding to the four to-be-selected display pictures may be presented in the four corner positions of the current display interface, or the thumbnails corresponding to the two selected display pictures may be placed.
- the interface to be displayed may be adaptively scaled according to the size of the smart device display screen and the content of the picture to be displayed to enhance the sensory experience of the user.
- the current display interface and the hidden invisible interface are not fixed, and the current display interface and the hidden invisible interface may be converted according to a user-initiated browsing switching instruction.
- the current display interface and the hidden invisible interface will also be in a dynamic conversion process.
- the interface to be displayed is divided into a current display interface and two hidden invisible interfaces distributed on the left and right sides thereof, and the hidden invisible interface on the left side corresponds to the left side of the currently selected display image on the current display interface. Thumbnail, the hidden invisible interface on the right side corresponds to the thumbnail on the right side of the currently selected display image on the current display interface.
- the dynamic change process of the display interface is :
- the hidden invisible interface on the right side of the current display interface becomes the new current display interface;
- the original current display interface becomes the new current display interface (that is, the hidden invisible interface on the right side of the original current display interface) is hidden on the left side.
- the hidden invisible interface on the left side of the current display interface becomes the hidden invisible interface on the right side of the new current display interface (ie, the hidden invisible interface on the right side of the original current display interface).
- the dynamic change process of the interface is:
- the hidden invisible interface on the left side of the current display interface becomes the new current display interface
- the original current display interface becomes the new current display interface (ie, the hidden invisible interface on the left side of the original current display interface) is hidden from the right side.
- the hidden invisible interface on the right side of the current display interface becomes the hidden invisible interface on the left side of the new current display interface (ie, the hidden invisible interface on the left side of the original current display interface).
- the newly created corresponding invisible interface data is not newly created, and the original image corresponding to the thumbnail is obtained from the memory, the memory buffer area or the disk buffer area according to the correspondence between the hidden invisible interface and the thumbnail displayed on the current display interface.
- the data is used to improve the stability of the loading of the display interface of the next picture and the corresponding original image data and the efficiency of the display interface reuse.
- the system such as the smart device can determine the rule according to the preset picture according to the updated picture. Get the new two to-be-selected display images, and get the original image and thumbnail data of the two selected display images, then store the data in the memory or disk cache, and place the thumbnails in the new currently selected display. Both sides of the picture are for the user to choose to continue browsing, and the smart device system can perform the above steps cyclically according to the user's operation.
- the method may further include: creating an interface to be displayed, obtaining data of the interface to be displayed, and storing data of the interface to be displayed in a cache. And disk caching.
- the setting is such that the data of the interface to be displayed can be directly obtained when the interface is displayed next time, without additional resources and time to newly create the interface to be displayed and generate data of the display interface to be created, which can be smoothly loaded at a high speed. UI.
- creating a current display interface and at least one hidden invisible interface may include: determining a number of hidden invisible interfaces according to a memory device size, a model, and the like, and determining a number of hidden invisible interfaces; Set interface storage rules to store the current display interface and hide the data of the invisible interface in the cache.
- interface A is the current display interface
- the interfaces B and C are 2 hidden invisible interfaces
- the invisible interfaces B and C are hidden for memory pre-buffering (the hidden invisible interfaces B and C and the to-be-selected display image are hidden at this time)
- the current display interface A presents the currently selected display picture to the user.
- the left side of the current display interface A is the hidden invisible interface B stored in the memory cache
- the right side is the hidden invisible interface C stored in the memory cache.
- 5 interfaces can be cached.
- 2 is a schematic diagram of interface conversion provided in Embodiment 1. As shown in FIG. 2, four interfaces (numbers: 1, -1, 2, and -2) are used as hidden invisible interfaces, and one interface (number: 0) Display the currently selected display picture to the user as the current display interface. After obtaining the picture browsing switching instruction of the user, the above five interfaces may display the target picture that the user intends to switch the browsing according to the switching instruction.
- the utilization of memory resources can be improved.
- the data of the hidden invisible interface is stored in the cache, which can effectively manage the display interface of the smart device, and the utilization of the display interface can also be improved, and the memory usage of the invalid display interface is also avoided.
- the display interface is displayed to the user without interruption, thereby improving the user experience.
- the storage processing of the data of the interface to be displayed in the cache and the storage processing of the original image data after decoding in the cache may be performed synchronously, but may be performed separately, and the execution order is not limited.
- Step 140 Load the original image data and the thumbnail data on the current display interface to display the original image and the thumbnail image.
- the data of the current display interface and the data of the currently selected display image are synchronously loaded.
- the data may be sequentially loaded according to the priority of the original picture.
- the loading speed of the picture data is adapted to the speed at which the user switches the display interface, so that the setting is for the user to quickly browse the massive pictures without "black screen” or "calorie”. phenomenon.
- the currently selected display picture can be displayed on the current display interface.
- the thumbnail corresponding to the selected display image may also be displayed on the left side, the right side, the upper side or the lower side of the currently selected display picture in the current display interface, so as to facilitate the user to Quickly and easily select the next target image to be viewed.
- the current display interface and the currently selected display image are also updated, and step 110- The method provided by 140 displays the picture.
- the thumbnail is selected as the currently selected display image
- the hidden invisible interface corresponding to the thumbnail is updated to the new current display interface
- the original current display interface is updated to the new hidden invisible interface.
- three display interfaces A, B, and C are stored in the cache in the smart TV.
- the hidden invisible interface C stored on the right side replaces the currently visible interface A.
- the invisible interface C is hidden as a new currently visible interface, and the original current display interface A is used as a new one.
- the hidden invisible interface C is also replaced with the original hidden image in the invisible interface C.
- the hidden invisible interface B of the left cache will be switched to the new current display interface, and the image in the new current display interface will also be hidden from the original invisible interface B. replace.
- This embodiment provides a method for displaying a picture, which can be applied to a smart device.
- a smart device such as a smart TV
- the currently selected displayed image can be loaded and displayed quickly and clearly.
- at least one picture to be selected different from the currently selected display picture is selected from the massive pictures stored in the smart TV, and obtained
- the thumbnail data of the to-be-displayed picture is displayed, and the thumbnail is displayed on the current display interface.
- the thumbnail can be selected more directly and conveniently, so that the user can quickly browse the next picture. And by dividing the interface to be displayed into a current display interface and at least one hidden invisible interface, and the technical means of the preset correspondence relationship between the hidden invisible interface and the to-be-selected display image, thereby smoothly ensuring that the user can On the original hidden invisible interface (currently the current display interface), the thumbnail or original image of the next selected display image is browsed at high speed and clearly.
- the display interface of the smart device can display a large number of pictures quickly and clearly, and the abnormality or non-smoothness such as “black screen” or “katon” does not appear, which enhances the sensory experience of the user.
- FIG. 3 is a schematic flow chart of a method for displaying a picture according to Embodiment 2.
- the second embodiment is optimized on the basis of the first embodiment. Referring to FIG. 3, the second embodiment includes the following steps:
- Step 210 Decode the currently selected picture to obtain the original picture data after the currently selected display picture is decoded.
- Step 220 Store, according to a preset picture data caching rule, the original picture data after decoding of the currently selected display picture in at least one of the memory cache and the disk cache.
- thumbnail data corresponding to the currently selected display image may also be obtained and stored.
- Step 230 According to a preset picture determination rule, obtain a to-be-selected display picture, and decode the to-be-selected display picture based on at least one of a preset abbreviated ratio and a preset memory multiplexing rule to obtain the The thumbnail data after the picture is decoded is selected.
- the preset picture determination rule after determining the to-be-selected display picture, it can be determined whether there is corresponding decoded thumbnail data in the memory cache or the disk cache, and there is corresponding decoded thumbnail data. When it is, it means that the to-be-selected display picture does not need to be decoded, and can be directly loaded. If there is no corresponding decoded thumbnail data, the selected display picture is decoded to obtain decoded thumbnail data.
- the preset memory reuse rule can time-multiplex the memory through memory sharing or memory swapping in a certain memory.
- the corresponding image data of the display image to be selected may be determined.
- the preset thumbnail ratio is a thumbnail displayed on the screen, and does not affect the effect that the user can determine the currently to-be-selected display image according to the thumbnail.
- Step 240 Store thumbnail image data after the selected display picture is decoded in at least one of the memory cache and the disk cache according to a preset picture data cache rule.
- the efficiency of decoding, loading, and displaying of a large number of images during dynamic browsing can be improved, and memory resources can also be saved.
- the preset picture data caching rule may include: buffering the picture data according to a preset page replacement algorithm.
- the preset page replacement algorithm may be selected as a Least Recently Used (LRU) algorithm.
- LRU Least Recently Used
- the size of at least one of the decoded original image data and the thumbnail data stored in the memory cache and/or the disk cache may be determined according to the software and hardware configuration attributes of the smart device, such as a smart TV. .
- the preset time is counted ( For example, the number of times the original image data and/or the thumbnail data that have been stored in the 15 days are viewed by the user. If the counted number of times of browsing is lower than a preset threshold (for example, 3 times), the number of times of browsing is based on the LRU algorithm.
- the original image data and/or thumbnail data below the preset threshold are deleted from the cache, providing a buffer space for the determined number of original image data and/or thumbnails to be browsed.
- the advantage of this setting is that the size of the cache can be dynamically and effectively controlled, so that the cache space of the smart TV can be in a reasonable range, and the work efficiency of decoding, loading and displaying the picture when the user browses a large number of pictures is improved, and the user experience is improved.
- the original image data is stored in the memory buffer, in the case of ensuring that the original image data is optimally displayed, it is generally set to store 2 to 3 original decoded data, and the size is about 2 megabytes (M).
- the size of the stored thumbnail data can be increased to 12 megabytes (M) due to its large memory space, which improves the generation, display and loading speed of thumbnails.
- the manner of storing by using the disk cache may include the following two situations:
- the sub-thread preloads the thumbnail data with high priority to ensure that the original image data can be directly converted into thumbnails and stored in the disk cache when the original image data has no thumbnails, thereby increasing the loading speed of the thumbnails.
- the size of the stored thumbnail data can be adjusted according to the space of the disk, and generally 80 megabytes (M) of thumbnail data can be cached.
- the sub-thread is used to store the original image data after the currently selected display image is decoded, and the original image data can be directly displayed during the second loading.
- the decoded original image data since the decoded original image data still occupies a large space, for the decoded original image data, generally 100 megabytes (M) of data can be stored.
- step 220 the currently selected display picture data and the corresponding thumbnail data are stored in the cache, and the corresponding thumbnail data decoded in the step 240 to be decoded in the cache may be stored in the cache, or may be performed asynchronously.
- Step 250 Acquire original picture data and thumbnail data after decoding of the currently selected display picture, and thumbnail data after decoding of the selected display picture.
- the thumbnail of the display image to be selected is generally selected to be displayed during the high-speed browsing of the image by the user, that is, as the display interface is continuously switched, the currently selected displayed image on the current display interface is also Keep switching.
- the thumbnails displayed on the current display interface are also dynamically updated.
- the thumbnail data is replaced by the corresponding original image data, that is, the current display interface presents the original image data.
- Step 260 Load data of the interface to be displayed, and divide the interface to be displayed into a current display interface and at least one hidden invisible interface.
- Step 270 Load the original image data decoded by the currently selected display image and the thumbnail data to be selected and displayed in the current display interface and display.
- the user can always send the right picture browsing switching instruction through the remote control or the touch screen (for example, long press the right button of the remote control or continuously click the screen). "Right" indicator button, etc.).
- the thumbnail data stored in the storage space such as the memory buffer or the disk cache can be loaded at a high speed according to the picture browsing switching instruction and displayed in the corresponding display interface (ie, the thumbnail is not displayed). Show it to users intermittently).
- the user is quickly displayed in the process of continuously browsing a large number of pictures at high speed. . It avoids the problem that the user loses patience due to the long decoding of the picture, and also effectively alleviates the use of the central processing unit (CPU) by the decoding program, and solves the rapid display of a large number of picture display devices such as smart TVs.
- the technical problems such as "cart” or "dead” appear when the picture is taken.
- the present embodiment stores the decoded original image data and the corresponding thumbnail data in a cache, and determines the decoded original image data and the corresponding reduced image according to the configuration attribute of the smart device. Thumbnail data cache quota size, which can improve the utilization of smart device storage resources. In the process of the user browsing the massive pictures at high speed, the pictures can be displayed to the user in the form of thumbnails without gaps, thereby improving the user's experience of quickly browsing pictures.
- FIG. 4A is a structural block diagram of a display device for a picture according to Embodiment 3.
- the device can be implemented in software and/or hardware and can generally be integrated into a smart device. As shown in FIG. 4A, the device includes: an original image data acquiring module 310, a to-be-selected display image acquiring module 320, a to-be-displayed interface loading module 330, and a picture display module 340.
- the original image data obtaining module 310 is configured to obtain the original image data after the currently selected display image is decoded;
- the to-be-selected display image acquiring module 320 is configured to determine according to the currently selected display image, according to the preset image. a rule, obtaining at least one display image to be selected, and acquiring thumbnail data of the to-be-selected display image;
- the embodiment provides a display device for a picture.
- the data of the currently to-be-displayed interface and the currently selected display picture have been obtained in the memory of the smart device.
- the decoded original image data, so on the current display interface, the currently selected displayed image can be loaded and displayed quickly and clearly.
- the currently selected display picture according to the preset picture judgment rule, at least one picture to be selected different from the currently selected display picture is selected from the massive pictures stored in the smart device, and the obtained picture is obtained.
- the thumbnail data of the displayed picture is selected, and the thumbnail is displayed on the current display interface, so that the user can select the display picture to be selected more directly and conveniently after browsing the original picture of the currently selected displayed picture. Thumbnails for users to quickly browse the next picture. And the technical means for dividing the interface to be displayed into the current display interface and the at least one hidden invisible interface, and the preset incompatible relationship between the hidden invisible interface and the to-be-selected display image, thereby ensuring that the user can hide in the original On the invisible interface (currently the current display interface), browse to the next thumbnail or original image of the selected display image.
- the display interface of the smart device can browse the massive pictures quickly and clearly, and there is no abnormality or slick phenomenon such as “black screen” or “katon”, and the memory utilization rate of the smart device is improved. , enhance the user's sensory experience.
- the device further includes: an interface cache module 390, configured to create an interface to be displayed before the data of the interface to be displayed is loaded, and obtain data of the interface to be displayed, according to a preset interface. Data caching rules, data for the interface to be displayed and stored in the cache.
- the apparatus further includes: a first decoding module 350, configured to decode the currently selected display picture before obtaining the original image data after decoding the currently selected display picture, to obtain the The original image data after the picture is decoded is currently selected; the original data buffering module 360 is configured to store the currently selected display in at least one of the memory cache and the disk cache according to a preset image data cache rule. The original image data after the image is decoded.
- a first decoding module 350 configured to decode the currently selected display picture before obtaining the original image data after decoding the currently selected display picture, to obtain the The original image data after the picture is decoded is currently selected
- the original data buffering module 360 is configured to store the currently selected display in at least one of the memory cache and the disk cache according to a preset image data cache rule. The original image data after the image is decoded.
- the apparatus further includes: a second decoding module 370, configured to preset a thumbnail ratio and a preset memory multiplexing rule before acquiring the thumbnail data of the to-be-selected display picture.
- a second decoding module 370 configured to preset a thumbnail ratio and a preset memory multiplexing rule before acquiring the thumbnail data of the to-be-selected display picture.
- the thumbnail data cache module 380 is configured to follow the preset picture data cache rule.
- the decoded thumbnail data of the to-be-selected display picture is stored in at least one of a memory cache and a disk cache.
- the apparatus further includes: an interface updating module 400, configured to: after the displaying the original image of the currently selected display picture and the thumbnail of the at least one to-be-selected display picture, When the thumbnail of the selected display picture is selected as the currently selected display picture, the hidden invisible interface corresponding to the to-be-selected display picture is updated to a new current display interface, the original The current display interface is updated to the hidden invisible interface.
- an interface updating module 400 configured to: after the displaying the original image of the currently selected display picture and the thumbnail of the at least one to-be-selected display picture, When the thumbnail of the selected display picture is selected as the currently selected display picture, the hidden invisible interface corresponding to the to-be-selected display picture is updated to a new current display interface, the original The current display interface is updated to the hidden invisible interface.
- the preset picture determination rule includes:
- the preset picture priority includes: The currently selected displayed picture has the highest priority; the closer the picture is to the currently selected displayed picture, the higher the priority of the picture.
- the preset picture data caching rule includes: storing the picture data in a cache according to a preset page replacement algorithm.
- the device further includes: a data determining module, configured to determine, according to configuration attributes of the smart device, decoded original data and thumbnails stored in at least one of a cache and a disk cache The size of at least one of the data.
- a data determining module configured to determine, according to configuration attributes of the smart device, decoded original data and thumbnails stored in at least one of a cache and a disk cache The size of at least one of the data.
- the display device for providing a picture in this embodiment can perform the display method of the picture provided by any embodiment of the present application, and has corresponding functions and beneficial effects.
- the display method of the picture provided by any embodiment of the present application can perform the display method of the picture provided by any embodiment of the present application, and has corresponding functions and beneficial effects.
- the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method.
- FIG. 5 is a schematic diagram showing the hardware structure of a picture display device according to this embodiment.
- the picture display device includes: one or more processors 510 and a memory 520.
- One processor 510 is taken as an example in FIG.
- the picture display device may further include: an input device 530 and an output device 540.
- the processor 510, the memory 520, the input device 530, and the output device 540 in the picture display device may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
- the input device 530 can receive input numeric or character information
- the output device 540 can include a display device such as a display screen.
- the memory 520 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules.
- the processor 510 executes various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 520 to implement any of the above embodiments.
- the memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the picture display device, and the like.
- the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
- Memory 520 can be a non-transitory computer storage medium or a transitory computer storage medium.
- the non-transitory computer storage medium such as at least one disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 520 can optionally include memory remotely located relative to processor 510, which can be connected to the picture display device over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- Input device 530 can be configured to receive input digital or character information and to generate key signal inputs related to user settings and function control of the picture display device.
- the output device 540 can include a display device such as a display screen.
- the picture display device of this embodiment may further include a communication device 550 that transmits and/or receives information over a communication network.
- a person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer readable storage medium.
- the program when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
- the display method and device of the picture provided by the present disclosure enable the display interface of the smart device to display a large number of pictures quickly and clearly, without abnormal or non-smooth phenomenon such as “black screen” or “cartoon”, and the smart device is upgraded. At the same time, the memory utilization improves the user's sensory experience.
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
Description
本公开涉及界面管理及显示技术领域,例如涉及一种图片的显示方法和装置。The present disclosure relates to the field of interface management and display technologies, for example, to a method and apparatus for displaying a picture.
随着社会的发展,技术的进步和摄影的流行,高清晰度的智能终端设备为广大消费群体带来了不一样的视听享受,越来越多的智能电视机也随之进入了普通家庭。用户通过智能电视等智能设备来浏览查看图片也随之有了更多的需求和更高的要求。With the development of society, the advancement of technology and the popularity of photography, high-definition smart terminal devices have brought different audio-visual enjoyment to the vast consumer groups, and more and more smart TVs have entered the ordinary family. Users browsing and viewing pictures through smart devices such as smart TVs have more demands and higher requirements.
在相关的电视的显示技术中,一般都是将待显示的图片存储到电视的内存中。当需要将图片在电视上展现时,创建待显示的界面,然后将创建的界面加载到电视屏幕上,同时从电视内存中获取待显示的图片并进行解码显示。上述对显示界面及其显示图片的管理方式存在如下缺陷:In the related television display technology, the picture to be displayed is generally stored in the memory of the television. When the picture needs to be displayed on the TV, the interface to be displayed is created, and then the created interface is loaded onto the TV screen, and the picture to be displayed is obtained from the TV memory and decoded and displayed. The above management methods for the display interface and its display image have the following defects:
当用户需要浏览海量的高清、高分辨图片时,a、很容易出现电视的中央处理器(Central Processing Unit,CPU)过载,内存不足,导致图片显示不清晰,甚至可能出现电视卡死或重启等问题;b、也可能出现图片加载过慢或加载失败等现象,让用户在浏览过程中失去耐心,同时也容易造成视觉上的疲劳。When users need to browse a large number of high-definition, high-resolution pictures, a, it is easy to appear that the central processing unit (CPU) of the TV is overloaded, the memory is insufficient, resulting in unclear picture display, and even TV card death or restart may occur. Problem; b. It may also happen that the image is loaded too slowly or the upload fails, which makes the user lose patience during browsing and is also prone to visual fatigue.
因此,相关技术中对界面及其图片的管理方式可靠性较差,用户体验差。Therefore, the management method of the interface and its pictures in the related art is poor in reliability and the user experience is poor.
发明内容Summary of the invention
本公开提供一种图片的显示方法和装置,使得用户在浏览图片的过程中能够快速且无间断地查看图片,同时可有效地节省智能设备的系统资源,提高智能设备的CPU的利用率。The present disclosure provides a method and a device for displaying a picture, so that a user can view a picture quickly and without interruption during browsing of a picture, and at the same time effectively save system resources of the smart device and improve utilization of the CPU of the smart device.
本公开采用如下技术方案:The present disclosure adopts the following technical solutions:
第一方面,本公开提供了一种图片的显示方法,应用于智能设备,所述方法包括:In a first aspect, the present disclosure provides a method for displaying a picture, which is applied to a smart device, and the method includes:
获取当前选定显示图片解码后的原图数据;Obtaining the original image data after decoding the currently selected display image;
根据所述当前选定显示图片,按照预设的图片判断规则,得到至少一张待 选定显示图片,并获取所述待选定显示图片的缩略图数据;Obtaining at least one selected display picture according to the preset picture selection rule according to the preset picture determination rule, and acquiring thumbnail data of the to-be-selected display picture;
加载待显示界面的数据,根据所述当前选定显示图片和待选定显示图片,将所述待显示界面划分为当前显示界面和至少一个隐藏不可见界面,其中,所述当前显示界面用于显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图,所述隐藏不可见界面与所述待选定显示图片存在预设的对应关系;Loading the data of the interface to be displayed, and dividing the interface to be displayed into a current display interface and at least one hidden invisible interface according to the currently selected display image and the to-be-selected display image, wherein the current display interface is used for Displaying an original image of the currently selected display image and a thumbnail of the at least one display image to be selected, and the hidden invisible interface has a preset correspondence relationship with the to-be-selected display image;
在所述当前显示界面,加载所述原图数据和所述缩略图数据,以显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图。And loading, in the current display interface, the original image data and the thumbnail data to display an original image of the currently selected display image and a thumbnail of the at least one to-be-selected display image.
第二方面,本公开提供了一种图片的显示装置,应用于智能设备,所述装置包括:In a second aspect, the present disclosure provides a display device for a picture, which is applied to a smart device, and the device includes:
原图数据获取模块,设置为获取当前选定显示图片解码后的原图数据;The original data acquisition module is configured to obtain the original image data after decoding the currently selected display image;
待选定显示图片获取模块,设置为根据所述当前选定显示图片,按照预设的图片判断规则,得到至少一张待选定显示图片,并获取所述待选定显示图片的缩略图数据;The display image obtaining module to be selected is configured to obtain at least one to-be-selected display image according to the preset picture selection rule according to the currently selected display picture, and obtain thumbnail data of the to-be-selected display picture;
待显示界面加载模块,设置为加载待显示界面的数据,根据所述当前选定显示图片和待选定显示图片,将所述待显示界面划分为当前显示界面和至少一个隐藏不可见界面,其中,所述当前显示界面用于显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图,所述隐藏不可见界面,与所述待选定显示图片存在预设的对应关系;The interface loading module to be displayed is configured to load data of the interface to be displayed, and according to the currently selected display image and the to-be-selected display image, the interface to be displayed is divided into a current display interface and at least one hidden invisible interface, wherein The current display interface is configured to display an original image of the currently selected display image and a thumbnail of the at least one to-be-selected display image, the hidden invisible interface, and a preset with the to-be-selected display image Correspondence relationship;
图片显示模块,设置为在所述当前显示界面,加载所述原图数据和所述缩略图数据,以显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图。a picture display module, configured to load the original picture data and the thumbnail data on the current display interface to display an original picture of the currently selected display picture and a thumbnail of the at least one picture to be selected .
本公开还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The present disclosure also provides a computer readable storage medium storing computer executable instructions for performing the above method.
本公开还提供一种图片显示设备,该图片显示设备包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述方法。The present disclosure also provides a picture display device including one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory when being processed by one or more processors When executed, perform the above method.
本公开还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。The present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, Having the computer perform any of the methods described above.
在本公开提供的技术方案,使得用户通过智能设备,在对海量图片进行高 速浏览的过程中,由于智能电视的存储器中已经获取到了当前待显示界面的数据和当前选定显示图片解码后的原图数据,所以在当前显示界面上,可以快速且清晰地加载并显示当前选定显示的图片。同时,根据当前选定的显示图片,按照预设的图片判断规则,从智能设备中存储的海量图片中甄选出了至少一张与当前选定显示图片不同的待选定显示图片,且获取到该待选定显示图片的缩略图数据,并将该缩略图显示在当前显示界面上。以供用户在浏览完当前选定显示图片的原图后,可以更为直接方便地选择该缩略图,以方便用户进行下一张图片的快速浏览。并且通过将待显示界面划分为当前显示界面和至少一个隐藏不可见界面,且该隐藏不可见界面与该待选定显示图片之间存在预设的对应关系的技术手段,进而保证用户可以在原隐藏不可见界面(现当前显示界面)上,高速且清晰地浏览下一张待选定显示图片的缩略图或原图。通过采取上述技术方案,使得智能设备的显示界面在快速且清晰地显示海量图片的同时,不会出现“黑屏”或“卡顿”等异常或不流畅现象,在提升智能设备的内存利用率的同时,提升了用户的感官体验。In the technical solution provided by the present disclosure, the user obtains the data of the currently to-be-displayed interface and the original selected display image after the high-speed browsing of the massive picture through the smart device. Graph data, so on the current display interface, the currently selected displayed image can be loaded and displayed quickly and clearly. At the same time, according to the currently selected display picture, according to the preset picture judgment rule, at least one picture to be selected different from the currently selected display picture is selected from the massive pictures stored in the smart device, and obtained The thumbnail data of the to-be-displayed picture is displayed, and the thumbnail is displayed on the current display interface. After the user browses the original picture of the currently selected display picture, the thumbnail can be selected more directly and conveniently, so that the user can quickly browse the next picture. And the technical means for dividing the interface to be displayed into the current display interface and the at least one hidden invisible interface, and the preset incompatible relationship between the hidden invisible interface and the to-be-selected display image, thereby ensuring that the user can hide in the original On the invisible interface (currently the current display interface), the thumbnail or original image of the next selected display image is viewed at high speed and clearly. By adopting the above technical solution, the display interface of the smart device can display a large number of pictures quickly and clearly, and there is no abnormality or slick phenomenon such as “black screen” or “caloon”, and the memory utilization rate of the smart device is improved. At the same time, it enhances the user's sensory experience.
图1为实施例一提供的一种图片的显示方法的流程示意图。1 is a schematic flow chart of a method for displaying a picture according to Embodiment 1.
图2为实施例一提供的一种界面转换示意图。FIG. 2 is a schematic diagram of interface transition provided by Embodiment 1.
图3为实施例二提供的一种图片的显示方法的流程示意图。FIG. 3 is a schematic flow chart of a method for displaying a picture according to Embodiment 2.
图4A为实施例三提供的一种图片的显示装置的结构框图。4A is a structural block diagram of a display device for a picture according to Embodiment 3.
图4B为实施例三提供的另一种图片的显示装置的结构框图。4B is a structural block diagram of a display device for another picture provided in Embodiment 3.
图5为实施例四提供的一种图片显示设备的硬件结构示意图。FIG. 5 is a schematic structural diagram of hardware of a picture display device according to Embodiment 4;
实施例一Embodiment 1
图1为实施例一提供的一种图片的显示方法的流程示意图。本实施例的方法可以由如智能电视等图片显示装置来执行。如图1所述,该方法可以包括如下步骤:1 is a schematic flow chart of a method for displaying a picture according to Embodiment 1. The method of this embodiment can be performed by a picture display device such as a smart TV. As described in FIG. 1, the method may include the following steps:
步骤110:获取当前选定显示图片解码后的原图数据。Step 110: Acquire original picture data after decoding of the currently selected display picture.
示例性的,当前选定显示图片的来源可以为智能电视等图片显示设备中存 储的本地图片,也可以为连接在智能电视等图片显示设备上的U盘或硬盘等外设中存储的图片,也可以是智能电视等图片显示设备通过互联网获取到的存储在云端的图片。Exemplarily, the source of the currently selected display picture may be a local picture stored in a picture display device such as a smart TV, or may be a picture stored in a peripheral such as a U disk or a hard disk connected to a picture display device such as a smart TV. It can also be a picture stored in the cloud obtained by a picture display device such as a smart TV via the Internet.
示例性的,解码后的原图数据是对特有格式的当前选定显示图片数据按照相应图片的存储格式的解码方式进行解码,而获得的原图数据。Exemplarily, the decoded original image data is original image data obtained by decoding the currently selected display image data of the unique format according to the decoding manner of the storage format of the corresponding image.
在获取当前选定显示图片解码后的原图数据前,若判断出智能电视的内存、硬盘或磁盘中已存储了用户当前选定显示图片的原始图片(简称原图)解码后的数据,此时,则无需对当前选定显示图片进行解码;若判断出智能电视的内存、硬盘或磁盘中未存储当前选定显示图片的原始图片解码后的原图数据,则需要对获取到的用户当前选定显示图片的原始图片进行解码,得到解码后的原图数据。Before obtaining the original image data after decoding the currently selected display image, if it is determined that the decoded data of the original picture (abbreviated as the original picture) of the currently selected display picture of the user has been stored in the memory, hard disk or disk of the smart TV, this When it is determined that the currently selected display picture is decoded, if the original picture data of the original picture of the currently selected display picture is not stored in the memory, the hard disk or the disk of the smart TV, the current user needs to obtain the current picture. The original picture of the displayed picture is selected for decoding, and the decoded original picture data is obtained.
可选的,在获取当前选定显示图片解码后的原图数据之前,还可以包括:Optionally, before acquiring the original image data after decoding the currently selected display image, the method may further include:
解码当前选定显示的图片,得到当前选定显示的图片的解码后的原图数据;按照预设的图片数据缓存规则,在内存缓存和磁盘缓存中的至少一种缓存中存储当前选定显示图片解码后的原图数据。Decoding the currently selected picture to obtain the decoded original picture data of the currently selected picture; storing the currently selected display in at least one of the memory cache and the disk cache according to a preset picture data cache rule The original image data after the image is decoded.
可选的,解码后的原图数据的存储方式为采用缓存进行存储。其中,缓存可包括内存缓存和磁盘缓存。通过将解码后的原图数据在缓存中进行存储,可以保证在内存缓存和磁盘缓存中的至少一个缓存的空间一定的情况下,用户在左右快速浏览海量图片的过程中,实现待选定显示图片的高速加载并显示,相对于不采用缓存的技术方案,减少了“黑屏”或“卡顿”等异常或不流畅等现象出现。Optionally, the decoded original image data is stored in a cache. Among them, the cache can include a memory cache and a disk cache. By storing the decoded original image data in the cache, it can be ensured that the user selects the display to be selected in the process of quickly browsing the massive image from left to right in the case that at least one cache space in the memory cache and the disk cache is fixed. The high-speed loading and display of the image reduces the occurrence of abnormalities such as "black screen" or "calorie" or the like, as compared with the technical solution that does not use the cache.
步骤120:根据当前选定显示图片,按照预设的图片判断规则得到至少一张待选定显示图片,并获取待选定显示图片的缩略图数据。Step 120: According to the currently selected display picture, at least one picture to be selected is obtained according to a preset picture determination rule, and thumbnail data of the picture to be selected is obtained.
其中,预设的图片判断规则可以为:按照预设的图片优先级,结合预设的筛选算法,进行图片预判,根据预判结果可得到至少一个待选定显示图片。The preset picture determination rule may be: performing pre-judgment according to a preset picture priority level according to a preset screening algorithm, and obtaining at least one to-be-selected display picture according to the pre-judgment result.
可选的,预设的图片优先级可以为:当前选定显示图片的优先级最高;距离当前选定显示图片的存储位置越近的图片的优先级越高,距离当前选定显示图片的存储位置越远的图片的优先级越低。示例性的,图片的优先级还可以根 据原始图片数据中所携带的优先级标识进行确定,因此,预设的筛选算法可以为:在缓存中对图片进行存储时,可根据优先级标识对图片排序后进行存储,因此,在当前选定显示图片确定后,即可根据当前选定显示图片和图片排序,确定至少一个下一步待选定显示图片。Optionally, the preset picture priority may be: the currently selected display picture has the highest priority; the closer the picture is to the storage location of the currently selected display picture, the higher the priority, the distance from the currently selected display picture storage. The lower the position, the lower the priority of the picture. For example, the priority of the image may be determined according to the priority identifier carried in the original image data. Therefore, the preset screening algorithm may be: when the image is stored in the cache, the image may be identified according to the priority. After sorting, the storage is performed. Therefore, after the currently selected display image is determined, at least one next selected display image can be determined according to the currently selected display image and image sorting.
图片的优先级标识(如以时间为基准或以地点为基准)可在智能设备出厂之前进行设置,当用户存储图片时,可根据用户的需求将用户存储的图片进行归类(例如根据图片的存储时间或拍摄时间或拍摄地点等要素进行归类),同时为不同图片添加对应的优先级标识。例如,预设的筛选算法可以为:在当前时间段内,可根据存储时间的先后顺序为用户所存储的图片添加对应的优先级标识,当用户在浏览图片时,智能设备可根据图片的优先级标识和当前待选定显示图片,按照存储时间顺序确定至少一个下一步待选定显示图片,推送给用户。The priority identifier of the image (such as time-based or location-based) can be set before the smart device leaves the factory. When the user stores the image, the user-stored images can be classified according to the user's needs (for example, according to the image) The storage time or shooting time or shooting location is classified, and the corresponding priority identifier is added to different images. For example, the preset filtering algorithm may be: in the current time period, the corresponding priority identifier may be added to the image stored by the user according to the order of the storage time. When the user browses the image, the smart device may prioritize according to the image. The level identifier and the currently displayed display picture are determined according to the storage time order, and at least one of the next to be selected display pictures is pushed to the user.
可选的,图片的优先级标识还可由用户自行添加,即当用户在存储图片时,可根据实际需求同时添加所存图片对应的优先级标识。例如,为图片A添加标识1,为图片B添加标识2,其中,标识1的优先级高于标识2的优先级。预设的筛选算法还可以为:可以使得用户存储的图片根据用户的实际需求进行排序,在用户浏览图片时,根据上述排序可以确定至少一个下一步待选定显示图片。根据用户的实际需求进行排序而得到的图片默认显示的先后顺序,可以满足用户的需求。Optionally, the priority identifier of the image may be added by the user, that is, when the user stores the image, the priority identifier corresponding to the stored image may be added according to actual needs. For example, an identifier 1 is added for the picture A, and an identifier 2 is added for the picture B, wherein the priority of the identifier 1 is higher than the priority of the identifier 2. The preset filtering algorithm may also be: the pictures stored by the user may be sorted according to the actual needs of the user, and when the user browses the picture, at least one next to be selected display picture may be determined according to the above sorting. According to the actual needs of users, the default order of the pictures obtained by sorting can meet the needs of users.
示例性的,图片的优先级也可根据用户的操作动态变化。在实现过程中,可通过机器学习的方式统计用户的图片浏览操作行为,使得智能设备中的程序执行的图片判断规则与用户的历史图片浏览操作之间贴合度和默契度更高,进而有效地提高根据当前选定显示图片按照预设的图片判断规则,判断用户下一步拟选定显示图片的效率。例如,在用户浏览图片库中的图片时,智能设备可获取用户对图片的浏览时间,通过统计每张图片浏览时间的长短确定图片的优先级。若在一个星期的时间内,统计出用户对图片A的浏览时间最长,则可将图片A的优先级设置为第一级,并将图片A缓存在图片库中第一张图片的位置。这样设置可以使得用户在浏览海量图片库的过程中,第一张当前显示的图片即为图片A,从而节省了搜索图片A的时间,提升了用户体验。Exemplarily, the priority of the picture can also be dynamically changed according to the user's operation. In the implementation process, the user's picture browsing operation behavior can be counted by means of machine learning, so that the degree of fit and tacit agreement between the picture judgment rule executed by the program in the smart device and the historical picture browsing operation of the user is higher, and thus effective According to the currently selected display picture, according to the preset picture judgment rule, the efficiency of the user to select the display picture next is determined. For example, when a user browses a picture in a picture library, the smart device can obtain the browsing time of the user for the picture, and determine the priority of the picture by counting the length of each picture browsing time. If the user searches for the longest browsing time of the picture A within one week, the priority of the picture A can be set to the first level, and the picture A is cached in the position of the first picture in the picture library. In this way, the first picture currently displayed in the process of browsing the massive picture library is the picture A, thereby saving the time for searching for the picture A and improving the user experience.
又比如,预设的筛选算法还可以为:在一个星期的时间周期内,智能设备的系统统计发现,用户浏览完图片A之后,花最多的时间浏览了图片B,那就说明,图片B与图片A的关联性最强,从而可以推测出,用户浏览完图片A之后,有可能希望浏览图片B。这样图片B相对于图片A,紧接着浏览的优先级最高,将图片B作为图片A的待选定显示图片。基于类似这样的统计,可以根据当前选定显示图片,按照预设的图片判断规则,得到至少一张在浏览完当前选定显示图片之后,用户有可能希望浏览的下一张待选定显示图片。For example, the preset screening algorithm may also be: in a one-week time period, the system statistics of the smart device find that after the user browses the picture A, the user spends the most time browsing the picture B, that is, the picture B and Picture A is the most relevant, so it can be inferred that after the user has finished browsing picture A, it is possible to browse picture B. In this way, the picture B has the highest priority with respect to the picture A, and the picture B is the picture to be selected for the picture A. Based on the statistics like this, according to the currently selected display picture, according to the preset picture determination rule, at least one next to be selected display picture that the user may wish to browse after browsing the currently selected display picture is obtained.
可选的,在确定当前选定显示图片和至少一个待选定显示图片后,也可同时确定当前选定显示图片和至少一个待选定显示图片对应的缩略图数据。其中,至少一个待选定显示图片及其对应的缩略图数据的存储方式可选为使用缓存进行存储。Optionally, after determining the currently selected display image and the at least one to-be-selected display image, the currently selected display image and the thumbnail data corresponding to the at least one to-be-selected display image may also be determined at the same time. The storage manner of at least one to-be-selected display picture and its corresponding thumbnail data may be selected to be stored using a cache.
步骤130:加载待显示界面的数据,根据当前选定显示图片和待选定显示图片,将待显示界面划分为当前显示界面和至少一个隐藏不可见界面。Step 130: Load data of the interface to be displayed, and divide the interface to be displayed into a current display interface and at least one hidden invisible interface according to the currently selected display image and the to-be-selected display image.
其中,所述当前显示界面用于显示当前选定显示的图片的原图和至少一个待选定显示图片的缩略图,所述隐藏不可见界面与所述待选定显示图片存在预设的对应关系。The current display interface is configured to display an original image of the currently selected displayed image and at least one thumbnail of the to-be-selected display image, and the hidden invisible interface has a preset corresponding to the to-be-selected display image. relationship.
其中,待显示界面是当前选定显示图片和待选定显示图片的载体。当前显示界面是用户可以看到的界面,通常为用户正在浏览的图片所在界面。此界面可向用户展示用户当前选定显示图片的原图和下一步待选定显示图片的缩略图。相应的,隐藏不可见界面处于用户不可见区域内,通常为用户上一个已经浏览过的图片显示界面或下一个将要浏览的图片显示界面。由于待选定显示图片已根据优先级进行排序,因此,隐藏不可见界面与待选定显示图片之间存在预设的对应关系。可选的,该预设的对应关系可以根据待选定显示图片的优先级确定。The interface to be displayed is a carrier that currently selects a display image and a display image to be selected. The current display interface is an interface that the user can see, usually the interface where the user is browsing. This interface can show the user the original image of the currently selected display image and the thumbnail of the next selected display image. Correspondingly, the hidden invisible interface is in the invisible area of the user, and is usually a picture display interface that has been browsed by the user or the next picture display interface to be browsed. Since the display images to be selected have been sorted according to the priority, there is a preset correspondence between the hidden invisible interface and the display image to be selected. Optionally, the preset correspondence may be determined according to a priority of the to-be-selected display picture.
在待显示界面加载后,至少一张图片可在当前显示界面进行显示。例如,当前显示界面可用于显示当前选定显示图片的原图和对应的缩略图,其中,缩略图可按照预设路径在原图的上方、下方、上面或下面浮动的显示,可以按照预定轨迹将缩略图进行滑动。示例性的,待选定显示图片对应的缩略图也可在 当前显示界面中展现。例如,在不影响到用户浏览当前选定显示图片的情况下,可将四张待选定显示图片对应的缩略图呈现在当前显示界面的四个拐角位置,或者两张待选定显示图片对应的缩略图放置在当前选定显示图片的原图左侧,另外两张缩略图放置在当前选定显示图片的原图右侧。示例性的,待显示界面可根据智能设备显示屏幕的大小和待显示图片的内容适应性地进行缩放,以增强用户的感官体验。After the interface to be displayed is loaded, at least one picture can be displayed on the current display interface. For example, the current display interface may be used to display the original image of the currently selected display picture and the corresponding thumbnail image, wherein the thumbnail image may be displayed floating above, below, above or below the original image according to the preset path, and may be according to a predetermined track. The thumbnail is swiped. Exemplarily, the thumbnail corresponding to the selected display image can also be displayed in the current display interface. For example, in a case that the user does not affect the currently selected display picture, the thumbnails corresponding to the four to-be-selected display pictures may be presented in the four corner positions of the current display interface, or the thumbnails corresponding to the two selected display pictures may be placed. On the left side of the original picture of the currently selected display picture, the other two thumbnails are placed on the right side of the original picture of the currently selected display picture. Exemplarily, the interface to be displayed may be adaptively scaled according to the size of the smart device display screen and the content of the picture to be displayed to enhance the sensory experience of the user.
可选地,在划分待显示界面的过程中,当前显示界面和隐藏不可见界面并不是固定不变的,当前显示界面和隐藏不可见界面可根据用户发起的浏览切换指令进行转换。例如,在用户按照向左或向右的方式对图片进行浏览的过程中,当前显示界面和隐藏不可见界面也将随之处于动态的转换过程。Optionally, in the process of dividing the interface to be displayed, the current display interface and the hidden invisible interface are not fixed, and the current display interface and the hidden invisible interface may be converted according to a user-initiated browsing switching instruction. For example, in the process of browsing a picture in a left or right direction, the current display interface and the hidden invisible interface will also be in a dynamic conversion process.
示例性的,假设将待显示界面划分为当前显示界面和分布在其左右两侧的两个隐藏不可见界面,并且左侧隐藏不可见界面对应当前显示界面上当前选定显示图片左侧的缩略图,右侧隐藏不可见界面对应当前显示界面上当前选定显示图片右侧的缩略图。Exemplarily, it is assumed that the interface to be displayed is divided into a current display interface and two hidden invisible interfaces distributed on the left and right sides thereof, and the hidden invisible interface on the left side corresponds to the left side of the currently selected display image on the current display interface. Thumbnail, the hidden invisible interface on the right side corresponds to the thumbnail on the right side of the currently selected display image on the current display interface.
当用户在当前显示界面上选择当前选定显示图片右侧的缩略图,即用户选择开始浏览当前选定显示图片右侧的缩略图对应的待选定显示图片,则显示界面的动态变化过程是:原当前显示界面右侧的隐藏不可见界面变为新的当前显示界面;原当前显示界面变为新的当前显示界面(即原当前显示界面右侧的隐藏不可见界面)左侧的隐藏不可见界面;原当前显示界面左侧的隐藏不可见界面变为新的当前显示界面(即原当前显示界面右侧的隐藏不可见界面)右侧的隐藏不可见界面。When the user selects the thumbnail on the right side of the currently selected display image on the current display interface, that is, the user selects to start browsing the to-be-selected display image corresponding to the thumbnail on the right side of the currently selected display image, the dynamic change process of the display interface is : The hidden invisible interface on the right side of the current display interface becomes the new current display interface; the original current display interface becomes the new current display interface (that is, the hidden invisible interface on the right side of the original current display interface) is hidden on the left side. Visible interface; the hidden invisible interface on the left side of the current display interface becomes the hidden invisible interface on the right side of the new current display interface (ie, 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 image on the current display interface, that is, the user selects to start browsing the to-be-selected display image corresponding to the thumbnail on the left side of the currently selected display image, the dynamic change process of the interface is: The hidden invisible interface on the left side of the current display interface becomes the new current display interface; the original current display interface becomes the new current display interface (ie, the hidden invisible interface on the left side of the original current display interface) is hidden from the right side. Interface; the hidden invisible interface on the right side of the current display interface becomes the hidden invisible interface on the left side of the new current display interface (ie, the hidden invisible interface on the left side of the original current display interface).
这样可以保证,不论用户在选择当前显示界面上显示的当前选定显示图片右侧或者左侧的缩略图进行下一张图片浏览时,可以在内存、内存缓存区或磁盘缓存区,直接调用而不是新创建相应的隐藏不可见界面数据,并且根据隐藏不可见界面与当前显示界面上显示的缩略图的对应关系,从内存、内存缓存区或磁盘缓存区中获取到该缩略图对应的原图数据,从而提高下一张图片的显示界面和对应的原图数据的加载的稳定性和显示界面重复利用的高效性。This ensures that the user can directly call in the memory, memory buffer or disk cache area when the user selects the thumbnail on the right or left side of the currently selected display image displayed on the current display interface for the next picture browsing. The newly created corresponding invisible interface data is not newly created, and the original image corresponding to the thumbnail is obtained from the memory, the memory buffer area or the disk buffer area according to the correspondence between the hidden invisible interface and the thumbnail displayed on the current display interface. The data is used to improve the stability of the loading of the display interface of the next picture and the corresponding original image data and the efficiency of the display interface reuse.
同时,由于当前显示界面中的图片已经更新为原当前选定显示图片的左侧或右侧缩略图对应的图片,智能设备等系统可以根据该更新后的图片,按照预设的图片判断规则,得到新的两张待选定显示图片,并获取这两张待选定显示图片的原图和缩略图数据,然后将这些数据在内存或磁盘缓存中进行存储,并且将缩略图放置在新的当前选定显示图片的两侧供用户选择继续浏览,智能设备系统可以根据用户的操作循环往复执行上述步骤。At the same time, since the picture in the current display interface has been updated to the picture corresponding to the left or right thumbnail of the currently selected display picture, the system such as the smart device can determine the rule according to the preset picture according to the updated picture. Get the new two to-be-selected display images, and get the original image and thumbnail data of the two selected display images, then store the data in the memory or disk cache, and place the thumbnails in the new currently selected display. Both sides of the picture are for the user to choose to continue browsing, and the smart device system can perform the above steps cyclically according to the user's operation.
在加载待显示界面的数据的步骤之前,还可以包括:创建待显示界面,得到所述待显示界面的数据,并将待显示界面的数据在缓存中进行存储,本实施例可选为内存缓存和磁盘缓存。这样设置是为了下次显示界面时,可直接获取到待显示的界面的数据,而不需要花费额外的资源和时间去新创建待显示界面并生成待创建显示界面的数据,可以高速流畅加载待显示界面。示例性的,创建当前显示界面和至少一个隐藏不可见界面可以包括:根据智能设备的内存容量大小,型号等配置属性,确定隐藏不可见界面的数目;基于隐藏不可见界面的数目,并按照预设界面存储规则,在缓存中存储当前显示界面和隐藏不可见界面的数据。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 storing data of the interface to be displayed in a cache. And disk caching. The setting is such that the data of the interface to be displayed can be directly obtained when the interface is displayed next time, without additional resources and time to newly create the interface to be displayed and generate data of the display interface to be created, which can be smoothly loaded at a high speed. UI. Exemplarily, creating a current display interface and at least one hidden invisible interface may include: determining a number of hidden invisible interfaces according to a memory device size, a model, and the like, and determining a number of hidden invisible interfaces; Set interface storage rules to store the current display interface and hide the data of the invisible interface in the cache.
示例性的,对于内存大小为2G或2G以下的智能设备(例如智能电视),可以选择缓存3个界面(如界面A、界面B和界面C)即可满足用户高速切换浏览的需要。其中,界面A为当前显示界面,界面B和C为2个隐藏不可见界面,并且将隐藏不可见界面B和C进行内存预缓存(此时隐藏不可见界面B与C与待选定显示图片存在对应关系),当前显示界面A向用户展示当前选定显示图片。当用户在浏览当前显示界面A时,当前显示界面A的左边是在内存缓存中存储的隐藏不可见界面B,右边是在内存缓存中存储的隐藏不可见界面C。示例性的, 对于内存大小为2G以上(如4G或8G)的设备(如智能电视),则可缓存5个界面。图2为实施例一提供的一种界面转换示意图,如图2所示,4个界面(编号为:1、-1、2和-2)作为隐藏不可见界面,1个界面(编号为:0)作为当前显示界面向用户展示当前选定显示图片。在获取到用户的图片浏览切换指令后,上述5个界面可根据切换指令展示用户拟切换浏览的目标图片。For example, for a smart device with a memory size of 2G or less (for example, a smart TV), three interfaces (such as interface A, interface B, and interface C) can be selected to satisfy the user's need for high-speed switching browsing. The interface A is the current display interface, the interfaces B and C are 2 hidden invisible interfaces, and the invisible interfaces B and C are hidden for memory pre-buffering (the hidden invisible interfaces B and C and the to-be-selected display image are hidden at this time) There is a corresponding relationship), and the current display interface A presents the currently selected display picture to the user. When the user is browsing the current display interface A, the left side of the current display interface A is the hidden invisible interface B stored in the memory cache, and the right side is the hidden invisible interface C stored in the memory cache. Illustratively, for devices with a memory size of 2G or more (such as 4G or 8G) (such as smart TV), 5 interfaces can be cached. 2 is a schematic diagram of interface conversion provided in Embodiment 1. As shown in FIG. 2, four interfaces (numbers: 1, -1, 2, and -2) are used as hidden invisible interfaces, and one interface (number: 0) Display the currently selected display picture to the user as the current display interface. After obtaining the picture browsing switching instruction of the user, the above five interfaces may display the target picture that the user intends to switch the browsing according to the switching instruction.
通过根据智能设备的内存属性,确定隐藏不可见界面的个数可提高内存资源的利用率。将隐藏不可见界面的数据在缓存中进行存储,可满足对智能设备的显示界面进行有效的管理,对显示界面的利用率也可以提高,同时也避免了无效显示界面对内存的占用。在用户快速浏览图片时,使得显示界面无间断地展示给用户,提升了用户体验。By determining the number of hidden invisible interfaces based on the memory attributes of the smart device, the utilization of memory resources can be improved. The data of the hidden invisible interface is stored in the cache, which can effectively manage the display interface of the smart device, and the utilization of the display interface can also be improved, and the memory usage of the invalid display interface is also avoided. When the user quickly browses the picture, the display interface is displayed to the user without interruption, thereby improving the user experience.
将待显示界面的数据在缓存中进行存储处理和将解码后原图数据的在缓存中进行存储处理可同步进行,当然也可分别执行,对执行顺序不做任何限定。The storage processing of the data of the interface to be displayed in the cache and the storage processing of the original image data after decoding in the cache may be performed synchronously, but may be performed separately, and the execution order is not limited.
步骤140:在当前显示界面加载原图数据和所述缩略图数据,以显示原图和缩略图。Step 140: Load the original image data and the thumbnail data on the current display interface to display the original image and the thumbnail image.
可选的,为了带给用户良好的感官体验,当前显示界面的数据和当前选定显示图片解码后的数据可以同步加载。在加载当前选定显示图片的原始图片的解码后的原图数据的过程中,可根据原始图片的优先级进行依次加载。在用户快速浏览图片的过程中,图片数据的加载速度与用户切换显示界面的速度相适应,这样设置是为了在用户快速浏览海量图片的过程中,不会出现“黑屏”或“卡顿”等现象。Optionally, in order to bring a good sensory experience to the user, the data of the current display interface and the data of the currently selected display image are synchronously loaded. In the process of loading the decoded original image data of the original picture of the currently selected display picture, the data may be sequentially loaded according to the priority of the original picture. In the process of the user quickly browsing the picture, the loading speed of the picture data is adapted to the speed at which the user switches the display interface, so that the setting is for the user to quickly browse the massive pictures without "black screen" or "calorie". phenomenon.
在当前显示界面的数据和当前选定显示图片的原始图片的解码后的原图数据加载完成后,当前选定显示图片可在当前显示界面进行显示。示例性的,待选定显示图片对应的缩略图也可在当前显示界面中的当前选定显示图片的左侧、右侧、上侧或者下侧进行显示,以方便用户根据缩略图,更为方便快捷地选择下一张待浏览的目标图片。After the data of the current display interface and the decoded original image data of the original picture of the currently selected display picture are loaded, the currently selected display picture can be displayed on the current display interface. Exemplarily, the thumbnail corresponding to the selected display image may also be displayed on the left side, the right side, the upper side or the lower side of the currently selected display picture in the current display interface, so as to facilitate the user to Quickly and easily select the next target image to be viewed.
可选的,在所述显示所述原图和所述缩略图之后,若获取到用户的浏览切换指令,则当前显示界面和当前选定显示图片也随之进行更新,并可按照步骤110-140提供的方法对图片进行显示。示例性的,当缩略图被选定为当前选定显 示图片时,则将与缩略图对应的隐藏不可见界面更新为新的当前显示界面,而原来的当前显示界面更新为新的隐藏不可见界面。示例性的,若在智能电视中的缓存中存储了3个显示界面A、B、和C。当用户在浏览当前显示界面A时,当前界面A的左边是存储在内存缓存中的隐藏不可见界面B,右边是存储在内存缓存中的隐藏不可见界面C。在获取到用户向右浏览的指令时,右边存储的隐藏不可见界面C则会替换当前可见界面A,此时,隐藏不可见界面C作为新的当前可见界面,原当前显示界面A则作为新的隐藏不可见界面C。同时,新的当前显示界面中的图片也替换为原隐藏不可见界面C中的图片。当获取到用户向左浏览的指令时,左边缓存的隐藏不可见界面B将切换为新的当前显示界面,同时新的当前显示界面中的图片也将被原隐藏不可见界面B中的图片所替换。Optionally, after the displaying the original image and the thumbnail, if the user's browsing switching instruction is obtained, the current display interface and the currently selected display image are also updated, and step 110- The method provided by 140 displays the picture. Illustratively, when the thumbnail is selected as the currently selected display image, the hidden invisible interface corresponding to the thumbnail is updated to the new current display interface, and the original current display interface is updated to the new hidden invisible interface. Illustratively, three display interfaces A, B, and C are stored in the cache in the smart TV. When the user is browsing the current display interface A, the left side of the current interface A is the hidden invisible interface B stored in the memory cache, and the right side is the hidden invisible interface C stored in the memory cache. When the instruction to browse to the right is obtained, the hidden invisible interface C stored on the right side replaces the currently visible interface A. At this time, the invisible interface C is hidden as a new currently visible interface, and the original current display interface A is used as a new one. The hidden invisible interface C. At the same time, the picture in the new current display interface is also replaced with the original hidden image in the invisible interface C. When the instruction to browse to the left is obtained, the hidden invisible interface B of the left cache will be switched to the new current display interface, and the image in the new current display interface will also be hidden from the original invisible interface B. replace.
本实施例提供了一种图片的显示方法,该方法可应用于智能设备。在用户通过智能电视等智能设备,对海量图片进行快速浏览的过程中,由于智能电视的存储器中已经获取到了当前待显示界面的数据和当前选定显示图片解码后的原图数据,所以在当前显示界面上,可以快速且清晰地加载并显示当前选定显示的图片。同时,根据当前选定的显示图片,按照预设的图片判断规则,从智能电视中存储的海量图片中甄选出了至少一张与当前选定显示图片不同的待选定显示图片,且获取到该待选定显示图片的缩略图数据,并将该缩略图显示在当前显示界面上。供用户在浏览完当前选定显示图片的原图后,可以更为直接方便地选择该缩略图,以方便用户进行下一张图片的快速浏览。并且通过将待显示界面划分为当前显示界面和至少一个隐藏不可见界面,且该隐藏不可见界面与该待选定显示图片之间存在预设的对应关系的技术手段,进而顺利地保证用户可以在原隐藏不可见界面(现当前显示界面)上,高速且清晰地浏览下一张待选定显示图片的缩略图或原图。通过采取上述技术方案,使得智能设备的显示界面在快速且清晰地显示海量图片的同时,不会出现“黑屏”或“卡顿”等异常或不流畅等现象提升了用户的感官体验。This embodiment provides a method for displaying a picture, which can be applied to a smart device. In the process of quickly browsing a large number of pictures by a smart device such as a smart TV, since the data of the current interface to be displayed and the original picture data of the currently selected display picture are already acquired in the memory of the smart TV, On the display interface, the currently selected displayed image can be loaded and displayed quickly and clearly. At the same time, according to the currently selected display picture, according to the preset picture judgment rule, at least one picture to be selected different from the currently selected display picture is selected from the massive pictures stored in the smart TV, and obtained The thumbnail data of the to-be-displayed picture is displayed, and the thumbnail is displayed on the current display interface. After the user browses the original picture of the currently selected display picture, the thumbnail can be selected more directly and conveniently, so that the user can quickly browse the next picture. And by dividing the interface to be displayed into a current display interface and at least one hidden invisible interface, and the technical means of the preset correspondence relationship between the hidden invisible interface and the to-be-selected display image, thereby smoothly ensuring that the user can On the original hidden invisible interface (currently the current display interface), the thumbnail or original image of the next selected display image is browsed at high speed and clearly. By adopting the above technical solution, the display interface of the smart device can display a large number of pictures quickly and clearly, and the abnormality or non-smoothness such as “black screen” or “katon” does not appear, which enhances the sensory experience of the user.
实施例二Embodiment 2
图3为实施例二提供的一种图片的显示方法的流程示意图。本实施例二在实施例一的基础上进行了优化,参照图3,实施例二包括如下步骤:FIG. 3 is a schematic flow chart of a method for displaying a picture according to Embodiment 2. The second embodiment is optimized on the basis of the first embodiment. Referring to FIG. 3, the second embodiment includes the following steps:
步骤210:解码当前选定显示的图片,得到当前选定显示图片解码后的原图数据。Step 210: Decode the currently selected picture to obtain the original picture data after the currently selected display picture is decoded.
步骤220:按照预设的图片数据缓存规则,在内存缓存和磁盘缓存中的至少一种缓存中存储当前选定显示图片解码后的原图数据。Step 220: Store, according to a preset picture data caching rule, the original picture data after decoding of the currently selected display picture in at least one of the memory cache and the disk cache.
可选的,也可获取当前选定显示图片对应的缩略图数据并进行存储。Optionally, the thumbnail data corresponding to the currently selected display image may also be obtained and stored.
步骤230:按照预设的图片判断规则,得到待选定显示图片,并基于预设缩略比例和预设内存复用规则中的至少一个,解码所述待选定显示图片,以得到所述待选定显示图片解码后的缩略图数据。Step 230: According to a preset picture determination rule, obtain a to-be-selected display picture, and decode the to-be-selected display picture based on at least one of a preset abbreviated ratio and a preset memory multiplexing rule to obtain the The thumbnail data after the picture is decoded is selected.
示例性的,对于每一张图片,在第一次进行显示之前都需要对其解码。而对于已在内存缓存或磁盘缓存中存储的已经解码后的图片数据,在加载该图片数据时,则无需进行解码,直接获取图片数据即可显示。因此,按照预设的图片判断规则,确定待选定显示图片之后,可判断在内存缓存或磁盘缓存中是否存有对应的已解码的缩略图数据,当存在有对应的已解码的缩略图数据时,则表示该待选定显示图片无需解码,直接进行加载即可。若不存在对应的已解码的缩略图数据时,则对待选定显示图片进行解码,得到解码后的缩略图数据。预设内存复用规则可以为在内存一定的情况下,通过内存共享或内存交换对内存进行分时复用。Illustratively, for each picture, it needs to be decoded before it is displayed for the first time. For the already decoded picture data that has been stored in the memory cache or the disk cache, when the picture data is loaded, there is no need to decode, and the picture data can be directly obtained and displayed. Therefore, according to the preset picture determination rule, after determining the to-be-selected display picture, it can be determined whether there is corresponding decoded thumbnail data in the memory cache or the disk cache, and there is corresponding decoded thumbnail data. When it is, it means that the to-be-selected display picture does not need to be decoded, and can be directly loaded. If there is no corresponding decoded thumbnail data, the selected display picture is decoded to obtain decoded thumbnail data. The preset memory reuse rule can time-multiplex the memory through memory sharing or memory swapping in a certain memory.
示例性的,基于缩略图相对于待选定显示图片原图的预设缩略比例(如1∶8)和/或预设内存复用规则,可确定待选定显示图片原图数据对应的缩略图数据。其中,预设缩略比例以在屏幕上显示的缩略图,不影响用户可以根据该缩略图判定当前待选定显示图片的效果为准。Illustratively, based on a preset thumbnail ratio (such as 1:8) and/or a preset memory multiplexing rule of the thumbnail relative to the original image of the to-be-selected display image, the corresponding image data of the display image to be selected may be determined. Thumbnail data. The preset thumbnail ratio is a thumbnail displayed on the screen, and does not affect the effect that the user can determine the currently to-be-selected display image according to the thumbnail.
步骤240:按照预设的图片数据缓存规则,在内存缓存和磁盘缓存中的至少一种缓存中存储待选定显示图片解码后的缩略图数据。Step 240: Store thumbnail image data after the selected display picture is decoded in at least one of the memory cache and the disk cache according to a preset picture data cache rule.
通过将图片数据在缓存中进行存储处理,可提高海量图片在动态浏览过程中的解码、加载和显示的工作效率,同时也可节省内存资源。By storing the image data in the cache, the efficiency of decoding, loading, and displaying of a large number of images during dynamic browsing can be improved, and memory resources can also be saved.
示例性的,预设的图片数据缓存规则可以包括:根据预设的页面置换算法,对图片数据进行缓存。其中,预设的页面置换算法可选为近期最少使用(Least Recently Used,LRU)算法。在实施过程中,可根据智能设备,例如智能电视 的软硬件配置属性,决定存储在内存缓存和/或磁盘缓存中的,解码后的原图数据和缩略图数据中的至少一种数据的大小。例如,在当前需要存储的原图数据和/或缩略图数据所占缓存的大小已超出预设的内存缓存和/或磁盘缓存的剩余存储空间(例如100M)的情况下,统计预设时间(例如15天)内已经存储的原图数据和/或缩略图数据被用户浏览的次数,若所统计的被浏览的次数低于预设阈值(例如3次),则基于LRU算法,将浏览次数低于预设阈值的原图数据和/或缩略图数据从缓存中删除,为经判断得到的将会被浏览到的原图数据和/或缩略图数提供缓存空间。这样设置的好处在于:可对缓存的大小进行动态有效地控制,使得智能电视的缓存空间能够处于合理的范围,提高用户浏览海量图片时的图片解码、加载和显示的工作效率,提升用户体验。Exemplarily, the preset picture data caching rule may include: buffering the picture data according to a preset page replacement algorithm. The preset page replacement algorithm may be selected as a Least Recently Used (LRU) algorithm. In the implementation process, the size of at least one of the decoded original image data and the thumbnail data stored in the memory cache and/or the disk cache may be determined according to the software and hardware configuration attributes of the smart device, such as a smart TV. . For example, if the size of the cache of the original image data and/or the thumbnail data that needs to be stored currently exceeds the preset memory cache and/or the remaining storage space of the disk cache (for example, 100 M), the preset time is counted ( For example, the number of times the original image data and/or the thumbnail data that have been stored in the 15 days are viewed by the user. If the counted number of times of browsing is lower than a preset threshold (for example, 3 times), the number of times of browsing is based on the LRU algorithm. The original image data and/or thumbnail data below the preset threshold are deleted from the cache, providing a buffer space for the determined number of original image data and/or thumbnails to be browsed. The advantage of this setting is that the size of the cache can be dynamically and effectively controlled, so that the cache space of the smart TV can be in a reasonable range, and the work efficiency of decoding, loading and displaying the picture when the user browses a large number of pictures is improved, and the user experience is improved.
在内存缓存中存储原图数据时,在保证原图数据在最优化的显示情况下,一般设定为存储2~3张原图解码后的数据,大小约为2兆(M)。在内存缓存中存储缩略图数据时,在保证图片数据能以较快速度进行切换的情况下,一般设定为存储8~10张缩略图数据,大小约为6兆(M)。对于一些高配置的智能电视,由于其内存空间较大,存储的缩略图数据的大小也可相应提高到12兆(M),从而提高缩略图的生成、显示和加载速度。When the original image data is stored in the memory buffer, in the case of ensuring that the original image data is optimally displayed, it is generally set to store 2 to 3 original decoded data, and the size is about 2 megabytes (M). When storing thumbnail data in the memory buffer, when it is ensured that the picture data can be switched at a relatively fast speed, it is generally set to store 8 to 10 pieces of thumbnail data, and the size is about 6 megabytes (M). For some high-profile smart TVs, the size of the stored thumbnail data can be increased to 12 megabytes (M) due to its large memory space, which improves the generation, display and loading speed of thumbnails.
示例性的,对于采用磁盘缓存进行存储的方式可包括如下两种情况:Exemplarily, the manner of storing by using the disk cache may include the following two situations:
1、采用子线程预加载优先级高的缩略图数据,保证在原图数据无缩略图的情况下可以将原图数据直接转化为缩略图在磁盘缓存中进行存储,提高缩略图的加载速度。存储的缩略图数据的大小可根据磁盘的空间适当进行调整,一般可选为缓存80兆(M)的缩略图数据。1. The sub-thread preloads the thumbnail data with high priority to ensure that the original image data can be directly converted into thumbnails and stored in the disk cache when the original image data has no thumbnails, thereby increasing the loading speed of the thumbnails. The size of the stored thumbnail data can be adjusted according to the space of the disk, and generally 80 megabytes (M) of thumbnail data can be cached.
2、采用子线程存储当前选定显示图片解码后的原图数据,该原图数据在第二次加载时可直接进行显示。在这种情况下,由于解码后的原图数据仍然占用空间较大,因此对于解码后的原图数据,一般可选为存储100兆(M)的数据。2. The sub-thread is used to store the original image data after the currently selected display image is decoded, and the original image data can be directly displayed during the second loading. In this case, since the decoded original image data still occupies a large space, for the decoded original image data, generally 100 megabytes (M) of data can be stored.
步骤220中对当前选定显示图片数据和对应的缩略图数据在缓存中存储,以及步骤240中对待选定显示图片解码后的对应缩略图数据在缓存中存储可以同步进行,也可以异步进行。In
步骤250:获取当前选定显示图片解码后的原图数据和缩略图数据,以及待 选定显示图片解码后的缩略图数据。Step 250: Acquire original picture data and thumbnail data after decoding of the currently selected display picture, and thumbnail data after decoding of the selected display picture.
示例性的,获取待选定显示图片的缩略图一般可选为在用户高速浏览图片的过程中进行显示,即随着显示界面的不断切换,当前显示界面上的当前选定显示的图片也在不断切换。根据预设的图片预判规则,当前显示界面上显示的缩略图也在不断动态更新。当用户高速浏览停止时,则需获取待选定显示图片解码后的原图数据,此时缩略图数据被其对应的原图数据所替代,即当前显示界面呈现的是原图数据。通过上述对图片的动态管理方式,可提升图片的加载和显示速度。For example, the thumbnail of the display image to be selected is generally selected to be displayed during the high-speed browsing of the image by the user, that is, as the display interface is continuously switched, the currently selected displayed image on the current display interface is also Keep switching. According to the preset picture pre-judging rules, the thumbnails displayed on the current display interface are also dynamically updated. When the user stops browsing at a high speed, the original image data after the selected display image is decoded is obtained. At this time, the thumbnail data is replaced by the corresponding original image data, that is, the current display interface presents the original image data. Through the above dynamic management of the picture, the loading and display speed of the picture can be improved.
步骤260:加载待显示界面的数据,并将待显示界面划分为当前显示界面和至少一个隐藏不可见界面。Step 260: Load data of the interface to be displayed, and divide the interface to be displayed into a current display interface and at least one hidden invisible interface.
步骤270:在当前显示界面加载当前选定显示图片解码后的原图数据和待选定显示的缩略图数据并进行显示。Step 270: Load the original image data decoded by the currently selected display image and the thumbnail data to be selected and displayed in the current display interface and display.
示例性的,若用户想按照向右的方向高速浏览图片时,用户可通过遥控器或触屏等方式一直发送向右的图片浏览切换指令(例如,长按遥控器的右键或不断点击屏幕的“右键”指示按钮等)。当智能电视获取到上述图片浏览切换指令后,存储在内存缓存或磁盘缓存等存储空间中的缩略图数据,可根据图片浏览切换指令高速加载并在相应的显示界面中进行显示(即缩略图无间断地展现给用户)。因此,通过采用上述对图片和显示界面数据在缓存中进行存储处理,和建立显示界面与图片之间对应关系的技术手段,保证了用户在不断地高速浏览海量图片的过程中,快速地显示图片。避免了由于图片解码过久而导致用户失去耐心等问题,同时也有效地缓解了解码程序对系统中央处理器(Central Processing Unit,CPU)的占用,解决了智能电视等图片显示设备在快速显示大量的图片时出现的“卡顿”或“死机”等技术问题。Exemplarily, if the user wants to view the picture at a high speed in the right direction, the user can always send the right picture browsing switching instruction through the remote control or the touch screen (for example, long press the right button of the remote control or continuously click the screen). "Right" indicator button, etc.). After the smart TV obtains the above picture browsing switching instruction, the thumbnail data stored in the storage space such as the memory buffer or the disk cache can be loaded at a high speed according to the picture browsing switching instruction and displayed in the corresponding display interface (ie, the thumbnail is not displayed). Show it to users intermittently). Therefore, by adopting the above-mentioned storage processing of the picture and display interface data in the cache, and establishing a technical relationship between the display interface and the picture, the user is quickly displayed in the process of continuously browsing a large number of pictures at high speed. . It avoids the problem that the user loses patience due to the long decoding of the picture, and also effectively alleviates the use of the central processing unit (CPU) by the decoding program, and solves the rapid display of a large number of picture display devices such as smart TVs. The technical problems such as "cart" or "dead" appear when the picture is taken.
本实施例在上述实施例的基础上,通过将解码后的原图数据和对应的缩略图数据在缓存中进行存储,并根据智能设备的配置属性,确定解码后的原图数据和对应的缩略图数据缓存配额的大小,可提升智能设备存储资源的利用率。在用户高速浏览海量图片的过程中,可以将图片以缩略图的形式无间隙地展示给用户,提升用户的快速浏览图片的体验。On the basis of the foregoing embodiment, the present embodiment stores the decoded original image data and the corresponding thumbnail data in a cache, and determines the decoded original image data and the corresponding reduced image according to the configuration attribute of the smart device. Thumbnail data cache quota size, which can improve the utilization of smart device storage resources. In the process of the user browsing the massive pictures at high speed, the pictures can be displayed to the user in the form of thumbnails without gaps, thereby improving the user's experience of quickly browsing pictures.
实施例三Embodiment 3
图4A为实施例三提供的一种图片的显示装置的结构框图。该装置可由软件和/或硬件实现,一般可集成智能设备中。如图4A所示,该装置包括:原图数据获取模块310、待选定显示图片获取模块320、待显示界面加载模块330和图片显示模块340。4A is a structural block diagram of a display device for a picture according to Embodiment 3. The device can be implemented in software and/or hardware and can generally be integrated into a smart device. As shown in FIG. 4A, the device includes: an original image
其中,原图数据获取模块310,设置为获取当前选定显示图片解码后的原图数据;待选定显示图片获取模块320,设置为根据所述当前选定显示图片,按照预设的图片判断规则,得到至少一张待选定显示图片,并获取所述待选定显示图片的缩略图数据;待显示界面加载模块330,设置为加载待显示界面的数据,根据所述当前选定显示图片和所述待选定显示图片,将所述待显示界面划分为当前显示界面和至少一个隐藏不可见界面,其中,所述当前显示界面用于显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图,所述隐藏不可见界面,与所述待选定显示图片存在预设的对应关系;图片显示模块340,设置为在所述当前显示界面,加载所述原图数据和所述缩略图数据,以显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图。The original image
本实施例提供了一种图片的显示装置,在用户通过智能设备,在对海量图片进行高速浏览的过程中,由于智能设备的存储器中已经获取到了当前待显示界面的数据和当前选定显示图片解码后的原图数据,所以在当前显示界面上,可以快速且清晰地加载并显示当前选定显示的图片。同时,根据当前选定显示图片,按照预设的图片判断规则,从智能设备中存储的海量图片中甄选出了至少一张与当前选定显示图片不同的待选定显示图片,且获取到该待选定显示图片的缩略图数据,并将该缩略图显示在当前显示界面上,以供用户在浏览完当前选定显示图片的原图后,可以更为直接方便地选择待选定显示图片的缩略图,以方便用户快速浏览下一张图片。并且通过将待显示界面划分为当前显示界面和至少一个隐藏不可见界面,且该隐藏不可见界面与该待选定显示图片之间存在预设的对应关系的技术手段,进而保证用户可以在原隐藏不可见界面(现当前显示界面)上,浏览下一张待选定显示图片的缩略图或原图。通过采取上述技术方案,使得智能设备的显示界面在快速且清晰地浏览海量图片的同时,不 会出现“黑屏”或“卡顿”等异常或不流畅现象,在提升智能设备内存利用率的同时,提升了用户的感官体验。The embodiment provides a display device for a picture. In the process of high-speed browsing of a large number of pictures by the user through the smart device, the data of the currently to-be-displayed interface and the currently selected display picture have been obtained in the memory of the smart device. The decoded original image data, so on the current display interface, the currently selected displayed image can be loaded and displayed quickly and clearly. At the same time, according to the currently selected display picture, according to the preset picture judgment rule, at least one picture to be selected different from the currently selected display picture is selected from the massive pictures stored in the smart device, and the obtained picture is obtained. The thumbnail data of the displayed picture is selected, and the thumbnail is displayed on the current display interface, so that the user can select the display picture to be selected more directly and conveniently after browsing the original picture of the currently selected displayed picture. Thumbnails for users to quickly browse the next picture. And the technical means for dividing the interface to be displayed into the current display interface and the at least one hidden invisible interface, and the preset incompatible relationship between the hidden invisible interface and the to-be-selected display image, thereby ensuring that the user can hide in the original On the invisible interface (currently the current display interface), browse to the next thumbnail or original image of the selected display image. By adopting the above technical solution, the display interface of the smart device can browse the massive pictures quickly and clearly, and there is no abnormality or slick phenomenon such as “black screen” or “katon”, and the memory utilization rate of the smart device is improved. , enhance the user's sensory experience.
可选的,参考图4B,该装置还包括:界面缓存模块390,设置为在所述加载待显示界面的数据之前,创建待显示界面,得到所述待显示界面的数据,按照预设的界面数据缓存规则,对所述待显示界面的数据并存储在缓存中。Optionally, referring to FIG. 4B, the device further includes: an
可选的,参考图4B,该装置还包括:第一解码模块350,设置为在所述获取当前选定显示图片解码后的原图数据之前,解码所述当前选定显示图片,得到所述当前选定显示图片解码后的原图数据;原图数据缓存模块360,设置为按照预设的图片数据缓存规则,在内存缓存和磁盘缓存中的至少一种缓存中存储所述当前选定显示图片解码后的原图数据。Optionally, referring to FIG. 4B, the apparatus further includes: a
可选的,继续参考图4B,该装置还包括:第二解码模块370,设置为在获取所述待选定显示图片的缩略图数据之前,基于预设缩略比例和预设内存复用规则中的至少一个,解码所述待选定显示图片,以得到所述待选定显示图片解码后的缩略图数据;缩略图数据缓存模块380,设置为按照所述预设的图片数据缓存规则,在内存缓存和磁盘缓存中的至少一种缓存中存储所述待选定显示图片解码后的缩略图数据。Optionally, with reference to FIG. 4B, the apparatus further includes: a
可选的,参考图4B,该装置还包括:界面更新模块400,设置为在所述显示所述当前选定显示图片的原图和所述至少一张待选定显示图片的缩略图之后,当所述待选定显示图片的缩略图被选定为所述当前选定显示图片时,则将与所述待选定显示图片对应的隐藏不可见界面更新为新的当前显示界面,原来的所述当前显示界面更新为所述隐藏不可见界面。Optionally, referring to FIG. 4B, the apparatus further includes: an
可选的,所述预设的图片判断规则包括:Optionally, the preset picture determination rule includes:
按照预设的图片优先级,结合预设的筛选算法,进行图片预判,根据预判结果可得到至少一个所述待选定显示图片,其中,所述预设的图片优先级包括:所述当前选定显示的图片的优先级最高;距离所述当前选定显示的图片的存储位置越近的图片的优先级越高。Performing a pre-judgment of the image according to the preset picture priority, in combination with the preset screening algorithm, and obtaining at least one of the to-be-selected display pictures according to the pre-judgment result, wherein the preset picture priority includes: The currently selected displayed picture has the highest priority; the closer the picture is to the currently selected displayed picture, the higher the priority of the picture.
可选的,所述预设的图片数据缓存规则包括:根据预设的页面置换算法,将所述图片数据在缓存中存储。Optionally, the preset picture data caching rule includes: storing the picture data in a cache according to a preset page replacement algorithm.
可选的,所述装置还包括:数据确定模块,设置为根据所述智能设备的配置属性,决定存储在内存缓存和磁盘缓存中的至少一种缓存中的解码后的原图数据和缩略图数据中的至少一种数据的大小。Optionally, the device further includes: a data determining module, configured to determine, according to configuration attributes of the smart device, decoded original data and thumbnails stored in at least one of a cache and a disk cache The size of at least one of the data.
本实施例提供图片的显示装置可执行本申请任意实施例所提供的图片的显示方法,具备相应的功能和有益效果。未在上述实施例中描述的技术细节,可参见本申请任意实施例所提供的图片的显示方法。The display device for providing a picture in this embodiment can perform the display method of the picture provided by any embodiment of the present application, and has corresponding functions and beneficial effects. For the technical details that are not described in the above embodiments, reference may be made to the display method of the picture provided by any embodiment of the present application.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method.
实施例四Embodiment 4
图5是本实施例提供的一种图片显示设备的硬件结构示意图,如图5所示,该图片显示设备包括:一个或多个处理器510和存储器520。图5中以一个处理器510为例。FIG. 5 is a schematic diagram showing the hardware structure of a picture display device according to this embodiment. As shown in FIG. 5, the picture display device includes: one or
所述图片显示设备还可以包括:输入装置530和输出装置540。The picture display device may further include: an
所述图片显示设备中的处理器510、存储器520、输入装置530和输出装置540可以通过总线或者其他方式连接,图5中以通过总线连接为例。The
输入装置530可以接收输入的数字或字符信息,输出装置540可以包括显示屏等显示设备。The
存储器520作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器510通过运行存储在存储器520中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的任意一种方法。The
存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据图片显示设备的使用所创建的数据等。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The
存储器520可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性 固态存储器件。在一些实施例中,存储器520可选包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至图片显示设备。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。
输入装置530可用于接收输入的数字或字符信息,以及产生与图片显示设备的用户设置以及功能控制有关的键信号输入。输出装置540可包括显示屏等显示设备。
本实施例的图片显示设备还可以包括通信装置550,通过通信网络传输和/或接收信息。The picture display device of this embodiment may further include a
本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该非暂态计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer readable storage medium. The program, when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
本公开提供的图片的显示方法和装置,使得智能设备的显示界面在快速且清晰地显示海量图片的同时,不会出现“黑屏”或“卡顿”等异常或不流畅现象,在提升智能设备的内存利用率的同时,提升了用户的感官体验。The display method and device of the picture provided by the present disclosure enable the display interface of the smart device to display a large number of pictures quickly and clearly, without abnormal or non-smooth phenomenon such as “black screen” or “cartoon”, and the smart device is upgraded. At the same time, the memory utilization improves the user's sensory experience.
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710219957.9A CN106982388B (en) | 2017-04-06 | 2017-04-06 | Method and device for displaying pictures |
| CN201710219957.9 | 2017-04-06 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018184436A1 true WO2018184436A1 (en) | 2018-10-11 |
Family
ID=59343716
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/077899 Ceased WO2018184436A1 (en) | 2017-04-06 | 2018-03-02 | Method and device for displaying image |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106982388B (en) |
| WO (1) | WO2018184436A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106982388B (en) * | 2017-04-06 | 2020-01-24 | 深圳创维-Rgb电子有限公司 | Method and device for displaying pictures |
| 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 |
| CN114546213B (en) * | 2021-08-23 | 2023-04-28 | 成都统信软件技术有限公司 | Picture processing method, computing device and readable storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110050592A1 (en) * | 2009-09-02 | 2011-03-03 | Kim John T | Touch-Screen User Interface |
| CN102117611A (en) * | 2009-12-31 | 2011-07-06 | 鸿富锦精密工业(深圳)有限公司 | Method for realizing circular display of pictures in electronic 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 |
| CN106982388A (en) * | 2017-04-06 | 2017-07-25 | 深圳创维-Rgb电子有限公司 | The display methods and device of a kind of picture |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009217135A (en) * | 2008-03-12 | 2009-09-24 | Panasonic Corp | Display data outputting device |
-
2017
- 2017-04-06 CN CN201710219957.9A patent/CN106982388B/en active Active
-
2018
- 2018-03-02 WO PCT/CN2018/077899 patent/WO2018184436A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110050592A1 (en) * | 2009-09-02 | 2011-03-03 | Kim John T | Touch-Screen User Interface |
| CN102117611A (en) * | 2009-12-31 | 2011-07-06 | 鸿富锦精密工业(深圳)有限公司 | Method for realizing circular display of pictures in electronic 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 |
| CN106982388A (en) * | 2017-04-06 | 2017-07-25 | 深圳创维-Rgb电子有限公司 | The display methods and device of a kind of picture |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106982388A (en) | 2017-07-25 |
| CN106982388B (en) | 2020-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018184436A1 (en) | Method and device for displaying image | |
| US20210192005A1 (en) | Cooperative web browsing using multiple devices | |
| CN106933587B (en) | A layer drawing control method, device and mobile terminal | |
| US10423527B2 (en) | Memory management and image display for mobile devices | |
| US20170300597A1 (en) | Data feeds with peripherally presented interesting content | |
| CN106941625B (en) | Playing control method and device of mobile terminal and mobile terminal | |
| US20230045363A1 (en) | Video playback method and apparatus, computer device, and storage medium | |
| US20150195620A1 (en) | Interaction With Multiple Connected Devices | |
| US12301983B2 (en) | Content operation method and device, terminal, and storage medium | |
| CN110351607A (en) | A kind of method, computer storage medium and the client of panoramic video scene switching | |
| JP7246487B2 (en) | Method, apparatus, electronics, storage medium and computer program for extracting hotspot segments in video | |
| WO2017215175A1 (en) | Page processing method and device, terminal, and server | |
| WO2022089330A1 (en) | Method for taking screenshot, apparatus, electronic device, and readable storage medium | |
| CN114095776B (en) | Screen recording method and electronic equipment | |
| CN113032626B (en) | Search result processing method, device, electronic equipment and storage medium | |
| CN109086366B (en) | Recommended news display method, device, equipment and storage medium in browser | |
| CN116466865A (en) | Touch gesture control for video playback | |
| WO2022194211A1 (en) | Image processing method and apparatus, electronic device and readable storage medium | |
| WO2022116962A1 (en) | Video playback method and apparatus, and electronic device | |
| JP2025501700A (en) | Video generation method, device, electronic device, and storage medium | |
| CN112836086A (en) | A video processing method, device and electronic device | |
| CN112118473B (en) | Video bullet screen display method and device, computer equipment and readable storage medium | |
| US8856827B1 (en) | System for conveying and reproducing images for interactive applications | |
| WO2020258479A1 (en) | Webpage frame acquisition method, server and storage medium | |
| CN115460448A (en) | Media resource editing method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18781773 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18781773 Country of ref document: EP Kind code of ref document: A1 |