CN105808250A - Method and apparatus for starting extended application of browser, and browser - Google Patents

Method and apparatus for starting extended application of browser, and browser Download PDF

Info

Publication number
CN105808250A
CN105808250A CN201610121295.7A CN201610121295A CN105808250A CN 105808250 A CN105808250 A CN 105808250A CN 201610121295 A CN201610121295 A CN 201610121295A CN 105808250 A CN105808250 A CN 105808250A
Authority
CN
China
Prior art keywords
extension
mouse
mouse gestures
gestures
browser
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
CN201610121295.7A
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 Qihoo Technology Co Ltd
Qizhi Software Beijing 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 CN201610121295.7A priority Critical patent/CN105808250A/en
Publication of CN105808250A publication Critical patent/CN105808250A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Abstract

The present invention provides a method and an apparatus for starting an extended application of a browser, and a browser, so as to solve the problem that the existing starting manner is inconvenient for operation, is slow in starting speed and affects a browsing speed. The method comprises the steps that a mouse gesture extension monitors a mouse operation and records mouse motion track information; the mouse gesture extension identifies a mouse gesture operation according to the mouse motion track information; the mouse gesture extension sends a mouse gesture operation instruction to an associated extension; and the associated extension starts a corresponding extension according to the mouse gesture operation instruction. According to the method and apparatus, and the browser, which are provided by the present invention, extensions are started no longer by clicking extension icons, but starting of other extensions are simply and rapidly completed by means of mouse gestures, so that operation costs of users are reduced, and thus the browsing speed is improved.

Description

