CN103345493A - Method, device and system for text content displaying on mobile terminal - Google Patents

Method, device and system for text content displaying on mobile terminal Download PDF

Info

Publication number
CN103345493A
CN103345493A CN2013102620729A CN201310262072A CN103345493A CN 103345493 A CN103345493 A CN 103345493A CN 2013102620729 A CN2013102620729 A CN 2013102620729A CN 201310262072 A CN201310262072 A CN 201310262072A CN 103345493 A CN103345493 A CN 103345493A
Authority
CN
China
Prior art keywords
portable terminal
web page
text data
character
show
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
CN2013102620729A
Other languages
Chinese (zh)
Other versions
CN103345493B (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201310262072.9A priority Critical patent/CN103345493B/en
Publication of CN103345493A publication Critical patent/CN103345493A/en
Priority to PCT/CN2014/072735 priority patent/WO2014206108A1/en
Application granted granted Critical
Publication of CN103345493B publication Critical patent/CN103345493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Abstract

The invention provides a method for webpage text content displaying on a mobile terminal. The method comprises the steps that after webpage address information of webpage text content to be displayed and character sets supported by the mobile terminal are received from the mobile terminal, according to the webpage address information, corresponding webpage text data are obtained from a target server; webpage text data slots which cannot be displayed by the mobile terminal are identified; a text type setting engine is called to rearrange the webpage text data slots which cannot be displayed in a matched mode; a character rendering engine is called to load a corresponding character bank, graphs of characters are drawn on corresponding positions of a drawing space of a cloud end server; the drawn graphs are stored as graph files with the graph format supported by the mobile terminal; the webpage text data slots which cannot be displayed are replaced; the webpage text data after replacing are sent to the mobile terminal to be displayed on the mobile terminal. According to the method, the characters which cannot not be displayed normally can be displayed on the mobile terminal.

Description

Be used for method, Apparatus and system that the content of text on the portable terminal shows
Technical field
The present invention relates to the mobile communication technology field, more specifically, relate to a kind of method, Apparatus and system for the demonstration of the content of text on the portable terminal.
 
Background technology
Because the limited storage space on the portable terminal, so most of portable terminals all do not have at multilingual installation complete text typesetting engine and fontlib, thus when utilizing portable terminal to carry out web page browsing, the correct content of some special languages in the display web page.For example, on some portable terminals that India sells, do not provide the text display support to Hindi, and Hindi is India's popular languages in locality, comprises the content of utilizing Hindi to write on many local websites.In this case, on portable terminal, can't show the content that these utilize Hindi to write.If the user need read these contents, just need third party application be installed at portable terminal provides a kind of extra means to show the unsupported Hindi content of mobile terminal system.
For how to show mobile terminal system itself and unsupported character at portable terminal, mainly adopt following two kinds of methods at present.First method (hereinafter being called method 1) is that software for composing and the fontlib of relevant character correspondence are installed for mobile terminal system.Second method (hereinafter being called method 2) is composing storehouse and the fontlib that adds the respective symbols collection in software for composing, when needs show special character, calls this corresponding composing storehouse and fontlib and shows then.
Yet because the system of a lot of function machines does not allow the user that composing storehouse and the fontlib of special character collection are installed voluntarily, in this case, method 1 is also inapplicable.In other words, the scope of application of method 1 is limited.
Though the scope of application of method 2 is not limited, owing in method 2, need in software, additionally add corresponding composing storehouse and fontlib, thus can take the processing resource of portable terminal, influence the operational efficiency of other software on the portable terminal thus.
Summary of the invention
In view of above-mentioned, the present invention proposes webpage text content display packing, Apparatus and system on a kind of portable terminal, this method, Apparatus and system can be implemented in needs to show the unsupported webpage text content of mobile terminal system on the portable terminal.
According to an aspect of the present invention, the method that is used for the webpage text content demonstration on the portable terminal that provides a kind of server side beyond the clouds to realize, comprise: after the character set of the web page address information that receives the webpage text content that will show from portable terminal and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server; Character set according to described portable terminal support shows identifies the web page text data slot that portable terminal can't show from described web page text data; Call the text typesetting engine in the server of high in the clouds, based on expectation font size and the screen size of portable terminal the described web page text data slot that can't show is carried out adaptive rearrangement; The font render engine that calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds; The figure of drawing out is saved as the picture file of the picture format with portable terminal support; Based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And the web page text data that will finish after the replacement send to portable terminal, show for portable terminal.
In one or more examples aspect above-mentioned, the font render engine that calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, drawing out the figure of each character in described fontlib beyond the clouds on the correspondence position in the drawing space of server can comprise: the font render engine that calls in the server of high in the clouds loads corresponding fontlib; Based on size and the relative position of each character after the adaptive rearrangement, set the composing size in described drawing space; Utilize the font render engine in the server of high in the clouds to load corresponding fontlib, draw out the figure of each character in described fontlib at the correspondence position in the drawing space of setting.
In one or more examples aspect above-mentioned, based on the picture file of preserving, the web page text data slot that can't show the portable terminal in the described web page text data is replaced processing and can be comprised: utilize the picture file of preserving, replace the web page text data slot that the portable terminal in the described web page text data can't show.
In one or more examples aspect above-mentioned, based on the picture file of preserving, the web page text data slot that can't show the portable terminal in the described web page text data is replaced processing and can be comprised: utilize the way of reference at the picture file of preserving, replace the web page text data slot that the portable terminal in the described web page text data can't show, and the web page text data after will finishing replacement also send to portable terminal with the picture file of preserving when sending to portable terminal.
In one or more examples aspect above-mentioned, expectation font size and the screen size of described portable terminal send to the high in the clouds server from portable terminal.
In one or more examples aspect above-mentioned, the expectation font size of described portable terminal and screen size are that the high in the clouds server is determined according to the unit type of the portable terminal that receives from portable terminal.
In one or more examples aspect above-mentioned, the composing size in described drawing space is set to width and equals counting the right side bearing from the left side bearing of left character to the most right-hand character, and highly equals counting the lower sideline from the upper sideline of the top character to below character.
According to a further aspect in the invention, webpage text content on a kind of portable terminal display packing is provided, comprise: at mobile terminal side, after receiving the webpage text content idsplay order, send the web page address information of the webpage that will show and the character set that the portable terminal support shows to the high in the clouds server; And after the web page text data that receive from the high in the clouds server after finishing replacement, show based on the web page text data that receive, server side beyond the clouds, after the character set that receives web page address information and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server; Character set according to described portable terminal support shows identifies the web page text data slot that portable terminal can't show from described web page text data; Call the text typesetting engine in the server of high in the clouds, based on expectation font size and the screen size of portable terminal the described web page text data slot that can't show is carried out adaptive rearrangement; The font render engine that calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds; The figure of drawing out is saved as the picture file of the picture format with portable terminal support; Based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And the web page text data that will finish after the replacement send to portable terminal.
According to a further aspect in the invention, the webpage text content device shown on the portable terminal of being used on the server of a kind of high in the clouds is provided, comprise: receiving element is used for receiving the web page address information of the webpage text content that will show and the character set that the portable terminal support shows from portable terminal; The web page text data capture unit, be used for after the character set of the web page address information that receives the webpage text content that will show from portable terminal and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server; Recognition unit is used for the character set according to described portable terminal support, identifies the web page text data slot that portable terminal can't show from described web page text data; Text typesetting engine call unit for the text typesetting engine of calling the high in the clouds server, carries out adaptive rearrangement based on expectation font size and the screen size of portable terminal to the described web page text data slot that can't show; Font render engine call unit, load corresponding fontlib for the font render engine that calls the high in the clouds server, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds; Picture is preserved the unit, is used for the figure of drawing out is saved as the picture file of the picture format with portable terminal support; Replace the unit, be used for based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And transmitting element, the web page text data that are used for finishing after the replacement send to portable terminal, show for portable terminal.
In one or more examples aspect above-mentioned, described device can also comprise: the drawing space big or small setup unit of setting type, be used for size and relative position based on each character after the adaptive rearrangement, set the composing size in described drawing space, the font render engine that described font render engine call unit is configured to call in the server of high in the clouds loads corresponding fontlib, and draws out the figure of each character in described fontlib at the correspondence position in the drawing space of setting.
According to a further aspect in the invention, a kind of webpage text content display system is provided, comprise portable terminal and high in the clouds server, wherein, described portable terminal comprises: first transmitting element, be used for after receiving the webpage text content idsplay order, send the web page address information of the webpage that will show and the character set that the portable terminal support shows to the high in the clouds server; First receiving element is used for finishing receiving web page text data after the replacement from the high in the clouds server; And display unit, be used for after the web page text data that receive from the high in the clouds server after finishing replacement, show the web page text data after the process that receives is replaced, described high in the clouds server comprises: second receiving element is used for receiving the web page address information of the webpage text content that will show and the character set that the portable terminal support shows from portable terminal; The web page text data capture unit, be used for after the character set of the web page address information that receives the webpage text content that will show from portable terminal and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server; Recognition unit is used for the character set according to described portable terminal support, identifies the web page text data slot that portable terminal can't show from described web page text data; Text typesetting engine call unit for the text typesetting engine of calling the high in the clouds server, carries out adaptive rearrangement based on expectation font size and the screen size of portable terminal to the described web page text data slot that can't show; Font render engine call unit, load corresponding fontlib for the font render engine that calls the high in the clouds server, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds; Picture is preserved the unit, is used for the figure of drawing out is saved as the picture file of the picture format with portable terminal support; Replace the unit, be used for based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And second transmitting element, the web page text data that are used for finishing after the replacement send to portable terminal, show for portable terminal.
Utilize said method and system, by server side beyond the clouds the character that can't normally show on the portable terminal is carried out graphic plotting and is converted to the picture format that portable terminal can be supported, utilize the corresponding content in these picture file replacement web page text data then, and return to portable terminal and show, can be implemented in and show the webpage text content that portable terminal can't normally show on the portable terminal.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention comprise the feature that the back will describe in detail and particularly point out in the claims.Following explanation and accompanying drawing describe some illustrative aspects of the present invention in detail.Yet, the indication of these aspects only be some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
 
Description of drawings
According to following detailed description of carrying out with reference to accompanying drawing, above-mentioned and other purposes, feature and advantage of the present invention will become more apparent.In the accompanying drawings:
Fig. 1 shows the process flow diagram of webpage text content display packing according to an embodiment of the invention;
Fig. 2 shows the block diagram of webpage text content display system according to an embodiment of the invention; And
Fig. 3 shows the block diagram that is used for the webpage text content device shown on the portable terminal of server realization beyond the clouds.
Identical label is indicated similar or corresponding feature or function in institute's drawings attached.
 
Embodiment
Various aspects of the present disclosure are described below.Should be understood that the instruction of this paper can be with varied form imbody, and disclosed any concrete structure, function or both only are representational in this article.Based on the instruction of this paper, those skilled in the art should be understood that an aspect disclosed herein can be independent of any other side and realize, and the two or more aspects in these aspects can make up according to variety of way.For example, can use the aspect of any number described in this paper, implement device or hands-on approach.In addition, can use other structure, function or except one or more aspects described in this paper or be not the 26S Proteasome Structure and Function of one or more aspects described in this paper, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
Each embodiment of the present invention is described below with reference to accompanying drawings.
Fig. 1 shows the process flow diagram of webpage text content display packing according to an embodiment of the invention.
As shown in Figure 1, detect (reception) behind the webpage text content idsplay order at portable terminal, at step S110, send the web page address information of the webpage that will show and the character set that portable terminal is supported to the high in the clouds server.In other example of the present invention, portable terminal can also send the data that other will be submitted to the high in the clouds server to the high in the clouds server, such as the form data that is used for the list operation etc.
After the character set of the web page address information that receives the portable terminal transmission and portable terminal support demonstration, at step S115, the high in the clouds server obtains corresponding web page text data according to described web page address information from destination server.Here, the high in the clouds server is intermediate server, and destination server is be used to the content server that webpage text content is provided.Described web page text data can be the web page text character strings.
Then, at step S120, the character set that the high in the clouds server is supported according to described portable terminal identifies the web page text data slot that portable terminal can't show from the web page text data of obtaining.For example, the high in the clouds server can be inquired about comparison to each character in the web page text character string one by one according to the character set of described portable terminal support demonstration.Do not support the character that shows if this character is portable terminal, think that then this character is the character that portable terminal can't show.And after finishing the inquiry comparison, be that the character group that portable terminal can't show is synthesized the web page text data slot (character string) that portable terminal can't show with adjacent being confirmed as.
Preferably, in another example of the present invention, the high in the clouds server can also generate corresponding character property question blank according to the character set of the portable terminal support demonstration that receives.For example, the high in the clouds server can compare the character set (second character set) that exists in the character set (first character set) that receives and the high in the clouds server, and be the character that portable terminal can't show with character markings different with the character in first character set in second character set, thereby generate corresponding character property question blank.Then, this character property question blank of high in the clouds server by utilizing, to the judgement of tabling look-up one by one of each character in the web page text data, can't be by the systemic-function normal web page text data slot that show of client by terminal thereby find out.Wherein, about " character property question blank ", mainly be to determine whether each character can show on portable terminal.Each character has a unique numbering to encode as it in the character set, be example with comparatively simple implementation: available boolean's array is as the character property question blank, the subscript of this array is exactly the coding of a character in second character set, the value of each subscript corresponding unit only is true or false in this array, if this character can show in portable terminal that with regard to value be true, otherwise is false.
After as above identifying the web page text data slot, at step S125, call the text typesetting engine in the server of high in the clouds, expectation font size and screen size based on portable terminal are carried out adaptive rearrangement to the described web page text data slot that can't show, thereby determine size and the relative position of each character when showing in the described web page text data slot that can't show.Here, described text typesetting engine includes but not limited to text typesetting engine such as Freetype, WTLayout.Described relative position refers to the position each other that each character occupies when setting type.
In an example of the present invention, the expectation font size of described portable terminal and screen size can be with the character set of web page address and portable terminal support demonstration or send to the high in the clouds server from portable terminal separately.Perhaps, in another example of the present invention, when the character set with web page address and portable terminal support demonstration sent to the high in the clouds server, also the model with portable terminal sent to the high in the clouds server.After receiving the model of portable terminal, the high in the clouds server obtains corresponding screen size according to the model of this portable terminal, and specifies the expectation font size according to this screen size.Here, server stores has under the situation of mapping table of screen size and model beyond the clouds, can obtain corresponding screen size by inquiring about this mapping table.Server is not stored under the situation that does not have corresponding screen size in mapping table or this mapping table beyond the clouds, and the high in the clouds server can obtain corresponding screen size via network inquiry by this model is sent on the network.
After the size and relative position of each character in determining the described web page text data slot that can't show, at step S130, based on size and the relative position of each character after the adaptive rearrangement, set the composing size in drawing space.Described drawing space refers to the space for the character of drawing the web page text data slot that can't show.In an example of the present invention, the composing size in described drawing space is set to width and equals counting the right side bearing from the left side bearing of left character to the most right-hand character, and highly equals counting the lower sideline from the upper sideline of the top character to below character.
Then, at step S135, the font render engine that calls in the server of high in the clouds loads corresponding fontlib, and draws out the figure of each character in described fontlib at the correspondence position in the drawing space of setting.For example, can draw the figure of each character according to the relative position of determining above.Described font typesetting engine includes but not limited to font render engines such as Freetype, iType.
Behind the figure of as above drawing out each character, at step S140, the figure of drawing out is saved as the picture file of the picture format with portable terminal support.
Then, at step S145, based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing.Then, at step S150, the web page text data of finishing after the replacement are sent to portable terminal.After the web page text data that receive from the high in the clouds server after finishing replacement, at step S155, portable terminal shows the web page text data receive, thereby realizes portable terminal is not supported the demonstration of the character that shows.
In an example of the present invention, based on the picture file of preserving, it can be to utilize the picture file of preserving that the web page text data slot that can't show the portable terminal in the described web page text data is replaced processing, replaces the web page text data slot that the portable terminal in the described web page text data can't show.In this case, when portable terminal shows, do not support to show the character that shows based on this picture file for the terminal system of portable terminal.
In another example of the present invention, based on the picture file of preserving, it can be the way of reference of utilizing at the picture file of preserving that the web page text data slot that can't show the portable terminal in the described web page text data is replaced processing, replaces the web page text data slot that the portable terminal in the described web page text data can't show.In this case, when the web page text data after will finishing replacement send to portable terminal, also the picture file of preserving is sent to portable terminal.When portable terminal showed, portable terminal found this picture file by the way of reference in the web page text data, showed this picture file in corresponding position then.
Following mode with example describes the way of reference of picture file.
When the web page text data of high in the clouds server after will replacing returned to portable terminal, meeting generated webpage source file and the relevant content packaging of webpage the compressed package of a similar zip form.Comprised a file index in this compressed package, file index has recorded the index-name of each file in the compressed package, filename originally and the path (URI, universal resource identifier) that obtains, and the data of file.
By the file index of compressed package, can know file a correspondence in the compressed package may be the network file that can get access to by URL (for example: http://www.uc.cn/favicon.ico), also may be file or the picture that middleware adds voluntarily.If the file that can't visit by URI only needs to give the data of outfile and get final product as URI with null character string in index, so that differentiation.
High in the clouds server and portable terminal are arranged for example local of a kind of special URI scheme(:) come to remove to quote file in this compressed package by index-name.For example in webpage can by insert a shape as<img src=" local:a "/picture tag quote file a in the compressed package.When carrying out the demonstration of web page text data, just the file data of a by name of index in the compressed package is resolved as image data, again the content of this picture is replaced the zone of this this demonstration of img label.
As above described according to webpage text content display packing of the present invention with reference to Fig. 1.Above-mentioned webpage text content display packing of the present invention can adopt software to realize, also can adopt hardware to realize, or adopts the mode of software and hardware combination to realize.
Fig. 2 shows the block diagram of webpage text content display system 1 according to an embodiment of the invention.As shown in Figure 2, webpage text content display system 1 comprises portable terminal 10 and high in the clouds server 20.Portable terminal 10 comprises first transmitting element 110, first receiving element 120 and display unit 130.High in the clouds server 20 comprises for the webpage text content device shown 200 on the portable terminal.
Fig. 3 shows the block diagram that is used for the webpage text content device shown 200 on the portable terminal of server realization beyond the clouds.As shown in Figure 3, described device 200 comprises second receiving element 210, web page text data capture unit 211, recognition unit 212, text typesetting engine call unit 213, font render engine call unit 214, picture preservation unit 215, replaces unit 216 and second transmitting element 217.
At mobile terminal side, after receiving the webpage text content idsplay order, first transmitting element 110 sends the web page address information of the webpage that will show and the character set that the portable terminal support shows to the high in the clouds server.First receiving element 120 received web page text data after finishing replacement from the high in the clouds server after, display unit 130 showed the web page text data that receive.
Server side beyond the clouds, second receiving element 210 receives the character set that the web page address information of the webpage text content that will show and portable terminal support show from portable terminal after, web page text data capture unit 211 obtains corresponding web page text data according to described web page address information from destination server.Described web page text data can be character strings.
Then, recognition unit 212 identifies the web page text data slot that portable terminal can't show according to the character set that described portable terminal support shows from described web page text data.
After identifying the web page text data slot that can't show, text typesetting engine call unit 213 calls the text typesetting engine in the server of high in the clouds, based on expectation font size and the screen size of portable terminal the described web page text data slot that can't show is carried out adaptive rearrangement.In an example of the present invention, the expectation font size of described portable terminal and screen size can be with the character set of web page address and portable terminal support demonstration or send to the high in the clouds server from portable terminal separately.Perhaps, in another example of the present invention, when the character set with web page address and portable terminal support demonstration sent to the high in the clouds server, also the model with portable terminal sent to the high in the clouds server.After receiving the model of portable terminal, the high in the clouds server obtains corresponding screen size according to the model of this portable terminal, and specifies the expectation font size according to this screen size.
Then, the font render engine that font render engine call unit 214 calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds.
In an example of the present invention, described device 200 can also comprise the drawing space big or small setup unit (not shown) of setting type, and is used for size and relative position based on each character after the adaptive rearrangement, sets the composing size in described drawing space.Then, the font render engine that font render engine call unit 214 calls in the server of high in the clouds loads corresponding fontlib, and draws out the figure of each character in described fontlib at the correspondence position in the drawing space of setting.
After as above finishing graphic plotting, picture is preserved the picture file that unit 215 saves as the figure of drawing out the picture format with portable terminal support.Then, replace unit 216 based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing.The web page text data that second transmitting element 217 will be finished after the replacement send to portable terminal, show for portable terminal.
In an example of the present invention, replace unit 216 and be configured to utilize the picture file of preserving, replace the web page text data slot that the portable terminal in the described web page text data can't show.In another example of the present invention, replacement unit 216 is configured to utilize the way of reference at the picture file of preserving, and replaces the web page text data slot that the portable terminal in the described web page text data can't show.In this case, when the web page text data after will finishing replacement sent to portable terminal, second transmitting element 217 also sent to portable terminal with the picture file of preserving.
Utilize said method and system, can carry out graphic plotting and be converted to the picture format that portable terminal can be supported the character that can't normally show on the portable terminal by server side beyond the clouds, utilize the corresponding content in these picture file replacement web page text data then, and return to portable terminal and show, be implemented in thus and show the webpage text content that portable terminal can't normally show on the portable terminal.
In addition, typically, portable terminal of the present invention can be various hand-held terminal devices with Bluetooth function, for example has mobile phone, the PDA(Personal Digital Assistant) of Bluetooth function.
In addition, the method according to this invention can also be implemented as the computer program of being carried out by the processor in the portable terminal (such as CPU), and is stored in the storer of portable terminal.When this computer program is carried out by processor, carry out the above-mentioned functions that limits in the method for the present invention.
In addition, the method according to this invention can also be embodied as a kind of computer program, this computer program comprises computer-readable medium, stores the computer program of the above-mentioned functions that limits for execution method of the present invention at this computer-readable medium.
In addition, said method step and system unit also can utilize controller and be used for storage and make controller realize that the computer readable storage devices of the computer program of above-mentioned steps or Elementary Function realizes.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps.For this interchangeability of hardware and software clearly is described, with regard to the function of various exemplary components, square, module, circuit and step it has been carried out general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on total system.Those skilled in the art can realize described function in every way at every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
Although the disclosed content in front shows exemplary embodiment of the present invention, should be noted that under the prerequisite of the scope of the present invention that does not deviate from the claim restriction, can carry out multiple change and modification.Function, step and/or action according to the claim to a method of inventive embodiments described herein do not need to carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless clearly be restricted to odd number.
Be described though as above described each embodiment according to the present invention with reference to figure, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, can also make various improvement on the basis that does not break away from content of the present invention.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (11)

  1. One kind beyond the clouds server side realize be used for the method that the webpage text content on the portable terminal shows, comprising:
    After the character set of the web page address information that receives the webpage text content that will show from portable terminal and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server;
    Character set according to described portable terminal support shows identifies the web page text data slot that portable terminal can't show from described web page text data;
    Call the text typesetting engine in the server of high in the clouds, based on expectation font size and the screen size of portable terminal the described web page text data slot that can't show is carried out adaptive rearrangement;
    The font render engine that calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds;
    The figure of drawing out is saved as the picture file of the picture format with portable terminal support;
    Based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And
    The web page text data of finishing after the replacement are sent to portable terminal, show for portable terminal.
  2. 2. the method for claim 1, wherein, the font render engine that calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib beyond the clouds on the correspondence position in the drawing space of server and comprise:
    The font render engine that calls in the server of high in the clouds loads corresponding fontlib;
    Based on size and the relative position of each character after the adaptive rearrangement, set the composing size in described drawing space;
    Correspondence position in the drawing space of setting is drawn out the figure of each character in described fontlib.
  3. 3. the method for claim 1, wherein based on the picture file of preserving, the web page text data slot that can't show the portable terminal in the described web page text data is replaced to handle and is comprised:
    Utilize the picture file of preserving, replace the web page text data slot that the portable terminal in the described web page text data can't show.
  4. 4. the method for claim 1, wherein based on the picture file of preserving, the web page text data slot that can't show the portable terminal in the described web page text data is replaced to handle and is comprised:
    Utilization is replaced the web page text data slot that the portable terminal in the described web page text data can't show at the way of reference of the picture file of preserving, and
    When the web page text data after will finishing replacement send to portable terminal, also the picture file of preserving is sent to portable terminal.
  5. 5. the method for claim 1, wherein the expectation font size of described portable terminal and screen size send to the high in the clouds server from portable terminal.
  6. 6. the method for claim 1, wherein the expectation font size of described portable terminal and screen size are that the high in the clouds server is determined according to the unit type of the portable terminal that receives from portable terminal.
  7. 7. method as claimed in claim 2, wherein, the composing size in described drawing space is set to width and equals counting the right side bearing from the left side bearing of left character to the most right-hand character, and highly equals counting the lower sideline from the upper sideline of the top character to below character.
  8. 8. the webpage text content display packing on the portable terminal comprises:
    At mobile terminal side,
    After receiving the webpage text content idsplay order, send the web page address information of the webpage that will show and the character set that the portable terminal support shows to the high in the clouds server; And
    After the web page text data that receive from the high in the clouds server after finishing replacement, show based on the web page text data that receive;
    Server side beyond the clouds,
    After the character set that receives web page address information and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server;
    Character set according to described portable terminal support shows identifies the web page text data slot that portable terminal can't show from described web page text data;
    Call the text typesetting engine in the server of high in the clouds, based on expectation font size and the screen size of portable terminal the described web page text data slot that can't show is carried out adaptive rearrangement;
    The font render engine that calls in the server of high in the clouds loads corresponding fontlib, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds;
    The figure of drawing out is saved as the picture file of the picture format with portable terminal support;
    Based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And
    The web page text data of finishing after the replacement are sent to portable terminal.
  9. 9. be used for webpage text content device shown on the portable terminal on the high in the clouds server, comprise:
    Receiving element is used for receiving the web page address information of the webpage text content that will show and the character set that the portable terminal support shows from portable terminal;
    The web page text data capture unit, be used for after the character set of the web page address information that receives the webpage text content that will show from portable terminal and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server;
    Recognition unit is used for the character set according to described portable terminal support demonstration, identifies the web page text data slot that portable terminal can't show from described web page text data;
    Text typesetting engine call unit for the text typesetting engine of calling the high in the clouds server, carries out adaptive rearrangement based on expectation font size and the screen size of portable terminal to the described web page text data slot that can't show;
    Font render engine call unit, load corresponding fontlib for the font render engine that calls the high in the clouds server, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds;
    Picture is preserved the unit, is used for the figure of drawing out is saved as the picture file of the picture format with portable terminal support;
    Replace the unit, be used for based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And
    Transmitting element, the web page text data that are used for finishing after the replacement send to portable terminal, show for portable terminal.
  10. 10. device as claimed in claim 9 also comprises:
    The drawing space big or small setup unit of setting type is used for size and relative position based on each character after the adaptive rearrangement, sets the composing size in described drawing space,
    The font render engine that described font render engine call unit is configured to call in the server of high in the clouds loads corresponding fontlib, and draws out the figure of each character in described fontlib at the correspondence position in the drawing space of setting.
  11. 11. a webpage text content display system comprises portable terminal and high in the clouds server,
    Wherein, described portable terminal comprises:
    First transmitting element is used for after receiving the webpage text content idsplay order, sends the web page address information of the webpage that will show and the character set that the portable terminal support shows to the high in the clouds server;
    First receiving element is used for finishing receiving web page text data after the replacement from the high in the clouds server; And
    Display unit is used for after the web page text data that receive from the high in the clouds server after finishing replacement, shows the web page text data after the process that receives is replaced,
    Described high in the clouds server comprises:
    Second receiving element is used for receiving the web page address information of the webpage text content that will show and the character set that the portable terminal support shows from portable terminal;
    The web page text data capture unit, be used for after the character set of the web page address information that receives the webpage text content that will show from portable terminal and portable terminal support demonstration, according to described web page address information, obtain corresponding web page text data from destination server;
    Recognition unit is used for the character set according to described portable terminal support, identifies the web page text data slot that portable terminal can't show from described web page text data;
    Text typesetting engine call unit for the text typesetting engine of calling the high in the clouds server, carries out adaptive rearrangement based on expectation font size and the screen size of portable terminal to the described web page text data slot that can't show;
    Font render engine call unit, load corresponding fontlib for the font render engine that calls the high in the clouds server, and based on size and the relative position of each character after the adaptive rearrangement, draw out the figure of each character in described fontlib on the correspondence position in the drawing space of server beyond the clouds;
    Picture is preserved the unit, is used for the figure of drawing out is saved as the picture file of the picture format with portable terminal support;
    Replace the unit, be used for based on the picture file of preserving, the web page text data slot that the portable terminal in the described web page text data can't show is replaced processing; And
    Second transmitting element, the web page text data that are used for finishing after the replacement send to portable terminal, show for portable terminal.
CN201310262072.9A 2013-06-27 2013-06-27 Method that content of text on mobile terminal shows, Apparatus and system Active CN103345493B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310262072.9A CN103345493B (en) 2013-06-27 2013-06-27 Method that content of text on mobile terminal shows, Apparatus and system
PCT/CN2014/072735 WO2014206108A1 (en) 2013-06-27 2014-02-28 Method, apparatus and system for displaying text contents on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310262072.9A CN103345493B (en) 2013-06-27 2013-06-27 Method that content of text on mobile terminal shows, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103345493A true CN103345493A (en) 2013-10-09
CN103345493B CN103345493B (en) 2016-12-07

Family

ID=49280288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310262072.9A Active CN103345493B (en) 2013-06-27 2013-06-27 Method that content of text on mobile terminal shows, Apparatus and system

Country Status (2)

Country Link
CN (1) CN103345493B (en)
WO (1) WO2014206108A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014206108A1 (en) * 2013-06-27 2014-12-31 广州市动景计算机科技有限公司 Method, apparatus and system for displaying text contents on mobile terminal
CN106055416A (en) * 2016-05-23 2016-10-26 珠海市魅族科技有限公司 Cross-application data transfer method and apparatus
CN106951397A (en) * 2017-03-08 2017-07-14 福建魔方电子科技有限公司 A kind of multi-font display methods of built-in terminal
CN108459998A (en) * 2018-01-25 2018-08-28 广州视源电子科技股份有限公司 Document update, format conversion method, device and equipment, readable storage medium storing program for executing
CN108614805A (en) * 2018-05-02 2018-10-02 武汉斗鱼网络科技有限公司 Method and system, server and the medium of colored expression are shown using QML
CN109241497A (en) * 2018-09-27 2019-01-18 腾讯音乐娱乐科技(深圳)有限公司 Text handling method and device
CN111199137A (en) * 2018-10-30 2020-05-26 广州金山移动科技有限公司 Cloud font loading method and device and electronic equipment
CN112307713A (en) * 2020-10-27 2021-02-02 广州朗国电子科技有限公司 Automatic text typesetting method and system based on Android system
CN114666082A (en) * 2020-12-24 2022-06-24 上海擎感智能科技有限公司 Login method, first terminal, second terminal, storage medium and login system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301182B (en) * 2016-04-15 2020-06-30 北京京东尚科信息技术有限公司 Method and device for displaying webpage embedded with picture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315703A (en) * 2000-03-28 2001-10-03 巫伟明 Character style server based on internet
CN101686568A (en) * 2008-09-25 2010-03-31 深圳华为通信技术有限公司 Methods and terminals for transmitting and displaying text information
CN102158819A (en) * 2011-01-25 2011-08-17 华为终端有限公司 Process method for mobile device to display E-mail, server and mobile device
CN102693094A (en) * 2012-06-12 2012-09-26 上海量明科技发展有限公司 Method, client side and system for adjusting characters in instant messaging

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345493B (en) * 2013-06-27 2016-12-07 广州市动景计算机科技有限公司 Method that content of text on mobile terminal shows, Apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315703A (en) * 2000-03-28 2001-10-03 巫伟明 Character style server based on internet
CN101686568A (en) * 2008-09-25 2010-03-31 深圳华为通信技术有限公司 Methods and terminals for transmitting and displaying text information
CN102158819A (en) * 2011-01-25 2011-08-17 华为终端有限公司 Process method for mobile device to display E-mail, server and mobile device
CN102693094A (en) * 2012-06-12 2012-09-26 上海量明科技发展有限公司 Method, client side and system for adjusting characters in instant messaging

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014206108A1 (en) * 2013-06-27 2014-12-31 广州市动景计算机科技有限公司 Method, apparatus and system for displaying text contents on mobile terminal
CN106055416A (en) * 2016-05-23 2016-10-26 珠海市魅族科技有限公司 Cross-application data transfer method and apparatus
CN106951397A (en) * 2017-03-08 2017-07-14 福建魔方电子科技有限公司 A kind of multi-font display methods of built-in terminal
CN108459998B (en) * 2018-01-25 2022-04-15 广州视源电子科技股份有限公司 Document updating method, document updating device, document format converting method, document updating format converting device, document format converting device and readable storage medium
CN108459998A (en) * 2018-01-25 2018-08-28 广州视源电子科技股份有限公司 Document update, format conversion method, device and equipment, readable storage medium storing program for executing
CN108614805A (en) * 2018-05-02 2018-10-02 武汉斗鱼网络科技有限公司 Method and system, server and the medium of colored expression are shown using QML
CN108614805B (en) * 2018-05-02 2022-03-25 武汉斗鱼网络科技有限公司 Method and system for displaying color expression using QML, server and medium
CN109241497A (en) * 2018-09-27 2019-01-18 腾讯音乐娱乐科技(深圳)有限公司 Text handling method and device
CN111199137A (en) * 2018-10-30 2020-05-26 广州金山移动科技有限公司 Cloud font loading method and device and electronic equipment
CN111199137B (en) * 2018-10-30 2024-03-19 广州金山移动科技有限公司 Cloud font loading method and device
CN112307713A (en) * 2020-10-27 2021-02-02 广州朗国电子科技有限公司 Automatic text typesetting method and system based on Android system
CN114666082A (en) * 2020-12-24 2022-06-24 上海擎感智能科技有限公司 Login method, first terminal, second terminal, storage medium and login system
CN114666082B (en) * 2020-12-24 2023-09-26 上海擎感智能科技有限公司 Login method, first terminal, second terminal, storage medium and login system

Also Published As

Publication number Publication date
WO2014206108A1 (en) 2014-12-31
CN103345493B (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN103345493A (en) Method, device and system for text content displaying on mobile terminal
CN105975576B (en) Terminal content adaptive display method and device and terminal
CN101668004B (en) A kind of webpage acquisition methods, Apparatus and system
CN104809209A (en) Display method, display device and server of social network information flow
US20180191798A1 (en) Methods and systems for server-side rendering of native content for presentation
CN103186670B (en) A kind of method and system of complete collection info web
CN110737659A (en) Graph data storage and query method, device and computer readable storage medium
KR20150130558A (en) Contextual local image recognition dataset
CN105094775B (en) Webpage generation method and device
CN104572084B (en) User interface generation and data distributing method, device in card business
CN103246678A (en) Method and device for previewing web page contents
KR20130126610A (en) Identifiers for style sheets
CN103336814A (en) Method and device of processing screenshot of web page
CN103345498A (en) Webpage loading method, device and system based on transit server
CN103425631A (en) Method and device for acquiring font files of target characters in document files
CN104182403A (en) Method and equipment for loading image information
CN108769211A (en) The method for routing and computer readable storage medium of client device, webpage
CN102184240B (en) Webpage layout method and system based on mobile communication equipment terminal
CN106503026A (en) A kind of method and apparatus of video data
CN105404672B (en) The system and method for web data storage and operation
CN104657474A (en) Advertisement display method, advertisement inquiring server and client side
CN104615639A (en) Method and equipment for providing showing information of picture
JP2019511060A5 (en)
CN104572667A (en) Web service system, web server and web providing method
CN102289479A (en) Method, device and equipment for determining image showing mode and showing image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200528

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 2, 16, 301 rooms, 510665 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.