CN106407286A - Music search method and apparatus - Google Patents
Music search method and apparatus Download PDFInfo
- Publication number
- CN106407286A CN106407286A CN201610753920.XA CN201610753920A CN106407286A CN 106407286 A CN106407286 A CN 106407286A CN 201610753920 A CN201610753920 A CN 201610753920A CN 106407286 A CN106407286 A CN 106407286A
- Authority
- CN
- China
- Prior art keywords
- music
- input information
- search
- search results
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/686—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information 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)
Abstract
Embodiments of the invention disclose a music search method and apparatus, and relate to the technical field of multimedia. The music search method comprises the steps of selecting a song bank according to a networked state of a terminal; searching for music in the selected song bank according to input information to obtain a search result; and displaying the search result. According to the music search method and apparatus provided by the embodiments of the invention, the song bank is connected according to the type of a network connected with the terminal; the music is searched for in the connected song bank by identifying the input information of a user; the search result is displayed according to an interface of information input; and the identification and calculation are performed through a background algorithm, so that the music conforming to a usage habit of the user can be recommended and displayed to the user more intelligently when the user performs a music search, and the search experience of the user is greatly improved.
Description
Technical field
The present embodiments relate to multimedia technology field, more particularly, to a kind of method for searching music and device.
Background technology
Greatly developing with intellectual technology, the use of terminal is also more and more frequent, such as smart mobile phone etc..The user of terminal
Usually music can be play using music player in life, but existing music categories and quantity are too huge, use
Family when in the face of such situation, generally want to find meet oneself regard music very difficult.
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems:User searches in music
During rope, need the different search interfaces in music player to connect different Qu Ku and carry out music searching, for example, be used for
When scanning in online music search interface, it is only capable of searching the music on network, carry out local music if necessary and search
Rope, then need the interface accordingly switching to for local search to re-start search, operation is relatively complicated time-consuming.
Content of the invention
In order to overcome the shortcomings of Related product in prior art, the embodiment of the present invention proposes a kind of method for searching music and dress
Put, solve the problems, such as that user can easily not carry out music searching.
In a first aspect, embodiments providing a kind of method for searching music, the method includes:
Networking state according to terminal selects Qu Ku;
Music is searched in selected Qu Ku according to input information, obtains Search Results;
Show described Search Results.
Further, the described networking state according to terminal selects bent storehouse to include:
Identify the networking state of presently described terminal;
If presently described terminal connects to WIFI network, connect high in the clouds Qu Ku;
If presently described terminal connects to mobile network or is not connected to network, connect local Qu Ku.
Further, connect to WIFI network in presently described terminal, then, after connecting high in the clouds Qu Ku, methods described is also wrapped
Include:
If not searching, in described high in the clouds Qu Ku, the music mated with described input information, continue to connect described
Ground Qu Ku, and music is searched in described local Qu Ku according to described input information.
Further, connect to mobile network in presently described terminal, then, after connecting local Qu Ku, methods described is also wrapped
Include:
If not searching, in described local Qu Ku, the music mated with described input information, continue to connect described cloud
End Qu Ku, and music is searched in described high in the clouds Qu Ku according to described input information.
Further, described music of being searched in selected Qu Ku according to input information includes:
Identify the type of described input information;
Obtain search rule corresponding with the type of described input information;
According to search rule corresponding with the type of described input information, according to described input information from selected Qu Ku
Interior search music.
Further, the described Search Results of described display include:
Identification receives the type at the interface of described input information;
Obtain Search Results display rule corresponding with the type at described interface;
Show described Search Results according to Search Results corresponding with the type at described interface display rule.
Further, the described Search Results of described display include:
By Search Results described in the interface display of described terminal, wherein, in left side edge or the right edge at described interface
Edge is provided with navigation bar.
Second aspect, embodiments provides a kind of music searching device, and this device includes:
Bent storehouse selecting module, selects Qu Ku for the networking state according to terminal;
Music searching module, for searching for music according to input information in selected Qu Ku, obtains Search Results;
Result display module, for showing described Search Results.
Further, described song storehouse selecting module includes:
Network Recognition unit, for identifying the networking state of presently described terminal;
Connect high in the clouds Qu Ku, for connecting to WIFI network in presently described terminal, then connect high in the clouds Qu Ku, in current institute
State terminal to connect to mobile network or be not connected to network, then connect local Qu Ku.
Further, described song storehouse connection unit is additionally operable to:If do not search defeated with described in described high in the clouds Qu Ku
Enter the music of information matches, then continue to connect described local Qu Ku, and searched in described local Qu Ku according to described input information
Suo Yinle.
Further, described song storehouse connection unit is additionally operable to:If do not search defeated with described in described local Qu Ku
Enter the music of information matches, then continue to connect described high in the clouds Qu Ku, and searched in described high in the clouds Qu Ku according to described input information
Suo Yinle.
Further, described music searching module includes:
Information identificating unit, for identifying the type of described input information;
Search rule acquiring unit, for obtaining search rule corresponding with the type of described input information;
Search select unit, for according to search rule corresponding with the type of described input information, according to described input
Information searches for music in selected Qu Ku.
Further, described result display module includes:
Interface recognition unit, receives the type at the interface of described input information for identification;
Display Rule unit, for obtaining Search Results display rule corresponding with the type at described interface;
Result display unit, for searching according to described in Search Results corresponding with the type at described interface display rule display
Hitch fruit.
Further, described result display module is used for:By Search Results described in the interface display of described terminal, its
In, the left side edge at described interface or right side edge are provided with navigation bar.
Compared with prior art, the embodiment of the present invention has advantages below:
The embodiment of the present invention connects Qu Ku according to the network type that terminal is connected, by the input information of identifying user,
Search for music in the Qu Ku being connected, and show Search Results, compared in prior art, the needs when carrying out music searching
Connect different Qu Ku in different search interfaces to scan for, improve the convenience of music searching.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings
Figure.
Fig. 1 is the flow chart of method for searching music first embodiment described in the embodiment of the present invention;
Fig. 2 is the flow chart of method for searching music second embodiment described in the embodiment of the present invention;
Fig. 3 is the principle assumption diagram of music searching device first embodiment described in the embodiment of the present invention;
Fig. 4 is the principle assumption diagram of music searching device second embodiment described in the embodiment of the present invention.
Specific embodiment
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully.In accompanying drawing
Give presently preferred embodiments of the present invention.But, the present invention can realize in many different forms however it is not limited to this paper institute
The embodiment of description.On the contrary, providing the purpose of these embodiments to be to make the understanding to the disclosure more thorough
Comprehensively.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field belonging to the present invention
The implication that technical staff is generally understood that is identical.The term being used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body is it is not intended that in limiting the present invention.
Embodiment one
Refering to the first embodiment shown in Fig. 1, being method for searching music of the present invention, the sound described in the embodiment of the present invention
Happy searching method is applied to terminal, and including mobile phone, PC computer and tablet device etc., in embodiments of the present invention, described terminal is
Mobile phone, comprises the following steps:
S101:Networking state according to terminal selects Qu Ku;
In embodiments of the present invention, described terminal can be mobile phone, PC computer and tablet device etc.;Described networking state bag
Include connection network and be not connected with network, connect network and include WiFi network connection or mobile data network connection, described movement
Data network includes 2G, 3G, 4G etc..If terminal is PC computer, its networking state is only and connects WiFi network or be not connected with net
Network, if terminal is mobile phone or tablet device, its networking state is to connect WiFi network, connect mobile data network or be not connected with
Network;Described Qu Ku is the data base of storage music, includings local Qu Ku and high in the clouds Qu Ku, described local bent warehouse compartment in terminal,
Described high in the clouds song warehouse compartment is in cloud server;
In embodiments of the present invention, by identifying the networking state of presently described terminal, and according to described networking state even
Meet corresponding Qu Ku, specifically:If present terminal is not connected to network, connect local Qu Ku;If present terminal connects
When network type is WiFi network, then high in the clouds Qu Ku described in preferential attachment, if do not find suitable sound in described high in the clouds Qu Ku
Happy, then continue to be connected to described local song storehouse log-on data transmission, and sound is searched in described local Qu Ku according to input information
Happy;If the network type that present terminal connects is mobile data network, local Qu Ku described in preferential attachment, if at described
Ground Qu Ku does not find suitable music, then continue to be connected to the song storehouse log-on data transmission of described high in the clouds, and according to input information
Music is searched in described high in the clouds Qu Ku.
S102:Music is searched in selected Qu Ku according to input information, obtains Search Results;
The embodiment of the present invention receives and identifies user input information, and wherein, described input information can be music searching
Key word, for example, song title, Ge Shouming, album name etc..Coupling can be searched for from selected Qu Ku according to this key word
Music.
S103:Display Search Results.
In embodiments of the present invention, the networking state according to terminal selects Qu Ku, then according to input information selected
Qu Ku in search music, obtain Search Results, and show Search Results, compared in prior art, carrying out music searching
When need to connect different Qu Ku in different search interfaces and scan for, improve the convenience of music searching.
Alternatively, music is searched in selected Qu Ku according to input information, obtain Search Results and include:Identification is described
The type of input information;Obtain search rule corresponding with the type of described input information;According to the class with described input information
The corresponding search rule of type, searches for music according to described input information in selected Qu Ku.
With the type by first judging described input information, wherein, described type includes song title, song to the embodiment of the present invention
Handss name and album name etc..After the type that determined described input information, the class with described input information can be obtained further
The corresponding search rule of type, wherein, described search rule can be to carry out music screening, example according to priority set in advance
As the type of described input information is song title, then can come according to the priority orders of song title, broadcasting frequency, singer's name
Screening song.Specifically, the present embodiment can prestore the corresponding relation of different types of input information and search rule.
The embodiment of the present invention is passed through according to search rule corresponding with the type of input information, searches in selected Qu Ku
Suo Yinle, the demand of the user that can improve the accuracy of Search Results so that Search Results are more fitted.
Alternatively, in embodiments of the present invention, the described Search Results of described display include:Identification receives described input information
Interface type;Obtain Search Results display rule corresponding with the type at described interface;According to the type with described interface
Corresponding Search Results display rule shows described Search Results.
Above-mentioned interface includes song sub-interface, singer's sub-interface and special edition sub-interface.Mentioned above searching results display rule can
With the attribute-bit for determining Search Results according to the type at place interface, for example, active user carries out information input operation institute
Interface be song sub-interface when, no matter information input is song title, singer's name or album name, the genus of described Search Results
Property mark be shown as:Song title+singer's name+album name+song classification+broadcasting number.Show in this way, so that aobvious
Show that result is more fitted user's use habit.
Alternatively, the described Search Results of described display include:By Search Results described in the interface display of described terminal, its
In, the left side edge at described interface or right side edge are provided with navigation bar.
Specifically, the embodiment of the present invention passes through to arrange navigation bar in Search Results display interface, for example, letter navigation
Hurdle, thus user can carry out the quick positioning of target song from Search Results according to navigation bar.
Embodiment two
On the basis of first embodiment, refering to the method for searching music shown in Fig. 2, being second embodiment of the invention, this
Method for searching music described in inventive embodiments is applied to terminal, including mobile phone, PC computer and tablet device etc., real in the present invention
Apply in example, described terminal is mobile phone, comprises the following steps:
S201:Identify the networking state of presently described terminal;
In embodiments of the present invention, described networking state includes connecting network and is not connected with network, the network of connection
Including WiFi network or mobile data network, described mobile data network includes 2G, 3G, 4G etc., if terminal is PC computer, its
Networking state is only and connects WiFi network or be not connected with network, if terminal is mobile phone or tablet device, its networking state is even
Connect WiFi network, connect mobile data network or be not connected with network.
S202:After networking state according to terminal is connected from different bent storehouses, log-on data is transmitted;
In embodiments of the present invention, described Qu Ku is the data base of storage music, including local Qu Ku and high in the clouds Qu Ku, institute
, in terminal, described high in the clouds song warehouse compartment is in cloud server to state locally bent warehouse compartment;
The embodiment of the present invention connects corresponding Qu Ku according to described networking state, specifically:If present terminal does not connect
To network, then connect locally bent storehouse log-on data transmission;If the network type that present terminal connects is WiFi network, preferentially
Connecting described high in the clouds Qu Ku, if not finding suitable music in described high in the clouds Qu Ku, continuing to be connected to described local Qu Ku
Log-on data is transmitted, and searches for music in described local Qu Ku according to input information;If the network type that present terminal connects
During for mobile data network, then local Qu Ku described in preferential attachment, if not finding suitable music in described local Qu Ku,
Continue to be connected to described high in the clouds song storehouse log-on data transmission, and music is searched in described high in the clouds Qu Ku according to input information.
S203:Identify the type of described input information;
In embodiments of the present invention, user carry out information input mode different according to the type of terminal;When described end
When holding as PC computer, user is by external keyboard come input information;When described terminal is mobile phone or tablet device, by touching
Touch screen or button carrys out input information;
Described information is the key word of music searching, determines the classification of described input information according to described key word, described
Classification includes song title, singer's name and album name etc..
S204:Obtain search rule corresponding with the type of described input information;
In embodiments of the present invention, described search rule is the classification according to input information and priority pair set in advance
Search Results are screened, and specifically, the present embodiment can prestore the right of different types of input information and search rule
Should be related to.In embodiments of the present invention, when the classification of input information is different, the setting of priority is also different, its medium priority
Highest Search Results are final result, specially:
When the classification of input information is song title, in Search Results, song title is just the same with the key word of input information
Priority high;If there being number of songs name identical music in the high Search Results of above-mentioned priority, compare broadcasting number, wherein
Play the high music priority of number high;If it is also identical to play number, compares and sing type, wherein the priority of original singer is more than to turn over and sings
Priority;Export Search Results according to priority;
When the classification of input information is singer's name, in Search Results, singer's name is just the same with the key word of input information
Priority high;If having multiple singers of the same name in the high Search Results of above-mentioned priority, comparing and singing type, wherein original singer
Priority be more than turn over the priority sung;If it is identical to sing type, compare broadcasting number, wherein play the high music priority of number
High;If singer no of the same name, directly compare broadcasting number, wherein play the high music priority of number high;If it is also identical to play number,
Relatively sing type, the wherein priority of original singer is more than and turns over the priority sung;Export Search Results according to priority;
When the classification of input information is album name, in Search Results, album name is just the same with the key word of input information
Priority high;If there being multiple special editions of the same name in the high Search Results of above-mentioned priority, compare total broadcasting number of special edition, its
The high special edition priority of middle broadcasting number is high;If it is also identical to play number, compares and sing type, wherein the priority of original singer is more than and turns over
The priority sung;Export Search Results according to priority.
S205:According to search rule corresponding with the type of described input information, according to described input information from selected
Qu Ku in search music;
In embodiments of the present invention, it is the key word of music searching according to the recognition result of input information in the song being connected
Execute music searching in storehouse, read the music data in Qu Ku, judge whether to meet by the subsidiary attribute-bit of music and search
Ask for and ask, described attribute-bit is for making a distinction to all music in Qu Ku, the information of described attribute-bit includes singing
Song name, Ge Shouming, album name, song classification and broadcasting number;The key word of described music searching must be described attribute-bit
One of them of middle song title, singer's name or album name;Search when the attribute-bit having music in described Qu Ku includes described music
During the key word of rope, that is, think that this music meets searching requirement, all music meeting searching requirement of labelling, output search knot
Really, described Search Results are made up of the attribute-bit that it is comprised.
S206:Identification receives the type at the interface of described input information;
In embodiments of the present invention, described interface includes song sub-interface, singer's sub-interface and special edition sub-interface.
S207:Obtain Search Results display rule corresponding with the type at described interface;
In embodiments of the present invention, described Search Results show that rule is type according to place interface to all of search
The attribute-bit of result carries out display adjustment, wherein:
When the interface that active user carries out that information input operation is located is song sub-interface, no matter information input is song
Name, singer's name or album name, the attribute-bit of described Search Results all shown as:Song title+singer's name+album name+song class
Not+play number;
When the interface that active user carries out that information input operation is located is singer's sub-interface, no matter information input is song
Name, singer's name or album name, the attribute-bit of described Search Results all shown as:Singer's name+song title+album name+song class
Not+play number;
When the interface that active user carries out that information input operation is located is special edition sub-interface, no matter information input is song
Name, singer's name or album name, the attribute-bit of described Search Results all shown as:Album name+song title+singer's name+song class
Not+play number.
S208:Described Search Results are shown according to Search Results corresponding with the type at described interface display rule;
In embodiments of the present invention, rule can be shown according to Search Results corresponding with the type at described interface, by institute
Some Search Results arrange from high to low successively from top to bottom according to the height of priority;
In embodiments of the present invention, show rule according to Search Results corresponding with the type at described interface, will be all of
Search Results arrange from high to low successively from top to bottom according to the height of priority, be shown in the interface of terminal it is possible to
The left side edge at described interface or right side edge are provided with navigation bar, and for example, alphabetical navigation bar, to scan for leading of result
Boat.
Specifically, the embodiment of the present invention passes through to arrange navigation bar in Search Results display interface, for example, letter navigation
Hurdle, thus user can carry out the quick positioning of target song from Search Results according to navigation bar.
In embodiments of the present invention, described method for searching music passes through to identify the networking state of presently described terminal, according to
After the networking state of terminal is connected from different bent storehouses, log-on data is transmitted, and after identifying the type of described input information, obtains
Take search rule corresponding with the type of described input information, according to search rule corresponding with the type of described input information,
Music is searched in selected Qu Ku according to described input information, identification receives the type at the interface of described input information, leads to
Cross acquisition Search Results corresponding with the type at described interface display rule, according to search knot corresponding with the type at described interface
Fruit shows that rule shows described Search Results;It is identified by the algorithm on backstage and calculates, music can be carried out in user and search
When rope, the more intelligent music meeting user's use habit to user's recommendation and display, greatly improves searching of user
Cable body is tested.
Embodiment three
Refering to the first embodiment shown in Fig. 3, being music searching device of the present invention, including:Bent storehouse selecting module 1,
Music searching module 2 and result display module 3.
The networking state that described song storehouse selecting module 1 is used for according to terminal selects Qu Ku, and described terminal includes mobile phone, PC
Computer and tablet device etc.;Described networking state includes connecting network and is not connected with network, and the network of connection includes WiFi
Network or mobile data network, described mobile data network includes 2G, 3G, 4G etc., if terminal is PC computer, its networking state
It is only and connects WiFi network or be not connected with network, if terminal is mobile phone or tablet device, its networking state is to connect WiFi net
Network, connect mobile data network or be not connected with network;Described Qu Ku is the data base of storage music, including local Qu Ku and high in the clouds
Qu Ku, in terminal, described high in the clouds song warehouse compartment is in cloud server for described local song warehouse compartment;
In embodiments of the present invention, described song storehouse selecting module 1 is passed through to identify the networking state of presently described terminal, and root
Connect corresponding Qu Ku according to described networking state, specifically:If present terminal is not connected to network, connect local Qu Ku;
If the network type that present terminal connects is WiFi network, high in the clouds Qu Ku described in preferential attachment, if in described high in the clouds Qu Ku
Do not find suitable music, then continue to be connected to described local Qu Ku, and searched in described local Qu Ku according to input information
Suo Yinle;If the network type that present terminal connects is mobile data network, local Qu Ku described in preferential attachment, if in institute
State local Qu Ku and do not find suitable music, then continue to be connected to the song storehouse log-on data transmission of described high in the clouds, and according to input
Information searches for music in described high in the clouds Qu Ku.
Described music searching module 2 is used for searching for music according to input information in selected Qu Ku, obtains search knot
Really;Described music searching module 2 receives and identifies the information of user input, and wherein, described input information can be music searching
Key word, for example, song title, Ge Shouming, album name etc..Can be searched for from selected Qu Ku according to this key word
The music joined.
Described result display module 3 is used for showing Search Results.
In embodiments of the present invention, the networking state according to terminal selects Qu Ku, then according to input information selected
Qu Ku in search music, obtain Search Results, and show Search Results, compared in prior art, carrying out music searching
When need to connect different Qu Ku in different search interfaces and scan for, improve the convenience of music searching.
Alternatively, described music searching module is additionally operable to:Identify the type of described input information;Obtain and described input letter
The corresponding search rule of type of breath;According to search rule corresponding with the type of described input information, according to described input letter
Breath searches for music in selected Qu Ku.
Described music searching module is passed through first to judge the type of described input information, wherein, described type include song title,
Singer's name and album name etc..After the type that determined described input information, can obtain further and described input information
The corresponding search rule of type, wherein, described search rule can be to carry out music screening, example according to priority set in advance
As the type of described input information is song title, then can come according to the priority orders of song title, broadcasting frequency, singer's name
Screening song.Specifically, the present embodiment can prestore the corresponding relation of different types of input information and search rule.
The embodiment of the present invention is passed through according to search rule corresponding with the type of input information, searches in selected Qu Ku
Suo Yinle, the demand of the user that can improve the accuracy of Search Results so that Search Results are more fitted.
Alternatively, in embodiments of the present invention, described result display module is additionally operable to:Identification receives described input information
The type at interface;Obtain Search Results display rule corresponding with the type at described interface;According to the type pair with described interface
The Search Results display rule answered shows described Search Results.
Above-mentioned interface includes song sub-interface, singer's sub-interface and special edition sub-interface.Mentioned above searching results display rule can
With the attribute-bit for determining Search Results according to the type at place interface, for example, active user carries out information input operation institute
Interface be song sub-interface when, no matter information input is song title, singer's name or album name, the genus of described Search Results
Property mark be shown as:Song title+singer's name+album name+song classification+broadcasting number.Show in this way, so that aobvious
Show that result is more fitted user's use habit.
Alternatively, described result display module is additionally operable to:By Search Results described in the interface display of described terminal, its
In, the left side edge at described interface or right side edge are provided with navigation bar.
Specifically, the embodiment of the present invention passes through to arrange navigation bar in Search Results display interface, for example, letter navigation
Hurdle, thus user can carry out the quick positioning of target song from Search Results according to navigation bar.
Example IV
On the basis of first embodiment, refering to the second enforcement shown in Fig. 4, being music searching device of the present invention
Example, including:Bent storehouse selecting module 1, music searching module 2 and result display module 3.
Described music intelligent search device is applied to terminal, including mobile phone, PC computer and tablet device etc., real in the present invention
Apply in example, described terminal is mobile phone.
The networking state that described song storehouse selecting module 1 is used for according to terminal selects Qu Ku, and described terminal includes mobile phone, PC
Computer and tablet device etc., in embodiments of the present invention, described terminal is mobile phone;Described song storehouse selecting module 1 includes network and knows
Other unit 11 and bent storehouse connection unit 12.
Described Network Recognition unit 11 is used for identifying the networking state of presently described terminal, in embodiments of the present invention, institute
The networking state stated includes connecting network and is not connected with network, and the network of connection includes WiFi network or mobile data network,
Described mobile data network includes 2G, 3G, 4G etc., if terminal be PC computer, its networking state be only connect WiFi network or
It is not connected with network, if terminal is mobile phone or tablet device, its networking state is to connect WiFi network, connect mobile data network
Or it is not connected with network.
After the networking state that described song storehouse connection unit 12 is used for according to terminal is connected from different bent storehouses, log-on data passes
Defeated, described Qu Ku is the data base of storage music, and including local Qu Ku and high in the clouds Qu Ku, described local song warehouse compartment is in terminal, institute
State high in the clouds song warehouse compartment in cloud server.
In embodiments of the present invention, described connection high in the clouds song storehouse 12 connects corresponding Qu Ku, tool according to described networking state
Body:If present terminal is not connected to network, connect locally bent storehouse log-on data transmission;If the network that present terminal connects
When type is WiFi network, then high in the clouds Qu Ku described in preferential attachment, if not finding suitable music in described high in the clouds Qu Ku,
Continue to be connected to described local song storehouse log-on data transmission, and music is searched in described local Qu Ku according to input information;If
When the network type that present terminal connects is mobile data network, then local Qu Ku described in preferential attachment, if in described local song
Suitable music is not found in storehouse, then continue to be connected to the song storehouse log-on data transmission of described high in the clouds, and according to input information in institute
State search music in the Qu Ku of high in the clouds.
Described music searching module 2 is used for searching for music according to input information in selected Qu Ku, obtains search knot
Really, described music searching module 2 includes information identificating unit 21, search rule acquiring unit 22 and search select unit 23.
Described information recognition unit 21 is used for identifying the type of described input information, user carries out the mode root of information input
Different according to the type of terminal;When described terminal is PC computer, user is by external keyboard come information input;When described end
When holding as mobile phone or tablet device, information input is carried out by touch screen or button.
In embodiments of the present invention, described information is the key word of music searching, is determined described defeated according to described key word
Enter the classification of information, described classification includes song title, singer's name and album name etc..
Described search rule acquiring unit 22 is used for obtaining search rule corresponding with the type of described input information, described
Search rule is classification according to input information and priority set in advance is screened to Search Results, specifically, this reality
Apply the corresponding relation that example can prestore different types of input information and search rule.In embodiments of the present invention, defeated
Enter information classification different when, the setting of priority is also different, and wherein the Search Results of highest priority are final result,
It is specially:
When the classification of input information is song title, in Search Results, song title is just the same with the key word of input information
Priority high;If there being number of songs name identical music in the high Search Results of above-mentioned priority, compare broadcasting number, wherein
Play the high music priority of number high;If it is also identical to play number, compares and sing type, wherein the priority of original singer is more than to turn over and sings
Priority;Export Search Results according to priority;
When the classification of input information is singer's name, in Search Results, singer's name is just the same with the key word of input information
Priority high;If having multiple singers of the same name in the high Search Results of above-mentioned priority, comparing and singing type, wherein original singer
Priority be more than turn over the priority sung;If it is identical to sing type, compare broadcasting number, wherein play the high music priority of number
High;If singer no of the same name, directly compare broadcasting number, wherein play the high music priority of number high;If it is also identical to play number,
Relatively sing type, the wherein priority of original singer is more than and turns over the priority sung;Export Search Results according to priority;
When the classification of input information is album name, in Search Results, album name is just the same with the key word of input information
Priority high;If there being multiple special editions of the same name in the high Search Results of above-mentioned priority, compare total broadcasting number of special edition, its
The high special edition priority of middle broadcasting number is high;If it is also identical to play number, compares and sing type, wherein the priority of original singer is more than and turns over
The priority sung;Export Search Results according to priority.
Described search select unit 23 is used for according to search rule corresponding with the type of described input information, according to described
Input information searches for music in selected Qu Ku;In embodiments of the present invention, described search select unit 23 is according to input
The recognition result of information is that the key word of music searching executes music searching, described search select unit in the Qu Ku being connected
23 read the music data in Qu Ku, judge whether to meet searching requirement by the subsidiary attribute-bit of music, described attribute
Mark is that the information of described attribute-bit includes song title, Ge Shouming, special edition for making a distinction to all music in Qu Ku
Name, song classification and broadcasting number;The key word of described music searching must be song title in described attribute-bit, singer's name or
One of them of album name;When the attribute-bit having music in described Qu Ku includes the key word of described music searching, that is, recognize
Meet searching requirement for this music, all music meeting searching requirement of described search select unit 23 labelling, output search knot
Really, described Search Results are made up of the attribute-bit that it is comprised.
Described result display module 3 is used for showing Search Results;Described result display module 3 includes interface recognition unit
31st, display Rule unit 32 and result display unit 33.
Described interface recognition unit 31 is used for the type that identification receives the interface of described input information;In the embodiment of the present invention
In, described interface includes song sub-interface, singer's sub-interface and special edition sub-interface.
Described display Rule unit 32 is used for obtaining Search Results display rule corresponding with the type at described interface,
Described Search Results display rule is that the type according to place interface carries out display tune to the attribute-bit of all of Search Results
Whole, wherein:
When the interface that active user carries out that information input operation is located is song sub-interface, no matter information input is song
Name, singer's name or album name, the attribute-bit of described Search Results all shown as:Song title+singer's name+album name+song class
Not+play number;
When the interface that active user carries out that information input operation is located is singer's sub-interface, no matter information input is song
Name, singer's name or album name, the attribute-bit of described Search Results all shown as:Singer's name+song title+album name+song class
Not+play number;
When the interface that active user carries out that information input operation is located is special edition sub-interface, no matter information input is song
Name, singer's name or album name, the attribute-bit of described Search Results all shown as:Album name+song title+singer's name+song class
Not+play number.
Described result display unit 33 is used for according to Search Results display rule display corresponding with the type at described interface
Described Search Results;In embodiments of the present invention, described result display unit 32 is searched according to corresponding with the type at described interface
Hitch fruit shows rule, and all of Search Results are arranged from high to low successively from top to bottom according to the height of priority, display
It is possible to the left side edge at described interface or right side edge are provided with navigation bar in the interface of terminal, for example, letter navigation
Hurdle, to scan for the navigation of result.
In embodiments of the present invention, the device of described music intelligent search and display is known by described Network Recognition unit 11
The networking state of not presently described terminal, by described connection high in the clouds song storehouse 12 according to the networking state of terminal and different Qu Ku
Log-on data transmission after connection, after described information recognition unit 21 identifies the type of described input information, described search rule
Then acquiring unit 22 obtain search rule corresponding with the type of described input information, by described search for select unit 23 according to
Search rule corresponding with the type of described input information, searches for music according to described input information in selected Qu Ku,
Described interface recognition unit 31 identification receives the type at the interface of described input information, is obtained by showing Rule unit 32
Search Results corresponding with the type at described interface display rule, by described result display unit 33 according to described interface
Type corresponding Search Results display rule shows described Search Results;It is identified by the algorithm on backstage and calculate, permissible
The more intelligent music meeting user's use habit to user's recommendation and display when user carries out music searching, greatly
The search experience that improve user.
It will be appreciated by those skilled in the art that all or part of step realized in above-described embodiment method can be by
Program to complete come the hardware to instruct correlation, and this program storage, in a storage medium, includes some instructions use so that one
Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) execute each embodiment methods described of the application
All or part of step.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not subject to above-described embodiment
Limit, other any spirit without departing from the present invention and the change made under principle, modification, replacement, combine, simplify,
All should be equivalent substitute mode, be included within protection scope of the present invention.
Claims (14)
1. a kind of method for searching music is it is characterised in that include:
Networking state according to terminal selects Qu Ku;
Music is searched in selected Qu Ku according to input information, obtains Search Results;
Show described Search Results.
2. method according to claim 1 is it is characterised in that the described networking state according to terminal selects bent storehouse to include:
Identify the networking state of presently described terminal;
If presently described terminal connects to WIFI network, connect high in the clouds Qu Ku;
If presently described terminal connects to mobile network or is not connected to network, connect local Qu Ku.
3. method according to claim 2 it is characterised in that connecting to WIFI network in presently described terminal, then connects
After the Qu Ku of high in the clouds, methods described also includes:
If not searching, in described high in the clouds Qu Ku, the music mated with described input information, continue to connect described local song
Storehouse, and music is searched in described local Qu Ku according to described input information.
4. method according to claim 2 it is characterised in that connecting to mobile network in presently described terminal, then connects
After local Qu Ku, methods described also includes:
If not searching, in described local Qu Ku, the music mated with described input information, continue to connect described high in the clouds song
Storehouse, and music is searched in described high in the clouds Qu Ku according to described input information.
5. method according to claim 1 is it is characterised in that described search in selected Qu Ku according to input information
Music includes:
Identify the type of described input information;
Obtain search rule corresponding with the type of described input information;
According to search rule corresponding with the type of described input information, searched in selected Qu Ku according to described input information
Suo Yinle.
6. method according to claim 1 is it is characterised in that the described Search Results of described display include:
Identification receives the type at the interface of described input information;
Obtain Search Results display rule corresponding with the type at described interface;
Show described Search Results according to Search Results corresponding with the type at described interface display rule.
7. method according to claim 1 is it is characterised in that the described Search Results of described display include:
By Search Results described in the interface display of described terminal, wherein, the left side edge at described interface or right side edge set
It is equipped with navigation bar.
8. a kind of music searching device is it is characterised in that include:
Bent storehouse selecting module, selects Qu Ku for the networking state according to terminal;
Music searching module, for searching for music according to input information in selected Qu Ku, obtains Search Results;
Result display module, for showing described Search Results.
9. music searching device according to claim 8 is it is characterised in that described song storehouse selecting module includes:
Network Recognition unit, for identifying the networking state of presently described terminal;
Bent storehouse connection unit, for connecting to WIFI network in presently described terminal, then connects high in the clouds Qu Ku, at presently described end
End connects to mobile network or is not connected to network, then connect local Qu Ku.
10. music searching device according to claim 9 is it is characterised in that described song storehouse connection unit is additionally operable to:If
Do not search, in described high in the clouds Qu Ku, the music mated with described input information, then continue to connect described local Qu Ku, and root
Search for music according to described input information in described local Qu Ku.
11. music searching devices according to claim 9 are it is characterised in that described song storehouse connection unit is additionally operable to:If
Do not search, in described local Qu Ku, the music mated with described input information, then continue to connect described high in the clouds Qu Ku, and root
Search for music according to described input information in described high in the clouds Qu Ku.
12. music searching devices according to claim 9 are it is characterised in that described music searching module includes:
Information identificating unit, for identifying the type of described input information;
Search rule acquiring unit, for obtaining search rule corresponding with the type of described input information;
Search select unit, for according to search rule corresponding with the type of described input information, according to described input information
Music is searched in selected Qu Ku.
13. music searching devices according to claim 8 are it is characterised in that described result display module includes:
Interface recognition unit, receives the type at the interface of described input information for identification;
Display Rule unit, for obtaining Search Results display rule corresponding with the type at described interface;
Result display unit, for according to the described search knot of Search Results corresponding with the type at described interface display rule display
Really.
14. music searching devices according to claim 8 are it is characterised in that described result display module is used for:By institute
State Search Results described in the interface display of terminal, wherein, the left side edge at described interface or right side edge are provided with navigation bar.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610753920.XA CN106407286A (en) | 2016-08-29 | 2016-08-29 | Music search method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610753920.XA CN106407286A (en) | 2016-08-29 | 2016-08-29 | Music search method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106407286A true CN106407286A (en) | 2017-02-15 |
Family
ID=58003753
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610753920.XA Pending CN106407286A (en) | 2016-08-29 | 2016-08-29 | Music search method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106407286A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109918534A (en) * | 2019-03-01 | 2019-06-21 | 上海擎语信息科技有限公司 | A kind of novel station software |
| CN110362546A (en) * | 2019-07-22 | 2019-10-22 | 网易(杭州)网络有限公司 | Acquisition methods, device and the document conversion system of convert file |
| CN112989102A (en) * | 2021-04-23 | 2021-06-18 | 杭州网易云音乐科技有限公司 | Audio playing control method and device, storage medium and terminal equipment |
| CN116089707A (en) * | 2022-12-14 | 2023-05-09 | 北京雷石天地电子技术有限公司 | Content display method, device and equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101499080A (en) * | 2008-02-01 | 2009-08-05 | 网秦无限(北京)科技有限公司 | Method and system for fast acquiring information service on mobile terminal |
| CN102349278A (en) * | 2009-03-10 | 2012-02-08 | 诺基亚公司 | Method, apparatus and software for on-demand content mapping |
| CN102724310A (en) * | 2012-06-18 | 2012-10-10 | 惠州Tcl移动通信有限公司 | Method using mobile terminal to implement cloud searching |
| CN103875306A (en) * | 2011-10-14 | 2014-06-18 | 三星电子株式会社 | User terminal device and content sharing method thereof |
-
2016
- 2016-08-29 CN CN201610753920.XA patent/CN106407286A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101499080A (en) * | 2008-02-01 | 2009-08-05 | 网秦无限(北京)科技有限公司 | Method and system for fast acquiring information service on mobile terminal |
| CN102349278A (en) * | 2009-03-10 | 2012-02-08 | 诺基亚公司 | Method, apparatus and software for on-demand content mapping |
| CN103875306A (en) * | 2011-10-14 | 2014-06-18 | 三星电子株式会社 | User terminal device and content sharing method thereof |
| CN102724310A (en) * | 2012-06-18 | 2012-10-10 | 惠州Tcl移动通信有限公司 | Method using mobile terminal to implement cloud searching |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109918534A (en) * | 2019-03-01 | 2019-06-21 | 上海擎语信息科技有限公司 | A kind of novel station software |
| CN110362546A (en) * | 2019-07-22 | 2019-10-22 | 网易(杭州)网络有限公司 | Acquisition methods, device and the document conversion system of convert file |
| CN112989102A (en) * | 2021-04-23 | 2021-06-18 | 杭州网易云音乐科技有限公司 | Audio playing control method and device, storage medium and terminal equipment |
| CN116089707A (en) * | 2022-12-14 | 2023-05-09 | 北京雷石天地电子技术有限公司 | Content display method, device and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8661364B2 (en) | Planetary graphical interface | |
| CN104281656B (en) | The method and apparatus of label information are added in the application | |
| US8315968B2 (en) | Music information processing apparatus, music delivering system, and music information processing method that can satisfy a request from a user | |
| CN109408710A (en) | Search result optimization method, device, system and storage medium | |
| CN106682012A (en) | Commodity object information searching method and device | |
| CN104598515A (en) | Song searching method, device and system | |
| CN105243093A (en) | Singer recommendation method and apparatus | |
| CN106407286A (en) | Music search method and apparatus | |
| CN105373611A (en) | A file display method and device | |
| CN105912650A (en) | Method and apparatus of recommending songs | |
| KR102516211B1 (en) | Method and Apparatus for Providing Recommended Playlists | |
| CN103744887A (en) | Method and device for people search and computer equipment | |
| Park et al. | Leveraging multimodal llm for inspirational user interface search | |
| CN108460162A (en) | Recommendation information processing method, device, equipment and medium | |
| CN112925944A (en) | Music score identification method, terminal equipment and computer readable storage medium | |
| CN106775567B (en) | Sound effect matching method and system | |
| JP5296813B2 (en) | Music recommendation device, method and program | |
| KR20200070732A (en) | Apparatus for recommending music contents | |
| JP4916945B2 (en) | Music information grant server, terminal, and music information grant system | |
| KR100952196B1 (en) | System and method for retrieving local information based on at least one of Hangul's initial, neutral and final | |
| CN106445964B (en) | Method and device for processing audio information | |
| CN110019201A (en) | A kind of method, apparatus and system generating structural data | |
| JP4668039B2 (en) | Music analysis device and music search device | |
| KR100781513B1 (en) | Apparatus and method for providing content according to preference | |
| US20140156593A1 (en) | Information processing apparatus, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170215 |