CN107193826A - A kind of method and capture device for intercepting browser window change - Google Patents

A kind of method and capture device for intercepting browser window change Download PDF

Info

Publication number
CN107193826A
CN107193826A CN201610144225.3A CN201610144225A CN107193826A CN 107193826 A CN107193826 A CN 107193826A CN 201610144225 A CN201610144225 A CN 201610144225A CN 107193826 A CN107193826 A CN 107193826A
Authority
CN
China
Prior art keywords
browser
window
interception
user
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610144225.3A
Other languages
Chinese (zh)
Inventor
庞凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610144225.3A priority Critical patent/CN107193826A/en
Publication of CN107193826A publication Critical patent/CN107193826A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Present disclose provides a kind of method and capture device for intercepting browser window change, the interception instruction for the browser window of browser is obtained, wherein, the browser provides interception interface;Instructed according to the interception, call the interception interface, intercept the window change that the browser window is generated;Export the window change being truncated to.Compared with prior art, the interception interface that the present invention is provided by browser itself, do not limited by the authority of system, browser window change can relatively free to be intercepted, the corresponding response of concrete operations and browser for facilitating user to intercept the video played in browser window or carry out user on a web browser is intercepted, interception efficiency is improved, the usage experience of user is improved.

Description

A kind of method and capture device for intercepting browser window change
Technical field
The present invention relates to field of computer technology, more particularly to a kind of interception browser window change Method and capture device.
Background technology
More and more dynamic picture datas and video format are occurred in that on various internet visual medias Data, static images have all been difficult to meet user's in terms of information content or interest Demand, but browser is as dynamic to being formed also without a kind of technology on the alive face of upper web portal Image data or video formatted data have good support, and user can only be based on using third party The video played in the interception software intercepts browser window of itself product development, but by In reasons such as System Privileges controls, the function of this third party's video intercepting can not be browsed all All come into force in device.
Therefore, one kind how is provided not by System Privileges control, can be carried based on browser itself The technology of the interface intercepts browser window change of confession, as those skilled in the art's urgent need to resolve One of the problem of.
The content of the invention
Filled it is an object of the invention to provide a kind of method for intercepting browser window change and interception Put.
According to an aspect of the present invention there is provided a kind of method for intercepting browser window change, its In, this method comprises the following steps:
The interception instruction for the browser window of browser is obtained, wherein, the browser is provided Intercept interface;
Instructed according to the interception, call the interception interface, intercepted the browser window and given birth to Into window change;
Export the window change being truncated to.
Preferably, the window change is based on following at least any one generation:
By the video flowing of the browser window;
Dynamic operation of the user to the browser window.
Preferably, the step of window that the output is truncated to changes includes:
With predetermined output format, the window change being truncated to is exported.
Preferably, the predetermined output format includes following at least any one:
Dynamic picture data;
Video formatted data.
Preferably, the step of window that the output is truncated to changes includes:
By the window being truncated to change output to precalculated position.
Preferably, the precalculated position includes following at least any one:
System specified location;
The currently assigned position of user;
User's history specified location;
Clipbook.
According to another aspect of the present invention, a kind of interception browser window change is additionally provided Capture device, wherein, the capture device includes following device:
Device for obtaining the interception instruction for the browser window of browser, wherein, it is described Browser provides interception interface;
For being instructed according to the interception, the interception interface is called, the browser window is intercepted The device of the window change generated;
Device for exporting the window being truncated to change.
Preferably, the window change is based on following at least any one generation:
By the video flowing of the browser window;
Dynamic operation of the user to the browser window.
Preferably, the device for exporting the window change being truncated to includes:
For with predetermined output format, exporting the unit for the window change being truncated to.
Preferably, the predetermined output format includes following at least any one:
Dynamic picture data;
Video formatted data.
Preferably, the device for exporting the window change being truncated to includes:
For the window being truncated to be changed into output to the unit in precalculated position.
Preferably, the precalculated position includes following at least any one:
System specified location;
The currently assigned position of user;
User's history specified location;
Clipbook.
Compared with prior art, the present invention has advantages below:
The interception interface that the present invention is provided by browser itself, is not limited by the authority of system, can , further, can also be the 3rd of browser relatively free to intercept browser window change The interception function of addition interception browser window change in side plug, facilitates user's interception in browser The video played in window or the concrete operations for carrying out user on a web browser and browse The corresponding response of device is intercepted, and is improved interception efficiency, is improved the usage experience of user.
Further, the present invention is chosen after the scope to be intercepted by mouse frame, starts interception The change of browser window so that the browser window change that user can be intercepted with unrestricted choice Scope, further improve the usage experience of user.
Further, the result that intercepts can be output as difference by the present invention according to predetermined setting Form, such as dynamic picture data or video formatted data can meet user and not sympathize with Use demand under condition, for example, send dynamic picture, by dynamic picture be added to expression storehouse or Uploaded videos formatted data etc. on social network sites.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, The other features, objects and advantages of the present invention will become more apparent upon:
Fig. 1 shows the interception dress changed according to a kind of interception browser window of one aspect of the invention Put schematic diagram;
Fig. 2 shows a kind of side of interception browser window change according to a further aspect of the present invention Method flow chart.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
It should be mentioned that some are exemplary before exemplary embodiment is discussed in greater detail Embodiment is described as processing or the method described as flow chart.Although flow chart grasps items Be described into the processing of order, but many of which operation can by concurrently, concomitantly or Person implements simultaneously.In addition, the order of operations can be rearranged.When its operation is completed Shi Suoshu processing can be terminated, it is also possible to the extra step being not included in accompanying drawing Suddenly.The processing can correspond to method, function, code, subroutine, subprogram etc..
Alleged within a context " computer equipment ", also referred to as " computer ", referring to can be by fortune Row preset program instructs to perform the predetermined process process such as numerical computations and/or logical calculated Intelligent electronic device, it can include processor and memory, by computing device in memory In the survival that prestores instruct to perform predetermined process process, or by ASIC, FPGA, DSP Predetermined process process is performed Deng hardware, or is realized by said two devices combination.Computer equipment Including but not limited to server, PC, notebook computer, tablet personal computer, smart mobile phone Deng.
The computer equipment includes user equipment and the network equipment.Wherein, the user equipment Including but not limited to computer, smart mobile phone, PDA etc.;The network equipment includes but is not limited to Single network server, multiple webservers composition server group or based on cloud computing The cloud being made up of a large amount of computers or the webserver of (Cloud Computing), wherein, Cloud computing is one kind of Distributed Calculation, one be made up of the computer collection of a group loose couplings Super virtual computer.Wherein, the computer equipment can isolated operation realize the present invention, Also it can access network and realized by the interactive operation with other computer equipments in network The present invention.Wherein, the network residing for the computer equipment include but is not limited to internet, it is wide Domain net, Metropolitan Area Network (MAN), LAN, VPN etc..
It should be noted that the user equipment, the network equipment and network etc. are only for example, its He is such as applicable to the present invention at computer equipment or network existing or be likely to occur from now on, It should be included within the scope of the present invention, and be incorporated herein by reference.
Method discussed hereafter (some of them are illustrated by flow) can by hardware, Software, firmware, middleware, microcode, hardware description language or its any combination are implemented. When with software, firmware, middleware or microcode to implement, the journey to implement necessary task Sequence code or code segment can be stored in machine or computer-readable medium (such as storage Jie Matter) in.(one or more) processor can implement necessary task.
Concrete structure and function detail disclosed herein are only representational, and are to be used for The purpose of the exemplary embodiment of the present invention is described.But the present invention can pass through many replacement shapes Formula is implemented, and is not interpreted as being limited only by implementation set forth herein Example.
Although it should be appreciated that may have been used term " first ", " second " etc. herein To describe unit, but these units should not be limited by these terms.Use these arts Language is used for the purpose of making a distinction a unit and another unit.For example, do not carrying on the back In the case of scope from exemplary embodiment, first module can be referred to as second unit, and And similarly second unit can be referred to as first module.Term "and/or" used herein above Including any of the associated item listed by one of them or more and all combinations.
It should be appreciated that when a unit is referred to as " connecting " or during " coupled " to another unit, It can be connected or coupled to another unit, or there may be temporary location.With This is relative, be referred to as when a unit " when being directly connected " or " directly coupled " to another unit, Temporary location is then not present.It should in a comparable manner explain and be used between description unit Relation other words (such as compared to " between being directly in ... " " between being in ... ", " with ... It is neighbouring " compared to " with ... it is directly adjacent to " etc.).
Term used herein above is not intended to limit and shown just for the sake of description specific embodiment Example property embodiment.Unless the context clearly dictates otherwise, otherwise odd number shape used herein above Formula " one ", " one " also attempt to include plural number.It is to be further understood that used herein above Term " comprising " and/or "comprising" provide stated feature, integer, step, operation, unit And/or the presence of component, and do not preclude the presence or addition of other one or more features, integer, Step, operation, unit, component and/or its combination.
It should further be mentioned that in some replaces realization modes, the function/action being previously mentioned can To occur according to the order different from being indicated in accompanying drawing.For example, depending on involved work( Energy/action, the two width figures shown in succession can essentially substantially simultaneously perform or sometimes can be with Perform in a reverse order.
The present invention is described in further detail below in conjunction with the accompanying drawings.It should be noted that not rushing In the case of prominent, embodiment and embodiment feature in the application can be mutually combined.
Fig. 1 shows the interception changed according to a kind of interception browser window of one aspect of the invention Schematic device.Capture device 1 includes:1) it is used to obtain the browser window for browser Interception instruction device, wherein, the browser provides interception interface, hereinafter referred to as obtains dress Put 101;2) it is used to be instructed according to the interception, calls the interception interface, browsed described in interception The device for the window change that device window is generated, hereinafter referred to as window capture device 102;3) it is used for Export the device for the window change being truncated to, hereinafter referred to as output device 103.
Here, capture device 1 can for example be located in user equipment.The user equipment includes But it is not limited to portable computer, tablet personal computer, smart mobile phone, PDA etc..People in the art Member will be understood that above-mentioned user equipment is only for example, the existing or user that is likely to occur from now on Equipment, which is such as applicable to the present invention, should also be included in the scope of the present invention, and with the side of reference Formula is incorporated herein.
Wherein, the acquisition of acquisition device 101 refers to for the interception of the browser window of browser Order, wherein, the browser provides interception interface.Specifically, browser itself provides interception and connect Mouthful, developer can add interception browser window by the interface in third party's plug-in unit of browser The interception function of mouth change.When user is for example, by clicking on specific button or by tapping on keyboard The mode such as shortcut when opening browser window change interception function, acquisition device 101 by with The interaction of the user equipment, such as one or many application programming interfaces for calling browser to provide (API) the interception instruction for the browser window of browser, is obtained.For example, browser page The video playback window in face is playing a video, and user is intended to intercept the video played Fragment, is watched, or be added to locally with the data format of dynamic picture with preserving repetition Expression storehouse uploads to network expression storehouse, or is transmitted directly to good friend, and the user passes through first Click on video intercepting button or tap the button for the startup video intercepting function of setting, open The interception browser window that developer is added by the interception interface in browser plug-in becomes The interception function of change, acquisition device 101 obtains interception and just played in browser video playback window Video interception instruction.
Here, the interception interface that capture device 1 is provided by browser itself, is not weighed by system Limit limitation, can relatively free to intercept browser window change, further, in browser The interception function of addition interception browser window change in third party's plug-in unit, facilitates user's interception clear Look in device window the video played or the concrete operations for carrying out user on a web browser and The corresponding response of browser is intercepted.
Those skilled in the art will be understood that the mode of above-mentioned unlatching interception function is only for example, Other modes of unlatching interception function that are existing or being likely to occur from now on are such as applicable to this Invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
Window capture device 102 is instructed according to the interception, calls the interception interface, intercepts institute State the window change that browser window is generated.Specifically, when user wants interception browser window During the window change generated, by clicking on corresponding interception button or by corresponding quick side Formula opens browser window change interception function, and acquisition device 101 passes through the friendship with the user equipment Mutually, the interception instruction for the browser window of browser is obtained.Window capture device 102 Instructed according to the interception, the interception interface for calling the browser to be provided is intercepted described clear Played in the window change that device window of looking at is generated, the window change such as browser window Video or the concrete operations for carrying out user on a web browser and the corresponding response of browser;Institute State interception instruction and the third party that is developed on the interception interface that browser is provided for example is passed through by user Plug-in unit is sent, wherein, the interception instruction includes interception beginning and end instruction.
For example, user is intended to become browser window during a certain search operation with user's operation The whole process of change is intercepted, and is that capture device 1 sets an interception button and conclusion button respectively, For starting the interception function and terminating the interception function;Cut by clicking on interception button unlatching Function is taken, the action that the user clicks on the interception button for example can then be obtained as interception instruction Device 101 obtains interception instruction of the user for the browser window of browser, now, user Search keyword is inputted in search column, mouse clicks on browser after search button and shows search results pages Face, user is chosen after a certain search result, and browser page jumps to corresponding with the search result The page, above-mentioned user becomes to the dynamic operation of browser window and the dynamic of whole browser window The drawing process of change is all intercepted by window capture device 102, the basis of window capture device 102 Interception instruction acquired in acquisition device 101, the interception interface for calling the browser to be provided is cut Take the window change that the browser window is generated;After interception is finished, user clicks on conclusion button knot Beam intercepts process.Based on this, user can be by the operating process of browser page and browser page The corresponding change procedure in face is preserved or sent out with dynamic picture data or video formatted data Friend is given, further, user can also intercept other behaviour to browser by said process Make process, preserved or be uploaded to network as the instructional video of browser operation.
Preferably, one is only set to intercept button, user's click interception button is sent after interception instruction, Mouse enters armed state, and user chooses the model for needing to intercept the browser window page by mouse Enclose.Specifically, user by point and drag mouse be intended to interception the browser window page model Progress frame choosing is enclosed, mouse is unclamped after choosing, starts interception process, treats that browser window change is cut Bi Yihou is taken, the end of extent (EOE) interception process of above-mentioned frame choosing is double-clicked.For example, when interception browser During the video that window page is being played, the model for the video pictures to be intercepted can be selected by mouse frame Enclose;The browser window brought in the operation and thus operating of browser window as interception user During change, the scope that the browser window to be intercepted changes can be selected by mouse frame;When interception is logical The information process of input and reception when the chat tool crossed in the browser window page is communicated When, the scope for the information receiving and transmitting window to be intercepted can be selected by mouse frame, above-mentioned interception process is treated After completion, interception process is terminated by double-clicking selection range.
Here, interception function is opened, by the third party developed on the interception interface that browser is provided Plug-in unit sends interception instruction, and acquisition device 101 obtains interception instruction, window capture device 102 For example chosen by mouse frame after the scope to be intercepted, start to intercept the change of browser window Change so that the scope for the browser window change that user can be intercepted with unrestricted choice, improve The usage experience of user.
Those skilled in the art will be understood that the method for above-mentioned determination interception scope is only for example, its The method that his determination that is existing or being likely to occur from now on intercepts scope is such as applicable to this hair It is bright, it should also be included within the scope of the present invention, and be incorporated herein by reference.This Art personnel should also be understood that the method for above-mentioned unlatching or end interception process is only to lift Example, the method that other determinations that are existing or being likely to occur from now on intercept scope is such as applicable to The present invention, should also be included in the scope of the present invention, and be incorporated herein by reference.
Preferably, the change of the window is based on following at least any one generation:Browsed by described The video flowing of device window;Dynamic operation of the user to the browser window.Specifically, user is worked as When being intended to intercept the video just played in the browser window page, click on corresponding video intercepting button or Person opens video intercepting function by corresponding video intercepting shortcut, and acquisition device 101 is obtained For the interception instruction of the browser video playback window of browser, or further, obtain user The interception scope of the broadcasting video in the interception browser window of selection, wherein, broadcast when described Video is put when browser is given tacit consent to small broadcast window and played, can according to the option pre-set, Selection only intercepts the small broadcast window of video playback, either intercepts whole browser page or cuts Take a part for the video playback window;When the broadcasting video uses played in full screen video When, user can select full frame interception to play video, or cut according to the option pre-set Take a part for the broadcasting video window.Here, the option pre-set is included but not It is limited to following three kinds:1) video playback window is intercepted;2) it is whole where interception video playback window Individual browser page;3) the interception scope of unrestricted choice browser page.Preferably, Ke Yitong Cross the interception scope that mouse frame selects unrestricted choice browser page.Then, window capture device 102 According to the interception instruction and selected interception scope, called and browsed by browser interception plug-in unit The video flowing drawing process of the browser window of video is being played in the interception interface of device, interception.
When dynamic operation of the user user to be intercepted to the browser window, corresponding section is clicked on Take button or interception function is opened by corresponding shortcut, acquisition device 101 obtains user Interception instruction to the dynamic operation process of the browser, and obtain the interception model of user's selection Enclose, wherein, the interception scope can be the clear of whole browser page or user's unrestricted choice Look at the part of the device page, such as user passes through the interception scope that selection is wanted in mouse frame choosing.Wherein, The dynamic operation includes but is not limited to:1) user passes through the means of communication in browser and good friend Text input, reception when being contacted etc. become to the corresponding dynamic of browser in other side's interactive process Change;2) the corresponding dynamic change of browser when user is to the specific operation process of browser page, For example, user carries out the operating process of browser setting in browser page or user passes through search Engine scans for the operating process of operation in browser page, and aforesaid operations process is moved including mouse Dynamic, page jump, mouse such as clicks at the dynamic process.Then window capture device 102 is according to described Interception instruction and selected interception scope, the interception that plug-in unit calls browser is intercepted by browser Interface, interception user is to the dynamic operation of the browser window, so as to by the institute being truncated to Dynamic operation is stated to be exported.
Those skilled in the art will be understood that the mode of above-mentioned generation window change is only for example, its The mode that his generation window that is existing or being likely to occur from now on changes such as is applicable to this hair It is bright, it should also be included in the scope of the present invention, and be incorporated herein by reference.Ability Field technique personnel should also be understood that above-mentioned dynamic operation is only for example, and other are existing or from now on The dynamic operation being likely to occur such as is applicable to the present invention, should also be included in the scope of the present invention It is interior, and be incorporated herein by reference.
Output device 103 exports the window change being truncated to.Specifically, output device 103 The window change that the browser window being truncated to according to window capture device 102 is generated, passes through Directly share, preserve to modes such as precalculated positions, export be truncated to window change.For example, When user A is long-range consulted to user B a certain complicated setting how is carried out to browser when, user B is intended to be intercepted to be sent to user's A after preserving by specific setting operating process Practise, user B can be by clicking on interception button or opening interception work(by corresponding shortcut Can, its specific operation process in browser window is intercepted, acquisition device 101 is obtained User B is instructed to the interception of the dynamic operation of browser window, and gets to be intercepted clear Look at the orientation of device window, window capture device 102 instructs according to the interception, passes through browser and cut Plug-in unit is taken to call the interception interface of browser, concrete operations of the interception user in browser window Journey, wherein, the specific operation process includes:The movement of mouse, click on, the page is redirected, The page is exited after selection that user is carried out by mouse and operation are completed, interception completion Afterwards, output device 103 exports intercepted user B by modes such as preservation, transmission or uploads The change procedure of browser window when being operated to browser.
Preferably, output device 103 also includes:For with predetermined output format, output to be intercepted The unit for the window change arrived, hereinafter referred to as the first output unit (not shown).Specifically, A variety of predetermined output formats can be set, and user opens interception function, is truncated to browser window institute After the change of generation, a kind of output format is selected to be exported, the first of output device 103 is defeated Go out the output format that unit selected according to user and export be truncated to window to change.Wherein, The predetermined output format includes following at least any one:1) dynamic picture data, for example, window Mouth capture device 102 intercepts the video segment played, and obtains video intercepting result, first is defeated Go out unit to export the video intercepting result with the form of dynamic picture data, user can will described in Dynamic picture data is added to expression storehouse, is sent to friend or is stored in this in the form of a file Ground;2) video formatted data, for example, user is set browser work(by window capture device 102 Can dynamic operation process carried out intercept operation, the first output unit can by the result after interception with Video formatted data is exported, and is preserved or is sent for user.
Those skilled in the art will be understood that above-mentioned predetermined output format is only for example, and other are existing Or the predetermined output format that is likely to occur from now on be such as applicable to the present invention, should also be included in Within the scope of the present invention, and it is incorporated herein by reference.
Preferably, output device 103 also includes:By the window being truncated to change output extremely The unit in precalculated position, hereinafter referred to as the second output unit (not shown).Specifically, window is cut Device 102 is taken to be truncated to after the window change, user is needed for window change selection output Precalculated position, the precalculated position of output is selected according to user, the second output unit is by the interception The change output of the window arrived selects the precalculated position of output to user.Wherein, it is described predetermined Position includes following at least any one:1) system specified location, for example, the system set in advance System specified location of specified location or acquiescence etc.;2) the currently assigned position of user, for example, After the completion of interception browser window change, the position that user specifies;3) user's history specified location, For example, before interception browser window change is completed, the outgoing position that user specifies;4) cut Pasting board, for example, by the browser window change output of interception to clipbook, user can be by cutting Pasting board by the content intercepted paste corresponding position or will output to described on clipbook Browser window change saves as file.
Those skilled in the art will be understood that above-mentioned output precalculated position is only for example, and other are existing Or the output precalculated position that is likely to occur from now on be such as applicable to the present invention, should also be included in Within the scope of the present invention, and it is incorporated herein by reference.
Here, the interception interface that capture device 1 is provided by browser itself, is not weighed by system Limit limitation, can relatively free to intercept browser window change, further, in browser The interception function of addition interception browser window change in third party's plug-in unit, facilitates user's interception clear Look in device window the video played or the concrete operations for carrying out user on a web browser and The corresponding response of browser is intercepted.Further, capture device 1 is chosen by mouse frame After the scope to be intercepted, start to intercept the change of browser window so that user can freely select The scope of the browser window to be intercepted change is selected, the usage experience of user is improved.Further Ground, capture device 1 can by the interception result according to the predetermined form for setting carry-out bit different, Such as dynamic picture data or video formatted data, can meet user's making in varied situations With demand, for example, sending dynamic picture, dynamic picture is added to expression storehouse or in social network Uploaded videos formatted data etc. on standing.
The operation of above-mentioned capture device is described in detail with an embodiment below:
For example, the video playback window of browser page plays video, user is intended to intercept this The fragment of video is being played, to preserve repetition viewing, or with dynamic picture data Form is added to local expression storehouse or uploads to network expression storehouse, or is transmitted directly to good friend, First, user is cut by clicking on video intercepting button or tapping the startup video pre-set The button of function is taken, opens what developer was added by the interception interface in browser plug-in The interception function of browser window change is intercepted, acquisition device 101 obtains interception just in browser The interception instruction for the video that video playback window is played.Window capture device 102 is according to described section Instruction fetch, calls the interception interface for example sent by third party's plug-in unit, and mouse enters armed state, User by point and drag mouse be intended to interception browser video playback window carry out frame choosing, choosing Mouse is unclamped after good, window capture device 102 starts regarding for the video played described in interception Frequency stream drawing process, after process to be intercepted is finished, the end of extent (EOE) for double-clicking above-mentioned frame choosing is cut Take process.Capture device 1 intercepts the video intercepting result needs that the video segment played is obtained Exported with the form of dynamic picture data, it is clipbook or text that user, which also needs to selection outgoing position, Part, if user's selection is output to file, output device 103 is by video intercepting result with dynamic picture Data file is preserved and provides access mode, is checked or is sent out by network for user Send;If user's selection is output to clipbook, video intercepting result is output to this by output device 103 In machine clipbook.If capture device 1 intercepts the video intercepting knot that the video segment played is obtained Fruit needs to export with video formatted data, and output device 103 is by video intercepting result with video data Formatted file is preserved and provides access mode, is checked or is sent out by network for user Send.
Fig. 2 shows a kind of side of interception browser window change according to a further aspect of the present invention Method flow chart.
Wherein, in step s 201, capture device 1 obtains the browser window for browser Interception instruction, wherein, the browser provides interception interface.Specifically, browser itself is carried For interception interface, developer can add interception by the interface in third party's plug-in unit of browser The interception function of browser window change.When user is for example, by clicking on specific button or by striking When the modes such as the shortcut on beating keyboard open browser window change interception function, in step S201 In, capture device 1 Ru one or many calls browser by being interacted with the user equipment The application programming interfaces (API) of offer, the interception obtained for the browser window of browser refers to Order.For example, the video playback window of browser page is playing a video, user is intended to intercept The fragment of the video played, to preserve repetition viewing, or with dynamic picture Data format is added to local expression storehouse or uploads to network expression storehouse, or is transmitted directly to Friend, the user is cut by clicking on video intercepting button or tapping the startup video set first The button of function is taken, opens what developer was added by the interception interface in browser plug-in The interception function of browser window change is intercepted, in step s 201, capture device 1 is obtained The interception instruction for the video just played in browser video playback window.
Here, the interception interface that capture device 1 is provided by browser itself, is not weighed by system Limit limitation, can relatively free to intercept browser window change, further, in browser The interception function of addition interception browser window change in third party's plug-in unit, facilitates user's interception clear Look in device window the video played or the concrete operations for carrying out user on a web browser and The corresponding response of browser is intercepted.
Those skilled in the art will be understood that the mode of above-mentioned unlatching interception function is only for example, Other modes of unlatching interception function that are existing or being likely to occur from now on are such as applicable to this Invention, should also be included within the scope of the present invention, and be incorporated herein by reference.
In step S202, capture device 1 is instructed according to the interception, calls the interception to connect Mouthful, intercept the window change that the browser window is generated.Specifically, when user wants interception During the window change that browser window is generated, by clicking on corresponding interception button or by right The shortcut answered opens browser window change interception function, in step s 201, interception dress 1 is put by being interacted with the user equipment, the interception of the browser window for browser is obtained Instruction.In step S202, capture device 1 is instructed according to the interception, calls this to browse The interception interface that device is provided, intercepts the window change that the browser window is generated, institute State in window change such as browser window the video played or by user on a web browser The concrete operations of progress and the corresponding response of browser;It is described interception instruction for example by user by The third party's plug-in unit developed on the interception interface that browser is provided is sent, wherein, the interception instruction Including interception beginning and end instruction.
For example, user is intended to become browser window during a certain search operation with user's operation The whole process of change is intercepted, and is that capture device 1 sets an interception button and conclusion button respectively, For starting the interception function and terminating the interception function;Cut by clicking on interception button unlatching Function is taken, the action that the user clicks on the interception button for example can be as interception instruction, then in step In rapid S201, capture device 1 obtains the user and referred to for the interception of the browser window of browser Order, now, user input search keyword in search column, and mouse clicks on browser after search button Result of page searching is shown, user is chosen after a certain search result, browser page is jumped to being somebody's turn to do The corresponding page of search result, above-mentioned user is to the dynamic operation of browser window and entirely browses The drawing process of the dynamic change of device window is all intercepted device 1 in step S202 and intercepted, Capture device 1 is instructed according to interception acquired in step s 201, calls the browser to be carried The interception interface of confession, intercepts the window change that the browser window is generated;After interception is finished, use Click on conclusion button and terminate interception process in family.Based on this, user can be by the behaviour of browser page Make process and the corresponding change procedure of browser page with dynamic picture data or video format number According to preserving or being sent to friend, further, user can also be intercepted by said process Other operating process to browser, as the instructional video of browser operation preserved or on Reach network.
Preferably, one is only set to intercept button, user's click interception button is sent after interception instruction, Mouse enters armed state, and user chooses the model for needing to intercept the browser window page by mouse Enclose.Specifically, user by point and drag mouse be intended to interception the browser window page model Progress frame choosing is enclosed, mouse is unclamped after choosing, starts interception process, treats that browser window change is cut Bi Yihou is taken, the end of extent (EOE) interception process of above-mentioned frame choosing is double-clicked.For example, when interception browser During the video that window page is being played, the model for the video pictures to be intercepted can be selected by mouse frame Enclose;The browser window brought in the operation and thus operating of browser window as interception user During change, the scope that the browser window to be intercepted changes can be selected by mouse frame;When interception is logical The information process of input and reception when the chat tool crossed in the browser window page is communicated When, the scope for the information receiving and transmitting window to be intercepted can be selected by mouse frame, above-mentioned interception process is treated After completion, interception process is terminated by double-clicking selection range.
Here, interception function is opened, by the third party developed on the interception interface that browser is provided Plug-in unit sends interception instruction, in step s 201, and capture device 1 obtains interception instruction, In step S202, capture device 1 is for example chosen after the scope to be intercepted by mouse frame, Start the change of interception browser window so that user can the browser that intercepted with unrestricted choice The scope of window change, improves the usage experience of user.
Those skilled in the art will be understood that the method for above-mentioned determination interception scope is only for example, its The method that his determination that is existing or being likely to occur from now on intercepts scope is such as applicable to this hair It is bright, it should also be included within the scope of the present invention, and be incorporated herein by reference.This Art personnel should also be understood that the method for above-mentioned unlatching or end interception process is only to lift Example, the method that other determinations that are existing or being likely to occur from now on intercept scope is such as applicable to The present invention, should also be included in the scope of the present invention, and be incorporated herein by reference.
Preferably, the change of the window is based on following at least any one generation:Browsed by described The video flowing of device window;Dynamic operation of the user to the browser window.Specifically, user is worked as When being intended to intercept the video just played in the browser window page, click on corresponding video intercepting button or Person opens video intercepting function by corresponding video intercepting shortcut, in step s 201, Capture device 1 obtains the interception instruction for the browser video playback window of browser, or enters one Step ground, obtains the interception scope of the broadcasting video in the interception browser window of user's selection, Wherein, can be according to advance when the broadcasting video is given tacit consent to small broadcast window and played in browser The option set, selection only intercepts the small broadcast window of video playback, or interception is entirely browsed The device page, or intercept a part for the video playback window;When the broadcasting video is being adopted During with played in full screen video, user can select full frame interception to broadcast according to the option pre-set Put video, or the interception part for playing video window.Here, described pre-set Option include but is not limited to following three kinds:1) video playback window is intercepted;2) interception video is broadcast Put the whole browser page where window;3) the interception scope of unrestricted choice browser page. Preferably, the interception scope of unrestricted choice browser page can be selected by mouse frame.Then, exist In step S202, capture device 1 leads to according to the interception instruction and selected interception scope The interception interface that browser interception plug-in unit calls browser is crossed, the browser of video is being played in interception The video flowing drawing process of window.
When dynamic operation of the user user to be intercepted to the browser window, corresponding section is clicked on Take button or interception function is opened by corresponding shortcut, in step s 201, interception Device 1 obtains interception of the user to the dynamic operation process of the browser and instructed, and obtains use The interception scope of family selection, wherein, the interception scope can be whole browser page or use A part for the browser page of family unrestricted choice, such as user are selected by mouse frame wants selection Intercept scope.Wherein, the dynamic operation includes but is not limited to:1) user passes through in browser Text input, reception of the means of communication when being contacted with good friend etc. with it is clear in other side's interactive process Look at the corresponding dynamic change of device;2) browser when user is to the specific operation process of browser page Corresponding dynamic change, for example, user browser page carry out browser setting operating process Or user scans for the operating process of operation, above-mentioned behaviour by search engine in browser page Making process includes mouse movement, and page jump, mouse such as clicks at the dynamic process.Then in step S202 In, capture device 1 is cut according to the interception instruction and selected interception scope by browser Plug-in unit is taken to call the interception interface of browser, interception user grasps to the dynamic of the browser window Make, so as to which the dynamic operation being truncated to is exported.
Those skilled in the art will be understood that the mode of above-mentioned generation window change is only for example, its The mode that his generation window that is existing or being likely to occur from now on changes such as is applicable to this hair It is bright, it should also be included in the scope of the present invention, and be incorporated herein by reference.Ability Field technique personnel should also be understood that above-mentioned dynamic operation is only for example, and other are existing or from now on The dynamic operation being likely to occur such as is applicable to the present invention, should also be included in the scope of the present invention It is interior, and be incorporated herein by reference.
In step S203, capture device 1 exports the window change being truncated to.Specifically Ground, in step S203, capture device 1 according to window step S202 be truncated to it is clear The window change that device window of looking at is generated, by directly sharing, preserving to modes such as precalculated positions, The be truncated to window change of output.For example, when how user A is remotely consulted to clear to user B When device of looking at carries out a certain complicated setting, user B is intended to specific operating process will be set to be intercepted Learnt to be sent to user A after preserving, user B can by click on intercept button or Person by corresponding shortcut open interception function, by its browser window concrete operations Process is intercepted, in step s 201, and capture device 1 obtains user B to browser window Dynamic operation interception instruction, and get the orientation for the browser window to be intercepted, In step S202, capture device 1 is instructed according to the interception, and intercepting plug-in unit by browser adjusts With the interception interface of browser, specific operation process of the user in browser window is intercepted, wherein, The specific operation process includes:The movement of mouse, click on, the page is redirected, and user passes through mouse Mark the selection carried out and operation complete after the page exit, after interception is completed, in step In S203, capture device 1 exports intercepted use by modes such as preservation, transmission or uploads The change procedure of browser window when family B is operated to browser.
Preferably, in step S203, this method also includes:It is defeated to predetermined output format Go out the window change being truncated to.Specifically, a variety of predetermined output formats can be set, used Interception function is opened at family, is truncated to after the change that browser window is generated, a kind of output of selection Form is exported, in step S203, capture device 1 according to user select it is described defeated Go out form and export be truncated to window change.Wherein, the predetermined output format is included below extremely It is any one of few:1) dynamic picture data, for example, in step S202,1 section of capture device The video segment played is taken, video intercepting result is obtained, in step S203, interception dress Put 1 to export the video intercepting result with the form of dynamic picture data, user described will can move State image data is added to expression storehouse, is sent to friend or is stored in the form of a file local; 2) video formatted data, for example, in step S202, user is set clear by capture device 1 The dynamic operation process of device function of looking at has carried out intercept operation, in step S203, capture device 1 Result after interception can be exported with video formatted data, preserve or send for user.
Those skilled in the art will be understood that above-mentioned predetermined output format is only for example, and other are existing Or the predetermined output format that is likely to occur from now on be such as applicable to the present invention, should also be included in Within the scope of the present invention, and it is incorporated herein by reference.
Preferably, in step S203, this method also includes:By the window being truncated to Change is exported to precalculated position.Specifically, in step S202, capture device 1 is truncated to institute State window change after, user need for the window change selection output precalculated position, according to The precalculated position of family selection output, in step S203, capture device 1 is truncated to described The change output of window selects the precalculated position of output to user.Wherein, the precalculated position Including following at least any one:1) system specified location, for example, the system set in advance is specified System specified location of position or acquiescence etc.;2) the currently assigned position of user, for example, interception After the completion of browser window change, the position that user specifies;3) user's history specified location, example Such as, before interception browser window change is completed, the outgoing position that user specifies;4) clip and paste Plate, for example, by the browser window change output of interception to clipbook, user can be by cliping and pasting The content intercepted is pasted corresponding position or will exported to described clear on clipbook by plate Device window of looking at change saves as file.
Those skilled in the art will be understood that above-mentioned output precalculated position is only for example, and other are existing Or the output precalculated position that is likely to occur from now on be such as applicable to the present invention, should also be included in Within the scope of the present invention, and it is incorporated herein by reference.
Here, the interception interface that capture device 1 is provided by browser itself, is not weighed by system Limit limitation, can relatively free to intercept browser window change, further, in browser The interception function of addition interception browser window change in third party's plug-in unit, facilitates user's interception clear Look in device window the video played or the concrete operations for carrying out user on a web browser and The corresponding response of browser is intercepted.Further, capture device 1 is chosen by mouse frame After the scope to be intercepted, start to intercept the change of browser window so that user can freely select The scope of the browser window to be intercepted change is selected, the usage experience of user is improved.Further Ground, capture device 1 can by the interception result according to the predetermined form for setting carry-out bit different, Such as dynamic picture data or video formatted data, can meet user's making in varied situations With demand, for example, sending dynamic picture, dynamic picture is added to expression storehouse or in social network Uploaded videos formatted data etc. on standing.
The method that above-mentioned interception browser window changes is described in detail with an embodiment below:
For example, the video playback window of browser page plays video, user is intended to intercept this The fragment of video is being played, to preserve repetition viewing, or with dynamic picture data Form is added to local expression storehouse or uploads to network expression storehouse, or is transmitted directly to good friend, First, user is cut by clicking on video intercepting button or tapping the startup video pre-set The button of function is taken, opens what developer was added by the interception interface in browser plug-in The interception function of browser window change is intercepted, in step s 201, capture device 1 is obtained The interception instruction for the video that interception is just being played in browser video playback window.In step S202, Capture device 1 is instructed according to the interception, calls the interception for example sent by third party's plug-in unit to connect Mouthful, mouse enters armed state, and user is by point and dragging mouse and being intended to the browser of interception and regard Frequency broadcast window carries out frame choosing, and mouse, in step S202, capture device are unclamped after choosing 1 starts the video flowing drawing process of video played described in interception, and process to be intercepted has been carried out Bi Yihou, double-clicks the end of extent (EOE) interception process of above-mentioned frame choosing.Capture device 1, which is intercepted, to be played The obtained video intercepting result of video segment need to export with the form of dynamic picture data, user It is clipbook or file to also need to selection outgoing position, if user's selection is output to file, in step In rapid S203, capture device 1 is preserved video intercepting result with dynamic picture data file And access mode is provided, check or be transmitted by network for user;If user's selection output To clipbook, in step S203, video intercepting result is output to the machine and cut by capture device 1 In pasting board.If capture device 1 intercepts the video intercepting result need that the video segment played is obtained To be exported with video formatted data, in step S203, capture device 1 is by video intercepting result Preserved with video data format file and access mode is provided, checked for user or by net Network is transmitted.
It should be noted that the present invention can be in the assembly of software and/or software and hardware by reality Apply, for example, the present invention each device can using application specific integrated circuit (ASIC) or it is any its His similar hardware device is realized.In one embodiment, software program of the invention can lead to Computing device is crossed to realize steps described above or function.Similarly, software journey of the invention Sequence (including related data structure) can be stored in computer readable recording medium storing program for performing, example Such as, RAM memory, magnetically or optically driver or floppy disc and similar devices.In addition, this hair Some bright steps or function can employ hardware to realize, for example, as with processor coordinate from And perform the circuit of each step or function.
It is obvious to a person skilled in the art that the invention is not restricted to above-mentioned one exemplary embodiment Details, and without departing from the spirit or essential characteristics of the present invention, can be with it His concrete form realizes the present invention.Therefore, all should be by embodiment no matter from the point of view of which point Regard exemplary as, and be nonrestrictive, the scope of the present invention is by appended claims Rather than described above limit, it is intended that by fall the equivalency of claim implication and In the range of all changes be included in the present invention.Should not be by any accompanying drawing mark in claim Note is considered as the claim involved by limitation.Furthermore, it is to be understood that the word of " comprising " one is not excluded for other lists Member or step, odd number are not excluded for plural number.The multiple units or device stated in system claims It can also be realized by a unit or device by software or hardware.The first, the second grade word Pragmatic represents title, and is not offered as any specific order.

