CN103473361A - Searching method and searching device - Google Patents

Searching method and searching device Download PDF

Info

Publication number
CN103473361A
CN103473361A CN2013104461483A CN201310446148A CN103473361A CN 103473361 A CN103473361 A CN 103473361A CN 2013104461483 A CN2013104461483 A CN 2013104461483A CN 201310446148 A CN201310446148 A CN 201310446148A CN 103473361 A CN103473361 A CN 103473361A
Authority
CN
China
Prior art keywords
search
thread
search key
local
searcher
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013104461483A
Other languages
Chinese (zh)
Inventor
汤海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN2013104461483A priority Critical patent/CN103473361A/en
Publication of CN103473361A publication Critical patent/CN103473361A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a searching method and a searching device. When a user carries out resource searching, all resources in storage equipment and a network server inside an intelligent terminal can be simultaneously searched, so that a searching effect is better and faster. The method comprises the following steps of: acquiring search keywords; calling a local searching thread and a network searching thread to start a local searching function and a network searching network; by the local searching thread, searching a multimedia file corresponding to the search keywords from a local database; and by the network searching thread, searching a multimedia file corresponding to the search keywords from a network database. The searching method and the searching device are suitable for the technical field of electronic information.

Description

A kind of searching method and device
Technical field
The present invention relates to electronic information technical field, relate in particular to a kind of searching method and device.
Background technology
Along with the raising of people's living standard, the popularity of intelligent terminal is more and more higher, from little to pad, arrives greatly intelligent television, and nearly all family all can have one to many intelligent terminals.Generally, all be built-in with the memory device that capacity is larger on intelligent terminal, each application on this intelligent terminal also can produce certain resource in this memory device, therefore the resource on this memory device is more and more, how the user finds fast required resource information from numerous resources, becomes the problem that the intelligent terminal aspect need to solve.
In prior art, the application that there are some maturations in intelligent terminal, this application is understood oneself provides a set of function of search, but this function of search only limits to the resource searching in application itself, can't contain the memory device of whole intelligent terminal inside and the resource searching of network.And, for the system on intelligent terminal, the systematic search function that this system provides only limits to the search of network basically, can't contain the resource searching of the memory device of intelligent terminal inside.
Summary of the invention
The invention provides a kind of searching method and device, can when the user carries out resource searching, search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster.
For achieving the above object, the embodiment of the present invention adopts following technical scheme:
First aspect, provide a kind of searching method, and described method is applied to the searcher of intelligent terminal inside, and described method comprises:
Obtain search key;
Call the local search thread, to start the local search function, call the web search thread, to start the web search function;
By described local search thread, search the multimedia file that described search key is corresponding from local data base; By described web search thread, search the multimedia file that described search key is corresponding from network data base.
In first aspect the first in possible implementation, in conjunction with first aspect, described obtain search key after, described method also comprises:
According to pre-stored filter algorithm, the idle character in described search key is filtered, obtain the first search key;
Described by described local search thread, search the multimedia file that described search key is corresponding from local data base; By described web search thread, search the multimedia file that described search key is corresponding and specifically comprise from network data base:
By described local search thread, search multimedia file corresponding to described the first search key from local data base; By described web search thread, search multimedia file corresponding to described the first search key from network data base.
At first aspect the second in possible implementation, in conjunction with first aspect or the possible implementation of first aspect the first, described call local search thread and web search thread before, described method also comprises:
In the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in described system broadcast message indication.
In the third possible implementation of first aspect, the possible implementation in conjunction with first aspect the second, the described search key that obtains specifically comprises:
According to described system broadcast message, obtain described search key, wherein, described system broadcast message is carried described search key;
Perhaps
After receiving described system broadcast message, obtain the described search key of user's input.
In the 4th kind of possible implementation of first aspect, in conjunction with the third possible implementation of first aspect, after described receiving system broadcast, described method also comprises:
Show search interface according to the first pre-configured display mode, wherein, described the first display mode is the display mode that background presents the full frame dialog box of translucent.
Second aspect, provide a kind of searcher, and described searcher comprises acquiring unit, start unit, performance element;
Described acquiring unit, for obtaining search key;
Described start unit, for calling the local search thread, to start the local search function, call the web search thread, to start the web search function;
Described performance element for by described local search thread, is searched the multimedia file that described search key is corresponding from local data base; By described web search thread, search the multimedia file that described search key is corresponding from network data base.
In second aspect the first, in possible implementation, in conjunction with second aspect, described searcher also comprises filter element;
Described filter element, for after described acquiring unit obtains search key, according to pre-stored filter algorithm, filtered the idle character in described search key, obtains the first search key;
Described performance element specifically for:
By described local search thread, search multimedia file corresponding to described the first search key from local data base; By described web search thread, search multimedia file corresponding to described the first search key from network data base.
At second aspect the second, in possible implementation, in conjunction with second aspect or the possible implementation of second aspect the first, described searcher also comprises receiving element;
Described receiving element, before at described start unit, calling local search thread and web search thread, in the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in described system broadcast message indication.
In the third possible implementation of second aspect, the possible implementation in conjunction with second aspect the second, described acquiring unit specifically for:
According to described system broadcast message, obtain described search key, wherein, described system broadcast message is carried described search key;
Perhaps
After described receiving element receives described system broadcast message, obtain the described search key of user's input.
In the 4th kind of possible implementation of second aspect, in conjunction with the third possible implementation of second aspect, described searcher also comprises display unit;
Described display unit, for after described receiving element receives described system broadcast message, show search interface according to the first pre-configured display mode, and described the first display mode is the display mode that background presents the full frame dialog box of translucent.
The invention provides a kind of searching method and device, owing to can call local search thread and web search thread simultaneously, start local search function and web search function, while making the user carry out resource searching, can search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster.
The accompanying drawing explanation
The searching method that Fig. 1 provides for the embodiment of the present invention one;
The searching method that Fig. 2 provides for the embodiment of the present invention two;
The searching method that Fig. 3 provides for the embodiment of the present invention three;
The searching method that Fig. 4 provides for the embodiment of the present invention four;
The searcher structural representation one that Fig. 5 provides for the embodiment of the present invention five;
The searcher structural representation two that Fig. 6 provides for the embodiment of the present invention five;
The searcher structural representation three that Fig. 7 provides for the embodiment of the present invention five;
The searcher structural representation four that Fig. 8 provides for the embodiment of the present invention five.
Embodiment
A kind of searching method and the device that the embodiment of the present invention are provided below in conjunction with accompanying drawing are described in detail.
Embodiment mono-,
The embodiment of the present invention provides a kind of searching method, and the method is applied to the searcher of intelligent terminal inside, and specifically as shown in Figure 1, the method comprises:
101, searcher obtains search key.
Concrete, the method that searcher obtains search key specifically can comprise:
Searcher is in the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in the system broadcast message indication, and wherein, system broadcast message is carried search key, then searcher, according to system broadcast message, obtains search key;
Perhaps
Searcher, after current display interface receiving system broadcast, obtains the search key of user's input.
Above-mentioned two situations respectively can corresponding following two kinds of scenes:
Scene one: triggering system broadcast after user's inputted search key word, searcher receiving system broadcast, this system broadcast message is carried search key;
Scene two: in user's triggering system broadcast, user's inputted search key word after startup local search function and web search function, now, do not carry search key in the system broadcast message that searcher receives.
It should be noted that, the acquisition methods of search key may have multiple, and above-mentioned is only the exemplary two kinds of methods of obtaining search key of enumerating, and the embodiment of the present invention is not done concrete restriction to the method for obtaining search key.
It should be noted that, search key can be that the user passes through manual input equipment input, can be also that the user inputs by speech ciphering equipment, but no matter be by which kind of mode inputted search key word, the possibility that all may exist the maloperation character to introduce.
Exemplary: when manually inputting, may be because of keystroke mis-operation, introduce special character, perhaps when phonetic entry, may not cause idle character input because phonetic recognization rate is high, consider this problem, in order to obtain Search Results accurately, after obtaining search key, specifically can also comprise:
According to pre-stored filter algorithm, the idle character in search key is filtered, obtain the first search key.
Wherein, pre-stored filter algorithm can be the regular expression filter algorithm, and the embodiment of the present invention is not done concrete restriction to this.
Filtered by the idle character by search key, obtained the first search key, then in follow-up step, searched the multimedia file that the first search key is corresponding, can be improved the rate of precision of search.
It should be noted that, the intelligent terminal in the embodiment of the present invention can be TV, can be also mobile phone, can also be Pad, and the embodiment of the present invention is not done concrete restriction to this.
102, searcher calls the local search thread, to start the local search function, calls the web search thread, to start the web search function.
Concrete, start local search function and web search function in the embodiment of the present invention simultaneously, with respect to function of search, be only the situation of local search function or web search function, search effect faster can be reached, and more Search Results can be obtained.
It should be noted that, step 102 and step 101 do not have inevitable sequencing, and the embodiment of the present invention is not done concrete restriction to this.
103, searcher, by the local search thread, is searched the multimedia file that search key is corresponding from local data base; By the web search thread, search the multimedia file that search key is corresponding from network data base.
Concrete, if after obtaining search key, according to pre-stored filter algorithm, idle character in search key is filtered, obtain the first search key, searcher, by the local search thread, is searched the multimedia file that search key is corresponding from local data base; By the web search thread, search the multimedia file that search key is corresponding and specifically can comprise from network data base:
By the local search thread, search the multimedia file that the first search key is corresponding from local data base; By the web search thread, search the multimedia file that the first search key is corresponding from network data base.
Concrete, pre-stored the first index information corresponding to the first multimedia file in this locality/network data base, this first index information is the information of retrieval the first multimedia file of setting up after all multimedia files in multimedia scanning device scanning of home/network data base;
By this locality/web search thread, search the multimedia file that the first search key is corresponding and specifically comprise from this locality/network data base:
By this locality/web search thread, in conjunction with the first index information, search the multimedia file that the first search key is corresponding from this locality/network data base.
It should be noted that, the first multimedia file can be the part multimedia file in all multimedia files.Some multimedia file for all multimedia files, may be because reasons such as importance, do not need to set up index information, therefore the embodiment of the present invention can not set up index information to all multimedia files that scan, and only the first multimedia file is set up to index information, during corresponding multimedia file, can shorten the time of search index information at the index search search key based on the first index information like this, further improve search speed.
Description based on above-described embodiment, the embodiment of the present invention provides a kind of searching method, the method is applied to the searcher of intelligent terminal inside, because the method can be called local search thread and web search thread simultaneously, start local search function and web search function, make and can when the user carries out resource searching, can search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster.
Embodiment bis-,
The embodiment of the present invention provides a kind of searching method, and the method is applied to the searcher of intelligent terminal inside, and specifically as shown in Figure 2, method comprises:
201, searcher obtains search key.
Concrete, the method that searcher obtains search key specifically can comprise:
Searcher is in the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in the system broadcast message indication, and wherein, system broadcast message is carried search key, then searcher, according to system broadcast message, obtains search key;
Perhaps
Searcher, after current display interface receiving system broadcast, obtains the search key of user's input.
Above-mentioned two situations respectively can corresponding following two kinds of scenes:
Scene one: triggering system broadcast after user's inputted search key word, searcher receiving system broadcast, this system broadcast message is carried search key;
Scene two: in user's triggering system broadcast, user's inputted search key word after startup local search function and web search function, now, do not carry search key in the system broadcast message that searcher receives.
It should be noted that, the method for search key may have multiple, and above-mentioned is only the exemplary two kinds of methods of obtaining search key of enumerating, and the embodiment of the present invention is not done concrete restriction to the method for obtaining search key.
202, searcher, according to pre-stored filter algorithm, is filtered the idle character in search key, obtains the first search key.
Concrete, because can being the user, search key passes through manual input equipment input, can be also that the user inputs by speech ciphering equipment, but no matter be which kind of mode to input this search key by, the possibility that all may exist the maloperation character to introduce.
Exemplary: when manually inputting, may be because of keystroke mis-operation, introduce special character, or when phonetic entry, may not cause the idle character input because phonetic recognization rate is high, consider this problem, therefore in order to obtain Search Results accurately, the embodiment of the present invention is also after obtaining search key, according to pre-stored filter algorithm, idle character in search key is filtered, obtained the first search key.
Wherein, pre-stored filter algorithm can be the regular expression filter algorithm, and the embodiment of the present invention is not done concrete restriction to this.
Filtered by the idle character by search key, obtained the first search key, then searched the multimedia file that this first search key is corresponding, can be improved the rate of precision of search.
It should be noted that, it is the technology of a comparative maturity in prior art that regular expression filters, by judging whether given character string meets the filter logic of regular expression, and then obtain the certain content of wanting, the embodiment of the present invention is not elaborated this.
203, searcher calls the local search thread, with start the local search function and, call the web search thread, to start the web search function.
Concrete, start local search function and web search function in the embodiment of the present invention simultaneously, with respect to function of search, be only the situation of local search function or web search function, search effect faster can be reached, and more Search Results can be obtained.
It should be noted that, step 203 and step 201 do not have inevitable sequencing, and the embodiment of the present invention is not done concrete restriction to this.
204, searcher, by the local search thread, is searched the multimedia file that the first search key is corresponding from local data base; By the web search thread, search the multimedia file that the first search key is corresponding from network data base.
Concrete, pre-stored the first index information corresponding to the first multimedia file in this locality/network data base, the first index information is the information of retrieval the first multimedia file of setting up after all multimedia files in multimedia scanning device scanning of home/network data base;
By this locality/web search thread, search the multimedia file that the first search key is corresponding and comprise from this locality/network data base:
By this locality/web search thread, in conjunction with the first index information, search the multimedia file that the first search key is corresponding from this locality/network data base.
It should be noted that, the first multimedia file can be the part multimedia file in all multimedia files.Some multimedia file for all multimedia files, may be because reasons such as importance, do not need to set up index information, therefore the embodiment of the present invention can not set up index information to all multimedia files that scan, and only the first multimedia file is set up to index information, during corresponding multimedia file, can shorten the time of search index information at the index search search key based on the first index information like this, further improve search speed.
Description based on above-described embodiment, the embodiment of the present invention provides a kind of searching method, the method is applied to the searcher of intelligent terminal inside, because the method can be called local search thread and web search thread simultaneously, start local search function and web search function, make and can when the user carries out resource searching, can search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster; Secondly, the embodiment of the present invention, by search key is filtered, can improve the rate of precision of search.
Embodiment tri-,
The embodiment of the present invention provides a kind of searching method, and the method is applied to the searcher of intelligent terminal inside, and specifically as shown in Figure 3, the method comprises:
301, searcher is in the current display interface receiving system broadcast of intelligent terminal, and system broadcast message is carried search key, and local search thread and web search thread are called in the system broadcast message indication.
Concrete, intelligent terminal inside comprises searcher, while by intelligent terminal, carrying out multi-medium file search, searcher receiving system broadcast, this system broadcast message can be the arbitrary display interface triggering at intelligent terminal, by this system broadcast message, can start function of search at arbitrary display interface of intelligent terminal.
Exemplary, searcher can be live desktop in current interface, or receiving system broadcast during arbitrary display interface such as signal source desktop or third party application interface.
Concrete, if comprise the relevant search button on the current display interface of intelligent terminal, this system broadcast message may be that the user triggers while clicking the relevant search button on intelligent terminal; If do not comprise the relevant search button on the current display interface of intelligent terminal, this system broadcast message may be that the user triggers by speech ciphering equipment, the embodiment of the present invention is not done concrete restriction to this, the current display interface receiving system broadcast of searcher at intelligent terminal only is described, this current display interface can be arbitrary display interface of intelligent terminal.
Concrete, in the embodiment of the present invention, system broadcast message is carried search key, and the scene of this situation correspondence triggering system broadcast after user's inputted search key word, carry search key in system broadcast message under this scene.
In addition, in the embodiment of the present invention, local search thread and web search thread are called in the system broadcast message indication, to start local search function and web search function, it with respect to function of search, is only the situation of local search function or web search function, search effect faster can be reached, and more Search Results can be obtained.
It should be noted that, intelligent terminal can be TV, can be also mobile phone, can also be Pad, and the embodiment of the present invention is not done concrete restriction to this.
302, searcher shows search interface according to the first pre-configured display mode, and wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent.
Concrete, in the embodiment of the present invention, for when carrying out multi-medium file search, do not affect the normal operation of current application, guarantee the search effect of " full video ", the also pre-configured display mode of search interface, i.e. the first display mode, this first display mode is the display mode that background presents the full frame dialog box of translucent.
Exemplary, suppose that the user is when watching video or carrying out game on line, want to carry out multi-medium file search, searcher is after the current display interface receiving system broadcast of intelligent terminal, can present the full frame dialog box search interface that background presents translucent, the user can, when carrying out multi-medium file search, still can not allow and miss net cast or arbitrary partial information at the outpost of the tax office of playing like this.
It should be noted that, step 302 is actions that the display module in searcher is carried out, and after execution of step 301, finish this display module up to whole search procedure and just quit work, and following each step does not have inevitable sequencing.
303, searcher, according to system broadcast message, obtains search key.
304, searcher, according to pre-stored filter algorithm, is filtered the idle character in search key, obtains the first search key.
Concrete, because can being the user, search key passes through manual input equipment input, can be also that the user inputs by speech ciphering equipment, but no matter be by which kind of mode inputted search key word, the possibility that all may exist the maloperation character to introduce.
Exemplary: when manually inputting, may be because of keystroke mis-operation, introduce special character, or when phonetic entry, may not cause the idle character input because phonetic recognization rate is high, consider this problem, therefore in order to obtain Search Results accurately, the embodiment of the present invention is also after obtaining search key, according to pre-stored filter algorithm, idle character in search key is filtered, obtained the first search key.
Wherein, pre-stored filter algorithm can be the regular expression filter algorithm, and the embodiment of the present invention is not done concrete restriction to this.
Filtered by the idle character by search key, obtained the first search key, then searched the multimedia file that the first search key is corresponding, can be improved the rate of precision of search.
It should be noted that, it is the technology of a comparative maturity in prior art that regular expression filters, by judging whether given character string meets the filter logic of regular expression, and then obtain the certain content of wanting, the embodiment of the present invention is not elaborated this.
305, searcher, according to system broadcast message, calls the local search thread, to start the local search function, calls the web search thread, to start the web search function.
Concrete, step 304 and step 305 do not have inevitable sequencing, can be first the idle character of search key be filtered, and can first call local search thread and web search thread yet, and the embodiment of the present invention is not done concrete restriction to this.
306, intelligent apparatus, by the local search thread, is searched the multimedia file that the first search key is corresponding from local data base; By the web search thread, search the multimedia file that the first search key is corresponding from network data base.
Concrete, pre-stored the first index information corresponding to the first multimedia file in this locality/network data base, this first index information is the information of retrieval the first multimedia file of setting up after all multimedia files in multimedia scanning device scanning of home/network data base;
By this locality/web search thread, search the multimedia file that the first search key is corresponding and comprise from this locality/network data base:
By this locality/web search thread, in conjunction with the first index information, search the multimedia file that the first search key is corresponding from this locality/network data base.
It should be noted that, the first multimedia file can be the part multimedia file in all multimedia files.Some multimedia file for all multimedia files, may be because reasons such as importance, do not need to set up index information, therefore the embodiment of the present invention can not set up index information to all multimedia files that scan, and only the first multimedia file is set up to index information, during corresponding multimedia file, can shorten the time of search index information at the index search search key based on the first index information like this, further improve search speed.
Description based on above-described embodiment, the embodiment of the present invention provides a kind of searching method, the method is applied to the searcher of intelligent terminal inside, because the method can be called local search thread and web search thread simultaneously, start local search function and web search function, make and can when the user carries out resource searching, can search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster; Secondly, the embodiment of the present invention, by search key is filtered, can improve the rate of precision of search; On the other hand, the embodiment of the present invention by with the first display mode, showing search interface, has guaranteed when carrying out multi-medium file search, has not affected the normal operation of current application.
Embodiment tetra-,
The embodiment of the present invention provides a kind of searching method, and the method is applied to the searcher of intelligent terminal inside, and specifically as shown in Figure 4, the method comprises:
401, searcher is in the current display interface receiving system broadcast of intelligent terminal, and local search thread and web search thread are called in the system broadcast message indication.
Concrete, intelligent terminal inside comprises searcher, while by intelligent terminal, carrying out multi-medium file search, searcher receiving system broadcast, this system broadcast message can be the arbitrary display interface triggering at intelligent terminal, by this system broadcast message, can start function of search at arbitrary display interface of intelligent terminal.
Exemplary, searcher can be live desktop in current interface, or receiving system broadcast during arbitrary display interface such as signal source desktop or third party application interface.
Concrete, if comprise the relevant search button on the current display interface of intelligent terminal, this system broadcast message may be that the user triggers while clicking the relevant search button on intelligent terminal; If do not comprise the relevant search button on the current display interface of intelligent terminal, this system broadcast message may be that the user triggers by speech ciphering equipment, the embodiment of the present invention is not done concrete restriction to this, the current display interface receiving system broadcast of searcher at intelligent terminal only is described, this current display interface can be arbitrary display interface of intelligent terminal.
Concrete, in the embodiment of the present invention, local search thread and web search thread are called in the system broadcast message indication, to start local search function and web search function, it with respect to function of search, is only the situation of local search function or web search function, search effect faster can be reached, and more Search Results can be obtained.
It should be noted that, the intelligent terminal in the embodiment of the present invention can be TV, can be also mobile phone, can also be Pad, and the embodiment of the present invention is not done concrete restriction to this.
402, searcher shows search interface according to the first pre-configured display mode, and wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent.
Concrete, in the embodiment of the present invention, for when carrying out multi-medium file search, do not affect the normal operation of current application, guarantee the search effect of " full video ", the also pre-configured display mode of search interface, i.e. the first display mode, this first display mode is the display mode that background presents the full frame dialog box of translucent.
Exemplary, suppose that the user is when watching video or carrying out game on line, want to carry out multi-medium file search, searcher is after the current display interface receiving system broadcast of intelligent terminal, can present the full frame dialog box search interface that background presents translucent, the user can, when carrying out multi-medium file search, still can not allow and miss net cast or arbitrary partial information at the outpost of the tax office of playing like this.
It should be noted that, step 302 is actions that the display module in searcher is carried out, and after execution of step 301, finish this display module up to whole search procedure and just quit work, and following each step does not have inevitable sequencing.
403, searcher, according to system broadcast message, calls the local search thread, to start the local search function, calls the web search thread, to start the web search function.
404, searcher obtains the search key of user's input.
Concrete, with respect to the embodiment shown in Fig. 2, do not carry search key in the embodiment of the present invention in system broadcast message, but after user's triggering system broadcast inputted search key word, be searcher after current display interface receiving system broadcast, just obtain the search key of user input.
It should be noted that, do not carry the situation of search key for system broadcast message in the embodiment of the present invention, there is a kind of possible situation, after calling local search thread and web search thread, do not obtain yet search key, now, although local search thread and web search thread are in operation, but because search key is empty, can't display of search results, until, after obtaining search key, local search thread and web search thread just can be searched the multimedia file that this search key is corresponding.
405, searcher, according to pre-stored filter algorithm, is filtered the idle character in search key, obtains the first search key.
Concrete, because can being the user, search key passes through manual input equipment input, can be also that the user inputs by speech ciphering equipment, but no matter be which kind of mode to input this search key by, the possibility that all may exist the maloperation character to introduce.
Exemplary: when manually inputting, may be because of keystroke mis-operation, introduce special character, or when phonetic entry, may not cause the idle character input because phonetic recognization rate is high, consider this problem, therefore in order to obtain Search Results accurately, the embodiment of the present invention is also after obtaining search key, according to pre-stored filter algorithm, idle character in search key is filtered, obtained the first search key.
Wherein, pre-stored filter algorithm can be the regular expression filter algorithm, and the embodiment of the present invention is not done concrete restriction to this.
Filtered by the idle character by search key, obtained the first search key, then searched the multimedia file that the first search key is corresponding, can be improved the rate of precision of search.
It should be noted that, it is the technology of a comparative maturity in prior art that regular expression filters, by judging whether given character string meets the filter logic of regular expression, and then obtain the certain content of wanting, the embodiment of the present invention is not elaborated this.
406, searcher, by the local search thread, is searched the multimedia file that the first search key is corresponding from local data base; By the web search thread, search the multimedia file that the first search key is corresponding from network data base.
Concrete, pre-stored the first index information corresponding to the first multimedia file in this locality/network data base, this first index information is the information of retrieval the first multimedia file of setting up after all multimedia files in multimedia scanning device scanning of home/network data base;
By described this locality/web search thread, search the multimedia file that the first search key is corresponding and comprise from this locality/network data base:
By this locality/web search thread, in conjunction with the first index information, search the multimedia file that the first search key is corresponding from this locality/network data base.
It should be noted that, the first multimedia file can be the part multimedia file in all multimedia files.Some multimedia file for all multimedia files, may be because reasons such as importance, do not need to set up index information, therefore the embodiment of the present invention can not set up index information to all multimedia files that scan, and only the first multimedia file is set up to index information, during corresponding multimedia file, can shorten the time of search index information at the index search search key based on the first index information like this, further improve search speed.
Description based on above-described embodiment, the embodiment of the present invention provides a kind of searching method, the method is applied to the searcher of intelligent terminal inside, because the method can be called local search thread and web search thread simultaneously, start local search function and web search function, make and can when the user carries out resource searching, can search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster; Secondly, the embodiment of the present invention, by search key is filtered, can improve the rate of precision of search; On the other hand, the embodiment of the present invention by with the first display mode, showing search interface, has guaranteed when carrying out multi-medium file search, has not affected the normal operation of current application.
Embodiment five,
The embodiment of the present invention provides a kind of searcher 500, and specifically as shown in Figure 5, searcher 500 is to comprising acquiring unit 501, start unit 502, performance element 503.
Acquiring unit 501, for obtaining search key.
Start unit 502, for calling the local search thread, to start the local search function, call the web search thread, to start the web search function.
Performance element 503 for by the local search thread, is searched the multimedia file that search key is corresponding from local data base; By the web search thread, search the multimedia file that search key is corresponding from network data base.
Further, as shown in Figure 6, searcher 500 also comprises filter element 504.
Filter element 504, for after acquiring unit 501 obtains search key, according to pre-stored filter algorithm, filtered the idle character in search key, obtains the first search key.
Performance element 503 specifically for:
By the local search thread, search the multimedia file that the first search key is corresponding from local data base; By the web search thread, search the multimedia file that the first search key is corresponding from network data base.
Further, as shown in Figure 7, searcher 500 also comprises receiving element 505.
Receiving element 505, before at start unit 502, calling local search thread and web search thread, in the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in the system broadcast message indication.
Further, acquiring unit 501 specifically for:
According to system broadcast message, obtain search key, wherein, system broadcast message is carried search key.
Optionally, acquiring unit 501 also specifically for:
After receiving element 505 receiving system broadcasts, obtain the search key of user's input.
Further, as shown in Figure 8, searcher 500 also comprises display unit 506.
Display unit 506, for after receiving element 505 receiving system broadcasts, show search interface according to the first pre-configured display mode, and wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent.
The description concrete, that the method for being searched for by searcher can reference example one to embodiment tetra-, the embodiment of the present invention does not repeat them here.
Description based on above-described embodiment, the embodiment of the present invention provides a kind of searcher, because the start unit in this searcher can call local search thread and web search thread simultaneously, start local search function and web search function, making can be when the user carries out resource searching, can search for the memory device of intelligent terminal inside and all resources in the webserver simultaneously, make search effect more excellent, faster.
The those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic.Another point, shown or discussed coupling each other or direct-coupling can be by some interfaces, the indirect coupling of device can be electrically, machinery or other form.
Unit as the separating component explanation can or can not be also physically to separate, and the parts that show as unit can be a physical location or a plurality of physical location, can be positioned at a place, or also can be distributed to a plurality of different local.Can select according to the actual needs some or all of unit wherein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprise that some instructions are with so that an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) are carried out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection domain with claim.

