CN103631479B - Highlight regions method to set up and equipment - Google Patents
Highlight regions method to set up and equipment Download PDFInfo
- Publication number
- CN103631479B CN103631479B CN201310535601.8A CN201310535601A CN103631479B CN 103631479 B CN103631479 B CN 103631479B CN 201310535601 A CN201310535601 A CN 201310535601A CN 103631479 B CN103631479 B CN 103631479B
- Authority
- CN
- China
- Prior art keywords
- parameter
- highlight regions
- amendment
- web page
- boundary
- 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
- 238000000034 method Methods 0.000 title claims abstract description 114
- 230000004048 modification Effects 0.000 claims description 13
- 238000012986 modification Methods 0.000 claims description 13
- 230000009286 beneficial effect Effects 0.000 abstract description 6
- 230000008569 process Effects 0.000 description 32
- 230000006870 function Effects 0.000 description 17
- 230000008901 benefit Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 4
- 230000001788 irregular Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 208000003443 Unconsciousness Diseases 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a kind of highlight regions method to set up and equipment.Wherein, highlight regions method to set up includes: search the accessible area of web page interlinkage;Obtain the trigger range of accessible area, and trigger range is set to highlight regions;Obtain boundary parameter and the amendment message of user's input of highlight regions, wherein, amendment message carries the amendment parameter of boundary parameter;According to amendment parameter, boundary parameter is modified, generate amended highlight regions and show.Use the embodiment of the present invention can reach to need highlight regions is carried out personal settings, and then the more efficient and rational beneficial effect utilizing highlight regions to carry out web page interlinkage according to user.
Description
Technical field
The present invention relates to internet, applications field, particularly relate to a kind of highlight regions method to set up and equipment.
Background technology
Along with the fast development of internet arena, how the product in terms of the Internet to increase arranging of more hommization and start more and more to be paid attention to.And the relevant of browser arranges arranging and revising the part always comparing difficult adjustment of middle highlight regions.The scope of highlight regions is usually fixed, and when finger or mouse press down facing to high bright part, the scope of highlight regions there will not be variation.
The more difficult adjustment of range section of highlight regions, is the adjustment not supporting highlight regions mainly due to many browser control parts (such as network browsing (WebView) control), unless customizing browser kernel (such as WebKit kernel) again.Or, use the authority of Web page maker to carry out the adjustment of highlight regions part, that is, only design the author of this webpage and meet specific equipment and just may specify its area size, be difficult to adjust from client realization.
In summary, prior art can not realize personalized customization for the part of highlight regions to user, but fixing, pre-set.If the highlight regions pre-seted is unfavorable for that user clicks on, user also cannot directly revise.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of and overcoming the problems referred to above or solve the highlight regions method to set up of the problems referred to above at least in part and corresponding highlight regions arranges equipment.
According to one aspect of the present invention, it is provided that a kind of highlight regions method to set up, including: search the accessible area of web page interlinkage;Obtain the trigger range of described accessible area, and described trigger range is set to highlight regions;Obtain boundary parameter and the amendment message of user's input of described highlight regions, wherein, described amendment message carries the amendment parameter of boundary parameter;According to described amendment parameter, described boundary parameter is modified, generate amended highlight regions and show.
Alternatively, described accessible area includes: the content display area of described web page interlinkage;Or described web page interlinkage can be performed the mark of operation.
Alternatively, described web page interlinkage includes: Text Link, image link or video link.
Alternatively, before described trigger range is set to highlight regions, including: reflection obtains the highlight regions that described trigger range is corresponding;Described highlight regions is set to addressable open territory.
Alternatively, described highlight regions is set to addressable open territory, including: it is true by the setAccessible parameter modification of described highlight regions.
Alternatively, according to described amendment parameter, described boundary parameter is modified, including: according to described amendment parameter, at least one in described boundary parameter is modified.
Alternatively, when described highlight regions is rectangle, described boundary parameter includes left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.
Alternatively, according to described amendment parameter, at least one in described boundary parameter is modified, including: expand at least one in described boundary parameter according to described amendment parameter;And/or reduce at least one in described boundary parameter according to described amendment parameter.
Alternatively, the amendment parameter for different boundary is same parameters;Or the amendment parameter for different boundary is different parameters.
Alternatively, described method is applicable to Android system.
According to another aspect of the present invention, additionally provide a kind of highlight regions and equipment is set, including: search module, be configured to search the accessible area of web page interlinkage;Module is set, is configured to obtain the trigger range of described accessible area, and described trigger range is set to highlight regions;Parameter acquisition module, is configured to obtain the boundary parameter of described highlight regions and the amendment message of user's input, wherein, carries the amendment parameter of boundary parameter in described amendment message;Modified module, is configured to modify described boundary parameter according to described amendment parameter, generates amended highlight regions and show.
Alternatively, described accessible area includes: the content display area of described web page interlinkage;Or described web page interlinkage can be performed the mark of operation.
According to the embodiment of the present invention, the accessible area of web page interlinkage can be searched, and obtain the trigger range of accessible area, i.e. get highlight regions, solve in prior art, only Web page maker can get highlight regions, causes the problem that user cannot carry out personalized customization to highlight regions.It addition, according to the embodiment of the present invention, it is possible to according to the amendment message of user's input highlight regions modified and arrange, solving in prior art when highlight regions is unfavorable for clicking on, the problem that highlight regions cannot directly be modified by user.Use the embodiment of the present invention can reach to need highlight regions is carried out personal settings and amendment, and then the more efficient and rational beneficial effect utilizing highlight regions to carry out web page interlinkage according to user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the detailed description of the invention of the present invention.
According to below in conjunction with the accompanying drawing detailed description to the specific embodiment of the invention, those skilled in the art will become more apparent from the above-mentioned of the present invention and other purposes, advantage and feature.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the process chart of highlight regions acquisition methods according to an embodiment of the invention;
Fig. 2 shows the process chart of highlight area correction method according to an embodiment of the invention;
Fig. 3 shows the process chart of highlight regions method to set up according to an embodiment of the invention;
Fig. 4 shows the process chart of highlight regions acquisition methods in accordance with a preferred embodiment of the present invention;
Fig. 5 shows the process chart of highlight area correction method in accordance with a preferred embodiment of the present invention;
Fig. 6 shows the process chart of highlight regions method to set up in accordance with a preferred embodiment of the present invention;
Fig. 7 shows the surface chart that highlight regions in accordance with a preferred embodiment of the present invention obtains, revises and arrange;
Fig. 8 shows the structural representation of highlight regions acquisition equipment according to an embodiment of the invention;
Fig. 9 shows the structural representation of highlight regions amendment equipment according to an embodiment of the invention;And
Figure 10 shows that highlight regions according to an embodiment of the invention arranges the structural representation of equipment.
Detailed description of the invention
Algorithm and display are not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.Various general-purpose systems can also be used together with based on teaching in this.As described above, construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, and the description done language-specific above is the preferred forms in order to disclose the present invention.
Along with popularizing of mobile device, web browser the most gradually develops to the direction of mobile device.But, owing to mobile device screen size is less so that the touch click to mobile device screen can not be the most accurate.Such as, when user touches a web page interlinkage with finger on the mobile apparatus, if the accessible area of link is bigger, then will not be pressed by mistake, otherwise, if the accessible area of link is smaller, user touches web page interlinkage, web page interlinkage cannot be reacted, then need user to rake about tangibly point, it is impossible to the link in the choice-start of quickness and high efficiency place.
Providing a kind of method that highlight regions is modified in prior art, the method reaches the purpose modifying highlight regions by amendment kernel.In the specific implementation, this method is generally by used by the browser of the WebKit control of individualized customization, namely by amendment browser kernel assembly, revises highlight regions scope, be then bundled in application program installation kit realization in kernel.Although the method that the highlight regions using prior art to provide is modified can realize the function of amendment " highlight regions " on most equipment, but on actual Product Experience, application program installation kit can be there is compared with the problem such as big (generally taking the memory space of 5MB to 6MB than the browser not using amendment customizing Web Kit assembly), the new feature that the system (such as Android (Android)) of renewal cannot be used more.
As a example by Android, the amending method of the highlight regions that prior art provides is illustrated.In the present embodiment, by extracting the WebKit assembly of Android, then revise, recompilate, the mode such as binding realizes kernel modifications, the function of amendment highlight regions scope from bottom layer realization.Its concrete execution process includes:
Step 1, download the complete source code of WebKit assembly of corresponding A ndroid version;
Step 2, application realize the algorithm of (or part realizes) amendment kernel and revise WebKit assembly;
Step 3, recompilating amended WebKit assembly, generate Android dynamic link library file, usual this document size is 10MB;
Step 4, download the complete source code of WebView control of corresponding A ndroid version;
Step 5, application realize the algorithm of (or part realizes) amendment kernel and revise WebView control;
Step 6, amended with step 2 formerly for amended for step 5 WebView control WebKit assembly is associated;
Step 7, amended WebKit assembly is joined in the installation kit of this application program.
Although amendment this method of kernel is applicable to each platform, but (being not excluded for other platform) in Android platform needs, and " amendment WebKit assembly " is just achieved, its main cause is as described in correlation technique, WebView control itself does not support the adjustment of highlight regions scope, unless walked around WebView control to remodify WebKit assembly.And one of browser kernel assembly kernel being usually operating system, for the Android operation system version that compatibility is older, the product that can support the oldest Webkit(browser kernel assembly corresponding to Android version have to be used, version the most together), is necessary for abandoning or in modes such as adaptations to realize the function of higher Android version.
As the above analysis, the shortcoming of amendment this mode of kernel mainly has:
1, cannot fully use the characteristic of new system (such as Android) version, affect Consumer's Experience;
2, the installation kit of mobile phone browser can increase a lot, generally 5MB to 6MB byte, is unfavorable for the circulation of its network, and because installation kit is relatively big, installation process is slower;
3, there is certain risk in amendment browser kernel assembly, adds great development and adaptive difficulty, it is possible to causes browser collapse to be difficult to find concrete reason.
The problems referred to above existed based on prior art, the embodiment of the present invention achieves on the premise of one do not revises browser kernel, realize obtaining and revising the function of " highlight regions ", not only it is not affected in performance, exploitation is more simple, and supports most of platform or system or equipment (such as Android).Owing to amendment highlight regions is a ring the most important in personalized function, the applicable scope of this inventive embodiments is the broadest, and any device possessing highlighted function or equipment or terminal or system etc. all can use.
Conceive based on foregoing invention, embodiments provide a kind of highlight regions acquisition methods.Fig. 1 shows the process chart of highlight regions acquisition methods according to an embodiment of the invention.As it is shown in figure 1, this flow process at least includes that step S102 is to step S106.
Step S102, the accessible area of lookup web page interlinkage.
The trigger range of the accessible area found in step S104, obtaining step S102, and this trigger range is set to highlight regions.
The highlight regions arranged in step S106, step display S104, in order to user triggers mark in this highlight regions.
According to the embodiment of the present invention, first look for the accessible area of web page interlinkage, and obtain the trigger range of accessible area, secondly trigger range is set to highlight regions, in order to user triggers mark in this highlight regions.The only Web page maker mentioned in prior art has authority and adjusts highlight regions, the problem causing according to user intention, highlight regions to be carried out personalized customization to use the embodiment of the present invention can solve the problem that.Additionally, in embodiments of the present invention, the trigger range of accessible area is shown with highlight regions, user can be allowed easily to obtain the information that accessible area provides, and user can be allowed on this basis apparently clearly to know can trigger range, it is to avoid the inaccurate problem of user operation caused because trigger range is uncertain.
Step S102 in Fig. 1 mentions the accessible area requiring to look up web page interlinkage, specifically, in embodiments of the present invention, step S102 being mentioned, web page interlinkage can be arbitrarily link, it can be such as Text Link, can also be other web page interlinkages such as image link or video link, this be limited by the embodiment of the present invention.In embodiments of the present invention, accessible area can be the content display region of web page interlinkage, can also be that the mark etc. that web page interlinkage can perform operation can point out user can be turned on and off current web page link or the mark of other operations, the closedown mark in the such as web page interlinkage upper right corner, generally by × presented in, after user clicks on this closedown mark, web page interlinkage is closed.
After finding accessible area, embodiment of the present invention reflection obtains the highlight regions that trigger range is corresponding, and this highlight regions is set to addressable open territory.Preferably, in the embodiment of the present invention, by being true by the setAccessible parameter modification of highlight regions, highlight regions is set to addressable open territory.
After aforesaid operations is finished, the embodiment of the present invention continues executing with step S104 as shown in Figure 1, obtains the trigger range of accessible area, and this trigger range is set to highlight regions.Arrange highlight regions complete after, perform step S106 as shown in Figure 1, display high-brightness region, in order to user triggers mark in highlight regions.Additionally, due to the system that android system is current most of smart mobile phone, using Android system is that the preferred embodiments of the present invention are more readily understood the embodiment of the present invention, it is further able to the embodiment of the present invention be illustrated more clear succinct, preferably, the embodiment of the present invention is applicable to android system.But the method that the embodiment of the present invention is provided is not only applicable to android system, it is equally applicable to other systems needing to carry out highlight color adjustment, such as ios system, Saipan system, windows system etc..
The highlight regions acquisition methods provided according to the embodiment of the present invention, it is possible to help user to differentiate the accessible area of web page interlinkage more quickly and easily.But, the accessible area of part web page interlinkage is too small, causes user accurately to carry out clicking on more difficulty.It addition, the accessible area that there is also part web page interlinkage in actual applications is excessive, user may trigger the accessible area of web page interlinkage in the case of unconscious, and web page interlinkage is performed corresponding operating.These problems have a strong impact on Consumer's Experience, cause Consumer's Experience to decline.
For solving above-mentioned technical problem, present invention also offers a kind of highlight area correction method.Fig. 2 shows the process chart of highlight area correction method according to an embodiment of the invention.As in figure 2 it is shown, this flow process at least includes that step S202 is to step S206.
Step S202, the boundary parameter of acquisition highlight regions scope.
Step S204, the amendment message of reception user's input, wherein, carry the amendment parameter of boundary parameter in above-mentioned amendment message.
Step S206, according to amendment parameter boundary parameter is modified, generate amended highlight regions and show.
According to the embodiment of the present invention, obtain the boundary parameter of highlight regions scope, and according to the amendment parameter of user's input, boundary parameter is modified.I.e., in embodiments of the present invention, highlight regions scope can be modified according to user's request, such as, if the accessible area of web page interlinkage is too small, user operation is constant, then the highlight regions part covering accessible area can be increased so that user can conveniently operate;The most such as, if the accessible area of web page interlinkage is excessive, easy maloperation, then can cover the highlight regions range shorter of accessible area, thus avoid being carried out mistaken touch when other operate by user.Therefore, the embodiment of the present invention can reach to revise the purpose of highlight regions scope, thus promotes Consumer's Experience.
It should be noted that, before performing step as shown in Figure 2, first reflection obtains highlight regions.Secondly, highlight regions is set to addressable open territory.Preferably, in the embodiment of the present invention, highlight regions is set to addressable open territory by the way of being true by the setAccessible parameter modification of highlight regions.As in figure 2 it is shown, after getting the highlight regions of web page interlinkage, perform step S202, obtain the boundary parameter of highlight regions scope.The boundary parameter of highlight regions obtain complete after, according to step S204, receive the amendment message carrying boundary parameter of user's input, according to the amendment message of user's input, highlight regions modified.
In the embodiment of the present invention, when highlight regions being modified according to the amendment message of user's input, at least in amendment boundary parameter.Specifically, when highlight regions is rectangle, it is any one or more that boundary parameter includes in left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.When the boundary parameter for rectangle highlight regions is modified, at least one in selection four frames up and down, it is enlarged boundary parameter or reduces the operation of boundary parameter to revise highlight regions scope.Certainly, highlight regions itself also can also is that other arbitrary shapes, the most circular, square, trapezoidal, pentagon, hexagon, irregular figure etc. except rectangle, selectes different shapes as the case may be.The shape selected is different, and its corresponding boundary parameter is the most different.
It addition, in the embodiment of the present invention, when modifying for different boundary, amendment parameter can be same parameters, it is also possible to is different parameters, does different choice according to the difference of highlight regions, in order to more efficient and rational amendment highlight regions.Such as, browse the webpage of news, owing to quantity of information is relatively big, the link of each news closely shows on webpage, under normal circumstances, the highlight regions of the link of each news is smaller, the i.e. regional extent of finger clickthrough also can diminish, and easily exists and clicks on the most responseless situation, passes through the embodiment of the present invention, be amplified after the accessible area of link can be set to highlight regions, in order to user enters the link of selection.After boundary parameter being modified according to amendment parameter, perform step S206, generate amended highlight regions and show.
In the embodiment of the present invention, highlight regions can not only be modified, additionally it is possible to highlight regions is carried out personal settings, in order to user can be carried out web page interlinkage by trigger range by what click highlight regions showed more effectively and rationally.Fig. 3 shows the process chart of highlight regions method to set up according to an embodiment of the invention.As it is shown on figure 3, this flow process at least includes that step S302 is to step S308.
Step S302, the accessible area of lookup web page interlinkage.
The trigger range of the accessible area searched in step S304, obtaining step S302, and this trigger range is set to highlight regions.
The boundary parameter of the highlight regions arranged in step S306, obtaining step S304 and the amendment message of user's input, wherein, carry the amendment parameter of boundary parameter in amendment message.
Step S308, according to amendment parameter the boundary parameter of highlight regions is modified, generate amended highlight regions and show.
According to the embodiment of the present invention, first look for the accessible area of web page interlinkage, and obtain the trigger range of accessible area, secondly trigger range is set to highlight regions, in order to user triggers mark in this highlight regions.The only Web page maker mentioned in prior art has authority and adjusts highlight regions, the problem causing according to user intention, highlight regions to be carried out personalized customization to use the embodiment of the present invention can solve the problem that.It addition, according to the embodiment of the present invention, it is possible to according to the amendment message of user's input highlight regions modified and arrange, solving the problem being difficult to adjust highlight regions size from client mentioned in prior art.Use the embodiment of the present invention can reach to need highlight regions is carried out personal settings and amendment according to user, and then the trigger range of the more efficient and rational accessible area utilized shown by highlight regions carries out the beneficial effect of web page interlinkage operation.
Specifically, as it is shown on figure 3, this flow process originates in step S302, the accessible area of web page interlinkage is searched.In the embodiment of the present invention, web page interlinkage can be Text Link, it is also possible to being the web page interlinkage such as image link and video link, this is not limited by the embodiment of the present invention.It addition, in the embodiment of the present invention, accessible area can be the content display region of web page interlinkage, it is also possible to be the mark etc. that web page interlinkage performs to operate can be pointed out that user click on this region can enter the mark of current web page link.
After finding accessible area, the embodiment of the present invention continues executing with step S304 as shown in Figure 3, obtains the trigger range of accessible area, and trigger range is set to highlight regions.Perform step S304 as shown in Figure 3, after i.e. getting highlight regions, highlight regions has been set to addressable open territory.Preferably, in the embodiment of the present invention, highlight regions is set to addressable open territory by the way of being true by the setAccessible parameter modification of highlight regions.
After highlight regions is set to addressable open territory, perform step S306, obtain boundary parameter and the amendment message of user's input of highlight regions, wherein, amendment message carries the amendment parameter of boundary parameter.After accepting the amendment message of user's input, performing step S308, boundary parameter is modified by the amendment parameter according to carrying in amendment message, then generates amended highlight regions and shows.
In the embodiment of the present invention, when highlight regions being modified according to the amendment message of user's input, at least in amendment boundary parameter.Specifically, when highlight regions is rectangle, it is any one or more that boundary parameter includes in left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.When the boundary parameter for rectangle highlight regions is modified, at least one in selection four frames up and down, it is enlarged boundary parameter or reduces the operation of boundary parameter to revise highlight regions scope.Certainly, highlight regions itself also can also is that other arbitrary shapes, the most circular, square, trapezoidal, pentagon, hexagon, irregular figure etc. except rectangle, selectes different shapes as the case may be.The shape selected is different, and its corresponding boundary parameter is the most different.
In the embodiment of the present invention, when modifying for different boundary, amendment parameter can be same parameters, it is also possible to is different parameters, does different choice according to the difference of highlight regions, in order to more efficient and rational amendment highlight regions.Additionally, due to the system that android system is current most of smart mobile phone, using Android system is that the preferred embodiments of the present invention are more readily understood the embodiment of the present invention, it is further able to the embodiment of the present invention be illustrated more clear succinct, preferably, the embodiment of the present invention is applicable to android system.But the method that the embodiment of the present invention is provided is not only applicable to android system, it is equally applicable to other systems needing to carry out highlight color adjustment, such as ios system, Saipan system, windows system etc..
Embodiment one
Fig. 4 to Fig. 7 shows that highlight regions in accordance with a preferred embodiment of the present invention obtains, revises and the exemplary plot of method to set up, for supporting above-mentioned highlight regions to obtain, revising and method to set up, the acquisition of above-mentioned highlight regions, amendment and method to set up are illustrated more clearly.This preferred embodiment, as a example by android system, describes the flow process of method that highlight regions obtains, revises and arrange in detail.
Firstly, it is necessary to variable and respective behavior to relating in the preferred embodiment of the present invention are defined, for hereinafter using.
Variable-definition:
1, web displaying control object, hereinafter referred to as mWebView: such type is WebView, namely WebView control.
2, the object of web displaying control class, hereinafter referred to as WebViewOrClassicClass: type is Class, is used for reflecting.Android version if greater than or equal to 4.1, then the object that should be WebViewClassic class that such object represents, is otherwise the object of WebView class.
3, the object of web displaying provider field, hereinafter referred to as mWebViewClassicField: type is Field, is used for reflecting.
4, web displaying provider object, hereinafter referred to as mWebViewProvider: type is Object, is used for storing WebView control object to be operated.
5, touching highlighted paintbrush field object, hereinafter referred to as mTouchHightlightPaintField: type is Field.
Behavior defines:
Privately owned attribute is set to publicly-owned attribute: be used for reflecting.
Privately owned attribute is set to publicly-owned attribute method particularly includes: after reflexing to the object of Field or Method, calls the setAccessible method of above-mentioned object, its parameter is set to true.
The purpose of parameter setting step herein is: the object of Field or Method that will be reflected to, from privately owned, is set to addressable disclosed form.
During enforcement, if relating to other objects or parameter, relate to " by privately owned be set to publicly-owned ", all can use according to the method described above.
After each variable and respective behavior definition terminate, start android system and obtain about highlight color and the flow process of amendment.Wherein, the startup of flow process is opportunity: WebView will be initialised when.Meanwhile, during WebView is initialized, the territory that can arrange highlight color object is addressable open territory.
It should be noted that arranging of the character in the territory of highlight color object can have multiple implementation, the embodiment of the present invention preferably employs the mode that parameter is arranged, i.e., after the object in the territory that reflection gets highlight color, it is true by setAccessible parameter modification, it is achieved thereby that above-mentioned purpose.
For becoming apparent from clearer with illustrating by the adjustment mode of highlight color, now provide a complete flow process, from the beginning of version identification, until highlight regions revises complete end.Specifically see below introduction (Fig. 4, Fig. 5 and Fig. 6).
Fig. 4 shows the process chart of highlight regions acquisition methods in accordance with a preferred embodiment of the present invention.Seeing Fig. 4, the method at least comprises the steps:
Step S402, judge whether android system possesses highlighted function, if so, perform step S404, if it is not, flow process terminates.
Specifically, can be by judging that whether current Android version reaches to judge whether it possesses the purpose of highlighted function more than 2.2, namely judge that whether version number (Build.VERSION_CODE) is more than 8.Do not support highlighted function less than the android system of this version, therefore its area size cannot be set, namely initialized operation need not be carried out.
Step S404, determine the class that android system is called, if application WebViewClassic class, then perform step S406, if application WebView class, then perform step S408.
Specifically, can be by judging whether current Android version determines, more than or equal to 4.1, the class that this system can be called, namely judge that whether Build.VERSION_CODE is more than or equal to 16, if not less than 16, then application WebViewClassic class, if less than 16, then application WebView class.
Step S406, WebViewClassic class is assigned to the object of WebViewOrClassic class, triggers step S410.
Specifically, the mProvider object in reflection WebViewOrClassic, namely call getField method, its result is stored as mWebViewClassicField object, and by privately owned be set to publicly-owned, in order to called later and operated;
Further, calling the get method of mWebViewClassicField object, parameter is mWebView, by really needing the mProvider variable used to take out, is finally assigned to mWebViewProvider.
Step S408, WebView class is assigned to WebViewOrClassic object, triggers step S414.
MProvide object in step S410, reflection WebViewOrClassic, is stored as mWebViewClassicField object by its result.
Step S412, call mWebViewClassicField object, by mProvide variable assignments to mWebViewProvide.
MTouchHightlightPaint object in step S414, reflection WebViewOrClassic, is assigned to mTouchHightlightPaintField object by result.
Step S416, succession WebView class.
Step S418, rewriting onDraw method, and terminate flow process.
After the process chart of the highlight regions acquisition methods shown in Fig. 4 terminates, adopt as heir step S418, onDraw flow process can be entered.In onDraw flow process, it is possible to achieve the setting of highlight regions or the personalized measure such as amendment or renewal.
Fig. 5 shows the drafting schematic flow sheet revising highlight regions method according to an embodiment of the invention.Seeing Fig. 5, the method at least comprises the steps:
Step S502, judge whether android system possesses highlighted function, if so, perform step S504, if it is not, flow process terminates.
Step S504, reflection obtain mTouchHightlightRegion object.
Step S506, taking-up mTouchHightlightRect object, and this object is stored, in order to the use of subsequent operation.
Step S508, bottom, top, right and left object of acquisition mTouchHightlightRect object, and tetra-objects of above-mentioned bottom, top, right and left are saved as " former left ", " former top ", " former right " and " former bottom ".
Step S510, create new Rect object.
Step S512, bottom, top, right and left value of new Rect object is set, the boundary parameter i.e. revised according to the amendment information of user's input.
Step S514, create new Region object, during initialization, the Rect object that previous step is arranged is transferred in the constructed fuction of Region as parameter, in order to new Region object is initialized.
Step S516, calling the set method of mTouchHightlightRegion, the transmission of this Region object entered, complete the amendment to highlight regions, flow process terminates.
Fig. 6 shows the process chart of highlight regions method to set up in accordance with a preferred embodiment of the present invention.Seeing Fig. 6, the method at least comprises the steps:
Step S602, judge whether android system possesses highlighted function, if so, perform step S604, if it is not, flow process terminates.
Specifically, can be by judging that whether current Android version reaches to judge whether it possesses the purpose of highlighted function more than 2.2, namely judge that whether version number (Build.VERSION_CODE) is more than 8.Do not support highlighted function less than the android system of this version, therefore its area size cannot be set, namely initialized operation need not be carried out.
Step S604, determine the class that android system is called, if application WebViewClassic class, then perform step S608, if application WebView class, then perform step S606.
Specifically, can be by judging whether current Android version determines, more than or equal to 4.1, the class that this system can be called, namely judge that whether Build.VERSION_CODE is more than or equal to 16, if not less than 16, then application WebViewClassic class, if less than 16, then application WebView class.
Step S606, WebView class is assigned to WebViewOrClassic object, triggers step S610.
Step S608, WebViewClassic class is assigned to the object of WebViewOrClassic class, triggers step S610.
Specifically, the mProvider object in reflection WebViewOrClassic, namely call getField method, its result is stored as mWebViewClassicField object, and by privately owned be set to publicly-owned, in order to called later and operated;
Further, calling the get method of mWebViewClassicField object, parameter is mWebView, by really needing the mProvider variable used to take out, is finally assigned to mWebViewProvider.
Step S610, reflection get the object in the territory of highlight color.
Specifically, step S610 includes three below step:
MProvide object in step A, reflection WebViewOrClassic, is stored as mWebViewClassicField object by its result.
Step B, call mWebViewClassicField object, by mProvide variable assignments to mWebViewProvide.
MTouchHightlightPaint object in step C, reflection WebViewOrClassic, is assigned to mTouchHightlightPaintField object by result.
Step S612, succession WebView class.
Step S614, rewriting onDraw method enter onDraw flow process.
Step S616, reflection obtain mTouchHightlightRegion object.
Step S618, taking-up mTouchHightlightRect object, and this object is stored, in order to the use of subsequent operation.
Step S620, bottom, top, right and left object of acquisition mTouchHightlightRect object, and tetra-objects of above-mentioned bottom, top, right and left are saved as " former left ", " former top ", " former right " and " former bottom ".
Step S622, create new Rect object, bottom, top, right and left value of new Rect object is set, the boundary parameter i.e. revised according to the amendment information of user's input, and create new Region object, during initialization, the Rect object of setting is transferred in the constructed fuction of Region as parameter, in order to new Region object is initialized.
Step S624, calling the set method of mTouchHightlightRegion, the transmission of this Region object entered, complete the amendment to highlight regions, flow process terminates.
Embodiment two
Fig. 7 shows the surface chart that highlight regions in accordance with a preferred embodiment of the present invention obtains, revises and arrange.As shown in Figure 7, according to embodiments of the present invention, the accessible area of web page interlinkage can be got, and this accessible area is set to highlight regions (dash area of picture the most as shown in Figure 7), in order to user picks out the accessible area of web page interlinkage more efficiently.Further, highlight regions amendment according to embodiments of the present invention and method to set up, user can also carry out personalized amendment according to individual demand to highlight regions and arrange, such as, reduces highlight regions or expand highlight regions.Interface as shown in Figure 7 shows and is enlarged highlight regions according to user's request, is extended to highlight regions cover the word below picture, in order to user is more rationally efficiently according to carrying out the operations such as web page interlinkage by trigger range shown by highlight regions.
The highlight regions provided based on the most each preferred embodiment obtains, revises and method to set up, based on same inventive concept, embodiments provide corresponding highlight regions to obtain, revise and arrange equipment, to realize the acquisition of above-mentioned highlight regions, amendment and method to set up.
Fig. 8 shows the structural representation of highlight regions acquisition equipment according to an embodiment of the invention.Seeing Fig. 8, the highlight regions of the embodiment of the present invention obtains equipment and at least includes: searches module 810, arrange module 820 and display module 830.
Now introduce the highlight regions of the embodiment of the present invention and obtain the annexation between each device of equipment or the function of composition and each several part:
Search module 810, be configured to search the accessible area of web page interlinkage.
Module 820 is set, couples with searching module 810, be configured to obtain the trigger range searching the accessible area that module 810 is searched, and this trigger range is set to highlight regions.
Display module 830, couples with arranging module 820, is configured to show the highlight regions arranging module 820 setting, in order to user triggers described mark in this highlight regions.
According to the embodiment of the present invention, first look for the accessible area of web page interlinkage, and obtain the trigger range of accessible area, secondly trigger range is set to highlight regions, in order to user triggers mark in this highlight regions.The only Web page maker mentioned in prior art has authority and adjusts highlight regions, the problem causing according to user intention, highlight regions to be carried out personalized customization to use the embodiment of the present invention can solve the problem that.Additionally, in embodiments of the present invention, the trigger range of accessible area is shown with highlight regions, user can be allowed easily to obtain the information that accessible area provides, and user can be allowed on this basis apparently clearly to know can trigger range, it is to avoid the inaccurate problem of user operation caused because trigger range is uncertain.
As shown in Figure 8, search module 810 and search the accessible area of web page interlinkage.Specifically, in the embodiment of the present invention, web page interlinkage can be arbitrarily link, such as, can be Text Link, it is also possible to being other web page interlinkages such as image link or video link, this is not limited by the embodiment of the present invention.In embodiments of the present invention, accessible area can be the content display region of web page interlinkage, can also be that the mark etc. that web page interlinkage can perform operation can point out user can be turned on and off current web page link or the closedown mark in other mark such as web page interlinkage upper right corner operated, generally by × presented in, after user clicks on this closedown mark, web page interlinkage is closed.
After lookup module 810 finds accessible area, coupled module 820 reflection that arranges obtains the highlight regions that trigger range is corresponding, and this highlight regions is set to addressable open territory.Preferably, in the embodiment of the present invention, by being true by the setAccessible parameter modification of highlight regions, highlight regions is set to addressable open territory.
After aforesaid operations is finished, module 820 is set and obtains the trigger range of the accessible area that above-mentioned lookup module 810 finds, and this trigger range is set to highlight regions.Arrange module 820 arrange highlight regions complete after, as shown in Figure 8, by display module 830 display the highlight regions that module 820 is arranged is set, in order to user this highlight regions trigger described mark.
Fig. 9 shows the structural representation of highlight regions amendment equipment according to an embodiment of the invention.Seeing Fig. 9, the highlight regions amendment equipment of the embodiment of the present invention at least includes: parameter acquisition module 910, receiver module 920 and modified module 930.
Now introduce the annexation between highlight regions amendment each device of equipment of the embodiment of the present invention or the function of composition and each several part:
Parameter acquisition module 910, is configured to obtain the boundary parameter of highlight regions scope.
Receiver module 920, couples with parameter acquisition module 910, is configured to receive the amendment message of user's input, wherein, carries the amendment parameter of boundary parameter in amendment message.
Modified module 930, couples with receiver module 920, is configured to the amendment parameter according to receiver module 920 receives and modifies boundary parameter, generates amended highlight regions and show.
According to the embodiment of the present invention, obtain the boundary parameter of highlight regions scope, and according to the amendment parameter of user's input, boundary parameter is modified.I.e., in embodiments of the present invention, highlight regions scope can be modified according to user's request, such as, if the accessible area of web page interlinkage is too small, user operation inconvenience, then the highlight regions part covering accessible area can be increased so that user can conveniently operate;The most such as, if the accessible area of web page interlinkage is excessive, easy maloperation, then can cover the highlight regions range shorter of accessible area, thus avoid being carried out mistaken touch when other operate by user.Therefore, the embodiment of the present invention can reach to revise the purpose of highlight regions scope, thus promotes Consumer's Experience.
Specifically, first highlight regions amendment equipment reflect acquisition highlight regions, secondly, highlight regions is set to addressable open territory.Preferably, in the embodiment of the present invention, highlight regions is set to addressable open territory by the way of being true by the setAccessible parameter modification of highlight regions.After aforesaid operations is finished, parameter acquisition module 910 as shown in Figure 9 obtain the boundary parameter of highlight regions scope.After getting the boundary parameter of highlight regions, receiver module 920 receives the amendment message carrying boundary parameter of user's input, and highlight regions is modified by the amendment message inputted according to user by modified module 930.
In the embodiment of the present invention, when highlight regions being modified according to the amendment message of user's input, at least in amendment boundary parameter.Specifically, when highlight regions is rectangle, it is any one or more that boundary parameter includes in left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.When the boundary parameter for rectangle highlight regions is modified, at least one in selection four frames up and down, it is enlarged boundary parameter or reduces the operation of boundary parameter to change highlight regions.Certainly, highlight regions itself also can also is that other arbitrary shapes, the most circular, square, trapezoidal, pentagon, hexagon, irregular figure etc. except rectangle, selectes different shapes as the case may be.The shape selected is different, and its corresponding boundary parameter is the most different.
It addition, in the embodiment of the present invention, when modifying for different boundary, amendment parameter can be same parameters, it is also possible to is different parameters, can do different choice according to the difference of highlight regions according to user, in order to more efficient and rational amendment highlight regions.Such as, browse the webpage of news, owing to quantity of information is relatively big, the link of each news closely shows on webpage, under normal circumstances, the highlight regions of the link of each news is smaller, the i.e. regional extent of finger clickthrough also can diminish, and easily exists and clicks on the most responseless situation, passes through the embodiment of the present invention, be amplified after the accessible area of link can be set to highlight regions, in order to user enters the link of selection.
Figure 10 shows that highlight regions according to an embodiment of the invention arranges the structural representation of equipment.Seeing Figure 10, the highlight regions of the embodiment of the present invention arranges equipment and at least includes: searches module 1010, arrange module 1020, parameter acquisition module 1030 and modified module 1040.
Now introduce the highlight regions of the embodiment of the present invention and the annexation between each device of equipment or the function of composition and each several part be set:
Search module 1010, be configured to search the accessible area of web page interlinkage.
Module 1020 is set, couples with searching module 1010, be configured to obtain the trigger range searching the accessible area that module 1010 is searched, and this trigger range is set to highlight regions.
Parameter acquisition module 1030, is coupled with arranging module 1020, is configured to obtain the boundary parameter of highlight regions and the amendment message of user's input, wherein, carries the amendment parameter of boundary parameter in described amendment message.
Modified module 1040, is coupled with parameter acquisition module 1030, is configured to the amendment parameter according to parameter acquisition module 1030 obtains and modifies boundary parameter, generates amended highlight regions and show.
According to the embodiment of the present invention, first look for the accessible area of web page interlinkage, and obtain the trigger range of accessible area, secondly trigger range is set to highlight regions, in order to user triggers mark in this highlight regions.The only Web page maker mentioned in prior art has authority and adjusts highlight regions, the problem causing according to user intention, highlight regions to be carried out personalized customization to use the embodiment of the present invention can solve the problem that.It addition, according to the embodiment of the present invention, it is possible to according to the amendment message of user's input highlight regions modified and arrange, solving the problem being difficult to adjust highlight regions size from client mentioned in prior art.Use the embodiment of the present invention can reach to need highlight regions is carried out personal settings and amendment according to user, and then the trigger range of the more efficient and rational accessible area utilized shown by highlight regions carries out the beneficial effect of web page interlinkage.
Specifically, as shown in Figure 10, search module 1010 and search the accessible area of web page interlinkage.In the embodiment of the present invention, web page interlinkage can be Text Link, it is also possible to being the web page interlinkage such as image link and video link, this is not limited by the embodiment of the present invention.It addition, in the embodiment of the present invention, accessible area can be the content display region of web page interlinkage, it is also possible to be the mark etc. that web page interlinkage performs to operate can be pointed out that user click on this region can enter the mark of current web page link.
After finding accessible area, by arranging module 1020 and obtain the trigger range of accessible area, and trigger range is set to highlight regions.After getting the trigger range of accessible area, highlight regions is set to addressable open territory.Preferably, in the embodiment of the present invention, highlight regions is set to addressable open territory by the way of being true by the setAccessible parameter modification of highlight regions.
After highlight regions is set to addressable open territory, parameter acquisition module 1030 as shown in Figure 10 obtains boundary parameter and the amendment message of user's input of highlight regions, wherein, carries the amendment parameter of boundary parameter in amendment message.After receiving the amendment message of user's input, boundary parameter is modified by the modified module 1040 being coupled with parameter acquisition module 1030 according to the amendment parameter carried in amendment message, then generates amended highlight regions and shows to it.
In the embodiment of the present invention, when highlight regions being modified according to the amendment message of user's input, at least in amendment boundary parameter.Specifically, when highlight regions is rectangle, it is any one or more that boundary parameter includes in left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.When the boundary parameter for rectangle highlight regions is modified, at least one in selection four frames up and down, it is enlarged boundary parameter or reduces the operation of boundary parameter to revise highlight regions.Certainly, highlight regions itself also can also is that other arbitrary shapes, the most circular, square, trapezoidal, pentagon, hexagon, irregular figure etc. except rectangle, selectes different shapes as the case may be.The shape selected is different, and its corresponding boundary parameter is the most different.
In the embodiment of the present invention, when modifying for different boundary, amendment parameter can be same parameters, it is also possible to is different parameters, does different choice according to the difference of highlight regions, in order to more efficient and rational amendment highlight regions.Additionally, due to the system that android system is current most of smart mobile phone, using Android system is that the preferred embodiments of the present invention are more readily understood the embodiment of the present invention, it is further able to the embodiment of the present invention be illustrated more clear succinct, preferably, the embodiment of the present invention is applicable to android system.But the method that the embodiment of the present invention is provided is not only applicable to android system, it is equally applicable to other systems needing to carry out highlight color adjustment, such as ios system, Saipan system, windows system etc..
According to any one preferred embodiment above-mentioned or the combination of multiple preferred embodiment, the embodiment of the present invention can reach following beneficial effect:
According to the embodiment of the present invention, first look for the accessible area of web page interlinkage, and obtain the trigger range of accessible area, secondly trigger range is set to highlight regions, in order to user triggers mark in this highlight regions.The only Web page maker mentioned in prior art has authority and adjusts highlight regions, the problem causing according to user intention, highlight regions to be carried out personalized customization to use the embodiment of the present invention can solve the problem that.It addition, according to the embodiment of the present invention, it is possible to according to the amendment message of user's input highlight regions modified and arrange, solving the problem being difficult to adjust highlight regions size from client mentioned in prior art.Use the embodiment of the present invention can reach to need highlight regions is carried out personal settings and amendment according to user, and then the trigger range of the more efficient and rational accessible area utilized shown by highlight regions carries out the beneficial effect of web page interlinkage operation.
The invention also discloses A1, a kind of highlight regions method to set up, including:
Search the accessible area of web page interlinkage;
Obtain the trigger range of described accessible area, and described trigger range is set to highlight regions;
Obtain boundary parameter and the amendment message of user's input of described highlight regions, wherein, described amendment message carries the amendment parameter of boundary parameter;
According to described amendment parameter, described boundary parameter is modified, generate amended highlight regions and show.
A2, according to the method described in claim A1, wherein, described accessible area includes:
The content display area of described web page interlinkage;Or
Described web page interlinkage can be performed the mark of operation.
A3, according to the method described in claim A1 or A2, wherein, described web page interlinkage includes: Text Link, image link or video link.
A4, according to the method described in claim any one of A1 to A3, wherein, before described trigger range is set to highlight regions, including:
Reflection obtains the highlight regions that described trigger range is corresponding;
Described highlight regions is set to addressable open territory.
A5, according to the method described in claim A4, wherein, described highlight regions is set to addressable open territory, including: be true by the setAccessible parameter modification of described highlight regions.
A6, according to the method described in claim any one of A1 to A5, wherein, according to described amendment parameter, described boundary parameter is modified, including: according to described amendment parameter, at least one in described boundary parameter is modified.
A7, according to the method described in claim any one of A1 to A6, when described highlight regions is rectangle, described boundary parameter includes left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.
A8, according to the method described in claim A6 or A7, wherein, according to described amendment parameter, at least one in described boundary parameter is modified, including:
At least one in described boundary parameter is expanded according to described amendment parameter;And/or
At least one in described boundary parameter is reduced according to described amendment parameter.
A9, according to the method described in claim any one of A1 to A8, wherein,
Amendment parameter for different boundary is same parameters;Or
Amendment parameter for different boundary is different parameters.
A10, according to the method described in claim any one of A1 to A9, wherein, described method is applicable to Android system.
The invention also discloses B11, a kind of highlight regions arranges equipment, including:
Search module, be configured to search the accessible area of web page interlinkage;
Module is set, is configured to obtain the trigger range of described accessible area, and described trigger range is set to highlight regions;
Parameter acquisition module, is configured to obtain the boundary parameter of described highlight regions and the amendment message of user's input, wherein, carries the amendment parameter of boundary parameter in described amendment message;
Modified module, is configured to modify described boundary parameter according to described amendment parameter, generates amended highlight regions and show.
B12, according to the equipment described in claim B11, wherein, described accessible area includes:
The content display area of described web page interlinkage;Or
Described web page interlinkage can be performed the mark of operation.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to simplify that the disclosure helping understands in each inventive aspect, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should not being construed to reflect an intention that, i.e. the present invention for required protection requires than the more feature of feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself is as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.In addition at least some in such feature and/or process or unit excludes each other, can use any combination that all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or all processes of equipment or unit are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing identical, equivalent or similar purpose.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and formed different embodiments.Such as, in detail in the claims, one of arbitrarily can mode the using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with combinations thereof.It will be understood by those of skill in the art that microprocessor or digital signal processor (DSP) can be used in practice to realize highlight regions according to embodiments of the present invention obtains, revises and arrange the some or all functions of some or all parts in equipment.The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program).The program of such present invention of realization can store on a computer-readable medium, or can be to have the form of one or more signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.If in the unit claim listing equipment for drying, several in these devices can be specifically to be embodied by same hardware branch.Word first, second and third use do not indicate that any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although the most detailed multiple exemplary embodiments illustrate and describing the present invention, but, without departing from the spirit and scope of the present invention, still can directly determine according to present disclosure or derive other variations or modifications of many meeting the principle of the invention.Therefore, the scope of the present invention is it is understood that and regard as covering other variations or modifications all these.
Claims (10)
1. a highlight regions method to set up, including:
Searching the accessible area of web page interlinkage, wherein, described accessible area includes: described web page interlinkage
Content display area;Or, it is possible to described web page interlinkage is performed the mark of operation;
Obtain the trigger range of described accessible area, and described trigger range is set to highlight regions;
Obtain boundary parameter and the amendment message of user's input of described highlight regions, wherein, described amendment
Message carries the amendment parameter of boundary parameter;
According to described amendment parameter, described boundary parameter is modified, generate amended highlight regions and show
Show.
Method the most according to claim 1, wherein, described web page interlinkage includes: Text Link,
Image link or video link.
Method the most according to claim 1, wherein, is set to highlight regions by described trigger range
Before, including:
Reflection obtains the highlight regions that described trigger range is corresponding;
Described highlight regions is set to addressable open territory.
Method the most according to claim 3, wherein, is set to addressable by described highlight regions
Open territory, including: it is true by the setAccessible parameter modification of described highlight regions.
5. according to the method described in any one of Claims 1-4, wherein, according to described amendment parameter pair
Described boundary parameter is modified, including: according to described amendment parameter at least in described boundary parameter
Individual modify.
6. according to the method described in any one of Claims 1-4, when described highlight regions is rectangle, institute
State boundary parameter and include left frame parameter, left frame parameter, upper side frame parameter and lower frame parameter.
Method the most according to claim 5, wherein, joins described border according to described amendment parameter
At least one in number is modified, including:
At least one in described boundary parameter is expanded according to described amendment parameter;And/or
At least one in described boundary parameter is reduced according to described amendment parameter.
8. according to the method described in any one of Claims 1-4, wherein,
Amendment parameter for different boundary is same parameters;Or
Amendment parameter for different boundary is different parameters.
9. according to the method described in any one of Claims 1-4, wherein, described method is applicable to Android
System.
10. highlight regions arranges an equipment, including:
Search module, be configured to search the accessible area of web page interlinkage, wherein, described accessible area bag
Include: the content display area of described web page interlinkage;Or, it is possible to described web page interlinkage is performed the mark of operation;
Module is set, is configured to obtain the trigger range of described accessible area, and described trigger range is set
It is set to highlight regions;
Parameter acquisition module, is configured to obtain the boundary parameter of described highlight regions and the amendment of user's input
Message, wherein, carries the amendment parameter of boundary parameter in described amendment message;
Modified module, is configured to modify described boundary parameter according to described amendment parameter, generates amendment
After highlight regions and show.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310535601.8A CN103631479B (en) | 2013-11-01 | 2013-11-01 | Highlight regions method to set up and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310535601.8A CN103631479B (en) | 2013-11-01 | 2013-11-01 | Highlight regions method to set up and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103631479A CN103631479A (en) | 2014-03-12 |
CN103631479B true CN103631479B (en) | 2016-10-05 |
Family
ID=50212614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310535601.8A Active CN103631479B (en) | 2013-11-01 | 2013-11-01 | Highlight regions method to set up and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103631479B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147702A (en) * | 2010-02-05 | 2011-08-10 | 三星电子株式会社 | Method and apparatus for selecting hyperlinks |
CN102830936A (en) * | 2012-09-02 | 2012-12-19 | 广州市渡明信息技术有限公司 | Browsing method of mobile equipment and mobile equipment |
CN102855072A (en) * | 2011-06-28 | 2013-01-02 | 深圳富泰宏精密工业有限公司 | Webpage auxiliary amplification system and webpage auxiliary amplification method |
CN103365968A (en) * | 2013-06-24 | 2013-10-23 | 广州市动景计算机科技有限公司 | Webpage content magnification method and webpage content magnifier |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2080086A4 (en) * | 2006-10-31 | 2011-06-08 | Research In Motion Ltd | Controlling display images on a mobile device |
KR101517618B1 (en) * | 2008-10-31 | 2015-05-04 | 삼성전자주식회사 | Apparatus and method for displaying web contents effectively |
-
2013
- 2013-11-01 CN CN201310535601.8A patent/CN103631479B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147702A (en) * | 2010-02-05 | 2011-08-10 | 三星电子株式会社 | Method and apparatus for selecting hyperlinks |
CN102855072A (en) * | 2011-06-28 | 2013-01-02 | 深圳富泰宏精密工业有限公司 | Webpage auxiliary amplification system and webpage auxiliary amplification method |
CN102830936A (en) * | 2012-09-02 | 2012-12-19 | 广州市渡明信息技术有限公司 | Browsing method of mobile equipment and mobile equipment |
CN103365968A (en) * | 2013-06-24 | 2013-10-23 | 广州市动景计算机科技有限公司 | Webpage content magnification method and webpage content magnifier |
Also Published As
Publication number | Publication date |
---|---|
CN103631479A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2020200349B2 (en) | Device, system, and method of website building by utilizing data lists | |
US10846460B2 (en) | Method and apparatus for launching application page, and electronic device | |
CN107329743B (en) | Application page display method and device and storage medium | |
CN107679113B (en) | Light application acquisition method and device and electronic device | |
KR101955463B1 (en) | System and Method for recommending application using contents analysis | |
CN111796823A (en) | Method and device for updating page and displaying page and page maintenance system | |
KR102410472B1 (en) | Method and apparatus for providing information based on webpage | |
US20160266776A1 (en) | Video content play | |
US20150113525A1 (en) | Method for a Reader to Provide Service, Reader and Computer-Readable Storage Medium | |
CN103092833A (en) | Method, apparatus and mobile device for viewing pictures in mobile browser | |
CN105653578A (en) | Browser operation method and electronic equipment | |
CN106528889B (en) | A kind of information search method and terminal | |
WO2017167072A1 (en) | Page processing method, device and intelligent terminal | |
CN112631591A (en) | Table element linkage method, device, equipment and computer readable storage medium | |
US20180365199A1 (en) | Page display method and device and storage medium | |
KR101777035B1 (en) | Method and device for filtering address, program and recording medium | |
CN111898053A (en) | Page browsing method, device, equipment and computer readable storage medium | |
CN106599257B (en) | Method for realizing page shortcut and electronic equipment | |
CN109558553B (en) | Method and device for determining style | |
CN105630304A (en) | Browser operation method and electronic equipment | |
CN103631479B (en) | Highlight regions method to set up and equipment | |
CN110750748A (en) | Webpage display method | |
CN107770630B (en) | Television navigation page display method and device, navigation system and readable storage medium | |
US9772983B2 (en) | Automatic color selection | |
CN105630891A (en) | Menu option display method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220725 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |