CN102231150A - Method and system for managing word stock of embedded browser - Google Patents

Method and system for managing word stock of embedded browser Download PDF

Info

Publication number
CN102231150A
CN102231150A CN 201110029650 CN201110029650A CN102231150A CN 102231150 A CN102231150 A CN 102231150A CN 201110029650 CN201110029650 CN 201110029650 CN 201110029650 A CN201110029650 A CN 201110029650A CN 102231150 A CN102231150 A CN 102231150A
Authority
CN
China
Prior art keywords
page
small library
library
literal
small
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201110029650
Other languages
Chinese (zh)
Inventor
徐佳宏
朱吕亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN 201110029650 priority Critical patent/CN102231150A/en
Publication of CN102231150A publication Critical patent/CN102231150A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of browsers, and discloses a method and system for managing a word stock of an embedded browser. The method comprises the following steps of: if characters in a local non-default word stock of a client are used in a page, pre-embedding a small word stock to which the characters belong in the page by a server; after receiving a request for a user to access the page by the client, downloading the page; analyzing the page; obtaining the small word stock; installing the small word stock in the locality of the client; and, in the event of displaying the content of a tag in the page, if the small word stock is used by the tag, displaying the content of the tag by using the characters in the small word stock. According to the method and system disclosed by the invention, the word stock required by the page can be dynamically loaded; the storage space occupied by the word stock is reduced; and the display speed of the page is increased.

Description

Built-in browser word library management method and system
Technical field
The present invention relates to the browser technology field, more particularly, relate to a kind of built-in browser word library management method and system.
Background technology
Along with the rapid growth of Internet popularity rate, browser becomes the important tool of the information of obtaining.On the other hand, along with the trend of consumer electronics, computing machine, communicating integral, built-in browser also occurs thereupon.Built-in browser can be widely used in various information appliances such as Internet-TV, iDVD, Web terminal, digital TV set-top box, palm PC and the portable network terminal, also has a wide range of applications at industrial control field.
Built-in browser is because system memory space restriction, usually can needed all character library of load application, and a character library commonly used just is installed, and promptly give tacit consent to character library, generally be black matrix.When the page of display access, use non-acquiescence character library if desired, the common solution of prior art is first under the PC environment, and picture made in needed literal, revise again and use the page, show the literal that the place of this literal uses corresponding picture to replace needs to show at needs.This mode need be made picture, and is bigger to use revising, and the figure sector-meeting takies too much storage space, and display speed is also had certain influence.
Summary of the invention
The embodiment of the invention provides a kind of built-in browser word library management method and system, to realize simply, easily the needed character library dynamic load of the page, reduces the storage space that character library takies, and improves page display speed.
For this reason, the embodiment of the invention provides following technical scheme:
A kind of built-in browser word library management method comprises:
If use the literal of the non-acquiescence character library in client place in the page, then server embeds the described page with the small library under the described literal in advance;
After client receives the request of the described page of user capture, download the described page;
Resolve the described page, obtain described small library, and described small library is installed in the client place;
In showing the described page, during label substance,, then use the literal in the described small library to show described label substance if described label uses described small library.
Preferably, described server embeds the described page with the small library under the described literal and comprises:
Server obtains the page that needs modification;
Generate small library tabulation defined file, described small library tabulation defined file is used for indicating the font that need increase at the page and the literal of every kind of required increase of font;
According to small library tabulation defined file, generate small library;
The small library that generates is embedded the described page.
Preferably, describedly the small library that generates embedded the described page comprise:
Utilize meta label and Base64 coded system that described small library is embedded the described page.
Preferably, described method also comprises:
In described meta label, add the term of validity of described small library;
After leaving the page,, then unload the small library of being installed if the term of validity of described small library lost efficacy.
Preferably, described method also comprises:
After leaving the described page, unload described small library.
A kind of built-in browser word-base management system comprises: the server and client side;
Described server is used for when the page is used the literal of the non-acquiescence character library in described client place the small library under the described literal being embedded the described page;
Described client after being used to receive the request of the described page of user capture, is downloaded the described page; Resolve the described page, obtain described small library, and described small library is installed in the client place; In showing the described page, during label substance,, then use the literal in the described small library to show described label substance if described label uses described small library.
Preferably, described server comprises:
Page acquiring unit is used to obtain the page that needs are revised;
Small library tabulation defined file generation unit is used to generate small library tabulation defined file, and described small library tabulation defined file is used for indicating the font that need increase at the page and the literal of every kind of required increase of font;
The small library generation unit is used for generating small library according to small library tabulation defined file;
Embed the unit, the small library that is used for generating embeds the described page.
Preferably, described embedding unit specifically is used to utilize meta label and Base64 coded system that described small library is embedded the described page.
Preferably, described client comprises:
The request receiving element is used to receive the request of the described page of user capture;
Download unit is used for downloading the described page after the described request receiving element receives described request;
Resolution unit is used to resolve the described page, obtains described small library;
Installation unit is used for described small library is installed in the client place;
Display unit is used to show the described page, and during label substance, if described label uses described small library, then uses the literal in the described small library to show described label substance in showing the described page.
Preferably, described client also comprises:
Unloading unit is used for unloading described small library after leaving the described page.
Built-in browser word library management method and system that the embodiment of the invention provides, when in the page, using the literal of the non-acquiescence character library in client place, in advance the small library under the described literal is embedded the described page, like this, receive the request of the described page of user capture in client after, by resolving the described page, can obtain described small library, and described small library is installed in the client place, thereby in showing the described page during label substance, if described label uses described small library, then use the literal in the described small library to show described label substance.It is simple, convenient that embodiment of the invention built-in browser word library management method and system realize, not only can reduce the storage space that character library takies, and can improve page display speed.
Description of drawings
In order to be illustrated more clearly in technical scheme of the invention process, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that server end embeds process flow diagram in the page with small library in the embodiment of the invention;
Fig. 2 is the process flow diagram that is generated the small library listing file in the embodiment of the invention by server according to the page automatically;
Fig. 3 is the process flow diagram of embodiment of the invention built-in browser word library management method;
Fig. 4 is a kind of structural representation of embodiment of the invention built-in browser word-base management system.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the invention better, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtained should belong to the scope of protection of the invention.
Built-in browser word library management method and system that the embodiment of the invention provides, when in the page, using the literal of the non-acquiescence character library in client place, in advance the small library under the described literal is embedded the described page, like this, receive the request of the described page of user capture in client after, by resolving the described page, can obtain described small library, and described small library is installed in the client place, thereby in showing the described page during label substance, if described label uses described small library, then use the literal in the described small library to show described label substance.
The literal page of supposing to use the non-acquiescence character library in client place is sample.html, and it thes contents are as follows:
<html>
<head>
<title〉character library download example</title 〉
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' id=' myid ' the regular script example
Example</div 〉
<div style=' font-family: row pattern; Font-size:30px; ' row pattern example</div 〉
</body>
</html>
In this page, to the div label, define its content by CSS (Cascading Style Sheet, CSS (cascading style sheet)) and use a kind of font " regular script " (only to be example here, actual capabilities are the fonts that are of little use such as regular script, row pattern, and this font does not have in the browser of client.
Wherein, CSS is one group of formatting rule, is used to control the outward appearance of the Web page.By using the CSS pattern that the form of the page is set, the content of the page can be separated with the form of expression.Content of pages leaves in HTML (HyperText Transfer Protocol, the HTML (Hypertext Markup Language)) document, and the CSS rule that is used for defining the form of expression leaves certain part of another file or html document in, is generally the file header part.Content is separated with the form of expression, the outward appearance of maintenance site is more prone to, but also can make the html document code more terse, shorten the load time of browser.
In embodiments of the present invention, server end is made amendment to above-mentioned page sample.html, small library is embedded among the page sample.html, and as shown in Figure 1, be the concrete treatment scheme that this small library embeds the page, may further comprise the steps:
Step 101, server are obtained the page that needs to embed small library, for example sample.html;
Step 102 generates small library tabulation defined file according to the label in the described page, and this document content can be the form of tabulation, is used for indicating the font that need increase at the page and the literal of every kind of required increase of font;
For example, for above-mentioned example page sample.html, the small library of generation tabulation defined file is:
Regular script: regular script example;
Row pattern: row pattern example;
Step 103 generates small library, promptly for each row of small library tabulation defined file, generates the small library that this font only contains corresponding word content;
For example,, can generate two small libraries, be respectively for above-mentioned example page:
Kaiti.ttf, wherein only contain literal: " pattern " " body " " shows " " example "
Xinkai.ttf, wherein only contain literal: " OK " " pattern " " shown " " example ";
Step 104 embeds the page with the small library that generates;
Particularly, can increase by two meta labels in the head label substance by revising page sample.html, other guide is constant;
For example, amended sample.html is:
<html>
<head>
<title〉character library download example</title 〉
<meta name=' font-install ' content=' regular script:
Data:application/font; The base64 coding of base64{kaiti.ttf correspondence } '/
<meta name=' font-install ' content=' row pattern:
Data:application/font; The base64 coding of base64{xinkai.ttf correspondence } '/
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' id=' myid ' the regular script example</div 〉
<div style=' font-family: row pattern; Font-size:30px; ' row pattern example</div 〉
</body>
</html>
Wherein, the meta label is a complementary label in html language head district, can be used for more self-defined functions.
Base64 is a kind of coded system that is used to transmit the 8Bit syllabified code, is used in and transmits long identification information under HTTP (Hyper Text Transfer Protocol, the HTML (Hypertext Markup Language)) environment.
In embodiments of the present invention, adopt meta label and Base64 coded system, page font is shown that needed small library embeds the page, like this, not only can make client realize the synchronous download of the small library and the page, reduce network and connect number of times, when guaranteeing that the page is successfully downloaded, small library also can be downloaded simultaneously; And, use the meta label can make client-side just realize the download and the unloading of small library are controlled.
In addition, in embodiments of the present invention, can also make content of pages and font accomplish to on-the-fly modify.
For example: need supposing page displayed is sample2.html, and it thes contents are as follows:
<html>
<head>
<title〉character library download example</title 〉
<script>
function?changeContent(){
Document.getElementById (' myid ') .innerHTML=" new
Content ";
document.getElementById(‘myid’).style.fontSize=
“50px”;
}
</script>
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' id=' myid ' old content
</div>
<div style=' font-family: row pattern; Font-size:30px; ' row pattern example</div 〉
<input type=' button ' value=' changes content ' onclick=' changeContent (); '
</body>
</html>
Server end is made amendment to page sample2.html, and its small library of using is embedded in this page, and detailed process is similar to the above, that is:
Generate small library tabulation defined file according to page sample2.html, specific as follows:
Regular script: the content that old content is new;
Row pattern: row pattern example;
Generate two small libraries according to this small library tabulation defined file:
Kaiti.ttf, wherein only contain literal: " newly " " old " " " " interior " " appearance ";
Xinkai.ttf, wherein only contain literal: " OK " " pattern " " shown " " example ";
Utilize meta label and base64 coding that the small library that generates is embedded page sample2.html, amended sample2.html is:
<html>
<head>
<title〉character library download example</title 〉
<meta name=' font-install ' content=' regular script:
Data:application/font; The base64 coding of base64{kaiti.ttf correspondence } '/
<meta name=' font-install ' content=' row pattern:
Data:application/font; The base64 coding of base64{xinkai.ttf correspondence } '/
<script>
function?changeContent(){
Document.getElementById (' myid ') .innerHTML=" new
Content ";
document.getElementById(‘myid’).style.fontSize=
“50px”;
}
</script>
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' id=' myid ' old content
</div>
<div style=' font-family: row pattern; Font-size:30px; ' row pattern example</div 〉
<input type=' button ' value=' changes content ' onclick=' changeContent (); '
</body>
</html>
As seen, in this example, not only comprise the page in the small library and begin the literal that displaying contents comprises, i.e. " old " " " " interior " " appearance ", but also comprise the literal that displaying contents comprises behind the page changes, i.e. " newly " " " " interior " " appearance ", because the font of these literal correspondences all is a regular script, therefore, for the literal that wherein repeats, small library only need increase by one and get final product, and promptly above-mentioned small library kaiti.ttf contains literal: " newly " " old " " " " interior " " appearance ".
In embodiments of the present invention, described small library tabulation defined file can generate by hand, also can directly be generated according to the page by server, and is as shown in Figure 2, specific as follows:
Step 201, server obtains the page;
Step 202 is resolved the page, obtains the label of definition font-family attribute;
Step 203, if the font of font-family label definition is not the default font of client, then its corresponding character of tag extraction to using non-default font generates textual list;
Step 204, possible content modification in the searched page adds new content in the described textual list to;
Step 205 is by the small library tabulation defined file of described non-default font and corresponding character tabulation generation page correspondence thereof.
In the embodiment of the invention, when in the page, using the literal of the non-acquiescence character library in client place, in advance the small library under the described literal is embedded the described page by server end, like this, receive the request of the described page of user capture in client after, can realize dynamic load, in the storage space that the reduction character library takies to the needed character library of the page, reduce network effectively and connect number of times, improve page display speed.
As shown in Figure 3, be the process flow diagram of embodiment of the invention built-in browser word library management method, this flow process may further comprise the steps:
After step 301, client receive the request of user to access pages, download the described page.
Particularly, can pass through HTTP mode downloading page.
Step 302 is resolved the described page, obtains described small library.
Particularly, resolve the label in the page, if comprise the meta label, and its name attribute is font-install, shows that then what comprise in this label is the small library installation data.Then, from this meta label, extract the fontname of small library correspondence in the content attribute, for example regular script; And carry out the base64 decoding, generate small library.
Step 303 is installed in the client place with described small library.
Particularly, the small library that decoding is generated is installed as the character library of fontname correspondence.
Step 304 shows label substance in the described page, if described label uses described small library, then uses the literal in the described small library to show described label substance.
In order to understand the embodiment of the invention better, below the process of client parsing and display page in the embodiment of the invention and the prior art is done simple comparative illustration.
In the prior art, behind the client downloads page, the process that the page is resolved is as follows:
1. set up the label node tree;
2. according to the css rule, determine the attribute of each label node;
3. according to the attribute and the content of each label node, the display position on screen is determined in composing;
4. according to the result who sets type, the content of display label on screen.
And in embodiments of the present invention, owing to embedded small library in the page, therefore, it is different that client is resolved with process that shows and existing said process to the page, and detailed process is as follows:
1. set up the label node tree, its process comprises:
(1) resolve html, identical with existing resolving;
(2) resolve head, identical with existing resolving;
(3) resolve the meta label,, show it is the small library installation data if its name attribute is font-install;
(4) the content attribute of parsing meta, the fontname of extraction small library correspondence;
(5) reduction small library promptly carries out the base64 decoding to the content among the content, generates small library;
(6) small library that will decode and generate is installed as the character library of fontname correspondence.
2. according to the css rule, determine the attribute of each label node;
3. according to the attribute and the content of each label node, the display position on screen is determined in composing;
4. according to the result who sets type, the content of display label on screen if label uses the small library of installing, then uses small library to show corresponding contents.
In order further to save client place memory source, in embodiments of the present invention, also can further may further comprise the steps:
After leaving the described page, the small library that unloading is installed.
Certainly, also can set certain condition, after leaving the described page,, unload the small library of being installed again if condition satisfies.Such as, the term of validity of in described meta label, adding described small library; After leaving the page,, then unload the small library of being installed if the term of validity of described small library lost efficacy.
In addition, in a kind of application of the embodiment of the invention, needed all small libraries of whole application can also be concentrated in together, in this case, can be for an application be provided with a portal page and the outlet page, portal page is installed needed all small libraries of whole application.When leaving this portal page, do not unload the small library of being installed, but increase the new meta label of definition, after the outlet page is left in described application, unload the small library of being installed again at the described outlet page.
For example, the new meta label of definition is as follows:
<meta name=' font-uninstall ' content=' regular script '/;
<meta name=' font-uninstall ' content=' row pattern '/.
And, when generating small library tabulation defined file, need each page in the traversal applications, generate the small library tabulation of all pages, wherein, merge, thereby can further reduce the number of times that is connected with network in the application for identical font and literal.
Below above-mentioned applicating example describe in detail.
Suppose that an application comprises a plurality of pages, is respectively: index.html, a.html, b.html, exit.html, wherein, index.html is a portal page, and exit.html is the outlet page, and each page is specific as follows:
Index.html (portal page)
<html>
<head>
<title〉portal page</title 〉
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' this is a portal page
</div>
<a?href=′a.html′>link?a</a>
</body>
</html>
A.html (first page of content)
<html>
<head>
<title〉first page of content</title 〉
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' first page of content</div 〉
<div style=' font-family: row pattern; Font-size:30px; ' first page of row pattern example
</div>
<a?href=′b.html′>link?b</a>
</body>
</html>
B.html (second page of content)
<html>
<head>
<title〉second page of content</title 〉
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' second page of content</div 〉
<div style=' font-family: row pattern; Font-size:30px; ' second page of row pattern example
</div>
<a?href=′exit.html′>exit</a>
</body>
</html>
Exit.html (the outlet page)
<html>
<head>
<title〉the outlet page</title 〉
</head>
<body>
<div〉the outlet page</div 〉
</body>
</html>
At above-mentioned application, server travels through each page in this application when generating small library, adds up the employed small library tabulation of each page defined file:
Regular script: this is second page of first page of content of portal page content;
Row pattern: second page of first page of capable pattern example of row pattern example.
The small library tabulation defined file that generates is put in order, i.e. deletion is the character of repetition wherein, obtains the small library tabulation defined file that should use being:
Regular script: this is first page two pages of portal page contents;
Row pattern: first page two of row pattern example.
Then,, generate two small libraries, need to prove that these two small libraries are the needed small libraries of corresponding whole application according to above-mentioned small library tabulation defined file:
Kaiti.ttf (contain character " this " "Yes" and " go into " " mouth " " page or leaf " " face " " interior " " appearance " " " " one " " page or leaf " " two " " page or leaf ")
Xinkai.ttf (contain character " OK " " pattern " and " show " " example " " " " one " " page or leaf " " two ")
At last, with the small library embedding mouthful page index.html of above-mentioned generation, amended portal page index.html is:
Index.html (embed and use required small library)
<html>
<head>
<title〉portal page</title 〉
<meta name=' font-install ' content=' regular script:
Data:application/font; The base64 coding of base64{kaiti.ttf correspondence } '/
<meta name=' font-install ' content=' row pattern:
Data:application/font; The base64 coding of base64{xinkai.ttf correspondence } '/
</head>
<body>
<div style=' font-family: regular script; Font-size:30px; ' this is a portal page
</div>
<a?href=′a.html′>link?a</a>
</body>
</html>
In addition, also need increase unloading mechanism in outlet page exit.html, exit.html is revised as:
Exit.html (increasing unloading mechanism)
<html>
<head>
<title〉the outlet page</title 〉
<meta name=' font-uminstall ' content=' regular script '/
<meta name=' font-uninstall ' content=' row pattern '/
</head>
<body>
<div〉the outlet page</div 〉
</body>
</html>
As seen, utilize embodiment of the invention built-in browser word library management method, not only can be at the single page, its employed small library is embedded this page, and download synchronously, make when the page is successfully downloaded with this page, small library is also downloaded simultaneously, in the storage space that the reduction character library takies, reduce network and connected number of times, improved display speed; And when using at certain, also the small library that all pages in this application use can be embedded in the portal page of this application, make all pages in this application share same small library, further reduced network and connected number of times, improved display speed.
Correspondingly, the embodiment of the invention also provides a kind of built-in browser word-base management system, as shown in Figure 4, is a kind of structural representation of this system.
In this embodiment, described system comprises: server 401 and client 402, wherein:
Server 401 is used for when the page is used the literal of the non-acquiescence character library in described client place the small library under the described literal being embedded the described page;
Client 402 after being used to receive the request of the described page of user capture, is downloaded the described page; Resolve the described page, obtain described small library, and described small library is installed in the client place; In showing the described page, during label substance,, then use the literal in the described small library to show described label substance if described label uses described small library.
In this embodiment, a kind of preferred structure of described server 401 comprises:
Page acquiring unit 411 is used to obtain the page that needs are revised;
Small library tabulation defined file generation unit 412 is used to generate small library tabulation defined file, and described small library tabulation defined file is used for indicating the font that need increase at the page and the literal of every kind of required increase of font;
Small library generation unit 413 is used for generating small library according to small library tabulation defined file;
Embed unit 414, the small library that is used for generating embeds the described page, and particularly, described embedding unit 414 can utilize meta label and Base64 coded system that described small library is embedded the described page.
In this embodiment, a kind of preferred structure of described client 402 comprises:
Request receiving element 421 is used to receive the request of the described page of user capture;
Download unit 422 is used for downloading the described page after the described request receiving element receives described request;
Resolution unit 423 is used to resolve the described page, obtains described small library;
Installation unit 424 is used for described small library is installed in the client place;
Display unit 425 is used to show the described page, and during label substance, if described label uses described small library, then uses the literal in the described small library to show described label substance in showing the described page.
For the small library that makes each download after satisfying this demonstration demand, avoid taking corresponding memory headroom, described client also can further comprise: unloading unit (not shown) is used for unloading described small library after leaving the described page.
Certainly, need to prove that the server and client side in the embodiment of the invention is not limited in above-mentioned concrete structure, in actual applications, other malformations can also be arranged.
Utilize embodiment of the invention built-in browser word-base management system, when in the page, using the literal of the non-acquiescence character library in described client place, by server the employed small library of the page is embedded this page, and download synchronously with this page, make that when the page is successfully downloaded small library is also downloaded simultaneously, in the storage space that the reduction character library takies, reduce network and connected number of times, improved display speed.
Certainly, utilize the distortion of embodiment of the invention built-in browser word-base management system, also the small library that all pages in this application use can be embedded in the portal page of this application, make all pages in this application share same small library, further reduce network and connected number of times, improved display speed, specific implementation can not repeat them here with reference to the description in the embodiment of the invention built-in browser word library management method of front.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.Especially, for system embodiment, because it is substantially similar in appearance to method embodiment, so describe fairly simplely, relevant part gets final product referring to the part explanation of method embodiment.System embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment or the like.
More than disclosed only be preferred implementation of the present invention; but the present invention is not limited thereto; any those skilled in the art can think do not have a creationary variation, and, all should drop in protection scope of the present invention not breaking away from some improvements and modifications of being done under the principle of the invention prerequisite.

Claims (10)

1. a built-in browser word library management method is characterized in that, comprising:
If use the literal of the non-acquiescence character library in client place in the page, then server embeds the described page with the small library under the described literal in advance;
After client receives the request of the described page of user capture, download the described page;
Resolve the described page, obtain described small library, and described small library is installed in the client place;
In showing the described page, during label substance,, then use the literal in the described small library to show described label substance if described label uses described small library.
2. the method for claim 1 is characterized in that, described server embeds the described page with the small library under the described literal and comprises:
Server obtains the page that needs modification;
Generate small library tabulation defined file, described small library tabulation defined file is used for indicating the font that need increase at the page and the literal of every kind of required increase of font;
According to small library tabulation defined file, generate small library;
The small library that generates is embedded the described page.
3. method as claimed in claim 2 is characterized in that, described small library with generation embeds the described page and comprises:
Utilize meta label and Base64 coded system that described small library is embedded the described page.
4. method as claimed in claim 3 is characterized in that, described method also comprises:
In described meta label, add the term of validity of described small library;
After leaving the page,, then unload the small library of being installed if the term of validity of described small library lost efficacy.
5. method as claimed in claim 4 is characterized in that, described method also comprises:
After leaving the described page, unload described small library.
6. a built-in browser word-base management system is characterized in that, comprising: the server and client side;
Described server is used for when the page is used the literal of the non-acquiescence character library in described client place the small library under the described literal being embedded the described page;
Described client after being used to receive the request of the described page of user capture, is downloaded the described page; Resolve the described page, obtain described small library, and described small library is installed in the client place; In showing the described page, during label substance,, then use the literal in the described small library to show described label substance if described label uses described small library.
7. system as claimed in claim 6 is characterized in that, described server comprises:
Page acquiring unit is used to obtain the page that needs are revised;
Small library tabulation defined file generation unit is used to generate small library tabulation defined file, and described small library tabulation defined file is used for indicating the font that need increase at the page and the literal of every kind of required increase of font;
The small library generation unit is used for generating small library according to small library tabulation defined file;
Embed the unit, the small library that is used for generating embeds the described page.
8. system as claimed in claim 7 is characterized in that,
Described embedding unit specifically is used to utilize meta label and Base64 coded system that described small library is embedded the described page.
9. as each described system of claim 6 to 8, it is characterized in that described client comprises:
The request receiving element is used to receive the request of the described page of user capture;
Download unit is used for downloading the described page after the described request receiving element receives described request;
Resolution unit is used to resolve the described page, obtains described small library;
Installation unit is used for described small library is installed in the client place;
Display unit is used to show the described page, and during label substance, if described label uses described small library, then uses the literal in the described small library to show described label substance in showing the described page.
10. method as claimed in claim 9 is characterized in that, described client also comprises:
Unloading unit is used for unloading described small library after leaving the described page.
CN 201110029650 2011-01-27 2011-01-27 Method and system for managing word stock of embedded browser Pending CN102231150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110029650 CN102231150A (en) 2011-01-27 2011-01-27 Method and system for managing word stock of embedded browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110029650 CN102231150A (en) 2011-01-27 2011-01-27 Method and system for managing word stock of embedded browser

Publications (1)

Publication Number Publication Date
CN102231150A true CN102231150A (en) 2011-11-02

Family

ID=44843714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110029650 Pending CN102231150A (en) 2011-01-27 2011-01-27 Method and system for managing word stock of embedded browser

Country Status (1)

Country Link
CN (1) CN102231150A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455503A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Word stock collection method, webpage rendering method, device and system
CN103761110A (en) * 2014-02-18 2014-04-30 优视科技有限公司 Browser font displaying and processing method and device
CN104424195A (en) * 2013-08-20 2015-03-18 北大方正集团有限公司 Method and device for constructing widget library
CN106033453A (en) * 2015-03-17 2016-10-19 北大方正集团有限公司 Character embedding method, character embedding system, browser and client

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677390A (en) * 2005-02-02 2005-10-05 广州网上新生活软件技术服务有限公司 Multiple typeface, size and model displaying system and method in embedded system
US20050220343A1 (en) * 2004-03-31 2005-10-06 Yuki Yoshimura Automatic character code recognition/display system, method, and program using mobile telephone
CN101158979A (en) * 2007-11-23 2008-04-09 深圳市茁壮网络技术有限公司 Multifont data display method and system and related equipment
CN101639853A (en) * 2009-08-26 2010-02-03 王建军 Text display method used for household electrical appliance terminal
US20100107062A1 (en) * 2008-10-20 2010-04-29 Extensis Inc. Contextually Previewing Fonts

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050220343A1 (en) * 2004-03-31 2005-10-06 Yuki Yoshimura Automatic character code recognition/display system, method, and program using mobile telephone
CN1677390A (en) * 2005-02-02 2005-10-05 广州网上新生活软件技术服务有限公司 Multiple typeface, size and model displaying system and method in embedded system
CN101158979A (en) * 2007-11-23 2008-04-09 深圳市茁壮网络技术有限公司 Multifont data display method and system and related equipment
US20100107062A1 (en) * 2008-10-20 2010-04-29 Extensis Inc. Contextually Previewing Fonts
CN101639853A (en) * 2009-08-26 2010-02-03 王建军 Text display method used for household electrical appliance terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《电脑爱好者》 20021031 郭涛 Microsoft WEFT-摆脱网页字体束缚 97 , 第20期 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455503A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Word stock collection method, webpage rendering method, device and system
CN103455503B (en) * 2012-05-31 2018-04-03 腾讯科技(深圳)有限公司 Word stock collection, webpage rendering intent, apparatus and system
CN104424195A (en) * 2013-08-20 2015-03-18 北大方正集团有限公司 Method and device for constructing widget library
CN104424195B (en) * 2013-08-20 2018-03-23 北大方正集团有限公司 A kind of method and device for building part library
CN103761110A (en) * 2014-02-18 2014-04-30 优视科技有限公司 Browser font displaying and processing method and device
CN103761110B (en) * 2014-02-18 2017-12-26 优视科技有限公司 browser font display processing method and device
CN106033453A (en) * 2015-03-17 2016-10-19 北大方正集团有限公司 Character embedding method, character embedding system, browser and client

Similar Documents

Publication Publication Date Title
US9715370B2 (en) Method and system for providing content
US8756489B2 (en) Method and system for dynamic assembly of form fragments
US9686378B2 (en) Content management and transformation system for digital content
US10565293B2 (en) Synchronizing DOM element references
CN102915308B (en) A kind of method of page rendering and device
US9646103B2 (en) Client-side template engine and method for constructing a nested DOM module for a website
EP2681671A1 (en) System and methods for facilitating the synchronization of data
CN103297327A (en) Message pushing method, message pushing device and display terminal
US20160012147A1 (en) Asynchronous Initialization of Document Object Model (DOM) Modules
US20160012144A1 (en) Javascript-based, client-side template driver system
CN111953709A (en) Multimedia content transmission method, multimedia content display device and electronic equipment
CN112765516A (en) Page content display method and device, storage medium and electronic device
CN101702641A (en) Coding method and network server
CN102231150A (en) Method and system for managing word stock of embedded browser
CN116569165B (en) Page display method and device, storage medium and electronic equipment
US20160012023A1 (en) Self-Referencing of Running Script Elements in Asynchronously Loaded DOM Modules
CN113360106B (en) Webpage printing method and device
CN112632425B (en) Method, device, equipment and storage medium for generating offline resource file
AU2019222873B2 (en) Method and system for providing content
EP2806350A1 (en) Image forming firmware web-based user interface localization
US20160012146A1 (en) Client Web Browser and Method for Constructing a Website DOM Module With Client-Side Functional Code
CN112068826A (en) Text input control method, system, electronic device and storage medium
CN103942291A (en) Method and device for displaying information on browser interface
CN105867953B (en) Application program updating packet generation method and application program updating method and corresponding intrument
JP2011128762A (en) Information processor, information processing method, and information processing program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1162719

Country of ref document: HK

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111102

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1162719

Country of ref document: HK