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

Word stock collection method, webpage rendering method, device and system

A web page rendering and font library technology, applied in the computer field, can solve the problems of overlapping text and pictures, unsightly display of mobile terminal web pages, etc., and achieve the effect of saving tariffs and reducing download traffic.

Active Publication Date: 2013-12-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventors found that the prior art has at least the following problems: In addition to the development of the computing power of the mobile terminal, the fonts used by the mobile terminal and the character sets supported are also constantly developing and changing. getting richer
In the above solution, if the font library used by the proxy server does not match the font library used by the mobile terminal, the display of the webpage on the mobile terminal will be unsightly, the text and pictures will overlap or the intervals will be very wide, 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
  • Word stock collection method, webpage rendering method, device and system
  • Word stock collection method, webpage rendering method, device and system
  • Word stock collection method, webpage rendering method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0094] Please refer to figure 2 , which shows a method flow chart of the web page rendering method provided in Embodiment 1 of the present invention. This page rendering method can be used to figure 1 In the shown proxy server 140, the web page rendering method may include:

[0095] Step 202, receiving the web page address and unique identification information sent by the mobile terminal;

[0096] When the mobile terminal needs to access the webpage, it can send the webpage address and unique identification information to the proxy server. Wherein, the web page address may be a URL, and the unique identification information indicates the font library supported by the mobile terminal. The unique identifying information can be a set of hash values. The font library is an electronic font collection library of foreign fonts, Chinese fonts and related characters.

[0097] Step 204, obtaining corresponding webpage data according to the webpage address;

[0098] After receivin...

Embodiment 2

[0105] Please refer to image 3 , which shows a flow chart of the method for rendering a webpage provided in Embodiment 2 of the present invention. This page rendering method can be used to figure 1 In the shown proxy server 140, the web page rendering method may include:

[0106] Step 302, receiving the web page address, unique identification information and screen information sent by the mobile terminal;

[0107] When the mobile terminal needs to access the webpage, it can send the webpage address, unique identification information and screen information to the proxy server. Wherein, the web page address may be a URL, and the unique identification information indicates the font library supported by the mobile terminal. The unique identifying information can be a set of hash values. The font library is an electronic font collection library of foreign fonts, Chinese fonts and related characters.

[0108] The screen information may be the screen resolution of the mobile te...

Embodiment 3

[0128] Please refer to Figure 5 , which shows the method flow chart of the font collection method provided by the third embodiment of the present invention. This font collection method can be applied to figure 1 The mobile terminal 120 and the proxy server 140 are shown. The font collection method may include:

[0129] Step 502, the mobile terminal collects at least one font library supported by itself;

[0130] When the mobile terminal installs the browser for the first time, it can collect fonts supported by itself, usually one font, or multiple fonts.

[0131] Step 504, for each font, at least one hash value is calculated according to at least one character set information included in the font and a preset hash algorithm, each hash value corresponds to one character set information, and will be calculated to At least one hash value of the font is used as the unique identification information of the font.

[0132] When the mobile terminal collects the fonts supported b...

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 word stock collection method and a webpage rendering method, device and system, belonging to the field of computers. The word stock collection method comprises the steps of: receiving an unique identification message sent from a mobile terminal, wherein the unique identification message corresponds to a word stock supported in the mobile terminal; judging if the unique identification message is as same as that corresponding to a locally stored word stock; if not, feeding back a command indicating that a word stock is necessary to be uploaded to the mobile terminal so as to bring convenience for the mobile terminal to upload the word stock supported in the mobile terminal to the local area. The synchronization of the word stock between the mobile terminal and a server is kept by the virtue of the unique identification message, so that the server can render webpage data by using the word stock suitable for the mobile terminal, and the effects that the server can always provide relatively good rendered webpage data to the mobile terminal and the mobile terminal can display the webpage perfectly based on the rendered webpage data are achieved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a font collection method, a web page rendering method, a device and a system. Background technique [0002] With the development of computer and Internet technologies, using mobile terminals such as smart phones and tablet computers to browse webpages is one of the most common applications in people's daily life. [0003] At present, although the computing power of mobile terminals is constantly developing and enhancing, since the webpage rendering process in the process of browsing webpages requires a large amount of calculations, mobile terminals often experience freezes and slow rendering during the webpage rendering process. In order to solve this technical problem, a web browsing method provided in the prior art is: first, the mobile terminal initiates an access request to the proxy server through a URL (Universal Resource Locator, Uniform Resource Locator); The URL grabs the corre...

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 Applications(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