Claims (10)

1. a searching method, described method is applied to the searcher of intelligent terminal inside, it is characterized in that, and described method comprises:
Obtain search key;
Call the local search thread, to start the local search function, call the web search thread, to start the web search function;
By described local search thread, search the multimedia file that described search key is corresponding from local data base; By described web search thread, search the multimedia file that described search key is corresponding from network data base.
2. method according to claim 1, is characterized in that, described obtain search key after, described method also comprises:
According to pre-stored filter algorithm, the idle character in described search key is filtered, obtain the first search key;
Described by described local search thread, search the multimedia file that described search key is corresponding from local data base; By described web search thread, search the multimedia file that described search key is corresponding and specifically comprise from network data base:
By described local search thread, search multimedia file corresponding to described the first search key from local data base; By described web search thread, search multimedia file corresponding to described the first search key from network data base.
3. method according to claim 1 and 2, is characterized in that, described call local search thread and web search thread before, described method also comprises:
In the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in described system broadcast message indication.
4. method according to claim 3, is characterized in that, the described search key that obtains specifically comprises:
According to described system broadcast message, obtain described search key, wherein, described system broadcast message is carried described search key;
Perhaps,
After receiving described system broadcast message, obtain the described search key of user's input.
5. method according to claim 4, is characterized in that, after described receiving system broadcast, also comprises:
Show search interface according to the first pre-configured display mode, wherein, described the first display mode is the display mode that background presents the full frame dialog box of translucent.
6. a searcher, is characterized in that, described searcher comprises acquiring unit, start unit, performance element;
Described acquiring unit, for obtaining search key;
Described start unit, for calling the local search thread, to start the local search function, call the web search thread, to start the web search function;
Described performance element for by described local search thread, is searched the multimedia file that described search key is corresponding from local data base; By described web search thread, search the multimedia file that described search key is corresponding from network data base.
7. searcher according to claim 6, is characterized in that, described searcher also comprises filter element;
Described filter element, for after described acquiring unit obtains search key, according to pre-stored filter algorithm, filtered the idle character in described search key, obtains the first search key;
Described performance element specifically for:
By described local search thread, search multimedia file corresponding to described the first search key from local data base; By described web search thread, search multimedia file corresponding to described the first search key from network data base.
8. according to the described searcher of claim 6 or 7, it is characterized in that, described searcher also comprises receiving element;
Described receiving element, before at described start unit, calling local search thread and web search thread, in the current display interface receiving system broadcast of intelligent terminal, local search thread and web search thread are called in described system broadcast message indication.
9. searcher according to claim 8, is characterized in that, described acquiring unit specifically for:
According to described system broadcast message, obtain described search key, wherein, described system broadcast message is carried described search key;
Perhaps,
After described receiving element receives described system broadcast message, obtain the described search key of user's input.
10. searcher according to claim 9, is characterized in that, described searcher also comprises display unit;
Described display unit, for after described receiving element receives described system broadcast message, show search interface according to the first pre-configured display mode, and described the first display mode is the display mode that background presents the full frame dialog box of translucent.
CN2013104461483A 2013-09-26 2013-09-26 Searching method and searching device Pending CN103473361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104461483A CN103473361A (en) 2013-09-26 2013-09-26 Searching method and searching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104461483A CN103473361A (en) 2013-09-26 2013-09-26 Searching method and searching device

