CN103902727B - Network search method and device - Google Patents

Network search method and device Download PDF

Info

Publication number
CN103902727B
CN103902727B CN201410145336.7A CN201410145336A CN103902727B CN 103902727 B CN103902727 B CN 103902727B CN 201410145336 A CN201410145336 A CN 201410145336A CN 103902727 B CN103902727 B CN 103902727B
Authority
CN
China
Prior art keywords
search
local
web
result
input content
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
CN201410145336.7A
Other languages
Chinese (zh)
Other versions
CN103902727A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410145336.7A priority Critical patent/CN103902727B/en
Publication of CN103902727A publication Critical patent/CN103902727A/en
Application granted granted Critical
Publication of CN103902727B publication Critical patent/CN103902727B/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

Landscapes

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

Abstract

The invention discloses a kind of network search method and device based on operating system.The method includes:Obtain the input content in the local search input frame that operating system provides;Web search is carried out to the input content, and obtains corresponding web search results;The web search results are shown in result shows forms.The local search input frame that operating system carries is extended to web search input frame by the present invention.Solve the problems, such as that traditional web search needs to occupy a large amount of source of screen and the text box with function of search needs artificial installation.

Description

Network search method and device
Technical field
The present embodiments relate to the communication technology and information retrieval field more particularly to a kind of network search methods and dress It sets.
Background technology
With the development of Internet technology, web search has become essential resource in people's live and work and obtains Take mode.
In the prior art, traditional web search is usually to be realized using browser, and user opens browser and visits Ask have the website of function of search, input retrieval type carries out web search.This traditional web search needs to occupy a large amount of Source of screen, as shown in Figure 1, usually actual search result but only accounts for the sub-fraction of source of screen, a large amount of interfaces are by blank It occupies, under large-screen display, this waste is more obvious.
The corresponding text box with function of search is searched for traditional network, for example, various desktop searching tools, such as Fig. 2 institutes Show, although having saved source of screen, needs artificial installation.Also, usually the text box with function of search can only generally be shown Show plain text content, the too simple dullness of search result of return can not the abundant web page element such as exhibiting pictures.
Invention content
In view of this, a kind of network search method of offer of the embodiment of the present invention and device, solve traditional web search Need the problem for occupying a large amount of source of screen and the text box operations inconvenience with function of search.
In a first aspect, an embodiment of the present invention provides a kind of network search methods, including:
Obtain the input content in the local search input frame that operating system provides;
Web search is carried out to the input content, and obtains corresponding web search results;
The web search results are shown in result shows forms.
In second aspect, an embodiment of the present invention provides a kind of web search devices, including:
Input content acquiring unit, the input content in local search input frame for obtaining operating system offer;
Web search results acquiring unit for carrying out web search to the input content, and obtains corresponding network Search result;
First display unit, for showing the web search results in result shows forms.
The embodiment of the present invention is by obtaining the input content in the local search input frame that operating system provides;To described defeated Enter content and carry out web search, and obtains corresponding web search results;The web search results are shown into forms in result The local search input frame that operating system carries is extended to web search input frame, most by the middle technological means shown On the basis of the reduction development cost of big degree, the function of search of local search input frame is expanded.Solves traditional network Search needs to occupy the search result of a large amount of source of screen and the text box return with function of search and too simple dullness, The problems such as can not showing abundant web page element.User only passes through shirtsleeve operation, you can quickly realizes web search and energy Abundant display is enough obtained as a result, learning cost is low, search efficiency is high.
Description of the drawings
Fig. 1 is the search result schematic diagram of traditional web search in the prior art;
Fig. 2 is the search result schematic diagram of the text box in the prior art with function of search;
Fig. 3 is a kind of flow chart of network search method of first embodiment of the invention;
Fig. 4 is the schematic diagram of the local search input frame under start menu in Microsoft Windows7 operating systems;
Fig. 5 is a kind of flow chart of network search method of second embodiment of the invention;
Fig. 6 is a kind of flow chart of network search method of third embodiment of the invention;
Fig. 7 is a kind of Microsoft obtained by Microsoft spy++ softwares of third embodiment of the invention The schematic diagram of local search input frame under Windows7 system start menus;
Fig. 8 is one kind interactive schematic diagram corresponding with the operation of expanded search frame of third embodiment of the invention;
Fig. 9 is a kind of schematic diagram being created in webpage control on search result forms of third embodiment of the invention;
Figure 10 is that the content in a kind of frame to local search of third embodiment of the invention carries out network and local search Interaction schematic diagram;
Figure 11 is one kind of third embodiment of the invention in result shows forms while showing that local search and network are searched The schematic diagram of rope;
Figure 12 is a kind of interaction schematic diagram of webpage frame readjustment of third embodiment of the invention;
Figure 13 is a kind of search result display schematic diagram in practical applications of third embodiment of the invention;
Figure 14 is another search result display schematic diagram in practical applications of third embodiment of the invention.
Figure 15 is a kind of structure chart of web search device of fourth embodiment of the invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with the accompanying drawings to of the invention specific real Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that illustrating only for ease of description, in attached drawing related to the present invention Part rather than full content.
First embodiment
Fig. 3 is a kind of flow chart of network search method of first embodiment of the invention, and the method for the present embodiment can be by Web search device executes, which can be realized by way of hardware and/or software.Preferably, the device is with third party APP(Application, application program)Mode install(For example, the device is installed with Desktop search applications), with operation System cooperation executes, and can also change origin operation system to realize.The method of the present embodiment specifically includes following operation:
310, the input content in the local search input frame that operating system provides is obtained.
Wherein, it different operating system provides the quantity of local search input frame, position and recalls method and has nothing in common with each other.It lifts For example, for Microsoft Windows7 operating systems, including there are two local search input frames, wherein one Local search input frame is located under start menu, as shown in figure 4, can be by way of mouse click or by lower keyboard The mode of corresponding function key directly recalls, and can be directly used for the application program and file of fast search local;Another local is searched It searches input frame to be located in " my computer ", user can call in the local search input frame by way of mouse click.
In the present embodiment, what web search device can be set in local search input frame starts to search for button by point It hits(Or point touches)Afterwards(For example, being inputted for local search under start menu in Microsoft Windows7 operating systems in Fig. 4 Frame starts search button 410), obtain the input content in above-mentioned local search input frame.Specifically, web search device can It described ought start search button with monitoring to be clicked(Or it is touched by point)Afterwards, the startup search message that operating system is sent, if The startup search message is listened to, web search device obtains the input content in the local search input frame;
Web search device can also be after the input content in local search input frame be changed(Increase input content or Person deletes input content), obtain the content in the local search input frame.Typically, when operating system is Microsoft When Windows operating system, web search device can be the local search input frame registration message hook(Hook), it is used for The startup search message of the local search input frame is monitored,(That is, the input content in local search input frame is changed Afterwards, the message that operating system is sent)And trigger the input content obtained in described search input frame.
Wherein, Hook is a platform of Microsoft windows messaging treatment mechanisms, and application program can be above Sub- journey is set to monitor certain message of specified window, and the window monitored can be that other processes are created.When disappearing After breath reaches, handles the preceding of function in target window and handle it.Hook Mechanism allows application program to intercept and capture processing window message Or particular event.
320, web search is carried out to the input content, and obtains corresponding web search results.
In the present embodiment, web search device can realize the web search to input content by webpage control. Typically, web search device notifies the input content to the corresponding script function in webpage control, the script function It obtains sending inquiry request from trend server after the input content, and obtains corresponding web search results.The webpage control Part is provided by web search device.
Preferably, web search device can also carry out other than it can carry out web search to the input content Local search, and obtain corresponding local search results.Wherein, web search device can searching by call operation system Rope service interface program carries out local search to the input content and obtains corresponding search result;Or web search device The search service interface routine of disable operation system calls customized search plug-in unit to carry out local search to the input content And obtain corresponding search result.Using the customized search plug-in unit of web search device, it may be implemented that function is more rich to search Rope algorithm.
330, the web search results are shown in result shows forms.
In the present embodiment, which shows that forms can be the original local search display box provided of operating system; It can be the search result display box of the self-defined setting of web search device.Wherein, if the self-defined setting of web search device Search result display box, the parameters such as the display location of the search result display box, the size of display area can be according to practical feelings Condition is preset, and is not limited this.
Preferably, web search device invoking web page control realizes that result shows forms, and the result display window is arranged The regional extent for the local search display box that the regional extent covering operating system of body provides.Wherein, invoking web page control is realized As a result while showing forms, further include:
Inhibit to show the local search display box;Or
It shows that the lower layer of forms shows the local search display box in the result, and disables the local search and show The input function of frame.
Using aforesaid way, on the one hand, web search device can flexibly the control result form and content that show, another party Face, this variation of unaware for a user, the display box that user sees covers local search display box, so being not in The ill effect that multiple display box splits are shown.
In the present embodiment, it as a result shows that forms can be any type of forms, this is not limited.Preferably, on It states result and shows that forms are specially search preview forms.
The embodiment of the present invention is by obtaining the input content in the local search input frame that operating system provides;To described defeated Enter content and carry out web search, and obtains corresponding web search results;The web search results are shown into forms in result The local search input frame that operating system carries is extended to web search input frame, most by the middle technological means shown On the basis of the reduction development cost of big degree, the function of search of local search input frame is expanded.Solves traditional network Search needs to occupy the search result of a large amount of source of screen and the text box return with function of search and too simple dullness, The problems such as can not showing abundant web page element.User only passes through shirtsleeve operation, you can quickly realizes web search and energy Abundant display is enough obtained as a result, learning cost is low, search efficiency is high.
Second embodiment
Fig. 5 is a kind of flow chart of network search method of second embodiment of the invention, and the present embodiment is with above-described embodiment Based on optimize, in the present embodiment, preferably operation obtain operating system provide local search input frame in After input content, further include:The local search of equipment where carrying out operating system to the input content, and obtain corresponding Local search results;The local search results are shown in result shows forms.Correspondingly, the method for the present embodiment Specifically include following operation:
510, the input content in the local search input frame that operating system provides is obtained.
520, the input content is transferred to the network inquiry script in webpage control, to indicate the network inquiry foot This obtains the search result that the network server returns after sending inquiry request to network server according to the input content.
In the present embodiment, web search device by webpage control to realize the web search to above-mentioned input content.
Preferably, web search is carried out according to above-mentioned input content, matching principle based on setting obtain web page interlinkage and/ Or webpage connector, by the web page interlinkage and/or the operation result of the webpage connector, as the web search results.
530, the search service interface routine of call operation system carries out local search to the input content;Described in acquisition The search result that search service interface routine returns calls search plug-in unit to scan for the sieve of result according to the screening rule of setting Corresponding local search results are obtained after choosing.
In the present embodiment, web search device is in addition to using the local search input frame that operating system provides to carry out net Except network search, the local search function of operating system local search input frame itself is also retained.Wherein, web search device The search service interface routine of call operation system carries out local search to the input content first, obtains described search service The search result that interface routine returns.Because to show local search results and web search results two in result shows forms Partial content, so the search result number obtained is needed to simplify as far as possible.Therefore, described search service interface journey is being obtained After the search result that sequence returns, web search device calls customized search plug-in unit to be searched according to the screening rule of setting Corresponding local search results are obtained after the screening of hitch fruit.
540, invoking web page control realizes that result shows forms, and the regional extent covering that the result shows forms is arranged The regional extent for the local search display box that operating system provides;By the web search results in the result shows forms It is shown.
In the present embodiment, in order to enable the display of search result is more abundant and diversification, web search device do not make With the primary local search display box of operating system, but a newly-built result shows forms.Meanwhile in order to reduce as far as possible User shows the result that is newly added the adaptation process of forms, it is required that newly-built result show forms as far as possible with system Primary local search display box is consistent, that is, the result is arranged and shows that the regional extent covering operating system of forms provides Local search display box regional extent after by the web search results the result show forms in show.Its In, web search device can inhibit to show that the local search is shown when invoking web page control realizes that result shows forms Frame;It can also show that the lower layer of forms shows the local search display box in the result, and it is aobvious to disable the local search Show the input function of frame.
The embodiment of the present invention is by obtaining the input content in the local search input frame that operating system provides;To described defeated Enter content and carry out web search and local search, and obtains corresponding web search results and local search results;By the net Network search result and local search results show the technological means shown in forms in result, included in reservation operations system Local search input frame local search function except, extend web search function, it is maximum reduce exploitation at On the basis of this, the function of search of local search input frame is expanded.The use of system original function is not influenced, and user inputs text After word, file search and web search are carried out at the same time.It, can be aobvious at the top of result bar or tail portion if there is matched file Show, allow user search for network while, also to greatest extent document retaining search function.Solving traditional web search needs Occupy the search result of a large amount of source of screen and the text box return with function of search and too simple dullness, no Faxian The problems such as showing abundant web page element.User only passes through shirtsleeve operation, you can quickly realizes web search and local search And abundant display can be obtained as a result, learning cost is low, search efficiency is high.
3rd embodiment
Fig. 6 is a kind of flow chart of network search method of third embodiment of the invention, and the present embodiment is in above-mentioned each reality Apply a kind of concrete application scene on the basis of example.In the present embodiment, operating system is the behaviour of Microsoft Windows7 Make system;Operating system provides the sheet under the start menu that local search input frame is Microsoft Windows7 operating systems Input frame is searched on ground.In the present embodiment, due to the API on the not open start menu column of Windows systems(Application Programming Interface, application programming interface), therefore the method for the more general simplicity of neither one is realized The web search device of various embodiments of the present invention.But Windows provides powerful message mechanism, and developer can lead to The mode of SubClassing forms is crossed to realize the web search device of various embodiments of the present invention.Correspondingly, the method tool of the present embodiment Body includes following operation:
610, expanded search frame.
In the present embodiment, Microsoft Windows7 systems still realize start menu circle using traditional forms Face, therefore we are easily found the local search input frame under start menu.
A kind of Microsoft Windows7 systems obtained by Microsoft spy++ softwares are shown in FIG. 7 The schematic diagram of local search input frame under start menu.Wherein, Microsoft Spy++ are a for checking Windows The window of operating system, the tool of message, process, thread information.
As shown in fig. 7, the local search input frame under the start menu obtained by Microsoft spy++ softwares is " Desktop Search Open View ", meanwhile, obtain the establishment type of the corresponding forms of above-mentioned input frame “DirectUIHWND(Paint on parent dc directly, directly draw on parent window)", i.e., child window is not with window The form of mouth handle creates, and only window in logic, is plotted on parent window.
Web search device can register a Hook to catch after obtaining above-mentioned local search input frame to the search box Its message is caught, more features are extended with this.Specifically, the startup search for being monitored the local search input frame using Hook is disappeared Breath, and trigger the input content obtained in described search input frame.
Preferably, if the local search input frame is activated, background text is carried out to the local search input frame Repaint.For example, the background in the local search input frame can be repainted as " using Baidu.com, you are known that ", is searched Rope icon can also replace with the icon of Baidu, preferably incorporate sense to obtain.
Interactive schematic diagram corresponding with the operation of expanded search frame is shown in FIG. 8.As shown in figure 8, by start dish Local search input frame under singly registers a Hook, specifically, by using SetWindowsHook sentences, when the user clicks After the start menu of Microsoft Windows7 operating systems, the local search input frame under start menu is activated, at this point, The background text of the included local search input frame of operating system is repainted, meanwhile, search icon also replaces with the icon of Baidu. When the user clicks after corresponding search icon, web search device can by triggering corresponding application program, typically, Desktop Plugin(Multipad), to carry out corresponding network and local search.
620, the Preview List of acquiescence is replaced using webpage control.
Because the included acquiescence Preview List of Microsoft Windows7 operating systems is only able to display some simple letters Breath, and most web search results are often with title, summary or even Aladdin module(Knot based on Baidu's Webpage search Structure data or webpage connector)Demand is cannot be satisfied Deng the included list of, system, so in the present embodiment, just no longer making Result preview is scanned for the Preview List of system default.After first character is entered in local search frame, network is searched Rope device captures by Hook and filters the message, while notifications menu column manager enters search interface, allows menu bar forms It is smoothly transitted into the included result of operating system and shows forms.
The use of webpage control is most convenient in view of the content of the complexity such as Aladdin to be shown.Menu bar only need to be directed to The result page of a setting style is done in search, and many existing Aladdin modules all can directly be shown.And have benefited from webpage Line characteristic, it is all show it is all capable of on-line, without updating desktop programs.
Therefore a webpage control is created on the included search result forms of above system, and keeps size and original Preview List is consistent, you can the arbitrary pattern for defining menu bar search.A kind of being created in webpage control is shown in FIG. 9 to search Schematic diagram on hitch fruit forms.
630, keyword is captured to input and initiate searching request.
In the present embodiment, after content changing in local search frame, web search device can re-initiate network And local search, to update corresponding web search results and local search results.
For web search, this process can give the realization of the script function in webpage control:Web search device only needs The keyword captured is notified to the script function in webpage control, script function obtains after keyword immediately from trend service Device high in the clouds sends inquiry request.
For local search, then immediately begin to scan for common file.If the included search service of system (Windows Search Service)It has turned on, the interface of the service can be directly invoked, faster carry out local file and look into It askes.Correspondingly, in order to enable query result more precisely, succinctly, can use the customized search plug-in unit of web search device Corresponding local search results are obtained after being screened to the search result that the search service that system carries generates;Or disabling system The included search service interface routine of system, and call described search plug-in unit to carry out local search to the input content and obtain phase The search result answered.The interaction that the content being shown in FIG. 10 in a kind of frame to local search carries out network and local search is shown It is intended to.
640, network and local search data are handled and is shown.
After network inquiry asks to return to web search results, script function in webpage control is by corresponding web search As a result it is converted into web page element, dynamic update is shown in the page in current search result preview forms.
When a result met often occurs in local search, file path is notified into the script function in webpage control, Its displaying is equally controlled by script function.
Preferably, in the previews of entire search result, the page remains no refresh mode, prevents white screen Etc. disagreeableness experience.
Preferably, it is contemplated that the delay that loading page is likely to occur for the first time can allow the local program of operating system to start When, it preloads the page and caches so that user also can guarantee certain fluency when searching for for the first time.
In addition, can substantially be carried using the form displaying of webpage as a result, eliminate typesetting and the drawing process of program complexity Rise the innovation for showing pattern.Such as Similar content folds, bottom shows " display is more ", and fade out smooth special efficacy etc., it can Arbitrarily to give free rein to one's imagination.It is shown in FIG. 11 and a kind of in result shows forms while showing local search and web search Interaction schematic diagram.
650, webpage frame callback interface is provided.
Although webpage frame is easy to use, because its permission is relatively low, the primary work of some systems can not be completed.Such as When local search file is clicked, need associated application program in start-up operation system, these work can only be by outer shell side Sequence is realized.Therefore, when creating webpage frame control, part system interface need to be provided and used for page script function, to realize net The impossible work of page script function.A kind of interaction schematic diagram of webpage frame readjustment is shown in FIG. 12, as shown in figure 12, When the user clicks after local search file hello.doc, page script can be notified by command functions window.external The method of application program(For example, openFile etc.), then pass through the API of call operation system(For example, ShellExecute Deng)Open corresponding file.
To sum up, by aforesaid operations, a complete procedure of the network search method of the present embodiment is completed.Wherein, exist The search result display schematic diagram of the present embodiment in practical applications is respectively illustrated in Figure 13 and Figure 14.
The embodiment of the present invention is by obtaining the input content in the local search input frame that operating system provides;To described defeated Enter content and carry out web search and local search, and obtains corresponding web search results and local search results;By the net Network search result and local search results show the technological means shown in forms in result, included in reservation operations system Local search input frame local search function except, extend web search function, it is maximum reduce exploitation at On the basis of this, the function of search of local search input frame is expanded.The use of system original function is not influenced, and user inputs text After word, file search and web search are carried out at the same time.It, can be aobvious at the top of result bar or tail portion if there is matched file Show, allow user search for network while, also to greatest extent document retaining search function.Solving traditional web search needs It occupies a large amount of source of screen and the text box with function of search needs the search result artificially installed and returned mistake again In simple dull, the problems such as can not showing abundant web page element.User only passes through shirtsleeve operation, you can quickly realizes net Network is searched for and local search and can obtain abundant display as a result, learning cost is low, search efficiency height.
Fourth embodiment
A kind of structure chart of web search device is shown in FIG. 15.As shown in figure 15, described device includes:
Input content acquiring unit 1501, for obtaining in the input in the local search input frame that operating system provides Hold;
Web search results acquiring unit 1502 for carrying out web search to the input content, and obtains corresponding Web search results;
First display unit 1503, for showing the web search results in result shows forms.
The embodiment of the present invention is by obtaining the input content in the local search input frame that operating system provides;To described defeated Enter content and carry out web search, and obtains corresponding web search results;The web search results are shown into forms in result The local search input frame that operating system carries is extended to web search input frame, most by the middle technological means shown On the basis of the reduction development cost of big degree, the function of search of local search input frame is expanded.Solves traditional network Search needs to occupy the search result of a large amount of source of screen and the text box return with function of search and too simple dullness, The problems such as can not showing abundant web page element.User only passes through shirtsleeve operation, you can quickly realizes web search and energy Abundant display is enough obtained as a result, learning cost is low, search efficiency is high.
On the basis of the various embodiments described above, the display unit is specifically used for:
Invoking web page control realizes that result shows forms, and the regional extent covering operation that the result shows forms is arranged The regional extent for the local search display box that system provides;
The web search results are shown in the result shows forms.
On the basis of the various embodiments described above, the display unit is additionally operable to:
While invoking web page control realizes that result shows forms, inhibit to show the local search display box;Alternatively, adjusting While realizing that result shows forms with webpage control, show that the lower layer of forms shows that the local search is shown in the result Frame, and disable the input function of the local search display box.
On the basis of the various embodiments described above, the web search results acquiring unit is specifically used for:
The input content is transferred to the network inquiry script in webpage control, to indicate the network inquiry script root According to the input content inquiry request is sent to network server;Obtain the search result that the network server returns.
On the basis of the various embodiments described above, further include:
Loading unit, after the web search results are shown in result display forms, if Clicking operation of the user to web search results is obtained, local application, load are called by the interface that webpage control provides The web search results.
On the basis of the various embodiments described above, further include:
Local search results acquiring unit, for the input in the local search input frame of the acquisition operating system offer After content, the local search of equipment where carrying out operating system to the input content, and obtain corresponding local search knot Fruit;Second display unit, for showing the local search results in result shows forms.
On the basis of the various embodiments described above, the local search results acquiring unit is specifically used for:
The search service interface routine of call operation system carries out local search to the input content;Obtain described search The search result that service interface program returns, after calling search plug-in unit to scan for the screening of result according to the screening rule of setting Obtain corresponding local search results;Or the search service interface routine of disable operation system, and call described search plug-in unit Local search is carried out to the input content and obtains corresponding search result.
On the basis of the various embodiments described above, the web search results acquiring unit is specifically used for:
Web search is carried out according to the input content, the matching principle based on setting obtains web page interlinkage and/or webpage Plug-in unit, by the web page interlinkage and/or the operation result of the webpage connector, as the web search results.
On the basis of the various embodiments described above, further include:
Monitoring unit is used for before the input content in the local search input frame that the acquisition operating system provides, is The local search input frame registration message hook of operating system, the startup for monitoring the local search input frame, which is searched for, to disappear Breath, and trigger the input content obtained in described search input frame.
On the basis of the various embodiments described above, further include,
Unit is repainted, before the input content in the local search input frame that the acquisition operating system provides, If the local search input frame is activated, background text is carried out to the local search input frame and is repainted.
The web search device that the embodiment of the present invention is provided can be used for executing the network that any embodiment of the present invention provides Searching method has corresponding function module, realizes identical advantageous effect.
Obviously, it will be understood by those skilled in the art that each module of the above invention or each step can be by as above The server implementation.Optionally, the embodiment of the present invention can be realized with the program that computer installation can perform, so as to It is executed by a processor with being stored in storage device, the program can be stored in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc.;Or they are fabricated to each A integrated circuit modules, or by them multiple modules or step be fabricated to single integrated circuit module and realize.In this way, The present invention is not limited to the combinations of any specific hardware and software.
The foregoing is merely the preferred embodiment of the present invention, are not intended to restrict the invention, for those skilled in the art For, the present invention can have various modifications and changes.It is all within spirit and principles of the present invention made by any modification, equivalent Replace, improve etc., it should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of network search method, which is characterized in that including:
Obtain the input content in the local search input frame that operating system provides;
Web search is carried out to the input content, and obtains corresponding web search results;
The web search results are shown in result shows forms;
It is described that web search is carried out to the input content, and obtain corresponding web search results and include:
Web search is carried out according to the input content, the matching principle based on setting obtains webpage connector, and the webpage is inserted The operation result of part, as the web search results;
It is described by the web search results result show forms in carry out display include:
Invoking web page control realizes that result shows forms, and the result is arranged and shows that the regional extent of forms covers operating system The regional extent of the local search display box of offer;The web search results are shown in the result shows forms Show;
While invoking web page control realizes that result shows forms, further include:
Inhibit to show the local search display box;Or show that the lower layer of forms shows that the local search is aobvious in the result Show frame, and disables the input function of the local search display box.
2. network search method according to claim 1, which is characterized in that described to be searched to input content progress network Rope, and obtain corresponding web search results and include:
The input content is transferred to the network inquiry script in webpage control, to indicate the network inquiry script according to institute It states input content and sends inquiry request to network server;
Obtain the search result that the network server returns.
3. network search method according to claim 1, which is characterized in that by the web search results in the result After being shown in display forms, further include:
If obtaining clicking operation of the user to web search results, locally applied journey is called by the interface that webpage control provides Sequence loads the web search results.
4. network search method according to claim 1, which is characterized in that the local for obtaining operating system offer is searched After input content in rope input frame, further include:
The local search of equipment where carrying out operating system to the input content, and obtain corresponding local search results;
The local search results are shown in result shows forms.
5. network search method according to claim 4, which is characterized in that described to carry out local search to the input content Rope, obtaining corresponding local search results includes:
The search service interface routine of call operation system carries out local search to the input content;Obtain described search service The search result that interface routine returns obtains after calling search plug-in unit to scan for the screening of result according to the screening rule of setting Corresponding local search results;Or
The search service interface routine of disable operation system, and described search plug-in unit is called to carry out local search to the input content Rope simultaneously obtains corresponding search result.
6. network search method according to claim 1, which is characterized in that the local for obtaining operating system offer is searched Before input content in rope input frame, further include:
For the local search input frame registration message hook of operating system, the startup for monitoring the local search input frame is searched Rope message, and trigger the input content obtained in described search input frame.
7. network search method according to claim 1, which is characterized in that in the local that the acquisition operating system provides It searches for before the input content in input frame, further includes:
If the local search input frame is activated, background text is carried out to the local search input frame and is repainted.
8. a kind of web search device, which is characterized in that including:
Input content acquiring unit, the input content in local search input frame for obtaining operating system offer;
Web search results acquiring unit for carrying out web search to the input content, and obtains corresponding web search As a result;
First display unit, for showing the web search results in result shows forms;
The web search results acquiring unit is specifically used for:
Web search is carried out according to the input content, the matching principle based on setting obtains webpage connector, and the webpage is inserted The operation result of part, as the web search results;
The display unit is specifically used for:
Invoking web page control realizes that result shows forms, and the result is arranged and shows that the regional extent of forms covers operating system The regional extent of the local search display box of offer;The web search results are shown in the result shows forms Show;
The display unit is additionally operable to:
While invoking web page control realizes that result shows forms, inhibit to show the local search display box;Alternatively, calling net While page control realizes that result shows forms, show that the lower layer of forms shows the local search display box in the result, And disable the input function of the local search display box.
9. web search device according to claim 8, which is characterized in that the web search results acquiring unit is specific For:
The input content is transferred to the network inquiry script in webpage control, to indicate the network inquiry script according to institute It states input content and sends inquiry request to network server;
Obtain the search result that the network server returns.
10. web search device according to claim 8, which is characterized in that further include:
Loading unit, after being shown the web search results in result display forms, if obtained User is to the clicking operation of web search results, the interface calling local application provided by webpage control, described in load Web search results.
11. web search device according to claim 8, which is characterized in that further include:
Local search results acquiring unit, for the input content in the local search input frame of the acquisition operating system offer Later, the local search of equipment where carrying out operating system to the input content, and obtain corresponding local search results;
Second display unit, for showing the local search results in result shows forms.
12. web search device according to claim 11, which is characterized in that the local search results acquiring unit tool Body is used for:
The search service interface routine of call operation system carries out local search to the input content;Obtain described search service The search result that interface routine returns obtains after calling search plug-in unit to scan for the screening of result according to the screening rule of setting Corresponding local search results;Or
The search service interface routine of disable operation system, and described search plug-in unit is called to carry out local search to the input content Rope simultaneously obtains corresponding search result.
13. web search device according to claim 8, which is characterized in that further include:
Monitoring unit, before the input content in the local search input frame of the acquisition operating system offer, for operation The local search input frame registration message hook of system, the startup search message for monitoring the local search input frame, and Triggering obtains the input content in described search input frame.
14. web search device according to claim 8, which is characterized in that further include,
Unit is repainted, before the input content in the local search input frame that the acquisition operating system provides, if The local search input frame is activated, and carrying out background text to the local search input frame repaints.
CN201410145336.7A 2014-04-11 2014-04-11 Network search method and device Active CN103902727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410145336.7A CN103902727B (en) 2014-04-11 2014-04-11 Network search method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410145336.7A CN103902727B (en) 2014-04-11 2014-04-11 Network search method and device

Publications (2)

Publication Number Publication Date
CN103902727A CN103902727A (en) 2014-07-02
CN103902727B true CN103902727B (en) 2018-08-07

Family

ID=50994049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410145336.7A Active CN103902727B (en) 2014-04-11 2014-04-11 Network search method and device

Country Status (1)

Country Link
CN (1) CN103902727B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739989B (en) * 2016-02-15 2019-03-22 珠海豹趣科技有限公司 A kind of method, apparatus and electronic equipment that systematic search frame is set
CN106844484B (en) * 2016-12-23 2020-08-28 北京安云世纪科技有限公司 Information searching method and device and mobile terminal
CN107832362A (en) * 2017-10-25 2018-03-23 珠海市魅族科技有限公司 A kind of document sending method, device, computer installation and readable storage medium storing program for executing
CN108897993A (en) * 2018-06-11 2018-11-27 山东华软金盾软件股份有限公司 A kind of method that windows registry is hiding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902679A (en) * 2003-11-05 2007-01-24 Google公司 Persistent user interface for providing navigational functionality
CN102982173A (en) * 2012-12-17 2013-03-20 北京奇虎科技有限公司 Webpage searching method and browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174286A1 (en) * 2005-05-17 2007-07-26 Yahoo!, Inc. Systems and methods for providing features and user interface in network browsing applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1902679A (en) * 2003-11-05 2007-01-24 Google公司 Persistent user interface for providing navigational functionality
CN102982173A (en) * 2012-12-17 2013-03-20 北京奇虎科技有限公司 Webpage searching method and browser

Also Published As

Publication number Publication date
CN103902727A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
US11262884B1 (en) Managing application windows of applications from different servers within a same browser window on a user device
RU2490693C2 (en) Method and system for realising message interaction in multi-tabs application
KR102019582B1 (en) Method and device and computer readable medium for displaying instant messaging window
US20120259964A1 (en) Cloud computing method capable of hiding real file paths
CN103902727B (en) Network search method and device
CN106933629B (en) Method for loading browser plug-in icon and browser
AU2019366869B2 (en) Dynamically change user interfaces for web applications and associated methods
WO2016007154A1 (en) Web browser policy for http-based application
WO2020168790A1 (en) Focus refresh method and device for applicaiton window, storae medium and terminal
CN108345683B (en) Webpage display method, device, terminal and storage medium
CN111783019A (en) Browser sub-page creation method and device, computer equipment and storage medium
US9037958B2 (en) Dynamic creation of user interface hot spots
US9679073B2 (en) Webpage comprising a rules engine
US10678561B2 (en) Virtualizing extension code in an application
US20130139106A1 (en) Graphic flow having unlimited number of connections between shapes
WO2017107659A1 (en) Method, device, and computing apparatus for displaying customized information in browser window
CN109976849B (en) Method and electronic device for suspending web component on desktop based on programming language
KR102191458B1 (en) Apparatus and method for scrapping web data
CN111913711A (en) Video rendering method and device
CN113378096B (en) Display equipment and browser residual frame clearing method
WO2022113315A1 (en) User interface extension system, user interface extension method, and user interface extension program
WO2016050161A1 (en) Method and apparatus for closing browser labels
KR102057626B1 (en) Method, Apparatus and Computer program for generating Bookmark, and Method, Apparatus and Computer program for displaying Bookmark.
Barreto et al. Innovative tools for TerraHidro: an intuitive GIS user interface.

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