Method and device for displaying picture on browser of user equipment as required
First Claim
1. A method for displaying a picture on a browser of a User Equipment (UE) as required, comprising:
- when a UE accesses a WEB page through a browser, parsing, by the browser, a received Hypertext Markup Language (HTML) text, and typesetting, by the browser, the WEB page in manner of a default picture according to a result of the parsing;
calculating a visual area of the WEB page and acquiring a control within the visual area; and
drawing the visual area after it is determined that the control within the visual area comprises an image control and each image control within the visual area has obtained a corresponding picture.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosure discloses a method and device for displaying a picture on a browser of a User Equipment (UE) as required. The method includes that: when a UE accesses a WEB page through a browser, the browser parses a received HTML text, and typesets the WEB page in manner of a default picture according to a result of the parsing; a visual area of the WEB page is calculated and a control within the visual area is acquired; and after it is determined that the control within the visual area includes an image control and each image control within the visual area has obtained a corresponding picture, the visual area is drawn. With the disclosure, when a user only wants to view part of the area of a WEB page, time waiting for displaying of the WEB page and data-flow consumption are reduced by merely downloading any picture of the WEB page that is within the scope of a screen.
46 Citations
6 Claims
-
1. A method for displaying a picture on a browser of a User Equipment (UE) as required, comprising:
-
when a UE accesses a WEB page through a browser, parsing, by the browser, a received Hypertext Markup Language (HTML) text, and typesetting, by the browser, the WEB page in manner of a default picture according to a result of the parsing; calculating a visual area of the WEB page and acquiring a control within the visual area; and drawing the visual area after it is determined that the control within the visual area comprises an image control and each image control within the visual area has obtained a corresponding picture. - View Dependent Claims (2, 3, 6)
-
-
4. A device for displaying a picture on a browser of a User Equipment (UE) as required, comprising:
- a parsing module, a calculating and acquiring module, and a determining and drawing module, wherein
the parsing module is configured to, when a UE accesses a WEB page through a browser, parse a received Hypertext Markup Language (HTML) text, and typeset the WEB page in manner of a default picture according to a result of the parsing; the calculating and acquiring module is configured to calculate a visual area of the WEB page and acquire a control within the visual area; and the determining and drawing module is configured to draw the visual area after determining that the control within the visual area comprises an image control and each image control within the visual area has obtained a corresponding picture. - View Dependent Claims (5)
- a parsing module, a calculating and acquiring module, and a determining and drawing module, wherein
Specification