CN103500197A - Searching method and device - Google Patents

Searching method and device Download PDF

Info

Publication number
CN103500197A
CN103500197A CN201310447279.3A CN201310447279A CN103500197A CN 103500197 A CN103500197 A CN 103500197A CN 201310447279 A CN201310447279 A CN 201310447279A CN 103500197 A CN103500197 A CN 103500197A
Authority
CN
China
Prior art keywords
search
function
search key
key
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.)
Granted
Application number
CN201310447279.3A
Other languages
Chinese (zh)
Other versions
CN103500197B (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.)
Xinle Visual Intelligent Electronic Technology Tianjin Co ltd
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 CN201310447279.3A priority Critical patent/CN103500197B/en
Publication of CN103500197A publication Critical patent/CN103500197A/en
Application granted granted Critical
Publication of CN103500197B publication Critical patent/CN103500197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/903Querying
    • G06F16/9038Presentation of query results

Abstract

The invention provides a searching method and device. User experience is improved on the premise that normal operation of the current background application is not affected when a user searches for resources. The method includes the steps that a searching instruction is obtained, a searching interface is displayed according to a preset first display mode, wherein the first display mode is a full-screen dialog box display mode with a semi-transparent background, so that the normal operation of the current background application is not affected, a searching function is started, and after searching keywords are obtained, multimedia files corresponding to the searching keywords are searched through the searching function. The method is suitable for the field of electronic information technologies.

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.
In prior art, while on intelligent terminal, carrying out resource searching, if current some application moves, the application meeting now moved is interrupted because of current search behavior, thereby can not normally move.This situation can be brought great inconvenience to the user, reduces the user and experiences.
Summary of the invention
Embodiments of the invention provide a kind of searching method and device, can when the user carries out resource searching, not affect the normal operation of current background application, promote the user and experience.
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 instruction;
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, so that do not affect the normal operation of current background application;
Start function of search;
After obtaining search key, by described function of search, search the multimedia file that described search key is corresponding.
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;
Describedly search by described function of search the multimedia file that described search key is corresponding and specifically comprise:
Search multimedia file corresponding to described the first search key by described function of search.
At first aspect the second in possible implementation, the possible implementation in conjunction with first aspect the first, described function of search comprises: local search function and web search function;
Described startup function of search comprises:
Call the local search thread, to start described local search function; Call the web search thread, to start described web search function;
Describedly search multimedia file corresponding to described the first search key by described function of search and specifically comprise:
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.
In the third possible implementation of first aspect, in conjunction with first aspect, to the possible implementation of first aspect the second, the described search instruction that obtains specifically comprises:
In the current display interface receiving system broadcast of intelligent terminal, described system broadcast message indication starts function of search.
In the 4th kind of possible implementation of first aspect, in conjunction with the third possible implementation of first aspect, 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.
Second aspect, provide a kind of searcher, and described searcher comprises the first acquiring unit, display unit, start unit, second acquisition unit, performance element;
Described the first acquiring unit, for obtaining search instruction;
Described display unit, show search interface for the first display mode according to pre-configured, and wherein, described the first display mode is the display mode that background presents the full frame dialog box of translucent, so that do not affect the normal operation of current background application;
Described start unit, for starting function of search;
Described second acquisition unit, for obtaining search key;
Described performance element, for after described second acquisition unit obtains search key, search by described function of search the multimedia file that described search key is corresponding.
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 second acquisition 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:
Search multimedia file corresponding to described the first search key by described function of search.
At second aspect the second in possible implementation, the possible implementation in conjunction with second aspect the first, described function of search comprises: local search function and web search function;
Described start unit specifically for:
Call the local search thread, to start described local search function; Call the web search thread, to start described web search function;
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.
In the third possible implementation of second aspect, in conjunction with second aspect to the possible implementation of second aspect the second, described the first acquiring unit specifically for:
In the current display interface receiving system broadcast of intelligent terminal, described system broadcast message indication starts function of search.
In the 4th kind of possible implementation of second aspect, in conjunction with the third possible implementation of second aspect, described second acquisition 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 the first acquiring unit receives described system broadcast message, obtain the described search key of user's input.
The invention provides a kind of searching method and device, because searcher described in the method shows 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, therefore can when the user carries out resource searching, not affect the normal operation of current background application, promote the user and experience.
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.
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 instruction.
Concrete, searcher obtains search instruction and can comprise:
In the current display interface receiving system broadcast of intelligent terminal, the system broadcast message indication starts function of search.
In this situation, by this system broadcast message, can start function of search at arbitrary display interface of intelligent terminal, thereby reach the effect of global search.
Certainly, searcher obtains search instruction and can also comprise:
Receive the first Indication message, the first Indication message indication starts function of search, and wherein, the first Indication message may be to produce after the user triggers search button.
The embodiment of the present invention is only the exemplary two kinds of methods of obtaining search instruction that provide, and the method for certainly obtaining search instruction also may have other, and the embodiment of the present invention is set forth no longer one by one at this.
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.
102, 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, so that do not affect the normal operation of current background application.
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 102 is actions that the display module in searcher is carried out, and after execution of step 101, finish this display module up to whole search procedure and just quit work, and following each step does not have inevitable sequencing.
103, searcher starts function of search.
Concrete, function of search can only comprise the local search function, also can only comprise the web search function, can also comprise local search function and web search function simultaneously, and the present invention does not do concrete restriction to this.
If function of search comprises local search function and web search function simultaneously, searcher startup function of search specifically can comprise:
Call the local search thread, to start the local search function; Call the web search thread, to start the web search function.
104, 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, and the system broadcast message indication starts function of search, and wherein, system broadcast message is carried search key, and 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, 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 this first search key is corresponding, can be improved the rate of precision of search.
105, searcher searches by function of search the multimedia file that search key is corresponding.
Concrete, after obtaining search key, if according to pre-stored filter algorithm, the idle character in search key is filtered, obtain the first search key, searcher is searched by function of search the multimedia file that search key is corresponding and specifically can be comprised:
Search by function of search the multimedia file that the first search key is corresponding.
Further, when function of search comprises local search function and web search function simultaneously, search by function of search the multimedia file that the first search key is corresponding and specifically can comprise:
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.
Like this, 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.
Concrete, can also the first index information corresponding to pre-stored 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, from this locality/network data base, multimedia file corresponding to search the first search key specifically can comprise:
By this locality/web search thread, in conjunction with the first index information, multimedia file corresponding to search the first search key 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 in the method, searcher shows search interface according to the first pre-configured display mode, wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent, therefore can when the user carries out resource searching, not affect the normal operation of current background application, promotes the user and experiences.
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 is in the current display interface receiving system broadcast of intelligent terminal, and the system broadcast message indication starts function of search.
Concrete, obtain search instruction by the current display interface receiving system broadcast at intelligent terminal in the embodiment of the present invention, by this system broadcast message, can start function of search at arbitrary display interface of intelligent terminal, thereby reach the effect of global search.
202, 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, so that do not affect the normal operation of current background application.
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 202 is actions that the display module in searcher is carried out, and after execution of step 201, finish this display module up to whole search procedure and just quit work, and following each step does not have inevitable sequencing.
203, searcher starts function of search.
Concrete, function of search can only comprise the local search function, also can only comprise the web search function, can also comprise local search function and web search function simultaneously, and the present invention does not do concrete restriction to this.
If function of search comprises local search function and web search function simultaneously, searcher startup function of search specifically can comprise:
Call the local search thread, to start the local search function; Call the web search thread, to start the web search function.
204, searcher obtains search key.
Concrete, the method that searcher obtains search key specifically can comprise:
System broadcast message is carried search key, and 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 obtaining 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.
205, 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 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.
206, searcher searches by function of search the multimedia file that the first search key is corresponding.
Concrete, when function of search comprises local search function and web search function simultaneously, search by function of search the multimedia file that the first search key is corresponding and specifically can comprise:
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.
Like this, 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.
Concrete, can also the first index information corresponding to pre-stored 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, from this locality/network data base, multimedia file corresponding to search the first search key specifically can comprise:
By this locality/web search thread, in conjunction with the first index information, multimedia file corresponding to search the first search key 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 in the method, searcher shows search interface according to the first pre-configured display mode, wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent, therefore can when the user carries out resource searching, not affect the normal operation of current background application, promotes the user and experiences; Secondly, the method starts function of search in the current display interface receiving system broadcast indication of intelligent terminal, makes and can start function of search at arbitrary display interface of intelligent terminal, makes search procedure simple and convenient, has further promoted user's experience; On the other hand, 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 in the method, searcher shows search interface according to the first pre-configured display mode, wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent, therefore can when the user carries out resource searching, not affect the normal operation of current background application, promotes the user and experiences; Secondly, the method starts function of search in the current display interface receiving system broadcast indication of intelligent terminal, makes and can start function of search at arbitrary display interface of intelligent terminal, makes search procedure simple and convenient, has further promoted user's experience; On the other hand, the embodiment of the present invention, by search key is filtered, can improve the rate of precision of search.
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 in the method, searcher shows search interface according to the first pre-configured display mode, wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent, therefore can when the user carries out resource searching, not affect the normal operation of current background application, promotes the user and experiences; Secondly, the method starts function of search in the current display interface receiving system broadcast indication of intelligent terminal, makes and can start function of search at arbitrary display interface of intelligent terminal, makes search procedure simple and convenient, has further promoted user's experience; On the other hand, the embodiment of the present invention, by search key is filtered, can improve the rate of precision of search.
Embodiment five,
The embodiment of the present invention provides a kind of searcher 500, and specifically as shown in Figure 5, searcher 500 comprises the first acquiring unit 501, display unit 502, start unit 503, second acquisition unit 504, performance element 505.
The first acquiring unit 501, for obtaining search instruction.
Display unit 502, show search interface for the first display mode according to pre-configured, and wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent, so that do not affect the normal operation of current background application.
Start unit 503, for starting function of search.
Second acquisition unit 504, for obtaining search key.
Performance element 505, for after second acquisition unit 504 obtains search key, search by function of search the multimedia file that search key is corresponding.
Further, as shown in Figure 6, searcher 500 also comprises filter element 506.
Filter element 506, for after second acquisition unit 504 obtains search key, according to pre-stored filter algorithm, filtered the idle character in search key, obtains the first search key.
Performance element 505 specifically for:
Search by function of search the multimedia file that the first search key is corresponding.
Further, function of search comprises: local search function and web search function.
Start unit 503 specifically for:
Call the local search thread, to start the local search function, call the web search thread, to start the web search function.
Performance element 505 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, the first acquiring unit 501 specifically for:
In the current display interface receiving system broadcast of intelligent terminal, the system broadcast message indication starts function of search.
Further, second acquisition unit 504 specifically for:
According to system broadcast message, obtain search key, wherein, system broadcast message is carried search key.
Optionally, second acquisition unit 504 specifically for:
After current display interface receiving system broadcast at the first acquiring unit 501 at intelligent terminal, obtain the search key of user's input.
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, and searcher comprises the first acquiring unit, display unit, start unit, second acquisition unit, performance element; Because the display unit in searcher shows search interface according to the first pre-configured display mode, wherein, the first display mode is the display mode that background presents the full frame dialog box of translucent, therefore can when the user carries out resource searching, not affect the normal operation of current background application, promote the user and experience.
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 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 each embodiment method 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 AccessMemory), magnetic disc or CDs.
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 with the protection domain of 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 instruction;
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, so that do not affect the normal operation of current background application;
Start function of search;
After obtaining search key, by described function of search, search the multimedia file that described search key is corresponding.
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;
Describedly search by described function of search the multimedia file that described search key is corresponding and specifically comprise:
Search multimedia file corresponding to described the first search key by described function of search.
3. method according to claim 2, is characterized in that, described function of search comprises: local search function and web search function;
Described startup function of search comprises:
Call the local search thread, to start described local search function; Call the web search thread, to start described web search function;
Describedly search multimedia file corresponding to described the first search key by described function of search and specifically comprise:
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.
4. according to the described method of claim 1-3 any one, it is characterized in that, the described search instruction that obtains specifically comprises:
In the current display interface receiving system broadcast of intelligent terminal, described system broadcast message indication starts function of search.
5. method according to claim 4, 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.
6. a searcher, is characterized in that, described searcher comprises the first acquiring unit, display unit, start unit, second acquisition unit, performance element;
Described the first acquiring unit, for obtaining search instruction;
Described display unit, show search interface for the first display mode according to pre-configured, and wherein, described the first display mode is the display mode that background presents the full frame dialog box of translucent, so that do not affect the normal operation of current background application;
Described start unit, for starting function of search;
Described second acquisition unit, for obtaining search key;
Described performance element, for after described second acquisition unit obtains search key, search by described function of search the multimedia file that described search key is corresponding.
7. searcher according to claim 6, is characterized in that, described searcher also comprises filter element;
Described filter element, for after described second acquisition 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:
Search multimedia file corresponding to described the first search key by described function of search.
8. searcher according to claim 7, is characterized in that, described function of search comprises: local search function and web search function;
Described start unit specifically for:
Call the local search thread, to start described local search function; Call the web search thread, to start described web search function;
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.
9. according to the described searcher of claim 6-8 any one, it is characterized in that, described the first acquiring unit specifically for:
In the current display interface receiving system broadcast of intelligent terminal, described system broadcast message indication starts function of search.
10. searcher according to claim 9, is characterized in that, described second acquisition 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 the first acquiring unit receives described system broadcast message, obtain the described search key of user's input.
CN201310447279.3A 2013-09-26 2013-09-26 A kind of searching method and device Active CN103500197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310447279.3A CN103500197B (en) 2013-09-26 2013-09-26 A kind of searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310447279.3A CN103500197B (en) 2013-09-26 2013-09-26 A kind of searching method and device

