Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for displaying pictures

A technology for displaying pictures and pictures, applied in the computer field, can solve problems such as poor user experience, time-consuming, unsmooth sliding screen, etc., to achieve the effect of improving fluency and response speed, and avoiding cache space

Active Publication Date: 2016-03-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Picture decoding has certain requirements on the configuration of the device, and every time a picture is drawn, it needs to be decoded, which will take a lot of time to decode the picture, and the focus movement and sliding screen will be very jerky, the response will be very slow, and the user experience will be greatly improved. very poor

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
  • A method and device for displaying pictures
  • A method and device for displaying pictures
  • A method and device for displaying pictures

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] see figure 1 , this embodiment provides a method for displaying pictures, and the process of the method is as follows:

[0054] 101: Receive an instruction to display the image to be displayed, and read the image information of the image to be displayed according to the instruction;

[0055] Receive an instruction to display a picture, search and read the picture information of the picture to be displayed in the picture manager according to the picture URL (UniformResourceLocator, uniform resource locator) of the picture to be displayed.

[0056] 102: Obtain a pre-stored decoding result of the picture to be displayed according to the picture information;

[0057] According to the read picture information in the pre-stored correspondence between the picture information and the decoding result of the picture, the corresponding picture decoding result is obtained.

[0058] 103: Draw a picture to be displayed according to the decoding result.

[0059] The picture is draw...

Embodiment 2

[0062] This embodiment provides a method for displaying pictures. Taking a browser to display pictures and creating a corresponding cache file for storing decoding results for each picture as an example, the method provided by this embodiment is described in detail. See figure 2 , the method flow is as follows:

[0063]201: The browser receives an instruction to display a picture, and reads the picture information of the picture to be displayed;

[0064] Specifically, the browser receives an instruction to display a certain picture, and searches and reads the picture information of the picture according to the URL of the picture carried in the instruction.

[0065] Wherein, there is a picture manager in each page with pictures, and the picture manager stores picture information, and the browser can read the picture information in the picture manager through the picture URL.

[0066] 202: Judging whether there is a cache file ID in the image information read by the browser, i...

Embodiment 3

[0083] see image 3 , this embodiment provides a device for displaying pictures, the device specifically includes:

[0084] A receiving module 301, configured to receive an instruction for displaying a picture to be displayed;

[0085] The reading module 302 is used to read the picture information of the picture to be displayed according to the instruction received by the receiving module 301;

[0086] The query module 303 is used to obtain the decoding result of the pre-stored picture to be displayed according to the picture information read by the reading module 302;

[0087] The drawing module 304 is configured to draw a picture according to the decoding result acquired by the query module 303 .

[0088] see Figure 4 , the device also includes:

[0089] The decoding module 305 is used to decode the picture to be displayed to obtain the decoding result;

[0090] The storage module 306 is configured to store the decoding result decoded by the decoding module 305, and es...

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 discloses a method for displaying images and a device for displaying the images, and belongs to the field of computers. The method includes that instructions for displaying images to be displayed are received, and information of the images to be displayed is read according to the instructions; pre-stored decoding results of the images to be displayed are obtained according to the image information; and the images to be displayed are mapped according to the decoding results. According to the method for displaying the images and the device for displaying the images, due to the fact that decoding results of decoded images are stored, the images can be mapped directly according to the pre-stored decoding results when the images are mapped again, repeated decoding for the decoded images is avoided, and the purposes that smoothness and response speed of image display are improved are achieved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for displaying pictures. Background technique [0002] With the continuous development of the computer field, the network has become more and more popular in mobile devices, and the third-party application software based on mobile devices has become more and more abundant, and the browser is one of the most installed software in these applications. In order to provide users with a good user experience, there are more and more high-resolution pictures in web pages, and whether the pictures in web pages can be quickly and smoothly displayed to users has become an important indicator for evaluating the quality of a browser. [0003] Each time an existing browser displays a picture in a webpage, it needs to call a corresponding picture decoder to decode the picture according to different picture types, and then draw the picture according to the decoding result and display...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 但文亮
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products