CN104346461A - Method and device of searching webpage element as well as browser client - Google Patents

Method and device of searching webpage element as well as browser client Download PDF

Info

Publication number
CN104346461A
CN104346461A CN201410642967.XA CN201410642967A CN104346461A CN 104346461 A CN104346461 A CN 104346461A CN 201410642967 A CN201410642967 A CN 201410642967A CN 104346461 A CN104346461 A CN 104346461A
Authority
CN
China
Prior art keywords
web page
page element
search
window
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.)
Granted
Application number
CN201410642967.XA
Other languages
Chinese (zh)
Other versions
CN104346461B (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 CN201410642967.XA priority Critical patent/CN104346461B/en
Publication of CN104346461A publication Critical patent/CN104346461A/en
Application granted granted Critical
Publication of CN104346461B publication Critical patent/CN104346461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Abstract

The invention provides a method and a device of searching a webpage element as well as a browser client. The method comprises the following steps of detecting a drag starting event of the webpage element in the current webpage; loading a window in a preset position of a page display area in a browser; detecting that the webpage element is dragged into the area coverage of the window; obtaining content parameter information of the webpage element and transmitting a search request to a first search server side according to the content parameter information and the dragged webpage element type; receiving the search result information, which is returned by the first search server side and is corresponding to the search request, and displaying at a browser client side.

Description

The method of search and webpage element, device and browser client
Technical field
The invention belongs to browser technology field, particularly relate to a kind of method of search and webpage element, device and browser client.
Background technology
In Internet technology, be the mode of the various information of a kind of modal effective acquisition and data by browser access.In the prior art, the cloud storage or the cloud disk technology that realize internet storage also progressively grow up, extend space that individual stores, time, become personal network's hard disk, professional storage tool easily, people can store data and capsule information safely whenever and wherever possible.
Relative to more convenient traditional entity disk, user does not need the entity disk storing capsule information to take with oneself, but equally internet can be passed through, the information oneself stored is read like a cork from high in the clouds, it provides the stores service of new generation having dirigibility and function as required, thus can meet the diversified demand of constantly change.
In prior art, when needing search when using browser to browse web data, also need to open search engine separately, and input key word to be searched in a search engine and selection sort is searched for, such operating process is more loaded down with trivial details, the running time of waste user, therefore, be necessary that the technical scheme proposing to improve solves the problem.
Summary of the invention
In order to solve the problem, the invention provides a kind of method of search and webpage element, device and browser client.
According to an aspect of the present invention, provide a kind of method of search and webpage element, comprising: what web page element in current web page detected pulls beginning event; Window is loaded in one preset position of page display area in a browser; Detect that web page element is pulled the regional extent entering into described window; Obtain the content parameters information of web page element, and send searching request according to described content parameters information with by the web page element type pulled to the first search server side; Receive the search result information of the described searching request of correspondence that described first search server side returns, and show in browser clients side.
Wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.
Wherein, detect described in and comprise the step pulling beginning event of web page element in current web page: what start that browser master routine detects web page element in current web page pulls beginning event.
Wherein, described method also comprises: the type of specifying described web page element in advance, and detects the beginning event that pulls of the web page element of specified type.
Wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser clients side.
Wherein, described in detect that web page element is pulled the step of the regional extent entering into described window, comprising: in the regional extent of described window, the event that enters for web page element and release event detected.
Wherein, described in detect that web page element is pulled the step of the regional extent entering into described window, also comprise: the color or the brightness that change mark word in the regional extent of this window or signature.
Wherein, described first search server is the server of the configurable search engine of user.
Wherein, described method also comprises: judge by the type of the web page element pulled, and sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.
Wherein, described method also comprises: carry out according to current web page contents and by the type of the web page element pulled the classified search that comprehensive intelligent decision uses correspondence; And/or use the search of user custom carry out comprehensive descision after determine to use corresponding classified search.
Wherein, at browser clients side default setting search engine.
Wherein, the classified search engine corresponding with the type of web page element is configured with in browser clients side.
Wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.
Wherein, if comprised the data of the first specific format by the type of the web page element pulled, then provide the display for the web page content information of the corresponding account of the data of this first specific format and/or access.
Wherein, if comprised the label symbol of the data of mark second specific format by the web page element type pulled, then the display for the web page content information of the corresponding account of the data of this second specific format and/or access is provided.
Wherein, described method also comprises: the user totem information according to current browser client signs in described first search server side, it comprises further: detect the legal Token mark whether described browser clients side has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server side of writing direct, when signing in the first search server side, the effective Token mark be written in described Cookie file being sent to the first search server side request and carrying out register.
Wherein, described method also comprises: search the resource information corresponding with described content parameters information in described first server side, and the link information of described resource information is turned back to described browser clients side.
According to a further aspect in the invention, provide a kind of browser client, comprising: interface assembly, it is configured to described browser client and draws interactive interface, receives the information of input and/or output display and user interactions; Networking component, it is configured to pass described interface assembly and triggers the network request of initiating, and what web page element in current web page detected pulls beginning event; Kernel component, it is configured to process, and described networking component detects pulls beginning event, resolves in a preset position of page display area in a browser after playing up and loads window; Download component, it comprises further: detect module, for detecting that web page element is pulled the regional extent entering into described window; Sending module, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server side; Process module, for receiving the search result information of the described searching request of correspondence that described first search server side returns, and shows in browser clients side.
Wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.
Wherein, described networking component also for, specify the type of described web page element in advance, and the beginning event that pulls of the web page element of specified type detected.
Wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser clients side.
Wherein, described detection module is further used for: in the regional extent of described window, the event that enters for web page element and release event detected.
Wherein, described networking component detect web page element in current web page pull beginning event time, described kernel component changes color or the brightness of mark word in the regional extent of this window or signature.
Wherein, described first search server is the server of the configurable search engine of user.
Wherein, described download component also comprises: judge module, for judging by the type of the web page element pulled, described transmission module sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.
Wherein, described browser clients side default setting search engine.
Wherein, described browser clients side is configured with the classified search engine corresponding with the type of web page element.
Wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.
Wherein, if described detection module detects the data being comprised the first specific format by the type of the web page element pulled, then described process module provides display for the web page content information of the corresponding account of the data of this first specific format and/or access.
Wherein, if described detection module detects the label symbol of the data being comprised mark second specific format by the web page element type pulled, then described process module provides display for the web page content information of the corresponding account of the data of this second specific format and/or access.
Wherein, described download component also comprises: log in module, for signing in described first search server side according to the user totem information of current browser client, described login module is further used for: detect the legal Token mark whether described browser clients side has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server side of writing direct, when signing in the first search server side, the effective Token mark be written in described Cookie file is sent to the first search server side request and carries out register.
Wherein, described download component also comprises: search module, for searching the resource information corresponding with described content parameters information in described first server side, and the link information of described resource information is turned back to described browser client.
In accordance with a further aspect of the present invention, providing a kind of device of search and webpage element, comprising: detecting module, for detecting that web page element is pulled the regional extent entering into pre-loaded window; Sending module, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server side; Process module, for receiving the search result information of the described searching request of correspondence that described first search server side returns, and shows in browser clients side.
Wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.
Wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser clients side.
Wherein, described detection module is further used for: in the regional extent of described window, the event that enters for web page element and release event detected.
Wherein, described first search server is the server of the configurable search engine of user.
Wherein, described device also comprises: judge module, for judging by the type of the web page element pulled, described transmission module sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.
Wherein, described browser clients side default setting search engine.
Wherein, described browser clients side is configured with the classified search engine corresponding with the type of web page element.
Wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.
Wherein, if described detection module detects the data being comprised the first specific format by the type of the web page element pulled, then described process module provides display for the web page content information of the corresponding account of the data of this first specific format and/or access.
Wherein, if described detection module detects the label symbol of the data being comprised mark second specific format by the web page element type pulled, then described process module provides display for the web page content information of the corresponding account of the data of this second specific format and/or access.
Wherein, described device also comprises: log in module, for signing in described first search server side according to the user totem information of current browser client, described login module is further used for: detect the legal Token mark whether described browser clients side has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server side of writing direct, when signing in the first search server side, the effective Token mark be written in described Cookie file is sent to the first search server side request and carries out register.
Wherein, described device also comprises: search module, for searching the resource information corresponding with described content parameters information in described first server side, and the link information of described resource information is turned back to described browser clients side.
According to technical scheme of the present invention, after detecting in current web page that web page element is selected, the content parameters information of web page element and web page element type are sent searching request to search server, and at the Search Results that browser client display search server returns, directly function of search can be carried out at browser client by the present invention, simplify operating process, save the running time of user.
Accompanying drawing explanation
Fig. 1 shows the process flow diagram of the method for search and webpage element according to an embodiment of the invention;
Fig. 2 shows the structured flowchart of the device of search and webpage element according to an embodiment of the invention;
Fig. 3 shows the structured flowchart of browser client according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
According to the embodiment of the present invention, provide a kind of method of search and webpage element, be applied to the various clients with client browser, this client-side is as being Web browser client.It should be noted that, above-mentioned client refers to corresponding with server, is arranged on for user provides the application program of service in terminal, e.g., is arranged on the application program on terminal or intelligent mobile phone terminal.
Fig. 1 shows the process flow diagram of the method for search and webpage element according to an embodiment of the invention.As shown in Figure 1, the method for carrying out file download comprises:
Step S102, what web page element in current web page detected pulls beginning event.
When user opens browser, such as, open the browser of the browser of computing machine, the browser of panel computer or mobile phone (or smart mobile phone), enter the Web page, after playing up, show various element.Web page element can be text, picture, video, network address, webpage, file etc.About unlatching browser, to enter the Web page and play up the technology such as display web page element be all prior art, therefore do not repeat at this.
Specifically, step S102 comprises the mouse dragging event of the web page element started in browser master routine detection current web page.Particularly, first user uses mouse point to choose arbitrary web page element, and then use left mouse button pin this web page element and carry out pulling movement, browser master routine produces " pulling beginning event (drag start) " according to the operation of mouse.In brief, step S102 detects to pull beginning event for arbitrary web page element in current web page.
In an embodiment of the application, can also the type of named web page element in advance, and the beginning event that pulls of the web page element of specified type is detected.Such as, specify in advance and detect the web page element of picture/mb-type, after detecting that mouse pulls beginning event, only detect the web page element of picture/mb-type, the web page element (such as word etc.) of the other types pulled for mouse does not detect.
Step S104, loads window in a preset position of page display area in a browser.
After detecting that the web page element in current web page pulls beginning event, in a preset position of current web page, load a window.
According to the present invention, above-mentioned window can be the independent window that of being generated by browser floats over subwindow on current page display window or top set.That is, when window is the independent window of top set when, can be the direct generating window of browser and long-term top set, and pull beginning event just generating window without the need to by the time detecting.But, in order to make the page more simplify, after detecting that the web page element in current web page pulls beginning event, just generate and load window.Such as, this window can be translucent window, and this window is displayed on fixed position.
Preferably, this window more can comprise a mark word or a signature, and in order to the position of user's identification window, so just web page element should be dragged to where and then perform function of search by person's identification easy to use.Such as, window comprises mark text importing and " please be dragged to herein, start to search for ", is beneficial to user's identification.In addition, window can also carry out reminding user with special color or brightness and web page element is dragged to where and then performs function of search.
Step S106, detects that web page element is pulled the regional extent entering into described window.
Load after window at current web page, when user continues to pull web page element (such as pulling picture), and pull and enter in the regional extent of window, now browser master routine produces and enters event (enter).Preferably, when detecting that web page element enters in the described window of loading (generation enters event), this window can change color, such as background color deepens or shoals, or the color of mark word or signature or brightness change, being available for users to identification is thus dragged in window by web page element, has namely reminded user web page element to enter in window can to discharge by the web page element that pulls.Once user's release is by the web page element pulled, browser master routine produces release event (drop).Therefore, detect that web page element is pulled the regional extent entering into this window and can comprise: the event of entering (enter) and release event (drop) detected.
Step S108, obtains the content parameters information of web page element, and sends searching request according to described content parameters information with by the web page element type pulled to the first search server side.
The content parameters information of described web page element, comprising: such as, by one of description attribute pulling web page element, the URL of picture element; The descriptor of this web page element in web page contents, the word of its content of description of such as picture element is its descriptor; If what pull is word, just directly use this word (namely this word is exactly content parameters information) to search for, its search category also can be configured according to user
In actual applications, the information in this node of can being obtained by the DOM node of specifying, as content parameters information, being comprised: word, URL, type, filename etc.Namely confirm by the web page element pulled it is text, picture, video, network address, link, webpage, file etc. according to the content information of web page element.
Wherein, described first search server is the server of the configurable search engine of user, namely select to arrange search engine or default setting search engine in browser client setting options, such as, at browser client configuration search engine " www.so.com ".
And preferably, the classified search engine corresponding with the type of web page element is also configured with at browser client, such as, browser client is configured with multiple classification engine: wenda.so.com, video.so.com, image.so.com, music.so.com, map.so.com, baike.so.com, 360.etao.com etc.
In one embodiment of the invention, carry out according to current web page contents and by the type of the web page element pulled the classified search that comprehensive intelligent decision uses correspondence; And/or use the search of user custom carry out comprehensive descision after determine to use corresponding classified search.Such as, judge that by the web page element pulled be picture/mb-type, searching request can be sent to picture searching server (image.so.com); If be video elementary by what pull, searching request can be sent to video search server (video.so.com).
When web page element selected (web page element to be entered into the regional extent of described window by pulling) being detected, judge by the type of the web page element pulled, and send described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.Wherein, the classified search engine of content parameters information as search key to correspondence can be sent described searching request.
Wherein, step S108 also comprises: the user totem information according to current browser client signs in described first search server side, particularly, detect the legal Token mark whether described browser clients side has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server side of writing direct, when signing in the first search server side, the effective Token mark be written in described Cookie file being sent to the first search server side request and carrying out register.
Step S110, receives the search result information of the described searching request of correspondence that described first search server side returns, and shows at browser client.
After described first search server receives searching request, search the resource information corresponding with described content parameters information in described first server side, and the link information of described resource information is turned back to described browser client as Search Results show.
In one embodiment of the invention, if comprised telephone number (data of the first specific format) by the type of the web page element pulled, trigger the providing of web page content information for account corresponding to telephone number.Such as, telephone number corresponds to public's account or through number of Baidu, namely the search engine of described first search server is the search engine of public's account or Baidu's number of going directly, then jump to public's account or webpage corresponding to Baidu's number of going directly, and return to client as Search Results and carry out showing and/or accessing.
In one embodiment of the invention, if comprised the label symbol of the data of mark second specific format by the web page element type pulled, such as by the picture that pulls or video, audio frequency with label symbol, and this label symbol can identify the data (such as the numeral of public's account or Baidu's number of going directly) of the first above-mentioned specific format, then jump to public's account or webpage corresponding to Baidu's number of going directly, and return to client as Search Results and carry out showing and/or accessing.
According to embodiments of the invention, additionally provide a kind of device of search and webpage element.
With reference to figure 2, it is the structured flowchart of the device of search and webpage element according to an embodiment of the invention, as shown in Figure 2, the device 200 of described search and webpage element at least comprises: detect module 210, send module 220 and process module 230, be described below in detail the 26S Proteasome Structure and Function of each module.
Detect module 210, for detecting that web page element is pulled the regional extent entering into pre-loaded window.
Wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.
Wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser clients side.
Wherein, described detection module 210 is further used for: in the regional extent of described window, the event that enters for web page element and release event detected.
Sending module 220, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server side.
Wherein, described first search server is the server of the configurable search engine of user.
Further, described device also comprises: judge module, for judging by the type of the web page element pulled, described transmission module sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.
Further, described browser clients side default setting search engine, described browser clients side is configured with the classified search engine corresponding with the type of web page element.
Wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.
Further, if described detection module detects the data being comprised the first specific format by the type of the web page element pulled, then described process module provides display for the web page content information of the corresponding account of the data of this first specific format and/or access.Particularly, if comprised telephone number (data of the first specific format) by the type of the web page element pulled, trigger the providing of web page content information for account corresponding to telephone number.Such as, telephone number corresponds to public's account or through number of Baidu, namely the search engine of described first search server is the search engine of public's account or Baidu's number of going directly, then jump to public's account or webpage corresponding to Baidu's number of going directly, and return to client as Search Results and carry out showing and/or accessing.
Further, if described detection module detects the label symbol of the data being comprised mark second specific format by the web page element type pulled, then described process module provides display for the web page content information of the corresponding account of the data of this second specific format and/or access.Particularly, if comprised the label symbol of the data of mark second specific format by the web page element type pulled, such as by the picture that pulls or video, audio frequency with label symbol, and this label symbol can identify the data (such as the numeral of public's account or Baidu's number of going directly) of the first above-mentioned specific format, then jump to public's account or webpage corresponding to Baidu's number of going directly, and return to client as Search Results and carry out showing and/or accessing.
Wherein, described device also comprises: log in module, for signing in described first search server side according to the user totem information of current browser client, described login module is further used for: detect the legal Token mark whether described browser clients side has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server side of writing direct, when signing in the first search server side, the effective Token mark be written in described Cookie file is sent to the first search server side request and carries out register.
Process module 230, for receiving the search result information of the described searching request of correspondence that described first search server side returns, and shows in browser clients side.
Further, described device also comprises: search module, for searching the resource information corresponding with described content parameters information in described first server side, and the link information of described resource information is turned back to described browser clients side.
The device of search and webpage element described above is corresponding with the process of the method for the search and webpage element described before, therefore, about more detailed ins and outs, and can see the method described before.
According to embodiments of the invention, additionally provide a kind of browser client.
With reference to figure 3, be the structured flowchart of the browser client according to the embodiment of the present invention, as shown in Figure 3, described browser client 300 at least comprises: interface assembly 310, networking component 320, kernel component 330 and download component 340.
Wherein, interface assembly 310 its be configured to described browser client and draw interactive interface, receive input and/or the information of output display and user interactions.Networking component 320 its be configured to pass described interface assembly and trigger the network request of initiating, what web page element in current web page detected pulls beginning event.Wherein, networking component 320 also for specifying the type of described web page element in advance, and detects the beginning event that pulls of the web page element of specified type.Kernel component 330 its be configured to process that described networking component detects pulls beginning event, resolve in a preset position of page display area in a browser after playing up and load window.
Download component 340 its comprise further:
Detect module 341, for detecting that web page element is pulled the regional extent entering into described window.
Wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.
Wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser clients side.
Further, described detection module 341 is further used for: in the regional extent of described window, the event that enters for web page element and release event detected.Described networking component 320 detect web page element in current web page pull beginning event time, described kernel component changes color or the brightness of mark word in the regional extent of this window or signature.
Sending module 342, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server side.Wherein, described first search server is the server of the configurable search engine of user.
Process module 343, for receiving the search result information of the described searching request of correspondence that described first search server side returns, and shows in browser clients side.
Further, described download component 340 also comprises: judge module, for judging by the type of the web page element pulled, described transmission module sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.
Further, described browser clients side default setting search engine, described browser clients side is configured with the classified search engine corresponding with the type of web page element.
Wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.
Further, if described detection module 341 detects the data being comprised the first specific format by the type of the web page element pulled, then described process module provides display for the web page content information of the corresponding account of the data of this first specific format and/or access.Particularly, if comprised telephone number (data of the first specific format) by the type of the web page element pulled, trigger the providing of web page content information for account corresponding to telephone number.Such as, telephone number corresponds to public's account or through number of Baidu, namely the search engine of described first search server is the search engine of public's account or Baidu's number of going directly, then jump to public's account or webpage corresponding to Baidu's number of going directly, and return to client as Search Results and carry out showing and/or accessing.
Further, if described detection module 341 detects the label symbol of the data being comprised mark second specific format by the web page element type pulled, then described process module provides display for the web page content information of the corresponding account of the data of this second specific format and/or access.Particularly, if comprised the label symbol of the data of mark second specific format by the web page element type pulled, such as by the picture that pulls or video, audio frequency with label symbol, and this label symbol can identify the data (such as the numeral of public's account or Baidu's number of going directly) of the first above-mentioned specific format, then jump to public's account or webpage corresponding to Baidu's number of going directly, and return to client as Search Results and carry out showing and/or accessing.
Further, described download component 340 also comprises: log in module, for signing in described first search server side according to the user totem information of current browser client, described login module is further used for: detect the legal Token mark whether described browser clients side has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server side of writing direct, when signing in the first search server side, the effective Token mark be written in described Cookie file is sent to the first search server side request and carries out register.
Further, described download component 340 also comprises: search module, for searching the resource information corresponding with described content parameters information in described first server side, and the link information of described resource information is turned back to described browser client.
Browser client described above is corresponding with the process of the method for the search and webpage element described before, therefore, about more detailed ins and outs, and can see the method described before.
In sum, according to technique scheme of the present invention, after detecting in current web page that web page element is selected, the content parameters information of web page element and web page element type are sent searching request to search server, and at the Search Results that browser client display search server returns, directly can carry out function of search at browser client by the present invention, simplify operating process, save the running time of user.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to 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.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of searching in content item the some or all parts whether existed in the device of mark that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.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 realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Embodiments of the invention disclose a kind of method of A1, search and webpage element, comprising: what web page element in current web page detected pulls beginning event; Window is loaded in one preset position of page display area in a browser; Detect that web page element is pulled the regional extent entering into described window; Obtain the content parameters information of web page element, and send searching request according to described content parameters information with by the web page element type pulled to the first search server; Receive the search result information of the described searching request of correspondence that described first search server returns, and show at browser client.A2, method according to claim A1, wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.A3, method according to A1, wherein, described in detect and comprise the step pulling beginning event of web page element in current web page: what start that browser master routine detects web page element in current web page pulls beginning event.A4, method according to A3, wherein, also comprise: the type of specifying described web page element in advance, and detect the beginning event that pulls of the web page element of specified type.A5, method according to A1, wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser client.A6, method according to A1, wherein, described in detect that web page element is pulled the step of the regional extent entering into described window, comprising: in the regional extent of described window, the event that enters for web page element and release event detected.A7, method according to A1, wherein, described in detect that web page element is pulled the step of the regional extent entering into described window, also comprise: the color or the brightness that change mark word in the regional extent of this window or signature.A8, method according to A1, wherein, described first search server is the server of the configurable search engine of user.A9, method according to A1, wherein, also comprise: judge by the type of the web page element pulled, and send described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.A10, method according to A9, wherein, also comprise: according to current web page contents and carried out comprehensive intelligent decision by the type of the web page element pulled and use corresponding classified search; And/or use the search of user custom carry out comprehensive descision after determine to use corresponding classified search.A11, method according to A8, wherein, at browser client default setting search engine.A12, method according to A11, wherein, be configured with the classified search engine corresponding with the type of web page element at browser client.A13, method according to A1, wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.A14, method according to A1, wherein, if comprised the data of the first specific format by the type of the web page element pulled, then provide the display for the web page content information of the corresponding account of the data of this first specific format and/or access.A15, method according to A1, wherein, if comprised the label symbol of the data of mark second specific format by the web page element type pulled, then provide the display for the web page content information of the corresponding account of the data of this second specific format and/or access.A16, method according to A1, wherein, also comprise: the user totem information according to current browser client signs in described first search server, it comprises further: detect the legal Token mark whether described browser client has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server that writes direct, when signing in the first search server, the effective Token mark be written in described Cookie file being sent to the first search server request and carrying out register.A17, method according to A1, wherein, also comprise: search the resource information corresponding with described content parameters information in described first server this locality, and the link information of described resource information is turned back to described browser client.
The embodiment of the present invention further discloses B18, a kind of browser client, comprising: interface assembly, and it is configured to described browser client and draws interactive interface, receives the information of input and/or output display and user interactions; Networking component, it is configured to pass described interface assembly and triggers the network request of initiating, and what web page element in current web page detected pulls beginning event; Kernel component, it is configured to process, and described networking component detects pulls beginning event, resolves in a preset position of page display area in a browser after playing up and loads window; Download component, it comprises further: detect module, for detecting that web page element is pulled the regional extent entering into described window; Sending module, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server; Process module, for receiving the search result information of the described searching request of correspondence that described first search server returns, and shows at browser client.B19, browser client according to B18, wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.B20, browser client according to B18, wherein, described networking component also for, specify the type of described web page element in advance, and the beginning event that pulls of the web page element of specified type detected.B21, browser client according to B18, wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser client.B22, browser client according to B18, wherein, described detection module is further used for: in the regional extent of described window, the event that enters for web page element and release event detected.B23, browser client according to B18, wherein, described networking component detect web page element in current web page pull beginning event time, described kernel component changes color or the brightness of mark word in the regional extent of this window or signature.B24, browser client according to B18, wherein, described first search server is the server of the configurable search engine of user.B25, browser client according to B18, wherein, described download component also comprises: judge module, for judging by the type of the web page element pulled, described transmission module sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.B26, browser client according to B24, wherein, described browser client default setting search engine.B27, browser client according to B26, wherein, described browser client is configured with the classified search engine corresponding with the type of web page element.B28, browser client according to B18, wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.B29, browser client according to B18, wherein, if described detection module detects the data being comprised the first specific format by the type of the web page element pulled, then described process module provides display for the web page content information of the corresponding account of the data of this first specific format and/or access.B30, browser client according to B18, wherein, if described detection module detects the label symbol of the data being comprised mark second specific format by the web page element type pulled, then described process module provides display for the web page content information of the corresponding account of the data of this second specific format and/or access.B31, browser client according to B18, wherein, described download component also comprises: log in module, for signing in described first search server according to the user totem information of current browser client, described login module is further used for: detect the legal Token mark whether described browser client has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server that writes direct, when signing in the first search server, the effective Token mark be written in described Cookie file is sent to the first search server request and carries out register.B32, browser client according to B18, wherein, described download component also comprises: search module, for searching the resource information corresponding with described content parameters information in described first server this locality, and the link information of described resource information is turned back to described browser client.
The embodiment of the present invention further discloses the device of C33, a kind of search and webpage element, comprising: detect module, for detecting that web page element is pulled the regional extent entering into pre-loaded window; Sending module, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server; Process module, for receiving the search result information of the described searching request of correspondence that described first search server returns, and shows at browser client.C34, device according to C33, wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.C35, device according to C33, wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser client.C36, device according to C33, wherein, described detection module is further used for: in the regional extent of described window, the event that enters for web page element and release event detected.C37, device according to C33, wherein, described first search server is the server of the configurable search engine of user.C38, device according to C33, wherein, also comprise: judge module, for judging by the type of the web page element pulled, described transmission module sends described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.C39, device according to C37, wherein, described browser client default setting search engine.C40, device according to C39, wherein, described browser client is configured with the classified search engine corresponding with the type of web page element.C41, device according to C33, wherein, the content parameters information of described web page element, comprising: by the descriptor of this web page element in one of description attribute pulling web page element, web page contents.C42, device according to C33, wherein, if described detection module detects the data being comprised the first specific format by the type of the web page element pulled, then described process module provides display for the web page content information of the corresponding account of the data of this first specific format and/or access.C43, device according to C33, wherein, if described detection module detects the label symbol of the data being comprised mark second specific format by the web page element type pulled, then described process module provides display for the web page content information of the corresponding account of the data of this second specific format and/or access.C44, device according to C33, wherein, also comprise: log in module, for signing in described first search server according to the user totem information of current browser client, described login module is further used for: detect the legal Token mark whether described browser client has login user, if then described legal Token is identified in the cookie file of the network address corresponding to described first search server that writes direct, when signing in the first search server, the effective Token mark be written in described Cookie file is sent to the first search server request and carries out register.C45, device according to C33, wherein, also comprise: search module, for searching the resource information corresponding with described content parameters information in described first server this locality, and the link information of described resource information turned back to described browser client.

Claims (10)

1. a method for search and webpage element, comprising:
What web page element in current web page detected pulls beginning event;
Window is loaded in one preset position of page display area in a browser;
Detect that web page element is pulled the regional extent entering into described window;
Obtain the content parameters information of web page element, and send searching request according to described content parameters information with by the web page element type pulled to the first search server;
Receive the search result information of the described searching request of correspondence that described first search server returns, and show at browser client.
2. method according to claim 1, wherein, the type of described web page element comprises following one or a combination set of: text, picture, video, network address, webpage, file.
3. method according to claim 1, wherein, described in detect and comprise the step pulling beginning event of web page element in current web page:
What start the web page element in browser master routine detection current web page pulls beginning event.
4. method according to claim 3, wherein, also comprises:
Specify the type of described web page element in advance, and the beginning event that pulls of the web page element of specified type is detected.
5. method according to claim 1, wherein, described window is the independent window floating over subwindow on current browser customer terminal webpage display window or top set generated by browser client.
6. method according to claim 1, wherein, described first search server is the server of the configurable search engine of user.
7. method according to claim 1, wherein, also comprises:
Judge by the type of the web page element pulled, and send described searching request according to the type of described content parameters information and described web page element to the classified search engine of the first search server of correspondence.
8. method according to claim 7, wherein, also comprises:
The classified search that comprehensive intelligent decision uses correspondence is carried out according to current web page contents and by the type of the web page element pulled; And/or
Use the search of user custom carry out comprehensive descision after determine to use corresponding classified search.
9. a browser client, comprising:
Interface assembly, it is configured to described browser client and draws interactive interface, receives the information of input and/or output display and user interactions;
Networking component, it is configured to pass described interface assembly and triggers the network request of initiating, and what web page element in current web page detected pulls beginning event;
Kernel component, it is configured to process, and described networking component detects pulls beginning event, resolves in a preset position of page display area in a browser after playing up and loads window;
Download component, it comprises further:
Detect module, for detecting that web page element is pulled the regional extent entering into described window;
Sending module, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server;
Process module, for receiving the search result information of the described searching request of correspondence that described first search server returns, and shows at browser client.
10. a device for search and webpage element, comprising:
Detect module, for detecting that web page element is pulled the regional extent entering into pre-loaded window;
Sending module, for obtaining the content parameters information of web page element, and sending searching request according to described content parameters information with by the web page element type pulled to the first search server;
Process module, for receiving the search result information of the described searching request of correspondence that described first search server returns, and shows at browser client.
CN201410642967.XA 2014-11-07 2014-11-07 The method, apparatus and browser client of search and webpage element Active CN104346461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410642967.XA CN104346461B (en) 2014-11-07 2014-11-07 The method, apparatus and browser client of search and webpage element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410642967.XA CN104346461B (en) 2014-11-07 2014-11-07 The method, apparatus and browser client of search and webpage element

Publications (2)

Publication Number Publication Date
CN104346461A true CN104346461A (en) 2015-02-11
CN104346461B CN104346461B (en) 2018-05-04

Family

ID=52502052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410642967.XA Active CN104346461B (en) 2014-11-07 2014-11-07 The method, apparatus and browser client of search and webpage element

Country Status (1)

Country Link
CN (1) CN104346461B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775651A (en) * 2016-11-25 2017-05-31 广州酷狗计算机科技有限公司 Web page element displacement method and device
CN106843910A (en) * 2017-03-10 2017-06-13 锐达互动科技股份有限公司 A kind of method and system that Web page picture is dragged to software interface
CN107066172A (en) * 2017-02-16 2017-08-18 北京小米移动软件有限公司 The document transmission method and device of mobile terminal
CN107885512A (en) * 2017-11-14 2018-04-06 维沃移动通信有限公司 A kind of application program installation method, mobile terminal
CN108733814A (en) * 2018-05-21 2018-11-02 Oppo广东移动通信有限公司 Search engine preloads method, apparatus, storage medium and terminal
CN109343776A (en) * 2018-08-21 2019-02-15 北京奇艺世纪科技有限公司 A kind of customized page generation method, device and terminal device
CN110709836A (en) * 2017-11-07 2020-01-17 谷歌有限责任公司 Reacting to location changes on a web page

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5873055A (en) * 1995-06-14 1999-02-16 Sharp Kabushiki Kaisha Sentence translation system showing translated word and original word
CN101446969A (en) * 2008-12-15 2009-06-03 腾讯科技(深圳)有限公司 Drag and drop search method and system thereof
US20090228353A1 (en) * 2008-03-05 2009-09-10 Microsoft Corporation Query classification based on query click logs
CN101661498A (en) * 2009-09-16 2010-03-03 百度在线网络技术(北京)有限公司 Information search method and device
CN103092972A (en) * 2013-01-24 2013-05-08 华为技术有限公司 Searching method and device based on clue objects
CN103631875A (en) * 2013-11-08 2014-03-12 北京奇虎科技有限公司 Method for carrying out network search on browser side and browser
CN103778252A (en) * 2014-02-24 2014-05-07 武汉传神信息技术有限公司 Method for collecting information fragments

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5873055A (en) * 1995-06-14 1999-02-16 Sharp Kabushiki Kaisha Sentence translation system showing translated word and original word
US20090228353A1 (en) * 2008-03-05 2009-09-10 Microsoft Corporation Query classification based on query click logs
CN101446969A (en) * 2008-12-15 2009-06-03 腾讯科技(深圳)有限公司 Drag and drop search method and system thereof
CN101661498A (en) * 2009-09-16 2010-03-03 百度在线网络技术(北京)有限公司 Information search method and device
CN103092972A (en) * 2013-01-24 2013-05-08 华为技术有限公司 Searching method and device based on clue objects
CN103631875A (en) * 2013-11-08 2014-03-12 北京奇虎科技有限公司 Method for carrying out network search on browser side and browser
CN103778252A (en) * 2014-02-24 2014-05-07 武汉传神信息技术有限公司 Method for collecting information fragments

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775651A (en) * 2016-11-25 2017-05-31 广州酷狗计算机科技有限公司 Web page element displacement method and device
CN107066172A (en) * 2017-02-16 2017-08-18 北京小米移动软件有限公司 The document transmission method and device of mobile terminal
CN106843910A (en) * 2017-03-10 2017-06-13 锐达互动科技股份有限公司 A kind of method and system that Web page picture is dragged to software interface
CN110709836A (en) * 2017-11-07 2020-01-17 谷歌有限责任公司 Reacting to location changes on a web page
CN110709836B (en) * 2017-11-07 2023-08-15 谷歌有限责任公司 Reaction to a change in location on a web page
CN107885512A (en) * 2017-11-14 2018-04-06 维沃移动通信有限公司 A kind of application program installation method, mobile terminal
CN107885512B (en) * 2017-11-14 2019-08-16 维沃移动通信有限公司 A kind of application program installation method, mobile terminal
CN108733814A (en) * 2018-05-21 2018-11-02 Oppo广东移动通信有限公司 Search engine preloads method, apparatus, storage medium and terminal
CN108733814B (en) * 2018-05-21 2021-07-23 Oppo广东移动通信有限公司 Search engine preloading method and device, storage medium and terminal
CN109343776A (en) * 2018-08-21 2019-02-15 北京奇艺世纪科技有限公司 A kind of customized page generation method, device and terminal device

Also Published As

Publication number Publication date
CN104346461B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN104346461A (en) Method and device of searching webpage element as well as browser client
CN104077387B (en) A kind of web page contents display methods and browser device
US9846699B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
KR102006396B1 (en) Identifying matching applications based on browsing activity
CN103034517B (en) Browser controls tool loads method and apparatus
CN108846087A (en) A kind of page rendering method, apparatus, terminal and server
CN103034518B (en) The method and browser of loading browser control instrument
US9110749B2 (en) Digital content bundle
CN102982174B (en) A kind of browser carries out method and the device of Webpage search
US10110966B2 (en) Method, device, server and client device for video processing
US8316006B2 (en) Creating an ontology using an online encyclopedia and tag cloud
CN103631630B (en) Dynamic skin loading method for browser and browser device
US20160210678A1 (en) Systems for generating a global product taxonomy
CN108363792A (en) Link generation method, device, storage medium and the electronic equipment of five application page
CN102298614A (en) Method for determining collection category of page collection information and device and equipment
CN104346462A (en) Method and device for saving web page elements, and browser client
CN102982149A (en) Browse method and browse device utilizing browser user online shopping information, and browser
CN103699597A (en) Method for downloading file through browser and browser
CN111596998A (en) Page processing method of ink screen and terminal
CN103020239A (en) Web searching method and device
CN103514282A (en) Method and device for displaying search results of videos
CN104346465A (en) Method and device for saving web page elements, and browser client
KR20170137815A (en) Access to ad application state from current application state
CN105915615A (en) Method for displaying application information in mobile equipment and device thereof
US20130024312A1 (en) Identifying a secondary designation of an item

Legal Events

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

Effective date of registration: 20220729

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.

TR01 Transfer of patent right