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

Rendering method of picture in page and method and device for providing information

A picture and page technology, applied in the Internet field, can solve problems such as inability to obtain width and height information, easy rotation of pictures, incomplete width and height information, etc., to achieve the effect of improving response rate, saving crawling time, and improving efficiency

Active Publication Date: 2017-01-25
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when various applications display pictures, there are the following problems: if it is a browser application, when the application renders a web page including pictures, CSS (Cascading Style Sheets, cascading style sheets) and Obtain the width and height information of the image in the label, reserve the corresponding display area, and then start text rendering without waiting for the image to be loaded. After the picture is loaded, the page needs to reflow (reflows), draw (repaints), and reduce the efficiency of rendering; if it is an electronic photo album application, the picture will be displayed according to the upload time of the user or the type of the picture edited. If the picture The number is very large, and the displayed pictures often cannot meet the needs of users; if it is a picture viewing application, the pictures are prone to display problems such as rotation, upside down, mirroring, etc.

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
  • Rendering method of picture in page and method and device for providing information
  • Rendering method of picture in page and method and device for providing information
  • Rendering method of picture in page and method and device for providing information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0034] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself...

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 page image rendering method and device. The method includes the steps that when a page is loaded, an attribute information query request of a page image is sent; a response message corresponding to the attribute information query request is obtained, and attribute information in the response message is extracted; a render region of the image in the page is determined according o the attribute information; rendering is conducted to the page according to the render region of the image, and when the image is downloaded, the image is painted in the render region. According to the rendering method, the page is rendered according to the render region of the image, and when the image is downloaded, rendering of an irreplaceable element part of the page is finished, and reflows and repaints are not needed, so that rendering efficiency is improved. The invention further discloses an information providing method and device.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method and device for rendering pictures in a page, and a method and device for providing information. Background technique [0002] At present, there are large-scale picture resources in the network. For example, a web page includes a wide variety of pictures, and various electronic photo album applications include various pictures taken by users. [0003] However, when various applications display pictures, there are the following problems: if it is a browser application, when the application renders a web page including pictures, CSS (Cascading Style Sheets, cascading style sheets) and Obtain the width and height information of the image in the label, reserve the corresponding display area, and then start text rendering without waiting for the image to be loaded. After the picture is loaded, the page needs to reflow (reflows), draw (repaints), and reduce the ...

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
CPCG06F16/9577
Inventor 夏群齐伟李靖
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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