Publications (2)

Publication Number Publication Date
CN103500197A true CN103500197A (en) 2014-01-08
CN103500197B CN103500197B (en) 2018-08-14

Family

ID=49865408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310447279.3A Active CN103500197B (en) 2013-09-26 2013-09-26 A kind of searching method and device

Country Status (1)

Country Link
CN (1) CN103500197B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133617A (en) * 2014-07-31 2014-11-05 百度在线网络技术(北京)有限公司 Operation method and device for mobile intelligent terminal and mobile intelligent terminal
CN104463015A (en) * 2014-12-15 2015-03-25 浪潮通用软件有限公司 Authority management method and device
CN104991907A (en) * 2015-06-17 2015-10-21 深圳市腾讯计算机系统有限公司 Method, device and system for searching Internet information resources

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409802A (en) * 2008-11-24 2009-04-15 中兴通讯股份有限公司 Control method and terminal for screen display of mobile phone television
CN101938612A (en) * 2010-08-26 2011-01-05 中兴通讯股份有限公司 Method and device for synchronously displaying new message while playing television program
CN102591950A (en) * 2011-12-28 2012-07-18 优视科技有限公司 Webpage picture browsing method and device based on mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409802A (en) * 2008-11-24 2009-04-15 中兴通讯股份有限公司 Control method and terminal for screen display of mobile phone television
CN101938612A (en) * 2010-08-26 2011-01-05 中兴通讯股份有限公司 Method and device for synchronously displaying new message while playing television program
CN102591950A (en) * 2011-12-28 2012-07-18 优视科技有限公司 Webpage picture browsing method and device based on mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133617A (en) * 2014-07-31 2014-11-05 百度在线网络技术(北京)有限公司 Operation method and device for mobile intelligent terminal and mobile intelligent terminal
WO2016015438A1 (en) * 2014-07-31 2016-02-04 百度在线网络技术(北京)有限公司 Operation method and operation apparatus for mobile intelligent terminal, mobile intelligent terminal and non-volatile computer storage medium
CN104463015A (en) * 2014-12-15 2015-03-25 浪潮通用软件有限公司 Authority management method and device
CN104991907A (en) * 2015-06-17 2015-10-21 深圳市腾讯计算机系统有限公司 Method, device and system for searching Internet information resources
CN104991907B (en) * 2015-06-17 2018-04-06 深圳市腾讯计算机系统有限公司 The searching method of network information resource, device and system

