CN104951536B - Searching method and device - Google Patents
Searching method and device Download PDFInfo
- Publication number
- CN104951536B CN104951536B CN201510341216.9A CN201510341216A CN104951536B CN 104951536 B CN104951536 B CN 104951536B CN 201510341216 A CN201510341216 A CN 201510341216A CN 104951536 B CN104951536 B CN 104951536B
- Authority
- CN
- China
- Prior art keywords
- search
- resource
- obtaining
- search result
- audio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/683—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
Landscapes
- Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a searching method and a searching device. According to the embodiment of the invention, the audio characteristics are obtained according to the obtained search audio data, and then the search result is obtained according to the audio characteristics, because the search operation is not executed by completely depending on the search keywords any more, the search operation is executed by using the audio resources, namely the search audio data, so that the search result can basically meet the search intention of the user, therefore, the problem that the data interaction between the application and the search engine is increased due to the fact that the user repeatedly browses the search result page through the application or repeatedly provides the search keywords for searching in the prior art can be avoided, and the processing burden of the search engine is reduced.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to internet technologies, and in particular, to a search method and apparatus.
[ background of the invention ]
The search engine is a system that collects information from the internet by using a specific computer program according to a certain policy, provides a search service for a user after organizing and processing the information, and displays information related to user search to the user. According to the report of the national statistical bureau, the number of netizens in China is more than 4 hundred million, which means that China has become the first big netizen in the world more than the United states, and the total number of websites in China has exceeded 200 million. Therefore, how to utilize the search service to satisfy the user's requirement to the maximum extent is always an important issue for the internet enterprises. The user inputs the search key words in the search box of the application corresponding to the search engine, and the application sends the search key words to the search engine. And the search engine acquires the web pages or documents matched with the search keywords as search results according to the search keywords, and returns the document abstracts of the ordered search results to the application for showing in the form of search result pages by using a certain ordering strategy. The user selects a document abstract of a search result by browsing the search result page, so that the search result is displayed by the application.
However, since the search result obtained by performing the search operation completely depends on the search keyword may not satisfy the real search intention of the user, for example, the user may not accurately provide the search intention such as the search keyword, so that the user needs to repeatedly browse the search result page through the application or repeatedly provide the search keyword to perform the search to obtain the search result satisfying the search intention, which may increase data interaction between the application and the search engine, thereby increasing the processing load of the search engine.
[ summary of the invention ]
Aspects of the present invention provide a search method and apparatus for reducing processing load of a search engine.
In one aspect of the present invention, a search method is provided, including:
acquiring search audio data;
obtaining audio features according to the searched audio data;
and obtaining a search result according to the audio features.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the obtaining search audio data includes:
and acquiring the search audio data by using a sound acquisition device.
The above-described aspect and any possible implementation manner further provide an implementation manner, where obtaining a search result according to the audio feature includes:
matching processing is carried out by utilizing the audio features to obtain matched features;
and obtaining the search result according to the matching characteristics.
The above-described aspect and any possible implementation manner further provide an implementation manner, where obtaining a search result according to the matching feature includes:
obtaining a search keyword according to the matching characteristics;
and obtaining the search result according to the search keyword.
The above-described aspect and any possible implementation manner further provide an implementation manner, where after obtaining a search result according to the audio feature, the method further includes:
outputting the search result; or
And outputting the resources of the specified type according to the search result.
The above-described aspect and any possible implementation manner further provide an implementation manner that the outputting the resource of the specified type according to the search result includes:
and carrying out skip processing or forwarding processing on the search result so that the terminal displays the specified type of resources.
The above-described aspects and any possible implementations further provide an implementation in which the specified type includes a light application type.
In another aspect of the present invention, there is provided a search apparatus including:
an acquisition unit configured to acquire search audio data;
the characteristic unit is used for obtaining audio characteristics according to the searched audio data;
and the searching unit is used for obtaining a searching result according to the audio features.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, and the obtaining unit is specifically configured to
And acquiring the search audio data by using a sound acquisition device.
The above-mentioned aspects and any possible implementation further provide an implementation that the search unit is specifically configured to
Matching processing is carried out by utilizing the audio features to obtain matched features; and
and obtaining the search result according to the matching characteristics.
The above-mentioned aspects and any possible implementation further provide an implementation that the search unit is specifically configured to
Obtaining a search keyword according to the matching characteristics; and
and obtaining the search result according to the search keyword.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, and the search unit is further configured to
Outputting the search result; or
And outputting the resources of the specified type according to the search result.
The above-described aspects and any possible implementation further provide an implementation of the output unit, which is specifically configured to
And carrying out skip processing or forwarding processing on the search result so that the terminal displays the specified type of resources.
The above-described aspects and any possible implementations further provide an implementation in which the specified type includes a light application type.
According to the technical scheme, the audio features are obtained according to the obtained search audio data, the search results are obtained according to the audio features, the search operation is not completely depended on the search keywords any more, the search operation is executed by using the audio resources, namely the search audio data, so that the search results can basically meet the search intention of the user, the problem that in the prior art, data interaction between the application and the search engine is increased due to the fact that the user repeatedly browses the search result page through the application or repeatedly provides the search keywords for searching is solved, and processing load of the search engine is reduced.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by using the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the effectiveness of the search result can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by using the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the search efficiency can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by utilizing the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the user experience can be greatly improved.
In addition, by adopting the technical scheme provided by the invention, the resources of the specified type can be directly output according to the obtained search result, and the search result page containing the obtained search result is not output any more, so that the application can directly display the resources of the specified type without waiting for the user to click the trigger instruction of the search result on the displayed search result page, and the acquisition efficiency of the resources of the specified type can be effectively improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the embodiments or the prior art descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of a search method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a search apparatus according to another embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a Personal Computer (PC), an MP3 player, an MP4 player, a wearable device (e.g., smart glasses, smart watch, smart bracelet, etc.), and the like.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a schematic flow chart of a search method according to an embodiment of the present invention, as shown in fig. 1.
101. Search audio data is acquired.
102. And obtaining audio features according to the searched audio data.
103. And obtaining a search result according to the audio features.
The search result is description data of a matching result obtained by executing a search process, and is not a resource that is ultimately accessed by a user. The description data may be used to describe access identification of resources, document summary, and other related information. In particular, these document summaries are linked to the actual document or web page. The document summary may generally include a title of the page, a Uniform Resource Locator (URL) of the page, links and page summaries of the real page and the page snapshot, and the like.
The term "resource" as used herein refers to any resource in the internet, which is information resource that is transmitted through a communication device by a computer system and managed by network software.
The resource may be the specified type of resource, or may also be another type of resource, that is, any type of resource, except for the specified type of resource, which is not particularly limited in this embodiment.
The resource of the specified type may be directly provided by a developer of the resource provider, for example, a page written by a programming Language such as HyperText Markup Language 5 (HTML 5), or may also be indirectly provided by the developer of the resource provider by using a page development tool provided by another party, for example, a light application development tool, which is not particularly limited in this embodiment.
It can be understood that the Page related to the present invention, which may also be referred to as a Web Page, may be a Web Page (Web Page) written based on HyperText Markup Language (HTML), that is, an HTML Page, or may also be a Web Page written based on HTML and Java languages, that is, a Java Server Page (JSP), or may also be a Web Page written in other languages, which is not particularly limited in this embodiment. A Web page may include a display area, referred to as a page element, such as a word, a picture, a hyperlink, a button, an input box, a drop-down box, etc., defined by one or more page tags, such as HyperText Markup Language (HTML) tags, JSP tags, etc.
The light application development tool can specifically acquire page component data of a page, wherein the page component data comprises identification information of each target page component in N target page components, identification information of component configuration information of each target page component and assembly information of the N target page components, N is an integer greater than or equal to 1, and further acquire page source codes of each target page component according to the identification information of each target page component and the identification information of the component configuration information of each target page component, so that the page source codes of each target page component can be assembled according to the assembly information to generate the page source codes of the page, and as the page source codes of the page are automatically generated according to the page component data of the page, developers only need to configure the page source codes of the page components in advance, the page source code of the template page does not need to be configured in advance, so that the development efficiency of the page is improved.
The other types of resources can be converted into the resources of the specified type by the specified server. The specific method of conversion may use the existing method of converting the page source code, and the detailed description may refer to the related description in the prior art, which is not described herein again.
It should be noted that part or all of the execution subjects 101 to 103 may be an application located at the local terminal, or may also be a functional unit such as a plug-in or Software Development Kit (SDK) set in the application located at the local terminal, or may also be a search engine located in a server on the network side, or may also be a distributed system located on the network side, which is not particularly limited in this embodiment.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, which is not limited in this embodiment.
In this way, by obtaining the audio features according to the obtained search audio data and then obtaining the search results according to the audio features, since the search operation is not executed by completely depending on the search keywords, the search operation is executed by using the audio resources, i.e. the search audio data, so that the search results can basically meet the search intention of the user, the problem that in the prior art, the data interaction between the application and the search engine is increased due to the fact that the user repeatedly browses the search result page through the application or repeatedly provides the search keywords for searching can be avoided, and the processing load of the search engine is reduced.
Optionally, in a possible implementation manner of this embodiment, in 101, the search audio data may be obtained by using a sound collection device, for example, a microphone.
In a specific implementation, the search audio data may be collected in real-time. Specifically, a sound signal to be searched may be collected, and then, the sound signal may be converted into search audio data. For example, the sound signal is sampled, quantized, and encoded to obtain Pulse Code Modulation (PCM) data.
Optionally, in a possible implementation manner of this embodiment, in 101, the search audio data may be specifically acquired from a storage device of the terminal.
In a specific implementation process, the storage device of the terminal may be a slow storage device, specifically, a hard disk of a computer system, or may also be a non-operating Memory of a mobile phone, that is, a physical Memory, such as a Read-Only Memory (ROM), a Memory card, and the like, which is not limited in this embodiment.
In another specific implementation process, the storage device of the terminal may also be a fast storage device, specifically, a Memory of a computer system, or may also be a running Memory of a mobile phone, that is, a system Memory, for example, a Random Access Memory (RAM), and the like, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, in 102, the search audio data may be specifically subjected to framing processing to obtain at least one frame of data, and then each frame of data in the at least one frame of data is subjected to audio analysis processing to obtain an audio feature of each frame of data.
In a specific implementation, the search audio data may be subjected to framing processing at preset time intervals, for example, 20ms, and a partial data overlap, for example, 50% data overlap, exists between adjacent frames, so that at least one frame of data of the search audio data can be obtained.
In another specific implementation process, the audio feature may include, but is not limited to, at least one of a time-domain audio feature of the search audio data and a frequency-domain audio feature of the search audio data, and this embodiment is not particularly limited in this respect.
The time-domain audio features of the search audio data may include at least one of the following parameters:
time domain waveform, intensity, zero crossing rate, Linear Prediction Coding (LPC) Coefficient, Linear Prediction Cepstrum Coefficient (LPCC), Mel-Frequency Cepstrum Coefficient (MFCC), or Perceptual Linear Prediction (PLP) Coefficient, beat, pitch, and tonality.
The searching for the frequency domain audio features of the audio data may include, but is not limited to, searching for spectral information of the audio data.
Optionally, in a possible implementation manner of this embodiment, in 103, the audio feature may be specifically used for performing matching processing to obtain a matching feature that matches, and then the search result may be obtained according to the matching feature.
In a specific implementation process, the audio features may be specifically used to perform matching processing in a preset audio library, so as to obtain matching features that are the same as or similar to the audio features.
Further, before the implementation process, an audio library may be further set, where the audio library may store a plurality of audio data and audio features corresponding to each audio data.
Then, after the implementation process, the search result may be obtained by adopting different methods according to the matching features, which is not particularly limited in this embodiment.
For example, the corresponding relationship between the matching features and the search results of the specified type may be preset, and then, according to the matching features, the search results of the specified type corresponding to the matching features may be obtained by using the set corresponding relationship between the matching features and the search results of the specified type.
Or, for another example, a corresponding relationship between the matching feature and the search keyword may be preset, and then, according to the matching feature, the search keyword corresponding to the matching feature may be obtained by using the set corresponding relationship between the matching feature and the search keyword. Then, the search result can be obtained according to the search keyword.
In another specific implementation process, the audio features may be specifically used to perform matching processing on audio features of audio data stored in an obtained existing audio library, for example, an audio library used by a hundredth music application, so as to obtain matching features that are the same as or similar to the audio features.
Then, after the implementation process, after matching a matching feature that is the same as or similar to the audio feature, a search keyword may be further obtained according to the audio data corresponding to the matching feature and text attribute data thereof, such as a song name, a song author, a lyric author, a staff of a song, and the like, for example, the song name may be directly used as the search keyword, and the like. Then, the search result can be obtained according to the search keyword.
The text attribute data may be specifically obtained directly from an existing audio library according to the audio data corresponding to the matching features, or may also be obtained from other websites, which is not particularly limited in this embodiment.
In this embodiment, according to the search keyword, the search result may be obtained by using a plurality of methods, which is not particularly limited in this embodiment.
For example, matching may be specifically performed in a search resource library according to the search keyword, so as to obtain a search result matching with the search keyword. Specifically, the search resource library may collect a plurality of webpages in the internet in advance by using a webpage crawler technology, so that the webpages are added to the search resource library for search operation.
Or, for another example, specifically, according to the search keyword, matching may be performed in the resource library of the specified type, so as to obtain a search result of the specified type matching the search keyword.
In a specific implementation process, the resource library of the specified type may be specifically mined in advance in the internet for the resources of the specified type. Specifically, according to the name of the resource provider of the resource, the website where the resource is located, and the like, whether the resource is the resource of the specified type is determined, and the determined resource of the specified type is added to a resource library of the specified type to serve as a database for searching for performing searching operation.
In another specific implementation process, the resource pool of the specified type may be specifically established in advance in an active registration process of the resource provider. Specifically, the registration information sent by the resource provider may be received, where the registration information includes at least one of a name of the resource provider and a name of a resource provided by the resource provider, and related information of the resource, such as an access identifier of the resource provided by the resource provider. Then, the resource pool of the specified type can be established according to the registration information. Specifically, the access identifier of the Resource provided by the Resource provider may include, but is not limited to, a Uniform Resource Locator (URL) or a Uniform Resource Name (URN) of the Resource provided by the Resource provider, or may further include other identification information capable of accessing the Resource provided by the Resource provider, which is not particularly limited in this embodiment.
Therefore, the registration information actively reported by the resource provider is acquired, so that the related information of the resource contained in the registration information can be added into the resource library of the specified type in time, and the timeliness of acquiring the resource can be effectively improved.
In another specific implementation process, based on the last specific implementation process, the registration information may further include content of the resource provided by the resource provider. In this way, the acquired registration information actively reported by the resource provider contains the content of the resource provided by the resource provider, so that in the process of executing the search operation, the keyword matching can be performed no longer only on the basis of the name of the resource or the name of the resource provider, but the full-text matching can be performed on the basis of the content, and the search depth is improved.
Further, a type identifier may be added to the record corresponding to each resource in the resource pool of the specified type, so as to indicate the type of the resource. For example, 1 represents a resource of the specified type, and 0 represents a resource of another type, i.e., an arbitrary type, other than the resource of the specified type; or, for another example, 0 represents the resource of the specified type, and 1 represents a resource of another type, that is, an arbitrary type, except for the resource of the specified type.
Optionally, in a possible implementation manner of this embodiment, after 103, a step of performing an output operation according to the search result may be further included.
In a specific implementation process, the search result may be specifically output. Specifically, the search result page may be output and the search result obtained by executing 103 may be displayed.
In another specific implementation process, the resource of the specified type may be further output according to the search result. Because the resources of the specified type can be directly output according to the search result without outputting the search result page containing the search result, the application can directly display the resources of the specified type without waiting for the user to click the trigger instruction of the search result on the displayed search result page, and the acquisition efficiency of the resources of the specified type can be effectively improved.
Specifically, the search result may be subjected to skip processing or forwarding processing, so that the terminal displays the specified type of resource.
The specified type may be a light application type, or may also be other basic resource types such as a video type, which is not particularly limited in this embodiment. The Light application (Light App) is a full-function application which can be used as a search without downloading, has user experience comparable to or even superior to that of mobile applications on a terminal, has the characteristic that webpage applications can be retrieved and intelligently distributed, can effectively solve the problem that high-quality applications and services are in butt joint with the requirements of mobile users, and can reduce development and operation costs.
For example, specifically, the search result may be subjected to a skip process or a forward process, so that the terminal presents the resource of the specified type.
Or, for another example, the search result may be subjected to a skip process or a forwarding process according to the type of the resource included in the search result.
It should be noted that the resource of the specified type may be directly provided by the resource provider, or may also be provided by a specified server after performing conversion processing on the resource of any type provided by the resource provider, which is not particularly limited in this embodiment.
It should be noted that, because the providers of the resources of the specified type are different, the access identifier of the resource of the specified type returned to the terminal may be an access identifier of the resource of the specified type provided by the resource provider, or may also be an access identifier of a specified server, and in this case, the specified server needs to perform conversion processing on the resource of any type provided by the resource provider to obtain the resource of the specified type, which is not particularly limited in this embodiment.
For example, if the type of the resource is the specified type, an http server may be specifically called to perform skip processing, that is, an access identifier of the resource of the specified type may be specifically returned to the terminal, so that the terminal accesses the resource of the specified type by using the access identifier of the resource of the specified type and displays the resource. In this way, the terminal senses the access identifier of the resource of the specified type, and for the browser with the address bar, the address bar is the access identifier of the resource of the specified type. For the detailed description of the jump processing, reference may be made to related contents in the prior art, and details are not described herein.
Or, for another example, if the type of the resource is not the specified type, that is, the resource is a type other than the specified type, specifically, an http server response method may be called to perform a skip process, that is, an access identifier of a specified server may be returned to the terminal, at this time, the specified server needs to perform a conversion process on any type of resource provided by a resource provider to obtain the resource of the specified type, so that the terminal accesses the specified server by using the access identifier of the specified server to obtain the resource of the specified type converted by the specified server and displays the resource. In this way, the terminal senses the access identifier of the specified server, and for the browser with the address bar, the address bar is the access identifier of the specified server. For the detailed description of the jump processing, reference may be made to related contents in the prior art, and details are not described herein. Specifically, the access identifier of the designated server may include, but is not limited to, an IP address of the server, a URL of the server, or a URN of the server, which is not particularly limited in this embodiment.
For another example, if the type of the resource is the specified type, a requestdispatcher forward method may be specifically called to perform forwarding processing, that is, the access identifier of the specified type of resource may be specifically used to access the specified type of resource, and the specified type of resource is returned to the terminal, so that the terminal presents the specified type of resource. In this way, the terminal does not sense the access identifier of the resource of the specified type, and for the browser with the address bar, the address bar is the access identifier of the resource contained in the search result, and the access identifier of the resource of the specified type and the access identifier of the specified server are not. For a detailed description of the forwarding process, reference may be made to related contents in the prior art, and details are not described herein.
For another example, if the type of the resource is not the specified type, that is, the resource is a type other than the specified type, a requestdispatcher forward method may be specifically invoked to perform forwarding processing, that is, an access identifier of a specified server may be specifically used to access the specified server, at this time, the specified server needs to perform conversion processing on any type of resource provided by a resource provider to obtain the resource of the specified type, and return the resource of the specified type to a terminal, so that the terminal presents the resource of the specified type. In this way, the terminal does not sense the access identifier of the resource of the specified type, and for the browser with the address bar, the address bar is the access identifier of the resource contained in the search result, and the access identifier of the resource of the specified type and the access identifier of the specified server are not. For a detailed description of the forwarding process, reference may be made to related contents in the prior art, and details are not described herein.
In the embodiment, the audio features are obtained according to the obtained search audio data, and then the search results are obtained according to the audio features, and since the search operation is not executed by completely depending on the search keywords, the search operation is executed by using the audio resources, namely, the search audio data, so that the search results can basically meet the search intention of the user, the problem that in the prior art, the data interaction between the application and the search engine is increased due to the fact that the user repeatedly browses the search result page through the application or repeatedly provides the search keywords for searching can be avoided, and the processing load of the search engine is reduced.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by using the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the effectiveness of the search result can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by using the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the search efficiency can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by utilizing the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the user experience can be greatly improved.
In addition, by adopting the technical scheme provided by the invention, the resources of the specified type can be directly output according to the obtained search result, and the search result page containing the obtained search result is not output any more, so that the application can directly display the resources of the specified type without waiting for the user to click the trigger instruction of the search result on the displayed search result page, and the acquisition efficiency of the resources of the specified type can be effectively improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 2 is a schematic structural diagram of a search apparatus according to another embodiment of the present invention, as shown in fig. 2. The search apparatus of the present embodiment may include an acquisition unit 21, a feature unit 22, and a search unit 23. Wherein, the obtaining unit 21 is used for obtaining the search audio data; a feature unit 22, configured to obtain an audio feature according to the search audio data; and the searching unit 23 is configured to obtain a search result according to the audio feature.
It should be noted that, part or all of the search apparatus provided in this embodiment may be an application located at the local terminal, or may also be a functional unit such as a plug-in or Software Development Kit (SDK) set in the application located at the local terminal, or may also be a search engine located in a server on the network side, or may also be a distributed system located on the network side, which is not particularly limited in this embodiment.
It is to be understood that the application may be a native app (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, which is not limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the obtaining unit 21 may be specifically configured to obtain the search audio data by using a sound collecting device.
Optionally, in a possible implementation manner of this embodiment, the searching unit 23 may be specifically configured to perform matching processing by using the audio features to obtain matched matching features; and obtaining the search result according to the matching features.
In a specific implementation process, the search unit 23 may be specifically configured to obtain a search keyword according to the matching feature; and obtaining the search result according to the search keyword.
Optionally, in a possible implementation manner of this embodiment, the search unit 23 may be further configured to output the search result.
Optionally, in a possible implementation manner of this embodiment, the searching unit 23 may be further configured to output a resource of a specified type according to the search result.
In a specific implementation process, the search unit 23 may be specifically configured to perform skip processing or forwarding processing on the search result, so that the terminal displays the resource of the specified type.
The specified type may include, but is not limited to, a light application type, and this embodiment does not particularly limit this.
It should be noted that the method in the embodiment corresponding to fig. 1 may be implemented by the search apparatus provided in this embodiment. For a detailed description, reference may be made to relevant contents in the embodiment corresponding to fig. 1, and details are not described here.
In this embodiment, the characteristic unit obtains the audio characteristic according to the search audio data obtained by the obtaining unit, and the search unit obtains the search result according to the audio characteristic, and since the search operation is not performed completely depending on the search keyword, the search operation is performed by using the audio resource, i.e., the search audio data, so that the search result can basically satisfy the search intention of the user, the problem of increasing data interaction between the application and the search engine due to the fact that the user repeatedly browses the search result page through the application or repeatedly provides the search keyword for searching in the prior art can be avoided, and thus the processing burden of the search engine is reduced.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by using the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the effectiveness of the search result can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by using the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the search efficiency can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the search operation is not executed by completely depending on the search keyword, but the search operation is executed by utilizing the audio resource, namely the search audio data, so that the search result can basically meet the search intention of the user, and the user experience can be greatly improved.
In addition, by adopting the technical scheme provided by the invention, the resources of the specified type can be directly output according to the obtained search result, and the search result page containing the obtained search result is not output any more, so that the application can directly display the resources of the specified type without waiting for the user to click the trigger instruction of the search result on the displayed search result page, and the acquisition efficiency of the resources of the specified type can be effectively improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (8)
1. A search method is applied to the technical field of Internet, and is characterized by comprising the following steps:
acquiring search audio data;
obtaining audio features according to the searched audio data;
obtaining a search result according to the audio features;
after obtaining the search result according to the audio feature, the method further includes:
outputting resources of a specified type according to the search result;
the outputting the resources of the specified type according to the search result comprises:
according to the type of the resource contained in the search result, carrying out skip processing or forwarding processing on the search result so that the terminal can display the resource of the specified type; the specified type includes a light application type.
2. The method of claim 1, wherein the obtaining search audio data comprises:
and acquiring the search audio data by using a sound acquisition device.
3. The method of claim 1, wherein obtaining search results based on the audio features comprises:
matching processing is carried out by utilizing the audio features to obtain matched features;
and obtaining the search result according to the matching characteristics.
4. The method of claim 3, wherein obtaining search results based on the matching features comprises:
obtaining a search keyword according to the matching characteristics;
and obtaining the search result according to the search keyword.
5. A search device is applied to the technical field of Internet, and is characterized by comprising:
an acquisition unit configured to acquire search audio data;
the characteristic unit is used for obtaining audio characteristics according to the searched audio data;
the searching unit is used for obtaining a searching result according to the audio features;
the search unit is also used for
Outputting resources of a specified type according to the search result;
the search unit is particularly used for
According to the type of the resource contained in the search result, carrying out skip processing or forwarding processing on the search result so that the terminal can display the resource of the specified type; the specified type includes a light application type.
6. The apparatus according to claim 5, wherein the obtaining unit is configured to obtain the search audio data by using a sound collection apparatus.
7. The apparatus according to claim 5, wherein the search unit is specifically configured to perform matching processing using the audio features to obtain matching features; and
and obtaining the search result according to the matching characteristics.
8. Device according to claim 7, characterized in that the search unit is specifically configured to
Obtaining a search keyword according to the matching characteristics; and
and obtaining the search result according to the search keyword.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510341216.9A CN104951536B (en) | 2015-06-18 | 2015-06-18 | Searching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510341216.9A CN104951536B (en) | 2015-06-18 | 2015-06-18 | Searching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104951536A CN104951536A (en) | 2015-09-30 |
CN104951536B true CN104951536B (en) | 2021-01-22 |
Family
ID=54166194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510341216.9A Active CN104951536B (en) | 2015-06-18 | 2015-06-18 | Searching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104951536B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740420B (en) * | 2016-01-29 | 2019-05-21 | Oppo广东移动通信有限公司 | A kind of song switching method and mobile terminal |
CN107068125B (en) * | 2017-03-31 | 2021-11-02 | 北京小米移动软件有限公司 | Musical instrument control method and device |
CN109710832B (en) * | 2018-12-29 | 2021-09-24 | 上海掌门科技有限公司 | A method and apparatus for searching for a boarding program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761261A (en) * | 2013-12-31 | 2014-04-30 | 北京紫冬锐意语音科技有限公司 | Voice recognition based media search method and device |
CN104462262A (en) * | 2014-11-21 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for achieving voice search and browser client side |
CN104598527A (en) * | 2014-12-26 | 2015-05-06 | 盈世信息科技(北京)有限公司 | Voice search method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970798B (en) * | 2013-02-04 | 2019-05-28 | 商业对象软件有限公司 | The search and matching of data |
CN104281705B (en) * | 2014-10-23 | 2017-12-22 | 百度在线网络技术(北京)有限公司 | Searching method and searcher |
CN104503988B (en) * | 2014-12-03 | 2018-10-16 | 百度在线网络技术(北京)有限公司 | searching method and device |
CN104598556A (en) * | 2015-01-04 | 2015-05-06 | 百度在线网络技术(北京)有限公司 | Search method and search device |
CN104598585A (en) * | 2015-01-15 | 2015-05-06 | 百度在线网络技术(北京)有限公司 | Information search method and information search device |
-
2015
- 2015-06-18 CN CN201510341216.9A patent/CN104951536B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761261A (en) * | 2013-12-31 | 2014-04-30 | 北京紫冬锐意语音科技有限公司 | Voice recognition based media search method and device |
CN104462262A (en) * | 2014-11-21 | 2015-03-25 | 北京奇虎科技有限公司 | Method and device for achieving voice search and browser client side |
CN104598527A (en) * | 2014-12-26 | 2015-05-06 | 盈世信息科技(北京)有限公司 | Voice search method and device |
Non-Patent Citations (1)
Title |
---|
基于矢量量化的语音识别及全文检索研究;亢明;《中国优秀硕士学位论文全文数据库 信息科技辑》;20091215;第2009年卷(第12期);I136-68 * |
Also Published As
Publication number | Publication date |
---|---|
CN104951536A (en) | 2015-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101452453B (en) | A kind of method of input method Web side navigation and a kind of input method system | |
JP6488508B2 (en) | Web page access method, apparatus, device, and program | |
CN105938477B (en) | Method and system for aggregating and formatting search results | |
US10394925B2 (en) | Automating web tasks based on web browsing histories and user actions | |
CN102325191B (en) | Fully automatic treatment method and frame without page refresh | |
US10579686B2 (en) | Analyzing an interaction history to generate a customized webpage | |
US9311303B2 (en) | Interpreted language translation system and method | |
CN108090104B (en) | Method and device for acquiring webpage information | |
CN102708174A (en) | Method and device for displaying rich media information in browser | |
US20150227276A1 (en) | Method and system for providing an interactive user guide on a webpage | |
US7979386B1 (en) | Method and system for performing search engine optimizations | |
WO2017124692A1 (en) | Method and apparatus for searching for conversion relationship between form pages and target pages | |
US8639560B2 (en) | Brand analysis using interactions with search result items | |
JP2008186452A (en) | Retrieval system and retrieval method | |
US20220292160A1 (en) | Automated system and method for creating structured data objects for a media-based electronic document | |
CN104951536B (en) | Searching method and device | |
JP6147629B2 (en) | Page site server, program, and method for immediately displaying a point of interest for page content | |
WO2007139913A2 (en) | Locating a portion of data on a computer network | |
CN104573120A (en) | Recommendation information obtaining method and device for terminal | |
CN104239454A (en) | Searching method and device | |
US20220108359A1 (en) | System and method for continuous automated universal rating aggregation and generation | |
US11740893B2 (en) | Trend monitoring of code repositories and related information | |
US10769388B2 (en) | Changing a language for a user session replay | |
JP5114524B2 (en) | Search result update system, server and method | |
TWI320144B (en) | System and method for downloading static web page |
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 |