CN103455503A - Word stock collection method, webpage rendering method, device and system - Google Patents

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

Info

Publication number
CN103455503A
CN103455503A CN2012101767007A CN201210176700A CN103455503A CN 103455503 A CN103455503 A CN 103455503A CN 2012101767007 A CN2012101767007 A CN 2012101767007A CN 201210176700 A CN201210176700 A CN 201210176700A CN 103455503 A CN103455503 A CN 103455503A
Authority
CN
China
Prior art keywords
mobile terminal
character library
data
server
identifying information
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.)
Granted
Application number
CN2012101767007A
Other languages
Chinese (zh)
Other versions
CN103455503B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210176700.7A priority Critical patent/CN103455503B/en
Publication of CN103455503A publication Critical patent/CN103455503A/en
Application granted granted Critical
Publication of CN103455503B publication Critical patent/CN103455503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

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

Character library collection method, webpage rendering intent, Apparatus and system
Technical field
The present invention relates to computer realm, particularly a kind of character library collection method, webpage rendering intent, Apparatus and system.
Background technology
Along with the development of computing machine and Internet technology, using mobile terminal such as smart mobile phone, panel computer to carry out browsing page is one of application the most common in people's daily life.
At present, although the computing power of mobile terminal constantly developing and strengthening, because the webpage render process in the browsing page process needs a large amount of computings, so mobile terminal is in the webpage render process or card often occurs and the situation such as play up slowly.In order to solve this technical problem, a kind of Web browser method provided in the prior art is: the first, mobile terminal is by URL(Universal Resource Locator, URL(uniform resource locator)) initiate request of access to acting server; The second, acting server captures corresponding web data according to this URL to web page server; The 3rd, acting server carries out webpage according to the web data grabbed and plays up; The 4th, acting server sends to mobile terminal by the web data of playing up; The 5th, mobile terminal is drawn webpage and is shown to the user according to the web data of playing up.
In realizing process of the present invention, the inventor finds that at least there is following problem in prior art: except the computing power of mobile terminal development, the font that mobile terminal is used and the character set of supporting, also in continuous development and change, become more and more abundanter.Particularly along with international, carry out, mobile terminal is in order to support different category of language, and the kind of the character library that also makes mobile terminal use (comprising font and character set) is more.In such scheme, if the character library that the character library that acting server uses and mobile terminal are used is not mated, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide.
Summary of the invention
In order to solve when acting on behalf of character library that character library that server uses and mobile terminal use and do not mate, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, and the embodiment of the present invention provides a kind of character library collection method, webpage rendering intent, Apparatus and system.Described technical scheme is as follows:
According to an aspect of the present invention, the embodiment of the present invention provides a kind of character library collection method, and described method comprises:
The unique identifying information that mobile terminal receive sends, described unique identifying information is corresponding with the character library of supporting in described mobile terminal;
Judge that whether described unique identifying information is identical with the corresponding unique identifying information of character library of this locality storage;
If different, as to described mobile terminal feedback, need to upload character library instructions is extremely local so that described mobile terminal is uploaded the character library of supporting in described mobile terminal.
Further, the unique identifying information that described mobile terminal receive is uploaded, described unique identifying information, with before the character library of supporting in described mobile terminal is corresponding, also comprises:
Described mobile terminal is collected at least one character library that self supports;
For each character library, calculate at least one cryptographic hash according at least one character set information included in described character library and default hash algorithm, each cryptographic hash is corresponding with a character set information institute, and at least one cryptographic hash that will calculate is as the unique identifying information of described character library.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought comprises:
The character library of coming guiding mobile terminal whether to need to upload self to support by unique identifying information is to acting server, and the character library that makes acting server always can pre-storedly support to mobile terminal, so that follow-up rendering.By first allowing mobile terminal upload unique identifying information, rather than directly upload character library, make mobile terminal only when needs are uploaded character library, just upload character library, can effectively reduce the flow of uploading of mobile terminal, avoid unwanted flow waste.
According to a further aspect in the invention, the embodiment of the present invention provides a kind of webpage rendering intent, and described method comprises:
Web page address and unique identifying information that mobile terminal receive sends;
Obtain corresponding web data according to described web page address;
The character library corresponding at local search according to described unique identifying information;
According to the described character library inquired, described web data is played up, with the web data after being played up and feed back to described mobile terminal.
Further, the described character library that described basis inquires also comprises before described web data is played up:
Receive the screen message that described mobile terminal sends;
The described character library that described basis inquires is played up described web data, and correspondence comprises:
According to the described character library inquired and described screen message, described web data is played up.
Further, describedly according to described web page address, obtain corresponding web data, specifically comprise:
Obtain corresponding Initial page data according to described web page address;
Judge in described Initial page data and whether comprise script data;
If so, carry out the script data in described Initial page data, to obtain described web data.
Further, described with the web data after being played up and feed back to described mobile terminal, specifically comprise:
Web data after described playing up is compressed;
Web data after described the playing up of overcompression is sent to described mobile terminal.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought comprises:
First, by make between mobile terminal and server to keep the synchronous of character library by unique identifying information, make server to be played up web data by the character library that is applicable to mobile terminal, thereby when having solved character library that the character library used when server and mobile terminal use and not mated, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up,
The second, server sends the web data after playing up by packed data to mobile terminal, has reduced the downloading flow of mobile terminal, has reached the effect of saving the rate that flow produces of mobile terminal.
In accordance with a further aspect of the present invention, the embodiment of the present invention provides a kind of server, and described server comprises:
Information receiving module, the unique identifying information sent for mobile terminal receive, described unique identifying information is corresponding with the character library of supporting in described mobile terminal;
Whether signal judgement module is identical with the corresponding unique identifying information of character library of this locality storage for judging described unique identifying information;
The instruction feedback module, if judgment result is that difference for described signal judgement module, the instruction that to described mobile terminal feedback, need to upload character library, extremely local so that described mobile terminal is uploaded the character library of supporting in described mobile terminal.According to another aspect of the invention, the embodiment of the present invention provides a kind of mobile terminal, and described terminal comprises:
The character library collection module, for collecting at least one character library of self supporting;
The information computing module, be used for for each character library, calculate at least one cryptographic hash according at least one character set information included in described character library and default hash algorithm, each cryptographic hash is corresponding with a character set information institute, and at least one cryptographic hash that will calculate is as the unique identifying information of described character library.
Further, described mobile terminal also comprises:
The command reception module, for the instruction of uploading character library of reception server feedback;
Transmission module on character library, for receive described instruction of uploading character library in described command reception module after, upload at least one character library of self supporting;
Transmission module on information, for uploading described unique identifying information to server.Simultaneously, the embodiment of the present invention is a kind of character library collection system also, comprises server as above and mobile terminal as above.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought comprises:
The character library of coming guiding mobile terminal whether to need to upload self to support by unique identifying information is to acting server, and the character library that makes acting server always can pre-storedly support to mobile terminal, so that follow-up rendering.By first allowing mobile terminal upload unique identifying information, rather than directly upload character library, make mobile terminal only when needs are uploaded character library, just upload character library, can effectively reduce the flow of uploading of mobile terminal, avoid unwanted flow waste.
According to also one side of the present invention, the embodiment of the present invention provides a kind of server, and described server comprises:
The request receiving module, the web page address and the unique identifying information that for mobile terminal receive, send;
Data acquisition module, for obtaining corresponding web data according to described web page address;
The character library enquiry module, for the character library corresponding at local search according to described unique identifying information;
The webpage rendering module, played up described web data according to the described character library inquired, with the web data after being played up and feed back to described mobile terminal.
Further, described server also comprises:
The receiver module of holding one's breath, the screen message sent for receiving described mobile terminal;
Described webpage rendering module, played up described web data specifically for described character library and described screen message according to inquiring.
Further, described data acquisition module specifically comprises:
Data capture unit, script judging unit and script executing unit;
Described data capture unit, for obtaining corresponding Initial page data according to described web page address;
Whether described script judging unit, comprise script data for judging described Initial page data;
Described script executing unit, if for judgment result is that of described script judging unit be, carry out the script data in described Initial page data, to obtain described web data.
Further, described webpage rendering module specifically comprises:
Data rendering unit, data compression unit and data transmission unit;
Described data rendering unit, played up described web data for the described character library according to inquiring;
Described data compression unit, compressed for the web data by after described playing up;
Described data transmission unit, for sending to described mobile terminal by the web data after described the playing up of overcompression.
In accordance with a further aspect of the present invention, the embodiment of the present invention provides a kind of mobile terminal, and it comprises:
Information sending module, for send web page address to be visited and unique identifying information to server, the character library that described unique identifying information is supported with self is corresponding;
Data reception module, for receiving the web data after playing up that described server sends;
The web displaying module, draw webpage and show for the web data according to after described playing up.
Further, described data reception module specifically comprises:
Data receiver unit and data decompression unit;
Described data receiver unit, the web data after described the playing up of overcompression sent for receiving described server;
Described data decompression unit, for carrying out decompress(ion) by described web data after described the playing up of overcompression.
Simultaneously, the embodiment of the present invention also provides a kind of webpage display system, comprises server as above and mobile terminal as above.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought comprises:
First, by make between mobile terminal and server to keep the synchronous of character library by unique identifying information, make server to be played up web data by the character library that is applicable to mobile terminal, thereby when having solved character library that the character library used when server and mobile terminal use and not mated, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up,
The second, server sends the web data after playing up by packed data to mobile terminal, has reduced the downloading flow of mobile terminal, has reached the effect of saving the rate that flow produces of mobile terminal.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the related implementation environment schematic diagram of the embodiment of the present invention;
Fig. 2 is the method flow diagram of the webpage rendering intent that provides of the embodiment of the present invention one;
Fig. 3 is the method flow diagram of the webpage rendering intent that provides of the embodiment of the present invention two;
Fig. 4 is the enforcement schematic diagram of the webpage rendering intent that provides of the embodiment of the present invention two;
Fig. 5 is the method flow diagram of the character library collection method that provides of the embodiment of the present invention three;
Fig. 6 is the block diagram of the character library collection system that provides of the embodiment of the present invention four;
Fig. 7 is the block diagram of the webpage display system that provides of the embodiment of the present invention five;
Fig. 8 is the block diagram of the mobile terminal that provides of the embodiment of the present invention six;
Fig. 9 is a kind of block diagram of the server that provides of the embodiment of the present invention seven;
Figure 10 is another block diagram of the server that provides of the embodiment of the present invention seven;
Figure 11 is a block diagram again of the server that provides of the embodiment of the present invention seven.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
For convenience of description, please at first with reference to figure 1, it shows the related implementation environment schematic diagram of the embodiment of the present invention.This implementation environment comprises mobile terminal 120, acting server 140 and web page server 160.
Mobile terminal 120 can be smart mobile phone, the panel computer that operation has browser.The user can utilize mobile terminal 120 to carry out browsing page.Such as, also the user can send URL(to acting server by mobile terminal 120: web page address) initiate web access requests.
Acting server 140 is for replacing mobile terminal 120 to obtain to web page server 160 web data that URL is corresponding, and acting server 140 can replace 120 pairs of web datas that get of mobile terminal to carry out pre-service to a certain degree simultaneously.
Web page server 160 is the servers that store web data.Such as, the web server of the opening of certain Company Establishment.
Embodiment mono-
Please refer to Fig. 2, it shows the method flow diagram of the webpage rendering intent that the embodiment of the present invention one provides.This webpage rendering intent can be for the acting server 140 shown in Fig. 1, and this webpage rendering intent can comprise:
Step 202, web page address and unique identifying information that mobile terminal receive sends;
When mobile terminal needs accessed web page, can send web page address and unique identifying information to acting server.Wherein, web page address can be URL, and unique identifying information means the character library that this mobile terminal is supported.Unique identifying information can be one group of cryptographic hash.Character library is the electronic characters font set storehouse of foreign language font, Chinese font and relevant character.
Step 204, obtain corresponding web data according to web page address;
After acting server receives web page address, can obtain corresponding web data to web page server according to web page address.Web data can comprise: HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)) data, Javascript script, CSS(Cascading Style Sheet, Cascading Style Sheet) pattern etc.
Step 206, the character library corresponding at local search according to unique identifying information;
Simultaneously, acting server can also be according to the unique identifying information character library corresponding with this unique identifying information at the local data library inquiry received.This step also can be carried out before step 204 or simultaneously.
Step 208, played up web data according to the character library inquired, with the web data after being played up and feed back to mobile terminal.
When acting on behalf of server after web page server grabs web data, can utilize the character library inquired to be played up web data, render process can comprise the steps such as typesetting.Then acting server can feed back to mobile terminal by the web data after playing up, and after the web data that mobile terminal receives this after playing up, can directly draw display web page.
In sum, the webpage rendering intent that the present embodiment provides, can make server know the character library that mobile terminal is supported by unique identifying information, make server can utilize the character library that mobile terminal is supported to wish that to it web data of accessing is played up, thereby solved when acting on behalf of character library that character library that server uses and mobile terminal use and do not mate, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up.
Embodiment bis-
Please refer to Fig. 3, it shows the method flow diagram of the webpage rendering intent that the embodiment of the present invention two provides.This webpage rendering intent can be for the acting server 140 shown in Fig. 1, and this webpage rendering intent can comprise:
Step 302, web page address, unique identifying information and screen message that mobile terminal receive sends;
When mobile terminal needs accessed web page, can send web page address, unique identifying information and screen message to acting server.Wherein, web page address can be URL, and unique identifying information means the character library that this mobile terminal is supported.Unique identifying information can be one group of cryptographic hash.Character library is the electronic characters font set storehouse of foreign language font, Chinese font and relevant character.
And screen message can be the screen resolution of mobile terminal, such as 320 pixel * 240 pixels, 960 pixel * 640 pixels etc.Screen message can be used in reference to the typesetting in wire guide page render process.
Step 304, obtain corresponding web data according to web page address;
After acting server receives web page address, can obtain corresponding web data to web page server according to web page address.Web data can comprise: HTML(Hypertext Markup Language, HTML (Hypertext Markup Language)) data, Javascript script, CSS(Cascading Style Sheet, Cascading Style Sheet) pattern etc.In order to alleviate better the calculated amount of mobile terminal side.This step can specifically comprise:
The first, obtain corresponding Initial page data according to web page address;
Acting server can first arrive corresponding Webpage data capturing according to web page address local, now these web datas is not done to other processing, these web datas is referred to as to the Initial page data herein.
The second, judge in the Initial page data and whether comprise script data;
After acting server grabs the Initial page data, can judge and wherein whether have the script data as Javascript script and so on.
The 3rd, if so, carry out the script data in the Initial page data, to obtain web data.
If comprise the Javascript script in the Initial page data, acting server can replace this Javascript script of mobile terminal pre-execution, thereby obtains web data after treatment.Certainly, if the Initial page data do not comprise the Javascript script, can not carry out the step of pre-execution.
Step 306, the character library corresponding at local search according to unique identifying information;
On the other hand, pre-stored in acting server have a plurality of character libraries, and each character library is to having one group of cryptographic hash as unique identifying information.Acting server can also be according to the unique identifying information character library corresponding with this unique identifying information at the local data library inquiry received.This step also can be carried out before step 304 or simultaneously.
Step 308, played up web data according to the character library inquired and screen message, with the web data after being played up and feed back to mobile terminal.
Acting server can be played up web data according to the character library inquired and screen message, and render process can comprise the steps such as typesetting, thus the web data after being played up.Only including " it is Chinese that I Love You; be willing to that motherland is forever prosperous and powerful " with web page contents is example, can obtain a zone to be rendered 40 according to screen message, as shown in Figure 4, acting server can be divided into by zone 40 stripe region 42 that several highly equal or be slightly larger than font height information according to the font height information in character library, again according to the width information of single character in character library by each character in web data according to from left to right, order from top to bottom successively typesetting enter in several stripe region 42, thereby obtain the character area after typesetting.In process of typeset, when the character duration accumulated value of all characters that are arranged in same stripe region 42 surpasses the length of this stripe region, treat that by current the typesetting of typesetting character to next line stripe region 42, then plays up step in conjunction with other, the web data after can being played up.Certainly, if when web data also includes the content such as picture, music, script and CSS pattern, render process can corresponding other steps that comprises, this is content well-known to those skilled in the art, and this paper repeats no longer one by one.
Then acting server can send to mobile terminal by the web data after playing up, so that mobile terminal is directly drawn and display web page according to the web data after playing up.Now, in order to save the flow of mobile terminal, can carry out in the following manner:
The first, acting server is compressed the web data after playing up;
The second, acting server sends to mobile terminal by the web data after the playing up of overcompression.
In like manner, mobile terminal, when receiving this web data after the playing up of overcompression, also need to could obtain the web data after playing up according to corresponding decompression.
In sum, the webpage rendering intent that the present embodiment provides, can make server know the character library that mobile terminal is supported by unique identifying information, make server can utilize the character library that mobile terminal is supported to wish that to it web data of accessing is played up, thereby solved when acting on behalf of character library that character library that server uses and mobile terminal use and do not mate, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up.
Obviously, above-mentioned webpage rendering intent all needs acting server that character library and corresponding cryptographic hash is pre-stored, and the process that this is pre-stored, can be realized by following examples.
Embodiment tri-
Please refer to Fig. 5, it shows the method flow diagram of the character library collection method that the embodiment of the present invention three provides.This character library collection method can be applied in the mobile terminal 120 shown in Fig. 1 and acting server 140.This character library collection method can comprise:
Step 502, mobile terminal is collected at least one character library that self supports;
When for the first time browser being installed, can collect the character library of self supporting when mobile terminal, be generally a character library, may be also a plurality of character libraries.
Step 504, for each character library, calculate at least one cryptographic hash according at least one character set information included in character library and default hash algorithm, each cryptographic hash is corresponding with a character set information institute, and at least one cryptographic hash that will calculate is as the unique identifying information of this character library.
When mobile terminal is collected the character library of self supporting, for each character library, all need to calculate one group of cryptographic hash.Owing to usually comprising one or more character set information in each character library, so mobile terminal can calculate a cryptographic hash for each character set information according to default hash algorithm, such character library can calculate one or more cryptographic hash, the unique identifying information that then mobile terminal can be using this one or more cryptographic hash (also one group of cryptographic hash) as this character library.
Step 506, the unique identifying information that mobile terminal receive sends, unique identifying information is corresponding with the character library of supporting in mobile terminal;
After mobile terminal calculates the unique identifying information of all character libraries, can in the browser installation process, unique identifying information be sent to acting server.Acting server can receive the unique identifying information that mobile terminal sends.
Step 508, judge that whether unique identifying information is identical with the corresponding unique identifying information of character library of this locality storage;
After acting server receives the unique identifying information of mobile terminal transmission, can judge whether the corresponding unique identifying information of each character library of storing in local data base exists the unique identifying information sent with mobile terminal identical.If exist the unique identifying information of a local character library identical with the unique identifying information that mobile terminal sends, mean in acting server to have stored into this character library, do not need mobile terminal to upload again this character library, the instruction that now acting server can not need to upload character library to the mobile terminal feedback.
Step 510, if different, the instruction that to the mobile terminal feedback, need to upload character library, extremely local so that mobile terminal is uploaded the character library of supporting in mobile terminal.
If the acting server judgement does not exist the unique identifying information of any one local character library identical with the unique identifying information that mobile terminal sends, mean in acting server also not store into this character library, the instruction that now acting server need to be uploaded character library to the mobile terminal feedback, so that it is extremely local that mobile terminal is uploaded the character library of supporting in mobile terminal, then acting server can be stored corresponding character library and unique identifying information.
In sum, the character library collection method that the present embodiment provides, the character library of coming guiding mobile terminal whether to need to upload self to support by unique identifying information is to acting server, and the character library that makes acting server always can pre-storedly support to mobile terminal, so that follow-up rendering.Especially, the character library collection method that the present embodiment provides is not directly uploaded character library by mobile terminal, but first allow mobile terminal upload unique identifying information, make mobile terminal only when needs are uploaded character library, just upload character library, can effectively reduce the flow of uploading of mobile terminal, avoid unwanted flow waste.
Embodiment tetra-
Please refer to Fig. 6, it shows the block diagram of the character library collection system that the embodiment of the present invention four provides.This character library collection system comprises mobile terminal 620 and server 640.
Mobile terminal 620 can comprise on character library collection module 621, information computing module 622, information transmission module 625 on transmission module 623, command reception module 624 and character library.
At least one character library that character library collection module 621 self is supported for collecting mobile terminal 620.
Information computing module 622 each character library for collecting for character library collection module 621, calculate at least one cryptographic hash according at least one character set information included in character library and default hash algorithm, each cryptographic hash is corresponding with a character set information institute, and at least one cryptographic hash that will calculate is as the unique identifying information of this character library.
On information transmission module 623 for the unique identifying information uploading information computing module 622 and calculate to server, so that whether server feedback needs to upload the instruction of character library.
Command reception module 624 is for the instruction of uploading character library of reception server feedback.
On character library, transmission module 625, for after command reception module 624 receives the instruction of uploading character library, is uploaded at least one character library of self supporting.
Server 640 can comprise information receiving module 642, signal judgement module 644 and instruction feedback module 646.
The unique identifying information that information receiving module 642 sends for mobile terminal receive, unique identifying information is corresponding with the character library of supporting in mobile terminal.
Whether signal judgement module 644 is identical with the corresponding unique identifying information of character library of this locality storage for the unique identifying information that judges information receiving module 642 and receive.
If instruction feedback module 646, for the difference that judgment result is that of signal judgement module 644, feeds back to mobile terminal the instruction that need to upload character library, extremely local so that mobile terminal is uploaded the character library of supporting in mobile terminal.
In sum, the character library whether the character library collection system that the present embodiment provides is come guiding mobile terminal to need to upload self to support by unique identifying information is to acting server, the character library that makes acting server always can pre-storedly support to mobile terminal, so that follow-up rendering.Especially, the character library collection method that the present embodiment provides is not directly uploaded character library by mobile terminal, but first allow mobile terminal upload unique identifying information, make mobile terminal only when needs are uploaded character library, just upload character library, can effectively reduce the flow of uploading of mobile terminal, avoid unwanted flow waste.
It should be noted that: the character library collection system that above-described embodiment provides is when collecting character library, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the character library collection system that above-described embodiment provides and character library collection method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Embodiment five
Please refer to Fig. 7, it shows the block diagram of the webpage display system that the embodiment of the present invention four provides.This webpage display system comprises mobile terminal 720 and server 740.
Mobile terminal 720 can comprise information sending module 722, data reception module 724 and web displaying module 726.
Information sending module 722 is for sending web page address and unique identifying information to be visited to server 740, and the character library that unique identifying information is supported with self is corresponding.
The web data that data reception module 724 sends for reception server 740 after playing up.
Web displaying module 726 for according to data reception module 724, receive play up after web data draw webpage and show.
Server 740 can comprise request receiving module 742, data acquisition module 744, character library enquiry module 746 and webpage rendering module 748,
Web page address and unique identifying information that request receiving module 742 sends for mobile terminal receive.
Data acquisition module 744 obtains corresponding web data for the web page address received according to request receiving module 742.
Unique identifying information at the local search corresponding character library of character library enquiry module 746 for receiving according to request receiving module 742.
The web data that the character library that webpage rendering module 748 inquires according to character library enquiry module 746 gets data acquisition module 744 is played up, with the web data after being played up and feed back to mobile terminal 720.
In sum, the webpage display system that the present embodiment provides, can make server know the character library that mobile terminal is supported by unique identifying information, make server can utilize the character library that mobile terminal is supported to wish that to it web data of accessing is played up, thereby solved when acting on behalf of character library that character library that server uses and mobile terminal use and do not mate, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up.
Embodiment six
Do further explanation for the mobile terminal in embodiment five, please refer to Fig. 8, it shows the block diagram of the mobile terminal that the embodiment of the present invention four provides.This mobile terminal comprises information sending module 722, data reception module 724 and web displaying module 726.
Information sending module 722 is for sending web page address to be visited and unique identifying information to server, the character library that unique identifying information is supported with self is corresponding.
The web data that data reception module 724 sends for reception server after playing up.Data reception module 724 can specifically comprise: data receiver unit 724a and data decompression unit 724b.Wherein, the web data after the playing up of overcompression that data receiver unit 724a sends for reception server.Data decompression unit 724b is for carrying out decompress(ion) by the web data after the playing up of overcompression.
Web displaying module 726 for according to data reception module 724, receive play up after web data draw webpage and show.
In sum, the mobile terminal that the present embodiment provides, an aspect, can make server know the character library that mobile terminal is supported by unique identifying information, make server can utilize the character library that mobile terminal is supported to wish that to it web data of accessing is played up, thereby solved when acting on behalf of character library that character library that server uses and mobile terminal use and do not mate, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up.On the other hand, also by packed data, receive the web data after playing up, reduced the downloading flow of mobile terminal.
Embodiment seven
Do further explanation for the server in embodiment five, please refer to Fig. 9, it shows the block diagram of the server that the embodiment of the present invention four provides.This server can comprise request receiving module 742, the receiver module 743 of holding one's breath, data acquisition module 744, character library enquiry module 746 and webpage rendering module 748,
Web page address and unique identifying information that request receiving module 742 sends for mobile terminal receive.
The screen message that the receiver module 743 of holding one's breath sends for mobile terminal receive.
Data acquisition module 744 obtains corresponding web data for the web page address received according to request receiving module 742.
Unique identifying information at the local search corresponding character library of character library enquiry module 746 for receiving according to request receiving module 742.
The web data that the character library that webpage rendering module 748 inquires according to character library enquiry module 746 and the screen message that receiver module 743 receives of holding one's breath get data acquisition module 744 is played up, with the web data after being played up and feed back to mobile terminal 720.
Specifically, data acquisition module 744 can specifically comprise: data capture unit 744a, script judging unit 744b and script executing unit 744c, as shown in figure 10.Data capture unit 744a is for obtaining corresponding Initial page data according to web page address; Script judging unit 744b is for judging whether the Initial page data comprise script data; If script executing unit 744c is to carry out the script data in the Initial page data, to obtain web data for judgment result is that of script judging unit.
Specifically, webpage rendering module 748 can specifically comprise: data rendering unit 748a, data compression unit 748b and data transmission unit 748c, as shown in figure 11.Data rendering unit 748a is played up web data for the character library according to inquiring; Data compression unit 748b is for being compressed the web data after playing up; Data transmission unit 748c is for sending to mobile terminal by the web data after the playing up of overcompression.
In sum, the server that the present embodiment provides, an aspect, can make server know the character library that mobile terminal is supported by unique identifying information, make server can utilize the character library that mobile terminal is supported to wish that to it web data of accessing is played up, thereby solved when acting on behalf of character library that character library that server uses and mobile terminal use and do not mate, there will be the mobile terminal web page display not attractive in appearance, the word picture has the situations such as overlapping or interval is very wide, having reached server always can provide web data after playing up preferably to mobile terminal, then mobile terminal can be according to the effect of the perfect display web page of web data after playing up.On the other hand, also by packed data, transmit the web data after playing up, reduced the downloading flow of mobile terminal.
It should be noted that: the webpage display system that above-described embodiment provides is when display web page, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the webpage display system that above-described embodiment provides and webpage rendering intent embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (17)