Publications (1)

Publication Number Publication Date
CN103473361A true CN103473361A (en) 2013-12-25

Family

ID=49798209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104461483A Pending CN103473361A (en) 2013-09-26 2013-09-26 Searching method and searching device

Country Status (1)

Country Link
CN (1) CN103473361A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747361A (en) * 2013-12-30 2014-04-23 乐视网信息技术(北京)股份有限公司 Intelligent television page jumping method and equipment
CN104331465A (en) * 2014-10-30 2015-02-04 广东欧珀移动通信有限公司 Searching method and device for mobile terminal
CN105653572A (en) * 2015-08-20 2016-06-08 乐视网信息技术(北京)股份有限公司 Resource processing method and apparatus
CN108701160A (en) * 2016-03-01 2018-10-23 微软技术许可有限责任公司 Mixed business's content and Web results
CN109036417A (en) * 2018-07-03 2018-12-18 百度在线网络技术(北京)有限公司 Method and apparatus for handling voice request
CN111180087A (en) * 2020-01-02 2020-05-19 中国中医科学院中医药信息研究所 Marketing medicine information standardization method, equipment, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020099685A1 (en) * 2001-01-25 2002-07-25 Hitachi, Ltd. Document retrieval system; method of document retrieval; and search server
CN101464859A (en) * 2007-12-21 2009-06-24 康佳集团股份有限公司 Mobile phone search method and device
CN102700319A (en) * 2012-06-25 2012-10-03 丘志敏 Double-head ball pen with illumination function
CN102999628A (en) * 2012-12-07 2013-03-27 北京网秦天下科技有限公司 Search method and information search terminal
CN103020324A (en) * 2013-01-15 2013-04-03 周万荣 Searching method, searching equipment and searching system based on application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020099685A1 (en) * 2001-01-25 2002-07-25 Hitachi, Ltd. Document retrieval system; method of document retrieval; and search server
CN101464859A (en) * 2007-12-21 2009-06-24 康佳集团股份有限公司 Mobile phone search method and device
CN102700319A (en) * 2012-06-25 2012-10-03 丘志敏 Double-head ball pen with illumination function
CN102999628A (en) * 2012-12-07 2013-03-27 北京网秦天下科技有限公司 Search method and information search terminal
CN103020324A (en) * 2013-01-15 2013-04-03 周万荣 Searching method, searching equipment and searching system based on application

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747361A (en) * 2013-12-30 2014-04-23 乐视网信息技术(北京)股份有限公司 Intelligent television page jumping method and equipment
CN104331465A (en) * 2014-10-30 2015-02-04 广东欧珀移动通信有限公司 Searching method and device for mobile terminal
CN105653572A (en) * 2015-08-20 2016-06-08 乐视网信息技术(北京)股份有限公司 Resource processing method and apparatus
WO2017028624A1 (en) * 2015-08-20 2017-02-23 乐视控股(北京)有限公司 Method and device for processing resources
CN108701160A (en) * 2016-03-01 2018-10-23 微软技术许可有限责任公司 Mixed business's content and Web results
CN108701160B (en) * 2016-03-01 2021-09-24 微软技术许可有限责任公司 Mixing enterprise content and Web results
CN109036417A (en) * 2018-07-03 2018-12-18 百度在线网络技术(北京)有限公司 Method and apparatus for handling voice request
CN111180087A (en) * 2020-01-02 2020-05-19 中国中医科学院中医药信息研究所 Marketing medicine information standardization method, equipment, server and storage medium

