CN102662567B - The method and apparatus of operation in trigger web pages - Google Patents
The method and apparatus of operation in trigger web pages Download PDFInfo
- Publication number
- CN102662567B CN102662567B CN201210079408.3A CN201210079408A CN102662567B CN 102662567 B CN102662567 B CN 102662567B CN 201210079408 A CN201210079408 A CN 201210079408A CN 102662567 B CN102662567 B CN 102662567B
- Authority
- CN
- China
- Prior art keywords
- webpage
- event
- self
- invalid
- invalid event
- 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 37
- 238000012544 monitoring process Methods 0.000 claims abstract description 47
- 238000005096 rolling process Methods 0.000 claims description 15
- 230000006855 networking Effects 0.000 claims description 11
- 239000000725 suspension Substances 0.000 claims description 9
- 230000004044 response Effects 0.000 abstract description 10
- 230000003993 interaction Effects 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 17
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000003756 stirring Methods 0.000 description 2
- 244000097202 Rathbunia alamosensis Species 0.000 description 1
- 235000009776 Rathbunia alamosensis Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the method and apparatus of operation in a kind of trigger web pages, belong to field of computer technology.Described method comprises: the request receiving the accessed web page that user sends, obtained and display web page by web browser, the invalid event of supervisory user by producing during input equipment operation web page, when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, invalid event is corresponding.Response is made to the invalid operation of user, enhances the ability of man-machine interaction, promote Consumer's Experience.
Description
Technical field
The present invention relates to field of computer technology, the method and apparatus particularly operated in a kind of trigger web pages.
Background technology
Browser is for display web page, and can realize user and the mutual software of shown webpage.Generally, it is mutual that user can realize with the webpage shown by browser by effective mouse action, particularly, effective mouse action comprises: by the link in mouse webpage clicking, the roller of one direction sliding mouse on webpage, or by the scroll bar etc. in mouse webpage clicking; Browser, when the valid function of user to webpage being detected, performs the event that this valid function is corresponding, and such as, user, by the link in mouse webpage clicking, opens the webpage of this link correspondence, or, user by the roller of sliding mouse, rolling webpage etc.
In prior art, browser cannot provide response for user's some invalid operation to webpage.
Summary of the invention
In order to solve the problem of prior art, embodiments provide the method and apparatus of operation in a kind of trigger web pages.Described technical scheme is as follows:
A method for operation in trigger web pages, described method comprises:
Receive the request of the accessed web page that user sends, obtained by web browser and show described webpage;
Monitor the invalid event produced when described user operates described webpage by input equipment;
When monitoring described invalid event and meeting predetermined condition, trigger the self-defining operation that in described webpage, described invalid event is corresponding;
Wherein, described self-defining operation comprises and obtains and present the message of particular type in webpage shown by described web browser;
Wherein, corresponding relation between invalid event and self-defining operation is set up at random according to the custom of browsing of user;
Wherein, described acquisition also presents the message of particular type in webpage shown by described web browser, comprising:
Under being the scene of social networking service webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present good friend's multidate information of the user of registration social networking service SNS webpage, obtain and present the review information in SNS webpage, obtain and present the hot issue in SNS webpage, or obtain and present the address list information of the user of registration SNS webpage;
Under being the scene of search class webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present the content of popular search in described search class webpage;
Under being the scene of news category webpage for the webpage shown by described webpage, described self-defining operation comprises and obtaining and the hot news content presented in described news category webpage.
The invalid event that described monitoring described user produces when operating described webpage by input equipment comprises:
The invalid event produced when described user operates described webpage by input equipment is monitored by the application program Javascript preset.
Described input equipment at least comprises mouse, keyboard or touch pad.
Described invalid event at least comprises: the touch event of mouse pointer in preset direction suspension moving event or described webpage on precalculated position in the intersection rolling event of mouse roller, the described web browser scroll bar mouse click event within the both direction preset intersects moving event, described webpage on precalculated position, described webpage.
Described when monitoring described invalid event and meeting predetermined condition, trigger the self-defining operation that in described webpage, described invalid event is corresponding and comprise:
When monitoring described invalid event, trigger the random corresponding self-defining operation of described invalid event in described webpage; Or
Monitor described invalid event when reaching pre-determined number in the given time, trigger the random corresponding self-defining operation of described invalid event in described webpage.
An equipment for operation in trigger web pages, described equipment comprises: display module, monitoring module and trigger module;
Described display module, for receiving the request of the accessed web page that user sends, being obtained by web browser and showing described webpage;
Described monitoring module, for monitoring the invalid event produced when described user operates described webpage by input equipment;
Described trigger module, for when monitoring described invalid event and meeting predetermined condition, triggers the self-defining operation that in described webpage, described invalid event is corresponding;
Wherein, described self-defining operation comprises and obtains and present the message of particular type in webpage shown by described web browser;
Wherein, corresponding relation between invalid event and self-defining operation is set up at random according to the custom of browsing of user;
Wherein, described acquisition also presents the message of particular type in webpage shown by described web browser, comprising:
Under being the scene of social networking service webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present good friend's multidate information of the user of registration social networking service SNS webpage, obtain and present the review information in SNS webpage, obtain and present the hot issue in SNS webpage, or obtain and present the address list information of the user of registration SNS webpage;
Under being the scene of search class webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present the content of popular search in described search class webpage;
Under being the scene of news category webpage for the webpage shown by described webpage, described self-defining operation comprises and obtaining and the hot news content presented in described news category webpage.
Described monitoring module, monitors specifically for the application program Javascript by presetting the invalid event produced when described user operates described webpage by input equipment.
Described input equipment at least comprises mouse, keyboard or touch pad.
Described invalid event at least comprises: the touch event of mouse pointer in preset direction suspension moving event or described webpage on precalculated position in the intersection rolling event of mouse roller, the described web browser scroll bar mouse click event within the both direction preset intersects moving event, described webpage on precalculated position, described webpage.
Trigger module comprises:
First trigger element, during for monitoring described invalid event, triggers the random corresponding self-defining operation of described invalid event in described webpage; Or
Second trigger element, for monitor described invalid event reach pre-determined number in the given time time, trigger the random corresponding self-defining operation of described invalid event in described webpage.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: supervisory user is to the invalid event by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, this invalid event is corresponding, response is made to some invalid operation of user, take full advantage of the function of input equipment, enhance the ability of man-machine interaction, promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram of the interior operation of a kind of trigger web pages that the specific embodiment of the invention provides;
Fig. 2 is the method flow schematic diagram of the interior operation of a kind of trigger web pages that the specific embodiment of the invention provides;
Fig. 3 is the method flow schematic diagram of the interior operation of a kind of trigger web pages that the specific embodiment of the invention provides;
Fig. 4 is the structural representation of the equipment of the interior operation of a kind of trigger web pages that the specific embodiment of the invention provides;
Fig. 5 is the structural representation of the equipment of the interior operation of another kind of trigger web pages that the specific embodiment of the invention provides;
Fig. 6 is the structural representation of the equipment of the interior operation of another kind of trigger web pages that the specific embodiment of the invention provides;
Fig. 7 is the structural representation of the equipment of the interior operation of another kind of trigger web pages that the specific embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, the method for operation in a kind of trigger web pages, described method comprises following operation:
Step 101: the request receiving the accessed web page that user sends, is obtained by web browser and show described webpage;
Step 102: the invalid event produced when supervisory user operates described webpage by input equipment;
Step 103: when monitoring described invalid event and meeting predetermined condition, trigger the self-defining operation that in described webpage, described invalid event is corresponding.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: supervisory user is to the invalid event by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, this invalid event is corresponding, response is made to some invalid operation of user, take full advantage of the function of input equipment, enhance the ability of man-machine interaction, promote Consumer's Experience.
In the embodiment of the present invention, by the operation of user by producing during webpage shown by input equipment operating web browser device, be called event, described event is divided into validity event and invalid event.Wherein, described validity event is the event corresponding with the function that web browser provides, and described invalid event is not corresponding with the function that web browser provides event.
Under normal circumstances, web browser is set up has validity event and web browser to provide corresponding relation between function, function that described browser provides can comprise page turning, open links on web pages or webpage redirect etc., and above-mentioned browser provide function validity event corresponding respectively can comprise browser scroll bar rolling event, for the mouse click event of link or mouse drag events in one direction.When specific implementation, user links by the button webpage clicking of clicking the mouse, and produces effective Onclick (click) event, and web browser, when knowing this Onclick event, triggers browser and opens described link; User, by mouse drag browser scroll bar, produces effective browser scroll bar rolling event, and web browser, when knowing this browser rolling event, triggers current web page and stirs; User makes mouse pointer slide to a direction on display web page by button of clicking the mouse, then produce effective redirect event, when web browser knows this redirect event, then jump to the page shown by new tag entry.
In the embodiment of the present invention, removing in web browser provide function corresponding validity event outside, when user operates shown webpage by input equipment, may produce some not with web browser provide function corresponding event, namely the invalid event described in the embodiment of the present invention, as the intersection rolling event of mouse roller, the both direction intersection moving event that web browser scroll bar is being preset, mouse click event in webpage on precalculated position, the touch event of mouse pointer in preset direction suspension moving event or webpage on precalculated position in webpage.The above-mentioned invalid event of the None-identified of existing web browser own, even if when web browser detects above-mentioned invalid event, can not give any response.
Wherein, described input equipment includes but not limited to mouse, keyboard or touch pad.
In the embodiment of the present invention, in order to ensure that web browser can respond above-mentioned invalid event, to improve the experience of user, provide the method for operation in a kind of trigger web pages, specifically comprise: the corresponding relation setting up self-defining operation in invalid event and webpage, the invalid event of supervisory user by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, described invalid event is corresponding, realizes the response to described invalid event.Then describe this process in detail in conjunction with specific embodiments below:
As a kind of preferred embodiment, see Fig. 2, for the method operated in a kind of trigger web pages that the embodiment of the present invention provides, the method specifically can be realized by equipment such as computing machine, mobile phone or panel computers, further, the method can be realized by the web browser client being built in the equipment such as computing machine, mobile phone or panel computer, comprising:
201: set up corresponding relation between invalid event and self-defining operation;
In the embodiment of the present invention, described self-defining operation can comprise and obtains and present the message of particular type in webpage shown by web browser;
Be social networking service (SocialNetworkingServices for the webpage shown by browsing device net page, under the scene of SNS) webpage, described self-defining operation can include but not limited to obtain and present good friend's multidate information of the user of registration SNS webpage, obtain and present the review information in SNS webpage, obtain and present the hot issue in SNS webpage, or obtain and present the address list information of the user of registration SNS webpage;
Be that under the scene of search class webpage (as Baidu, searching or Google etc.), described self-defining operation can include but not limited to obtain and present the content etc. of popular search in described search class webpage for the webpage shown by browsing device net page;
Be under the scene of news category webpage (as Sina News or Tengxun's news web page etc.) for the webpage shown by browsing device net page, described self-defining operation can include but not limited to obtain and present the hot news content etc. in described news category webpage;
In a word, the embodiment of the present invention does not limit described self-defining operation, and slip-stick artist can set the message of the particular type obtained and in the webpage that presents according to the type of shown webpage.
Further, between invalid event with self-defining operation, corresponding relation can be random corresponding, self-defining operation for the current correspondence of same invalid event can be the hot issue obtaining and present in SNS webpage, and corresponding self-defining operation can be obtain and present the address list information of the user of registration SNS webpage at lower a moment; Namely corresponding relation between invalid event and self-defining operation can be set up at random according to the custom of browsing of user, as often checked the hot issue in SNS webpage during user's first time period, then during first time period, invalid event can with to obtain and to present the operation of the hot issue in SNS webpage corresponding, and for example user often checks the review information in SNS webpage at the second time durations, in then during the second time period, same invalid event can with to obtain and to present the operation of the review information in SNS webpage corresponding.
202: the request receiving the accessed web page that user sends, is obtained by web browser and show described webpage;
Particularly, receive the URL(uniform resource locator) (Uniform/UniversalResourceLocator of the accessed web page that user sends, URL), in the webserver, webpage corresponding to described URL(uniform resource locator) is obtained by web browser, and show the webpage obtained, so that user is operated shown webpage by input equipment.
Be the application scenarios of mouse for input equipment, user just can intersect roll mouse pair of rollers shown by webpage operate, (Mouse-Wheel-Cross-rolling) event of now intersection producing invalid mouse roller being rolled; User can also drag web browser scroll bar by button of clicking the mouse in the both direction (generally in upper and lower both direction) preset, and now produces invalid web browser scroll bar in the both direction preset, intersects the event of movement; Moreover user can, by dragging mouse, make the pointer of mouse move on webpage, to produce in invalid webpage mouse pointer herein in the event of presetting method OnMouseover (suspension) movement; In addition, the button that user can also click the mouse in the precalculated position of shown webpage (as webpage blank space), now produces the mouse click event on precalculated position in invalid webpage.
Be touch pad for input equipment, and this touch pad shows the application scenarios of the webpage obtained, user can touch the precalculated position (as shown the blank space of webpage) on shown webpage, now produces the touch event etc. on precalculated position in invalid webpage.
Be the application scenarios of keyboard for input equipment, user can be operated described webpage by the cursor of key or the space bar etc. up and down on this keyboard on the shown webpage of operation, as subscriber equipment makes web browser scroll bar upper mobile in the both direction (in upper and lower both direction) preset by the key up and down on operation keyboard, now produce invalid web browser scroll bar in the both direction preset, intersect the event etc. of movement.
In the embodiment of the present invention, the event produced time mutual between user with webpage all corresponding one processes function, and described process function is write in advance by slip-stick artist and stored in a user device, to user and webpage mutual time the event that produces process.
Step 203: the invalid event produced during webpage shown by supervisory user is operated by input equipment;
Particularly, the invalid event of application program Javascript monitoring users by producing during input equipment operation web page by presetting.
Step 204: when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, invalid event is corresponding;
Particularly, comprise when this step realizes:
When monitoring invalid event, the random corresponding self-defining operation of invalid event in trigger web pages; Or
Monitor invalid event when reaching pre-determined number in the given time, the random corresponding self-defining operation of invalid event in trigger web pages.
The embodiment of the present invention is when specific implementation, alternatively, one timer sum counter is set, described timer is used for timing, the timing of described timer can artificially or software merit rating, the number of times that described counter user number counting invalid event occurs, when first time monitors invalid event, start described timer and described counter, afterwards, often monitor an invalid event, described counter just adds 1, before described regular device time-out, if the counting of described counter reaches predetermined value, the then random corresponding self-defining operation of invalid event in trigger web pages, if during described timer expiry, the counting of described counter does not also reach predetermined value, then this policer operation terminates.
The invalid mouse roller intersection rolling event produced when now being operated shown webpage by mouse for user, describes the implementation procedure of technique scheme in detail, specific as follows:
When user's sliding mouse roller stirs shown webpage, produce mouse roller event, the application program Javascript pre-set monitors the mouse roller event produced, the embodiment of the present invention also arranges a timer sum counter, the timing of described timer is the schedule time, can artificially configure, for timing, described counter is then for counting the number of times of invalid event.
So, when Javascript listens to described mouse roller event, the process function giving described mouse roller event corresponding this mouse roller event delivery;
Described process function is determined and is recorded the current rotating direction of described mouse roller event;
Javascript judges that whether the current rotating direction of mouse roller event is consistent with last rotating direction;
When the current rotating direction of mouse rollovers event and last rotating direction are default both direction, namely produce invalid mouse rollovers intersect rolling event time, then counter adds 1;
When the current rotating direction of mouse rollovers event and last rotating direction are identical direction, be then left intact;
Javascript judges whether the counting of counter is predetermined value before timer arrives;
When timer timing arrive before, counter be counted as predetermined value time, then the self-defining operation that in trigger web pages, invalid event is corresponding;
When the timing of timer reaches, the counting of counter reaches predetermined value not yet, then the operation of epicycle monitoring mouse rollovers event terminates.
The monitor procedure of other invalid events is identical with above-mentioned monitor procedure, just repeats no more herein.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: supervisory user is to the invalid event by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, this invalid event is corresponding, response is made to some invalid operation of user, enhance the ability of man-machine interaction, promote Consumer's Experience.
As another optional embodiment, see Fig. 3, for opened webpage for SNS webpage describes technical scheme described in above-described embodiment in detail, a kind of method obtaining operation in SNS webpage, the method specifically can be realized by equipment such as computing machine, mobile phone or panel computers, further, the method can be realized by the web browser client being built in the equipment such as computing machine, mobile phone or panel computer, comprising:
Step 301: set up corresponding relation between invalid event and self-defining operation;
Detailed description about this step refers to description relevant in step 201, just repeats no more herein.
Step 302: the request receiving the access social networking service SNS webpage that user sends, is obtained by web browser and show SNS webpage;
By the invalid event of application program Javascript monitoring users by producing during input equipment operation SNS webpage preset.
Step 303: the invalid event of supervisory user by producing during input equipment operation SNS webpage;
Described invalid event at least comprises: mouse roller is the touch event of mouse pointer in preset direction suspension moving event or SNS webpage on precalculated position within the both direction preset intersects rolling event, the mouse click event of web browser scroll bar within the both direction preset intersects moving event, SNS webpage on precalculated position, SNS webpage.
Step 304: when monitoring invalid event and meeting predetermined condition, triggers the self-defining operation that in SNS webpage, invalid event is corresponding, obtains and presents the message of the predetermine class in SNS webpage.
Particularly, when monitoring invalid event and meeting predetermined condition, trigger the self-defining operation that in SNS webpage, invalid event is corresponding and comprise:
When monitoring invalid event, trigger the random corresponding self-defining operation of invalid event in SNS webpage; Or
Monitor invalid event when reaching pre-determined number in the given time, trigger the random corresponding self-defining operation of invalid event in SNS webpage.
Particularly, to obtain and the message presenting the predetermine class in SNS webpage comprises:
Interconnection network server, and search in the described webserver and present the message of the predetermine class in SNS webpage.
Wherein, the message of the predetermine class in described SNS webpage at least comprises: the address list information of the user of the review information in good friend's multidate information of user, SNS webpage, the hot issue in SNS webpage or SNS webpage.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: supervisory user is to the invalid event by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, this invalid event is corresponding, response is made to some invalid operation of user, take full advantage of the function of input equipment, enhance the ability of man-machine interaction, promote Consumer's Experience.
See Fig. 4, the embodiment of the present invention additionally provides the equipment of operation in a kind of trigger web pages, and this equipment can be mobile phone, computing machine or dull and stereotyped telegram etc., comprising: display module 401, monitoring module 402 and trigger module 403;
Display module 401, for receiving the request of the accessed web page that user sends, is obtained and display web page by web browser;
Monitoring module 402, for the invalid event of supervisory user by producing during input equipment operation web page;
Described input equipment at least comprises mouse, keyboard or touch pad.
Described invalid event at least comprises: the touch event of mouse pointer in preset direction suspension moving event or webpage on precalculated position in the intersection rolling event of mouse roller, the web browser scroll bar mouse click event within the both direction preset intersects moving event, webpage on precalculated position, webpage.
Trigger module 403, for when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, invalid event is corresponding.
In the embodiment of the present invention, monitoring module 402, monitors specifically for the application program Javascript by presetting the invalid event produced when described user operates described webpage by input equipment.
See Fig. 5, embodiment of the present invention trigger module 403 as shown in Figure 4 comprises:
First trigger element 4031, during for monitoring described invalid event, triggers the random corresponding self-defining operation of described invalid event in described webpage; Or
Second trigger element 4032, for monitor described invalid event reach pre-determined number in the given time time, trigger the random corresponding self-defining operation of described invalid event in described webpage.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: supervisory user is to the invalid event by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, this invalid event is corresponding, response is made to some invalid operation of user, enhance the ability of man-machine interaction, promote Consumer's Experience.
See Fig. 6, the embodiment of the present invention additionally provides the equipment of operation in a kind of trigger web pages on the one hand, and this equipment can be mobile phone, computing machine or dull and stereotyped telegram etc., comprising: display module 501, monitoring module 502 and trigger module 503;
Display module 501, for receiving the request of the access social networking service SNS webpage that user sends, being obtained by web browser and showing SNS webpage;
Monitoring module 502, for the invalid event of supervisory user by producing during input equipment operation SNS webpage;
Wherein, described input equipment at least comprises mouse, keyboard or touch pad.
Described invalid event at least comprises: mouse roller is the touch event of mouse pointer in preset direction suspension moving event or SNS webpage on precalculated position within the both direction preset intersects rolling event, the mouse click event of web browser scroll bar within the both direction preset intersects moving event, SNS webpage on precalculated position, SNS webpage.
Trigger module 503, for when monitoring invalid event and meeting predetermined condition, triggers the self-defining operation that in SNS webpage, invalid event is corresponding, obtains and presents the message of the predetermine class in SNS webpage.
Wherein, the message of the predetermine class in described SNS webpage at least comprises: the address list information of the user of the review information in good friend's multidate information of user, SNS webpage, the hot issue in SNS webpage or SNS webpage.
In the embodiment of the present invention, monitoring module 502, monitors specifically for the application program Javascript by presetting the invalid event produced when described user operates described SNS webpage by input equipment.
See Fig. 7, the embodiment of the present invention described trigger module 503 as shown in Figure 6 comprises:
First trigger element 5031, during for monitoring described invalid event, triggers the random corresponding self-defining operation of described invalid event in described SNS webpage; Or
Second trigger element 5032, for monitor described invalid event reach pre-determined number in the given time time, trigger the random corresponding self-defining operation of described invalid event in described SNS webpage.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: supervisory user is to the invalid event by producing during input equipment operation web page, and when monitoring invalid event and meeting predetermined condition, the self-defining operation that in trigger web pages, this invalid event is corresponding, response is made to some invalid operation of user, take full advantage of the function of input equipment, enhance the ability of man-machine interaction, promote Consumer's Experience.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a method for operation in trigger web pages, it is characterized in that, described method comprises:
Receive the request of the accessed web page that user sends, obtained by web browser and show described webpage;
Monitor the invalid event produced when described user operates described webpage by input equipment;
When monitoring described invalid event and meeting predetermined condition, trigger the self-defining operation that in described webpage, described invalid event is corresponding;
Wherein, described self-defining operation comprises and obtains and present the message of particular type in webpage shown by described web browser;
Wherein, corresponding relation between invalid event and self-defining operation is set up at random according to the custom of browsing of user;
Wherein, described acquisition also presents the message of particular type in webpage shown by described web browser, comprising:
Under being the scene of social networking service webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present good friend's multidate information of the user of registration social networking service SNS webpage, obtain and present the review information in SNS webpage, obtain and present the hot issue in SNS webpage, or obtain and present the address list information of the user of registration SNS webpage;
Under being the scene of search class webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present the content of popular search in described search class webpage;
Under being the scene of news category webpage for the webpage shown by described webpage, described self-defining operation comprises and obtaining and the hot news content presented in described news category webpage.
2. method according to claim 1, is characterized in that, the invalid event produced when the described user of described monitoring operates described webpage by input equipment comprises:
The invalid event produced when described user operates described webpage by input equipment is monitored by the application program Javascript preset.
3. method according to claim 1 and 2, is characterized in that, described input equipment at least comprises mouse, keyboard or touch pad.
4. method according to claim 1 and 2, it is characterized in that, described invalid event at least comprises: the touch event of mouse pointer in preset direction suspension moving event or described webpage on precalculated position in the intersection rolling event of mouse roller, the described web browser scroll bar mouse click event within the both direction preset intersects moving event, described webpage on precalculated position, described webpage.
5. method according to claim 1, is characterized in that, described when monitoring described invalid event and meeting predetermined condition, triggers the self-defining operation that in described webpage, described invalid event is corresponding and comprises:
When monitoring described invalid event, trigger the random corresponding self-defining operation of described invalid event in described webpage; Or
Monitor described invalid event when reaching pre-determined number in the given time, trigger the random corresponding self-defining operation of described invalid event in described webpage.
6. an equipment for operation in trigger web pages, it is characterized in that, described equipment comprises: display module, monitoring module and trigger module;
Described display module, for receiving the request of the accessed web page that user sends, being obtained by web browser and showing described webpage;
Described monitoring module, for monitoring the invalid event produced when described user operates described webpage by input equipment;
Described trigger module, for when monitoring described invalid event and meeting predetermined condition, triggers the self-defining operation that in described webpage, described invalid event is corresponding;
Wherein, described self-defining operation comprises and obtains and present the message of particular type in webpage shown by described web browser;
Wherein, corresponding relation between invalid event and self-defining operation is set up at random according to the custom of browsing of user;
Wherein, described acquisition also presents the message of particular type in webpage shown by described web browser, comprising:
Under being the scene of social networking service webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present good friend's multidate information of the user of registration social networking service SNS webpage, obtain and present the review information in SNS webpage, obtain and present the hot issue in SNS webpage, or obtain and present the address list information of the user of registration SNS webpage;
Under being the scene of search class webpage for the webpage shown by described webpage, described self-defining operation comprises and obtains and present the content of popular search in described search class webpage;
Under being the scene of news category webpage for the webpage shown by described webpage, described self-defining operation comprises and obtaining and the hot news content presented in described news category webpage.
7. equipment according to claim 6, is characterized in that, described monitoring module, monitors specifically for the application program Javascript by presetting the invalid event produced when described user operates described webpage by input equipment.
8. the equipment according to claim 6 or 7, is characterized in that, described input equipment at least comprises mouse, keyboard or touch pad.
9. the equipment according to claim 6 or 7, it is characterized in that, described invalid event at least comprises: the touch event of mouse pointer in preset direction suspension moving event or described webpage on precalculated position in the intersection rolling event of mouse roller, the described web browser scroll bar mouse click event within the both direction preset intersects moving event, described webpage on precalculated position, described webpage.
10. equipment according to claim 6, is characterized in that, trigger module comprises:
First trigger element, during for monitoring described invalid event, triggers the random corresponding self-defining operation of described invalid event in described webpage; Or
Second trigger element, for monitor described invalid event reach pre-determined number in the given time time, trigger the random corresponding self-defining operation of described invalid event in described webpage.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210079408.3A CN102662567B (en) | 2012-03-23 | 2012-03-23 | The method and apparatus of operation in trigger web pages |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210079408.3A CN102662567B (en) | 2012-03-23 | 2012-03-23 | The method and apparatus of operation in trigger web pages |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102662567A CN102662567A (en) | 2012-09-12 |
| CN102662567B true CN102662567B (en) | 2016-01-13 |
Family
ID=46772070
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210079408.3A Active CN102662567B (en) | 2012-03-23 | 2012-03-23 | The method and apparatus of operation in trigger web pages |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102662567B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104424205A (en) * | 2013-08-21 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Context menu implementing method and device of page-embedded client |
| CN108696514B (en) * | 2018-04-27 | 2022-04-01 | 腾讯科技(深圳)有限公司 | Resource collection task management method, device, storage medium and system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101547336B (en) * | 2008-03-25 | 2011-06-01 | 华为技术有限公司 | An IPTV interface operation control device, system and method |
| CN102236503A (en) * | 2010-04-21 | 2011-11-09 | 上海三旗通信科技有限公司 | Unlocking mode for mobile terminal pressure touch gesture recognition |
| CN102368251A (en) * | 2011-09-30 | 2012-03-07 | 广州市动景计算机科技有限公司 | A method and browser for loading annotation content |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060277466A1 (en) * | 2005-05-13 | 2006-12-07 | Anderson Thomas G | Bimodal user interaction with a simulated object |
-
2012
- 2012-03-23 CN CN201210079408.3A patent/CN102662567B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101547336B (en) * | 2008-03-25 | 2011-06-01 | 华为技术有限公司 | An IPTV interface operation control device, system and method |
| CN102236503A (en) * | 2010-04-21 | 2011-11-09 | 上海三旗通信科技有限公司 | Unlocking mode for mobile terminal pressure touch gesture recognition |
| CN102368251A (en) * | 2011-09-30 | 2012-03-07 | 广州市动景计算机科技有限公司 | A method and browser for loading annotation content |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102662567A (en) | 2012-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10026103B2 (en) | Time-triggered advertisement replacement | |
| EP2847688B1 (en) | A method and system for monitoring and tracking browsing activity on handheld devices | |
| CN101882162B (en) | A kind of network information push method and system | |
| TWI492175B (en) | Information processing apparatus, information processing method, information processing program product and recording medium with information processing program | |
| CN107707509B (en) | Method, device and system for identifying and assisting in identifying fake traffic | |
| CN103473302A (en) | Lock screen information display method, device and system | |
| CN102855270B (en) | Information processing device, content of interest determination method, terminal device, and information provision system | |
| CN104281677A (en) | Page displaying method and device | |
| US20140365868A1 (en) | Method, server, browser, and system for recommending text information | |
| CN103376977A (en) | Display method and display device for browser | |
| CN104166494B (en) | page control method and device | |
| CN108959619A (en) | Content screen method, user equipment, storage medium and device | |
| CN103902436A (en) | Method and device for restoring user access behaviors | |
| CN103177107A (en) | Recommendation method and device | |
| CN107483443A (en) | advertisement information processing method, client, storage medium and electronic equipment | |
| CN105278977B (en) | A kind of loading method and device of web pages component | |
| CN104063155B (en) | Content share method, device and electronic equipment | |
| CN102831150A (en) | Interactive method, system and terminal for browser and local application | |
| CN102662567B (en) | The method and apparatus of operation in trigger web pages | |
| CN103729440B (en) | A kind of method and device of access website | |
| US11521094B2 (en) | Rule engine system and method for human-machine interaction | |
| CN102314444A (en) | Method for providing interactive browse among users and equipment | |
| CN109670093A (en) | Crawler recognition methods, device, equipment and readable storage medium storing program for executing | |
| CN104156372B (en) | A kind of methods, devices and systems for opening webpage | |
| KR101184809B1 (en) | Method and server for providing web page |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20190805 Address after: 518000 Guangdong city of Shenzhen province Futian District SEG Science Park 2 East Room 403 Co-patentee after: Tencent cloud computing (Beijing) limited liability company Patentee after: Tencent Technology (Shenzhen) Co., Ltd. Address before: 518000 Guangdong city of Shenzhen province Futian District SEG Science Park 2 East Room 403 Patentee before: Tencent Technology (Shenzhen) Co., Ltd. |
|
| TR01 | Transfer of patent right |