Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for browsing picture

A picture and picture browsing technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as poor user experience and slow response

Active Publication Date: 2012-08-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the embodiments of the present invention is to provide a method and device for browsing pictures, aiming to solve the problems of slow response and poor user experience when users browse pictures

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for browsing picture
  • Method and device for browsing picture
  • Method and device for browsing picture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] like figure 1 Shown is a flow chart of a picture browsing method provided by the first embodiment of the present invention. For convenience of description, only the parts related to the embodiment of the present invention are shown.

[0045] In step S101, a picture browsing instruction input by a user is received.

[0046] In the embodiment of the present invention, the picture browsing instruction input by the user includes but is not limited to double-clicking a picture and the like.

[0047] In step S102, the picture specified by the picture browsing instruction is read and analyzed, and the small layer and the middle layer / original layer corresponding to the picture specified by the picture browsing instruction are sequentially loaded.

[0048] In the embodiment of the present invention, read and analyze the picture specified by the picture browsing command according to the picture browsing command input by the user. Here, an image generation thread ImageGenThread ...

Embodiment 2

[0063] In order to further refine this technical solution, such as figure 2 The diagram provides a flow chart of a method for flipping pages to browse pictures, and for convenience of description, only the parts related to the embodiment of the present invention are shown.

[0064] In step S201, receiving an instruction from the user to turn pages and browse pictures;

[0065] In step S202, it is judged whether the instruction of flipping pages and browsing pictures issued by the user is a quick page flipping browsing instruction, if so, execute step S205, otherwise execute step S203.

[0066] In the embodiment of the present invention, when the UI drawing thread UIRenderThread receives an instruction to turn pages and browse pictures, it needs to judge whether the current user is turning pages at the normal speed of viewing pictures or the rapid page turning caused by the user always triggering a certain page turning key state. Here, through the function GetKeyState in the...

Embodiment 3

[0076] In the embodiment of the present invention, image 3 What is shown is the specific process of loading layers, which will be described in detail below, but is not limited to this embodiment.

[0077] In the embodiment of the present invention, the process of loading layers is completed by the preset image generation thread ImageGenThread.

[0078] In step S301, a layer loading task is received, and it is judged whether the layer to be loaded exists in the cache, if yes, step S307 is executed, otherwise, step S302 is executed.

[0079] In step S302, it is determined whether the layer loading task is to load a small layer, if yes, execute step S303, otherwise execute step S306.

[0080] In step S303, it is judged whether the small layer to be loaded exists in the thumbnail database, if yes, execute step S304, otherwise execute step S305.

[0081] In the embodiment of the present invention, it is judged whether the small layer to be loaded exists in the thumbnail database...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the field of computer software, and provides a method and a device both for browsing a picture. The method includes the steps as follows: receiving a picture browse command input by a user; reading and parsing a picture specified by the picture browse command, and sequentially uploading a small layer and a middle layer / original layer generated correspondingly by the picture specified by the picture browse command; scanning a file folder containing the picture and specified by the picture browse command, and obtaining file information of all pictures in the file folder; reading and parsing multiple pictures around the picture specified by the picture browse command, and generating combined / small layers of small layers and middle layers / original layers respectively corresponding to the multiple pictures, and then storing the generated layers in a buffer memory; in addition, sequentially uploading the layers from small to large when a page-turning picture browse command transmitted by the user is received, wherein the uploaded pictures include one of or multiple of small layers, middle layers and original layers corresponding to the pictures specified by the page-turning picture browse command.

Description

technical field [0001] The invention belongs to the field of computer software, in particular to a method and device for browsing pictures. Background technique [0002] After the Internet has gradually integrated into daily life, browsing or downloading various pictures on the Internet has become a part of many people's daily life. The popularity of digital cameras has made browsing of high-quality pictures an indispensable part of many people's lives. And compared to printing or developing photos in the past, people are provided with more convenience and benefits through various picture viewing software. [0003] However, when people browse pictures through picture viewing software, because the picture viewing software only directly decodes the pictures being browsed, when the picture pixels viewed by the user are high, the user needs to wait for a long time; When browsing pictures, it is easy to appear a long time blank, busy and unresponsive state. [0004] Therefore, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 吴永坚李慧王佳
Owner TENCENT TECH (SHENZHEN) CO LTD