Claims (12)

1. a kind of method for intercepting browser window change, wherein, this method comprises the following steps:
The interception instruction for the browser window of browser is obtained, wherein, the browser is provided Intercept interface;
Instructed according to the interception, call the interception interface, intercepted the browser window and given birth to Into window change;
Export the window change being truncated to.
2. according to the method described in claim 1, wherein, window change based on it is following at least Any one is generated:
By the video flowing of the browser window;
Dynamic operation of the user to the browser window.
3. method according to claim 1 or 2, wherein, the be truncated to institute of the output Stating the step of window changes includes:
With predetermined output format, the window change being truncated to is exported.
4. method according to claim 3, wherein, the predetermined output format includes following Any one of at least:
Dynamic picture data;
Video formatted data.
5. method according to claim 1 or 2, wherein, the be truncated to institute of the output Stating the step of window changes includes:
By the window being truncated to change output to precalculated position.
6. method according to claim 5, wherein, the precalculated position include it is following at least Any one:
System specified location;
The currently assigned position of user;
User's history specified location;
Clipbook.
7. a kind of capture device for intercepting browser window change, wherein, the capture device includes:
Device for obtaining the interception instruction for the browser window of browser, wherein, it is described Browser provides interception interface;
For being instructed according to the interception, the interception interface is called, the browser window is intercepted The device of the window change generated;
Device for exporting the window being truncated to change.
8. capture device according to claim 7, wherein, the window change is based on following At least any one generation:
By the video flowing of the browser window;
Dynamic operation of the user to the browser window.
9. the capture device according to claim 7 or 8, wherein, it is described to be cut for exporting The device for the window change got includes:
For with predetermined output format, exporting the unit for the window change being truncated to.
10. capture device according to claim 9, wherein, the predetermined output format bag Include following at least any one:
Dynamic picture data;
Video formatted data.
11. the capture device according to claim 7 or 8, wherein, it is described to be used to export institute The device for the window change being truncated to includes:
For the window being truncated to be changed into output to the unit in precalculated position.
12. capture device according to claim 11, wherein, the precalculated position include with Under any one of at least:
System specified location;
The currently assigned position of user;
User's history specified location;
Clipbook.
CN201610144225.3A 2016-03-14 2016-03-14 A kind of method and capture device for intercepting browser window change Pending CN107193826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610144225.3A CN107193826A (en) 2016-03-14 2016-03-14 A kind of method and capture device for intercepting browser window change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610144225.3A CN107193826A (en) 2016-03-14 2016-03-14 A kind of method and capture device for intercepting browser window change

