CN103345493B - Method that content of text on mobile terminal shows, Apparatus and system - Google Patents
Method that content of text on mobile terminal shows, Apparatus and system Download PDFInfo
- Publication number
- CN103345493B CN103345493B CN201310262072.9A CN201310262072A CN103345493B CN 103345493 B CN103345493 B CN 103345493B CN 201310262072 A CN201310262072 A CN 201310262072A CN 103345493 B CN103345493 B CN 103345493B
- Authority
- CN
- China
- Prior art keywords
- web page
- mobile terminal
- text data
- page text
- character
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides the webpage text content display packing on a kind of mobile terminal, including: after the character set that the web page address information and mobile terminal receiving webpage text content to be shown from mobile terminal is supported, according to web page address information, obtain corresponding web page text data from destination server;Identify the web page text data slot that mobile terminal cannot show;Call text typesetting engine and the web page text data slot that cannot show is carried out adaptive rearrangement;Call font rendering engine and load the figure drawing out each character on corresponding fontlib, and the correspondence position of the plot space of server beyond the clouds;It it is the picture file with the picture format that mobile terminal is supported by the graphics saving drawn out;The web page text data slot that replacement cannot show;And the web page text data completed after replacing are sent to mobile terminal, to show on mobile terminals.Utilize the method, the character that cannot normally show can be shown on mobile terminals.
Description
Technical field
The present invention relates to mobile communication technology field, more specifically, relate in a kind of text on mobile terminal
Hold the method for display, Apparatus and system.
Background technology
Due to the limited storage space on mobile terminal, so most of mobile terminal does not all have to install for multilingual
Whole text typesetting engine and fontlib, thus when utilizing mobile terminal to carry out web page browsing, it is impossible in correct display webpage
The content of some special languages.Such as, some mobile terminals that India sells do not have provide the text to Hindi to show
Support, and Hindi is India's popular languages in locality, many local websites comprise and utilizes Hindi to write
Content.In this case, these contents utilizing Hindi to write cannot be shown on mobile terminals.If user needs to read
Read these contents, it is necessary to installing third party application on mobile terminals provides a kind of extra means display mobile eventually
The Hindi content that end system is not supported.
For showing the character that mobile terminal system itself is not supported the most on mobile terminals, under currently mainly using
State two kinds of methods.First method (hereinafter referred to method 1) is to install, for mobile terminal system, the typesetting that relevant character is corresponding
Software and fontlib.Second method (hereinafter referred to method 2) is to add the typesetting storehouse of respective symbols collection in software for composing
And fontlib, then needs display spcial character when, call this corresponding typesetting storehouse and fontlib shows.
But, owing to the system of a lot of function machines does not allows for user, typesetting storehouse and the font of spcial character collection are installed voluntarily
Storehouse, in this case, method 1 is the most inapplicable.In other words, the scope of application of method 1 is limited.
Although the scope of application of method 2 is not limited, but owing to needing extra in software addition accordingly in method 2
Typesetting storehouse and fontlib, thus the process resource of mobile terminal can be taken, thus affect other software on mobile terminal
Operational efficiency.
Summary of the invention
In view of above-mentioned, the present invention proposes the webpage text content display packing on a kind of mobile terminal, Apparatus and system,
In the method, Apparatus and system are capable of needing on mobile terminals to show the web page text that mobile terminal system is not supported
Hold.
According to an aspect of the invention, it is provided the net on mobile terminal that a kind of side of server beyond the clouds realizes
The method that page content of text shows, including: believe at the web page address receiving webpage text content to be shown from mobile terminal
After the character set that breath and mobile terminal support show, according to described web page address information, obtain correspondence from destination server
Web page text data;The character set shown according to described mobile terminal support, identifies movement from described web page text data
The web page text data slot that terminal cannot show;Call the text typesetting engine in cloud server, based on mobile terminal
Expect that font size and screen size carry out adaptive rearrangement to the described web page text data slot that cannot show;Call high in the clouds clothes
Font rendering engine in business device loads corresponding fontlib, and the size of each character after resetting based on adaptation and phase
To position, on the correspondence position of the plot space of server, draw out each character figure in described fontlib beyond the clouds;
It it is the picture file with the picture format that mobile terminal is supported by the graphics saving drawn out;Based on the picture literary composition preserved
Part, the web page text data slot that cannot show the mobile terminal in described web page text data is replaced process;And
The web page text data completed after replacing are sent to mobile terminal, show for mobile terminal.
In one or more examples of above-mentioned aspect, call the font rendering engine in cloud server and load corresponding
Fontlib, and the size of each character after resetting based on adaptation and relative position, the plot space of server beyond the clouds
Correspondence position on draw out each character figure in described fontlib and may include that the font calling in cloud server
Rendering engine loads corresponding fontlib;The size of each character after resetting based on adaptation and relative position, set institute
State the typesetting size of plot space;The font rendering engine in cloud server is utilized to load corresponding fontlib, set
Each character figure in described fontlib is drawn out on the correspondence position of plot space.
In one or more examples of above-mentioned aspect, based on the picture file preserved, to described web page text data
In the web page text data slot that cannot show of mobile terminal be replaced and process the picture literary composition that may include that utilization is preserved
Part, replaces the web page text data slot that the mobile terminal in described web page text data cannot show.
In one or more examples of above-mentioned aspect, based on the picture file preserved, to described web page text data
In the web page text data slot that cannot show of mobile terminal be replaced process and may include that utilization is for the figure preserved
The way of reference of sheet file, replaces the web page text data slot that the mobile terminal in described web page text data cannot show,
And when the web page text data completed after replacing are sent to mobile terminal, be also sent to the picture file preserved move
Dynamic terminal.
In one or more examples of above-mentioned aspect, the expectation font size of described mobile terminal and screen size be from
Mobile terminal is sent to cloud server.
In one or more examples of above-mentioned aspect, the expectation font size of described mobile terminal and screen size are clouds
End server determines according to the unit type of the mobile terminal received from mobile terminal.
In one or more examples of above-mentioned aspect, the typesetting of described plot space be sized to width equal to from
The left side bearing of leftmost character is to counting between the right side bearing of rightmost character, and upper equal to from the top character of height
Sideline is to counting between the lower sideline of bottom character.
According to a further aspect in the invention, it is provided that the webpage text content display packing on a kind of mobile terminal, including:
At mobile terminal side, after receiving webpage text content idsplay order, send the net of webpage to be shown to cloud server
The character set that page address information and mobile terminal support show;And the net after replacing is being received from cloud server
After page text data, show that server side beyond the clouds is receiving web page address based on the web page text data received
After the character set that information and mobile terminal support show, according to described web page address information, obtain correspondence from destination server
Web page text data;The character set shown according to described mobile terminal support, identifies shifting from described web page text data
The web page text data slot that dynamic terminal cannot show;Call the text typesetting engine in cloud server, based on mobile terminal
Expectation font size and screen size the described web page text data slot that cannot show is carried out adaptive rearrangement;Call high in the clouds
Font rendering engine in server loads corresponding fontlib, and the size of each character after resetting based on adaptation and
Position, draws out each character figure in described fontlib beyond the clouds on the correspondence position of the plot space of server relatively
Shape;It it is the picture file with the picture format that mobile terminal is supported by the graphics saving drawn out;Based on the figure preserved
Sheet file, the web page text data slot that cannot show the mobile terminal in described web page text data is replaced process;
And the web page text data completed after replacing are sent to mobile terminal.
According to a further aspect in the invention, it is provided that the web page text on mobile terminal on a kind of cloud server
The device that content shows, including: receive unit, for receiving the webpage ground of webpage text content to be shown from mobile terminal
The character set that location information and mobile terminal support show;Web page text data capture unit, for receiving from mobile terminal
After the character set that web page address information and the mobile terminal support of webpage text content to be shown show, according to described net
Page address information, obtains corresponding web page text data from destination server;Recognition unit, for propping up according to described mobile terminal
The character set held, identifies the web page text data slot that mobile terminal cannot show from described web page text data;Text
Typesetting engine call unit, for calling the text typesetting engine in cloud server, expectation font based on mobile terminal is big
Little and screen size carries out adaptive rearrangement to the described web page text data slot that cannot show;Font rendering engine calls list
Unit, loads corresponding fontlib for calling the font rendering engine in cloud server, and based on each after adaptation rearrangement
The size of character and relative position, draw out each character beyond the clouds in institute on the correspondence position of the plot space of server
State the figure in fontlib;Picture storage unit, being used for the graphics saving drawn out is to have the figure that mobile terminal is supported
The picture file of sheet form;Replacement unit, for based on the picture file preserved, to the movement in described web page text data
The web page text data slot that terminal cannot show is replaced process;And transmitting element, for the net after replacing will be completed
Page text data is sent to mobile terminal, shows for mobile terminal.
In one or more examples of above-mentioned aspect, described device can also include: plot space typesetting size sets
Unit, the size of each character after resetting based on adaptation and relative position, set the typesetting of described plot space
Size, the font rendering engine that described font rendering engine call unit is configured to call in cloud server loads corresponding
Fontlib, and draw out each character figure in described fontlib on the correspondence position of the plot space set.
According to a further aspect in the invention, it is provided that a kind of webpage text content display system, including mobile terminal and cloud
End server, wherein, described mobile terminal includes: the first transmitting element, for receiving webpage text content idsplay order
After, send the web page address information of webpage to be shown to cloud server and character set that mobile terminal support shows;The
One receives unit, for the web page text data after cloud server finishes receiving replacement;And display unit, for from
After cloud server has received the web page text data after replacing, the web page text number after replacing that display is received
According to, described cloud server includes: second receives unit, for receiving webpage text content to be shown from mobile terminal
The character set that web page address information and mobile terminal support show;Web page text data capture unit, for from mobile whole
After the character set that termination receives the web page address information of webpage text content to be shown and mobile terminal support shows, according to
Described web page address information, obtains corresponding web page text data from destination server;Recognition unit, for according to described movement
The character set that terminal is supported, identifies the web page text data slice that mobile terminal cannot show from described web page text data
Section;Text typesetting engine call unit, for calling the text typesetting engine in cloud server, expectation based on mobile terminal
Font size and screen size carry out adaptive rearrangement to the described web page text data slot that cannot show;Font rendering engine is adjusted
With unit, load corresponding fontlib for calling the font rendering engine in cloud server, and after resetting based on adaptation
The size of each character and relative position, draw out each character on the correspondence position of the plot space of server beyond the clouds
Figure in described fontlib;Picture storage unit, is used for the graphics saving drawn out as having mobile terminal support
The picture file of picture format;Replacement unit, for based on the picture file preserved, in described web page text data
The web page text data slot that mobile terminal cannot show is replaced process;And second transmitting element, for completing to replace
Web page text data after changing are sent to mobile terminal, show for mobile terminal.
Utilize said method and system, by server side beyond the clouds, the character that cannot normally show on mobile terminal is entered
Row graphic plotting is also converted to the picture format that mobile terminal can be supported, then utilizes this picture file to replace web page text number
Corresponding content according to, and return to mobile terminal and show, it is possible to achieve show on mobile terminals mobile terminal without
The webpage text content that method normally shows.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention include will be explained in below and
The feature particularly pointed out in claim.Description below and accompanying drawing are described in detail some illustrative aspects of the present invention.
But, some modes in the various modes of the principle that only can use the present invention of these aspects instruction.Additionally, the present invention
It is intended to include all these aspect and their equivalent.
Accompanying drawing explanation
According to the following detailed description carried out referring to the drawings, the above and other objects, features and advantages of the present invention will become
Must become apparent from.In the accompanying drawings:
Fig. 1 shows the flow chart 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 side of the device that the webpage text content on mobile terminal that server beyond the clouds realizes shows
Frame schematic diagram.
The most identical label indicates similar or corresponding feature or function.
Detailed description of the invention
Various aspects of the disclosure is described below.It is to be understood that teaching herein can have with varied form
Body embodies, and any concrete structure disclosed herein, function or both are the most representational.Based on religion herein
Lead, those skilled in the art it is to be understood that one aspect disclosed herein can realize independent of any other side,
And the two or more aspects in these aspects can combine in various manners.It is, for example possible to use it is described in this paper
Any number of aspect, it is achieved device or put into practice method.Further, it is possible to use other structure, function or except described here
One or more aspects outside or be not the 26S Proteasome Structure and Function of one or more aspects described herein, it is achieved this device
Or put into practice this method.Additionally, any aspect described herein can include at least one element of claim.
Each embodiment of the present invention is described below with reference to accompanying drawings.
Fig. 1 shows webpage text content display packing the most according to an embodiment of the invention
Flow chart.
As it is shown in figure 1, arrive after webpage text content idsplay order at mobile terminal detection (reception), in step S110, to
Cloud server sends web page address information and the character set of mobile terminal support of webpage to be shown.At its of the present invention
In its example, mobile terminal can also send other data to submit to cloud server to cloud server, is such as used for
The form data etc. of list operation.
After the character set that the web page address information and mobile terminal support that receive mobile terminal transmission show, in step
Rapid S115, cloud server, according to described web page address information, obtains corresponding web page text data from destination server.This
In, cloud server is intermediate server, and destination server is the content server for providing webpage text content.Described net
Page text data can be web page text character string.
Then, in step S120, the character set that cloud server is supported according to described mobile terminal, from acquired webpage
Text data identifies the web page text data slot that mobile terminal cannot show.Such as, cloud server can be according to institute
State the character set that mobile terminal support shows, carry out one by one each character in web page text character string inquiring about comparison.If
This character is the character that mobile terminal does not support display, then it is assumed that this character is the character that mobile terminal cannot show.And
Complete to inquire about after comparison, be determined as the character group synthesis mobile terminal that mobile terminal cannot show cannot show adjacent
Web page text data slot (character string).
Preferably, in another example of the present invention, cloud server can also be according to the mobile terminal support received
The character set of display, generates corresponding character property inquiry table.Such as, the character set (that cloud server can will be received
One character set) with cloud server present in character set (the second character set) compare, and by the second character set with
The different character marking of character in first character set is the character that mobile terminal cannot show, thus it is special to generate corresponding character
Property inquiry table.Then, cloud server utilizes this character property inquiry table, looks into each character in web page text data one by one
Table judges, thus finds out the web page text data slot that normally cannot be shown by the systemic-function of terminal by client.Wherein,
About " character property inquiry table ", it is primarily used to determine the most each character can show.In character set often
Individual character has a unique numbering to encode as it, as a example by relatively simple implementation: available boolean's array
Inquiring about table as character property, the subscript of this array is exactly character coding in the second character set, each in this array
The value of subscript corresponding unit is only true or false, if this character can show that with regard to value be true in the terminal, no
It is then false.
After as above identifying web page text data slot, in step S125, call the text typesetting in cloud server
The described web page text data slot that cannot show is carried out by engine, expectation font size based on mobile terminal and screen size
Adaptive rearrangement, so that it is determined that the size that each character in the described web page text data slot that cannot show is when display
With relative position.Here, described text typesetting engine includes but not limited to the text typesetting engine such as Freetype, WTLayout.
Described relative position refers to the position each other that each character occupies when typesetting.
In an example of the present invention, the expectation font size of described mobile terminal and screen size can be and webpage
Together with the character set that address shows with mobile terminal support or individually it is sent to cloud server from mobile terminal.Or,
In another example of the present invention, the character set that web page address and mobile terminal support show is being sent to cloud server
Meanwhile, also the model of mobile terminal is sent to cloud server.After receiving the model of mobile terminal, cloud server root
According to the model of this mobile terminal, obtain corresponding screen size, and specify expectation font size according to this screen size.This
In, in the case of server storage has the mapping table of screen size and model beyond the clouds, can close by inquiring about this correspondence
It is that table obtains corresponding screen size.Server is not deposited in not storing mapping table or this mapping table beyond the clouds
In the case of corresponding screen size, cloud server can be by being sent to this model on network, via network inquiry
Obtain the screen size of correspondence.
The size of each character in determining the described web page text data slot that cannot show and phase para-position
Postpone, in step S130, the size of each character after resetting based on adaptation and relative position, set the row of plot space
Version size.Described plot space refers to the space for drawing the character in the web page text data slot that cannot show.At this
In one example of invention, the typesetting of described plot space be sized to width equal to from the left side bearing of leftmost character to
Counting between the right side bearing of rightmost character, and height is equal to from the upper sideline of the top character to bottom character
Counting between sideline.
Then, in step S135, call the font rendering engine in cloud server and load corresponding fontlib, and
Each character figure in described fontlib is drawn out on the correspondence position of the plot space set.For example, it is possible to according to upper
The relative position that face is determined is to draw the figure of each character.Described font typesetting engine include but not limited to Freetype,
The font rendering engine such as iType.
After the figure as above drawing out each character, in step S140, by the graphics saving drawn out for having shifting
The picture file of the picture format that dynamic terminal is supported.
Then, in step S145, based on the picture file preserved, to the mobile terminal in described web page text data without
The web page text data slot that method shows is replaced process.Then, in step S150, the web page text number after replacing will be completed
According to being sent to mobile terminal.After having received the web page text data after replacing from cloud server, in step S155, move
The web page text data that dynamic terminal demonstration is received, thus realize mobile terminal is not supported the display of the character of display.
In an example of the present invention, based on the picture file preserved, to the movement in described web page text data
The web page text data slot that terminal cannot show is replaced and processes can be to utilize the picture file preserved, and replaces described
The web page text data slot that mobile terminal in web page text data cannot show.In this case, on mobile terminals
When showing, the terminal system of mobile terminal is not supported to the character of display, show based on this picture file.
In another example of the present invention, based on the picture file preserved, to the movement in described web page text data
It can be to utilize drawing for the picture file preserved that the web page text data slot that terminal cannot show is replaced process
By mode, replace the web page text data slot that the mobile terminal in described web page text data cannot show.In this situation
Under, when the web page text data completed after replacing are sent to mobile terminal, also it is sent to the picture file preserved move
Dynamic terminal.When showing on mobile terminals, mobile terminal finds this picture by the way of reference in web page text data
File, shows this picture file the most on a corresponding position.
In an illustrative manner the way of reference of picture file is illustrated as follows.
When cloud server web page text data after replacing return to mobile terminal, can web page source file and
The content packing that webpage is relevant generates the compressed package of a similar zip form.This compressed package contains a file index, literary composition
The index name of each file in part index record compressed package, filename originally and path (URI, the generic resource mark of acquisition
Know symbol), and the data of file.
By the file index of compressed package, it is known that corresponding being probably of file a in compressed package can be obtained by URL
The network file (such as: http://www.uc.cn/favicon.ico) arrived, it is also possible to the file that middleware adds voluntarily
Or picture.If the file that cannot be accessed by URI, the most only need to provide the data of file and make with null character string
For URI, in order to distinguish.
Cloud server and mobile terminal a kind of special URI scheme(such as local of agreement :) go by index name
Quote the file in this compressed package.Such as can be by inserting a shape such as in webpage<img src="local:a"/>picture
The file a in compressed package quoted by label.When carrying out the display of web page text data, just the literary composition indexing entitled a in compressed package
Number of packages is according to resolving as image data, then the content of this picture is replaced the region of this img this display of label.
The webpage text content display packing according to the present invention is described above with reference to Fig. 1.The above-mentioned webpage literary composition of the present invention
This content display method, can use software to realize, it would however also be possible to employ hardware realizes, or uses the mode of software and hardware combination
Realize.
Fig. 2 shows the block diagram of webpage text content display system 1 according to an embodiment of the invention.Such as Fig. 2
Shown in, webpage text content display system 1 includes mobile terminal 10 and cloud server 20.Mobile terminal 10 includes the first transmission
Unit 110, first receives unit 120 and display unit 130.Cloud server 20 includes the web page text on mobile terminal
The device 200 that content shows.
Fig. 3 shows the device 200 that the webpage text content on mobile terminal that server realizes beyond the clouds shows
Block diagram.As it is shown on figure 3, described device 200 includes the second reception unit 210, web page text data capture unit
211, recognition unit 212, text typesetting engine call unit 213, font rendering engine call unit 214, picture storage unit
215, replacement unit 216 and the second transmitting element 217.
At mobile terminal side, after receiving webpage text content idsplay order, the first transmitting element 110 is to cloud service
The character set that the web page address information of the webpage that device transmission is to be shown and mobile terminal support show.Unit is received first
120 after cloud server has received the web page text data after replacing, the webpage literary composition that display unit 130 display is received
Notebook data.
Server side beyond the clouds, receives unit 210 second and receives webpage text content to be shown from mobile terminal
Web page address information and the character set that shows of mobile terminal support after, web page text data capture unit 211 is according to described
Web page address information, obtains corresponding web page text data from destination server.Described web page text data can be character string.
Then, the character set that recognition unit 212 shows according to described mobile terminal support, from described web page text data
Identify the web page text data slot that mobile terminal cannot show.
After identifying the web page text data slot that cannot show, text typesetting engine call unit 213 calls high in the clouds
Text typesetting engine in server, expectation font size based on mobile terminal and screen size are to the described net that cannot show
Page text data fragment carries out adaptive rearrangement.In an example of the present invention, the expectation font size of described mobile terminal and
Screen size can be to send together with the character set shown with web page address and mobile terminal support or individually from mobile terminal
To cloud server.Or, in another example of the present invention, at the character that web page address and mobile terminal support are shown
While collection is sent to cloud server, also the model of mobile terminal is sent to cloud server.Receiving mobile terminal
Model after, cloud server according to the model of this mobile terminal, obtains corresponding screen size, and according to this screen size
Specify expectation font size.
Then, the font rendering engine loading that font rendering engine call unit 214 calls in cloud server is corresponding
Fontlib, and the size of each character after resetting based on adaptation and relative position, the plot space of server beyond the clouds
Correspondence position on draw out each character figure in described fontlib.
In an example of the present invention, described device 200 can also include plot space typesetting size setup unit (not
Illustrate), the size of each character after resetting based on adaptation and relative position, set the typesetting of described plot space
Size.Then, font rendering engine call unit 214 calls the font rendering engine in cloud server and loads corresponding font
Storehouse, and draw out each character figure in described fontlib on the correspondence position of the plot space set.
After as above completing graphic plotting, picture storage unit 215 is mobile whole for having by the graphics saving drawn out
The picture file of the picture format that end is supported.Then, replacement unit 216 is based on the picture file preserved, to described webpage literary composition
The web page text data slot that mobile terminal in notebook data cannot show is replaced process.Second transmitting element 217 is by complete
Become the web page text data after replacing to be sent to mobile terminal, show for mobile terminal.
In an example of the present invention, replacement unit 216 is configured to, with preserved picture file, replaces described
The web page text data slot that mobile terminal in web page text data cannot show.In another example of the present invention, replace
Unit 216 is configured to, with the way of reference for the picture file preserved, and replaces the shifting in described web page text data
The web page text data slot that dynamic terminal cannot show.In this case, the web page text data completed after replacing are being sent out
When giving mobile terminal, the picture file preserved also is sent to mobile terminal by the second transmitting element 217.
Utilize said method and system, can be by the server side word to cannot normally show on mobile terminal beyond the clouds
Symbol carries out graphic plotting and is converted to the picture format that mobile terminal can be supported, then utilizes this picture file to replace webpage literary composition
Corresponding content in notebook data, and return to mobile terminal and show, be achieved in showing on mobile terminals mobile eventually
The webpage text content that end cannot normally show.
Additionally, typically, mobile terminal of the present invention can be the various hand-held terminal device with Bluetooth function, example
As having the mobile phone of Bluetooth function, PDA(Personal Digital Assistant).
Additionally, the method according to the invention is also implemented as being performed by the processor (such as CPU) in mobile terminal
Computer program, and store in a memory in the mobile terminal.It is when executed by this computer program, performs basis
The above-mentioned functions limited in the method for invention.
Additionally, the method according to the invention is also implemented as a kind of computer program, this computer program
Including computer-readable medium, storage has limit in the method for perform the present invention above-mentioned on the computer-readable medium
The computer program of function.
Additionally, said method step and system unit can also utilize controller and make controller real for storage
The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function realizes.
Those skilled in the art will also understand is that, in conjunction with the various illustrative logical blocks described by disclosure herein, mould
Block, circuit and algorithm steps may be implemented as electronic hardware, computer software or a combination of both.Hard in order to clearly demonstrate
Part and this interchangeability of software, it is entered by the function with regard to various exemplary components, square, module, circuit and step
Go general description.This function is implemented as software and is also implemented as hardware and depends on specifically applying and applying
To the design constraint of whole system.Those skilled in the art can realize described for every kind of concrete application in every way
Function, but this realization decision should not be interpreted as causing a departure from the scope of the present.
Although content disclosed above shows the exemplary embodiment of the present invention, it should be noted that without departing substantially from power
On the premise of profit requires the scope of the present invention limited, may be many modifications and revise.Real according to invention described herein
Execute the function of the claim to a method of example, step and/or action to be not required to perform with any particular order.Although additionally, the present invention
Element can describe or requirement with individual form, it is also contemplated that multiple, be odd number unless explicitly limited.
Although each embodiment described according to the present invention above with reference to figure is described, but people in the art
Member should be appreciated that each embodiment being proposed the invention described above, it is also possible to does on the basis of without departing from present invention
Go out various improvement.Therefore, protection scope of the present invention should be determined by the content of appending claims.
Claims (11)
1. the method that the webpage text content on mobile terminal that server side realizes beyond the clouds shows, including:
Show at the web page address information and mobile terminal support receiving webpage text content to be shown from mobile terminal
Character set after, according to described web page address information, obtain corresponding web page text data from destination server;
The character set shown according to described mobile terminal support, identifying mobile terminal from described web page text data cannot show
The web page text data slot shown;
Calling the text typesetting engine in cloud server, expectation font size based on mobile terminal and screen size are to described
The web page text data slot that cannot show carries out adaptive rearrangement;
Call the font rendering engine in cloud server and load corresponding fontlib, and based on each character after adaptation rearrangement
Size and relative position, draw out each character beyond the clouds on the correspondence position of the plot space of server at described word
Figure in body storehouse;
It it is the picture file with the picture format that mobile terminal is supported by the graphics saving drawn out;
Based on the picture file preserved, the web page text data that the mobile terminal in described web page text data cannot be shown
Fragment is replaced process;And
The web page text data completed after replacing are sent to mobile terminal, show for mobile terminal.
The most the method for claim 1, wherein call the font rendering engine in cloud server and load corresponding font
Storehouse, and the size of each character after resetting based on adaptation and relative position, the plot space of server is right beyond the clouds
Answer and draw out each character figure in described fontlib on position and include:
Call the font rendering engine in cloud server and load corresponding fontlib;
The size of each character after resetting based on adaptation and relative position, set the typesetting size of described plot space;
The correspondence position of the plot space set draws out each character figure in described fontlib.
The most the method for claim 1, wherein based on the picture file preserved, in described web page text data
The web page text data slot that mobile terminal cannot show is replaced process and includes:
Utilize the picture file preserved, replace the web page text number that the mobile terminal in described web page text data cannot show
According to fragment.
The most the method for claim 1, wherein based on the picture file preserved, in described web page text data
The web page text data slot that mobile terminal cannot show is replaced process and includes:
Utilizing the way of reference for the picture file preserved, the mobile terminal replaced in described web page text data cannot show
The web page text data slot shown, and
When the web page text data completed after replacing are sent to mobile terminal, also it is sent to the picture file preserved move
Dynamic terminal.
The expectation font size of the most described mobile terminal and screen size are from movement
Terminal is sent to cloud server.
The expectation font size of the most described mobile terminal and screen size are high in the clouds clothes
Business device determines according to the unit type of the mobile terminal received from mobile terminal.
7. method as claimed in claim 2, wherein, the typesetting of described plot space is sized to width equal to from the most left
The left side bearing of square cards for learning characters symbol is to counting between the right side bearing of rightmost character, and height is equal to the upper sideline from the top character
Counting between the lower sideline of bottom character.
8. the webpage text content display packing on mobile terminal, including:
At mobile terminal side,
After receiving webpage text content idsplay order, send the web page address information of webpage to be shown to cloud server
And the character set that mobile terminal support shows;And
After having received the web page text data after replacing from cloud server, enter based on the web page text data received
Row display;
Server side beyond the clouds,
Receiving web page address information and after character set that mobile terminal support shows, according to described web page address information,
Corresponding web page text data are obtained from destination server;
The character set shown according to described mobile terminal support, identifying mobile terminal from described web page text data cannot show
The web page text data slot shown;
Calling the text typesetting engine in cloud server, expectation font size based on mobile terminal and screen size are to described
The web page text data slot that cannot show carries out adaptive rearrangement;
Call the font rendering engine in cloud server and load corresponding fontlib, and based on each character after adaptation rearrangement
Size and relative position, draw out each character beyond the clouds on the correspondence position of the plot space of server at described word
Figure in body storehouse;
It it is the picture file with the picture format that mobile terminal is supported by the graphics saving drawn out;
Based on the picture file preserved, the web page text data that the mobile terminal in described web page text data cannot be shown
Fragment is replaced process;And
The web page text data completed after replacing are sent to mobile terminal.
9. the device that the webpage text content on mobile terminal on cloud server shows, including:
Receive unit, for receiving the web page address information of webpage text content to be shown from mobile terminal and moving eventually
End supports the character set of display;
Web page text data capture unit, at the web page address receiving webpage text content to be shown from mobile terminal
After the character set that information and mobile terminal support show, according to described web page address information, obtain correspondence from destination server
Web page text data;
Recognition unit, for the character set shown according to described mobile terminal support, identifies from described web page text data
The web page text data slot that mobile terminal cannot show;
Text typesetting engine call unit, for calling the text typesetting engine in cloud server, phase based on mobile terminal
Hope that font size and screen size carry out adaptive rearrangement to the described web page text data slot that cannot show;
Font rendering engine call unit, loads corresponding fontlib for calling the font rendering engine in cloud server,
And the size of each character after resetting based on adaptation and relative position, the corresponding position of the plot space of server beyond the clouds
Put the figure drawing out each character in described fontlib;
Picture storage unit, being used for the graphics saving drawn out is the picture literary composition with the picture format that mobile terminal is supported
Part;
Replacement unit, for based on the picture file preserved, cannot show the mobile terminal in described web page text data
Web page text data slot be replaced process;And
Transmitting element, for the web page text data completed after replacing are sent to mobile terminal, shows for mobile terminal
Show.
10. device as claimed in claim 9, also includes:
Plot space typesetting size setup unit, the size of each character after resetting based on adaptation and phase para-position
Put, set the typesetting size of described plot space,
The font rendering engine that described font rendering engine call unit is configured to call in cloud server loads corresponding
Fontlib, and draw out each character figure in described fontlib on the correspondence position of the plot space set.
11. 1 kinds of webpage text content display systems, including mobile terminal and cloud server,
Wherein, described mobile terminal includes:
First transmitting element, for after receiving webpage text content idsplay order, sends to be shown to cloud server
The character set that the web page address information of webpage and mobile terminal support show;
First receives unit, for the web page text data after cloud server finishes receiving replacement;And
Display unit, for after having received the web page text data after replacing from cloud server, display is received
Web page text data after replacing,
Described cloud server includes:
Second receives unit, for receiving web page address information and the shifting of webpage text content to be shown from mobile terminal
The character set that dynamic terminal support shows;
Web page text data capture unit, at the web page address receiving webpage text content to be shown from mobile terminal
After the character set that information and mobile terminal support show, according to described web page address information, obtain correspondence from destination server
Web page text data;
Recognition unit, for the character set supported according to described mobile terminal, identifies movement from described web page text data
The web page text data slot that terminal cannot show;
Text typesetting engine call unit, for calling the text typesetting engine in cloud server, phase based on mobile terminal
Hope that font size and screen size carry out adaptive rearrangement to the described web page text data slot that cannot show;
Font rendering engine call unit, loads corresponding fontlib for calling the font rendering engine in cloud server,
And the size of each character after resetting based on adaptation and relative position, the corresponding position of the plot space of server beyond the clouds
Put the figure drawing out each character in described fontlib;
Picture storage unit, being used for the graphics saving drawn out is the picture literary composition with the picture format that mobile terminal is supported
Part;
Replacement unit, for based on the picture file preserved, cannot show the mobile terminal in described web page text data
Web page text data slot be replaced process;And
Second transmitting element, for the web page text data completed after replacing are sent to mobile terminal, enters for mobile terminal
Row display.
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 CN103345493A (en) | 2013-10-09 |
CN103345493B true 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) |
Families Citing this family (14)
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 |
CN107301182B (en) * | 2016-04-15 | 2020-06-30 | 北京京东尚科信息技术有限公司 | Method and device for displaying webpage embedded with picture |
CN106055416B (en) * | 2016-05-23 | 2020-08-18 | 珠海市魅族科技有限公司 | Method and device for data cross-application transfer |
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 |
CN108614805B (en) * | 2018-05-02 | 2022-03-25 | 武汉斗鱼网络科技有限公司 | Method and system, server and medium for displaying colorful expressions using QML |
CN109241497A (en) * | 2018-09-27 | 2019-01-18 | 腾讯音乐娱乐科技(深圳)有限公司 | Text handling method and device |
CN111199137B (en) * | 2018-10-30 | 2024-03-19 | 广州金山移动科技有限公司 | Cloud font loading method and device |
CN111209721B (en) * | 2018-11-16 | 2025-02-21 | 北京京东尚科信息技术有限公司 | Bitmap font implementation method, device, electronic device and storage medium |
CN111881648A (en) * | 2020-08-06 | 2020-11-03 | 上海触讯信息科技有限公司 | A method for generating e-book font files |
CN112307713A (en) * | 2020-10-27 | 2021-02-02 | 广州朗国电子科技有限公司 | Automatic text typesetting method and system based on Android system |
CN114666082B (en) * | 2020-12-24 | 2023-09-26 | 上海擎感智能科技有限公司 | Login method, first terminal, second terminal, storage medium and login system |
CN113642289B (en) * | 2021-08-26 | 2024-10-22 | 珠海金山办公软件有限公司 | Text typesetting method and device, electronic device, server and storage medium |
CN113642290B (en) * | 2021-08-26 | 2024-11-26 | 珠海金山办公软件有限公司 | Text typesetting method and device, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1315703A (en) * | 2000-03-28 | 2001-10-03 | 巫伟明 | Font 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)
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 |
-
2013
- 2013-06-27 CN CN201310262072.9A patent/CN103345493B/en active Active
-
2014
- 2014-02-28 WO PCT/CN2014/072735 patent/WO2014206108A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1315703A (en) * | 2000-03-28 | 2001-10-03 | 巫伟明 | Font 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 |
Also Published As
Publication number | Publication date |
---|---|
CN103345493A (en) | 2013-10-09 |
WO2014206108A1 (en) | 2014-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103345493B (en) | Method that content of text on mobile terminal shows, Apparatus and system | |
KR102185864B1 (en) | Server-side rendering method and system of native content for presentation | |
CN1320480C (en) | System and method for delivering content to a portable computing device over a wireless communication medium | |
CN105975576B (en) | Terminal content adaptive display method and device and terminal | |
US11030389B2 (en) | Acquisition of a font portion using a compression mechanism | |
CN104281601B (en) | Build method and device, character display method and the device of super large character library | |
CN104063489A (en) | Method and device for determining webpage image relevancy and displaying retrieved result | |
CN103824104A (en) | Two-dimensional code fabrication system and application method thereof | |
CN103377053A (en) | Method, device and system for controlling application | |
CN103559194B (en) | A kind of searching method, server, system | |
CN103136259A (en) | Method and device for processing web page content based on content block identification | |
CN103345498A (en) | Webpage loading method, device and system based on transit server | |
CN105404672B (en) | The system and method for web data storage and operation | |
CN110992131B (en) | Form processing method, form processing device and storage medium | |
CN110020297A (en) | A kind of loading method of web page contents, apparatus and system | |
CN106156291A (en) | The caching method of static resource and system thereof based on Localstroage | |
CN104572667A (en) | Web service system, web server and web providing method | |
CN105373565A (en) | Webpage processing method and apparatus | |
CN110362790A (en) | Processing method, device, electronic equipment and the readable storage medium storing program for executing of font file | |
CN105808628A (en) | Webpage transcoding method, apparatus and system | |
CN106682960B (en) | Method and device for generating landing page | |
CN111797591B (en) | Layout recovery method and device and electronic equipment | |
CN105589870B (en) | Method and system for filtering webpage advertisements | |
CN112199922B (en) | Encoding method, apparatus, device, and computer-readable storage medium | |
CN107103096A (en) | Method for information display and device |
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. |