Also Published As

Publication number Publication date
CN103500197B (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN102984383B (en) A kind of method of preview, device and mobile phone
CN103473361A (en) Searching method and searching device
CN102857629A (en) Calling-out method of mobile phone desktop search box
CN103488384A (en) Voice assistant application interface display method and device
CN103246520A (en) Method and device for replacing language used by program
CN102959547A (en) Word bank adjusting method and equipment
CN103488401A (en) Voice assistant activating method and device
CN103237136B (en) The search method of mobile terminal and descriptor thereof
CN201869323U (en) Stb
CN104267922A (en) Information processing method and electronic equipment
CN105975492A (en) Search term prompt method and device
EP2811399A1 (en) Method and terminal for starting music application
CN104598507A (en) Information searching method and device
CN104615333B (en) The group technology and play system of a kind of playback equipment
CN104010223A (en) Method and system for taking over terminal system for video playing
CN103500197A (en) Searching method and device
CN103402008A (en) Method and device for rapidly mass texting message
US20140372455A1 (en) Smart tags for content retrieval
CN108093311B (en) Multimedia file processing method and device, storage medium and electronic equipment
CN102469361B (en) Method for automatically downloading interlude of television program and television
CN103500234A (en) Method for downloading multi-media files and electronic equipment
CN103500122A (en) Multimedia file playing method and electronic equipment
CN103488763A (en) Search method and search device
CN103530410A (en) Multimedia file collecting method and electronic device
CN103488762A (en) Search method and search 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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 301-1, Room 301-3, Area B2, Animation Building, No. 126 Animation Road, Zhongxin Eco-city, Tianjin Binhai New Area, Tianjin

Patentee after: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address before: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee before: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

Address after: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee after: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

Address before: 300467 Tianjin Binhai New Area, Tianjin ecological city animation Middle Road, building, No. two, B1 District, 201-427

Patentee before: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

CP03 Change of name, title or address
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210201

Granted publication date: 20180814

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20240201

Granted publication date: 20180814

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20240201

Granted publication date: 20180814