Publications (1)

Publication Number Publication Date
CN107193826A true CN107193826A (en) 2017-09-22

Family

ID=59870749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610144225.3A Pending CN107193826A (en) 2016-03-14 2016-03-14 A kind of method and capture device for intercepting browser window change

Country Status (1)

Country Link
CN (1) CN107193826A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256372A (en) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 Information processing method and device and electronic equipment
CN114124487A (en) * 2021-11-10 2022-03-01 恒安嘉新(北京)科技股份公司 Method, device and equipment for realizing webpage access and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521284A (en) * 2011-11-28 2012-06-27 优视科技有限公司 Page screenshot processing method and device based on mobile terminal browser
US20150278180A1 (en) * 2014-04-01 2015-10-01 Project T, LLC System and method for annotating webpages

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521284A (en) * 2011-11-28 2012-06-27 优视科技有限公司 Page screenshot processing method and device based on mobile terminal browser
US20150278180A1 (en) * 2014-04-01 2015-10-01 Project T, LLC System and method for annotating webpages

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
360安全之家: "《百度浏览器怎么截取gif动态图片》", 《360安全之家HTTP://WWW.360ANQUAN.CN/M/VIEW.PHP?AID=1437》 *
佚名: "《百度浏览器怎么截取gif动图》", 《脚本之家HTTPS://WWW.JB51.NET/SOFTJC/377956.HTML》 *
旭日小贝: "《如何使用百度浏览器截取动态图片》", 《百度知道HTTPS://JINGYAN.BAIDU.COM/ARTICLE/FEA4511A15DB47F7BA912553.HTML》 *
暗流小子: "《如何利用百度浏览器截取GIF动态图片》", 《百度知道HTTPS://JINGYAN.BAIDU.COM/ARTICLE/AF9F5A2D0B054843140A452F.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256372A (en) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 Information processing method and device and electronic equipment
CN112256372B (en) * 2020-10-20 2023-12-26 北京字跳网络技术有限公司 Information processing method and device and electronic equipment
CN114124487A (en) * 2021-11-10 2022-03-01 恒安嘉新(北京)科技股份公司 Method, device and equipment for realizing webpage access and storage medium
CN114124487B (en) * 2021-11-10 2023-12-01 恒安嘉新(北京)科技股份公司 Webpage access realization method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP7189152B2 (en) 3D environment authoring and generation
US20100257468A1 (en) Method and system for an enhanced interactive visualization environment
CN111343073B (en) Video processing method and device and terminal equipment
US20070124699A1 (en) Three-dimensional active file explorer
CN105898520A (en) Video frame interception method and device
KR20110113633A (en) Interfacing with a spatial virtual cmmunication environment
CN107831974A (en) information sharing method, device and storage medium
CN102222062A (en) User space page personalized setting method and device for instant messaging system
Ghiani et al. On-demand cross-device interface components migration
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
CN112162687B (en) Picture generation method and device, storage medium and electronic equipment
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
CN106470110A (en) Method and device to the multiple user's pocket transmission news in user list
CN105122244A (en) A multi-panel view interface for a browser operating on a computing device
CN113179205A (en) Image sharing method and device and electronic equipment
CN107193826A (en) A kind of method and capture device for intercepting browser window change
CN103019546B (en) A kind of slideshow method, system and apparatus for demonstrating
Kukimoto et al. HyperInfo: interactive large display for informal visual communication
CN112269509B (en) Information processing method and device and electronic equipment
CN109669604A (en) Desktop wallpaper display methods, device, mobile terminal and storage medium
CN106066874B (en) Object processing method and terminal
CN111708533B (en) Method and device for setting mouse display state in application thin client
CN113852540B (en) Information transmission method, information transmission device and electronic equipment
CN114866835A (en) Bullet screen display method, bullet screen display device and electronic equipment
CN106775183A (en) The method and apparatus scanned under the screen lock state of mobile device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922