[go: up one dir, main page]

CN102841789A - Method and device for recording and playing back user operations in browser - Google Patents

Method and device for recording and playing back user operations in browser Download PDF

Info

Publication number
CN102841789A
CN102841789A CN2012102272336A CN201210227233A CN102841789A CN 102841789 A CN102841789 A CN 102841789A CN 2012102272336 A CN2012102272336 A CN 2012102272336A CN 201210227233 A CN201210227233 A CN 201210227233A CN 102841789 A CN102841789 A CN 102841789A
Authority
CN
China
Prior art keywords
browser
mouse
keyboard
record
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102272336A
Other languages
Chinese (zh)
Other versions
CN102841789B (en
Inventor
赵鹏
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qi Flying Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210227233.6A priority Critical patent/CN102841789B/en
Publication of CN102841789A publication Critical patent/CN102841789A/en
Application granted granted Critical
Publication of CN102841789B publication Critical patent/CN102841789B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for recording and playing back user operations in a browser. The method comprises the following steps of: starting to record the user operations; storing the configuration information of the current browser; acquiring the operation message of keyboard operations, and/or the operation message of mouse operation, and generating operation records; and converting the configuration information and the operation records of the browser into a single operation program block, and storing the single operation program block. The method and the device can be used for accurately and completely recording the operation steps of a program used by a user, and also can play back the operation steps. The stability and the reliability in the recording process and the playback process are improved, and the user operations are simplified; and functions can be conveniently integrated in the browser.

Description

一种对浏览器中的用户操作进行录制和回放的方法和装置A method and device for recording and playing back user operations in a browser

技术领域 technical field

本发明涉及程序智能操作的技术领域,特别是涉及一种对浏览器中的用户操作进行录制和回放的方法,以及,一种对浏览器中的用户操作进行录制和回放的装置。The present invention relates to the technical field of program intelligent operation, in particular to a method for recording and replaying user operations in a browser, and a device for recording and replaying user operations in a browser.

背景技术 Background technique

现今的电脑应用越来越广泛,许多事情都可以通过网络来解决,但是对于一些老人或特殊人群(如伤残人士),复杂的电脑操作让他们越来越力不从心。因此,需要借助一些程序智能操作来提供便利。如:可以将一项程序操作录制下来,生成一个快捷方式,下次需要使用时可以只点击快捷方式,系统将自动完成所述程序操作。Today's computer applications are becoming more and more widespread, and many things can be solved through the Internet, but for some elderly or special groups (such as the disabled), complex computer operations make them more and more powerless. Therefore, some program intelligence is needed to provide convenience. For example, you can record a program operation and generate a shortcut, and you can just click the shortcut when you need to use it next time, and the system will automatically complete the program operation.

现有的一些解决技术是:QuickTestProfessional(简称QTP)是Mercury公司开发的一种自动测试工具,当用户操作的时候,QTP的录制机制能够将用户的每一个操作步骤及被操作的对象记录下来,自动生成测试脚本语句供用户随时回放操作。QTP提供了3种录制方式:正常录制(Normal Recording)、模拟录制(Analog Recording)、低级录制(LowLevel Recording)。Some existing solutions are: QuickTest Professional (QTP for short) is an automatic testing tool developed by Mercury. When the user operates, the recording mechanism of QTP can record every operation step of the user and the object being operated. Automatically generate test script statements for users to play back operations at any time. QTP provides 3 recording methods: normal recording (Normal Recording), analog recording (Analog Recording), low-level recording (LowLevel Recording).

但是,QTP的录制方式存在很多不足的地方。However, there are many deficiencies in the recording method of QTP.

1、正常录制模式是直接对标准控件的操作,对非标准控件无法识别;1. The normal recording mode is a direct operation on standard controls, and cannot recognize non-standard controls;

2、模拟录制模式是模拟鼠标、键盘的轨迹和按键操作,有很多无效操作,而且当窗口坐标移动的时候,很容易误操作;2. The analog recording mode is to simulate the trajectory and button operation of the mouse and keyboard. There are many invalid operations, and when the window coordinates are moved, it is easy to misuse;

3、低级录制模式是把所有的对象识别为WinObject,对位置要求更严格不能移动窗口,录制时需要设定x/y坐标,过程过于复杂。3. The low-level recording mode recognizes all objects as WinObjects, and has stricter requirements on the position and cannot move the window. The x/y coordinates need to be set during recording, and the process is too complicated.

并且QTP软件过于庞大(几百MB),是独立的程序,不能方便的集成在浏览器中。Moreover, the QTP software is too large (hundreds of MB) and is an independent program, which cannot be easily integrated in the browser.

因此,本领域技术人员迫切需要解决的问题是:提供一种对浏览器中的用户操作进行录制和回放的方法和装置,用以准确完整的录制用户所使用的程序的操作步骤,并能回放。提高录制和回放过程的稳定性和可靠性,简化用户的操作;并且能够将功能方便的集成在浏览器中。Therefore, an urgent problem to be solved by those skilled in the art is to provide a method and device for recording and replaying user operations in the browser, so as to accurately and completely record the operation steps of the program used by the user, and be able to replay . Improve the stability and reliability of the recording and playback process, simplify the user's operation; and can easily integrate the functions in the browser.

发明内容 Contents of the invention

本发明所要解决的技术问题是提供一种对浏览器中的用户操作进行录制和回放的方法,用以准确完整的录制用户所使用的程序的操作步骤,并能回放。提高录制和回放过程的稳定性和可靠性,简化用户的操作;并且能够将功能方便的集成在浏览器中。The technical problem to be solved by the present invention is to provide a method for recording and replaying user operations in a browser, so as to accurately and completely record the operation steps of the program used by the user and replay them. Improve the stability and reliability of the recording and playback process, simplify the user's operation; and can easily integrate the functions in the browser.

相应的,本发明还提供了一种对浏览器中的用户操作进行录制和回放的装置,用以保障上述方法在实际中的应用。Correspondingly, the present invention also provides a device for recording and playing back user operations in the browser, so as to ensure the practical application of the above method.

为了解决上述问题,本发明公开了一种对浏览器中的用户操作进行录制的方法,其特征在于,包括:In order to solve the above problems, the present invention discloses a method for recording user operations in a browser, which is characterized in that it includes:

启动对用户操作的录制;Start the recording of user actions;

保存当前浏览器的配置信息;Save the configuration information of the current browser;

采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录;Collect operation messages during keyboard operations and/or operation messages during mouse operations to generate operation records;

将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存。The configuration information and operation records of the browser are converted into single operation program blocks for storage.

优选的是,所述保存当前浏览器的配置信息的步骤可以包括:Preferably, the step of saving the configuration information of the current browser may include:

保存当前浏览器的窗口大小和位置信息;Save the window size and position information of the current browser;

保存界面工具栏、状态栏和收藏栏的设置信息。Save the setting information of interface toolbar, status bar and favorite bar.

优选的是,所述采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录的步骤可以包括:Preferably, the step of collecting operation messages during keyboard operations, and/or operation messages during mouse operations, and generating operation records may include:

采集键盘的录入操作和切换操作;Collect the input operation and switching operation of the keyboard;

和/或采集鼠标的移动事件和点击事件;And/or collect mouse movement events and click events;

获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件时保存在HookProc函数的lParam参数;Save the lParam parameter of the HookProc function when obtaining the input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse;

依据该lParam参数信息生成对应该键盘和/或鼠标操作的操作记录。An operation record corresponding to the keyboard and/or mouse operation is generated according to the lParam parameter information.

优选的是,所述采集键盘的录入操作和切换操作的步骤可以进一步包括:Preferably, the step of collecting the input operation and switching operation of the keyboard may further include:

启动文本编辑工具,将登录信息输入至该文本编辑工具;Start the text editing tool and enter the login information into the text editing tool;

将该输入的文本格式的登录信息加密,并写入到所述lParam中。The entered login information in text format is encrypted and written into the lParam.

优选的是,所述采集鼠标的移动事件和点击事件可以包括:Preferably, the movement event and click event of the collection mouse may include:

监控鼠标的移动事件和点击事件,当移动事件触发后,获取当前鼠标的坐标和颜色;Monitor the mouse movement event and click event, and when the movement event is triggered, obtain the current mouse coordinates and color;

当发生鼠标点击事件时,把之前移动事件保存的坐标和颜色保存到点击颜色参数clickcolor中。When a mouse click event occurs, save the coordinates and color saved in the previous movement event to the click color parameter clickcolor.

优选的是,所述将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存的步骤可以包括:Preferably, the step of converting the configuration information and operation records of the browser into single operation program blocks for saving may include:

保存进行每次所述记录操作时对应的浏览器窗口大小和位置信息以及界面工具栏、状态栏和收藏栏的设置信息;Save the corresponding browser window size and position information and the setting information of the interface toolbar, status bar and favorite bar when performing each recording operation;

将所述浏览器的配置信息和操作记录保存在同一操作程序块中,作为单次操作程序块进行保存。The configuration information and operation records of the browser are stored in the same operation program block as a single operation program block.

优选的是,所述的方法,可以进一步包括:Preferably, the method may further include:

分析所生成的操作记录中的lParam参数信息;Analyze the lParam parameter information in the generated operation record;

删除所述鼠标移动事件的时间间隔低于预置的无效时间阈值的操作;deleting an operation in which the time interval of the mouse movement event is lower than a preset invalid time threshold;

将所述键盘操作之前的时间间隔,修改为预置的时间;Modifying the time interval before the keyboard operation to a preset time;

将所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件按序记录生成操作记录。The input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse are recorded in sequence to generate an operation record.

优选的是,所述预置的无效时间阈值可以为20毫秒,所述预置的时间可以为5毫秒。Preferably, the preset invalid time threshold may be 20 milliseconds, and the preset time may be 5 milliseconds.

优选的是,所述启动对用户操作的录制步骤可以包括:Preferably, the step of starting the recording of user operations may include:

设置预置的录制操作的快捷方式或者快捷键;Set shortcuts or shortcut keys for preset recording operations;

点击启动该快捷方式或者快捷键。Click to activate the shortcut or shortcut key.

优选的是,所述的方法,可以进一步包括:Preferably, the method may further include:

点击所述预置的快捷方式或者快捷键结束录制操作;Click the preset shortcut or shortcut key to end the recording operation;

在生成的操作程序块中删除点击预置的快捷方式或者快捷键结束录制的操作记录。In the generated operation program block, delete the operation record of clicking the preset shortcut or the shortcut key to end the recording.

本发明还公开了一种基于权利要求1中所述记录的操作程序块对浏览器中的登录操作进行回放的方法,具体可以包括:The present invention also discloses a method for replaying the login operation in the browser based on the recorded operation program block in claim 1, which may specifically include:

加载所述单次操作程序块中的浏览器配置信息;Loading the browser configuration information in the single operation program block;

读取所述操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息;Read the operation record, restore it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated;

根据所述键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作。According to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated, a corresponding operation is performed at the target position of the browser.

优选的是,所述的方法,还可以包括:Preferably, the method may also include:

通过WebBrowser的DocumentComplete函数,判断所述操作回放是否正常完成;Through the DocumentComplete function of WebBrowser, it is judged whether the operation playback is completed normally;

若是,则结束所述操作录制和回放程序;If so, then end the operation recording and playback program;

若否,则提示用户进行重新录制。If not, the user is prompted to re-record.

优选的是,所述判断所述操作回放是否正常完成的步骤可以进一步包括:Preferably, the step of judging whether the operation playback is completed normally may further include:

检查所述当前浏览器配置信息是否加载完毕;Check whether the current browser configuration information has been loaded;

检查所述操作记录中的操作消息是否返回完毕。Check whether the operation message in the operation record has been returned.

优选的是,所述读取操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息的步骤可以包括:Preferably, the step of reading the operation record and restoring it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated may include:

将所述操作记录返回到lParam的指向的位置;Return the operation record to the location pointed to by lParam;

解析所述lParam指向的位置处的操作记录,并还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息。The operation record at the position pointed to by the lParam is parsed, and restored to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated.

优选的是,所述加载所述单次操作程序块中的浏览器配置信息的步骤可以包括:Preferably, the step of loading the browser configuration information in the single operation program block may include:

解析所述单次操作程序块中的浏览器配置信息;parsing the browser configuration information in the one-time operation block;

获取每次操作记录中的操作进行时浏览器的窗口大小和位置信息,以及界面工具栏、状态栏和收藏栏的设置信息。Get the window size and position information of the browser when the operation in each operation record is in progress, as well as the setting information of the interface toolbar, status bar and favorite bar.

优选的是,所述根据键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作的步骤可以包括:Preferably, the step of performing a corresponding operation at the browser target position according to the operation message during keyboard operation and/or the operation message during mouse operation may include:

通过调用PlayProc的消息回放函数,解析所述键盘操作时的操作消息,和/或鼠标操作时的操作消息;By calling the message playback function of PlayProc, the operation message during the keyboard operation and/or the operation message during the mouse operation is parsed;

按顺序获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件;Obtaining the input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse in order;

依据获取的操作记录中的操作进行时浏览器的窗口大小和位置信息,以及界面工具栏、状态栏和收藏栏的设置信息,对应地按顺序执行所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件。According to the window size and position information of the browser when the operation in the obtained operation record is in progress, and the setting information of the interface toolbar, status bar and favorite bar, the input operation and switching operation of the keyboard are correspondingly executed in sequence, and/or Or mouse move events and click events.

优选的是,所述根据鼠标操作时的操作消息在浏览器目标位置执行对应操作的步骤可以包括:Preferably, the step of performing a corresponding operation at the browser target position according to the operation message during the mouse operation may include:

当鼠标移动到目标位置后,获取目标位置处的颜色值,对比操作程序块保存的点击颜色参数clickcolor,如果相等,则在该目标位置处执行对应的鼠标操作记录。When the mouse moves to the target position, obtain the color value at the target position, compare it with the click color parameter clickcolor saved in the operation program block, and if they are equal, execute the corresponding mouse operation record at the target position.

本发明同时公开了一种对浏览器中的用户操作进行录制的装置,具体可以包括:The invention also discloses a device for recording user operations in a browser, which may specifically include:

录制启动单元,其配置为启动对用户操作的录制;a recording initiating unit configured to initiate recording of user operations;

配置信息保存单元,其配置为保存当前浏览器的配置信息;a configuration information saving unit configured to save the configuration information of the current browser;

操作记录生成模块,其配置为采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录;An operation record generation module configured to collect operation messages during keyboard operations and/or operation messages during mouse operations to generate operation records;

操作程序块保存模块,其配置为将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存。The operation program block storage module is configured to convert the configuration information and operation records of the browser into single operation program blocks for storage.

优选的是,所述配置信息保存单元可以包括:Preferably, the configuration information storage unit may include:

空间信息保存子模块,其配置为保存当前浏览器的窗口大小和位置信息;Spatial information saving sub-module, which is configured to save the window size and position information of the current browser;

功能信息保存子模块,其配置为保存界面工具栏、状态栏和收藏栏的设置信息。The function information saving sub-module is configured to save the setting information of the interface toolbar, status bar and favorite bar.

优选的是,所述操作记录生成模块可以包括:Preferably, the operation record generating module may include:

键盘操作采集子模块,其配置为采集键盘的录入操作和切换操作;The keyboard operation collection sub-module is configured to collect the entry operation and switching operation of the keyboard;

鼠标事件采集子模块,其配置为采集鼠标的移动事件和点击事件;A mouse event collection sub-module configured to collect mouse movement events and click events;

操作和事件保存子模块,其配置为获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件时保存在HookProc函数的lParam参数;Operation and event saving submodule, which is configured to obtain the input operation and switching operation of the keyboard, and/or the lParam parameter saved in the HookProc function during the movement event and click event of the mouse;

操作记录生成子模块,其配置为依据该lParam参数信息生成对应该键盘和/或鼠标操作的操作记录。The operation record generation sub-module is configured to generate an operation record corresponding to the keyboard and/or mouse operation according to the lParam parameter information.

优选的是,所述操作程序块保存模块可以包括:Preferably, the operation program block preservation module may include:

设置信息保存子模块,其配置为保存进行每次所述记录操作时对应的浏览器窗口大小和位置信息以及界面工具栏、状态栏和收藏栏的设置信息;Setting information saving sub-module, which is configured to save the corresponding browser window size and position information and the setting information of the interface tool bar, status bar and favorite bar when carrying out each said recording operation;

程序块保存子模块,其配置为将所述浏览器的配置信息和操作记录保存在同一操作程序块中,作为单次操作程序块进行保存。The program block saving sub-module is configured to save the configuration information and operation records of the browser in the same operation program block as a single operation program block.

优选的是,所述的装置,可以进一步包括:Preferably, the device may further include:

操作记录分析子模块,其配置为分析所生成的操作记录中的lParam参数信息;An operation record analysis submodule configured to analyze the lParam parameter information in the generated operation record;

无效操作删除子模块,其配置为删除所述鼠标移动事件的时间间隔低于预置的无效时间阈值的操作;An invalid operation deletion sub-module configured to delete an operation in which the time interval of the mouse movement event is lower than a preset invalid time threshold;

时间间隔修改子模块,其配置为将所述键盘操作之前的时间间隔,修改为预置的时间;A time interval modifying submodule configured to modify the time interval before the keyboard operation to a preset time;

将所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件按序记录生成操作记录。The input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse are recorded in sequence to generate an operation record.

本发明还公开了一种基于权利要求18中所述记录的操作程序块对浏览器中的登录操作进行回放的装置,具体可以包括:The present invention also discloses a device for replaying the login operation in the browser based on the recorded operation program block in claim 18, which may specifically include:

配置信息加载模块,其配置为加载所述单次操作程序块中的浏览器配置信息;a configuration information loading module configured to load the browser configuration information in the single operation program block;

操作记录读取模块,其配置为读取所述操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息;An operation record reading module, which is configured to read the operation record and restore it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated;

对应操作执行模块,其配置为根据所述键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作。The corresponding operation executing module is configured to execute corresponding operations at the target position of the browser according to the operation message when the keyboard is operated and/or the operation message when the mouse is operated.

优选的是,所述的装置,还可以包括:Preferably, said device may also include:

回放操作判断模块,其配置为通过WebBrowser的DocumentComplete函数,判断所述操作回放是否正常完成;Playback operation judging module, it is configured to pass the DocumentComplete function of WebBrowser, judges whether described operation playback is completed normally;

程序结束模块,其配置为结束所述操作录制和回放程序;A program end module configured to end the operation recording and playback program;

重录制提示模块,其配置为提示用户进行重新录制。A rerecording prompt module configured to prompt the user for rerecording.

优选的是,所述回放操作判断模块可以包括:Preferably, the playback operation judging module may include:

环境设置检查子模块,其配置为检查所述当前系统环境设置是否加载完毕;The environment setting check submodule is configured to check whether the current system environment setting has been loaded;

操作消息检查子模块,其配置为检查所述操作记录中的操作消息是否返回完毕。The operation message checking submodule is configured to check whether the operation messages in the operation record have been returned.

与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:

本发明通过配置操作录制和回放程序生成消息录制子程序和消息回放子程序。由消息录制子程序采集键鼠操作时的操作消息,生成操作记录;将相应的一组操作记录打包转换成单次操作程序块。点击单次操作程序块,消息回放子程序启动,将所述操作记录中的操作消息返回到lParam指向的区域中;系统执行所述操作消息对应的键鼠操作,完成对应单次操作程序块中键鼠操作的回放。The invention generates a message recording subroutine and a message replaying subroutine by configuring the operation recording and replaying program. The operation message of keyboard and mouse operation is collected by the message recording subroutine, and an operation record is generated; a corresponding group of operation records is packaged and converted into a single operation program block. Click the single operation program block, the message playback subroutine starts, and the operation message in the operation record is returned to the area pointed to by lParam; the system executes the corresponding keyboard and mouse operation of the operation message, and completes the corresponding single operation program block Playback of keyboard and mouse operations.

并且,通过设置HookProc函数作为记录操作的消息录制函数,生成消息录制子程序;设置HookProc函数的lParam对应的存储位置,生成记录操作保存位置;设置PlayProc作为记录操作的消息回放函数,生成消息回放子程序。这样方便了操作录制和回放程序在浏览器中的集成。And, by setting the HookProc function as the message recording function of the recording operation, generate the message recording subroutine; Set the storage location corresponding to lParam of the HookProc function, generate the recording operation storage location; Set PlayProc as the message playback function of the recording operation, generate the message playback subroutine program. This facilitates the integration of action recording and playback programs in the browser.

附图说明 Description of drawings

图1是本发明一种对浏览器中的用户操作进行录制的方法实施例的流程图;Fig. 1 is a flow chart of an embodiment of a method for recording user operations in a browser according to the present invention;

图2是本发明一种对浏览器中的用户操作进行录制的方法实施例中步骤101的子步骤流程图;Fig. 2 is a sub-step flowchart of step 101 in a method embodiment of recording user operations in a browser according to the present invention;

图3是本发明一种对浏览器中的用户操作进行录制的方法实施例中步骤102的子步骤流程图;Fig. 3 is a sub-step flowchart of step 102 in a method embodiment of recording user operations in a browser according to the present invention;

图4是本发明一种对浏览器中的用户操作进行录制的方法实施例中步骤103的子步骤流程图;Fig. 4 is a sub-step flowchart of step 103 in a method embodiment of recording user operations in a browser according to the present invention;

图5是本发明一种对浏览器中的用户操作进行录制的方法实施例中步骤104的子步骤流程图;Fig. 5 is a sub-step flowchart of step 104 in a method embodiment of recording user operations in a browser according to the present invention;

图6是本发明一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法实施例的流程图;Fig. 6 is a flowchart of a method embodiment of replaying the login operation in the browser based on the recorded operation program block of the present invention;

图7是本发明一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法实施例中步骤201的子步骤流程图;Fig. 7 is a sub-step flow chart of step 201 in the embodiment of the method for replaying the login operation in the browser based on the recorded operation program block of the present invention;

图8是本发明一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法实施例中步骤202的子步骤流程图;Fig. 8 is a sub-step flow chart of step 202 in the method embodiment of replaying the login operation in the browser based on the recorded operation program block of the present invention;

图9是本发明一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法实施例中步骤203的子步骤流程图;Fig. 9 is a flow chart of the sub-steps of step 203 in a method embodiment of replaying the login operation in the browser based on the recorded operation program block of the present invention;

图10是本发明一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法实施例中步骤204的子步骤流程图;Fig. 10 is a flow chart of the sub-steps of step 204 in a method embodiment of replaying the login operation in the browser based on the recorded operation program block of the present invention;

图11是本发明一种对浏览器中的用户操作进行录制的装置实施例的结构框图;FIG. 11 is a structural block diagram of an embodiment of a device for recording user operations in a browser according to the present invention;

图12是本发明一种对浏览器中的用户操作进行录制的装置实施例中记录生成模块303的子模块结构框图;FIG. 12 is a structural block diagram of submodules of the recording generation module 303 in an embodiment of a device for recording user operations in a browser according to the present invention;

图13是本发明一种对浏览器中的用户操作进行录制的装置实施例中操作程序块保存模块304的子模块结构框图;Fig. 13 is a block diagram of the submodule structure of the operating program block saving module 304 in an embodiment of a device for recording user operations in a browser of the present invention;

图14是本发明一种基于记录的操作程序块对浏览器中的登录操作进行回放的装置实施例的结构框图。Fig. 14 is a structural block diagram of an embodiment of an apparatus for replaying a login operation in a browser based on a recorded operation program block according to the present invention.

具体实施方式 Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明实施例的核心构思之一在于,通过配置操作录制和回放程序生成消息录制子程序和消息回放子程序。由消息录制子程序采集键鼠操作时的操作消息,生成操作记录;将相应的一组操作记录打包转换成单次操作程序块。点击单次操作程序块,消息回放子程序启动,将所述操作记录中的操作消息返回到lParam指向的区域中;系统执行所述操作消息对应的键鼠操作,完成对应单次操作程序块中键鼠操作的回放。One of the core concepts of the embodiments of the present invention is to generate a message recording subroutine and a message playback subroutine by configuring the operation recording and playback program. The operation message of keyboard and mouse operation is collected by the message recording subroutine, and an operation record is generated; a corresponding group of operation records is packaged and converted into a single operation program block. Click the single operation program block, the message playback subroutine starts, and the operation message in the operation record is returned to the area pointed to by lParam; the system executes the corresponding keyboard and mouse operation of the operation message, and completes the corresponding single operation program block Playback of keyboard and mouse operations.

并且,通过设置HookProc函数作为记录操作的消息录制函数,生成消息录制子程序;设置HookProc函数的lParam对应的存储位置,生成记录操作保存位置;设置PlayProc作为记录操作的消息回放函数,生成消息回放子程序。这样方便了操作录制和回放程序在浏览器中的集成。And, by setting HookProc function as the message recording function of recording operation, generate message recording subroutine; Set the storage location corresponding to the lParam of HookProc function, generate recording operation storage location; Set PlayProc as the message playback function of recording operation, generate message playback subroutine program. This facilitates the integration of action recording and playback programs in the browser.

参照图1,示出了一种对浏览器中的用户操作进行录制的方法实施例的流程图,具体可以包括以下步骤:Referring to FIG. 1 , it shows a flow chart of an embodiment of a method for recording user operations in a browser, which may specifically include the following steps:

步骤101、启动对用户操作的录制;Step 101, start recording user operations;

在本发明的一种优选实施例中,所述步骤101具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 101 may specifically include the following sub-steps:

子步骤S01、设置预置的录制操作的快捷方式或者快捷键;Sub-step S01, setting a shortcut or shortcut key for a preset recording operation;

子步骤S02、点击启动该快捷方式或者快捷键。Sub-step S02, click to activate the shortcut or shortcut key.

子步骤S03、点击所述预置的快捷方式或者快捷键结束录制操作;Sub-step S03, click the preset shortcut or shortcut key to end the recording operation;

子步骤S04、在生成的操作程序块中删除点击预置的快捷方式或者快捷键结束录制的操作记录。Sub-step S04, delete the operation record of clicking the preset shortcut or shortcut key to end the recording in the generated operation program block.

步骤102、保存当前浏览器的配置信息;Step 102, saving the configuration information of the current browser;

在本发明的一种优选实施例中,所述步骤102具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 102 may specifically include the following sub-steps:

子步骤S11、保存当前浏览器的窗口大小和位置信息;Sub-step S11, saving the window size and position information of the current browser;

子步骤S12、保存界面工具栏、状态栏和收藏栏的设置信息。Sub-step S12, saving the setting information of the interface tool bar, status bar and favorite bar.

在具体实现中,浏览器的窗口大小和位置,以及浏览器界面中工具栏、状态栏和收藏栏的设置信息可以影响录制和回放过程中鼠标的坐标位置的准确性,所以在录制和回放时要保证浏览器的窗口大小和位置,以及浏览器界面中工具栏、状态栏和收藏栏的设置信息的一致性。In the specific implementation, the window size and position of the browser, as well as the setting information of the toolbar, status bar and favorite bar in the browser interface can affect the accuracy of the coordinate position of the mouse during recording and playback, so when recording and playback It is necessary to ensure the consistency of the size and position of the browser window, as well as the setting information of the toolbar, status bar and favorite bar in the browser interface.

在具体实现中,保存当前系统配置信息可以包括保存Windows系统的配置信息和保存当前浏览器的配置信息。In a specific implementation, saving the current system configuration information may include saving the configuration information of the Windows system and saving the configuration information of the current browser.

如:360极速浏览器为例,Preferences文件记录了窗口大小和位置、是否启动收藏栏、状态栏等信息。For example: 360 Extreme Browser as an example, the Preferences file records information such as window size and position, whether to activate the favorite bar, status bar, etc.

步骤103、采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录;Step 103, collect operation messages during keyboard operations and/or operation messages during mouse operations, and generate operation records;

在本发明的一种优选实施例中,所述步骤103具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 103 may specifically include the following sub-steps:

子步骤S21、采集键盘的录入操作和切换操作;Sub-step S21, collecting the input operation and switching operation of the keyboard;

在本发明的一种优选实施例中,所述子步骤S21具体可以包括以下单元:In a preferred embodiment of the present invention, the sub-step S21 may specifically include the following units:

启动文本编辑工具,将登录信息输入至该文本编辑工具;Start the text editing tool and enter the login information into the text editing tool;

将该输入的文本格式的登录信息加密,并写入到所述lParam中。The entered login information in text format is encrypted and written into the lParam.

在具体实现中,可以采用录制函数来记录操作消息,如:In the specific implementation, the recording function can be used to record the operation message, such as:

SetWindowsHookEx(idHook:WH_JOURNALRECORD;lpfn:HookProc;hmod:HInstance;dwThreadId:0)其中WH_JOURNALRECORD是“录制”的调用方法,HookProc是记录操作的消息函数,每当有鼠标键盘消息发生时,系统都会调用该函数,消息信息就保存在HookProc函数的lParam中,在lParam中的消息信息可以生成当前操作记录。SetWindowsHookEx(idHook: WH_JOURNALRECORD; lpfn: HookProc; hmod: HInstance; dwThreadId: 0) where WH_JOURNALRECORD is the calling method of "recording", HookProc is the message function of recording operation, whenever a mouse and keyboard message occurs, the system will call this function , the message information is stored in lParam of the HookProc function, and the message information in lParam can generate the current operation record.

子步骤S22、和/或采集鼠标的移动事件和点击事件;Sub-step S22, and/or collecting mouse movement events and click events;

在本发明的一种优选实施例中,所述子步骤S22具体可以包括以下单元:In a preferred embodiment of the present invention, the sub-step S22 may specifically include the following units:

监控鼠标的移动事件和点击事件,当移动事件触发后,获取当前鼠标的坐标和颜色;Monitor the mouse movement event and click event, and when the movement event is triggered, obtain the current mouse coordinates and color;

当发生鼠标点击事件时,把之前移动事件保存的坐标和颜色保存到点击颜色参数clickcolor中。When a mouse click event occurs, save the coordinates and color saved in the previous movement event to the click color parameter clickcolor.

在具体实现中,保存鼠标颜色判断点的操作可以为:In a specific implementation, the operation of saving the mouse color judgment point can be:

监控鼠标的移动事件和点击事件(用SetWindowsHookEx的WH_MOUSE方法挂全局勾子),当移动事件触发后,获取当前鼠标的坐标和颜色。当发生鼠标点击事件时,把之前移动事件保存的坐标和颜色保存到clickcolor中。Monitor mouse movement events and click events (use the WH_MOUSE method of SetWindowsHookEx to hook the global hook), and when the movement event is triggered, obtain the current mouse coordinates and color. When a mouse click event occurs, save the coordinates and colors saved in the previous movement event to clickcolor.

子步骤S23、获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件时保存在HookProc函数的lParam参数;Sub-step S23, obtaining the input operation and switching operation of the keyboard, and/or the lParam parameter stored in the HookProc function during the movement event and click event of the mouse;

子步骤S24、依据该lParam参数信息生成对应该键盘和/或鼠标操作的操作记录。Sub-step S24, generating an operation record corresponding to the keyboard and/or mouse operation according to the lParam parameter information.

在具体实现中,Windows提供API函数SetwindowsHookEx来建立一个Hook,可以通过这个函数可以将一个程序添加到Hook链中监视Windows消息,函数语法为:SetWindowsHookEx(idHook:Integer;lpfn:TFNHookProc;hmod:HINST;dwThreadId:DWORD)其中参数idHook指定建立的监视函数类型。WH_JOURNALRECORD和WH_JOURNALPLAYBACK是其配置为监视和回放键盘、鼠标操作。In the specific implementation, Windows provides the API function SetwindowsHookEx to create a Hook. Through this function, a program can be added to the Hook chain to monitor Windows messages. The function syntax is: SetWindowsHookEx(idHook: Integer; lpfn: TFNHookProc; hmod: HINST; dwThreadId: DWORD) Among them, the parameter idHook specifies the monitoring function type established. WH_JOURNALRECORD and WH_JOURNALPLAYBACK are configured to monitor and playback keyboard and mouse operations.

具体实现中,在Windows系统中,文档(Document)对象是Windows对象的一部分,可以通过window.document属性对其进行访问。每个载入浏览器的HTML(超文本标记语言,Hypertext Markup Language)文档都会成为Document对象。运用Document对象可以从脚本中对HTML页面中的所有元素进行访问,比如:点击click()、查找指定id的元素getElementById()等用户操作。其配置为将操作录制和回放程序集成在浏览器中。In specific implementation, in the Windows system, the document (Document) object is a part of the Windows object, which can be accessed through the window.document property. Every HTML (Hypertext Markup Language, Hypertext Markup Language) document loaded into the browser becomes a Document object. Use the Document object to access all elements in the HTML page from the script, such as: click (), find the element with the specified id getElementById () and other user operations. It is configured to integrate the action recording and playback program in the browser.

在具体实现中,当需要输入银行账户、密码的时候,按[*]键打开notepad程序,把用户名密码输入到notepad中,并用代码分析文本信息的方式解释为代码语言,集成到录制的函数lParam中。关闭notepad继续网银操作。这样就可以将涉及密码和认证的网银等操作生成操作记录。In the specific implementation, when you need to enter the bank account and password, press the [*] key to open the notepad program, enter the user name and password into the notepad, and use the code to analyze the text information to interpret it as a code language and integrate it into the recorded function lParam. Close notepad and continue online banking operation. In this way, operations such as online banking involving passwords and authentication can be generated into operation records.

在本发明的一种优选实施例中,所述步骤103进一步可以包括以下子步骤:In a preferred embodiment of the present invention, the step 103 may further include the following sub-steps:

子步骤S25、分析所生成的操作记录中的lParam参数信息;Sub-step S25, analyzing the lParam parameter information in the generated operation record;

子步骤S26、删除所述鼠标移动事件的时间间隔低于预置的无效时间阈值的操作;Sub-step S26, deleting the operation that the time interval of the mouse movement event is lower than the preset invalid time threshold;

子步骤S27、将所述键盘操作之前的时间间隔,修改为预置的时间;Sub-step S27, modifying the time interval before the keyboard operation to a preset time;

子步骤S28、将所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件按序记录生成操作记录。Sub-step S28, record the input operation and switch operation of the keyboard, and/or the movement event and click event of the mouse in order to generate an operation record.

在本发明的一种优选实施例中,所述预置的无效时间阈值可以为20毫秒,所述预置的时间可以为5毫秒。In a preferred embodiment of the present invention, the preset invalid time threshold may be 20 milliseconds, and the preset time may be 5 milliseconds.

在具体实现中,打包前分析操作记录。当鼠标移动事件的时间间隔为20ms(毫秒)之内的时候,可以删除该等待时间和其之前的一个鼠标移动事件。目的是删除无效的鼠标移动操作,让回放更快的执行。当键盘操作之前有时间间隔的时候,可以修改等待时间为5ms;等待时间的间隔可以根据客户需要设定,但是为了避免出现宕机和卡的情况,最低设定可以控制为5ms。In a specific implementation, the operation record is analyzed before packaging. When the time interval of the mouse movement event is within 20ms (milliseconds), the waiting time and a mouse movement event before it may be deleted. The purpose is to remove invalid mouse movement operations, allowing playback to perform faster. When there is a time interval before keyboard operation, the waiting time can be modified to 5ms; the waiting time interval can be set according to customer needs, but in order to avoid downtime and stuck situations, the minimum setting can be controlled to 5ms.

步骤104、将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存。Step 104: Convert the configuration information and operation records of the browser into single operation program blocks for storage.

在本发明的一种优选实施例中,所述步骤104具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 104 may specifically include the following sub-steps:

子步骤S31、保存进行每次所述记录操作时对应的浏览器窗口大小和位置信息以及界面工具栏、状态栏和收藏栏的设置信息;Sub-step S31, saving the corresponding browser window size and position information and the setting information of the interface tool bar, status bar and favorite bar when performing each recording operation;

子步骤S32、将所述浏览器的配置信息和操作记录保存在同一操作程序块中,作为单次操作程序块进行保存。Sub-step S32, saving the configuration information of the browser and the operation record in the same operation program block as a single operation program block.

在具体实现中,当结束录制后,可以删除最后一个点击图标的操作。集成在浏览器中的操作录制和回放程序可以用插件的形式实现,会在浏览器上显示一个图标。启动和停止消息录制子程序都需要点击图标来完成,因此结束录制的点击操作不是用户的有效操作,故而删除。In a specific implementation, after the recording ends, the last operation of clicking the icon may be deleted. The operation recording and playback program integrated in the browser can be implemented in the form of a plug-in, which will display an icon on the browser. Both the start and stop of the message recording subroutine need to be completed by clicking the icon, so the click operation to end the recording is not a valid operation of the user, so it is deleted.

在具体实现中,可以将一次完成的操作记录生成对应的操作程序块。为了方便客户使用,可以将操作程序块在桌面或文件夹生成快捷方式,用户点击快捷方式既可以回放操作程序块中的操作记录。In a specific implementation, a corresponding operation program block may be generated by recording a completed operation. For the convenience of customers, the operation program block can be created as a shortcut on the desktop or in a folder, and the user can click on the shortcut to play back the operation records in the operation program block.

参照图6,示出了一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法实施例的流程图,具体可以包括以下步骤:Referring to FIG. 6 , it shows a flow chart of an embodiment of a method for replaying a login operation in a browser based on a recorded operation program block, which may specifically include the following steps:

步骤201、加载所述单次操作程序块中的浏览器配置信息;Step 201, loading the browser configuration information in the single operation program block;

在本发明的一种优选实施例中,所述步骤201具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 201 may specifically include the following sub-steps:

子步骤S41、解析所述单次操作程序块中的浏览器配置信息;Sub-step S41, analyzing the browser configuration information in the single operation program block;

子步骤S42、获取每次操作记录中的操作进行时浏览器的窗口大小和位置信息,以及界面工具栏、状态栏和收藏栏的设置信息。Sub-step S42, obtaining the window size and position information of the browser when the operation in each operation record is in progress, and the setting information of the interface tool bar, status bar and favorite bar.

步骤202、读取所述操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息;Step 202, read the operation record, restore it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated;

在本发明的一种优选实施例中,所述步骤202具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 202 may specifically include the following sub-steps:

子步骤S51、将所述操作记录返回到lParam的指向的位置;Substep S51, return the operation record to the pointed position of lParam;

子步骤S52、解析所述lParam指向的位置处的操作记录,并还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息。Sub-step S52, analyzing the operation record at the position pointed to by the lParam, and restoring it to the operation message during keyboard operation and/or the operation message during mouse operation.

步骤203、根据所述键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作;Step 203, perform a corresponding operation at the browser target position according to the operation message when the keyboard is operated and/or the operation message when the mouse is operated;

在本发明的一种优选实施例中,所述步骤203具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 203 may specifically include the following sub-steps:

子步骤S61、通过调用PlayProc的消息回放函数,解析所述键盘操作时的操作消息,和/或鼠标操作时的操作消息;Sub-step S61, by calling the message playback function of PlayProc, analyzing the operation message during the keyboard operation and/or the operation message during the mouse operation;

子步骤S62、按顺序获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件;Sub-step S62, acquiring the input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse in order;

子步骤S63、依据获取的操作记录中的操作进行时浏览器的窗口大小和位置信息,以及界面工具栏、状态栏和收藏栏的设置信息,对应地按顺序执行所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件;Sub-step S63, according to the window size and position information of the browser when the operation in the obtained operation record is in progress, and the setting information of the interface toolbar, status bar and favorite bar, correspondingly execute the input operation and switching of the keyboard in order Actions, and/or mouse move events and click events;

子步骤S64、当鼠标移动到目标位置后,获取目标位置处的颜色值,对比操作程序块保存的点击颜色参数clickcolor,如果相等,则在该目标位置处执行对应的鼠标操作记录。Sub-step S64, when the mouse moves to the target position, obtain the color value at the target position, compare it with the click color parameter clickcolor saved in the operation program block, if they are equal, execute the corresponding mouse operation record at the target position.

在具体实现中,系统环境设置可以包括录制过程的各项元素的配置信息。其中,对于判断元素是否已展现的方法,可以将操作消息与对录制过程中在操作消息生成的对应位置的配置信息是否相同。In a specific implementation, the system environment setting may include configuration information of various elements of the recording process. Wherein, for the method of judging whether the element has been displayed, whether the operation message is the same as the configuration information at the corresponding position where the operation message is generated during the recording process can be determined.

如:当鼠标移动到目标位置后,获取鼠标的颜色,对比之前的插入的颜色clickcolor。如果相等,说明所需操作元素已可以点击。如果鼠标没有在浏览器的区域内,不用判断。For example: when the mouse moves to the target position, get the color of the mouse and compare it with the previously inserted color clickcolor. If they are equal, the desired action element is clickable. If the mouse is not in the area of the browser, no need to judge.

以某浏览器为例,判断鼠标是否在浏览器页面内:Take a browser as an example to determine whether the mouse is inside the browser page:

枚举所有窗口,保存类名为Internet Explorer_Server的句柄到MainHwnd。Enumerate all windows and save the handle of the class named Internet Explorer_Server to MainHwnd.

然后用GetWindowRect函数获取页面的坐标。Then use the GetWindowRect function to get the coordinates of the page.

步骤204、通过WebBrowser的DocumentComplete函数,判断所述操作回放是否正常完成;若是,则结束所述操作录制和回放程序;若否,则提示用户进行重新录制。Step 204, through the DocumentComplete function of the WebBrowser, judge whether the operation playback is completed normally; if yes, end the operation recording and playback procedure; if not, prompt the user to re-record.

在具体实现中,可以通过操作消息执行的页面是否加载完成来判断操作消息是否顺利执行。如:用WebBrowser的DocumentComplete可以判断页面是否加载完成。In a specific implementation, it may be judged whether the operation message is executed smoothly according to whether the page executed by the operation message is loaded. For example: use WebBrowser's DocumentComplete to determine whether the page is loaded.

在本发明的一种优选实施例中,所述步骤204具体可以包括以下子步骤:In a preferred embodiment of the present invention, the step 204 may specifically include the following sub-steps:

子步骤S71、检查所述当前浏览器配置信息是否加载完毕;Sub-step S71, check whether the current browser configuration information has been loaded;

子步骤S72、检查所述操作记录中的操作消息是否返回完毕。Sub-step S72, check whether the operation message in the operation record has been returned.

在具体实现中,回放操作记录可以打开操作录制和回放程序,选择回放操作;也可以点击对应的单次操作程序块,直接启动消息回放子程序。In a specific implementation, the playback operation record can open the operation recording and playback program and select the playback operation; it can also click the corresponding single operation block to directly start the message playback subroutine.

回放鼠键操作的方法可以为:The method of playback mouse button operation can be:

SetWindowsHookEx(idHook:WH_JOURNALPLAYBACK;lpfn:PlayProc;hmod:HInstance;dwThreadId:0)SetWindowsHookEx(idHook: WH_JOURNALPLAYBACK; lpfn: PlayProc; hmod: HInstance; dwThreadId: 0)

其中WH_JOURNALPLAYBACK是“回放”的调用方法,PlayProc是消息回放函数,当系统可以执行操作消息回放时调用该函数,程序就将先前记录的操作消息值返回到lParam指向的区域中,系统就会执行该操作消息,从而实现了回放。Among them, WH_JOURNALPLAYBACK is the calling method of "playback", PlayProc is the message playback function, when the system can perform operation message playback, call this function, the program will return the previously recorded operation message value to the area pointed to by lParam, and the system will execute this function Manipulate the message, thus enabling playback.

为了方便本领域技术人员更好地理解本发明,以下通过一个完整示例更进一步说明本发明:In order to facilitate those skilled in the art to better understand the present invention, the present invention is further described by a complete example below:

1、在某浏览器中通过API函数SetwindowsHookEx建立记录操作的消息录制函数,生成消息录制子程序。并将函数的lParam对应的存储位置作为记录操作保存位置。利用PlayProc建立记录操作的消息回放函数,生成消息回放子程序。1. In a browser, use the API function SetwindowsHookEx to establish a message recording function for recording operations, and generate a message recording subroutine. And the storage location corresponding to lParam of the function is used as the storage location of the record operation. Use PlayProc to establish the message playback function of the recording operation, and generate the message playback subroutine.

2、打开某浏览器,启动所述操作录制和回放程序,准备将交水电的操作录制下来。首先保存当前浏览器的配置信息。2. Open a browser, start the operation recording and playback program, and prepare to record the operation of handing in water and electricity. First save the configuration information of the current browser.

3、可以用SetWindowsHookEx的WH_MOUSE方法挂全局勾子监控鼠标的移动事件和点击事件,当移动事件触发后,获取当前鼠标的坐标和颜色。当发生鼠标点击事件时,把之前移动事件保存的坐标和颜色保存到clickcolor中。同时可以用HookProc消息函数获取鼠标的点击操作和键盘移动操作的操作消息保存在HookProc函数的lParam中,生成当前操作记录。3. You can use the WH_MOUSE method of SetWindowsHookEx to hang a global hook to monitor mouse movement events and click events. When the movement event is triggered, obtain the current mouse coordinates and color. When a mouse click event occurs, save the coordinates and colors saved in the previous movement event to clickcolor. At the same time, the HookProc message function can be used to obtain the operation messages of the mouse click operation and keyboard movement operation and save them in the lParam of the HookProc function to generate the current operation record.

4、当需要转入网银页面,输入银行账号和密码的时候,打开notepad程序,把用户名密码输入到notepad中,并用代码分析文本信息的方式解释为代码语言,集成到录制的函数lParam中。将涉及密码和认证的网银等操作生成操作记录。4. When it is necessary to enter the online banking page and enter the bank account number and password, open the notepad program, enter the user name and password into the notepad, and interpret the text information into a code language by means of code analysis, and integrate it into the recorded function lParam. Generate operation records for online banking operations involving passwords and authentication.

5、在将交水电的操作全部完成后,整理录制在函数的lParam的操作记录,删除最后一个点击图标的操作记录,将其他操作记录转换成操作消息值,按序打包为水电费网银提交的操作程序块。在桌面生成对应的快捷方式。5. After all the operations of paying water and electricity are completed, sort out the operation records recorded in lParam of the function, delete the last operation record of clicking the icon, convert other operation records into operation message values, and package them in sequence as the water and electricity fees submitted by online banking Operation block. Create a corresponding shortcut on the desktop.

6、点击桌面生成的对应的快捷方式,打开水电费网银提交的操作程序块。启动消息回放子程序,可以加载;可以通过PlayProc是消息回放函数,将先前操作记录的操作消息值返回到lParam指向的区域中,系统就会执行对应的操作消息。根据对应的操作消息加载对应的浏览器配置信息和对应的页面。6. Click the corresponding shortcut generated on the desktop to open the operation program block submitted by online banking for utility bills. Start the message playback subroutine, which can be loaded; you can use PlayProc as a message playback function to return the operation message value recorded in the previous operation to the area pointed to by lParam, and the system will execute the corresponding operation message. The corresponding browser configuration information and the corresponding page are loaded according to the corresponding operation message.

7、发现对应的浏览器配置信息和对应的页面无法加载完成,则向用户发送提示信息;告知用户水电费网银提交的操作中部分页面、浏览器配置等元素出现更改,需要重新录制对应的完整操作。7. If it is found that the corresponding browser configuration information and the corresponding page cannot be loaded, a prompt message will be sent to the user; the user will be informed that some pages, browser configuration and other elements have changed in the operation submitted by the online banking for utility bills, and the corresponding complete page needs to be re-recorded operate.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action order, because according to this According to the invention, certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the present invention.

参照图11,示出了一种对浏览器中的用户操作进行录制的装置实施例的结构框图,具体可以包括:Referring to FIG. 11 , it shows a structural block diagram of an embodiment of an apparatus for recording user operations in a browser, which may specifically include:

录制启动单元301,其配置为启动对用户操作的录制;A recording start unit 301 configured to start recording user operations;

配置信息保存单元302,其配置为保存当前浏览器的配置信息;A configuration information saving unit 302 configured to save the configuration information of the current browser;

在本发明的一种优选实施例中,所述配置信息保存单元302具体可以包括以下子模块:In a preferred embodiment of the present invention, the configuration information storage unit 302 may specifically include the following submodules:

空间信息保存子模块,其配置为保存当前浏览器的窗口大小和位置信息;Spatial information saving sub-module, which is configured to save the window size and position information of the current browser;

功能信息保存子模块,其配置为保存界面工具栏、状态栏和收藏栏的设置信息。The function information saving sub-module is configured to save the setting information of the interface toolbar, status bar and favorite bar.

操作记录生成模块303,其配置为采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录;An operation record generation module 303 configured to collect operation messages during keyboard operations and/or operation messages during mouse operations to generate operation records;

在本发明的一种优选实施例中,所述操作记录生成模块303具体可以包括以下子模块:In a preferred embodiment of the present invention, the operation record generating module 303 may specifically include the following submodules:

键盘操作采集子模块S81,其配置为采集键盘的录入操作和切换操作;The keyboard operation collection sub-module S81 is configured to collect keyboard entry operations and switching operations;

鼠标事件采集子模块S82,其配置为采集鼠标的移动事件和点击事件;Mouse event collection sub-module S82, which is configured to collect mouse movement events and click events;

操作和事件保存子模块S83,其配置为获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件时保存在HookProc函数的lParam参数;Operation and event saving sub-module S83, which is configured to obtain the input operation and switching operation of the keyboard, and/or the lParam parameter stored in the HookProc function during the movement event and click event of the mouse;

操作记录生成子模块S84,其配置为依据该lParam参数信息生成对应该键盘和/或鼠标操作的操作记录;Operation record generation sub-module S84, which is configured to generate an operation record corresponding to the keyboard and/or mouse operation according to the lParam parameter information;

操作记录分析子模块S85,其配置为分析所生成的操作记录中的lParam参数信息;An operation record analysis submodule S85 configured to analyze the lParam parameter information in the generated operation record;

无效操作删除子模块S86,其配置为删除所述鼠标移动事件的时间间隔低于预置的无效时间阈值的操作;Invalid operation deletion sub-module S86, which is configured to delete the operation in which the time interval of the mouse movement event is lower than the preset invalid time threshold;

时间间隔修改子模块S87,其配置为将所述键盘操作之前的时间间隔,修改为预置的时间;The time interval modification submodule S87 is configured to modify the time interval before the keyboard operation to a preset time;

操作记录转换子模块S88,其配置为将所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件按序记录生成操作记录。The operation record conversion sub-module S88 is configured to sequentially record the input operation and switch operation of the keyboard, and/or the movement event and click event of the mouse to generate an operation record.

操作程序块保存模块304,其配置为将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存。The operation program block saving module 304 is configured to convert the configuration information and operation records of the browser into a single operation program block for storage.

在本发明的一种优选实施例中,所述操作程序块保存模块304具体可以包括以下子模块:In a preferred embodiment of the present invention, the operation program block saving module 304 may specifically include the following submodules:

设置信息保存子模块S91,其配置为保存进行每次所述记录操作时对应的浏览器窗口大小和位置信息以及界面工具栏、状态栏和收藏栏的设置信息;Setting information saving sub-module S91, which is configured to save the corresponding browser window size and position information and the setting information of the interface tool bar, status bar and favorite bar when performing each recording operation;

程序块保存子模块S92,其配置为将所述浏览器的配置信息和操作记录保存在同一操作程序块中,作为单次操作程序块进行保存。The program block saving sub-module S92 is configured to save the browser configuration information and operation records in the same operation program block as a single operation program block.

参照图14,示出了一种基于记录的操作程序块对浏览器中的登录操作进行回放的装置实施例的结构框图,具体可以包括:Referring to FIG. 14 , it shows a structural block diagram of an embodiment of an apparatus for replaying a login operation in a browser based on a recorded operation program block, which may specifically include:

配置信息加载模块401,其配置为加载所述单次操作程序块中的浏览器配置信息;A configuration information loading module 401 configured to load the browser configuration information in the single operation program block;

操作记录读取模块402,其配置为读取所述操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息;An operation record reading module 402, which is configured to read the operation record and restore it to an operation message during a keyboard operation, and/or an operation message during a mouse operation;

对应操作执行模块403,其配置为根据所述键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作;The corresponding operation execution module 403 is configured to perform corresponding operations at the browser target position according to the operation message during the keyboard operation and/or the operation message during the mouse operation;

回放操作判断模块404,其配置为通过WebBrowser的DocumentComplete函数,判断所述操作回放是否正常完成;Playback operation judging module 404, it is configured to pass the DocumentComplete function of WebBrowser, judges whether described operation playback is completed normally;

程序结束模块405,其配置为结束所述操作录制和回放程序;A program end module 405, which is configured to end the operation recording and playback program;

重录制提示模块406,其配置为提示用户进行重新录制。A re-recording prompt module 406 configured to prompt the user to re-record.

由于所述装置实施例基本相应于前述方法实施例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此就不赘述了。Since the device embodiment basically corresponds to the foregoing method embodiment, for details not detailed in the description of this embodiment, reference may be made to the relevant description in the foregoing embodiment, and details are not repeated here.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the present invention have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

上述本发明实施例中的方法、装置和服务器适用于各种网络或者客户端环境中,例如可以实现在诸如个人计算机设备之类的计算机设备中,或者可以实现在诸如移动电话、移动通信设备、个人数字助理(PDA)等其他便携式电子设备或者非便携式电子设备中。因此本领域技术人员要明确的是,本发明的保护范围并不限于PC上运行浏览器中的操作录制功能和操作回放功能,仅是出于描述的简洁和方便而在本发明实施例中采用了PC上运行浏览器中的操作录制功能和操作回放功能进行描述。The methods, devices and servers in the above embodiments of the present invention are applicable to various network or client environments, for example, they can be implemented in computer equipment such as personal computer equipment, or can be implemented in computer equipment such as mobile phones, mobile communication equipment, In other portable electronic devices such as personal digital assistants (PDAs) or non-portable electronic devices. Therefore, it should be clear to those skilled in the art that the scope of protection of the present invention is not limited to the operation recording function and operation playback function in the browser running on the PC, and is only used in the embodiments of the present invention for simplicity and convenience of description. The operation recording function and operation playback function in the browser running on the PC are described.

以上对本发明所提供的一种对浏览器中的用户操作进行录制的方法,一种基于记录的操作程序块对浏览器中的登录操作进行回放的方法;以及,一种对浏览器中的用户操作进行录制的装置,一种基于记录的操作程序块对浏览器中的登录操作进行回放的装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a method for recording user operations in the browser provided by the present invention, a method for replaying login operations in the browser based on recorded operating program blocks; and, a method for recording user operations in the browser A device for recording by operation, a device for replaying the login operation in the browser based on the recorded operation program block is introduced in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The above implementation The description of the example is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary As stated above, the content of this specification should not be construed as limiting the present invention.

Claims (25)

1.一种对浏览器中的用户操作进行录制的方法,其特征在于,包括:1. A method for recording user operations in a browser, comprising: 启动对用户操作的录制;Start the recording of user actions; 保存当前浏览器的配置信息;Save the configuration information of the current browser; 采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录;Collect operation messages during keyboard operations and/or operation messages during mouse operations to generate operation records; 将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存。The configuration information and operation records of the browser are converted into single operation program blocks for storage. 2.如权利要求1所述的方法,其特征在于,所述保存当前浏览器的配置信息的步骤包括:2. The method according to claim 1, wherein the step of saving the configuration information of the current browser comprises: 保存当前浏览器的窗口大小和位置信息;Save the window size and position information of the current browser; 保存界面工具栏、状态栏和收藏栏的设置信息。Save the setting information of interface toolbar, status bar and favorite bar. 3.如权利要求1所述的方法,其特征在于,所述采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录的步骤包括:3. The method according to claim 1, wherein the operation message during said collection of keyboard operation, and/or the operation message during mouse operation, and the step of generating an operation record comprises: 采集键盘的录入操作和切换操作;Collect the input operation and switching operation of the keyboard; 和/或采集鼠标的移动事件和点击事件;And/or collect mouse movement events and click events; 获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件时保存在HookProc函数的lParam参数;Save the lParam parameter of the HookProc function when obtaining the input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse; 依据该lParam参数信息生成对应该键盘和/或鼠标操作的操作记录。An operation record corresponding to the keyboard and/or mouse operation is generated according to the lParam parameter information. 4.如权利要求3所述的方法,其特征在于,所述采集键盘的录入操作和切换操作的步骤进一步包括:4. method as claimed in claim 3, is characterized in that, the step of input operation and switching operation of described acquisition keyboard further comprises: 启动文本编辑工具,将登录信息输入至该文本编辑工具;Start the text editing tool and enter the login information into the text editing tool; 将该输入的文本格式的登录信息加密,并写入到所述lParam中。The entered login information in text format is encrypted and written into the lParam. 5.如权利要求3所述的方法,其特征在于,所述采集鼠标的移动事件和点击事件包括:5. The method according to claim 3, wherein the moving event and the click event of the collection mouse comprise: 监控鼠标的移动事件和点击事件,当移动事件触发后,获取当前鼠标的坐标和颜色;Monitor the mouse movement event and click event, and when the movement event is triggered, obtain the current mouse coordinates and color; 当发生鼠标点击事件时,把之前移动事件保存的坐标和颜色保存到点击颜色参数clickcolor中。When a mouse click event occurs, save the coordinates and color saved in the previous movement event to the click color parameter clickcolor. 6.如权利要求2所述的方法,其特征在于,所述将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存的步骤包括:6. The method according to claim 2, wherein the step of converting the configuration information and operation records of the browser into single operation program blocks for saving comprises: 保存进行每次所述记录操作时对应的浏览器窗口大小和位置信息以及界面工具栏、状态栏和收藏栏的设置信息;Save the corresponding browser window size and position information and the setting information of the interface toolbar, status bar and favorite bar when performing each recording operation; 将所述浏览器的配置信息和操作记录保存在同一操作程序块中,作为单次操作程序块进行保存。The configuration information and operation records of the browser are stored in the same operation program block as a single operation program block. 7.如权利要求3所述的方法,其特征在于,进一步包括:7. The method of claim 3, further comprising: 分析所生成的操作记录中的lParam参数信息;Analyze the lParam parameter information in the generated operation record; 删除所述鼠标移动事件的时间间隔低于预置的无效时间阈值的操作;deleting an operation in which the time interval of the mouse movement event is lower than a preset invalid time threshold; 将所述键盘操作之前的时间间隔,修改为预置的时间;Modifying the time interval before the keyboard operation to a preset time; 将所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件按序记录生成操作记录。The input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse are recorded in sequence to generate an operation record. 8.如权利要求7所述的方法,其特征在于,所述预置的无效时间阈值为20毫秒,所述预置的时间为5毫秒。8. The method according to claim 7, wherein the preset invalid time threshold is 20 milliseconds, and the preset time is 5 milliseconds. 9.如权利要求1所述的方法,其特征在于,所述启动对用户操作的录制步骤包括:9. The method according to claim 1, wherein the step of starting recording user operations comprises: 设置预置的录制操作的快捷方式或者快捷键;Set shortcuts or shortcut keys for preset recording operations; 点击启动该快捷方式或者快捷键。Click to activate the shortcut or shortcut key. 10.如权利要求9所述的方法,其特征在于,进一步包括:10. The method of claim 9, further comprising: 点击所述预置的快捷方式或者快捷键结束录制操作;Click the preset shortcut or shortcut key to end the recording operation; 在生成的操作程序块中删除点击预置的快捷方式或者快捷键结束录制的操作记录。In the generated operation program block, delete the operation record of clicking the preset shortcut or the shortcut key to end the recording. 11.一种基于权利要求1中所述记录的操作程序块对浏览器中的登录操作进行回放的方法,其特征在于,包括:11. A method for replaying the login operation in the browser based on the recorded operation program block according to claim 1, comprising: 加载所述单次操作程序块中的浏览器配置信息;Loading the browser configuration information in the single operation program block; 读取所述操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息;Read the operation record, restore it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated; 根据所述键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作。According to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated, a corresponding operation is performed at the target position of the browser. 12.如权利要求11所述的方法,其特征在于,还包括:12. The method of claim 11, further comprising: 通过WebBrowser的DocumentComplete函数,判断所述操作回放是否正常完成;Through the DocumentComplete function of WebBrowser, it is judged whether the operation playback is completed normally; 若是,则结束所述操作录制和回放程序;If so, then end the operation recording and playback program; 若否,则提示用户进行重新录制。If not, the user is prompted to re-record. 13.如权利要求12所述的方法,其特征在于,所述判断所述操作回放是否正常完成的步骤进一步包括:13. The method according to claim 12, wherein the step of judging whether the operation playback is completed normally further comprises: 检查所述当前浏览器配置信息是否加载完毕;Check whether the current browser configuration information has been loaded; 检查所述操作记录中的操作消息是否返回完毕。Check whether the operation message in the operation record has been returned. 14.如权利要求11所述的方法,其特征在于,所述读取操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息的步骤包括:14. The method according to claim 11, wherein the step of reading the operation record and restoring it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated comprises: 将所述操作记录返回到lParam的指向的位置;Return the operation record to the location pointed to by lParam; 解析所述lParam指向的位置处的操作记录,并还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息。The operation record at the position pointed to by the lParam is parsed, and restored to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated. 15.如权利要求11所述的方法,其特征在于,所述加载所述单次操作程序块中的浏览器配置信息的步骤包括:15. The method according to claim 11, wherein the step of loading the browser configuration information in the single operation program block comprises: 解析所述单次操作程序块中的浏览器配置信息;parsing the browser configuration information in the one-time operation block; 获取每次操作记录中的操作进行时浏览器的窗口大小和位置信息,以及界面工具栏、状态栏和收藏栏的设置信息。Get the window size and position information of the browser when the operation in each operation record is in progress, as well as the setting information of the interface toolbar, status bar and favorite bar. 16.如权利要求15所述的方法,其特征在于,所述根据键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作的步骤包括:16. The method according to claim 15, wherein the step of performing a corresponding operation at the browser target position according to the operation message during keyboard operation and/or the operation message during mouse operation comprises: 通过调用PlayProc的消息回放函数,解析所述键盘操作时的操作消息,和/或鼠标操作时的操作消息;By calling the message playback function of PlayProc, the operation message during the keyboard operation and/or the operation message during the mouse operation is parsed; 按顺序获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件;Obtaining the input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse in order; 依据获取的操作记录中的操作进行时浏览器的窗口大小和位置信息,以及界面工具栏、状态栏和收藏栏的设置信息,对应地按顺序执行所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件。According to the window size and position information of the browser when the operation in the obtained operation record is in progress, and the setting information of the interface toolbar, status bar and favorite bar, the input operation and switching operation of the keyboard are correspondingly executed in sequence, and/or Or mouse move events and click events. 17.如权利要求11所述的方法,其特征在于,所述根据鼠标操作时的操作消息在浏览器目标位置执行对应操作的步骤包括:17. The method according to claim 11, wherein the step of performing a corresponding operation at the browser target position according to the operation message during the mouse operation comprises: 当鼠标移动到目标位置后,获取目标位置处的颜色值,对比操作程序块保存的点击颜色参数clickcolor,如果相等,则在该目标位置处执行对应的鼠标操作记录。When the mouse moves to the target position, obtain the color value at the target position, compare it with the click color parameter clickcolor saved in the operation program block, and if they are equal, execute the corresponding mouse operation record at the target position. 18.一种对浏览器中的用户操作进行录制的装置,其特征在于,包括:18. A device for recording user operations in a browser, comprising: 录制启动单元,其配置为启动对用户操作的录制;a recording initiating unit configured to initiate recording of user operations; 配置信息保存单元,其配置为保存当前浏览器的配置信息;a configuration information saving unit configured to save the configuration information of the current browser; 操作记录生成模块,其配置为采集键盘操作时的操作消息,和/或鼠标操作时的操作消息,生成操作记录;An operation record generation module configured to collect operation messages during keyboard operations and/or operation messages during mouse operations to generate operation records; 操作程序块保存模块,其配置为将所述浏览器的配置信息和操作记录转换成单次操作程序块进行保存。The operation program block storage module is configured to convert the configuration information and operation records of the browser into single operation program blocks for storage. 19.如权利要求18所述的装置,其特征在于,所述配置信息保存单元包括:19. The device according to claim 18, wherein the configuration information storage unit comprises: 空间信息保存子模块,其配置为保存当前浏览器的窗口大小和位置信息;Spatial information saving sub-module, which is configured to save the window size and position information of the current browser; 功能信息保存子模块,其配置为保存界面工具栏、状态栏和收藏栏的设置信息。The function information saving sub-module is configured to save the setting information of the interface toolbar, status bar and favorite bar. 20.如权利要求18所述的装置,其特征在于,所述操作记录生成模块包括:20. The device according to claim 18, wherein the operation record generating module comprises: 键盘操作采集子模块,其配置为采集键盘的录入操作和切换操作;The keyboard operation collection sub-module is configured to collect the entry operation and switching operation of the keyboard; 鼠标事件采集子模块,其配置为采集鼠标的移动事件和点击事件;A mouse event collection sub-module configured to collect mouse movement events and click events; 操作和事件保存子模块,其配置为获取所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件时保存在HookProc函数的lParam参数;Operation and event saving submodule, which is configured to obtain the input operation and switching operation of the keyboard, and/or the lParam parameter saved in the HookProc function during the movement event and click event of the mouse; 操作记录生成子模块,其配置为依据该lParam参数信息生成对应该键盘和/或鼠标操作的操作记录。The operation record generation sub-module is configured to generate an operation record corresponding to the keyboard and/or mouse operation according to the lParam parameter information. 21.如权利要求19所述的装置,其特征在于,所述操作程序块保存模块包括:21. The device according to claim 19, wherein the operating program block preservation module comprises: 设置信息保存子模块,其配置为保存进行每次所述记录操作时对应的浏览器窗口大小和位置信息以及界面工具栏、状态栏和收藏栏的设置信息;Setting information saving sub-module, which is configured to save the corresponding browser window size and position information and the setting information of the interface tool bar, status bar and favorite bar when carrying out each said recording operation; 程序块保存子模块,其配置为将所述浏览器的配置信息和操作记录保存在同一操作程序块中,作为单次操作程序块进行保存。The program block saving sub-module is configured to save the configuration information and operation records of the browser in the same operation program block as a single operation program block. 22.如权利要求20所述的装置,其特征在于,进一步包括:22. The apparatus of claim 20, further comprising: 操作记录分析子模块,其配置为分析所生成的操作记录中的lParam参数信息;An operation record analysis submodule configured to analyze the lParam parameter information in the generated operation record; 无效操作删除子模块,其配置为删除所述鼠标移动事件的时间间隔低于预置的无效时间阈值的操作;An invalid operation deletion sub-module configured to delete an operation in which the time interval of the mouse movement event is lower than a preset invalid time threshold; 时间间隔修改子模块,其配置为将所述键盘操作之前的时间间隔,修改为预置的时间;A time interval modifying submodule configured to modify the time interval before the keyboard operation to a preset time; 操作记录转换子模块,其配置为将所述键盘的录入操作和切换操作,和/或鼠标的移动事件和点击事件按序记录生成操作记录。The operation record conversion sub-module is configured to sequentially record the input operation and switching operation of the keyboard, and/or the movement event and click event of the mouse to generate an operation record. 23.一种基于权利要求18中所述记录的操作程序块对浏览器中的登录操作进行回放的装置,其特征在于,包括:23. A device for replaying the login operation in the browser based on the recorded operation program block according to claim 18, characterized in that it comprises: 配置信息加载模块,其配置为加载所述单次操作程序块中的浏览器配置信息;a configuration information loading module configured to load the browser configuration information in the single operation program block; 操作记录读取模块,其配置为读取所述操作记录,还原为键盘操作时的操作消息,和/或鼠标操作时的操作消息;An operation record reading module, which is configured to read the operation record and restore it to the operation message when the keyboard is operated, and/or the operation message when the mouse is operated; 对应操作执行模块,其配置为根据所述键盘操作时的操作消息,和/或鼠标操作时的操作消息在浏览器目标位置执行对应操作。The corresponding operation executing module is configured to execute corresponding operations at the target position of the browser according to the operation message when the keyboard is operated and/or the operation message when the mouse is operated. 24.如权利要求23所述的装置,其特征在于,还包括:24. The apparatus of claim 23, further comprising: 回放操作判断模块,其配置为通过WebBrowser的DocumentComplete函数,判断所述操作回放是否正常完成;Playback operation judging module, it is configured to pass the DocumentComplete function of WebBrowser, judges whether described operation playback is completed normally; 程序结束模块,其配置为结束所述操作录制和回放程序;A program end module configured to end the operation recording and playback program; 重录制提示模块,其配置为提示用户进行重新录制。A rerecording prompt module configured to prompt the user for rerecording. 25.如权利要求24所述的装置,其特征在于,所述回放操作判断模块包括:25. The device according to claim 24, wherein the playback operation judging module comprises: 环境设置检查子模块,其配置为检查所述当前系统环境设置是否加载完毕;The environment setting check submodule is configured to check whether the current system environment setting has been loaded; 操作消息检查子模块,其配置为检查所述操作记录中的操作消息是否返回完毕。The operation message checking submodule is configured to check whether the operation messages in the operation record have been returned.
CN201210227233.6A 2012-06-29 2012-06-29 A kind of method and apparatus of recording with playback that user in browser is operated Expired - Fee Related CN102841789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210227233.6A CN102841789B (en) 2012-06-29 2012-06-29 A kind of method and apparatus of recording with playback that user in browser is operated

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210227233.6A CN102841789B (en) 2012-06-29 2012-06-29 A kind of method and apparatus of recording with playback that user in browser is operated

Publications (2)

Publication Number Publication Date
CN102841789A true CN102841789A (en) 2012-12-26
CN102841789B CN102841789B (en) 2016-05-25

Family

ID=47369193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210227233.6A Expired - Fee Related CN102841789B (en) 2012-06-29 2012-06-29 A kind of method and apparatus of recording with playback that user in browser is operated

Country Status (1)

Country Link
CN (1) CN102841789B (en)

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327069A (en) * 2013-05-16 2013-09-25 北京神鹰城讯科技有限公司 WEB-based remote client service support method and system
CN103488507A (en) * 2013-09-18 2014-01-01 北京思特奇信息技术股份有限公司 User behavior trajectory playback method
CN103678506A (en) * 2013-11-20 2014-03-26 北京奇虎科技有限公司 Method and device for loading application program shortcuts in browser and browser
CN103713905A (en) * 2013-12-29 2014-04-09 广州视源电子科技股份有限公司 Method, device and system for customizing operation steps
WO2013189406A3 (en) * 2013-06-19 2014-05-15 中兴通讯股份有限公司 Method and system for demonstrating and generating demonstration script
CN103870272A (en) * 2014-03-06 2014-06-18 联想(北京)有限公司 Information processing method and device
CN103927182A (en) * 2014-04-29 2014-07-16 朱林 Picture recording method by utilization of screen capture combined with operation of mouse and keyboard
CN104572464A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Automated test state saving method and device of Android platform
CN104714948A (en) * 2013-12-11 2015-06-17 部落邦(北京)科技有限责任公司 Method, system and thermodynamic diagram display device for replaying user web page operation behavior
CN104731687A (en) * 2013-12-24 2015-06-24 镇江金钛软件有限公司 Real-time computer activity monitoring method
WO2015107401A1 (en) * 2013-12-05 2015-07-23 Language Garden Ltd Manipulating graphic representations of words
CN104915243A (en) * 2015-06-30 2015-09-16 北京奇虎科技有限公司 Playback method and device of keyboard and mouse script
CN104915244A (en) * 2015-06-30 2015-09-16 北京奇虎科技有限公司 Method and device for keyboard-and-mouse script playback
CN105159672A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Remote assistance method and client
CN105824742A (en) * 2015-01-08 2016-08-03 阿里巴巴集团控股有限公司 Operation recording method and device of user interface
WO2016173223A1 (en) * 2015-04-30 2016-11-03 百度在线网络技术(北京)有限公司 Method and device for determining user experience and for assisting in determining user experience
CN106155473A (en) * 2015-04-28 2016-11-23 中兴通讯股份有限公司 A kind of terminal applies processing method and device thereof
CN106155886A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and apparatus that a kind of key Mus script processes
CN106155771A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and device of key Mus script playback
CN106155760A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and device of key Mus script playback
CN106610825A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Shortcut establishment method and apparatus for intelligent terminal
CN107133072A (en) * 2017-04-27 2017-09-05 紫光华山信息技术有限公司 One kind operation performs method and apparatus
CN107844331A (en) * 2017-11-23 2018-03-27 腾讯科技(成都)有限公司 Generate the method, apparatus and equipment of boot configuration file
CN108459848A (en) * 2017-02-20 2018-08-28 深圳市北斗智研科技有限公司 A kind of script acquisition methods and system applied to Excel softwares
CN108693976A (en) * 2018-08-10 2018-10-23 唐山数通科技有限公司 Transcripter
CN109446025A (en) * 2018-10-17 2019-03-08 北京字节跳动网络技术有限公司 A kind of back method of operation behavior, device, electronic equipment and readable medium
CN109656704A (en) * 2018-12-21 2019-04-19 北京天融信网络安全技术有限公司 A kind of information processing method and information processing unit
CN110046009A (en) * 2019-02-19 2019-07-23 阿里巴巴集团控股有限公司 Method for recording, device, server and readable storage medium storing program for executing
CN110209557A (en) * 2019-03-16 2019-09-06 平安科技(深圳)有限公司 User's operation records restoring method, device, equipment and readable storage medium storing program for executing
CN111522608A (en) * 2019-02-03 2020-08-11 北京数聚鑫云信息技术有限公司 Method and device for improving execution rate of simulation operation
CN111858364A (en) * 2020-07-24 2020-10-30 中国建设银行股份有限公司 Parameter configuration method, device and system for testing terminal
CN112131085A (en) * 2020-08-01 2020-12-25 青岛希望鸟科技有限公司 Method, system and device for recording and playing back Internet business process
CN113326144A (en) * 2020-02-29 2021-08-31 华为技术有限公司 Method and equipment for generating task guide
CN113360824A (en) * 2021-06-30 2021-09-07 四川效率源信息安全技术股份有限公司 Webpage evidence obtaining and data extracting method based on Chrome browser debugging protocol
CN113590092A (en) * 2021-07-15 2021-11-02 远光软件股份有限公司 Script generation method and device and computer readable storage medium
CN114416534A (en) * 2021-12-28 2022-04-29 携程旅游网络技术(上海)有限公司 Data processing method, device and medium
CN114896533A (en) * 2022-05-10 2022-08-12 众安信息技术服务有限公司 Method and device for editing HTML (hypertext markup language) visual sequence data
CN117974331A (en) * 2024-03-28 2024-05-03 探保网络科技(广州)有限公司 Insurance recommendation method and system based on electronic commerce platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1313034A2 (en) * 2001-11-14 2003-05-21 Hitachi, Ltd. Storage system having means for acquiring execution information of a database management system
CN101399821A (en) * 2007-09-28 2009-04-01 国际商业机器公司 Recording/reproducing system, recorder/player, and method
CN102142016A (en) * 2010-01-29 2011-08-03 微软公司 Cross-browser interactivity recording, playback and editing
CN102508773A (en) * 2011-10-18 2012-06-20 深圳市易聆科信息技术有限公司 Method and device for monitoring WEB service system simulation based on Internet explorer (IE) kernel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1313034A2 (en) * 2001-11-14 2003-05-21 Hitachi, Ltd. Storage system having means for acquiring execution information of a database management system
CN101399821A (en) * 2007-09-28 2009-04-01 国际商业机器公司 Recording/reproducing system, recorder/player, and method
CN102142016A (en) * 2010-01-29 2011-08-03 微软公司 Cross-browser interactivity recording, playback and editing
CN102508773A (en) * 2011-10-18 2012-06-20 深圳市易聆科信息技术有限公司 Method and device for monitoring WEB service system simulation based on Internet explorer (IE) kernel

Cited By (53)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327069A (en) * 2013-05-16 2013-09-25 北京神鹰城讯科技有限公司 WEB-based remote client service support method and system
CN103327069B (en) * 2013-05-16 2016-09-21 北京神鹰城讯科技股份有限公司 Remote client's service support method based on WEB and system
WO2013189406A3 (en) * 2013-06-19 2014-05-15 中兴通讯股份有限公司 Method and system for demonstrating and generating demonstration script
CN104239018A (en) * 2013-06-19 2014-12-24 中兴通讯股份有限公司 Methods and systems for demonstrating and generating demonstration scripts
CN103488507A (en) * 2013-09-18 2014-01-01 北京思特奇信息技术股份有限公司 User behavior trajectory playback method
CN103678506B (en) * 2013-11-20 2018-10-12 北京奇虎科技有限公司 The method, apparatus and browser of loading application programs shortcut in a browser
CN103678506A (en) * 2013-11-20 2014-03-26 北京奇虎科技有限公司 Method and device for loading application program shortcuts in browser and browser
WO2015107401A1 (en) * 2013-12-05 2015-07-23 Language Garden Ltd Manipulating graphic representations of words
CN104714948A (en) * 2013-12-11 2015-06-17 部落邦(北京)科技有限责任公司 Method, system and thermodynamic diagram display device for replaying user web page operation behavior
CN104731687A (en) * 2013-12-24 2015-06-24 镇江金钛软件有限公司 Real-time computer activity monitoring method
CN103713905A (en) * 2013-12-29 2014-04-09 广州视源电子科技股份有限公司 Method, device and system for customizing operation steps
CN103870272B (en) * 2014-03-06 2017-09-22 联想(北京)有限公司 A kind of information processing method and device
CN103870272A (en) * 2014-03-06 2014-06-18 联想(北京)有限公司 Information processing method and device
CN103927182A (en) * 2014-04-29 2014-07-16 朱林 Picture recording method by utilization of screen capture combined with operation of mouse and keyboard
CN104572464A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Automated test state saving method and device of Android platform
CN104572464B (en) * 2014-12-31 2018-01-19 广东欧珀移动通信有限公司 The automatic test state saving approach and device of a kind of Android platform
CN105824742A (en) * 2015-01-08 2016-08-03 阿里巴巴集团控股有限公司 Operation recording method and device of user interface
CN105824742B (en) * 2015-01-08 2018-10-02 阿里巴巴集团控股有限公司 Operating user interface method for recording and device
CN106155760B (en) * 2015-03-31 2019-09-17 北京奇虎科技有限公司 The method and device of key mouse script playback
CN106155886A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and apparatus that a kind of key Mus script processes
CN106155771A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and device of key Mus script playback
CN106155760A (en) * 2015-03-31 2016-11-23 北京奇虎科技有限公司 The method and device of key Mus script playback
CN106155886B (en) * 2015-03-31 2019-05-14 北京奇虎科技有限公司 A kind of method and apparatus of key mouse script processing
CN106155473A (en) * 2015-04-28 2016-11-23 中兴通讯股份有限公司 A kind of terminal applies processing method and device thereof
WO2016173223A1 (en) * 2015-04-30 2016-11-03 百度在线网络技术(北京)有限公司 Method and device for determining user experience and for assisting in determining user experience
CN104915244B (en) * 2015-06-30 2018-02-16 北京奇虎科技有限公司 The method and device of key mouse script playback
CN104915244A (en) * 2015-06-30 2015-09-16 北京奇虎科技有限公司 Method and device for keyboard-and-mouse script playback
CN104915243B (en) * 2015-06-30 2018-08-10 北京奇虎科技有限公司 The method and device of key mouse script playback
CN104915243A (en) * 2015-06-30 2015-09-16 北京奇虎科技有限公司 Playback method and device of keyboard and mouse script
CN105159672A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Remote assistance method and client
CN106610825A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Shortcut establishment method and apparatus for intelligent terminal
CN108459848A (en) * 2017-02-20 2018-08-28 深圳市北斗智研科技有限公司 A kind of script acquisition methods and system applied to Excel softwares
CN108459848B (en) * 2017-02-20 2021-12-14 深圳市北斗智研科技有限公司 Script obtaining method and system applied to Excel software
CN107133072A (en) * 2017-04-27 2017-09-05 紫光华山信息技术有限公司 One kind operation performs method and apparatus
CN107844331A (en) * 2017-11-23 2018-03-27 腾讯科技(成都)有限公司 Generate the method, apparatus and equipment of boot configuration file
CN108693976A (en) * 2018-08-10 2018-10-23 唐山数通科技有限公司 Transcripter
CN109446025A (en) * 2018-10-17 2019-03-08 北京字节跳动网络技术有限公司 A kind of back method of operation behavior, device, electronic equipment and readable medium
CN109656704A (en) * 2018-12-21 2019-04-19 北京天融信网络安全技术有限公司 A kind of information processing method and information processing unit
CN111522608B (en) * 2019-02-03 2023-09-22 北京数聚鑫云信息技术有限公司 Method and device for improving execution rate of analog operation
CN111522608A (en) * 2019-02-03 2020-08-11 北京数聚鑫云信息技术有限公司 Method and device for improving execution rate of simulation operation
CN110046009A (en) * 2019-02-19 2019-07-23 阿里巴巴集团控股有限公司 Method for recording, device, server and readable storage medium storing program for executing
CN110209557A (en) * 2019-03-16 2019-09-06 平安科技(深圳)有限公司 User's operation records restoring method, device, equipment and readable storage medium storing program for executing
CN110209557B (en) * 2019-03-16 2022-05-17 平安科技(深圳)有限公司 User operation recording and restoring method, device and equipment and readable storage medium
CN113326144A (en) * 2020-02-29 2021-08-31 华为技术有限公司 Method and equipment for generating task guide
CN113326144B (en) * 2020-02-29 2023-12-12 华为技术有限公司 Method and device for generating task wizard
CN111858364A (en) * 2020-07-24 2020-10-30 中国建设银行股份有限公司 Parameter configuration method, device and system for testing terminal
CN112131085A (en) * 2020-08-01 2020-12-25 青岛希望鸟科技有限公司 Method, system and device for recording and playing back Internet business process
CN113360824A (en) * 2021-06-30 2021-09-07 四川效率源信息安全技术股份有限公司 Webpage evidence obtaining and data extracting method based on Chrome browser debugging protocol
CN113590092A (en) * 2021-07-15 2021-11-02 远光软件股份有限公司 Script generation method and device and computer readable storage medium
CN114416534A (en) * 2021-12-28 2022-04-29 携程旅游网络技术(上海)有限公司 Data processing method, device and medium
CN114896533A (en) * 2022-05-10 2022-08-12 众安信息技术服务有限公司 Method and device for editing HTML (hypertext markup language) visual sequence data
CN117974331A (en) * 2024-03-28 2024-05-03 探保网络科技(广州)有限公司 Insurance recommendation method and system based on electronic commerce platform
CN117974331B (en) * 2024-03-28 2024-06-11 探保网络科技(广州)有限公司 Insurance recommendation method and system based on electronic commerce platform

Also Published As

Publication number Publication date
CN102841789B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN102841789B (en) A kind of method and apparatus of recording with playback that user in browser is operated
US20220108106A1 (en) Machined learning supporting document data extraction
CN100472434C (en) Smart UI record and replay structure
US9342237B2 (en) Automated testing of gesture-based applications
US9383903B2 (en) Systems and methods for providing programmable macros
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN108280026A (en) Automated testing method and device, storage medium, electronic equipment
CN102272757A (en) Method for server-side logging of client browser state through markup language
CN106681919B (en) A user interface automated testing method and system
CN104699591A (en) Reappearing method and device of test scenes
CN106126424B (en) A kind of visual automated testing method of script, device and mobile terminal
CN104866416B (en) The method and apparatus for realizing application program capacity analysis
Wang et al. Automatic Android GUI traversal with high coverage
EP3195115A1 (en) Code development tool with multi-context intelligent assistance
US20090132994A1 (en) Automation tool and method for generating test code
CN107562464A (en) A kind of call method of command line interface, device and equipment
CN112612469A (en) Interface element processing method and device and electronic equipment
CN112052146A (en) Page frame rate testing method, application installation file generating method and device
CN103067464B (en) Intelligent terminal method for remote controlling computer and system
CN108090355A (en) A kind of APK automatic triggers instrument
CN113849785B (en) Mobile terminal information asset use behavior identification method for application program
CN115328478A (en) Page embedding method, device, electronic device and medium
CN114490330A (en) Method and device for generating test case
CN115481025A (en) Script recording method and device for automatic test, computer equipment and medium
CN113468050A (en) Canvas-based testing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160518

Address after: 100015, room 5, room 501-506, building 2, building 6, Jiuxianqiao Road, Chaoyang District, Beijing,

Patentee after: QIFEIXIANGYI (BEIJING) SOFTWARE CO.,LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160525

Termination date: 20190629

CF01 Termination of patent right due to non-payment of annual fee
RR01 Reinstatement of patent right
RR01 Reinstatement of patent right

Former decision: termination of patent right due to unpaid annual fee

Former decision publication date: 20200623

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 501-506, floor 5, building a, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Qi flying Business Consulting Co.,Ltd.

Address before: Room 501-506, floor 5, building a, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee before: QIFEIXIANGYI (BEIJING) SOFTWARE CO.,LTD.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220129

Address after: Room 801, 8th floor, No. 104, 1st to 19th floors, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: Room 501-506, floor 5, building a, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee before: Beijing Qi flying Business Consulting Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160525