CN103365968A - Webpage content magnification method and webpage content magnifier - Google Patents

Webpage content magnification method and webpage content magnifier Download PDF

Info

Publication number
CN103365968A
CN103365968A CN201310250990XA CN201310250990A CN103365968A CN 103365968 A CN103365968 A CN 103365968A CN 201310250990X A CN201310250990X A CN 201310250990XA CN 201310250990 A CN201310250990 A CN 201310250990A CN 103365968 A CN103365968 A CN 103365968A
Authority
CN
China
Prior art keywords
web page
page element
contents
content
elements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310250990XA
Other languages
Chinese (zh)
Other versions
CN103365968B (en
Inventor
梁捷
何小鹏
王晓振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201310250990.XA priority Critical patent/CN103365968B/en
Publication of CN103365968A publication Critical patent/CN103365968A/en
Application granted granted Critical
Publication of CN103365968B publication Critical patent/CN103365968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a webpage content magnification method which comprises the steps as follows: determining types of contained webpage elements after detection of the situation that a sampling area comprises the webpage elements of predetermined types when magnification operation is clicked, acquiring webpage contents of the webpage elements according to webpage content acquisition strategies corresponding to the predetermined types and the determined types, and magnifying and displaying the acquired webpage contents in a predetermined magnification area. With the utilization of the method, the webpage contents of the webpage elements are acquired by utilizing the webpage content acquisition strategies corresponding to the predetermined types and the determined types, and the webpage contents are magnified and displayed in the predetermined magnification area, so that the reading experience of users can be improved.

Description

Web page contents amplification method and web page contents magnifier
Technical field
The present invention relates to the web page browsing field, more specifically, relate to a kind of web page contents amplification method and web page contents magnifier of portable terminal.
 
Background technology
Along with the mobile communication technology development, it is popular gradually to utilize portable terminal to carry out web page browsing.Yet, because the display screen of portable terminal is all smaller, usually can be smaller at the web page contents that shows screen display, thus cause the user can't or to be difficult to read, and operating difficulties.For this reason, in many browser of mobile terminal, all be provided with the webpage magnifying function, be used for showing at web page contents and amplify when too small.
When display web page, browser can preserve the displaying ratio of current web page, webpage is not being carried out under the prerequisite of any amplifieroperation, usually on the mobile phone of resolution, the displaying ratio of the common wap page is 1.0, and the ratio that the common www page shows is 0.47.Therefore, if the current displaying ratio of webpage thinks then that less than 0.7 o'clock the web page contents that shows is too small.
Fig. 1 shows a kind of magnifier for the text input frame.As shown in Figure 1, the user can utilize this magnifier to observe current editable position, confirms thus whether tram, current editable position, thereby avoids occurring Edit Error.Fig. 2 shows a kind of magnifier for link.As shown in Figure 2, the user can utilize this magnifier to observe the link that can click, thereby guarantees that mistake appears in the clickthrough operation.
As can be seen from above, but but the purpose of above-mentioned two kinds of magnifieres is that all operating area is avoided occurring because the too small maloperation that causes of operating area by amplifying.Yet, since the zone of such magnifier be fix and magnification region less (for example the zone of the first magnifier can only show 3 words, the zone of the second magnifier can only show 4*7 word), cause to show fully the content after the amplification, thereby show in the too small situation that so that when the user reads, run into web page contents the content that can't utilize above-mentioned magnifier to show that intactly the user after the amplification need to understand promotes reading experience.
Summary of the invention
In view of above-mentioned, the present invention proposes a kind ofly for web page contents amplification method and device, the web page contents of web page element is obtained in web page contents acquisition strategy corresponding to the type with determining that the method utilization is predetermined; And in predetermined magnification region, amplify this web page contents of demonstration, thereby so that the user can read complete linked contents or content of text, improve thus user's experience.
According to an aspect of the present invention, provide a kind of web page contents amplification method, having comprised: when the sample area when detecting the click amplifieroperation comprises the web page element of predefined type, the type of definite web page element that comprises; According to predetermined web page contents acquisition strategy corresponding to the type with determining, obtain the web page contents of described web page element; And amplification shows the described web page contents that obtains in predetermined magnification region, wherein, the predefined type of described web page element comprises the web page interlinkage content, the Web page picture content, webpage text content, and when described web page element is the web page interlinkage content, described web page contents acquisition strategy is to obtain whole word contents corresponding to link, when described web page element is the Web page picture content, described web page contents acquisition strategy is the image content that obtains Web page picture, when described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
In one or more examples aspect above-mentioned, in the web page interlinkage perhaps during webpage text content at described web page element, the web page element after the size that the web page element that shows in described predetermined magnification region is based on described predetermined magnification region is set type again.
In one or more examples aspect above-mentioned, when the web page element that comprises comprises a plurality of web page element, described method can comprise: according to predetermined web page element display priority, select the highest web page element of display priority from described a plurality of web page elements.
In one or more examples aspect above-mentioned, when the number of the highest web page element of described a plurality of web page elements or the selected display priority that goes out surpassed predetermined threshold, described method can comprise from described a plurality of web page elements or the selected the highest web page element of display priority that goes out selected the upper left corner to drop on web page element the sample area.
In one or more examples aspect above-mentioned, when not having the upper left corner to drop on web page element in the sample area in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, described method can comprise that from the highest web page element of described a plurality of web page elements or the selected display priority that goes out chosen content zone and sample area intersect the web page element of area maximum.
In one or more examples aspect above-mentioned, when not having web page element that content area and sample area intersect in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, described method can comprise the web page element of the top ordinate value minimum in chosen content zone from the highest web page element of described a plurality of web page elements or the selected display priority that goes out.
According to a further aspect in the invention, provide a kind of web page contents magnifier, having comprised: the type determining unit, when comprising the web page element of predefined type for the sample area when detecting the click amplifieroperation, the type of definite web page element that comprises; The web page contents acquiring unit is used for according to predetermined web page contents acquisition strategy corresponding to the type with determining, and the web page contents of described web page element is obtained in the web page contents acquisition strategy corresponding to web page contents type of obtaining described web page element; And amplifying unit, be used for amplifying the described web page contents that obtains; Display unit is used for the web page contents after predetermined magnification region shows described amplification, and wherein, the predefined type of described web page element comprises web page interlinkage content, Web page picture content, webpage text content; Amplifying unit is used for amplifying the described web page contents that obtains; And display unit, be used for the web page contents after predetermined magnification region shows described amplification, wherein, when described web page element is the web page interlinkage content, described web page contents acquisition strategy is to obtain whole word contents corresponding to link, when described web page element is the Web page picture content, described web page contents acquisition strategy is the Web page picture that obtains Web page picture, when described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
In one or more examples aspect above-mentioned, described web page contents magnifier can also comprise the rearrangement unit, being used at described web page element is in the web page interlinkage perhaps during webpage text content, size based on described predetermined magnification region, web page contents after amplifying is set type again, and described display unit is configured to the web page contents after described predetermined magnification region shows again composing.
In one or more examples aspect above-mentioned, when the web page element that comprises comprises a plurality of web page element, described webpage magnifier can also comprise: web page element is chosen the unit, is used for according to predetermined web page element selection strategy, select target web page element from described a plurality of web page elements.
In one or more examples aspect above-mentioned, when described a plurality of web page elements comprise polytype web page element, described web page element is chosen the unit and is configured to according to predetermined web page element display priority, selects the highest web page element of display priority from described a plurality of web page elements.
In one or more examples aspect above-mentioned, when the number of the highest web page element of described a plurality of web page elements or the selected display priority that goes out surpassed predetermined threshold, described web page element was chosen the unit and is configured to select the upper left corner to drop on web page element the sample area from described a plurality of web page elements or the selected the highest web page element of display priority that goes out.
In one or more examples aspect above-mentioned, when not having the upper left corner to drop on web page element in the sample area in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, described web page element is chosen the unit and is configured to the web page element that the area maximum is intersected in from the highest web page element of described a plurality of web page elements or the selected display priority that goes out chosen content zone and sample area.
In one or more examples aspect above-mentioned, when not having web page element that content area and sample area intersect in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, described web page element is chosen the web page element that the unit is configured to the top ordinate value minimum in chosen content zone from the highest web page element of described a plurality of web page elements or the selected display priority that goes out.
According to a further aspect in the invention, provide a kind of portable terminal, comprised aforesaid web page contents magnifier.
Utilize said method and device, can by utilizing the predetermined web page contents acquisition strategy corresponding with type that determine, obtain the web page contents of web page element; And in predetermined magnification region, amplify this web page contents of demonstration, thereby so that the user can read complete linked contents or content of text, improve thus user's experience.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention comprise the feature that the back will describe in detail and particularly point out in the claims.Following explanation and accompanying drawing describe some illustrative aspects of the present invention in detail.Yet, the indication of these aspects only be some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
 
Description of drawings
According to following detailed description of carrying out with reference to accompanying drawing, above and other purpose of the present invention, feature and advantage will become more apparent.In the accompanying drawings:
Fig. 1 shows a kind of synoptic diagram of example of the magnifier for the text input frame;
Fig. 2 shows a kind of synoptic diagram of example of the magnifier for linking;
Fig. 3 shows the process flow diagram according to the web page contents amplification method of the first embodiment of the present invention;
Fig. 4 shows the block scheme according to the web page contents magnifier of the first embodiment of the present invention;
Fig. 5 shows the process flow diagram of web page contents amplification method according to a second embodiment of the present invention;
Fig. 6 shows the process flow diagram that web page element is chosen process;
Fig. 7 shows the block scheme of web page contents magnifier according to a second embodiment of the present invention;
Fig. 8 A shows the synoptic diagram for the amplification effect of web page interlinkage content;
Fig. 8 B shows the synoptic diagram for the amplification effect of webpage text content;
Fig. 8 C shows the synoptic diagram for the amplification effect of Web page picture content; With
Fig. 9 shows the block diagram of the portable terminal of the web page contents magnifier that has described in Fig. 4 or Fig. 7.
Identical label is indicated similar or corresponding feature or function in institute's drawings attached.
 
Embodiment
Various aspects of the present disclosure are described below.Should be understood that the instruction of this paper can be with varied form imbody, and disclosed any concrete structure, function or both only are representational in this article.Based on the instruction of this paper, those skilled in the art should be understood that an aspect disclosed herein can be independent of any other side and realize, and the two or more aspects in these aspects can make up according to variety of way.For example, can use the aspect of any number described in this paper, implement device or hands-on approach.In addition, can use other structure, function or except one or more aspects described in this paper or be not the 26S Proteasome Structure and Function of one or more aspects described in this paper, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
The below describes each embodiment of the present invention with reference to Fig. 3 to Fig. 9.
Fig. 3 shows the process flow diagram according to the web page contents amplification method of the first embodiment of the present invention.
As shown in Figure 3, at first, at step S310, the web page element of predefined type during whether the clicking operation of carrying out during detection user's click amplifieroperation is put, the web page element of described predefined type is such as being web page interlinkage content, Web page picture content, webpage text content.For example, when the content of pages of clicking is<a〉during label, this web page contents is the web page interlinkage content.When the content of pages of clicking is<img〉during label, this web page contents is the Web page picture content.When the content of pages of clicking corresponding be large section literal, this web page contents is webpage text content.
During the web page element of predefined type, that is, when the definite result among the step S310 was no, flow process finished in detecting not.In detecting some during the web page element of predefined type, that is, the definite result among the step S310 proceeds to step S320 when being.At step S320, the type of the web page element in definite the putting, that is, the web page element in definite the putting is web page interlinkage content, Web page picture content or webpage text content.
After determining the web page element type, at step S330, according to predetermined web page contents acquisition strategy corresponding to the type with determining, obtain the web page contents of described web page element.In other words, according to the web page element type of determining, from predetermined web page contents acquisition strategy, obtain the web page contents acquisition strategy corresponding with the web page element type of determining.Then, the web page contents selection strategy according to obtaining obtains web page contents.In the present invention, when described web page element is the web page interlinkage content, described web page contents acquisition strategy is to obtain whole word contents corresponding to link, when described web page element is the Web page picture content, described web page contents acquisition strategy is the image content that obtains Web page picture, when described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
After getting access to the web page contents of web page element, at step S340, in predetermined magnification region, amplify the described web page contents that obtains of demonstration.Particularly, at first, according to predetermined magnification ratio or based on the size of predetermined magnification region, the web page contents that obtains is amplified.Then, the web page contents after the described amplification of demonstration in this magnification region.In addition, for the Web page picture content, if the wide Gao Jun of this picture less than 1/2 of screen, this picture of complete demonstration in magnification region then, otherwise according to the position of point in picture of clicking, according to the size of magnification region and picture, display part picture in proportion.
In addition, in the method for present embodiment, before the web page contents after showing described amplification, can also based on the size of described predetermined magnification region, the web page contents after amplifying be set type again.Then, the web page contents after described predetermined magnification region shows again composing.
Fig. 4 shows the block scheme according to the web page contents magnifier 400 of the first embodiment of the present invention.
As shown in Figure 4, web page contents magnifier 400 comprises type determining unit 410, web page contents acquiring unit 420, amplifying unit 430 and display unit 440.
Type determining unit 410 is used for when detecting sample area when clicking amplifieroperation and comprise the web page element of predefined type, namely in during web page element, the type of definite web page element that comprises.The predefined type of described web page element is such as being web page interlinkage content, Web page picture content, webpage text content.
Web page contents acquiring unit 420 links to each other with type determining unit 410, is used for obtaining the web page contents of described web page element according to predetermined web page contents acquisition strategy corresponding to the type with determining.In another example of the present invention, described web page contents magnifier 400 can also comprise web page contents acquisition strategy acquiring unit (not shown), be used for according to the type of determining, obtain corresponding web page contents acquisition strategy in the web page contents acquisition strategy of from portable terminal, storing.Then, web page contents acquiring unit 420 obtains the web page contents of web page element according to described web page contents acquisition strategy.
When described web page element is the web page interlinkage content, described web page contents acquisition strategy is to obtain whole word contents corresponding to link, when described web page element is the Web page picture content, described web page contents acquisition strategy is the image content that obtains Web page picture, when described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
Amplifying unit 430 links to each other with web page contents acquiring unit 420, is used for amplifying the described web page contents that obtains after getting access to the web page contents of web page element.For example, amplifying unit 430 can according to predetermined magnification ratio or based on the size of predetermined magnification region, amplify the web page contents that obtains.Then, display unit 440 web page contents after the described amplification of demonstration in predetermined magnification region.
In another example of the present invention, web page contents magnifier 400 can also comprise resets the unit (not shown), link to each other with display unit 440 with amplifying unit 430, being used at described web page element is in the web page interlinkage perhaps during webpage text content, based on the size of described predetermined magnification region, the web page contents after amplifying is set type again.Then, the web page contents of display unit 440 after described predetermined magnification region shows again composing.
Utilize said method and device, can by utilizing the predetermined web page contents acquisition strategy corresponding with type that determine, obtain the web page contents of web page element; And in predetermined magnification region, amplify this web page contents of demonstration, thereby so that the user can read complete linked contents or content of text, improve thus user's experience.
Fig. 5 shows the process flow diagram of web page contents amplification method according to a second embodiment of the present invention.The second embodiment is the modification of the first embodiment.The step that in Fig. 3, comprises, comprise also among Fig. 5 that step S510 is to S550.The below only describes difference.
As shown in Figure 5, in step S310, detect not in during the web page element of predefined type, proceed to step S510.At step S510, centered by click location, enlarge sample area, and utilize the sample area after enlarging to re-start clicking operation.Here, the expansion of sample area can enlarge according to preliminary dimension.
Then, at step S520, determine whether comprise web page element in the sample area after this expansion, namely after the clicking operation, whether have web page element in this sample area.If there is no, then turn back to step S510, again enlarge sample area, until there is web page element in the sample area.In other example of the present invention, also can only carry out once and to enlarge or pre-determined number enlarges, if finish once or after pre-determined number enlarges, still do not have web page element, then flow process finishes.
If there is web page element, then proceed to step S530.In step S530, determine that whether existing web page element is more than 1 web page element.Iff being single web page element, then proceed to step S310.If more than 1 web page element, then proceed to step S540.In step S540, determine the type of existing web page element.
After determining the type of existing web page element, at step S550, based on predetermined web page element Selection Strategy, from described a plurality of web page elements, choose the web page element that will amplify.After selecting the web page element that will amplify, flow process proceeds to step S330.
Fig. 6 shows the process flow diagram that web page element is chosen process.
As shown in Figure 6, in step S540, determine the type of the web page element that exists in the sample area after, at step S551, determine whether to comprise polytype.
If do not comprise polytype, then proceed to step S553.If comprise polytype, then proceed to step S552.At step S552, based on predetermined web page element display priority, from described a plurality of web page elements, select the highest web page element of display priority, then proceed to step S553.In the present invention, the following setting of web page element display priority: web page interlinkage〉Web page picture〉web page text
At step S553, judge whether the number of the web page element that described a plurality of web page element or the selected display priority that goes out are the highest surpasses predetermined threshold.In an example of the present invention, the predetermined threshold of web page interlinkage content is set to 2, and the predetermined threshold of Web page picture content and webpage text content is set to 1.In other example of the present invention, described predetermined threshold also can be set to other desired value.
In step S553, be judged as when not surpassing predetermined threshold, then at step S554, choose all web page elements, then turn back to step S330.
When in step S553, being judged as above predetermined threshold, proceed to step S555.At step S555, judge whether to exist the upper left corner of content area to drop on web page element in the sample area.In another example of the present invention, also can be to judge whether to exist the upper right corner of content area to drop on web page element in the sample area.If exist, then at step S556, choose this web page element, then turn back to step S330.If there is no, then proceed to step S557.
At step S557, judge whether the web page element that exists content area and sample area to intersect.If exist, then proceed to step S558.At step S558, choose the web page element that content area and sample area intersect the area maximum, then turn back to step S330.
If there is no the crossing web page element of content area and sample area then at step S559, is chosen the web page element of the top ordinate value minimum of content area, then turns back to step S330.
Equally, in other example of the second embodiment, described method also can be included in before the web page contents that shows after the described amplification, can also based on the size of described predetermined magnification region, the web page contents after amplifying be set type again.Then, the web page contents after described predetermined magnification region shows again composing.
The below carries out brief description in the mode of example to the determination methods of the relativeness between content area and the sample area.
The coordinate of supposing sample area is (left0, top0, right0, bottom0), and the coordinate of the content area of web page element is (left1, top1, right1, bottom1).
If left1〉left0 ﹠amp; ﹠amp; Top1〉top0 ﹠amp; ﹠amp; Left1<right0 ﹠amp; ﹠amp; The rreturn value of top1<bottom0 is true, judges that then content area drops on sample area.
If the rreturn value of max (0, min (top0, top1)-max (bottom0, bottom1)) is non-zero, judge that then two zones are crossing.
Two zones are intersected area and are calculated according to following computing formula:
max(0,?min(left0,?left1)?-?max(right0,?right1))?*?max(0,?min(top0,?top1)?-?max(bottom0,?bottom1))。
Fig. 7 shows the block scheme of web page contents magnifier 700 according to a second embodiment of the present invention.
As shown in Figure 7, web page contents magnifier 700 comprises that judging unit 710, type determining unit 720, web page element choose unit 730, web page contents acquiring unit 740, amplifying unit 750 and display unit 760.
Judging unit 710 is used for judging whether a plurality of web page element of the web page element put.In another example of the present invention, web page element during judging unit 710 also can judge whether a little.During web page element, webpage magnifier 700 can also comprise sample area amplifying unit (not shown), is used for enlarging the sample area of clicking operation centered by click location in point not.
Type determining unit 720 links to each other with judging unit 710, be used for when detecting sample area when clicking amplifieroperation and comprise the web page element of predefined type, namely in during web page element, the type of definite web page element that comprises.The predefined type of described web page element is such as being web page interlinkage content, Web page picture content, webpage text content.
Web page element is chosen unit 730 and is linked to each other with type determining unit 720, is used for based on predetermined web page element Selection Strategy, choosing the web page element that will amplify from described a plurality of web page elements when described web page element by point comprises a plurality of web page element.
Particularly, when described a plurality of web page elements comprise polytype web page element, web page element is chosen unit 730 and is configured to according to predetermined web page element display priority, selects the highest web page element of display priority from described a plurality of web page elements.
When the web page element that described a plurality of web page elements are same types or after from described a plurality of web page elements, selecting the highest web page element of display priority, if the number of web page element surpasses predetermined threshold, then web page element is chosen unit 730 and further is configured to select the upper left corner to drop on web page element the sample area from described a plurality of web page elements or the selected the highest web page element of display priority that goes out.
If there is not the upper left corner to drop on web page element in the sample area in the highest web page element of described a plurality of web page element or the selected display priority that goes out, then web page element is chosen unit 730 and is configured to the web page element that the area maximum is intersected in from the highest web page element of described a plurality of web page elements or the selected display priority that goes out chosen content zone and sample area.
If the web page element that does not have content area and sample area to intersect in the highest web page element of described a plurality of web page element or the selected display priority that goes out, then web page element is chosen the web page element that unit 730 is configured to the top ordinate value minimum in chosen content zone from the highest web page element of described a plurality of web page elements or the selected display priority that goes out.
Web page contents acquiring unit 740 is chosen unit 730 with web page element and is linked to each other, and is used for obtaining the web page contents of described web page element according to the predetermined web page contents acquisition strategy corresponding with the type of web page element selected taking-up.In another example of the present invention, web page contents magnifier 700 can also comprise web page contents acquisition strategy acquiring unit (not shown), be used for according to the type of determining, obtain corresponding web page contents acquisition strategy in the web page contents acquisition strategy of from portable terminal, storing.Then, web page contents acquiring unit 740 obtains the web page contents of web page element according to described web page contents acquisition strategy.
When described web page element is the web page interlinkage content, described web page contents acquisition strategy is to obtain whole word contents corresponding to link, when described web page element is the Web page picture content, described web page contents acquisition strategy is the image content that obtains Web page picture, when described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
Amplifying unit 750 links to each other with web page contents acquiring unit 740, is used for amplifying the described web page contents that obtains after getting access to the web page contents of web page element.For example, amplifying unit 430 can according to predetermined magnification ratio or based on the size of predetermined magnification region, amplify the web page contents that obtains.Then, display unit 760 web page contents after the described amplification of demonstration in predetermined magnification region.
In another example of present embodiment, web page contents magnifier 700 can also comprise resets the unit (not shown), link to each other with display unit 760 with amplifying unit 750, being used at described web page element is in the web page interlinkage perhaps during webpage text content, based on the size of described predetermined magnification region, the web page contents after amplifying is set type again.Then, the web page contents of display unit 760 after described predetermined magnification region shows again composing.
Fig. 8 A shows the synoptic diagram for the amplification effect of web page interlinkage content.Shown in Fig. 8 A, for the example of the linked contents shown in Fig. 2, utilize according to after the web page contents amplification method processing of the present invention, the web page contents that utilizes magnifier to see no longer is 4 links, and each link only has segment word, but after two amplifications and the linked contents of complete content arranged.
Fig. 8 B shows the synoptic diagram for the amplification effect of webpage text content.Shown in Fig. 8 B, the user reads after can using magnifier that a plurality of literal of small font are amplified, judge this section literal interested after, carry out again two fingers/double click operation webpage is amplified after reading.
Fig. 8 C shows the synoptic diagram for the amplification effect of Web page picture content.Shown in Fig. 8 C, when the user uses magnifier to touch image content, can eject a picture after the amplification.
Here be noted that, linking to each other between two unit in the web page contents magnifier recited above can be actual connection physically, it also can be the connection of carrying out via other unit, or virtual link, such as the virtual link of realizing by data or information interaction (utilizing in said units in the situation of processor and the storer realization that stores computer program).
Fig. 9 shows the block diagram of the portable terminal of the web page contents magnifier that has described in Fig. 4 or Fig. 7.As shown in Figure 9, described portable terminal 10 comprises such as Fig. 4 or web page contents magnifier shown in Figure 7.Here be noted that the buffer storage that comprises among Fig. 3 can also comprise the various modification of the web page contents magnifier 400 shown in Fig. 4 or Fig. 7 or 700.
In addition, typically, portable terminal of the present invention can be various hand-held terminal devices with Bluetooth function, for example has mobile phone, the PDA(Personal Digital Assistant) of Bluetooth function.
In addition, the method according to this invention can also be implemented as the computer program of being carried out by the processor in the portable terminal (such as CPU), and is stored in the storer of portable terminal.When this computer program is carried out by processor, carry out the above-mentioned functions that limits in the method for the present invention.
In addition, the method according to this invention can also be embodied as a kind of computer program, this computer program comprises computer-readable medium, stores for the computer program of carrying out the above-mentioned functions that method of the present invention limits at this computer-readable medium.
In addition, said method step and system unit also can utilize controller and be used for storage so that controller is realized the computer readable storage devices realization of the computer program of above-mentioned steps or Elementary Function.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps.For this interchangeability of hardware and software clearly is described, with regard to the function of various exemplary components, square, module, circuit and step it has been carried out general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
Although the disclosed content in front shows exemplary embodiment of the present invention, should be noted that under the prerequisite of the scope of the present invention that does not deviate from the claim restriction, can carry out multiple change and modification.Function, step and/or action according to the claim to a method of inventive embodiments described herein do not need to carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless clearly be restricted to odd number.
Be described although as above described each embodiment according to the present invention with reference to figure, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, can also make various improvement on the basis that does not break away from content of the present invention.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (13)

1. web page contents amplification method comprises:
When the sample area when detecting the click amplifieroperation comprises the web page element of predefined type, the type of definite web page element that comprises;
According to predetermined web page contents acquisition strategy corresponding to the type with determining, obtain the web page contents of described web page element; And
In predetermined magnification region, amplify the described web page contents that obtains of demonstration,
Wherein, the predefined type of described web page element comprises web page interlinkage content, Web page picture content, webpage text content, and
When described web page element was the web page interlinkage content, described web page contents acquisition strategy was to obtain whole word contents corresponding to link,
When described web page element was the Web page picture content, described web page contents acquisition strategy was the image content that obtains Web page picture,
When described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
2. web page contents amplification method as claimed in claim 1, wherein, in the web page interlinkage perhaps during webpage text content at described web page element, the web page element after the size that the web page element that shows in described predetermined magnification region is based on described predetermined magnification region is set type again.
3. web page contents amplification method as claimed in claim 1, wherein, the web page element that comprises comprises a plurality of web page elements, described method comprises:
According to predetermined web page element display priority, from described a plurality of web page elements, choose the highest web page element of display priority.
4. such as claim 1 or 3 described web page contents amplification methods, wherein, the web page element that comprises comprises a plurality of web page elements, and described method also comprises:
When the number of the highest web page element of described a plurality of web page elements or the selected display priority that goes out surpasses predetermined threshold, from the highest web page element of described a plurality of web page elements or the selected display priority that goes out, choose the upper left corner and drop on web page element in the sample area.
5. web page contents amplification method as claimed in claim 4 also comprises:
When in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, not having the upper left corner to drop on web page element in the sample area, from the highest web page element of described a plurality of web page elements or the selected display priority that goes out, choose the web page element that content area and sample area intersect the area maximum.
6. web page contents amplification method as claimed in claim 5 also comprises:
When in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, not having web page element that content area and sample area intersect, from the highest web page element of described a plurality of web page elements or the selected display priority that goes out, choose the web page element of the top ordinate value minimum of content area.
7. web page contents magnifier comprises:
The type determining unit, when comprising the web page element of predefined type for the sample area when detecting the click amplifieroperation, the type of definite web page element that comprises;
The web page contents acquiring unit is used for obtaining the web page contents of described web page element according to predetermined web page contents acquisition strategy corresponding to the type with determining;
Amplifying unit is used for amplifying the described web page contents that obtains; And
Display unit is used for the web page contents after predetermined magnification region shows described amplification,
Wherein, the predefined type of described web page element comprises web page interlinkage content, Web page picture content, webpage text content, and
When described web page element was the web page interlinkage content, described web page contents acquisition strategy was to obtain whole word contents corresponding to link,
When described web page element was the Web page picture content, described web page contents acquisition strategy was the image content that obtains Web page picture,
When described web page element was webpage text content, described web page contents acquisition strategy was the delegation's complete content that obtains the present line of text of click location.
8. web page contents magnifier as claimed in claim 7, also comprise the rearrangement unit, being used at described web page element is in the web page interlinkage perhaps during webpage text content, based on the size of described predetermined magnification region, web page contents after amplifying is set type again, and
Described display unit is configured to the web page contents after described predetermined magnification region shows again composing.
9. web page contents magnifier as claimed in claim 7, wherein, the web page element that comprises comprises a plurality of web page elements, described webpage magnifier also comprises:
Web page element is chosen the unit, is used for according to predetermined web page element Selection Strategy, select target web page element from described a plurality of web page elements.
10. web page contents magnifier as claimed in claim 9, wherein, when described a plurality of web page elements comprise polytype web page element, described web page element is chosen the unit and is configured to according to predetermined web page element display priority, selects the highest web page element of display priority from described a plurality of web page elements.
11. such as claim 9 or 10 described web page contents magnifieres, wherein, the web page element that comprises comprises a plurality of web page elements, when the number of the highest web page element of described a plurality of web page elements or the selected display priority that goes out surpassed predetermined threshold, described web page element was chosen the unit and is configured to select the upper left corner to drop on web page element the sample area from described a plurality of web page elements or the selected the highest web page element of display priority that goes out.
12. web page contents magnifier as claimed in claim 11, wherein, when not having the upper left corner to drop on web page element in the sample area in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, described web page element is chosen the unit and is configured to the web page element that the area maximum is intersected in from the highest web page element of described a plurality of web page elements or the selected display priority that goes out chosen content zone and sample area.
13. web page contents magnifier as claimed in claim 12, wherein, when not having web page element that content area and sample area intersect in the highest web page element of described a plurality of web page elements or the selected display priority that goes out, described web page element is chosen the web page element that the unit is configured to the top ordinate value minimum in chosen content zone from the highest web page element of described a plurality of web page elements or the selected display priority that goes out.
CN201310250990.XA 2013-06-24 2013-06-24 Webpage content magnification method and webpage content magnifier Active CN103365968B (en)

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 true CN103365968A (en) 2013-10-23
CN103365968B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631479A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Method and device for setting highlight area
CN104144214A (en) * 2014-07-21 2014-11-12 深圳市金立通信设备有限公司 Network device and system
CN106339158A (en) * 2016-08-17 2017-01-18 东方网力科技股份有限公司 Dynamic display method and device for static images based on large data
CN106873866A (en) * 2016-06-20 2017-06-20 阿里巴巴集团控股有限公司 A kind of content amplification display method and device
CN106954091A (en) * 2016-12-21 2017-07-14 深圳Tcl数字技术有限公司 The method and device of TV browser fast browsing webpage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916900A (en) * 2006-08-30 2007-02-21 田园 Method of browsing web page
US20100149217A1 (en) * 2006-01-19 2010-06-17 Microsoft Corporation Snap to element analytical tool
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149217A1 (en) * 2006-01-19 2010-06-17 Microsoft Corporation Snap to element analytical tool
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631479A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Method and device for setting highlight area
CN103631479B (en) * 2013-11-01 2016-10-05 北京奇虎科技有限公司 Highlight regions method to set up and equipment
CN104144214A (en) * 2014-07-21 2014-11-12 深圳市金立通信设备有限公司 Network device and system
CN104144214B (en) * 2014-07-21 2017-12-29 深圳市金立通信设备有限公司 A kind of network equipment and system
CN106873866A (en) * 2016-06-20 2017-06-20 阿里巴巴集团控股有限公司 A kind of content amplification display method and device
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
CN106954091A (en) * 2016-12-21 2017-07-14 深圳Tcl数字技术有限公司 The method and device of TV browser fast browsing webpage
CN106954091B (en) * 2016-12-21 2019-09-06 深圳Tcl数字技术有限公司 The method and device of TV browser fast browsing webpage

Also Published As

Publication number Publication date
CN103365968B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107783714B (en) Page display method and device, electronic equipment and storage medium
EP2733592A2 (en) Method for arranging a list in a flexible display and electronic device thereof
US20090002324A1 (en) Method, Apparatus and Computer Program Product for Providing a Scrolling Mechanism for Touch Screen Devices
KR101272867B1 (en) Apparatus and method for displaying grid in mobile terminal
CN101908076A (en) Page layout self-adaptive method and device
CN103365968A (en) Webpage content magnification method and webpage content magnifier
CN101984426A (en) Method used for character splitting on webpage picture and device thereof
TW201415347A (en) Method for zooming screen and electronic apparatus and computer program product using the same
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN103336787A (en) Method and device for zooming webpage
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN113204401B (en) Browser rendering method, terminal and storage medium
CN108804584A (en) Method for exhibiting data, device, equipment and storage medium
KR20120029013A (en) Host apparatus and web content display method thereof
CN109753612B (en) Questionnaire display control method and device, storage medium and electronic equipment
CN105159540A (en) Control method of screen state and terminal
JP2009245162A (en) Display control device, display control method, and display control program
CA2743154A1 (en) Method for simulating a page turn in an electronic document
EP3043251A1 (en) Method of displaying content and electronic device implementing same
JP2010191739A (en) Document display device, document display method, and computer program for executing the method
JP2011086050A (en) Information processing terminal and computer program
CN113779321A (en) Electronic whiteboard file saving method and device, electronic whiteboard and storage medium
JP5959064B2 (en) Computer, method and program for displaying document file
CN105022737A (en) Microblog information display method and device
CN105204724A (en) Information display method 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
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