Similar Documents

Publication Publication Date Title
CN103473361A (en) Searching method and searching device
CN108495185B (en) Video title generation method and device
CN103841268A (en) Information processing method and information processing device
EP3902280A1 (en) Short video generation method and platform, electronic device, and storage medium
CN107729578B (en) Music recommendation method and device
CN106095595B (en) Information sharing method and terminal between a kind of application program
CN103488384A (en) Voice assistant application interface display method and device
CN104881451A (en) Image searching method and image searching device
CN103488401A (en) Voice assistant activating method and device
EP2811399B1 (en) Method and terminal for starting music application
CN103237136B (en) The search method of mobile terminal and descriptor thereof
CN103731721A (en) Video playing method and user terminal
CN104267922A (en) Information processing method and electronic equipment
CN103442299A (en) Display method for playing records and electronic equipment
CN104010223A (en) Method and system for taking over terminal system for video playing
CN103500197A (en) Searching method and device
CN108093311B (en) Multimedia file processing method and device, storage medium and electronic equipment
US20140372455A1 (en) Smart tags for content retrieval
CN103500234A (en) Method for downloading multi-media files and electronic equipment
CN103500122A (en) Multimedia file playing method and electronic equipment
CN103747284A (en) Video pushing method and server
CN103488763A (en) Search method and search device
CN103631872A (en) Method for playing multimedia files and electronic terminal
CN104699806B (en) A kind of video searching method and device
CN103530410A (en) Multimedia file collecting method and electronic device

Legal Events

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

Application publication date: 20131225