Summary of the invention
Technical problem to be solved by this invention is to provide a kind of user's operation in browser and carries outRecord and the method for playback, in order to the accurate complete operating procedure of recording the program that user uses,And can playback. Improve stability and the reliability recorded with replayed section, simplify user's operation;And function can be integrated in browser easily.
Accordingly, the present invention also provides a kind of user's operation in browser to record and returnThe device of putting, in order to ensure said method application in practice.
In order to address the above problem, to the invention discloses a kind of user's operation in browser and carry outThe method of recording, is characterized in that, comprising:
Start recording user's operation;
Preserve the configuration information of current browser;
Gather operation information when keyboard operation, and/or operation information when mouse action, behaviour generatedNote down;
Converting the configuration information of described browser and operation note to single operation program block protectsDeposit.
Preferably, the step of the configuration information of the current browser of described preservation can comprise:
Preserve window size and the positional information of current browser;
Preserve the configuration information on interface tool hurdle, status bar and collection hurdle.
Preferably, operation information when described collection keyboard operation, and/or behaviour when mouse actionMake message, the step of generating run record can comprise:
Gather typing operation and the handover operation of keyboard;
And/or moving event and the click event of collection mouse;
Obtain typing operation and the handover operation of described keyboard, and/or the moving event of mouse and clickWhen event, be kept at the lParam parameter of HookProc function;
Generate should keyboard and/or the operation note of mouse action according to this lParam parameter information.
Preferably, the typing operation of described collection keyboard and the step of handover operation can be furtherComprise:
Start the text edit tool, log-on message is inputed to text edit tool;
The log-on message of the text formatting of this input is encrypted, and be written in described lParam.
Preferably, the moving event of described collection mouse and click event can comprise:
Moving event and the click event of monitoring mouse, after moving event triggers, obtain current mouseTarget coordinate and color;
In the time there is mouse click event, moving event is preserved before coordinate and color are saved inClick in color parameter clickcolor.
Preferably, describedly convert the configuration information of described browser and operation note to single behaviourThe step of preserving as program block can comprise:
When each described record operation is carried out in preservation corresponding browser window size and positional information withAnd the configuration information on interface tool hurdle, status bar and collection hurdle;
The configuration information of described browser and operation note are kept in same operation sequence piece, doFor single operation program block is preserved.
Preferably, described method, may further include:
Analyze the lParam parameter information in the operation note generating;
The time interval of deleting described mouse moving event is lower than the behaviour of preset ineffective time of threshold valueDo;
By the time interval before described keyboard operation, be revised as the preset time;
By typing operation and the handover operation of described keyboard, and/or the moving event of mouse and click thingPart records generating run record according to the order of sequence.
Preferably, described preset threshold value ineffective time can be 20 milliseconds, described when presetBetween can be 5 milliseconds.
Preferably, described startup recording step and can comprise user operation:
Shortcut or the shortcut of preset recording operation are set;
Click and start this shortcut or shortcut.
Preferably, described method, may further include:
Click described preset shortcut or shortcut and finish recording operation;
In the operation sequence piece generating, delete the preset shortcut of click or shortcut and finish recordThe operation note of system.
The invention also discloses a kind of operation sequence piece based on record described in claim 1 to clearThe register of looking in device carries out the method for playback, specifically can comprise:
Load the browser configuration information in described single operation program block;
Read described operation note, the operation information while being reduced to keyboard operation, and/or mouse actionTime operation information;
Operation information during according to described keyboard operation, and/or operation information when mouse action is clearLook at device target location carry out respective operations.
Preferably, described method, can also comprise:
By the DocumentComplete function of WebBrowser, judge that described operation playback isNoly normally complete;
If so, finishing described operation records and playback program;
If not, point out user again to record.
Preferably, the described step that judges whether described operation playback normally completes can be furtherComprise:
Check whether loaded of described current browser configuration information;
Check whether the operation information in described operation note returns complete.
Preferably, described read operation record, the operation information while being reduced to keyboard operation, and/Or the step of operation information when mouse action can comprise:
Described operation note is turned back to the position of the sensing of lParam;
Resolve the operation note of the position that described lParam points to, and while being reduced to keyboard operationOperation information, and/or operation information when mouse action.
Preferably, the step of the browser configuration information in the described single operation program block of described loadingSuddenly can comprise:
Resolve the browser configuration information in described single operation program block;
Obtain window size and the positional information of operation in each operation note browser while carrying out,And the configuration information on interface tool hurdle, status bar and collection hurdle.
Preferably, described operation information during according to keyboard operation, and/or behaviour when mouse actionMaking message can comprise in the step of browser target location execution respective operations:
By calling the message playback function of PlayProc, the operation while resolving described keyboard operation disappearsBreath, and/or operation information when mouse action;
Obtain in order typing operation and the handover operation of described keyboard, and/or the moving event of mouseAnd click event;
The window size of browser and position letter while carrying out according to the operation in the operation note of obtainingBreath, and the configuration information on interface tool hurdle, status bar and collection hurdle, carry out accordingly in orderTyping operation and the handover operation of described keyboard, and/or the moving event of mouse and click event.
Preferably, described operation information during according to mouse action is carried out in browser target locationThe step of respective operations can comprise:
When mouse moves to behind target location, obtain the color value of target location, contrast operation's journeyThe click color parameter clickcolor that order piece is preserved, if equated, carries out in this target locationCorresponding mouse action record.
The present invention discloses a kind of device of recording, tool that user in browser is operatedBody can comprise:
Record start unit, it is configured to start recording user's operation;
Configuration information storage unit, it is configured to preserve the configuration information of current browser;
Operation note generation module, operation information when it is configured to gather keyboard operation, and/or mouseOperation information when mark operation, generating run record;
Operation sequence piece is preserved module, and it is configured to the configuration information of described browser and operation noteRecord converts single operation program block to and preserves.
Preferably, described configuration information storage unit can comprise:
Spatial information is preserved submodule, and it is configured to preserve window size and the position of current browserInformation;
Function information is preserved submodule, and it is configured to preserve interface tool hurdle, status bar and collection hurdleConfiguration information.
Preferably, described operation note generation module can comprise:
Keyboard operation gathers submodule, and it is configured to gather typing operation and the handover operation of keyboard;
Mouse event gathers submodule, and it is configured to gather moving event and the click event of mouse;
Operation and event are preserved submodule, and it is configured to obtain the typing operation of described keyboard and switchOperation, and/or be kept at the lParam of HookProc function when the moving event of mouse and click eventParameter;
Operation note generates submodule, and it is configured to generate should according to this lParam parameter informationThe operation note of keyboard and/or mouse action.
Preferably, described operation sequence piece preservation module can comprise:
Configuration information is preserved submodule, and it is configured to preserve correspondence while carrying out each described record operationBrowser window size and the setting on positional information and interface tool hurdle, status bar and collection hurdleInformation;
Program block is preserved submodule, and it is configured to the configuration information of described browser and operation noteBe kept in same operation sequence piece, preserve as single operation program block.
Preferably, described device, may further include:
Submodule is analyzed in operation note, and it is configured to analyze the lParam in the operation note generatingParameter information;
Invalid operation is deleted submodule, and it is configured to delete the time interval of described mouse moving eventLower than the operation of preset ineffective time of threshold value;
Time interval amendment submodule, it was configured to the time interval before described keyboard operation,Be revised as the preset time;
By typing operation and the handover operation of described keyboard, and/or the moving event of mouse and click thingPart records generating run record according to the order of sequence.
The invention also discloses a kind of operation sequence piece based on record described in claim 18 to clearThe register of looking in device carries out the device of playback, specifically can comprise:
Configuration information load-on module, it is configured to load the browser in described single operation program blockConfiguration information;
Operation note read module, it is configured to read described operation note, is reduced to keyboard operationTime operation information, and/or operation information when mouse action;
Respective operations Executive Module, operation information when it is configured to according to described keyboard operation, and/Or operation information when mouse action is carried out respective operations in browser target location.
Preferably, described device, can also comprise:
Playback operation judge module, it is configured to the DocumentComplete by WebBrowserFunction, judges whether described operation playback normally completes;
EP (end of program) module, it is configured to finish described operation and records and playback program;
The reminding module processed of rerecording, it is configured to point out user again to record.
Preferably, described playback operation judge module can comprise:
Environment arranges inspection submodule, and it is configured to check whether the setting of described current system environment addsCarry complete;
Operation information checks submodule, and it is configured to check that the operation information in described operation note isNo return complete.
Compared with prior art, the present invention has the following advantages:
The present invention is recorded and is recorded subprogram with playback program generating messages and message is returned by configuration operationPut subprogram. Operation information while operation by message recording subprogram collection key mouse, generating run noteRecord; Convert corresponding one group of operation note packing to single operation program block. Click single operationProgram block, message playback subprogram starts, and the operation information in described operation note is turned back toIn the region that lParam points to; System is carried out the key mouse operation that described operation information is corresponding, and it is right to completeAnswer the playback of key mouse operation in single operation program block.
And, by the message recording function of HookProc function as record operation is set, generateMessage recording subprogram; The memory location corresponding to lParam of HookProc function is set, generates notePosition is preserved in record operation; The message playback function of PlayProc as record operation is set, and generation disappearsBreath playback subprogram. Facilitate like this operation to record with playback program integrated in browser.
Detailed description of the invention
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction withThe present invention is further detailed explanation for the drawings and specific embodiments.
One of core idea of the embodiment of the present invention is, records and playback program by configuration operationGenerating messages is recorded subprogram and message playback subprogram. Gathering key mouse by message recording subprogram graspsOperation information while work, generating run record; Convert corresponding one group of operation note packing to listInferior operation sequence piece. Click single operation program block, message playback subprogram starts, by described behaviourThe operation information of noting down turns back in the region of lParam sensing; System is carried out described operation and is disappearedCease corresponding key mouse operation, complete the playback of key mouse operation in corresponding single operation program block.
And, by the message recording function of HookProc function as record operation is set, generateMessage recording subprogram; The memory location corresponding to lParam of HookProc function is set, generates notePosition is preserved in record operation; The message playback function of PlayProc as record operation is set, and generation disappearsBreath playback subprogram. Facilitate like this operation to record with playback program integrated in browser.
With reference to Fig. 1, show a kind of embodiment of the method for recording that user in browser is operatedFlow chart, specifically can comprise the following steps:
Step 101, startup being recorded user's operation;
In a preferred embodiment of the present invention, described step 101 specifically can comprise following sonStep:
Sub-step S01, the shortcut that preset recording operation is set or shortcut;
Sub-step S02, click start this shortcut or shortcut.
Sub-step S03, click described preset shortcut or shortcut finishes recording operation;
Sub-step S04, in the operation sequence piece generating, delete and click preset shortcut or fastThe operation note that prompt bond bundle is recorded.
Step 102, preserve the configuration information of current browser;
In a preferred embodiment of the present invention, described step 102 specifically can comprise following sonStep:
Sub-step S11, the window size of preserving current browser and positional information;
Sub-step S12, the configuration information of preserving interface tool hurdle, status bar and collection hurdle.
In specific implementation, the window size of browser and position, and instrument in browser interfaceThe configuration information on hurdle, status bar and collection hurdle can affect record with replayed section in the coordinate of mouseThe accuracy of position, thus window size and the position of browser in the time recording with playback, will be ensured,And the uniformity of the configuration information on toolbar, status bar and collection hurdle in browser interface.
In specific implementation, preserve current system configuration information and can comprise the Windows system of preservingConfiguration information and preserve the configuration information of current browser.
As: 360 very fast browsers are example, Preferences file record window size and position,Whether the information such as hurdle, status bar are collected in startup.
Step 103, gather operation information when keyboard operation, and/or operation when mouse action disappearsBreath, generating run record;
In a preferred embodiment of the present invention, described step 103 specifically can comprise following sonStep:
Typing operation and the handover operation of sub-step S21, collection keyboard;
In a preferred embodiment of the present invention, described sub-step S21 specifically can comprise followingUnit:
Start the text edit tool, log-on message is inputed to text edit tool;
The log-on message of the text formatting of this input is encrypted, and be written in described lParam.
In specific implementation, can adopt and record function and record operation information, as:
SetWindowsHookEx(idHook:WH_JOURNALRECORD;lpfn:HookProc; Hmod:HInstance; DwThreadId:0) WH_JOURNALRECORD whereinBe the call method of " recording ", HookProc is the Message function of record operation, whenever there being mouse buttonWhen dish message occurs, system all can be called this function, and information is just kept at HookProc functionLParam in, the information in lParam can generate current operation record.
Moving event and the click event of sub-step S22 and/or collection mouse;
In a preferred embodiment of the present invention, described sub-step S22 specifically can comprise followingUnit:
Moving event and the click event of monitoring mouse, after moving event triggers, obtain current mouseTarget coordinate and color;
In the time there is mouse click event, moving event is preserved before coordinate and color are saved inClick in color parameter clickcolor.
In specific implementation, the operation of preserving mouse color judging point can be:
The moving event of monitoring mouse and click event are (with SetWindowsHookEx'sWH_MOUSE method is hung overall hook), after moving event triggers, obtain the seat of current mouseMark and color. In the time there is mouse click event, moving event is preserved before coordinate and colorBe saved in clickcolor.
Sub-step S23, obtain typing operation and the handover operation of described keyboard, and/or the moving of mouseWhen moving event and click event, be kept at the lParam parameter of HookProc function;
Sub-step S24, generate should keyboard and/or mouse action according to this lParam parameter informationOperation note.
In specific implementation, Windows provides api function SetwindowsHookEx to set up oneIndividual Hook, can be added to a program in Hook chain and monitor by this functionWindows messaging, function grammer is: SetWindowsHookEx (idHook:Integer; Lpfn:TFNHookProc; Hmod:HINST; DwThreadId:DWORD) parameter idHook whereinSpecify the supervision type function of setting up. WH_JOURNALRECORD andWH_JOURNALPLAYBACK is that it is configured to monitor and playback keyboard, mouse action.
In specific implementation, in Windows system, document (Document) is to liking WindowsA part for object, can conduct interviews to it by window.document attribute. Each yearEnter the HTML(HTML of browser, HypertextMarkupLanguage) literary compositionShelves all can become Document object. Utilization Document object can be right from scriptAll elements in html page conducts interviews, such as: click click (), search and specify id'sUser's operations such as element getElementById (). It is configured to operation to record and playback program collectionBecome in browser.
In specific implementation, in the time that needs are inputted bank account, password, press [*] key and openNotepad program, in notepad, and uses code analysis text message user name Password InputMode be interpreted as code language, be integrated in the function lParam recording. Closing notepad continuesContinuous Net silver operation. So just can the operation such as the Net silver generating run record of password and certification will be related to.
In a preferred embodiment of the present invention, described step 103 further can comprise followingSub-step:
LParam parameter information in the operation note that sub-step S25, analysis generate;
Sub-step S26, delete described mouse moving event the time interval lower than preset ineffective timeThe operation of threshold value;
Sub-step S27, by the time interval before described keyboard operation, be revised as the preset time;
Sub-step S28, by typing operation and the handover operation of described keyboard, and/or the movement of mouseEvent and click event record generating run record according to the order of sequence.
In a preferred embodiment of the present invention, described preset threshold value ineffective time can be 20Millisecond, the described preset time can be 5 milliseconds.
In specific implementation, analysis operation record before packing. When the time interval of mouse moving eventFor within 20ms (millisecond) time, can delete waiting time and mouse before it movesMoving event. Object is to delete invalid mouse move operation, allows playback carry out faster. Work as keyboard, can revise the stand-by period is 5ms when at the before free interval of operation; The interval of stand-by periodCan need to set according to client, but for fear of the situation that occurs the machine of delaying and card, minimum settingMay be controlled to 5ms.
Step 104, convert the configuration information of described browser and operation note to single operation programPiece is preserved.
In a preferred embodiment of the present invention, described step 104 specifically can comprise following sonStep:
Sub-step S31, preserve browser window size corresponding while carrying out each described record operation andThe configuration information on positional information and interface tool hurdle, status bar and collection hurdle;
Sub-step S32, the configuration information of described browser and operation note are kept to same operation journeyIn order piece, preserve as single operation program block.
In specific implementation, after end is recorded, can delete the operation of last clickable icon.The operation being integrated in browser is recorded with playback program and can be realized by the form of plug-in unit, can be clearLook on device and show an icon. Starting and stopping message recording subprogram all needs clickable iconBecome, the clicking operation that therefore finishes to record is not user's valid function, so delete.
In specific implementation, one step completed operation note can be generated to corresponding operation sequence piece.In order to facilitate client to use, operation sequence piece can be generated to shortcut at desktop or file,User clicks the operation note of shortcut in both can playback operation program block.
With reference to Fig. 6, show a kind of operation sequence piece based on record to the register in browserCarry out the flow chart of the embodiment of the method for playback, specifically can comprise the following steps:
Step 201, load the browser configuration information in described single operation program block;
In a preferred embodiment of the present invention, described step 201 specifically can comprise following sonStep:
Sub-step S41, resolve the browser configuration information in described single operation program block;
Sub-step S42, obtain operation in each operation note browser while carrying out window size andPositional information, and the configuration information on interface tool hurdle, status bar and collection hurdle.
Step 202, read described operation note, the operation information while being reduced to keyboard operation, and/Or operation information when mouse action;
In a preferred embodiment of the present invention, described step 202 specifically can comprise following sonStep:
Sub-step S51, described operation note is turned back to the position of the sensing of lParam;
Sub-step S52, resolve the operation note of the position that described lParam points to, and be reduced toOperation information when keyboard operation, and/or operation information when mouse action.
Step 203, operation information during according to described keyboard operation, and/or behaviour when mouse actionMake message and carry out respective operations in browser target location;
In a preferred embodiment of the present invention, described step 203 specifically can comprise following sonStep:
Sub-step S61, by calling the message playback function of PlayProc, resolve described keyboard operationTime operation information, and/or operation information when mouse action;
Sub-step S62, obtain in order typing operation and the handover operation of described keyboard and/or mouseTarget moving event and click event;
The window size of browser when operation in sub-step S63, the foundation operation note of obtaining is carried outAnd positional information, and the configuration information on interface tool hurdle, status bar and collection hurdle, press accordinglyOrder is carried out typing operation and the handover operation of described keyboard, and/or the moving event of mouse and clickEvent;
Sub-step S64, when mouse moves to behind target location, obtain the color value of target location,The click color parameter clickcolor that contrast operation's program block is preserved, if equated, in this targetCorresponding mouse action record is carried out in position.
In specific implementation, system environments setting can comprise the configuration of every element of recording processInformation. Wherein, for the method that judges whether element has represented, can be by operation information and to recordWhether the configuration information of the correspondence position generating at operation information in process processed is identical.
As: when mouse moves to behind target location, obtain the color of mouse, the insertion before contrastColor clickcolor. If equated, illustrate that action required element can click. If mouse, in the region of browser, need not judge.
Taking certain browser as example, judge that mouse is whether in browser page:
Enumerate all windows, the handle of preserving class InternetExplorer_Server by name arrivesMainHwnd。
Then obtain the coordinate of the page with GetWindowRect function.
Step 204, by the DocumentComplete function of WebBrowser, described in judgementWhether operation playback normally completes; If so, finishing described operation records and playback program; If not,Point out user again to record.
In specific implementation, whether the page that can carry out by operation information has loaded judgesWhether operation information is carried out smoothly. As: the DocumentComplete of use WebBrowser canJudge whether the page has loaded.
In a preferred embodiment of the present invention, described step 204 specifically can comprise following sonStep:
Sub-step S71, check whether loaded of described current browser configuration information;
Sub-step S72, check whether the operation information in described operation note returns complete.
In specific implementation, playback operation record can opening operation be recorded and playback program, selectsPlayback operation; Also can click corresponding single operation program block, directly the sub-journey of initiation message playbackOrder.
The method of playback mouse key operation can be:
SetWindowsHookEx(idHook:WH_JOURNALPLAYBACK;lpfn:PlayProc;hmod:HInstance;dwThreadId:0)
Wherein WH_JOURNALPLAYBACK is the call method of " playback ", and PlayProc isMessage playback function, can call this function when executable operations message playback when system, and program just willThe operation information value of precedence record turns back in the region of lParam sensing, and system will be carried out this behaviourMake message, thereby realized playback.
In order to facilitate those skilled in the art to understand better the present invention, below by complete showingExample illustrates further the present invention:
1, in certain browser, operate by api function SetwindowsHookEx foundation recordMessage recording function, generating messages is recorded subprogram. And by the bank bit corresponding lParam of functionPut the operation as record and preserve position. Utilize PlayProc to set up the message playback function of record operation,Generating messages playback subprogram.
2, open certain browser, start described operation and record and playback program, prepare to hand over water powerOperation records. First preserve the configuration information of current browser.
3, can hang overall hook monitoring by the WH_MOUSE method of SetWindowsHookExThe moving event of mouse and click event, after moving event triggers, obtain the coordinate of current mouseAnd color. In the time there is mouse click event, moving event is preserved before coordinate and color are protectedDeposit in clickcolor. Can obtain with HookProc Message function the clicking operation of mouse simultaneouslyBe kept in the lParam of HookProc function with the operation information of keyboard move operation, generate currentOperation note.
4,, when needs proceed to the Net silver page, when input Bank Account Number and password, open notepadProgram, user name Password Input in notepad, and by the mode solution of code analysis text messageBe interpreted as code language, be integrated in the function lParam recording. The Net silver of password and certification will be related toDeng operation generating run record.
5, after the operation of handing over water power is all completed, arrange the operation of the lParam that is recorded in functionRecord, deletes the operation note of last clickable icon, converts other operation notes to operationMessage value, is packaged as the operation sequence piece that charges for water and electricity Net silver is submitted to according to the order of sequence. Generate corresponding at desktopShortcut.
6, click the corresponding shortcut that desktop generates, the operation journey that the electricity charge Net silver of fetching boiling water is submitted toOrder piece. Initiation message playback subprogram, can load; Can be message playback by PlayProcFunction, turns back to the operation information value of prior operation record in the region of lParam sensing systemWill carry out corresponding operation information. Load corresponding browser configuration according to corresponding operation informationInformation and the corresponding page.
7, find that corresponding browser configuration information and the corresponding page cannot load, to useFamily sends information; Inform partial page, browser in the operation that user's charges for water and electricity Net silver submits toConfiguration waits element to occur change, need to again record corresponding complete operation.
It should be noted that, for embodiment of the method, for simple description, therefore it is all expressed asA series of combination of actions, but those skilled in the art should know, the present invention be not subject to retouchThe restriction of the sequence of movement of stating because according to the present invention, some step can adopt other order orPerson carries out simultaneously. Secondly, those skilled in the art also should know, the reality described in descriptionExecute example and all belong to preferred embodiment, related action might not be that the present invention is necessary.
With reference to Figure 11, show a kind of device enforcement of recording that user in browser is operatedThe structured flowchart of example, specifically can comprise:
Record start unit 301, it is configured to start recording user's operation;
Configuration information storage unit 302, it is configured to preserve the configuration information of current browser;
In a preferred embodiment of the present invention, described configuration information storage unit 302 specifically canTo comprise following submodule:
Spatial information is preserved submodule, and it is configured to preserve window size and the position of current browserInformation;
Function information is preserved submodule, and it is configured to preserve interface tool hurdle, status bar and collection hurdleConfiguration information.
Operation note generation module 303, operation information when it is configured to gather keyboard operation, and/Or operation information when mouse action, generating run record;
In a preferred embodiment of the present invention, described operation note generation module 303 specifically canTo comprise following submodule:
Keyboard operation gathers submodule S81, and it is configured to gather the typing operation of keyboard and switch behaviourDo;
Mouse event gathers submodule S82, and it is configured to gather the moving event of mouse and clicks thingPart;
Operation and event are preserved submodule S83, and it is configured to obtain the typing operation of described keyboard and cutChange operation, and/or be kept at HookProc function when the moving event of mouse and click eventLParam parameter;
Operation note generates submodule S84, and it is right that it is configured to generate according to this lParam parameter informationShould keyboard and/or the operation note of mouse action;
Submodule S85 is analyzed in operation note, and it is configured to analyze in the operation note generatingLParam parameter information;
Invalid operation is deleted submodule S86, and it was configured to delete between the time of described mouse moving eventEvery lower than preset ineffective time threshold value operation;
Time interval amendment submodule S87, it is configured between the time before described keyboard operationEvery, be revised as the preset time;
Operation note conversion submodule S88, it is configured to the typing operation of described keyboard and switches behaviourDo, and/or the moving event of mouse and click event record generating run record according to the order of sequence.
Operation sequence piece is preserved module 304, and it is configured to the configuration information of described browser and operationRecord converts single operation program block to and preserves.
In a preferred embodiment of the present invention, described operation sequence piece preservation module 304 is concreteCan comprise following submodule:
Configuration information is preserved submodule S91, and it is configured to preserve while carrying out each described record operation pairEstablishing of the browser window size of answering and positional information and interface tool hurdle, status bar and collection hurdlePut information;
Program block is preserved submodule S92, and it is configured to the configuration information of described browser and operation noteRecord is kept in same operation sequence piece, preserves as single operation program block.
With reference to Figure 14, show a kind of operation sequence piece based on record to the login behaviour in browserWork carries out the structured flowchart of the device embodiment of playback, specifically can comprise:
Configuration information load-on module 401, it is configured to load browsing in described single operation program blockDevice configuration information;
Operation note read module 402, it is configured to read described operation note, is reduced to keyboard behaviourOperation information while work, and/or operation information when mouse action;
Respective operations Executive Module 403, operation information when it is configured to according to described keyboard operation,And/or operation information when mouse action is carried out respective operations in browser target location;
Playback operation judge module 404, it is configured to by WebBrowser'sDocumentComplete function, judges whether described operation playback normally completes;
EP (end of program) module 405, it is configured to finish described operation and records and playback program;
The reminding module 406 processed of rerecording, it is configured to point out user again to record.
Because described device embodiment is substantially corresponding to preceding method embodiment, therefore the retouching of the present embodimentNot detailed part in stating, can, referring to the related description in previous embodiment, just not repeat at this.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system,Or computer program. Therefore, the present invention can adopt complete hardware implementation example, software is real completelyExecute example or the form in conjunction with the embodiment of software and hardware aspect. And the present invention can adoptOne or more computer-usable storage medium (bags that wherein include computer usable program codeDraw together but be not limited to magnetic disc store, CD-ROM, optical memory etc.) the upper computer journey of implementingThe form of order product.
The present invention is that reference is according to the method for the embodiment of the present invention, equipment (system) and computer journeyThe flow chart of order product and/or block diagram are described. Should understand can be real by computer program instructionsEach flow process and/or square frame and flow chart and/or side in existing flow chart and/or block diagramFlow process in block diagram and/or the combination of square frame. Can provide these computer program instructions to general meterThe processor of calculation machine, special-purpose computer, Embedded Processor or other programmable data processing deviceTo produce a machine, make by the processor of computer or other programmable data processing deviceThe instruction of carrying out produces for realizing at flow process of flow chart or multiple flow process and/or block diagram oneThe device of the function of specifying in individual square frame or multiple square frame.
These computer program instructions also can be stored in can vectoring computer or other programmable data placesIn the computer-readable memory of reason equipment with ad hoc fashion work, making to be stored in this computer canInstruction in memory read produces the manufacture that comprises command device, and this command device is realized in flow processThe merit of specifying in flow process of figure or multiple flow process and/or square frame of block diagram or multiple square frameEnergy.
These computer program instructions also can be loaded into computer or other programmable data processing deviceUpper, make to carry out sequence of operations step and calculate to produce on computer or other programmable devicesThe processing that machine is realized, thus the instruction of carrying out on computer or other programmable devices is provided forRealize in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frameThe step of the function of specifying.
Although described the preferred embodiments of the present invention, once those skilled in the artThe basic creative concept of cicada, can make other change and amendment to these embodiment. So,Claims are intended to be interpreted as comprising preferred embodiment and fall into all changes of the scope of the inventionMore and amendment.
Method, device and server in the invention described above embodiment are applicable to diverse network or visitorIn end ring border, family, for example, can realize in the computer equipment such as PC device,Or can realize such as mobile phone, mobile communication equipment, PDA(Personal Digital Assistant)In other portable electric appts or non-portable electronic equipment. Therefore those skilled in the artWant clear and definite, the operation that protection scope of the present invention is not limited in the upper running browser of PC is recordedFunction and operation playback function are only for the succinct and convenient of description in embodiments of the present inventionAdopt operation recording function and operation playback function in the upper running browser of PC to be described.
Above to a kind of side recording that user in browser is operated provided by the present inventionMethod, a kind of operation sequence piece based on record carries out playback method to the register in browser;And, a kind of device of recording that user in browser is operated, a kind of behaviour based on recordMake the device that program block carries out playback to the register in browser and be described in detail, hereinIn applied specific case principle of the present invention and embodiment set forth, above embodimentExplanation just for helping to understand method of the present invention and core concept thereof; Meanwhile, for abilityThe those skilled in the art in territory, according to thought of the present invention, in specific embodiments and applicationsAll will change, in sum, this description should not be construed as limitation of the present invention.