A kind of start the method for browser expanded application, device and a kind of browser
Technical field
The application relates to browser technology, particularly relates to a kind of start the method for browser expanded application, device and a kind of browser comprising described device.
Background technology
Chrome browser (other browsers of GoogleChrome browser and support Chrome extension all can be described as Chrome browser) is the web browser of an open source code, this browser is based on other open-source software and is write, target is an up stability, speed and safety, and creates simple and efficient user interface.
Expanded function supported by Chrome browser, and its extender is to be conveniently added to bells and whistles in Chrome browser and function.Extender can allow the various functions of User Defined Chrome browser, can simplify browser simultaneously, remove wherein unwanted function.One extension is exactly an application, it is simply that the one group of file being compressed together, and including HTML, CSS, Javascript script, picture file, also has the file of other any needs.Extension (application) is exactly basically web page, and they can use the API (ApplicationProgrammingInterface, application programming interface) that all of browser provides.Extension (application) can be mutual with Web page, or by contentscript or cross-originXMLHttpRequests and server interaction.The built-in function that all right access browser of extension (application) provides, for instance label or bookmark etc..
Chrome browser extends at UI (UserInterface, user interface) aspect two kinds of call methods of offer, one is to increase extension icon (BrowserActions) on the right side of browser toolbar, another kind is to increase extension icon (PageActions) in address field, and user triggers the respective behavior of extension by clicking these icons.
The invoked procedure of an extension is illustrated below by BrowserActions ways of presentation.
With reference to Fig. 1, for a simple extension using BrowserActions ways of presentation, have only to add a popup (ejecting bubble portion under extension icon) to extension, when extending icon and being clicked, popup meeting automatic spring (extends Mechanism by Chrome to realize), and in Fig. 1, popup is shown as red, blue, green, yellow.
In addition, BrowserActions provides chrome.browserAction.onClicked.addListe-ner (function (Tabtab) { ... })) monitor event, BrowserActions expander graphs target click event can be monitored by extension at BackgroundPages (background process), and when extending icon and being clicked, this event is triggered.More complex extension (not only having popup) generally makes in this way, triggers the startup of extension after listening to click event, and call flow is as shown in Figure 2.
The expanding start-up mode of PageActions is similar, repeats no more.
From the foregoing, it will be observed that two kinds of extensions ways of presentation (BrowserActions and PageActions) that Chrome browser acquiescence provides, provide the user more operating function more freely, but all required over click extension icon and can start extension.When user is when browsing webpage, mouse generally stays in certain position of the page, if needing to start certain extension to be accomplished by mouse to move to toolbar or address field, then clicking extension icon, could start extension.And, in navigation process, the attention of user has focused largely on the web page contents browsed, and also can shift the attention of user when mobile mouse looks for icon, interrupt navigation process.Therefore, the whole process starting extension is equivalent to carry out once-through operation conversion, operationally convenient not, starts relatively slow, but also can affect surfing.
Summary of the invention
This application provides and a kind of start the method for browser expanded application, device and a kind of browser, to solve existing Starting mode inconvenient operation, to start slow, to affect surfing problem.
In order to solve the problems referred to above, this application discloses a kind of method starting browser expanded application, including:
Mouse action is monitored by mouse gestures extension, and records mouse motion track information;
Mouse gestures extension carries out the identification of mouse gestures operation according to mouse motion track information;
Mouse gestures operational order is sent to certain extension associated by mouse gestures extension;
Described certain extension associated is according to mouse gestures operation start instruction respective extension.
Preferably, described certain extension associated is according to before mouse gestures operation start instruction respective extension, also include: the mouse gestures extension sending instruction is carried out authentication by described certain extension associated, after being verified, then according to mouse gestures operation start instruction respective extension.
Preferably, described authentication includes: described certain extension associated extracts mouse gestures extension mark from mouse gestures operational order;Mouse gestures extension described in described certain extensible authentication associated identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
Preferably, described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
Preferably, mouse action is monitored by the extension of described mouse gestures, including: described mouse gestures extends through injection script in the page and mouse action is monitored.
Preferably, the extension of described mouse gestures carries out the identification of mouse gestures operation according to mouse motion track information, including: the extension of described mouse gestures is according to the moving direction in mouse motion track information and displacement, mate with pre-configured mouse gestures operation, identify successfully when matching;Otherwise, recognition failures.
Preferably, described method also includes: create the expanded application of browser, and described expanded application includes mouse gestures extension and extends, with mouse gestures, the one or more extensions associated;Described mouse gestures extends and extends between the extension associated with mouse gestures, and the interface provided by browser communicates the monitoring with communication information.
Preferably, described method also includes: mouse gestures extension be associated with one or more extensions by hard coded or service end dynamic socket mode.
Present invention also provides a kind of device starting browser expanded application, including:
Mouse action monitor unit, monitors mouse action for mouse gestures extension, and records mouse motion track information;
Mouse gestures recognition unit, carries out the identification of mouse gestures operation for mouse gestures extension according to mouse motion track information;
Communication unit between extension, is sent to certain extension associated for mouse gestures extension by mouse gestures operational order;
Expanding start-up unit, for certain association described extension according to mouse gestures operation start instruction respective extension.
Preferably, described device also includes: identity authenticating unit, for certain association described extension, the mouse gestures extension sending instruction is carried out authentication, after being verified, then triggers described expanding start-up unit.
Preferably, described identity authenticating unit includes:
Marker extraction subelement, extracts mouse gestures extension mark for certain association described extension from mouse gestures operational order;
Checking subelement, mouse gestures extension described in described certain association extensible authentication identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
Preferably, described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
Preferably, mouse action is monitored to injection script in the page by described mouse action monitor unit by mouse gestures extension.
Preferably, described mouse gestures recognition unit according to the moving direction in mouse motion track information and displacement by mouse gestures extension, is mated with pre-configured mouse gestures operation, identifies successfully when matching;Otherwise, recognition failures.
Preferably, described device also includes: extension creating unit, and for creating the expanded application of browser, described expanded application includes mouse gestures extension and extends, with mouse gestures, the one or more extensions associated;Described mouse gestures extends and extends between the extension associated with mouse gestures, and the interface provided by browser communicates the monitoring with communication information.
Preferably, described device also includes: extension associative cell, for mouse gestures extension being associated with one or more extensions by hard coded or service end dynamic socket mode.
Present invention also provides a kind of browser, including: the device starting browser expanded application as above.
Compared with prior art, the application includes advantages below:
First, the application is again through clicking extension icon startup extension, but passes through the startup that mouse gestures is succinct, quickly complete other extensions, reduces user operation cost and then raising surfing.
Secondly, the application realizes mouse gestures to start the purpose of extension, utilize Chrome browser extension mechanism to create mouse gestures extension and other extensions, and utilize the information communication mechanism between the extension that Chrome browser provides, make any two all can intercom mutually between extending.Based on this, being carried out tracking and the identification of mouse gestures by mouse gestures extension, and send mouse gestures operational order by mouse gestures extension to other extensions, respective extension starts expanded application according to instruction.This implementation takes full advantage of the characteristic that Chrome browser is Open Framework, it is possible to quickly start Chrome extension by self-defined mouse gestures, it is no longer necessary to mouse moves far distance and clicks the operations such as extension icon.
Again, first the mouse gestures extension sending instruction is carried out authentication by the browser extension receiving mouse gestures operational order, just starts respective extension, thus preventing from maliciously being called after being verified.
Certainly, the arbitrary product implementing the application is not necessarily required to reach all the above advantage simultaneously.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of BrowserActions ways of presentation in prior art;
Fig. 2 is BrowserActions call flow chart in prior art;
Fig. 3 is a kind of method flow diagram starting browser expanded application described in the embodiment of the present application;
Fig. 4 is the flow chart being started the extension of Chrome browser described in the embodiment of the present application by mouse gestures;
Fig. 5 is a kind of structure drawing of device starting browser expanded application described in the embodiment of the present application;
Fig. 6 is a kind of structure drawing of device starting browser expanded application described in another embodiment of the application.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
The application proposes a kind of method starting browser expanded application by mouse gestures, not again through clicking extension icon startup extension.
Mouse gestures, briefly, it is simply that make some actions with mouse and complete some operation with control software design.Obtain comparing currently mainly in a browser and be widely applied, be usually and pin right mouse button, and mark certain specific track in the blank space of webpage, the conventional operation such as the advance that then can realize customizing in advance, retrogressing, refreshing, closedown window.
Start the purpose of extension for realizing mouse gestures, utilize the mechanism that browser support extend to create mouse gestures extension and other extensions, and utilize the information communication mechanism between the extension that browser provides, make any two all can intercom mutually between extending.Based on this, being carried out tracking and the identification of mouse gestures by mouse gestures extension, and send mouse gestures operational order by mouse gestures extension to other extensions, respective extension starts expanded application according to instruction.
By the examples below the flow process that realizes of herein described method is described in detail.
With reference to Fig. 3, it it is a kind of method flow diagram starting browser expanded application described in the embodiment of the present application.
Step 301, mouse action is monitored by mouse gestures extension, and records mouse motion track information;
The extension of described mouse gestures is based on a kind of application that browser expanded function creates, can by following the tracks of mouse action to the mode of injection script in the page.When opening the page, mouse gestures extension will inject JS script in the page, and come into force, and start mouse action is monitored.In the process monitored, mouse gestures extension also recordable lower mouse motion track information, such as information such as mouse state states such as (press) lifting, mouse positions.
Certainly, except above-mentioned to the mode of injection script in the page, the extension of described mouse gestures can also monitor mouse action by other means, and the present embodiment does not do any restriction at this.
Step 302, mouse gestures extension carries out the identification of mouse gestures operation according to mouse motion track information;
The preset a collection of discernible gesture of mouse gestures expanding internal, by collecting mouse motion track continuously, uses certain method to complete the identification of mouse gestures.
The identification of mouse gestures has multiple method, and the extension of mouse gestures described in the present embodiment can adopt any recognition methods of the prior art, and this is not done any restriction by the application.Such as a kind of recognition methods is: according to the moving direction in mouse motion track information and displacement, mates with pre-configured mouse gestures operation, identifies successfully when matching;Otherwise, recognition failures.
Concrete, when right mouse button is pressed, start mouse shift position is recorded, until user decontrols right mouse button.In the process of record, often cross certain time interval and take a mouse position, and calculate, according to a series of mouse positions, the direction that mouse moves, be labeled as U (on), R (right side), D (under), L (left side).Then, by mouse moving direction and displacement, it is finally completed and the mating of preset gesture.Such as, the distance that moves up represents page turning more than 1 centimetre, etc..
When after the identification success of mouse gestures, continue step 303;If recognition failures, then process ends.
Step 303, mouse gestures operational order is sent to certain extension associated by mouse gestures extension;
Described " certain extension " is also based on a kind of application that browser expanded function creates, and can create the extension of multiple browser, the corresponding a kind of mouse gestures operation behavior of each browser extension.The extension of these browsers pre-builds many-to-one incidence relation with the extension of described mouse gestures, and namely a mouse gestures extension can be set up with the extension of multiple browsers and be associated.After mouse gestures extension identifies mouse gestures operation, corresponding mouse gestures operational order is sent to certain browser extension that can perform this operation.Such as, if mouse gestures extension identifies current mouse gestures and represents page turn over operation, then page turn over operation instruction is issued the browser extension that can perform page turn over operation;If being identified as refresh operation, then refresh operation instruction is issued the browser extension that can perform refresh operation.
It should be noted that above-mentioned certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.In other words, first, mouse gestures extension and other extensions associated with it are all the extensions of official register, namely through the examination & verification of browser expansion platform;Secondly, the extension associated with mouse gestures extension is all some trustworthy extensions, and these extensions are all the believable extensions listed in white list, therefore just can set up trusting relationship binding with mouse gestures extension.
Step 304, described certain extension associated is according to mouse gestures operation start instruction respective extension.
Browser extends after receiving mouse gestures operational order, starts extension, performs the respective code in extension.
It should be noted that, above-mentioned flow process and maximum being distinctive in that of other mouse gestures operation: the above-mentioned operation behavior performed according to mouse gestures is extended operation, rather than browser operation, namely these operation behaviors are that the code by expanding internal performs, and are not the operations of browser itself.Therefore, in actual applications, can customize the extension of various browser the mouse gestures that self-defined every kind of extension is corresponding.
In sum, said method can pass through the startup that mouse gestures is succinct, quickly complete other extensions, reduces user operation cost, and then improves surfing.
In order to make those skilled in the art more understand the application, illustrate how to start browser extension by mouse gestures for Chrome browser below.
Chrome browser refers to GoogleChrome browser and supports other browsers of Chrome extension.Chrome browser support extends, and provides operational multiple common interface for developer, including changing browser outward appearance API and the mutual API of browser, expanding internal realize the API etc. that uses.Developer utilizes these common interfaces, it may be achieved various expanded application.
In the present embodiment, in order to prevent the extension of each browser from maliciously being called, also add the step that mouse gestures extension is carried out authentication.Therefore, the present embodiment need to realize following 2 points:
1) identification of mouse gestures: utilize Chrome extension mechanism, JS script can be injected in the page currently browsed, mouse action (key-press status and motion track) is monitored, identifies predefined mouse gestures by certain algorithm (of the prior art any).
2) caller (mouse gestures extension) identification: Chrome browser provides the information communication mechanism between extension, and any two extension all can send message mutually.Mouse gestures extends to be needed to carry out trusting relationship binding (namely set up and associate) by extension uniquely mark (can not distort) in advance with being activated to extend, identify the operating right (agreement spreading between originator) mutually given between message sender iden-tity (mouse gestures extension) and extension when the extension receiving message after, perform respective code, thus reaching to start the purpose of extension.
Based on above 2 points, the relevant interface that the Chrome browser that the present embodiment relates to provides is as follows:
1) chrome.extension.sendRequest (stringextensionId, anyrequest, functionresponseCallback): the method is for communication between extension, and call back function when can set sign off;
2) chrome.extension.onRequestExternal.addListener (function (anyrequest, MessageSendersender, functionsendResponse) { ... })): the method is for monitoring the message of the transmission that communicates between extension;
3) chrome.tabs.sendRequest (integertabId, anyrequest, functionresponseCallback): the method, for sending message from backgroundpages (background program of extension) to contentscripts (being injected into the script the page), can perform call back function;
4) chrome.extension.onRequest.addListener (function (anyrequest, MessageSendersender, functionsendResponse) { ... })): the method is for monitoring the message of backgroundspages and contentscripts communication transmission.
For describing simplicity, aforementioned four interface is briefly referred to as first interface, the second interface, the 3rd interface and the 4th interface.
The relevant interface provided based on above-mentioned Chrome browser and extension mechanism, before being extended starting, also need to carry out following process:
First, create the expanded application of browser, described expanded application includes mouse gestures extension and extends, with mouse gestures, the one or more extensions associated;
Wherein, all by above-mentioned first interface communication between any two Chrome extension, and each Chrome extension is monitored other by the second above-mentioned interface and is extended the message sent.Such as, described mouse gestures extends and extends between the extension associated with mouse gestures, and the interface (first interface and the second interface) provided by browser communicates the monitoring with communication information.
Additionally, each Chrome extension comprises backgroundpages part (running on browser back partition, be equivalent to the background process in operating system) and contentscripts (being injected into the script of current browse webpage).Above-mentioned 3rd interface, for communication between backgroundpages and contentscripts, is the communication of certain expanding internal, for instance the contentscripts that the backgroundpages of mouse gestures extension extends to mouse gestures sends message.Above-mentioned 4th interface is the interface for monitoring the message that interface three sends, for instance calls this interface in the contentscripts of mouse gestures extension and can monitor the message sent of the backgroundpages from mouse gestures extension.
Second, by hard coded or service end dynamic socket mode, mouse gestures extension is associated with one or more extensions.
Namely described association binds, namely sets up trusting relationship.The mode of association has two kinds, and the mode of above-mentioned hard coded refers in the code that this incidence relation writes on extension when creating mouse gestures extension and other extensions.The mode of this hard coded is unfavorable for the amendment of incidence relation, and the mode of service end dynamic socket therefore can also be adopted to be associated.
Service end dynamic socket mode refers to: service end pre-set list, and have recorded mouse gestures extension in this list can be associated with which extension, and client completes association by downloading this list.Certainly, service end this list renewable, therefore this is a kind of dynamic interrelational form.
So far, after creating extension and setting up the association between extension, can according to Fig. 4 startup being extended.
With reference to Fig. 4, it it is the flow chart being started the extension of Chrome browser described in the embodiment of the present application by mouse gestures.
Assume: created mouse gestures extension and certain extension, and mouse gestures extension addition is trusted binding relationship by this extension.
Step 401, when opening the page, when the page loads, mouse gestures extension will inject JS script in the page, and come into force, and start mouse action is monitored;
Step 402, the preset a collection of recognizable gesture of mouse gestures expanding internal, by collecting mouse motion track continuously, and utilize described mouse motion track to complete the identification of mouse gestures;
Step 403, each gesture has corresponding operating behavior, sends instruction to the extension of built vertical trusting relationship after identifying gesture;
If recognition result is without this gesture, then process ends;
Step 404, extension carries out authentication after receiving instruction;
In Chrome browser, can unconditionally setting up communication between mounted extension, generally, extension, when receiving communication information, does not then have any response as do not processed code accordingly.In the present embodiment, the expanding internal started by mouse gestures is needed to process the instruction that mouse gestures extension sends, so when an extension receives the message that some extension sends over time, first have to carry out authentication, specify whether this message is that the extension trusted sends, thus preventing from maliciously being called.
Concrete, mouse gestures is expanded with oneself unique ID, and each extension associated with gesture also has oneself unique ID, described unique ID for the extension identification in communicating.Described authentication process itself is: first, and extension extracts mouse gestures Extended ID from instruction, then, whether mouse gestures Extended ID described in extensible authentication is the mouse gestures Extended ID associated in advance with oneself, if it is, be verified, if it is not, then checking is not passed through, do not do any response.
Step 405, after called extension complete call person's identification, can process logic according to expanding internal and perform respective code.
Implementation above mode takes full advantage of the characteristic that Chrome browser is Open Framework, it is possible to quickly start Chrome extension by self-defined mouse gestures, it is no longer necessary to mouse moves far distance and clicks the operations such as extension icon.
Above-described embodiment is to illustrate for Chrome browser, but can also be applied in concrete application in the browser of other similar support extensions, and it is similar to the aforementioned embodiment that it implements principle, therefore repeats no more.
It should be noted that, for aforesaid embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the application.
Based on the explanation of said method embodiment, present invention also provides the corresponding device embodiment starting browser expanded application, realize the content described in said method embodiment.
With reference to Fig. 5, it it is a kind of structure drawing of device starting browser expanded application described in the embodiment of the present application.
The device of described startup browser expanded application can include communication unit 30 and expanding start-up unit 40 between mouse action monitor unit 10, mouse gestures recognition unit 20, extension, wherein:
Mouse action monitor unit 10, monitors mouse action for mouse gestures extension, and records mouse motion track information;
Mouse gestures recognition unit 20, carries out the identification of mouse gestures operation for mouse gestures extension according to mouse motion track information;
Communication unit 30 between extension, are sent to certain extension associated for mouse gestures extension by mouse gestures operational order;
Expanding start-up unit 40, for certain association described extension according to mouse gestures operation start instruction respective extension.
Wherein, described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
Optionally, mouse action can be monitored to injection script in the page by described mouse action monitor unit 10 by mouse gestures extension.
Optionally, described mouse gestures recognition unit 20 can pass through mouse gestures extension according to the moving direction in mouse motion track information and displacement, mates with pre-configured mouse gestures operation, identifies successfully when matching;Otherwise, recognition failures.
Described device is again through clicking extension icon startup extension, but passes through the startup that mouse gestures is succinct, quickly complete other extensions, reduces user operation cost and then raising surfing.
Additionally, with reference to Fig. 6, in another device embodiment of the application, the device of described startup browser expanded application can also include:
Identity authenticating unit 50, carries out authentication for certain association described extension to the mouse gestures extension sending instruction, after being verified, then triggers described expanding start-up unit.
Preferably, described identity authenticating unit 50 specifically may include that
Marker extraction subelement, extracts mouse gestures extension mark for certain association described extension from mouse gestures operational order;
Checking subelement, mouse gestures extension described in described certain association extensible authentication identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
Optionally, the device of described startup browser expanded application can also include:
Extension creating unit 60, for creating the expanded application of browser, described expanded application includes mouse gestures extension and extends, with mouse gestures, the one or more extensions associated;Described mouse gestures extends and extends between the extension associated with mouse gestures, and the interface provided by browser communicates the monitoring with communication information.
Optionally, the device of described startup browser expanded application can also include:
Extension associative cell 70, for being associated mouse gestures extension with one or more extensions by hard coded or service end dynamic socket mode.
For the device embodiment starting browser expanded application shown in above-mentioned Fig. 5 and Fig. 6, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Based on the device of above-mentioned startup browser expanded application, present invention also provides the embodiment of a kind of browser.Described browser support extends, and comprises the device starting browser expanded application described in above-mentioned Fig. 5 and Fig. 6 any embodiment.Apply this browser, mouse gestures can be passed through and start extension, perform various self-defining operation behavior.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
A kind of the method for browser expanded application, device and a kind of browser is started above to provided herein, it is described in detail, principle and the embodiment of the application are set forth by specific case used herein, and the explanation of above example is only intended to help and understands the present processes and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this specification content should not be construed as the restriction to the application.
The embodiment of the invention also discloses A1, a kind of method starting browser expanded application, it is characterised in that including:
Mouse action is monitored by mouse gestures extension, and records mouse motion track information;
Mouse gestures extension carries out the identification of mouse gestures operation according to mouse motion track information;
Mouse gestures operational order is sent to certain extension associated by mouse gestures extension;
Described certain extension associated is according to mouse gestures operation start instruction respective extension.
A2, method according to A1, it is characterised in that described certain extension associated is according to, before mouse gestures operation start instruction respective extension, also including:
The mouse gestures extension sending instruction is carried out authentication by described certain extension associated, after being verified, then according to mouse gestures operation start instruction respective extension.
A3, method according to A2, it is characterised in that described authentication includes:
Described certain extension associated extracts mouse gestures extension mark from mouse gestures operational order;
Mouse gestures extension described in described certain extensible authentication associated identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
A4, method according to A1, it is characterised in that:
Described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
A5, according to the arbitrary described method of A1 to A4, it is characterised in that mouse action is monitored by the extension of described mouse gestures, including:
Described mouse gestures extends through injection script in the page and mouse action is monitored.
A6, according to the arbitrary described method of A1 to A4, it is characterised in that the extension of described mouse gestures carries out the identification of mouse gestures operation according to mouse motion track information, including:
The extension of described mouse gestures, according to the moving direction in mouse motion track information and displacement, is mated with pre-configured mouse gestures operation, is identified successfully when matching;Otherwise, recognition failures.
A7, according to the arbitrary described method of A1 to A4, it is characterised in that also include:
Creating the expanded application of browser, described expanded application includes mouse gestures extension and extends, with mouse gestures, the one or more extensions associated;
Described mouse gestures extends and extends between the extension associated with mouse gestures, and the interface provided by browser communicates the monitoring with communication information.
A8, according to the arbitrary described method of A1 to A4, it is characterised in that also include:
By hard coded or service end dynamic socket mode, mouse gestures extension is associated with one or more extensions.
B9, a kind of device starting browser expanded application, it is characterised in that including:
Mouse action monitor unit, monitors mouse action for mouse gestures extension, and records mouse motion track information;
Mouse gestures recognition unit, carries out the identification of mouse gestures operation for mouse gestures extension according to mouse motion track information;
Communication unit between extension, is sent to certain extension associated for mouse gestures extension by mouse gestures operational order;
Expanding start-up unit, for certain association described extension according to mouse gestures operation start instruction respective extension.
B10, device according to B9, it is characterised in that also include:
Identity authenticating unit, carries out authentication for certain association described extension to the mouse gestures extension sending instruction, after being verified, then triggers described expanding start-up unit.
B11, device according to B10, it is characterised in that described identity authenticating unit includes:
Marker extraction subelement, extracts mouse gestures extension mark for certain association described extension from mouse gestures operational order;
Checking subelement, mouse gestures extension described in described certain association extensible authentication identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
B12, according to the arbitrary described device of B9 to B11, it is characterised in that:
Described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
B13, according to the arbitrary described device of B9 to B11, it is characterised in that:
Mouse action is monitored to injection script in the page by described mouse action monitor unit by mouse gestures extension.
B14, according to the arbitrary described device of B9 to B11, it is characterised in that:
Described mouse gestures recognition unit according to the moving direction in mouse motion track information and displacement by mouse gestures extension, is mated with pre-configured mouse gestures operation, identifies successfully when matching;Otherwise, recognition failures.
B15, according to the arbitrary described device of B9 to B11, it is characterised in that also include:
Extension creating unit, for creating the expanded application of browser, described expanded application includes mouse gestures extension and extends, with mouse gestures, the one or more extensions associated;Described mouse gestures extends and extends between the extension associated with mouse gestures, and the interface provided by browser communicates the monitoring with communication information.
B16, according to the arbitrary described device of B9 to B11, it is characterised in that also include:
Extension associative cell, for being associated mouse gestures extension with one or more extensions by hard coded or service end dynamic socket mode.
C17, a kind of browser, it is characterised in that including: the device starting browser expanded application as described in above-mentioned B9 to B16 any claim.

Claims (10)

1. the method starting browser expanded application, it is characterised in that including:
Mouse action is monitored by mouse gestures extension, and records mouse motion track information;
Mouse gestures extension carries out the identification of mouse gestures operation according to mouse motion track information;
Mouse gestures operational order is sent to certain extension associated by mouse gestures extension;
Described certain extension associated is according to mouse gestures operation start instruction respective extension.
2. method according to claim 1, it is characterised in that described certain extension associated is according to, before mouse gestures operation start instruction respective extension, also including:
The mouse gestures extension sending instruction is carried out authentication by described certain extension associated, after being verified, then according to mouse gestures operation start instruction respective extension.
3. method according to claim 2, it is characterised in that described authentication includes:
Described certain extension associated extracts mouse gestures extension mark from mouse gestures operational order;
Mouse gestures extension described in described certain extensible authentication associated identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
4. method according to claim 1, it is characterised in that:
Described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that mouse action is monitored by the extension of described mouse gestures, including:
Described mouse gestures extends through injection script in the page and mouse action is monitored.
6. the device starting browser expanded application, it is characterised in that including:
Mouse action monitor unit, monitors mouse action for mouse gestures extension, and records mouse motion track information;
Mouse gestures recognition unit, carries out the identification of mouse gestures operation for mouse gestures extension according to mouse motion track information;
Communication unit between extension, is sent to certain extension associated for mouse gestures extension by mouse gestures operational order;
Expanding start-up unit, for certain association described extension according to mouse gestures operation start instruction respective extension.
7. device according to claim 6, it is characterised in that also include:
Identity authenticating unit, carries out authentication for certain association described extension to the mouse gestures extension sending instruction, after being verified, then triggers described expanding start-up unit.
8. device according to claim 7, it is characterised in that described identity authenticating unit includes:
Marker extraction subelement, extracts mouse gestures extension mark for certain association described extension from mouse gestures operational order;
Checking subelement, mouse gestures extension described in described certain association extensible authentication identifies whether the mouse gestures extension mark for associating in advance with oneself, if it is, be verified, if it is not, then checking is not passed through.
9. according to the arbitrary described device of claim 6 to 8, it is characterised in that:
Described certain expanding packet associated is containing registered and establish the extension of safe trusting relationship with mouse gestures extension.
10. a browser, it is characterised in that including: the device starting browser expanded application as described in the claims 6 to 9 any claim.
CN201610121295.7A 2011-09-28 2011-09-28 Method and apparatus for starting extended application of browser, and browser Pending CN105808250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610121295.7A CN105808250A (en) 2011-09-28 2011-09-28 Method and apparatus for starting extended application of browser, and browser

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110299977.4A CN102508650B (en) 2011-09-28 2011-09-28 A kind of method, device and a kind of browser starting browser extension and apply
CN201610121295.7A CN105808250A (en) 2011-09-28 2011-09-28 Method and apparatus for starting extended application of browser, and browser

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201110299977.4A Division CN102508650B (en) 2011-09-28 2011-09-28 A kind of method, device and a kind of browser starting browser extension and apply

Publications (1)

Publication Number Publication Date
CN105808250A true CN105808250A (en) 2016-07-27

Family

ID=46220743

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610121295.7A Pending CN105808250A (en) 2011-09-28 2011-09-28 Method and apparatus for starting extended application of browser, and browser
CN201110299977.4A Active CN102508650B (en) 2011-09-28 2011-09-28 A kind of method, device and a kind of browser starting browser extension and apply

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201110299977.4A Active CN102508650B (en) 2011-09-28 2011-09-28 A kind of method, device and a kind of browser starting browser extension and apply

Country Status (1)

Country Link
CN (2) CN105808250A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325739A (en) * 2016-08-01 2017-01-11 孟海同 Method for opening link through dot matrix expression and input track in software

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577495B (en) * 2012-08-09 2019-02-26 腾讯科技(深圳)有限公司 The gesture operation method and device of browser
CN103942207B (en) * 2013-01-18 2017-06-27 联想(北京)有限公司 Information processing method, device and electronic equipment
CN103729127A (en) * 2013-12-24 2014-04-16 广西大学 Method for controlling browser by mouse moving trajectory
CN107450946B (en) * 2017-07-24 2020-08-14 平安科技(深圳)有限公司 Chrome webpage and terminal software communication method, equipment and storage medium
CN109918157B (en) * 2019-01-08 2022-05-10 北京航天飞行控制中心 Operation processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512208A (en) * 1991-07-01 1993-01-22 Pfu Ltd Command input system
CN1790262A (en) * 2005-12-20 2006-06-21 无锡永中科技有限公司 Method for controlling computer software running based on mouse track data
CN101430712A (en) * 2008-12-12 2009-05-13 魏新成 Method for searching and displaying super links correlated to present web pages
CN101533409A (en) * 2009-04-23 2009-09-16 北京时代沃华传媒科技发展有限公司 Network browser system and control method
CN101763219A (en) * 2010-02-03 2010-06-30 北京优视动景网络科技有限公司 User interface method and device for operating web browser by using touch liquid crystal display (LCD)
CN102043560A (en) * 2009-10-20 2011-05-04 腾讯科技(深圳)有限公司 Method and device for realizing electronic document page turning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512208A (en) * 1991-07-01 1993-01-22 Pfu Ltd Command input system
CN1790262A (en) * 2005-12-20 2006-06-21 无锡永中科技有限公司 Method for controlling computer software running based on mouse track data
CN101430712A (en) * 2008-12-12 2009-05-13 魏新成 Method for searching and displaying super links correlated to present web pages
CN101533409A (en) * 2009-04-23 2009-09-16 北京时代沃华传媒科技发展有限公司 Network browser system and control method
CN102043560A (en) * 2009-10-20 2011-05-04 腾讯科技(深圳)有限公司 Method and device for realizing electronic document page turning
CN101763219A (en) * 2010-02-03 2010-06-30 北京优视动景网络科技有限公司 User interface method and device for operating web browser by using touch liquid crystal display (LCD)

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
万钢、罗保山编著: "《新编Dreamweaver CS3动态网页设计与制作教程》", 31 May 2010 *
葛守芬主编: "《电子商务教程》", 28 February 2006 *
钟山林,吴文利,邹少军: "例13-例15", 《新手学上网实战技巧1000例》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325739A (en) * 2016-08-01 2017-01-11 孟海同 Method for opening link through dot matrix expression and input track in software

Also Published As

Publication number Publication date
CN102508650A (en) 2012-06-20
CN102508650B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN110020292B (en) Webpage content extraction method and terminal equipment
CN106844067B (en) A kind of processing method and mobile terminal of content
CN105808250A (en) Method and apparatus for starting extended application of browser, and browser
US9116608B2 (en) Activation of dormant features in native applications
WO2017118329A1 (en) Method and apparatus for controlling tab bar
TWI604368B (en) Data processing method and device
CN103226430B (en) The method and device that a kind of icon shows
CN105205072B (en) The methods of exhibiting and system of webpage information
JP2015527771A (en) Method, apparatus, program and recording medium for displaying push message
CN108595919B (en) Software activation method, device, system and storage medium
CN103970760B (en) A kind of web-page requests processing method and processing device
US20110238498A1 (en) Service stage for subscription management
CN106412858B (en) A kind of method and terminal for robbing red packet
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN105700869B (en) Control method, information processing method, related device and electronic equipment
CN104049806A (en) Touch terminal and control method and system of touch terminal
CN104331238A (en) Method for triggering applications with a smart device
CN105992066B (en) A kind of characters input method and character entry apparatus applied to smart machine
US20120050336A1 (en) Touch-based remote control
CN105808042B (en) A kind of information processing method and electronic equipment
CN106293478A (en) Application starts method and device
CN110515519A (en) Show method, equipment and the computer storage medium of reading content
CN109684571A (en) A kind of collecting method and device, storage medium
CN104331661A (en) Method and system for switching encryption state of terminal
CN104216646A (en) Method and device for creating application program based on gesture

Legal Events

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

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication