CN103365968B - Webpage content magnification method and webpage content magnifier - Google Patents
Webpage content magnification method and webpage content magnifier Download PDFInfo
- Publication number
- CN103365968B CN103365968B CN201310250990.XA CN201310250990A CN103365968B CN 103365968 B CN103365968 B CN 103365968B CN 201310250990 A CN201310250990 A CN 201310250990A CN 103365968 B CN103365968 B CN 103365968B
- Authority
- CN
- China
- Prior art keywords
- web page
- page element
- content
- webpage
- contents
- 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
Abstract
The invention provides a kind of webpage content magnification method, including:When detecting that sample area when clicking on amplifieroperation includes the web page element of predefined type, it is determined that the type of the web page element included;According to predetermined web page contents acquisition strategy corresponding with type that is being determined, the web page contents of the web page element are obtained;And amplification shows the web page contents of the acquisition in predetermined magnification region.Using the above method, by using predetermined web page contents acquisition strategy corresponding with type that is being determined, the web page contents of web page element are obtained;And amplification shows the web page contents in predetermined magnification region, the reading experience of user can be improved.
Description
Technical field
The present invention relates to web page browsing field, more specifically, is related to a kind of webpage content magnification method of mobile terminal
And webpage content magnifier.
Background technology
As mobile communication technology continues to develop, it is gradually popular to carry out web page browsing using mobile terminal.However, due to
The display screen of mobile terminal is all smaller, and the web page contents shown on a display screen would generally be smaller, so as to cause user
It can not or be difficult to read, and operating difficulties.Therefore, webpage magnifying glass work(is both provided with many browser of mobile terminal
Can, for being amplified when web page contents show too small.
When showing webpage, browser can preserve the displaying ratio of current web page, and webpage is not being appointed
On the premise of what amplifieroperation, on the mobile phone of usual resolution ratio, the displaying ratio of common wap page is 1.0, and common
The ratio that the www pages are shown is 0.47.Therefore, if the current displaying ratio of a webpage is less than 0.7, then it is assumed that display
Web page contents are too small.
Fig. 1 shows a kind of magnifying glass for Text Entry.As shown in figure 1, user can utilize the magnifying glass to see
Current editable position is examined, thereby confirms that whether current editable position is correct position, it is wrong so as to avoid the occurrence of editor
By mistake.Fig. 2 shows a kind of magnifying glass for being used to link.As shown in Fig. 2 user can observe what can be clicked on using the magnifying glass
Link, so that it is guaranteed that clickthrough operation occurs without mistake.
From the aforegoing it can be seen that the purpose of above two magnifying glass be all by amplify operable area avoid the occurrence of by
The maloperation caused by operable area is too small.However, due to the region of such magnifying glass be fixed and magnification region compared with
Small (such as the region of the first magnifying glass is only able to display 3 words, and the region of second of magnifying glass is only able to display 4*7 word), leads
Cause can not show completely amplification after content so that run into when user reads web page contents show it is too small in the case of,
The user after amplification can not be intactly shown using above-mentioned magnifying glass it should be understood that content lift reading experience.
The content of the invention
In view of above-mentioned, the present invention proposes one kind and is used for webpage content magnification method and device, and this method utilizes predetermined
Web page contents acquisition strategy corresponding with the type determined, obtain the web page contents of web page element;And put in predetermined
Amplification shows the web page contents in big region, so that user can read complete linked contents or content of text, thus
Improve the usage experience of user.
According to an aspect of the invention, there is provided a kind of webpage content magnification method, including:Amplification is clicked on detecting
When sample area during operation includes the web page element of predefined type, it is determined that the type of the web page element included;According to predetermined
Web page contents acquisition strategy corresponding with the type determined, obtain the web page contents of the web page element;And pre-
Amplification shows the web page contents of the acquisition in fixed magnification region, wherein, the predefined type of the web page element includes webpage
Linked contents, Web page picture content, webpage text content, and when the web page element is web page interlinkage content, the net
Page content obtaining strategy is to obtain whole word contents corresponding to link, when the web page element is Web page picture content, institute
It is to obtain the image content of Web page picture, when the web page element is webpage text content, institute to state web page contents acquisition strategy
It is to obtain a line complete content of the line of text at click location to state web page contents acquisition strategy.
It is in web page interlinkage perhaps in web page text in the web page element in one or more examples of above-mentioned aspect
Rong Shi, the web page element shown in the predetermined magnification region are that the size based on the predetermined magnification region carries out weight
Web page element after new typesetting.
In one or more examples of above-mentioned aspect, when the web page element included includes multiple web page elements, institute
The method of stating can include:According to predetermined web page element display priority, display is selected from the multiple web page element
The web page element of highest priority.
In one or more examples of above-mentioned aspect, the multiple web page element or it is selected go out display it is preferential
When the number of level highest web page element exceedes predetermined threshold, methods described can be included from the multiple web page element or institute
Web page element of the display priority highest web page element selection upper left corner selected in sample area.
In one or more examples of above-mentioned aspect, the multiple web page element or it is selected go out display it is preferential
When not having web page element of the upper left corner in sample area in level highest web page element, methods described can be included from described
Multiple web page elements or it is selected go out display priority highest web page element in select content area and sample area phase
The maximum web page element of cross surface product.
In one or more examples of above-mentioned aspect, the multiple web page element or it is selected go out display it is preferential
When not having the web page element that content area intersects with sample area in level highest web page element, methods described can be included from institute
State multiple web page elements or it is selected go out display priority highest web page element in select the top of content area is vertical to sit
The minimum web page element of scale value.
According to another aspect of the present invention, there is provided a kind of webpage content magnifier, including:Type determining units, it is used for
When detecting that sample area when clicking on amplifieroperation includes the web page element of predefined type, it is determined that the web page element included
Type;Web page contents acquiring unit, for according to predetermined web page contents acquisition strategy corresponding with type that is being determined,
Web page contents acquisition strategy corresponding to the web page contents type of the web page element is obtained, in the webpage for obtaining the web page element
Hold;And amplifying unit, for amplifying the web page contents of the acquisition;Display unit, for showing in predetermined magnification region
Show the web page contents after the amplification, wherein, the predefined type of the web page element is including in web page interlinkage content, Web page picture
Hold, webpage text content;Amplifying unit, for amplifying the web page contents of the acquisition;And display unit, for predetermined
The web page contents after the amplification are shown in magnification region, wherein, when the web page element is web page interlinkage content, the net
Page content obtaining strategy is to obtain whole word contents corresponding to link, when the web page element is Web page picture content, institute
It is to obtain the Web page picture of Web page picture, when the web page element is webpage text content, institute to state web page contents acquisition strategy
It is to obtain a line complete content of the line of text at click location to state web page contents acquisition strategy.
In one or more examples of above-mentioned aspect, the webpage content magnifier can also include rearrangement units, use
In when the web page element is perhaps webpage text content in web page interlinkage, based on the size of the predetermined magnification region,
Again typesetting is carried out to the web page contents after amplification, and the display unit is configured as showing in the predetermined magnification region
Show the web page contents after typesetting again.
In one or more examples of above-mentioned aspect, when the web page element included includes multiple web page elements, institute
Stating webpage magnifying glass can also include:Web page element chooses unit, for according to predetermined web page element selection strategy, from described
Selection target web page element in multiple web page elements.
In one or more examples of above-mentioned aspect, include polytype web page element in the multiple web page element
When, the web page element is chosen unit and is configured as according to predetermined web page element display priority, from the multiple net
Display priority highest web page element is selected in page element.
In one or more examples of above-mentioned aspect, the multiple web page element or it is selected go out display it is preferential
When the number of level highest web page element exceedes predetermined threshold, the web page element is chosen unit and is configured as from the multiple net
Page element or it is selected go out display priority highest web page element selection upper left corner in sample area webpage member
Element.
In one or more examples of above-mentioned aspect, the multiple web page element or it is selected go out display it is preferential
When not having web page element of the upper left corner in sample area in level highest web page element, the web page element chooses unit quilt
Be configured to from the multiple web page element or it is selected go out display priority highest web page element in select content area
The maximum web page element with sample area intersecting area.
In one or more examples of above-mentioned aspect, the multiple web page element or it is selected go out display it is preferential
When not having the web page element that content area intersects with sample area in level highest web page element, the web page element chooses unit
Be configured as from the multiple web page element or it is selected go out display priority highest web page element in select content regions
The web page element of the top ordinate value minimum in domain.
According to another aspect of the present invention, there is provided a kind of mobile terminal, including webpage content magnifier as described above.
Using the above method and device, can be obtained by using predetermined web page contents corresponding with type that is being determined
Strategy is taken, obtains the web page contents of web page element;And amplification shows the web page contents in predetermined magnification region, so that
Complete linked contents or content of text can be read by obtaining user, thus improve the usage experience of user.
In order to realize above-mentioned and related purpose, one or more aspects of the invention include will be explained in below and
The feature particularly pointed out in claim.Some illustrative aspects of the present invention are described in detail in following explanation and accompanying drawing.
However, some modes in the various modes of the principle that the present invention only can be used of these aspect instructions.It is in addition, of the invention
It is intended to include all these aspects and their equivalent.
Brief description of the drawings
According to following detailed descriptions carried out referring to the drawings, above and other objects, features and advantages of the invention will become
It must become apparent from.In the accompanying drawings:
Fig. 1 shows a kind of schematic diagram of the example of the magnifying glass for Text Entry;
Fig. 2 shows a kind of schematic diagram of the example for the magnifying glass for being used to link;
Fig. 3 shows the flow chart of the webpage content magnification method according to the first embodiment of the present invention;
Fig. 4 shows the block diagram of the webpage content magnifier according to the first embodiment of the present invention;
Fig. 5 shows the flow chart of webpage content magnification method according to the second embodiment of the present invention;
Fig. 6 shows that web page element chooses the flow chart of process;
Fig. 7 shows the block diagram of webpage content magnifier according to the second embodiment of the present invention;
Fig. 8 A show the schematic diagram of the amplification effect for web page interlinkage content;
Fig. 8 B show the schematic diagram of the amplification effect for webpage text content;
Fig. 8 C show the schematic diagram of the amplification effect for Web page picture content;With
Fig. 9 shows the block diagram of the mobile terminal with the webpage content magnifier described in Fig. 4 or Fig. 7.
Identical label indicates similar or corresponding feature or function in all of the figs.
Embodiment
Various aspects of the disclosure is described below.It is to be understood that teaching herein can have in the form of varied
Body embodies, and any concrete structure disclosed herein, function or both are only representational.Religion based on this paper
Lead, those skilled in the art it is to be understood that one aspect disclosed herein can be realized independently of any other aspect,
And two or more aspects in these aspects can combine in various manners.It is it is, for example, possible to use described in this paper
Any number of aspect, realization device or puts into practice method.Further, it is possible to use other structures, function or except described here
One or more aspects outside or be not one or more aspects described herein 26S Proteasome Structure and Function, realize this device
Or put into practice this method.In addition, any aspect described herein can include at least one element of claim.
Below with reference to each embodiment of Fig. 3 to Fig. 9 description present invention.
Fig. 3 shows the flow chart of the webpage content magnification method according to the first embodiment of the present invention.
As shown in figure 3, first, whether the clicking operation carried out in step S310, the click amplifieroperation for detecting user
The web page element of predefined type in point, the web page element of the predefined type be such as web page interlinkage content, Web page picture content,
Webpage text content.For example, when the content of pages clicked on is<a>During label, the web page contents are web page interlinkage contents.Work as click
Content of pages be<img>During label, the web page contents are Web page picture contents.When being big section corresponding to the content of pages of click
Word, the web page contents are webpage text contents.
In the web page element of predefined type in detecting not put, i.e. when the determination result in step S310 is no, flow
Terminate.In the web page element of predefined type in detecting a little, i.e. the determination result in step S310 is when being, to proceed to step
Rapid S320.In step S320, it is determined that the type of the web page element in putting, i.e. it is determined that the web page element in putting is webpage chain
Connect content, Web page picture content or webpage text content.
After web page element type is determined, in step S330, according to predetermined net corresponding with type that is being determined
Page content obtaining strategy, obtain the web page contents of the web page element.In other words, according to the web page element type determined,
Web page contents acquisition strategy corresponding with the web page element type determined is obtained from predetermined web page contents acquisition strategy.
Then, according to acquired web page contents selection strategy, web page contents are obtained.In the present invention, it is net in the web page element
During page linked contents, the web page contents acquisition strategy is to obtain whole word contents corresponding to link, in the web page element
When being Web page picture content, the web page contents acquisition strategy is to obtain the image content of Web page picture, in the web page element
When being webpage text content, the web page contents acquisition strategy is that a line of the line of text at acquisition click location is completely interior
Hold.
After the web page contents of web page element are got, in step S340, the amplification display institute in predetermined magnification region
State the web page contents of acquisition.Specifically, first, the size according to predetermined magnification ratio or based on predetermined magnification region,
Acquired web page contents are amplified.Then, the web page contents after the amplification are shown in the magnification region.In addition,
For Web page picture content, if the wide height of the picture is respectively less than the 1/2 of screen, the figure is completely shown in magnification region
Piece, the otherwise position according to the point clicked in picture, according to the size of magnification region and picture, display part component in proportion
Piece.
In addition, in the method for the present embodiment, before the web page contents after showing the amplification, it is also based on described
The size of predetermined magnification region, typesetting again is carried out to the web page contents after amplification.Then, in the predetermined magnification region
Show the web page contents after typesetting again.
Fig. 4 shows the block diagram of the webpage content magnifier 400 according to the first embodiment of the present invention.
As shown in figure 4, webpage content magnifier 400 includes type determining units 410, web page contents acquiring unit 420, put
Big unit 430 and display unit 440.
Type determining units 410 are used for the webpage for including predefined type in the sample area detected when clicking on amplifieroperation
During element, that is, in putting during web page element, it is determined that the type of the web page element included.The predefined type of the web page element is such as
It is web page interlinkage content, Web page picture content, webpage text content.
Web page contents acquiring unit 420 is connected with type determining units 410, for according to predetermined with class that is being determined
Web page contents acquisition strategy corresponding to type, obtain the web page contents of the web page element.It is described in another example of the present invention
Webpage content magnifier 400 can also include web page contents acquisition strategy acquiring unit (not shown), for according to being determined
Type, in the web page contents acquisition strategy stored from mobile terminal obtain corresponding to web page contents acquisition strategy.Then, net
Page contents acquiring unit 420 obtains the web page contents of web page element according to the web page contents acquisition strategy.
When the web page element is web page interlinkage content, the web page contents acquisition strategy is to obtain corresponding to link entirely
Portion's word content, when the web page element is Web page picture content, the web page contents acquisition strategy is to obtain Web page picture
Image content, when the web page element is webpage text content, the web page contents acquisition strategy be obtain click location
A line complete content of present line of text.
Amplifying unit 430 is connected with web page contents acquiring unit 420, for getting the web page contents of web page element
Afterwards, the web page contents of the acquisition are amplified.For example, amplifying unit 430 can be according to predetermined magnification ratio or based on predetermined
Magnification region size, acquired web page contents are amplified.Then, display unit 440 is in predetermined magnification region
Web page contents after the middle display amplification.
In another example of the present invention, webpage content magnifier 400 can also include rearrangement units (not shown), with putting
Big unit 430 is connected with display unit 440, for when the web page element is perhaps webpage text content in web page interlinkage,
Based on the size of the predetermined magnification region, typesetting again is carried out to the web page contents after amplification.Then, display unit 440
Web page contents after the predetermined magnification region shows typesetting again.
Using the above method and device, can be obtained by using predetermined web page contents corresponding with type that is being determined
Strategy is taken, obtains the web page contents of web page element;And amplification shows the web page contents in predetermined magnification region, so that
Complete linked contents or content of text can be read by obtaining user, thus improve the usage experience of user.
Fig. 5 shows the flow chart of webpage content magnification method according to the second embodiment of the present invention.Second embodiment
It is the modification of first embodiment.In addition to the step of being included in Fig. 3, step S510 to S550 is also included in Fig. 5.Below only
Only difference is illustrated.
As shown in figure 5, detected in step S310 do not put in predefined type web page element when, proceed to step
S510.In step S510, expand sample area centered on click location, and re-start using the sample area after expansion
Clicking operation.Here, the expansion of sample area can be enlarged according to preliminary dimension.
Then, in step S520, determine whether include web page element, i.e. clicking operation in the sample area after the expansion
Afterwards, it whether there is web page element in the sample area.If it does not exist, then returning to step S510, expand sample area again,
Untill it web page element be present in sample area.The present invention other examples in, can also only be only performed once expansion or
Pre-determined number expands, if completed once or after pre-determined number expands, still in the absence of web page element, then flow terminates.
If there is web page element, then proceed to step S530.In step S530, it is determined that existing web page element is
No more than one web page element.If single web page element, then proceed to step S310.If more than one webpage is first
Element, then proceed to step S540.In step S540, it is determined that the type of existing web page element.
After the type of existing web page element is determined, in step S550, plan is chosen based on predetermined web page element
Slightly, the web page element to be amplified is chosen from the multiple web page element.Selecting the web page element to be amplified
Afterwards, flow proceeds to step S330.
Fig. 6 shows that web page element chooses the flow chart of process.
As shown in fig. 6, after the type of web page element present in sample area is determined in step S540, in step
S511, it is determined whether include polytype.
If not including polytype, proceed to step S513.If comprising polytype, proceed to step
S512.In step S512, based on predetermined web page element display priority, display is selected from the multiple web page element
The web page element of highest priority, then proceed to step S513.In the present invention, web page element display priority is such as divided into
Put:Web page interlinkage>Web page picture>Web page text
In step S513, judge the multiple web page element or it is selected go out display priority highest web page element
Number whether exceed predetermined threshold.In the example of the present invention, the predetermined threshold of web page interlinkage content is arranged to 2,
And the predetermined threshold of Web page picture content and webpage text content is arranged to 1.It is described pre- in the other examples of the present invention
Threshold value is determined it can also be provided that other desired values.
When being judged as in step S513 not less than predetermined threshold, then in step S514, all web page elements are chosen, then
Return to step S330.
When being judged as exceeding predetermined threshold in step S513, proceed to step S515.In step S515, judge whether to deposit
In web page element of the upper left corner of content area in sample area.In another example of the present invention or judge
With the presence or absence of web page element of the upper right corner in sample area of content area.If it is present in step S516, choosing should
Web page element, then return to step S330.If it does not exist, then proceed to step S517.
In step S517, the web page element that content area intersects with sample area is judged whether.If it is present enter
Row arrives step S518.In step S518, the content area web page element maximum with sample area intersecting area is chosen, is then back to
To step S330.
The web page element intersected if there is no content area with sample area, then in step S519, choose content area
The minimum web page element of top ordinate value, then return to step S330.
Equally, in the other examples of second embodiment, methods described can also be included in the net after showing the amplification
Before page content, the size of the predetermined magnification region is also based on, typesetting again is carried out to the web page contents after amplification.
Then, the web page contents after the predetermined magnification region shows typesetting again.
The determination methods of the relativeness between content area and sample area are carried out briefly in an illustrative manner below
Explanation.
Assuming that the coordinate of sample area is (left0, top0, right0, bottom0), the content area of web page element
Coordinate is (left1, top1, right1, bottom1).
If left1>left0&&top1>top0&&left1<right0&&top1<Bottom0 return value be it is true, then
Judge that content area falls in sample area.
If max (0, min (top0, top1)-max (bottom0, bottom1)) return value is non-zero, then two are judged
Intersect in individual region.
Two region intersecting areas are calculated according to following calculation formula:
max(0,min(left0,left1)-max(right0,right1))*max(0,min(top0,top1)-max
(bottom0,bottom1))。
Fig. 7 shows the block diagram of webpage content magnifier 700 according to the second embodiment of the present invention.
As shown in fig. 7, webpage content magnifier 700 includes judging unit 710, type determining units 720, web page element choosing
Take unit 730, web page contents acquiring unit 740, amplifying unit 750 and display unit 760.
Judging unit 710 is used to judge whether the web page element in putting is multiple web page elements.In the another of the present invention
In example, web page element during judging unit 710 can also judge whether a little.In no point during web page element, webpage magnifying glass
700 can also include sample area amplifying unit (not shown), for centered on click location, expanding the sampling of clicking operation
Region.
Type determining units 720 are connected with judging unit 710, for detecting sample area when clicking on amplifieroperation
During web page element comprising predefined type, that is, in putting during web page element, it is determined that the type of the web page element included.The webpage
The predefined type of element is such as web page interlinkage content, Web page picture content, webpage text content.
Web page element is chosen unit 730 and is connected with type determining units 720, in the web page element bag by point
When including multiple web page elements, based on predetermined web page element Selection Strategy, choose what is amplified from the multiple web page element
Web page element.
Specifically, when the multiple web page element includes polytype web page element, web page element chooses unit 730
It is configured as, according to predetermined web page element display priority, display priority being selected most from the multiple web page element
High web page element.
Selected when the multiple web page element is same type of web page element or from the multiple web page element
After selecting out display priority highest web page element, if the number of web page element exceedes predetermined threshold, web page element is chosen
Unit 730 be configured to from the multiple web page element or it is selected go out display priority highest web page element
Select web page element of the upper left corner in sample area.
If the multiple web page element or it is selected go out display priority highest web page element in there is no upper left
Web page element of the corner in sample area, then web page element choose unit 730 be configured as from the multiple web page element or
The content area net maximum with sample area intersecting area is selected in the display priority highest web page element gone out selected by person
Page element.
If the multiple web page element or it is selected go out display priority highest web page element in there is no content
The web page element that region is intersected with sample area, then web page element choose unit 730 be configured as from the multiple web page element
Or it is selected go out display priority highest web page element in select the minimum webpage of the top ordinate value of content area
Element.
Web page contents acquiring unit 740 and web page element are chosen unit 730 and are connected, for according to predetermined with selected taking-up
Web page element type corresponding to web page contents acquisition strategy, obtain the web page contents of the web page element.The present invention's
In another example, webpage content magnifier 700 can also include web page contents acquisition strategy acquiring unit (not shown), for root
According to the type determined, web page contents obtain plan corresponding to acquisition in the web page contents acquisition strategy stored from mobile terminal
Slightly.Then, web page contents acquiring unit 740 obtains the web page contents of web page element according to the web page contents acquisition strategy.
When the web page element is web page interlinkage content, the web page contents acquisition strategy is to obtain corresponding to link entirely
Portion's word content, when the web page element is Web page picture content, the web page contents acquisition strategy is to obtain Web page picture
Image content, when the web page element is webpage text content, the web page contents acquisition strategy be obtain click location
A line complete content of present line of text.
Amplifying unit 750 is connected with web page contents acquiring unit 740, for getting the web page contents of web page element
Afterwards, the web page contents of the acquisition are amplified.For example, amplifying unit 750 can be according to predetermined magnification ratio or based on predetermined
Magnification region size, acquired web page contents are amplified.Then, display unit 760 is in predetermined magnification region
Web page contents after the middle display amplification.
In another example of the present embodiment, webpage content magnifier 700 can also include rearrangement units (not shown), with
Amplifying unit 750 is connected with display unit 760, for being perhaps webpage text content in web page interlinkage in the web page element
When, based on the size of the predetermined magnification region, typesetting again is carried out to the web page contents after amplification.Then, display unit
760 web page contents after the predetermined magnification region shows typesetting again.
Fig. 8 A show the schematic diagram of the amplification effect for web page interlinkage content.As shown in Figure 8 A, for being shown in Fig. 2
Linked contents example, after the webpage content magnification method processing according to the present invention, the webpage seen using magnifying glass
Content is no longer 4 links, and each link only has segment word, but after two amplifications and is had in the link of complete content
Hold.
Fig. 8 B show the schematic diagram of the amplification effect for webpage text content.As shown in Figure 8 B, user can use
Magnifying glass will be read after multiple words amplification of small font, after judging that this section of word is interested, then carry out double fingers/double-click behaviour
Work is read after webpage is amplified.
Fig. 8 C show the schematic diagram of the amplification effect for Web page picture content.As shown in Figure 8 C, when user's use is put
When big mirror touches image content, the picture after an amplification can be ejected.
It will be clear that being connected between two units in webpage content magnifier recited above can be thing
Actual connection in reason or the connection carried out via other units, or virtual link, for example, by data or
The virtual link that information exchange is realized (utilizes processor and the feelings for the memory realization for being stored with computer program in said units
Under condition).
Fig. 9 shows the block diagram of the mobile terminal with the webpage content magnifier described in Fig. 4 or Fig. 7.Such as
Shown in Fig. 9, the mobile terminal 10 includes the webpage content magnifier as shown in Fig. 4 or Fig. 7.It will be clear that in Fig. 3
Comprising buffer storage can also include Fig. 4 or Fig. 7 shown in webpage content magnifier 400 or 700 various modifications.
In addition, typically, mobile terminal of the present invention can be the various hand-held terminal devices with Bluetooth function, example
Such as mobile phone with Bluetooth function, personal digital assistant (PDA).
In addition, 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.When the computer program is executed by processor, sheet is performed
The above-mentioned function of being limited in the method for invention.
In addition, the method according to the invention is also implemented as a kind of computer program product, the computer program product
Including computer-readable medium, be stored with the computer-readable medium for perform the present invention method in limit it is above-mentioned
The computer program of function.
In addition, above method step and system unit can also utilize controller and make it that controller is real for storing
The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function are realized.
Those skilled in the art will also understand is that, the various illustrative logical blocks with reference to described by disclosure herein, mould
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate
This interchangeability of part and software, enters with regard to the function of various exemplary components, square, module, circuit and step to it
General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application
Design constraint to whole system.Those skilled in the art can realize described in a variety of ways for every kind of concrete application
Function, but this realize that 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 of restriction, it may be many modifications and change.It is real according to invention described herein
The function, step and/or action for applying the claim to a method of example are not required to perform with any particular order.In addition, the although present invention
Element can describe or require in the form of individual, be unless explicitly limited odd number it is also contemplated that multiple.
It is described although being described above with reference to figure according to each embodiment of the present invention, people in the art
Member can also do it should be appreciated that each embodiment proposed to the invention described above on the basis of present invention is not departed from
Go out various improvement.Therefore, protection scope of the present invention should be determined by the content of appended claims.
Claims (13)
1. a kind of webpage content magnification method, including:
When detecting that sample area when clicking on amplifieroperation includes the web page element of predefined type, it is determined that the webpage included
The type of element;
According to predetermined web page contents acquisition strategy corresponding with type that is being determined, in the webpage for obtaining the web page element
Hold;And
Amplification shows the web page contents of the acquisition in predetermined magnification region,
Wherein, the predefined type of the web page element includes web page interlinkage content, Web page picture content, webpage text content, with
And
When the web page element is web page interlinkage content, the web page contents acquisition strategy is to obtain whole texts corresponding to link
Word content,
When the web page element is Web page picture content, the web page contents acquisition strategy is in the picture for obtain Web page picture
Hold,
When the web page element is webpage text content, the web page contents acquisition strategy is obtained at click location
A line complete content of line of text, and
The amplification in predetermined magnification region show the web page contents of the acquisition include according to predetermined magnification ratio or
Size of the person based on the magnification region, acquired web page contents are amplified and put described in being shown in the magnification region
Web page contents after big.
2. webpage content magnification method as claimed in claim 1, wherein, it is perhaps net in web page interlinkage in the web page element
During page content of text, the web page element shown in the predetermined magnification region is the chi based on the predetermined magnification region
The little progress row web page element after typesetting again.
3. webpage content magnification method as claimed in claim 1, wherein, comprising web page element include multiple webpages member
Element, methods described include:
According to predetermined web page element display priority, display priority highest is chosen from the multiple web page element
Web page element.
4. the webpage content magnification method as described in claim 1 or 3, wherein, comprising web page element include multiple webpages
Element, methods described also include:
The multiple web page element or it is selected go out the number of display priority highest web page element exceed predetermined threshold
During value, from the multiple web page element or it is selected go out display priority highest web page element in choose upper left corner exist
Web page element in sample area.
5. webpage content magnification method as claimed in claim 4, in addition to:
The multiple web page element or it is selected go out display priority highest web page element in there is no upper left corner to exist
During web page element in sample area, from the multiple web page element or it is selected go out display priority highest webpage member
The content area web page element maximum with sample area intersecting area is chosen in element.
6. webpage content magnification method as claimed in claim 5, in addition to:
The multiple web page element or it is selected go out display priority highest web page element in do not have content area with
During the intersecting web page element of sample area, from the multiple web page element or it is selected go out display priority highest webpage
The minimum web page element of the top ordinate value of content area is chosen in element.
7. a kind of webpage content magnifier, including:
Type determining units, for the web page element for including predefined type in the sample area detected when clicking on amplifieroperation
When, it is determined that the type of the web page element included;
Web page contents acquiring unit, for according to predetermined web page contents acquisition strategy corresponding with type that is being determined, obtaining
Take the web page contents of the web page element;
Amplifying unit, for according to predetermined magnification ratio or the size based on predetermined magnification region, to acquired net
Page content is amplified;And
Display unit, for showing the web page contents after the amplification in predetermined magnification region, wherein, the web page element
Predefined type include web page interlinkage content, Web page picture content, webpage text content, and
When the web page element is web page interlinkage content, the web page contents acquisition strategy is to obtain whole texts corresponding to link
Word content,
When the web page element is Web page picture content, the web page contents acquisition strategy is in the picture for obtain Web page picture
Hold,
When the web page element is webpage text content, the web page contents acquisition strategy is obtained at click location
A line complete content of line of text.
8. webpage content magnifier as claimed in claim 7, in addition to rearrangement units, for being webpage in the web page element
When linked contents or webpage text content, based on the size of the predetermined magnification region, the web page contents after amplification are carried out
Again typesetting, and
The display unit is configured as the web page contents after the predetermined magnification region shows typesetting again.
9. webpage content magnifier as claimed in claim 7, wherein, comprising web page element include multiple web page elements,
The webpage magnifying glass also includes:
Web page element chooses unit, for according to predetermined web page element Selection Strategy, being selected from the multiple web page element
Target web element.
10. webpage content magnifier as claimed in claim 9, wherein, include in the multiple web page element polytype
During web page element, the web page element is chosen unit and is configured as according to predetermined web page element display priority, from institute
State selection display priority highest web page element in multiple web page elements.
11. the webpage content magnifier as described in claim 9 or 10, wherein, comprising web page element include multiple webpages
Element, the multiple web page element or it is selected go out the number of display priority highest web page element exceed predetermined threshold
During value, the web page element choose unit be configured as from the multiple web page element or it is selected go out display priority most
Web page element of the high web page element selection upper left corner in sample area.
12. webpage content magnifier as claimed in claim 11, wherein, the multiple web page element or it is selected go out
When there is no web page element of the upper left corner in sample area in display priority highest web page element, the web page element choosing
Take unit be configured as from the multiple web page element or it is selected go out display priority highest web page element in select
The content area web page element maximum with sample area intersecting area.
13. webpage content magnifier as claimed in claim 12, wherein, the multiple web page element or it is selected go out
When there is no the web page element that content area intersects with sample area in display priority highest web page element, the web page element
Choose unit be configured as from the multiple web page element or it is selected go out display priority highest web page element in select
Select the minimum web page element of the top ordinate value of content area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310250990.XA CN103365968B (en) | 2013-06-24 | 2013-06-24 | Webpage content magnification method and webpage content magnifier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310250990.XA CN103365968B (en) | 2013-06-24 | 2013-06-24 | Webpage content magnification method and webpage content magnifier |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103365968A CN103365968A (en) | 2013-10-23 |
CN103365968B true CN103365968B (en) | 2018-01-09 |
Family
ID=49367309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310250990.XA Active CN103365968B (en) | 2013-06-24 | 2013-06-24 | Webpage content magnification method and webpage content magnifier |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103365968B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631479B (en) * | 2013-11-01 | 2016-10-05 | 北京奇虎科技有限公司 | Highlight regions method to set up and equipment |
CN104144214B (en) * | 2014-07-21 | 2017-12-29 | 深圳市金立通信设备有限公司 | A kind of network equipment and system |
CN106873866B (en) * | 2016-06-20 | 2020-06-30 | 阿里巴巴集团控股有限公司 | Content amplification display method and device |
CN106339158A (en) * | 2016-08-17 | 2017-01-18 | 东方网力科技股份有限公司 | Dynamic display method and device for static images based on large data |
CN106954091B (en) * | 2016-12-21 | 2019-09-06 | 深圳Tcl数字技术有限公司 | The method and device of TV browser fast browsing webpage |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916900A (en) * | 2006-08-30 | 2007-02-21 | 田园 | Method of browsing web page |
CN102023975A (en) * | 2009-09-10 | 2011-04-20 | 联想(北京)有限公司 | Method, device and browser for magnifying contents of webpage |
CN102298595A (en) * | 2010-06-23 | 2011-12-28 | 北京爱国者信息技术有限公司 | Browser guiding system and guiding method thereof |
CN102981707A (en) * | 2011-11-14 | 2013-03-20 | 微软公司 | Self-adaptive area cursor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7705861B2 (en) * | 2006-01-19 | 2010-04-27 | Microsoft Corporation | Snap to element analytical tool |
-
2013
- 2013-06-24 CN CN201310250990.XA patent/CN103365968B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916900A (en) * | 2006-08-30 | 2007-02-21 | 田园 | Method of browsing web page |
CN102023975A (en) * | 2009-09-10 | 2011-04-20 | 联想(北京)有限公司 | Method, device and browser for magnifying contents of webpage |
CN102298595A (en) * | 2010-06-23 | 2011-12-28 | 北京爱国者信息技术有限公司 | Browser guiding system and guiding method thereof |
CN102981707A (en) * | 2011-11-14 | 2013-03-20 | 微软公司 | Self-adaptive area cursor |
Also Published As
Publication number | Publication date |
---|---|
CN103365968A (en) | 2013-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103365968B (en) | Webpage content magnification method and webpage content magnifier | |
US20220137796A1 (en) | Screen adaptation and displaying method, electronic device and computer storage medium | |
ES2767698T3 (en) | Generating graphical representations of data using multiple representation conventions | |
WO2012055787A4 (en) | Method for displaying a data setid50000036460247 p. doc 2012-01-05 | |
US20150205454A1 (en) | Systems and methods for displaying preview data | |
WO2012122070A2 (en) | Task-based address bar and tabs scaling | |
EP3408752B1 (en) | Object management and visualization using a computing device | |
JP2010152644A (en) | Design support method and design support device | |
CN116844177A (en) | Table identification method, apparatus, device and storage medium | |
CN104317401B (en) | Processing shows the method, apparatus and terminal of the page | |
CN103870115B (en) | Information processing method and electronic equipment | |
CN104238871B (en) | Display control unit | |
CN107153704A (en) | A kind of page display method and its equipment, storage medium, terminal | |
CN108804652B (en) | Method and device for generating cover picture, storage medium and electronic device | |
JP2013541762A (en) | Browser frame with focus on the site | |
JP2014157507A (en) | Display control device | |
CN103970473B (en) | Character display apparatus and character display method | |
CN106021279A (en) | Method and device for information display | |
WO2015033599A1 (en) | Information input device, control method, and program | |
JP2015156087A (en) | Input device, input method, and input program | |
CN111832270B (en) | Method and device for displaying line numbers and column labels of tables in non-table document and electronic equipment | |
CN107016316A (en) | A kind of recognition methods of bar code and device | |
JP6108105B2 (en) | Article image reconstruction device | |
JP2011113438A (en) | Electronic book display device | |
JP6520674B2 (en) | Display system, display terminal, display method, and display program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200526 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. |
|
TR01 | Transfer of patent right |