1. a character library collection method, is characterized in that, described method comprises:
The unique identifying information that mobile terminal receive sends, described unique identifying information is corresponding with the character library of supporting in described mobile terminal;
Judge that whether described unique identifying information is identical with the corresponding unique identifying information of character library of this locality storage;
If different, as to described mobile terminal feedback, need to upload character library instructions is extremely local so that described mobile terminal is uploaded the character library of supporting in described mobile terminal.
2. character library collection method according to claim 1, is characterized in that, the unique identifying information that described mobile terminal receive is uploaded, and described unique identifying information, with before the character library of supporting in described mobile terminal is corresponding, also comprises:
Described mobile terminal is collected at least one character library that self supports;
For each character library, calculate at least one cryptographic hash according at least one character set information included in described character library and default hash algorithm, each cryptographic hash is corresponding with a character set information institute, and at least one cryptographic hash that will calculate is as the unique identifying information of described character library.
3. a webpage rendering intent, is characterized in that, it comprises:
Web page address and unique identifying information that mobile terminal receive sends;
Obtain corresponding web data according to described web page address;
The character library corresponding at local search according to described unique identifying information;
According to the described character library inquired, described web data is played up, with the web data after being played up and feed back to described mobile terminal.
4. webpage rendering intent according to claim 3, is characterized in that, the described character library that described basis inquires also comprises before described web data is played up:
Receive the screen message that described mobile terminal sends;
The described character library that described basis inquires is played up described web data, and correspondence comprises:
According to the described character library inquired and described screen message, described web data is played up.
5. webpage rendering intent according to claim 3, is characterized in that, describedly according to described web page address, obtains corresponding web data, specifically comprises:
Obtain corresponding Initial page data according to described web page address;
Judge in described Initial page data and whether comprise script data;
If so, carry out the script data in described Initial page data, to obtain described web data.
6. webpage rendering intent according to claim 3, is characterized in that, described with the web data after being played up and feed back to described mobile terminal, specifically comprises:
Web data after described playing up is compressed;
Web data after described the playing up of overcompression is sent to described mobile terminal.
7. a server, is characterized in that, described server comprises:
Information receiving module, the unique identifying information sent for mobile terminal receive, described unique identifying information is corresponding with the character library of supporting in described mobile terminal;
Whether signal judgement module is identical with the corresponding unique identifying information of character library of this locality storage for judging described unique identifying information;
The instruction feedback module, if judgment result is that difference for described signal judgement module, the instruction that to described mobile terminal feedback, need to upload character library, extremely local so that described mobile terminal is uploaded the character library of supporting in described mobile terminal.
8. a mobile terminal, is characterized in that, described terminal comprises:
The character library collection module, for collecting at least one character library of self supporting;
The information computing module, be used for for each character library, calculate at least one cryptographic hash according at least one character set information included in described character library and default hash algorithm, each cryptographic hash is corresponding with a character set information institute, and at least one cryptographic hash that will calculate is as the unique identifying information of described character library;
Transmission module on information, for uploading described unique identifying information to server.
9. mobile terminal according to claim 8, is characterized in that, described mobile terminal also comprises:
The command reception module, for the instruction of uploading character library of reception server feedback;
Transmission module on character library, for receive described instruction of uploading character library in described command reception module after, upload at least one character library of self supporting.
10. a server, is characterized in that, described server comprises:
The request receiving module, the web page address and the unique identifying information that for mobile terminal receive, send;
Data acquisition module, for obtaining corresponding web data according to described web page address;
The character library enquiry module, for the character library corresponding at local search according to described unique identifying information;
The webpage rendering module, played up described web data according to the described character library inquired, with the web data after being played up and feed back to described mobile terminal.
11. server according to claim 10, is characterized in that, described server also comprises:
The receiver module of holding one's breath, the screen message sent for receiving described mobile terminal;
Described webpage rendering module, played up described web data specifically for described character library and described screen message according to inquiring.
12. server according to claim 10, is characterized in that, described data acquisition module specifically comprises:
Data capture unit, script judging unit and script executing unit;
Described data capture unit, for obtaining corresponding Initial page data according to described web page address;
Whether described script judging unit, comprise script data for judging described Initial page data;
Described script executing unit, if for judgment result is that of described script judging unit be, carry out the script data in described Initial page data, to obtain described web data.
13. server according to claim 10, is characterized in that, described webpage rendering module specifically comprises:
Data rendering unit, data compression unit and data transmission unit;
Described data rendering unit, played up described web data for the described character library according to inquiring;
Described data compression unit, compressed for the web data by after described playing up;
Described data transmission unit, for sending to described mobile terminal by the web data after described the playing up of overcompression.
14. a mobile terminal, is characterized in that, it comprises:
Information sending module, for send web page address to be visited and unique identifying information to server, the character library that described unique identifying information is supported with self is corresponding;
Data reception module, for receiving the web data after playing up that described server sends;
The web displaying module, draw webpage and show for the web data according to after described playing up.
15. mobile terminal according to claim 14, is characterized in that, described data reception module specifically comprises:
Data receiver unit and data decompression unit;
Described data receiver unit, the web data after described the playing up of overcompression sent for receiving described server;
Described data decompression unit, for carrying out decompress(ion) by described web data after described the playing up of overcompression.
16. a character library collection system, is characterized in that, comprises server as claimed in claim 7 and mobile terminal as claimed in claim 8 or 9.
17. a webpage display system, is characterized in that, comprises described server as arbitrary as claim 10 to 13 and mobile terminal as described as claims 14 or 15.
CN201210176700.7A 2012-05-31 2012-05-31 Word stock collection, webpage rendering intent, apparatus and system Active CN103455503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210176700.7A CN103455503B (en) 2012-05-31 2012-05-31 Word stock collection, webpage rendering intent, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210176700.7A CN103455503B (en) 2012-05-31 2012-05-31 Word stock collection, webpage rendering intent, apparatus and system

