CN101685451A - Method for monitoring events in browser, event monitoring device and browser equipment - Google Patents

Method for monitoring events in browser, event monitoring device and browser equipment Download PDF

Info

Publication number
CN101685451A
CN101685451A CN200810168112A CN200810168112A CN101685451A CN 101685451 A CN101685451 A CN 101685451A CN 200810168112 A CN200810168112 A CN 200810168112A CN 200810168112 A CN200810168112 A CN 200810168112A CN 101685451 A CN101685451 A CN 101685451A
Authority
CN
China
Prior art keywords
incident
browser
event
user
module
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.)
Pending
Application number
CN200810168112A
Other languages
Chinese (zh)
Inventor
孙阳
王志君
李晨
曹永�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to CN200810168112A priority Critical patent/CN101685451A/en
Publication of CN101685451A publication Critical patent/CN101685451A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for monitoring events in a browser, an event monitoring device and browser equipment. The method comprises the following steps: receiving various events issued by thebrowser; and issuing the received events to an application proxy module which is used for realizing functions relevant to the received events. By using the method, all event information in the browsercan be acquired without any external action, and relevant event information can be provided conveniently and accurately according to the requirements of users.

Description

Monitor method and the action listener device and the browser equipment of the incident in the browser
Technical field
The present invention relates generally to the Web browser technology, more specifically, relate to a kind of method and action listener device of the incident that is used for monitoring browser and comprise this action listener apparatus's browser.
Background technology
Web 2.0 technology are brought into more client in the application based on browser alternately.Use suitable client-side technology, such as, AJAX (Asynchronous JavaScript andXML, asynchronous JavaScript and XML), JAVA applet, Flash etc. are based on the interactivity that the interface provides and common independently application is similar to of Web.A lot of tradition are provided by the interfaces that provide based on Web, and a lot of new application occurred on the basis based on the interface of Web.Based on the application of Web than more complicated in the past.Simultaneously, occurring wrong possibility in the Web interface constantly rises.Thereby developer and support staff need find out the method that helps the terminal user to pinpoint the problems and deal with problems when the user finds some problems in its daily use.
Fig. 1 shows the synoptic diagram of the development environment of certain company's managing bill software.As shown in Figure 1, the user uses managing bill software in Philippine, and the technical support personnel of managing bill software (and/or developer) is in China, and the architect of managing bill software is in the U.S., and the flow scheme improvements personnel of managing bill software are in Britain.
When the user at Philippine operation managing bill software and open based on carrying out typing, the check and correction of invoice information and/or when printing in the interface of Web, browser error may take place, these mistakes may be that the bugs by software itself causes, also may be that the misoperation by the user causes.At this moment, the technical support personnel need the user to the operation of its Report a Problem phenomenon that occurs when taking place and user's each step at that time so that the reproduction problem.
Whether architect more is concerned about increase new functional module for current managing bill software.For example, because user's screen is little, make that font is very little thereby demonstrate relevant invoice information on a screen, the user wishes to have local magnify tool.This needs the user to describe its regular job custom and convenient and inconvenience to architect, thereby makes architect understand the function that the user needs.
Flow scheme improvements personnel improve the entire process flow process of invoice software, so that convenient in user's use.This needs the user to describe its daily use habit, such as, on screen, do not open the invoice information tabulation, but come out with printer prints, on paper spare, check information.This needs the user to describe its daily use habit to the flow scheme improvements personnel.
By example shown in Figure 1 as can be known, collect the operation information of user on browser with and everyday actions information be very important.
User according to inventor self supports experience, and the inventor finds to support that the greatest factor of web user application is to find out user's operation information, that is, and and usage track information.Usage track information comprises:
Has 1. the user carried out what button/mouse sequence in the page?
Has does 2. the user resemble him and carried out correct operation said? for example, the user has double-clicked button, still clicked button twice?
3. if there is timing problem, the user carry out each the operation before how long waited for?
4. if possible, the description of all environmental variances all is very important.
But, thereby allow the user provide and the description of its everyday actions is found the problem is difficult to the description of its operation, this mainly be because:
1. the terminal user does not have enough technical backgrounds, thereby problem description blurs;
2. some mistake is difficult to be hunted down.For example, the user is necessary click on submission button after all the elements have been loaded in the browser, and the user does not so do;
3. need whole wrong scene, but the terminal user is difficult to remember exactly whole wrong scene.For example, problem is only clicked image button for the first time the user, takes place when writing character string then and clicking another button subsequently in some text box.
These difficulties that occur when the description and the problem of reproduction will have a strong impact on support/developer's support time and response speed.
Current, there has been the solution that solves this problem of part in the prior art.Below listed four kinds common in these solutions:
1. usage log storehouse
The daily record storehouse mostly is multipad and uses.For example, some multipad uses such as the daily record storehouse of Log4J or JDK register and writes down all key states in the execution route so that help debugging and playback program defective.
An example of the multipad in usage log storehouse is the superkeylogger that Qarchive proposes TM3.2 (its applying date that is presented in the application in detail before can be at internet address Http:// superkeylogger.shakeel-hasan-khan.qarchive.orgFind).The user at first needs long-range or local installation superkeylogger, just can use superkeylogger to come recording user whole actions on computers in encrypt file then, such as the web website of visit, the chat of using ICQ, MSN and Email etc., each button of pressing and with the snapshot of the whole Microsoft of the interval acquiring desktop that is provided with.
But the application that is based on Web operates in the controlled environment, for example, in browser container, thereby can not easily realize record.This is because wherein some application program is not distorted in order to protect in browser container, deletion etc., can the operation of some program in the daily record storehouse for example be limited, thereby some incident in the browser can not be by daily record storehouse record.
2. screen record
This is the direct mode that realizes user's usage track.But most of users do not have the screen equipments of recording of specialty, and under the situation without professional training, how the basic there is no telling of user uses these screen equipments of recording.
3. the complicated professional container of use intercepts the incident in the Web application
Some professional test instruments provide this function to intercept the mouse/keyboard incident and with these logouts in independent file.But the daily user of application program can not use this instrument and also can not persuade the user to use the daily normal work to do of this professional test tool for processing without professional training.
4. intercepting Web flows
Identical with the situation in above-mentioned 3, the user can not use this instrument in routine duties.This instrument is to realize on the agency between browser and the server, and under the situation through agency's web stream not, this instrument can not disclose the inner client script that takes place of browser (such as, mistake javascript).
In addition, the monitoring tool software of the prior art that comprises above-mentioned software all is the tool software of running background rather than the tool software of front stage operation, above-mentioned " tool software of running background " is meant the logging program in the computer-internal operation, and above-mentioned " tool software of front stage operation " is meant the logging program that moves in browser, thereby monitoring tool software of the prior art can not be monitored all incidents that take place fully in browser.
Fig. 2 illustrates the synoptic diagram of browser server framework in the prior art.Below be example with browser server framework shown in Figure 2, the weak point of the equipments of recording of prior art is described.
For example, the user is by the weather of browser to the server requests Beijing area, and the response policy of server is that the weather data in each city, the whole nation is downloaded to browser.User's the input and the request of browser reach and can be caught by the logging program of running background from the response of server subsequently.Subsequently, browser can be answered user's Request Processing and be shown the weather data in other city, but these processing and presented event in the browser can not be caught and record by the logging program of running background.Therefore, the monitoring instrument of running background of the prior art is not enough for the variety of event of monitoring in the browser.
Therefore, need a kind of mechanism that can monitor the variety of event in the browser.
Summary of the invention
Consider the above-mentioned problems in the prior art, the invention provides a kind of monitoring instrument of front stage operation, more specifically, arrive corresponding functional modules so that the variety of event that takes place in the browser is all necessary through the action listener module by in browser, introducing the action listener module, the action listener module can obtain and distribute all incidents in the browser, thereby all incidents in the record browser that make become possibility.More preferably, the present invention also provides event processing module, it is in response to first predetermined condition registration oneself, the action listener module receives and in response to this registration the event notice of variety of event is sent to event processing module then, and event processing module is selected event notice and the user is stored and/or reported to selected event notice based on predetermined policy then.Event processing module is nullified oneself immediately in response to second predetermined condition.Preferably, first predetermined condition preferably the user enable indication; And preferably user's the forbidding indication of second predetermined condition.
To achieve these goals, provide a kind of method of monitoring the incident in the browser, having comprised: the variety of event that receives the browser issue from browser; And the incident that receives is distributed to application proxy module, described application proxy module is used to realize the function relevant with the incident that receives.
To achieve these goals, a kind of action listener device of monitoring the incident in the browser is provided, comprise: receiving element, be used for receiving the variety of event of browser issue from browser, and release unit, the incident that is used for receiving is distributed to application proxy module, and described application proxy module is used to realize the function relevant with the incident that receives.
Preferably, receiving that the user's enables after the instruction registered events processing module.
Preferably, event processing module select based on predetermined policy and record from the event report of action listener module.
To achieve these goals, also provide a kind of browser that comprises the said equipment.
Therefore, the present invention need not the user any professional knowledge, also need not any external action, such as the Local or Remote installation procedure, just can monitor all incidents that take place in the browser, thus the more convenient easy-to-use and accuracy and the validity that have improved location of mistake of the present invention.Further, the present invention can select and recording events and give user/background server with selected event report as required.This function can be selected to start by the user, and can be used as a kind of value-added service and selectively offer the user, thereby has protected user's privacy and provide degree of freedom to the user.
Description of drawings
From the detailed description below in conjunction with accompanying drawing, the present invention will be easier to understand, and wherein, identical Reference numeral is represented identical structural element, and, in the accompanying drawing:
Fig. 1 shows the synoptic diagram of the development environment of certain company's managing bill software;
Fig. 2 illustrates the synoptic diagram of browser server framework in the prior art;
Fig. 3 shows the indicative flowchart according to the processing of carrying out in the action listener module of the present invention;
Fig. 4 shows the indicative flowchart of the processing of carrying out in event processing module according to the present invention;
Fig. 5 shows the schematic block diagram of having introduced the browser architectures of action listener module according to of the present invention;
Fig. 6 shows the schematic block diagram according to the configuration of event processing module of the present invention;
Fig. 7 shows the schematic block diagram of having introduced the replaceable browser architectures of action listener module according to of the present invention;
Fig. 8 shows the synoptic diagram according to the gui interface of the browser with button of enabling event processing module of the present invention; With
Fig. 9 shows according to the synoptic diagram at the gui interface of having enabled the browser behind the event processing module of the present invention.
Embodiment
To the present invention be described with concrete, exemplary embodiment now.Should be appreciated that, the invention is not restricted to disclosed exemplary embodiment.Being also to be understood that at present disclosed each feature of monitoring the method and apparatus of incident in browser, is not all to be to realize that the arbitrary concrete claim claimed invention of claims is requisite.A plurality of elements of description equipment and feature are for the present invention can be achieved fully.It should also be understood that, in this manual, in expression or describe to handle or the method part, the step of method can be carried out or carry out simultaneously according to any order, unless from context obviously as can be seen step depend on another step of previous execution.
Basic thought of the present invention is that a kind of method and equipment thereof of monitoring the incident in the browser will be provided, and described method comprises: the variety of event that receives the browser issue from browser; And the incident that receives is distributed to the application proxy module that is used to realize the function relevant with the incident that receives.
In present patent application, provide a kind of by using client javascript programming to help the method that the user collects this information.The application's core concept is to make up the audiomonitor framework that javascript realizes, this audiomonitor framework is monitored all client events.Further, the audiomonitor framework can write down all client events.After having collected these event informations, the terminal user can obtain these information also alternatively, sends it to and uses the support staff.
In order to support logout, the present invention to introduce the action listener module fully, be used for the monitoring incident so that correlation module, for example, can both obtain incident as the recipient's of incident application proxy module and optional event processing module.Then, application proxy module is operated with the incident that optional event processing module receives respectively.Event processing module can have an opportunity to write down all client events.
For protection terminal user's the consideration of privacy, event processing module should be only receive the user enable order the time just be attached on the action listener module, and in case receive user's disable command, just separate with the action listener module.
It should be noted that: the AJAX that realizes with Javascript in present specification is that example has illustrated core concept of the present invention, but it will be appreciated by those skilled in the art that this technology that the invention is not restricted to, the application is not bound to any concrete browser programming language and framework, but the language of any browser support all can be used among the present invention.
In addition, it should be noted that: the term of Shi Yonging " monitoring " is meant in this application: can obtain (that is, receiving) and distribution (that is, sending).In the present invention, the monitoring of incident is meant obtains event notice and be distributed to corresponding parts.
In addition, it is also to be noted that: the term of Shi Yonging " registration " is meant in this application: make other parts can know the existence of oneself thereby carry out certain action.Hereinafter will be respectively the registration of action listener module, application proxy module and event processing module be introduced.
In the web browser technology, user interface components is reusable object or a program of carrying out specific function, and it is designed to work with other assembly and application program.Usually, the UI assembly is exactly the assembly that can be used as the user interactions interface, such as " button, combobox, radio box, text box " etc.In software product, incident refers to by user or certain equipment, such as the action of initiations such as keyboard, mouse.In theory, visible all the UI assemblies of user, but equal trigger event.For example, if event definition " onclick=function1 () " appears on " button 1 ", if expression user click " button 1 " so, the request of then will sending triggers the notice and the triggering " function1 " of " function1 " and carries out.Usually, most UI assemblies all do not carry out event definition (as " onclick=function1 () ").The present invention can find the user interface components with dependent event definition according to service needed, and it is carried out associative operation.
At first, in conjunction with Fig. 3 and Fig. 4 the process of carrying out is described in browser architectures according to the present invention.
Fig. 3 shows the indicative flowchart according to the processing of carrying out in the action listener module of the present invention.
At step 310 place, handle beginning.
At step 320 place, carry out first registration, that is, the action listener module oneself is registered as the audiomonitor of variety of event with it, and make its oneself for each GUI parts of browser as seen.
After first registration was finished, the action listener module can receive all incidents in the browser.Alternatively, the action listener module step finished of exercise notice first registration also.
At step 330 place, the action listener module receives the variety of event of browser issue from browser.
At step 340 place, the incident that receives is distributed to application proxy module.Application proxy module is used to realize the function relevant with the incident that receives.
At step 350 place, processing finishes.
Fig. 4 shows the indicative flowchart of the processing of carrying out in event processing module according to the present invention.
At step 410 place, handle beginning.
At step 420 place, event processing module determines to receive the order of enabling from the user.If do not receive the order of enabling from the user, then continue to wait for, otherwise, advance to step 430.
At step 430 place, event processing module registers its oneself.After registration was finished, event processing module received all incidents from the action listener module.
At step 440 place, the event processing module of having registered receives the variety of event notice from the action listener module.
At step 450 place, event processing module is based on the policy selection event notice in the policy library, and selected event notice is stored in the database with predetermined format.
Alternatively, according to from user's transmission order or the strategy in the policy library, selected event notice is sent to user or background server.
Arbitrary step place in step 430, step 440 and step 450 needs only the order that receives the disable events processing module from the user, just advances to step 460 immediately.
At step 460 place, the Logout Events processing module then, advances to step 470.
At step 470 place, finish this processing.
The specific implementation of above step will be described in detail hereinafter, no longer repeat at this.
In order to be illustrated more clearly in the present invention, below exemplary embodiment of the present invention is described with reference to Fig. 3.Fig. 5 shows the schematic block diagram of having introduced the browser architectures of action listener module according to of the present invention.As shown in Figure 5, browser architectures according to the present invention comprises browser 510, action listener module 520 and application proxy module 530.Alternatively, also comprise event processing module 540 according to browser architectures of the present invention.
Browser 510 is the same with the browser of prior art, and being used for showing to the user relevant information and alternatively also provides button, link etc. to provide relevant function to the user when the user selects to the user.
Action listener module 520 comprises and is used for receiving the receiving element 522 of variety of event of browser issue and the incident that is used for receiving is distributed to the application proxy module release unit from browser that described application proxy module is used to realize the function relevant with the incident that receives.To be the present invention be the functional module that the browser of prior art provides to action listener module 520.Before run case was monitored module 520, action listener module 520 will himself be registered as unique contact point of incident, and to make it own be visible for other parts of being concerned about incident.This can itself produce particular event by action listener module 520 and realize, sends out message and realizes, or realize with any way that those skilled in the art it is contemplated that.Other parts of described care incident comprise application proxy module 530, and optionally, event processing module 540.
The difference of action listener module 520 and general event sniffer is that it has played the effect of certain blocking-up to the incident of browser in the incident that receives browser.In other words, action listener module 520 should be registered in the action listener agency's of browser the first place of formation, be responsible for to receive all browser event, and the prevention incident is to directly propagation of other action listener agency, thereby guaranteed that it is unique contact point of incident.
Action listener module 520 resembles works the event bus.All incidents between browser 510 and application proxy module 530 are all received by action listener module 520 and are distributed by action listener module 520.Action listener module 520 will be monitored from the incident of each parts of GUI of browser 510 and AJAX incident.The incident of each parts of GUI comprises that mouse moves, click, mouse are double-clicked, mouse moves into/shift out the GUI parts, keyboard is knocked in, even phonetic entry or the like.The AJAX incident comprises that the AJAX request sends, the AJAX request is received, the AJAX response is retrieved or the like.These incidents are known to those skilled in the art.
Action listener module 520 is that framework services but not domain-specific are used.Action listener module 520 should be registered to being used for the single contact point of variety of event.
Below be example with browser based on javascript, specify the registration process of action listener module 520:
1. at first, action listener module 520 is after starting, but the user interface components of the trigger event of traversal on browser 510 pages.
Based on current hypothesis, action listener module 520 is pure javascript object, the method that it externally provides and the incident of browser are corresponding one by one, such as: onClick (), onLoad (), onChange () or the like, and developer's statement incident on the UI assembly, as: "<inputid=" btn1 " type=" button " onclick=" function1 () "〉";
2. secondly, when action listener module 520 is found to have the user interface components of required event definition in the described user interface components, described required event definition function pointed is replaced with the function of the step that realizes the described variety of event that receives the browser issue from browser.That is to say,, then it is replaced with the correlation method of action listener module 520 and store the UI assembly and the incidence relation of the function that event definition is pointed if action listener module 520 is found to exist event definition above the UI assembly.This incidence relation can be stored in Anywhere, because its storage is irrelevant with the present invention, so do not repeat them here.
As above " onclick=" function1 () in the example ", can be replaced by " onclick=" eventManager.onClick (args, this) ", and the corresponding relation of storage UI assembly " btn1 " and event definition " function1 ".
3. last, 520 storages of action listener module are described to exist corresponding relation between the user interface components of required event definition and the described required event definition function pointed.That is to say that action listener module 520 is after succeeding in registration, that is, after all replacement was finished, all the UI assemblies on the page were notified its existence.
So far, the registration of action listener module 520 is finished.The registration of action listener module 520 can be carried out when action listener module 520 starts first, and also can dynamically be loaded the back and be carried out at the UI interface of browser, certainly, also can be stipulate as required At All Other Times any.
After action listener module 520 succeeded in registration, action listener module 520 can read the registration table that browser 510 is safeguarded itself, to find current which application proxy module and the event processing module of existing.The registration table of browser 510 is according to provided by the invention, is used to put down in writing the variety of event that current which application proxy module and event processing module need receive browser.According to registration table of the present invention can viewed device 510, action listener module 520, application proxy module 530 and event processing module 540 visits.This registration table may be implemented as configuration file, formation or the like form, as long as can store relevant information and can be visited just passable by associated components.In addition, preferably, when each registration table is changed, monitors module 520 with regard to notification event and read this registration table once more to trigger it.
Show an illustrative example of registration table below:
Incident recipient Spare fields
Application proxy module 1 ??……
Event processing module ??……
Application proxy module 2 ??……
??…… ??……
Show another illustrative example of registration table below:
Component names Whether be the incident recipient Spare fields
Application proxy module 1 Be ??……
Event processing module Not ??……
Application proxy module 2 Not ??……
?…… ???????? ??……
Also above example is an example, after action listener module 520 is succeeding in registration, after the user clicks UI assembly " btn1 ", the onClick method of action listener module 520 can be called, and function parameter and related UI assembly " btn1 " also can be imported into the onClick method of action listener module 520 in the lump simultaneously.If learnt that by visit registration table action listener module 520 application proxy module 530 and event processing module 540 all need the reception incident, action listener module 520 can be distributed to this request in application proxy module and the event processing module.Application proxy module 530 is according to stored relation in step 2, and judgement should be called " function1 ", and then proxy call " function1 " and parameter imported into is finished function.And event processing module is carried out the local record daily record according to strategy, and alternatively, sends to actions such as remote server.
The user can also select Logout Events processing module 540.In case the user has sent the instruction of disable events processing module 540, just deletion and own relevant information from registration table of event processing module 540.Deletion trigger event to registration table is monitored module 520, makes it no longer event notice be sent to event processing module 540.
Application proxy module 530 is the commercial field logic as of the prior art, and promptly the needs of using according to the GUI on the browser define.The application proxy module of prior art receives the event notice that browser sends, and comprising: the function name that (1) need call, (2) parameter, the UI assembly that (3) are associated; And, finish the program behavior relevant with this event notice based on above-mentioned data call objective function, that is, realize the function relevant with this event notice.Application proxy module 530 is identical on function with application proxy module of the prior art, but, all must be according to issue incident between application proxy module 530 of the present invention and the GUI parts and reception incident through action listener module 520, and application proxy module analyzes the function that need call according to above a few item number certificates and the function of action listener module foundation before and the table of comparisons of UI assembly.In addition, though only show an application proxy module 530 in Fig. 5, it will be appreciated by those skilled in the art that to have a more than application proxy module 530.The quantity of application proxy module 530 is relevant with the implementation of the page of browser, for example, for the UI interface that javascript realizes, each UI page is corresponding to an application proxy module, and the UI interface of realizing for plug-in unit, all the UI pages are all corresponding to an application proxy module.
Application proxy module 530 according to the present invention also has a registration process.After seeing action listener module 520, that is, learn that action listener module 520 is registered after, application proxy module 530 is registered it immediately and oneself is audiomonitor, rather than to each GUI component register of browser its oneself.Described registration process is by realizing himself being recorded as the incident recipient at registration table according to the present invention.After succeeding in registration, 530 of application proxy module receive event notices and take corresponding action from action listener module 520.In addition, the registration of application proxy module 530 can occur in and load after the UI page, after browser starts, and also can be after learning that action listener module 520 is registered.Certainly, the registration of application proxy module 530 can occur in any required time.
Application proxy module 530 and event processing module 540 all are to exist as the incident recipient of action listener module 520, and wherein application proxy module 530 is essential, and event processing module 540 is optional.So-called incident recipient is exactly actual event processing module.Application proxy module 530 is responsible for incident is forwarded to the functional module of the function of actual realization browser UI assembly, finishes user's operation; Event processing module 540 then is responsible for writing down every incident according to the strategy that pre-establishes.
Alternatively, also comprise event processing module 540 according to browser architectures of the present invention.Event processing module 540 is the consumer of incident fully.Event processing module 540 select according to predetermined policy and canned data with use for further analysis, as mentioned above, " storage " here can be that interim storage also can be a permanent storage.
Event processing module 540 only receive from the user enable order the time just start, and no matter when,, just stop all actions immediately as long as receive disable command from the user.
Fig. 8 shows the synoptic diagram according to the gui interface of the browser with button of enabling event processing module of the present invention.In case user's button click 810 has just been enabled event processing module 540.At first, event processing module 540 registration its oneself be that the incident recipient is so that the acquisition event notice.Described registration process is by realizing himself being recorded as the incident recipient at registration table according to the present invention.In case and the user has been forbidden event processing module 540 by button click 810, event processing module 540 is visited registration table once more with the own relevant information of deletion from registration table and its.
After succeeding in registration, when the incident arrival event was monitored module 520, action listener module 520 sent to application proxy module 530 and event processing module 540 with described incident.Thereby for being separated with the application proxy module 320 of domain-specific, event processing module 540 is easy to plug, just make event processing module 540 become independent audiomonitor.Certainly, those skilled in the art can easily be susceptible to action listener module 520 and can integrate with event processing module 540, so that monitor and storage or transmission dependent event.
After the incident of receiving, event processing module 540 will use the interior data structure to come recording events information with use for further analysis.Fig. 6 shows the schematic block diagram according to the configuration of event processing module of the present invention.As shown in Figure 6, event processing module 540 comprises policy library 610, selector switch 620, transmitter 630 and database 640.
Selector switch 620 receives the variety of event notice from action listener module 520, and selects according to the strategy in the policy library 610, then selected incident is stored in the database 640 with predetermined data format.In addition, selector switch 620 also can be in response to the order from the user, sends to user and/or browser so that show with being stored in event data in the database 640 on GUI.
Policy library 610 storages are used to select the standard of incident.Strategy in the policy library 610 can be user oneself, developer and/or other personnel definition, and this decides on concrete application.Strategy in the policy library 610 is for example to write down all incidents, record comprises that mouse moves, the mouse event of click etc., the input of record keyboard, write down one or more AJAX incidents, stand-by period between the user input, yy divided yy certain incident in the time period second when xx divided xx second to the yyyy yy month yy day yy during record xxxx xx month xx day xx, receive and record in the database after the incident or send to server immediately, whether in record, send event notice to server after receiving incident, whether the user has authority to open and/or the close event processing module, even whether user's close event processing module is according to the regular record incident of giving tacit consent to, storage is interim storage or permanent storage or the like.It is pointed out that the user command that transmitter 420 receives also can be one of strategy of storage in the policy library 610.Selection strategy given here only is as example, but not the present invention is limited to this.Those skilled in the art are the strategy in the specified policy storehouse 610 as required.
Database 640 is used to store the data from selector switch 620.Database 640 can be stored the information of selected incident with the form of any appropriate, for example, and with polynary group form, such as (event type, Time To Event, the GUI parts relevant) with incident.Though use database 640 that the storage of event information is described in this article, but those skilled in the art should know: described database 640 can be that single file also can be a certain storage area, or any other form that can canned data, and can be that permanent storage also can be interim storage or buffer memory, this be limited by the strategy in the policy library.
Transmitter 630 sends to browser according to user's order with relevant data and be further analyzed use for showing or send to the user personnel for it on GUI.Described in this article user personnel refer to any related personnel who is granted access to incident.
Though only showing transmitter 630 in Fig. 4 only links to each other with database 640, but simultaneously transmitter 630 also can the two links to each other with selector switch 620 and database 640, so that not only send event data in real time, can also retrieve and send event data from database from selector switch 620.
Fig. 7 shows the schematic block diagram of having introduced the replaceable browser architectures of action listener module according to of the present invention.Fig. 7 only is that with Fig. 5 difference action listener module and event processing module are integrated in.Under this browser architectures, substitute registration or the Logout Events processing module makes it become or no longer be the recipient of incident, can also make that the user's enable or forbid the direct trigger event processing module of indication so that it is activated or forbids.Other concrete operations in the replaceable browser architectures do not repeat them here to preceding similar.
Fig. 9 shows according to the synoptic diagram at the gui interface of having enabled the browser behind the event processing module of the present invention.After having clicked the track button 810 that shows on the GUI as shown in Figure 5 the user, show tracking menu 910.As shown in Figure 9, tracking menu 910 comprises following option: the ON/OFF following function, track record is shown, and submit to record to give server, other.After the user has selected to illustrate the track record option, show track record, indicated as Reference numeral 920.It only is exemplary that GUI shown in Figure 6 shows, those skilled in the art can and show more or less menu option with other form display menu and track record as required.
The present invention is by being introduced in the javascript monitor that allows in the web container, provides to solve that the client monitors problem and the solution that do not need any specific purpose tool.Use this monitor, the user can Report a Problem to the support staff by submitting the record result to, thus support staff's playback program defective easily.And this technical scheme is more friendly to the user, and the support staff can provide the auto-programming defect analysis tool to find out correct method or some the odd-job district that deals with problems to help the user.
By introducing user's preference pattern in embodiments, the present invention can realize maximum loose coupling, and event processing module can be attached on the action listener module like this, also can split with the action listener module, and can not disturb the applied logic monitor.
Collected information can be used for:
1. information needed is found out in support staff's analytical information and trial;
2. the support staff uses some gui tool to help the reproduction problem;
3. the support staff provides some assay surface, and according to some bugs characteristic information automatically analyzing message of collecting previously.Then, analysis result is sent to the terminal user immediately.Described result can be some correct implementation, working set approach or only require the user to wait for determining of problem.It should be noted that to collected information processing be not key point of the present invention.Purpose described above is acquisition of information will be shown bring the possibility of huge interests can for the customer support field.
Compare with above cited solution of the prior art, the present invention has following benefit:
1. do not need external tool (commercial or free product) to rely on (have and support that the web browser of javascript is just enough);
2. almost do not have vestige when acquisition of information, that is, almost the operation to the user does not influence;
3. the user can oneself determine the opening/closing adviser tool.
By this implementation, can collect detailed client-side information and do not bring any inconvenience to the terminal user.This will improve support staff's work efficiency greatly.
Should be appreciated that, more than for illustrating that clearly purpose is described embodiments of the invention with reference to difference in functionality parts and processor.Yet, obviously, do not departing under the condition of the present invention, can between difference in functionality parts or processor, use any suitable function to distribute.For example, the shown function of being carried out by discrete processors or controller can be carried out by same processor or controller.Therefore, only will be considered as at the description of specific features is description to the appropriate device that is used to provide described function, and does not represent strict logical OR physical arrangement or tissue.
The present invention can adopt any suitable mode to realize, comprises hardware, software, firmware or its any combination.Perhaps, the present invention can be embodied as the computer software that moves at least in part on one or more data processors and/or digital signal processor.The element of embodiments of the invention and assembly can adopt any suitable manner physically, realize on the function and in logic.Really, this function can be implemented in single parts, a plurality of parts, or as the part of other functional parts.Like this, the present invention can be implemented in the single parts, or with it physically and be distributed on the function between different parts and the processor.
In addition, although be to list separately, multiple arrangement, element or method step can be realized by for example single parts or processor.In addition,, it advantageously might be made up, and be included in the different claims that the representation feature combination is not infeasible and/or unhelpful although each feature can be included in the different claims.In addition, comprise that in a class claim certain feature do not represent to be confined to such, but as long as expression is suitable, this feature can be applicable to other claim classes equally.In addition, the order of feature any particular order of working of representation feature not in the claims, particularly the order of each step is not represented necessarily to carry out these steps in proper order according to this in claim to a method.But these steps can adopt any suitable order to carry out.
The detailed description of the embodiment of the application of the invention of the present invention is described, and these embodiment are provided as an example, and does not plan to limit the scope of the invention.Described embodiment comprises different characteristics, and not every these characteristics all need in all embodiment of the present invention.Some embodiment of the present invention only utilizes the possible combination of some characteristic or characteristic.The embodiments of the invention of the different combination of the characteristic of pointing out among the change of described embodiments of the invention example and the embodiment that is included in description are that those skilled in the art will be susceptible to.

Claims (19)

1. method of monitoring the incident in the browser comprises:
Receive the variety of event of browser issue from browser; And
The incident that receives is distributed to application proxy module, and described application proxy module is used to realize the function relevant with the incident that receives.
2. the method for claim 1, described method also comprises: before the step of the described variety of event that receives the browser issue from browser, carry out the step of first registration, the step of wherein said execution first registration also comprises:
But the user interface components of the trigger event of traversal on browser page;
When in finding described user interface components, having the user interface components of required event definition, described required event definition function pointed is replaced with the function of the step that realizes the described variety of event that receives the browser issue from browser; And
Store the corresponding relation between described user interface components that has a required event definition and the described required event definition function pointed.
3. method as claimed in claim 2, described method also comprises:
In response to received incident, application proxy module is called described required event definition function pointed and is realized the function relevant with the incident that receives based on institute's stored relation.
4. method as claimed in claim 3, the step of described execution first registration also comprises: the step of notifying first registration to finish.
5. method as claimed in claim 4, described method also comprises step:
Described application proxy module is notified in response to this, carries out second registration; And
Wherein said step of carrying out second registration comprises:
In registration table, described application proxy module is recorded as the incident recipient.
6. as any the described method among the claim 1-4, also comprise step:
Enabling after the instruction of the user who receives browser, carry out first operation so that received incident can be by user's gained; And
After the illegal instruction of receiving the user, carry out second operation so that received incident can not be by user's gained.
7. method as claimed in claim 6, wherein said first operation are registrations or trigger that described second operation is to nullify or trigger.
8. as any the described method among the claim 1-4, also comprise step: based on predetermined policy, selection can and be stored event notice by the used incident that receives of user.
9. method as claimed in claim 8, wherein, described predetermined policy comprises all incidents of record, record comprises that mouse moves, the mouse event of click etc., the input of record keyboard, write down one or more AJAX incidents, stand-by period between user's input, receive and record in the database after the incident or send to server immediately, whether in record, send event notice to server after receiving incident, whether the user has authority to open and/or the close event processing module, even whether user's close event processing module is according to the regular record incident of giving tacit consent to, record is certain interior incident of section sometime, storage is at least one in interim storage or the permanent storage.
10. action listener device of monitoring the incident in the browser comprises:
Receiving element is used for receiving the variety of event that browser is issued from browser, and
Release unit, the incident that is used for receiving is distributed to application proxy module, and described application proxy module is used to realize the function relevant with the incident that receives.
11. action listener device as claimed in claim 10 also comprises the registering unit of carrying out first registration, described registering unit also comprises:
But be used to travel through the parts of the user interface components of the trigger event on browser page;
Be used for when finding that there is the user interface components of required event definition in described user interface components, described required event definition function pointed replaced with the parts of the function of the step that realizes the described variety of event that receives the browser issue from browser; And
Be used to store the parts of the corresponding relation between described user interface components that has a required event definition and the described required event definition function pointed.
12. action listener device as claimed in claim 11, wherein said application proxy module is in response to received incident, based on institute's stored relation, call described required event definition function pointed and realize the function relevant with the incident that receives.
13. action listener device as claimed in claim 11, wherein said registering unit also comprises: be used to notify first to register the parts of finishing.
14. action listener device as claimed in claim 13, wherein said application proxy module, carry out second registration in response to the notice that receives from described action listener module; And
Wherein, described application proxy module is carried out second registration by in registration table oneself being recorded as the incident recipient.
15. as any the described action listener device among the claim 10-14, wherein said receiving element links to each other with the event processing module that is used for processing events, described event processing module is being received the enabling after the instruction of user, register and receive described incident from the action listener module, and after the illegal instruction that receives the user, nullify self.
16. action listener device as claimed in claim 15, wherein said event processing module be by registering self record in registration table for the incident recipient, and nullify by the deletion information relevant with self from registration table.
17. received event notice is selected and stored to action listener device as claimed in claim 16, wherein said event processing module based on predetermined policy.
18. action listener device as claimed in claim 11, wherein, described predetermined policy comprises all incidents of record, record comprises that mouse moves, the mouse event of click etc., the input of record keyboard, write down one or more AJAX incidents, stand-by period between user's input, receive and record in the database after the incident or send to server immediately, whether in record, send event notice to server after receiving incident, whether the user has authority to open and/or the close event processing module, even whether user's close event processing module is according to the regular record incident of giving tacit consent to, record is certain interior incident of section sometime, storage is at least one in interim storage or the permanent storage.
19. a browser equipment comprises the described equipment according to one of claim 10-18.
CN200810168112A 2008-09-27 2008-09-27 Method for monitoring events in browser, event monitoring device and browser equipment Pending CN101685451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810168112A CN101685451A (en) 2008-09-27 2008-09-27 Method for monitoring events in browser, event monitoring device and browser equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810168112A CN101685451A (en) 2008-09-27 2008-09-27 Method for monitoring events in browser, event monitoring device and browser equipment

Publications (1)

Publication Number Publication Date
CN101685451A true CN101685451A (en) 2010-03-31

Family

ID=42048615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810168112A Pending CN101685451A (en) 2008-09-27 2008-09-27 Method for monitoring events in browser, event monitoring device and browser equipment

Country Status (1)

Country Link
CN (1) CN101685451A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894162A (en) * 2010-07-22 2010-11-24 北京天融信科技有限公司 Dynamic network event correlation and linkage implement method and device
CN102654831A (en) * 2011-03-04 2012-09-05 百度在线网络技术(北京)有限公司 Device and method for intensively controlling WEB page event and state
CN103207748A (en) * 2012-01-17 2013-07-17 腾讯科技(深圳)有限公司 Method for implementing response based on browser expansion and browser
CN103377109A (en) * 2012-04-13 2013-10-30 国际商业机器公司 Computer implemented method and system
CN104503748A (en) * 2014-12-12 2015-04-08 珠海金山网络游戏科技有限公司 Editor system and method based on event driving
CN104601543A (en) * 2014-12-05 2015-05-06 百度在线网络技术(北京)有限公司 Method and system for identifying software tampered browser home page
CN104965701A (en) * 2015-06-12 2015-10-07 北京奇虎科技有限公司 Method and device for acquiring application information
CN105573756A (en) * 2015-12-15 2016-05-11 金蝶软件(中国)有限公司 Script language extension method and event bus framework
CN106250107A (en) * 2016-07-18 2016-12-21 福建天泉教育科技有限公司 A kind of data statistical approach and system
CN106294116A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Record and the methods, devices and systems of reproduction process process
CN106775226A (en) * 2016-12-05 2017-05-31 北京中交兴路信息科技有限公司 A kind of system of gathered data
CN108241542A (en) * 2016-12-23 2018-07-03 北京国双科技有限公司 Event control system and method
CN109213956A (en) * 2018-09-18 2019-01-15 成都知道创宇信息技术有限公司 A method of generating online product introduction single page
CN109710354A (en) * 2018-12-13 2019-05-03 平安普惠企业管理有限公司 Page monitor method, page restoring method, device, equipment and medium
CN110134897A (en) * 2019-04-10 2019-08-16 口碑(上海)信息技术有限公司 Browser window control method and device
CN110413913A (en) * 2019-07-04 2019-11-05 北京字节跳动网络技术有限公司 A kind of page furbishing method, device, terminal and storage medium
CN111563219A (en) * 2020-04-20 2020-08-21 北京明略软件系统有限公司 State management method and device for web application
CN113076501A (en) * 2021-04-21 2021-07-06 广州虎牙科技有限公司 Page processing method, storage medium and equipment

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894162B (en) * 2010-07-22 2012-05-09 北京天融信科技有限公司 Dynamic network event correlation and linkage implement method and device
CN101894162A (en) * 2010-07-22 2010-11-24 北京天融信科技有限公司 Dynamic network event correlation and linkage implement method and device
CN102654831A (en) * 2011-03-04 2012-09-05 百度在线网络技术(北京)有限公司 Device and method for intensively controlling WEB page event and state
CN103207748B (en) * 2012-01-17 2016-03-02 腾讯科技(深圳)有限公司 Method and the browser of response is realized based on browser extension
CN103207748A (en) * 2012-01-17 2013-07-17 腾讯科技(深圳)有限公司 Method for implementing response based on browser expansion and browser
CN103377109A (en) * 2012-04-13 2013-10-30 国际商业机器公司 Computer implemented method and system
US9628357B2 (en) 2012-04-13 2017-04-18 International Business Machines Corporation Service compliance enforcement using user activity monitoring and work request verification
US9608881B2 (en) 2012-04-13 2017-03-28 International Business Machines Corporation Service compliance enforcement using user activity monitoring and work request verification
CN104601543A (en) * 2014-12-05 2015-05-06 百度在线网络技术(北京)有限公司 Method and system for identifying software tampered browser home page
CN104503748A (en) * 2014-12-12 2015-04-08 珠海金山网络游戏科技有限公司 Editor system and method based on event driving
CN106294116A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Record and the methods, devices and systems of reproduction process process
CN104965701B (en) * 2015-06-12 2018-01-16 北京奇虎科技有限公司 Obtain the method and device of application message
CN104965701A (en) * 2015-06-12 2015-10-07 北京奇虎科技有限公司 Method and device for acquiring application information
CN105573756B (en) * 2015-12-15 2018-11-30 金蝶软件(中国)有限公司 A kind of script language extensions method and event bus framework
CN105573756A (en) * 2015-12-15 2016-05-11 金蝶软件(中国)有限公司 Script language extension method and event bus framework
CN106250107A (en) * 2016-07-18 2016-12-21 福建天泉教育科技有限公司 A kind of data statistical approach and system
CN106775226A (en) * 2016-12-05 2017-05-31 北京中交兴路信息科技有限公司 A kind of system of gathered data
CN106775226B (en) * 2016-12-05 2020-01-03 北京中交兴路信息科技有限公司 Data acquisition system
CN108241542A (en) * 2016-12-23 2018-07-03 北京国双科技有限公司 Event control system and method
CN109213956A (en) * 2018-09-18 2019-01-15 成都知道创宇信息技术有限公司 A method of generating online product introduction single page
CN109710354A (en) * 2018-12-13 2019-05-03 平安普惠企业管理有限公司 Page monitor method, page restoring method, device, equipment and medium
CN110134897A (en) * 2019-04-10 2019-08-16 口碑(上海)信息技术有限公司 Browser window control method and device
CN110413913A (en) * 2019-07-04 2019-11-05 北京字节跳动网络技术有限公司 A kind of page furbishing method, device, terminal and storage medium
CN111563219A (en) * 2020-04-20 2020-08-21 北京明略软件系统有限公司 State management method and device for web application
CN111563219B (en) * 2020-04-20 2023-10-20 北京明略软件系统有限公司 State management method and device for web application
CN113076501A (en) * 2021-04-21 2021-07-06 广州虎牙科技有限公司 Page processing method, storage medium and equipment

Similar Documents

Publication Publication Date Title
CN101685451A (en) Method for monitoring events in browser, event monitoring device and browser equipment
US20200250024A1 (en) High-volume distributed script error handling
US7421683B2 (en) Method for the use of information in an auxiliary data system in relation to automated testing of graphical user interface based applications
KR101791623B1 (en) Visualizing realationships between a transaction trace graph and a map of logical subsystems
CN106294101B (en) The page gets test method and device ready
JP5134684B2 (en) How to understand website information through web page structure analysis
CN108304498A (en) Webpage data acquiring method, device, computer equipment and storage medium
US20080126931A1 (en) System and method for recording and reproducing user operation
US8335845B2 (en) Web application management method and web system
US8275581B2 (en) Managing statistical profile data
US20100017486A1 (en) System analyzing program, system analyzing apparatus, and system analyzing method
US20130263156A1 (en) Operation log collection method and device
US20170251072A1 (en) System and method for annotating client-server transactions
US10884907B1 (en) Methods and systems for automated testing using browser extension
CN107451049A (en) Client bottleneck analysis is carried out using real user Monitoring Data
US20100162113A1 (en) Operation support system, operation support method, and operation support program
CN113987393A (en) Web page operation recorder, system, device and method
KR101123361B1 (en) Sever, method for managing learning environment by network service and computer readable record-medium on which program for executing method thereof
CN107451056B (en) Method and device for monitoring interface test result
CN104123104B (en) Daily record control system and method
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
CN110321278B (en) System testing method and device, computer equipment and storage medium
CN116126808A (en) Behavior log recording method, device, computer equipment and storage medium
JP4451188B2 (en) Information processing system and control method of information processing system
US10362090B2 (en) Automating a process associated with a web based software application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100331