CN102981877B - Picture toolbar loading method and device - Google Patents

Picture toolbar loading method and device Download PDF

Info

Publication number
CN102981877B
CN102981877B CN201210497335.XA CN201210497335A CN102981877B CN 102981877 B CN102981877 B CN 102981877B CN 201210497335 A CN201210497335 A CN 201210497335A CN 102981877 B CN102981877 B CN 102981877B
Authority
CN
China
Prior art keywords
picture element
event
sub
web page
described picture
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.)
Active
Application number
CN201210497335.XA
Other languages
Chinese (zh)
Other versions
CN102981877A (en
Inventor
谢志宏
李林
莫宇龙
任寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210497335.XA priority Critical patent/CN102981877B/en
Publication of CN102981877A publication Critical patent/CN102981877A/en
Application granted granted Critical
Publication of CN102981877B publication Critical patent/CN102981877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of picture toolbar loading method and device, wherein said device comprises generation and acquisition module; Monitoring and sending module; Create and display module; Wherein, generate and also it is configured to acquisition module: in the sub-process of webpage, open web page tag, obtain the attribute information of picture element described in webpage simultaneously; And when monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process. The present invention proposes a kind of scheme processed by Web page picture element based on browser side, browser host process establishes to the mechanism that the picture element in one or more web page tag processes, improve the efficiency in the process of browser side process picture element, and well avoid the failure problems that the operation to the sub-process of webpage brings to browser host process.

Description

Picture toolbar loading method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of picture toolbar loading method and device.
Background technology
Browser refer to can the html file content of display web page server or file system, and allow a kind of software of user and these file interactions. Web browser alternately and obtains webpage mainly through http protocol and web service device, and these webpages are specified by URL, and file layout is generally HTML, and indicate in http protocol by MIME. Can comprising multiple document in a webpage, each document obtains from server respectively. Form widely in addition to html supported by the browser of major part itself, such as: the picture formats such as JPEG, PNG, GIF, and can expand and support numerous plug-in units (plug-ins). In addition, many browsers also support other URL type and corresponding agreement thereof, such as: the encryption version of FTP, Gopher, HTTPS(HTTP agreement). HTTP content type and URL agreement specification allow Web page maker embedded images, animation, video, sound, Streaming Media etc. in webpage. Web browser common in PC comprises the Safari of Firefox, Apple of InternetExplorer, Mozilla of Microsoft, Opera, GoogleChrome, GreenBrowser, 360 safe browsers, search dog high speed browser, everyday browser, Tengxun's TT browser, proud trip browser, Baidu's browser, Tengxun's QQ browser etc., and browser is the client-side program the most often used.
Collection and process for picture element in webpage is more and more in a browser for user, the sharing function of such as picture element. The loading of existing picture element tool bar is in current web page page process (the sub-process of webpage), the JS script in webpage is used to carry out the bullet window of DIV layer, play the tool bar project being loaded with the process for picture element in window, such as " sharing " picture toolbar window shown in Fig. 1, wherein, DIV bullet window has the process item sharing different web sites. Equally, the process item comprising preservation, collecting can also be added in picture toolbar window.
Described is use JS script to realize to the process of picture element in webpage, the content played in window is designed as required by webpage design personnel, it represents effect and limits in webpage design personnel, the problem causing browser to collapse owing to JS shell script designs problem wherein can often occur, therefore, the failure problems of browser side (browser host process) can be caused in a browser, but solution does not carry out based on browser side for the process of picture element in webpage.
So, the technical problem urgently needing this area to solve at present is exactly: provide a kind of Web page picture element processing scheme based on browser side, picture element process is carried out by loading picture toolbar in browser host process, realize the collection of Web page picture element, preserve, upload, full screen display, the object such as URL network preservation, be used for solving the browser failure problems performing the process of picture element in the sub-process of browser and causing.
Summary of the invention
In view of the above problems, the main purpose of the present invention is to provide a kind of picture toolbar loading method and device, to solve the browser collapse problem that the process relying on the picture toolbar window in the sub-process of webpage to perform picture element in prior art causes.
In order to solve the problems of the technologies described above, it is an object of the invention to be achieved through the following technical solutions:
The present invention discloses a kind of picture toolbar loading method, comprises the following steps: open web page tag in the sub-process of webpage, and obtain the positional information of picture element in webpage; The sub-process of described current web page monitors the input selection event to described picture element, the positional information of described picture element is sent to browser host process; According to the positional information of described picture element, described browser host process creates in specified location and shows picture toolbar window; The sub-process of webpage opens web page tag, obtains the attribute information of picture element described in webpage simultaneously; And when monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process.
Preferably, in method according to the present invention, described in the sub-process of webpage, open web page tag also comprise: the positional information of the picture element in the sub-process traversal webpage of described current web page and attribute information; And the positional information of described picture element and attribute information are saved in the buffer memory of the sub-process of described current web page.
Preferably, in method according to the present invention, the positional information of described picture element comprises: the width of the upper left position coordinate of described picture element in the visible region of the page of the sub-process of described current web page and described picture element and height; And the attribute information of described picture element comprises: picture size, picture in the address of local cache, the URL of the preservation address of picture in high in the clouds and/or described picture element.
Preferably, in method according to the present invention, the input selection event of described picture element comprises any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes.
Preferably, method according to the present invention can also comprise: described browser host process receives the input selection event to picture toolbar window, according to described attribute information, the described picture toolbar window created by described browser host process carries out the process to described picture element.
Preferably, in method according to the present invention, the process of described picture element comprises following at least one item: described picture element local preserved, share, full screen display, the preservation of URL network and be uploaded to appointed website.
Preferably, in method according to the present invention, described URL network preserves and is uploaded to appointed website and also comprises: appointed website described in browser and described URL network and browser bound; And when carrying out the process to picture element, the attribute information of described picture element is uploaded to described URL network and appointed website automatically.
Preferably, method according to the present invention can also comprise: when monitoring the cancellation to described picture element in the sub-process of described current web page and select event, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window.
Preferably, in method according to the present invention, the cancellation of described picture element selects event to comprise any one event following: the mouse event of moving out of, touch event of upspringing, keyboard cancels.
Preferably, method according to the present invention can also comprise: when again monitoring the input selection event of described picture element in described current sub-process, directly shows described picture toolbar window in described browser host process.
Preferably, in method according to the present invention, described specified location is any position in described picture element region; Or it is and a position of described picture element edge.
Preferably, in method according to the present invention, generating described host process when starting browser, the corresponding sub-process of one or more webpage of described host process, the picture toolbar window of described host process uses alternately between the described sub-process of one or more webpage.
The invention also discloses a kind of picture toolbar deceleration loading device, described device comprises: generates and acquisition module, for opening web page tag in the sub-process of webpage, and obtains the positional information of picture element in webpage; Monitoring and sending module, for monitoring the input selection event to described picture element in the sub-process of described current web page, send the positional information of described picture element to browser host process; Creating and display module, for the positional information according to described picture element, described browser host process creates in specified location and shows picture toolbar window; Wherein, generate and also it is configured to acquisition module: in the sub-process of webpage, open web page tag, obtain the attribute information of picture element described in webpage simultaneously; And when monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process.
Preferably, in said device, generate and can also comprise with acquisition module: traversal submodule block, for positional information and the attribute information of the picture element in the sub-process traversal webpage of described current web page; And cache sub-module, for the positional information of described picture element and attribute information are saved in the buffer memory of the sub-process of described current web page.
Preferably, in said device, the input selection event of described picture element comprises any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes.
Preferably, in said device, described establishment and display module are also configured to: described browser host process receives the input selection event to picture toolbar window, according to described attribute information, the described picture toolbar window created by described browser host process carries out the process to described picture element.
Preferably, in said device, create and can also comprise operation module with display module: for performing described picture element local to be preserved, share, full screen display, the preservation of URL network and be uploaded to appointed website.
Preferably, in said device, described operation module is also configured to: appointed website described in browser and described URL network and browser bound; And when carrying out the process to picture element, the attribute information of described picture element is uploaded to described URL network and appointed website automatically.
Preferably, in said device, monitoring is also configured to display module with sending module and establishment: when monitoring the cancellation to described picture element in the sub-process of described current web page and select event, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window.
Preferably, in said device, the cancellation of described picture element selects event to comprise any one event following: the mouse event of moving out of, touch event of upspringing, keyboard cancels.
Preferably, in said device, monitoring is also configured to display module with sending module and establishment: when again monitoring the input selection event of described picture element in described current sub-process, directly shows described picture toolbar window in described browser host process.
Preferably, in said device, establishment and display module can also comprise: described specified location is any position in described picture element region or is any position with described picture element edge junction.
Compared with prior art, technical scheme according to the present invention has the following advantages: propose a kind of scheme processed by Web page picture element based on browser side, browser host process is set up the mechanism to the picture element process in one or more web page tag, improve the efficiency carrying out picture element process in browser side, avoid the failure problems that the operation to the sub-process picture toolbar of webpage brings to browser; And browser host process can the corresponding sub-process of one or more webpage, the picture toolbar window that browser host process creates can use alternately between the sub-process of multiple webpage, decrease the burden that the sub-process of webpage generates picture toolbar window, improve the service efficiency of picture toolbar simultaneously.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the part of the application, and the schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention. In the accompanying drawings:
Fig. 1 is that the picture toolbar describing prior art loads schematic diagram;
Fig. 2 is the schema of picture toolbar loading method according to embodiments of the present invention;
Fig. 3 is the detail flowchart of picture toolbar loading method according to embodiments of the present invention; And
Fig. 4 is the module map of picture toolbar deceleration loading device according to embodiments of the present invention.
Embodiment
The main thought of the present invention is, opens web page tag, and obtain the positional information of picture element in webpage in the sub-process of webpage; The sub-process of described current web page monitors the input selection event to described picture element, the positional information of described picture element is sent to browser host process; According to the positional information of described picture element, described browser host process creates in specified location and shows picture toolbar window.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
According to embodiments of the invention, it provides a kind of picture toolbar loading method.
Fig. 2 is the schema of the picture toolbar loading method of the embodiment of the present invention, and the method can comprise the following steps.
In step S201 place, in the sub-process of webpage, open web page tag, and obtain the positional information of picture element in webpage.
In embodiments of the present invention, when browser starts, browser host process starts automatically, and opens web page tag in the sub-process of webpage, and especially, a browser host process can the corresponding sub-process of one or more webpage.
When web page tag is opened, the positional information of the picture element in the sub-process traversal webpage of current web page and attribute information, and the positional information of described picture and attribute information are sent in the buffer memory of the sub-process of current web page and preserve.
In step S202 place, the sub-process of described current web page monitors the input selection event to described picture element, the positional information of described picture element is sent to browser host process.
It should be noted that, while the positional information of described picture element is sent to browser host process, also being sent to browser host process by the attribute information of described picture element, described browser host process receives positional information and the attribute information that the sub-process of webpage sends.
In step S203 place, according to the positional information of described picture element, described browser host process creates in specified location and shows picture toolbar window.
According to the attribute information of described picture element, the described picture toolbar window created by described browser host process carries out the process of described picture element. The process of picture element can comprise: picture element local preserves, shares, full screen display, the preservation of URL network and be uploaded to appointed website etc.
Fig. 3 is the detail flowchart of the picture toolbar loading method of the embodiment of the present invention, specifically can comprise the following steps.
In step S301 place, start browser, generate browser host process.
In step S302 place, in the sub-process of webpage, open web page tag.
When web page tag is loaded, the sub-process of webpage performs the JS script of the picture element in traversal webpage, and realizes step S303 by the auxiliary object technology (BHO technology) of browser.
In step S303 place, the sub-process of webpage obtains positional information and the attribute information of picture element in webpage.
It is embedded into one section of JS code when web page tag loads, it is intended that the positional information of the picture element in traversal webpage and attribute information, and the positional information of above-mentioned picture element and attribute information is uploaded in the buffer memory of the sub-process of webpage.
Wherein, the positional information of described picture element can include but not limited to: the width of the upper left position coordinate of described picture element in the visible region of the page of the sub-process of described current web page and described picture element and high etc.; Attribute information can include but not limited to: picture size, picture in the address of local cache, picture is in the preservation address in high in the clouds and/or the URL of described picture element etc.
In step S304 place, the sub-process cache of webpage stores positional information and the attribute information of described picture element.
In step S305 place, the sub-process of described current web page is monitored the input selection event to described picture element.
The web page element having input selection event in the present invention is picture element, is monitored by picture element, performs step S306, monitoring result judged while monitoring.
In step S306 place, judge whether there is input selection event.
When defining input selection event, perform step S307, otherwise return to and perform step S305.
Described input selection event can comprise any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes.
In step S307 place, the positional information of described picture element and attribute information are sent to browser host process.
In step S308 place, according to the positional information of described picture element, described browser host process creates in specified location and shows picture toolbar window.
This picture toolbar window is generated by browser host process, it is possible to multiplexing between the sub-process of different web pages, and in the sub-process of different webpages, the position of picture toolbar window can be determined according to the positional information of picture element.
In step S309 place, judge whether to have and cancel selection event.
When judging there is cancellation selection event, the method proceeds to step S312, otherwise the method proceeds to step S310.
Described cancellation selection event comprises any one event following: the mouse event of moving out of, touch event of upspringing, keyboard cancels.
In step S310 place, judge whether to perform picture element process. Also that is to say, judge that browser client is the need of the process performing picture element.
If it is determined that browser client to be performed the process of picture element, then present method proceeds to step S311, otherwise proceeds to step S312.
In step S311 place, the described picture toolbar window created by described browser host process carries out the process to described picture element.
The process of so-called picture element can include but not limited to be carried out by picture element local to preserve, shares, full screen display, URL network preserve, are uploaded to and specify network address etc. to operate.
Wherein, URL network and appointment network address are all bound with browser, and when browser client logs in, URL network and appointment network address realize logging in simultaneously, namely, it may also be useful to browser client information just can log in URL network and specify network address.
Can design according to demand for picture toolbar window, such as: the picture toolbar window generated in browser host process will load the link of website, and for example, picture toolbar window is designed to the button that can load certain picture website, submits to picture website by clicking the attribute information of the picture element that sub-for webpage process is obtained by this button.
In step S312 place, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window.
When occurring to cancel selection event, browser host process hides described picture toolbar window, and retains positional information and the attribute information of the described picture element received.
Then, the method proceeds to step S313, in step S313 place, judges whether again to identify there is input selection event.
When described picture toolbar window is in hidden state, be judged by the picture element in the sub-process of described webpage whether again identify there is input selection event, be judged as YES, then present method proceeds to step S315, otherwise present method proceeds to step S314.
In step S314 place, described browser host process hides the picture toolbar window of described picture element.
If input selection event does not occur the picture element in the sub-process of described webpage, browser host process continues to hide described picture toolbar window, and the present invention simultaneously proceeds to step S313.
In step S315 place, described current web page process notice browser host process creates the picture toolbar window of described picture element.
Present invention also offers a kind of picture toolbar deceleration loading device, it show the module map of picture toolbar deceleration loading device according to embodiments of the present invention with reference to Fig. 4.
Device according to the present invention, it is possible to comprise and generating and acquisition module 401, monitoring and sending module 402, establishment and display module 403.
Generate and acquisition module 401, for opening web page tag in the sub-process of webpage, and obtain the positional information of picture element in webpage.
When browser is activated, generates and automatically start a browser host process with acquisition module 401, and open web page tag in the sub-process of webpage, a corresponding sub-process of one or more webpage of browser host process.
Meanwhile, generate also to comprise with acquisition module 401 and travel through submodule block (not shown) and cache sub-module (not shown). When web page tag is opened, travels through positional information and the attribute information of picture element in sub-module walks webpage, and the positional information of described picture element and attribute information are sent to cache sub-module and preserve.
Monitoring and sending module 402, for monitoring the input selection event to described picture element in the sub-process of described current web page, send the positional information of described picture element to browser host process.
Monitoring and sending module 402 can be monitored the input selection event of the picture element in the sub-process of current web page and be cancelled selection event, when monitoring the input selection event of picture element, the positional information of described picture element is sent to establishment and display module 403; When after the input selection event monitoring picture element, monitor again and cancel selection event, monitoring and sending module 402 notify to create the picture toolbar window hiding described picture element with display module 403, retain the positional information of described picture element, when again monitoring this picture element and have input selection event, notice creates the picture toolbar window being in hidden state with display module 403 display.
It should be noted that, monitoring also sends attribute information to browser host process with sending module 402 while send the positional information of picture element to browser host process.
Creating and display module 403, for the positional information according to described picture element, described browser host process creates in specified location and shows picture toolbar window.
Owing to a browser host process only creates a picture toolbar window, so achieving the multiplexing of picture toolbar in the sub-process of each webpage.
Owing to the present embodiment is substantially corresponding to the embodiment of the method shown in earlier figures 2 and the embodiment of the method shown in Fig. 3, therefore not detailed part in the description of the present embodiment, it is possible to see the related description in previous embodiment, do not repeat at this.
Intrinsic not relevant to any certain computer, virtual system or other equipment with display at this algorithm provided. Various general-purpose system can also with use based on together with this teaching. According to description above, it is to construct the structure required by this type systematic is apparent. In addition, the present invention is not also for any certain programmed language. It should be appreciated that various programming language can be utilized to realize the content of the present invention described here, and the description done by language-specific above is the preferred forms in order to disclose the present invention.
In specification sheets mentioned herein, describe a large amount of detail. However, it is understood that embodiments of the invention can be put into practice when not having these details. In some instances, it is not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify the disclosure and help to understand in each inventive aspect, above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes. But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim. More properly saying, as reflected in claim book below, inventive aspect is all features less than disclosed single embodiment above. Therefore, the claim book following embodiment is thus incorporated to this embodiment clearly, and wherein each claim itself is as the independent embodiment of the present invention.
Those skilled in the art it can be appreciated that the module in the device in embodiment can be carried out adaptively change and they are arranged in one or more devices different from this embodiment. Block combiner in embodiment can be become a module, and multiple submodule block or subelement or subgroup part can be put them in addition. Except at least some in such feature and/or process or unit mutually repels, it is possible to adopt any combination all processes or the unit of all features disclosed in this specification sheets (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or device to be combined. Unless expressly stated otherwise, each feature disclosed in this specification sheets (comprising adjoint claim, summary and accompanying drawing) can by providing alternative features that is identical, equivalent or similar object to replace.
In addition, the technician of this area can understand, although embodiments more described herein comprise in other embodiment some included feature instead of further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and forms different embodiments. Such as, in the following claims, the one of any of claimed embodiment can use with arbitrary array mode.
Each parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more treater, or realizes with their combination. It will be understood by one skilled in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in picture toolbar deceleration loading device according to embodiments of the present invention. Such as, the present invention can also be embodied as part or all the equipment for performing method as described herein or device program (computer program and computer program). The program of such the present invention of realization can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
Should it is to be noted that above-described embodiment the present invention will be described instead of limits the invention, and those skilled in the art can design alternative embodiment when not departing from the scope of claims. In the claims, it should not any reference symbol construction between bracket is become limitations on claims. Word " comprises " element or step not getting rid of and exist and do not arrange in the claims. Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element. The present invention can by means of including the hardware of some different elements and realize by means of the computer suitably programmed. In the unit claim listing some devices, some in these devices can be carry out particular embodiment by same hardware branch. Word first, second and third-class use do not represent any order. Can be title by these word explanations.
Disclosed herein is A1, a kind of picture toolbar loading method, comprising: in the sub-process of webpage, open web page tag, and obtain the positional information of picture element in webpage; The sub-process of described current web page monitors the input selection event to described picture element, the positional information of described picture element is sent to browser host process; According to the positional information of described picture element, described browser host process creates in specified location and shows picture toolbar window; The sub-process of webpage opens web page tag, obtains the attribute information of picture element described in webpage simultaneously; And when monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process. A2, method according to A1, wherein, described open web page tag in the sub-process of webpage and also comprise: the positional information of the picture element in the sub-process traversal webpage of described current web page and attribute information; And the positional information of described picture element and attribute information are saved in the buffer memory of the sub-process of described current web page. A3, method according to A2, wherein: the positional information of described picture element comprises: the width of the upper left position coordinate of described picture element in the visible region of the page of the sub-process of described current web page and described picture element and height; And the attribute information of described picture element comprises: picture size, picture in the address of local cache, the URL of the preservation address of picture in high in the clouds and/or described picture element. A4, method according to A1, wherein: the input selection event of described picture element comprises any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes. A5, method according to the arbitrary item of A1-A4, also comprise: described browser host process receives the input selection event to picture toolbar window, according to described attribute information, the described picture toolbar window created by described browser host process carries out the process to described picture element. A6, method according to A5, wherein, the process of described picture element comprises following at least one item: described picture element local preserved, share, full screen display, the preservation of URL network and be uploaded to appointed website. A7, method according to A6, wherein, described URL network preserves and is uploaded to appointed website and also comprises: appointed website described in browser and described URL network and browser bound; And when carrying out the process to picture element, the attribute information of described picture element is uploaded to described URL network and appointed website automatically. A8, method according to the arbitrary item of A1-A4, also comprise: when monitoring the cancellation to described picture element in the sub-process of described current web page and select event, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window. A9, method according to A8, wherein, the cancellation of described picture element selects event to comprise any one event following: the mouse event of moving out of, touch event of upspringing, keyboard cancels. A10, method according to A8, also comprise: when again monitoring the input selection event of described picture element in described current sub-process, directly shows described picture toolbar window in described browser host process. A11, method according to the arbitrary item of A1-A4, wherein: described specified location is any position in described picture element region;Or it is and a position of described picture element edge. A12, method according to the arbitrary item of A1-A4, wherein: generate described browser host process when starting browser, the corresponding sub-process of one or more webpage of described browser host process, the picture toolbar window of described browser host process uses alternately between the described sub-process of one or more webpage.
Disclosed herein is B13, a kind of picture toolbar deceleration loading device, described device comprises: generates and acquisition module, for opening web page tag in the sub-process of webpage, and obtains the positional information of picture element in webpage; Monitoring and sending module, for monitoring the input selection event to described picture element in the sub-process of described current web page, send the positional information of described picture element to browser host process; Creating and display module, for the positional information according to described picture element, described browser host process creates in specified location and shows picture toolbar window; Wherein, generate and also it is configured to acquisition module: in the sub-process of webpage, open web page tag, obtain the attribute information of picture element described in webpage simultaneously; And when monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process. B14, device according to B13, wherein, generate and also comprise with acquisition module: traversal submodule block, for positional information and the attribute information of the picture element in the sub-process traversal webpage of described current web page; And cache sub-module, for the positional information of described picture element and attribute information are saved in the buffer memory of the sub-process of described current web page. B15, device according to B13, wherein: the input selection event of described picture element comprises any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes. B16, device according to the arbitrary item of B13-B15, wherein, described establishment and display module are also configured to: described browser host process receives the input selection event to picture toolbar window, according to described attribute information, the described picture toolbar window created by described browser host process carries out the process to described picture element. B17, device according to B16, wherein, create and also comprise operation module with display module: for performing described picture element local to be preserved, share, full screen display, the preservation of URL network and be uploaded to appointed website. B18, device according to B16, wherein, described operation module is also configured to: appointed website described in browser and described URL network and browser bound; And when carrying out the process to picture element, the attribute information of described picture element is uploaded to described URL network and appointed website automatically. B19, device according to the arbitrary item of B13-B15, wherein, monitoring is also configured to display module with sending module and establishment: when monitoring the cancellation to described picture element in the sub-process of described current web page and select event, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window. B20, device according to B19, wherein, the cancellation of described picture element selects event to comprise any one event following: the mouse event of moving out of, touch event of upspringing, keyboard cancels. B21, device according to B19, monitoring is also configured to display module with sending module and establishment: when again monitoring the input selection event of described picture element in described current sub-process, directly shows described picture toolbar window in described browser host process.B22, device according to the arbitrary item of B13-B15, create and also comprise with display module: described specified location is any position in described picture element region or is any position with described picture element edge junction.

Claims (20)

1. a picture toolbar loading method, comprising:
The sub-process of webpage opens web page tag, and obtains the positional information of picture element in webpage;
The sub-process of current web page monitors the input selection event to described picture element, by described figure
The positional information of sheet element sends to browser host process;
According to the positional information of described picture element, described browser host process creates in specified location and shows picture toolbar window;
The sub-process of webpage opens web page tag, obtains the attribute information of picture element described in webpage simultaneously; And
When monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process;
Carried out described picture element by described picture toolbar window local preserving, share, full screen display, the preservation of URL network or be uploaded to appointment network address.
2. method according to claim 1, wherein, described in the sub-process of webpage, open web page tag also comprise:
The positional information of the picture element in the sub-process traversal webpage of described current web page and attribute information; And
The positional information of described picture element and attribute information are saved in the buffer memory of the sub-process of described current web page.
3. method according to claim 2, wherein:
The positional information of described picture element comprises: the width of the upper left position coordinate of described picture element in the visible region of the page of the sub-process of described current web page and described picture element and height; And
The attribute information of described picture element comprises: picture size, picture in the address of local cache, the URL of the preservation address of picture in high in the clouds and/or described picture element.
4. method according to claim 1, wherein:
The input selection event of described picture element comprises any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes.
5. method according to the arbitrary item of claim 1-4, also comprises:
Described browser host process receives the input selection event to picture toolbar window, and according to described attribute information, the described picture toolbar window created by described browser host process carries out the process to described picture element.
6. method according to claim 1, wherein, described URL network preserves and is uploaded to appointed website and also comprises:
Appointed website described in browser and described URL network and browser is bound; And
When carrying out the process to picture element, the attribute information of described picture element is uploaded to described URL network and appointed website automatically.
7. method according to the arbitrary item of claim 1-4, also comprises:
When monitoring the cancellation to described picture element in the sub-process of described current web page and select event, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window.
8. method according to claim 7, wherein, the cancellation of described picture element selects event to comprise any one event following:
The mouse event of moving out of, touch upspring event, keyboard cancel.
9. method according to claim 7, also comprises:
When again monitoring the input selection event of described picture element in described current sub-process, described browser host process directly shows described picture toolbar window.
10. method according to the arbitrary item of claim 1-4, wherein:
Described specified location is any position in described picture element region; Or
For the position with described picture element edge.
11. methods according to the arbitrary item of claim 1-4, wherein:
Generating described browser host process when starting browser, the corresponding sub-process of one or more webpage of described browser host process, the picture toolbar window of described browser host process uses alternately between the described sub-process of one or more webpage.
12. 1 kinds of picture toolbar deceleration loading devices, described device comprises:
Generate and acquisition module, for opening web page tag in the sub-process of webpage, and obtain the positional information of picture element in webpage;
Monitoring and sending module, for monitoring the input selection event to described picture element in the sub-process of current web page, send the positional information of described picture element to browser host process;
Creating and display module, for the positional information according to described picture element, described browser host process creates in specified location and shows picture toolbar window; Also for, carried out described picture element by described picture toolbar window local preserving, share, full screen display, the preservation of URL network or be uploaded to appointment network address;
Wherein, generation and acquisition module are also configured to:
The sub-process of webpage opens web page tag, obtains the attribute information of picture element described in webpage simultaneously; And
When monitoring the input selection event to described picture element in the sub-process of described current web page, the attribute information of described picture element is sent to described browser host process.
13. devices according to claim 12, wherein, generate and also comprise with acquisition module:
Traversal submodule block, for positional information and the attribute information of the picture element in the sub-process traversal webpage of described current web page; And
Cache sub-module, for being saved to the positional information of described picture element and attribute information in the buffer memory of the sub-process of described current web page.
14. devices according to claim 12, wherein:
The input selection event of described picture element comprises any one event following: mouse suspension event, mouse move into event, mouse moving event, touch event of pressing, touch moving event, touch long by event, touch slip event, keyboard selectes.
15. devices according to the arbitrary item of claim 12-14, wherein, described establishment and display module are also configured to:
Described browser host process receives the input selection event to picture toolbar window, and according to described attribute information, the described picture toolbar window created by described browser host process carries out the process to described picture element.
16. devices according to claim 15, wherein, described operation module is also configured to: appointed website described in browser and described URL network and browser bound; And
When carrying out the process to picture element, the attribute information of described picture element is uploaded to described URL network and appointed website automatically.
17. devices according to the arbitrary item of claim 12-14, wherein, monitoring is also configured to display module with sending module and establishment:
When monitoring the cancellation to described picture element in the sub-process of described current web page and select event, the sub-process of described current web page notifies that described browser host process hides described picture toolbar window.
18. devices according to claim 17, wherein, the cancellation of described picture element selects event to comprise any one event following:
The mouse event of moving out of, touch upspring event, keyboard cancel.
19. devices according to claim 18, monitoring is also configured to display module with sending module and establishment:
When again monitoring the input selection event of described picture element in described current sub-process, described browser host process directly shows described picture toolbar window.
20. devices according to the arbitrary item of claim 12-14, create and also comprise with display module: described specified location is any position in described picture element region or is any position with described picture element edge junction.
CN201210497335.XA 2012-11-28 2012-11-28 Picture toolbar loading method and device Active CN102981877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210497335.XA CN102981877B (en) 2012-11-28 2012-11-28 Picture toolbar loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210497335.XA CN102981877B (en) 2012-11-28 2012-11-28 Picture toolbar loading method and device

Publications (2)

Publication Number Publication Date
CN102981877A CN102981877A (en) 2013-03-20
CN102981877B true CN102981877B (en) 2016-06-01

Family

ID=47855939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210497335.XA Active CN102981877B (en) 2012-11-28 2012-11-28 Picture toolbar loading method and device

Country Status (1)

Country Link
CN (1) CN102981877B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544272A (en) * 2013-10-18 2014-01-29 北京奇虎科技有限公司 Method and device for displaying pictures in browser
CN103544271B (en) * 2013-10-18 2017-03-15 北京奇虎科技有限公司 Load Image in a kind of browser the method and apparatus for processing window
CN109017580A (en) * 2018-05-24 2018-12-18 北京长城华冠汽车科技股份有限公司 The display methods of graphic user interface
CN110955531A (en) * 2018-09-27 2020-04-03 长沙博为软件技术股份有限公司 Method for realizing communication among multiple tabs based on browser-Based (BHO) technology
CN111221505A (en) * 2019-12-31 2020-06-02 上海汇贯实业有限公司 Website webpage design system and method
CN114675906B (en) * 2022-05-25 2022-10-04 杭州脸脸会网络技术有限公司 Multi-window management method, device, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487446A (en) * 2003-06-24 2004-04-07 深圳市华磊网络技术有限公司 Method for the server and to supply user's interface for Internet explorer client end
CN1920770A (en) * 2005-08-25 2007-02-28 千橡世纪科技发展(北京)有限公司 System and method for obtaining webpage insert data
CN101021871A (en) * 2007-01-11 2007-08-22 深圳市光芒科技有限公司 Web page content block intelligent intercepting method
CN102055804A (en) * 2010-12-24 2011-05-11 位涛 Method for realizing information sharing and social networking service (SNS) interacting by means of page attendance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487446A (en) * 2003-06-24 2004-04-07 深圳市华磊网络技术有限公司 Method for the server and to supply user's interface for Internet explorer client end
CN1920770A (en) * 2005-08-25 2007-02-28 千橡世纪科技发展(北京)有限公司 System and method for obtaining webpage insert data
CN101021871A (en) * 2007-01-11 2007-08-22 深圳市光芒科技有限公司 Web page content block intelligent intercepting method
CN102055804A (en) * 2010-12-24 2011-05-11 位涛 Method for realizing information sharing and social networking service (SNS) interacting by means of page attendance

Also Published As

Publication number Publication date
CN102981877A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102981877B (en) Picture toolbar loading method and device
CN102999613B (en) A kind of method of the class of loading tool in a browser window and device thereof
CN102999342B (en) The full frame browsing method of picture and device thereof in a kind of webpage
US20190243866A1 (en) Mobile enablement of existing web sites
CN103019703B (en) Tool window loading method and device for browser
CN103020178B (en) The Load Image method and apparatus of tool bar of a kind of browser
US8966446B1 (en) Systems and methods of live experimentation on content provided by a web site
CN102473171A (en) Communicating information about a local machine to a browser application
AU2018203252A1 (en) Systems and methods for processing web page data
CN103412890A (en) Webpage loading method and device
KR20080042304A (en) Apparatus and method for prefetching web page
CN103617191A (en) Browser and method for rendering same by means of hardware acceleration
US20120197978A1 (en) Method and System for Seamless Navigation and Drill Back Among a Plurality of Web Applications
CN102999341B (en) For the full frame browsing method of picture and the device of webpage
CN103677823A (en) Method and device for managing browser plug-ins
CN103034727A (en) System for intercepting pop-up window in webpage
CN103034686B (en) A kind of method of toolbar windows that Loads Image and device thereof
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window
CN102981876B (en) Picture tool bar window loading method and device
US20130282859A1 (en) System and method for enabling the styling and adornment of multiple, disparate web pages through remote method calls
CN104361004A (en) Browser favorite data processing method and browser
KR101743765B1 (en) Apparatus and method for providing 3d content and recording medium
AU2014100636A4 (en) Systems and methods for processing web page data
JP6818517B2 (en) Location information management device and location information management method
JP2006268164A (en) Picture information generation method, picture information generation device and picture information generation program

Legal Events

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

Effective date of registration: 20220727

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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