Publications (2)

Publication Number Publication Date
CN103455503A true CN103455503A (en) 2013-12-18
CN103455503B CN103455503B (en) 2018-04-03

Family

ID=49737884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210176700.7A Active CN103455503B (en) 2012-05-31 2012-05-31 Word stock collection, webpage rendering intent, apparatus and system

Country Status (1)

Country Link
CN (1) CN103455503B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765844A (en) * 2015-04-16 2015-07-08 北京京东尚科信息技术有限公司 Website page generating method and device
CN108009192A (en) * 2017-09-30 2018-05-08 北京车和家信息技术有限公司 Loading method, the apparatus and system of webpage word
CN109076097A (en) * 2016-03-14 2018-12-21 电子湾有限公司 System and method for entrusting contents processing
CN114513760A (en) * 2020-11-17 2022-05-17 华为技术有限公司 Font library synchronization method, device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1032985C (en) * 1994-04-15 1996-10-09 曾冬初 Multistage structure Chinese character base technique and its Chinese language computer operating system design
CN1381795A (en) * 2001-04-18 2002-11-27 无敌科技(西安)有限公司 Automatic format setting method for palm-type browser
US20080238924A1 (en) * 2007-03-26 2008-10-02 Seiko Epson Corporation Character rendering device, display device, and printer
CN101639761A (en) * 2009-05-27 2010-02-03 旋永南 Data entry and processing method of handheld device
WO2010084207A1 (en) * 2009-01-26 2010-07-29 Fontself Sa A system and method for displaying a text with a font
CN101923723A (en) * 2009-06-16 2010-12-22 汉王科技股份有限公司 Method for realizing display of electronic document
CN102063483A (en) * 2009-10-16 2011-05-18 以埃克斯坦西斯股份有限公司名义经营的塞拉特姆股份有限公司 Serving font files in varying formats based on user agent type
CN102231150A (en) * 2011-01-27 2011-11-02 深圳市茁壮网络股份有限公司 Method and system for managing word stock of embedded browser
CN102439588A (en) * 2009-03-10 2012-05-02 谷歌公司 Serving font glyphs

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1032985C (en) * 1994-04-15 1996-10-09 曾冬初 Multistage structure Chinese character base technique and its Chinese language computer operating system design
CN1381795A (en) * 2001-04-18 2002-11-27 无敌科技(西安)有限公司 Automatic format setting method for palm-type browser
US20080238924A1 (en) * 2007-03-26 2008-10-02 Seiko Epson Corporation Character rendering device, display device, and printer
WO2010084207A1 (en) * 2009-01-26 2010-07-29 Fontself Sa A system and method for displaying a text with a font
CN102439588A (en) * 2009-03-10 2012-05-02 谷歌公司 Serving font glyphs
CN101639761A (en) * 2009-05-27 2010-02-03 旋永南 Data entry and processing method of handheld device
CN101923723A (en) * 2009-06-16 2010-12-22 汉王科技股份有限公司 Method for realizing display of electronic document
CN102063483A (en) * 2009-10-16 2011-05-18 以埃克斯坦西斯股份有限公司名义经营的塞拉特姆股份有限公司 Serving font files in varying formats based on user agent type
CN102231150A (en) * 2011-01-27 2011-11-02 深圳市茁壮网络股份有限公司 Method and system for managing word stock of embedded browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于海涛: "《嵌入式浏览器渲染体系结构的研究与设计》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765844A (en) * 2015-04-16 2015-07-08 北京京东尚科信息技术有限公司 Website page generating method and device
CN104765844B (en) * 2015-04-16 2019-02-19 北京京东尚科信息技术有限公司 A kind of generation method and device of Website page
CN109076097A (en) * 2016-03-14 2018-12-21 电子湾有限公司 System and method for entrusting contents processing
CN109076097B (en) * 2016-03-14 2021-06-29 电子湾有限公司 System and method for delegated content processing
CN108009192A (en) * 2017-09-30 2018-05-08 北京车和家信息技术有限公司 Loading method, the apparatus and system of webpage word
CN114513760A (en) * 2020-11-17 2022-05-17 华为技术有限公司 Font library synchronization method, device and storage medium
CN114513760B (en) * 2020-11-17 2023-03-24 华为技术有限公司 Font library synchronization method, device and storage medium

Also Published As

Publication number Publication date
CN103455503B (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN102438045B (en) Method and system for pre-fetching web page, and method for accessing web page
JP5324411B2 (en) Advertisement distribution apparatus, method and program
JP5786105B2 (en) Information processing apparatus, information processing method, information processing program, display control apparatus, and display control program
CN102591954A (en) Method, device and terminal for loading data for browser
CN104573025A (en) Method and system for increasing page loading rate
CN102939601A (en) Initiating font subsets
CN102629273A (en) Advertising information pushing method based on browser, device and browser system
CN110442815B (en) Page generation method, system, device and computer readable storage medium
CN102364460B (en) Automatic page amplification method and system based on mobile terminal
CN102298599A (en) Method and system for browsing web pages in offline state
CN105787091B (en) Support the content delivering system and method for multiple terminals
CN104572843A (en) Page loading method and device
CN103123630A (en) Method, system, mobile terminal and server for obtaining webpage contents
CN103747074B (en) mobile monitoring system based on Web server
CN103699674A (en) Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system
CN110598149A (en) Webpage access method, device and storage medium
CN101777065A (en) Multi-page browser for mobile communication equipment terminals and application method thereof
CN102752371B (en) In client, realize method and the client of dodging screen
CN106874271A (en) A kind of method and system that PC webpages are converted to mobile terminal webpage
JP2007233659A (en) Information distribution system for network service
CN104572822A (en) Method and device for displaying text
EP3080722B1 (en) Web page rendering on wireless devices
CN103455503A (en) Word stock collection method, webpage rendering method, device and system
CN103823841A (en) Method and device for increasing browsing speed for mobile terminal client
KR20190059943A (en) Method and system for real-time content delivery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant