CN105005612B - A kind of acquisition methods and mobile terminal of music file - Google Patents

A kind of acquisition methods and mobile terminal of music file Download PDF

Info

Publication number
CN105005612B
CN105005612B CN201510402399.0A CN201510402399A CN105005612B CN 105005612 B CN105005612 B CN 105005612B CN 201510402399 A CN201510402399 A CN 201510402399A CN 105005612 B CN105005612 B CN 105005612B
Authority
CN
China
Prior art keywords
music
target
music file
type
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510402399.0A
Other languages
Chinese (zh)
Other versions
CN105005612A (en
Inventor
林尚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510402399.0A priority Critical patent/CN105005612B/en
Publication of CN105005612A publication Critical patent/CN105005612A/en
Application granted granted Critical
Publication of CN105005612B publication Critical patent/CN105005612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval 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

Abstract

The invention discloses a kind of acquisition methods of music file, this method further includes:When the starting trigger condition for detecting speaker grouping i meets, the speaker grouping associated target histories playing music of i is obtained from the history playing music of storage;If the quantity of the target histories playing music is greater than or equal to preset threshold, the target histories playing music is parsed to obtain the K kind music type of the target histories playing music, wherein K is the integer more than or equal to 2;Target music type is determined from the K kind music type, wherein the target music type is the music type that quantity is most in K kind music type;Target music file is obtained according to the target music type.The embodiment of the invention also provides a kind of mobile terminals.It can solve the problems, such as how to be intelligently accustomed to obtaining music file according to user using the embodiment of the present invention.

Description

A kind of acquisition methods and mobile terminal of music file
Technical field
The present invention relates to electronic technology field more particularly to the acquisition methods and mobile terminal of a kind of music file.
Background technique
Wireless sound box is a kind of music player devices popular at present, and wireless sound box can be with cell phone, plate The APP installed on the terminal devices such as computer, which is established, to be wirelessly connected, and can play the music that user is selected by APP.In reality It being found in the application of border, the music file that wireless sound box plays is usually the music file that user is voluntarily downloaded to terminal device, or It is the online music file that user is selected by APP, terminal device can not intelligently obtain music file.
Summary of the invention
How intelligently the embodiment of the present invention provides the acquisition methods and mobile terminal of a kind of music file, be used for solution root It is accustomed to the problem of obtaining music file according to user.
First aspect present invention provides a kind of acquisition methods of music file, including:
When the starting trigger condition for detecting speaker grouping i meets, obtained from the history playing music of storage The speaker is grouped the associated target histories playing music of i;
If the quantity of the target histories playing music is greater than or equal to preset threshold, parses the target histories and broadcast Playback music file is to obtain the K kind music type of the target histories playing music, and wherein K is whole more than or equal to 2 Number;
Target music type is determined from the K kind music type, wherein institute in the target histories playing music The quantity for stating the music file of target music type, greater than the music of music type j in the target histories playing music The quantity of file, the music type j are any one sound for being different from the target music type in the K kind music type Happy type;
Target music file is obtained according to the target music type.
In conjunction with first aspect present invention, in the first possible implementation of the first aspect, the target music text Part is online music file, described to obtain target music file according to the target music type, including:
The acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate described Network server obtains the music file that preset quantity includes the target music type;
The target music file for receiving acquisition request described in the network server response and sending.
In conjunction with first aspect present invention, in the second possible implementation of the first aspect, the target music text Part is local music file, described to obtain target music file according to the target music type, including:
It is more than predeterminated frequency that broadcasting frequency is obtained from the history playing music, and includes the target music class The target music file of type.
In conjunction with the possible implementation of the first of first aspect present invention or first aspect, in the third of first aspect In possible implementation, the quantity of the target music file of acquisition is at least two, and the target music file is Online music file, it is described according to the target music type obtain target music file after, the acquisition methods further include:
By the target music file according to network download from high to low be sequentially generated the first playlist, and by institute The first playlist is stated to be shown on the display interface of the mobile terminal.
In conjunction with second of possible implementation of first aspect present invention or first aspect, at the 4th kind of first aspect In possible implementation, the quantity of the target music file of acquisition is at least two, and the target music file is Local music file, it is described according to the target music type obtain target music file after, the acquisition methods further include:
By the target music file according to broadcasting frequency from high to low be sequentially generated the second playlist, and will be described Second playlist is shown on the display interface of the mobile terminal;
Alternatively,
By the target music file according to play the record time from morning to night be sequentially generated third playlist, and will The third playlist is shown on the display interface of the mobile terminal.
Second aspect of the present invention provides a kind of mobile terminal, including:
First acquisition unit, for being broadcast from the history of storage when the starting trigger condition for detecting speaker grouping i meets The speaker grouping associated target histories playing music of i is obtained in playback music file;
Resolution unit, if the quantity for the target histories playing music is greater than or equal to preset threshold, parsing The target histories playing music is to obtain the K kind music type of the target histories playing music, and wherein K is big In or equal to 2 integer;
Determination unit, for determining target music type from the K kind music type that the resolution unit obtains, In, the quantity of the music file of target music type described in the target histories playing music is gone through greater than the target The quantity of the music file of music type j in history playing music, the music type j be the K kind music type in not It is same as any one music type of the target music type;
Second acquisition unit, the target music type for being got according to the second acquisition unit obtain target Music file.
In conjunction with second aspect of the present invention, in the first possible implementation of the second aspect, the target music text Part is online music file, and the second acquisition unit is specifically used for:
The acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate described Network server obtains the music file that preset quantity includes the target music type;
The target music file for receiving acquisition request described in the network server response and sending.
In conjunction with second aspect of the present invention, in a second possible implementation of the second aspect, the target music text Part is local music file, and the second acquisition unit is specifically used for:
It is more than predeterminated frequency that broadcasting frequency is obtained from the history playing music, and includes the target music class The target music file of type.
In conjunction with the possible implementation of the first of second aspect of the present invention or second aspect, in the third of second aspect In possible implementation, the quantity of the target music file of acquisition is at least two, and the target music file is Online music file, the mobile terminal further include:
First generation unit, for by the target music file according to network download from high to low be sequentially generated One playlist;
First display unit, for first playlist to be shown on the display interface of the mobile terminal.
In conjunction with second of possible implementation of second aspect of the present invention or second aspect, at the 4th kind of second aspect In possible implementation, the quantity of the target music file of acquisition is at least two, and the target music file is Local music file, the mobile terminal further include:
Second generation unit, for by the target music file according to broadcasting frequency from high to low be sequentially generated second Playlist;
Second display unit, for second playlist to be shown on the display interface of the mobile terminal.
Alternatively,
Second generation unit is also used to the target music file is raw according to the sequence of record time from morning to night is played At third playlist;
Second display unit is also used to for the third playlist being shown on the display interface of the mobile terminal.
Implement the embodiment of the present invention, has the advantages that:
In the embodiment of the present invention, when the starting trigger condition for detecting speaker grouping i meets, played from the history of storage The speaker grouping associated target histories playing music of i is obtained in music file;If the target histories play music The quantity of file is greater than or equal to preset threshold, parses the target histories playing music and is broadcast with obtaining the target histories The K kind music type of playback music file, wherein K is the integer more than or equal to 2;Target is determined from the K kind music type Music type, wherein the quantity of the music file of target music type described in the target histories playing music is greater than The quantity of the music file of music type j in the target histories playing music, the music type j are the K kind sound It is different from any one music type of the target music type in happy type;Target is obtained according to the target music type Music file.And then solve after starting speaker grouping i, how intelligently being accustomed to obtaining according to user may be user's happiness The problem of joyous music file.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of first embodiment of the acquisition methods of music file provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the second embodiment of the acquisition methods of music file provided in an embodiment of the present invention;
Fig. 3 is the 3rd embodiment flow chart of the acquisition methods of music file provided in an embodiment of the present invention;
Fig. 4 is the schematic structural diagram of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the schematic structural diagram of the second embodiment of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
How intelligently the embodiment of the present invention provides the acquisition methods and mobile terminal of a kind of music file, be used for solution root It is accustomed to the problem of obtaining music file according to user.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
One embodiment of the acquisition methods of music file of the present invention.Wherein, a kind of acquisition methods of music file:When opening When dynamic speaker grouping scene, the playback equipment of the speaker grouping scene binding is obtained from the history playing music of storage Target histories playing music;If the quantity of the target histories playing music is greater than or equal to preset threshold, solution The target histories playing music is analysed, to obtain the music type of the target histories playing music;Obtain target Music type, wherein the target music type is that quantity is most in the music type of the target histories playing music Music type;Target music file is obtained according to the target music type.
Referring first to Fig. 1, Fig. 1 is a kind of first embodiment of the acquisition methods of music file provided in an embodiment of the present invention Flow chart.Wherein, as shown in Figure 1, a kind of acquisition methods for music file that one embodiment of the present of invention provides may include Step S101~S104:
S101, when detect speaker grouping i starting trigger condition meet when, from the history playing music of storage Obtain the speaker grouping associated target histories playing music of i.
In the embodiment of the present invention, after user logs in wireless music system, when mobile terminal detects the starting of speaker grouping i When trigger condition meets, the associated target histories of the speaker grouping i are obtained from the history playing music of storage and are played The specific embodiment of music file can be:It is mobile whole if the history playing music of storage is that mobile terminal is local End directly obtains the above-mentioned speaker grouping associated target histories of i from the history playing music being stored in mobile terminal and broadcasts Playback music file;It is also possible to:If storage history playing music be wireless music system server, mobile terminal to The acquisition that above-mentioned wireless music system server sends the above-mentioned speaker grouping associated target histories playing music of i of acquisition is asked It asks;Mobile terminal receives the response message that above-mentioned wireless music system server responds above-mentioned acquisition request and sends, wherein on It states response message and carries above-mentioned target histories playing music, i.e., above-mentioned acquisition for mobile terminal to above-mentioned target histories plays sound Music file.
In the embodiment of the present invention, the above-mentioned speaker grouping associated target histories playing music of i can be above-mentioned speaker It is grouped the target histories playing music of the playback equipment of i binding, for example, above-mentioned speaker grouping scene has playback equipment A, B, E are formed, and recording in history playing music has:Some period, user use and are broadcast by what playback equipment A, B, C were formed Group is put, the history playing music being played simultaneously has:(song 11, playback equipment ABC, song 12, playback equipment ABC, song 13, playback equipment ABC, song 14, playback equipment ABC ... ..., song 1n, playback equipment ABC);Another period, user The broadcasting group formed using playback equipment D and E, the history playing music being played simultaneously are had:(song 21, playback equipment DE, Song 22, playback equipment DE, song 23, playback equipment DE, song 24, playback equipment DE ... ..., song 2n, playback equipment DE);Another period, user use the broadcasting group of playback equipment C and D composition, the history playing music being played simultaneously Have:(song 31, playback equipment CD, song 32, playback equipment CD, song 33, playback equipment CD, song 34, playback equipment CD ... ..., song 3n, playback equipment CD), then the target histories playing music for the playback equipment that speaker grouping scene is bound For:(song 11, song 12, song 13, song 14 ... ..., song 1n, song 21, song 22, song 23, song 24 ... ..., Song 2n).
Wherein, above-mentioned mobile terminal for example can be any one or whole in following, and smart phone wearable is set Standby (personal maincenter), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, Smartbook, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal may include network interface, processing Device, memory, audio frequency processing circuit, microphone, camera, flash lamp, and including that can be put in internal or external audio Big device and the loudspeaker unit including being connected to audio-frequency amplifier.
Wherein, above-mentioned playback equipment for example may include wireless sound box, blue light player, digital player, terminal device Or other can be with the playback equipment etc. of playing audio-video document.
If the quantity of S102, the target histories playing music is greater than or equal to preset threshold, the target is parsed History playing music is to obtain the K kind music type of the target histories playing music, wherein K is to be greater than or wait In 2 integer.
In the embodiment of the present invention, if the quantity of above-mentioned target histories playing music is greater than or equal to preset threshold, In, preset threshold for example can be 100,200,300,500,1000 or other values, and mobile terminal, which can parse, to be got Each target histories playing music, to obtain the music type of each target histories playing music carrying;Together Sample mobile terminal also can parse the target histories playing music that part is got, and play sound to obtain partial target history The music type that music file carries, wherein partial target history playing music can be broadcasting time more than preset value History playing music is also possible to the history playing music etc. that the network amount of being downloaded is more than preset value.
S103, target music type is determined from the K kind music type, wherein the target histories play music text The quantity of the music file of target music type described in part is greater than music type j in the target histories playing music Music file quantity, the music type j be the K kind music type in be different from the target music type it is any A kind of music type.
In the embodiment of the present invention, mobile terminal determines the specific implementation of target music type from the K kind music type Mode can be:The quantity for the K kind music type that mobile terminal statistics above-mentioned steps S102 is got;Mobile terminal is by K kind sound That music type of quantity at most in happy type is as target music type, for example, the sound that step S102 is got Happy type has A, B, C, wherein the quantity of same music type A has 30, and the quantity of same music type B has 50, phase unisonance The quantity of happy Type C has 20, therefore music type B is target music type.
S104, target music file is obtained according to the target music type.
In an inventive embodiments, if above-mentioned target music file is online music file, according to above-mentioned target music class The specific embodiment that type obtains target music file can be:The acquisition for sending acquisition music file to network server is asked It asks, wherein it includes the target music type that the acquisition request, which is used to indicate the network server and obtains preset quantity, Music file;The target music file for receiving acquisition request described in the network server response and sending.
In another inventive embodiments, if above-mentioned target music file is local music file, according to above-mentioned target music The specific embodiment that type obtains target music file can be:Broadcasting frequency is obtained from above-mentioned history playing music It more than predeterminated frequency, and include the target music file of above-mentioned target music type.
In the embodiment of the present invention, when the starting trigger condition for detecting speaker grouping i meets, played from the history of storage The speaker grouping associated target histories playing music of i is obtained in music file;If the target histories play music The quantity of file is greater than or equal to preset threshold, parses the target histories playing music and is broadcast with obtaining the target histories The K kind music type of playback music file, wherein K is the integer more than or equal to 2;Target is determined from the K kind music type Music type, wherein the quantity of the music file of target music type described in the target histories playing music is greater than The quantity of the music file of music type j in the target histories playing music, the music type j are the K kind sound It is different from any one music type of the target music type in happy type;Target is obtained according to the target music type Music file.And then solve after starting speaker grouping i, how intelligently being accustomed to obtaining according to user may be user's happiness The problem of joyous music file.
Optionally, the quantity of the above-mentioned target music file of acquisition is at least two, and the target music file is net Network music file, after obtaining target music file according to above-mentioned target music type, acquisition methods shown in FIG. 1 are also wrapped It includes:By the target music file according to network download from high to low be sequentially generated the first playlist, and by described One playlist is shown on the display interface of the mobile terminal.
Optionally, the quantity of the target music file of acquisition is at least two, and the target music file is this Ground music file, after obtaining target music file according to above-mentioned target music type, acquisition methods shown in FIG. 1 are also wrapped It includes:By the target music file according to broadcasting frequency from high to low be sequentially generated the second playlist, and by described second Playlist is shown on the display interface of the mobile terminal;Alternatively, when the target music file is recorded according to broadcasting Between from morning to night be sequentially generated third playlist, and by the third playlist on the display interface of the mobile terminal into Row is shown.
Fig. 2 is referred to, Fig. 2 is a kind of second embodiment stream of the acquisition methods of music file provided in an embodiment of the present invention Cheng Tu.Wherein, as shown in Fig. 2, a kind of acquisition methods for music file that one embodiment of the present of invention provides may include step Rapid S201~S207:
S201, when detect speaker grouping i starting trigger condition meet when, from the history playing music of storage Obtain the speaker grouping associated target histories playing music of i.
If the quantity of S202, the target histories playing music is greater than or equal to preset threshold, the target is parsed History playing music to obtain the K kind music type of the target histories playing music, wherein K be more than or equal to 2 integer.
S203, target music type is determined from the K kind music type, wherein the target histories play music text The quantity of the music file of target music type described in part is greater than music type j in the target histories playing music Music file quantity, the music type j be the K kind music type in be different from the target music type it is any A kind of music type.
S204, the acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate The network server obtains the music file that preset quantity includes the target music type.
S205, the target music file for receiving acquisition request described in the network server response and sending.
If S206, obtain the target music file quantity be at least two, by the target music file according to Network download from high to low be sequentially generated the first playlist.
S207, first playlist is shown on the display interface of the mobile terminal.
In the embodiment of the present invention, for example, user can be moved by rocking mobile terminal with triggering above-mentioned steps S204 Dynamic terminal wirelessly sends the acquisition request for obtaining music file to network server;Optionally, at mobile terminal In ceasing under screen state, user also can wirelessly send acquisition music by rocking mobile terminal to trigger mobile terminal The acquisition request of file is to network server, wherein network server can be cloud server.Again for example, Yong Huke Inputted by voice, with trigger mobile terminal wirelessly send obtain music file acquisition request give network service Device, optionally, in the case where mobile terminal is in breath screen state, user can be inputted by voice, can also be passed through with triggering mobile terminal Wireless mode sends the acquisition request for obtaining music file to network server.Wherein, the target music in order to avoid getting File is more, and the overlong time for causing user to wait, therefore above-mentioned steps S204 can be to send to network server and obtain The acquisition request of music file, wherein it includes target sound that above-mentioned acquisition request, which is used to indicate network server to obtain preset quantity, The music file of happy type, wherein preset quantity can be 10,20,30,35 or other values.
In the embodiment of the present invention, above-mentioned steps S205 receives acquisition request described in the network server response and sends Target music file, wherein above-mentioned target music file is the music file comprising above-mentioned target music type.
In the embodiment of the present invention, above-mentioned steps S206 obtains the specific implementation of the network download of above-mentioned target music file Mode can be:Mobile terminal sends the acquisition for obtaining the network download of above-mentioned target music file to above-mentioned network server Request;Mobile terminal receives the above-mentioned acquisition request of above-mentioned network server response and the response message that sends, wherein above-mentioned response Information carries the network download of above-mentioned target music file;Above-mentioned steps S206 is obtained under the network of above-mentioned target music file The specific embodiment of carrying capacity is also possible to:If the above-mentioned target music file got in above-mentioned steps S205 has carried above-mentioned The network download of target music file, mobile terminal directly can locally obtain the net of above-mentioned target music file in mobile terminal Network download.
In the embodiment of the present invention, when starting speaker grouping scene, history playing music of the mobile terminal from storage The middle associated target histories playing music of playback equipment for obtaining the speaker grouping scene binding;When the target histories When the quantity of playing music is greater than or equal to preset threshold, mobile terminal parses the target histories playing music, To obtain the music type of the target histories playing music;Acquisition for mobile terminal target music type, wherein the mesh Mark the music type that quantity is most in the music type that music type is the target histories playing music;Then mobile whole End obtains the target music file comprising above-mentioned target music type according to the target music type from network server, into And solve in the case where the speaker is grouped scene, how intelligently being accustomed to obtaining according to user may be that the music that user likes is literary The problem of part.
In addition, obtaining the network download of each target music file, then after getting target music file It will acquire target music file to be shown according to the sequence of network download from high to low, so that user more faces directly or more Readily recognize in the music file of the music type recently on network compared with pop music.
Fig. 3 is referred to, Fig. 3 is a kind of 3rd embodiment stream of the acquisition methods of music file provided in an embodiment of the present invention Cheng Tu.Wherein, as shown in figure 3, a kind of acquisition methods for music file that one embodiment of the present of invention provides may include step Rapid S301~S307:
S301, when detect speaker grouping i starting trigger condition meet when, from the history playing music of storage Obtain the speaker grouping associated target histories playing music of i.
If the quantity of S302, the target histories playing music is greater than or equal to preset threshold, the target is parsed History playing music to obtain the K kind music type of the target histories playing music, wherein K be more than or equal to 2 integer.
S303, target music type is determined from the K kind music type, wherein the target histories play music text The quantity of the music file of target music type described in part is greater than music type j in the target histories playing music Music file quantity, the music type j be the K kind music type in be different from the target music type it is any A kind of music type.
S304, broadcasting frequency is obtained from the history playing music more than predeterminated frequency, and include the target The target music file of music type.
S305, by the target music file according to broadcasting frequency from high to low be sequentially generated the second playlist.
S306, second playlist is shown on the display interface of the mobile terminal.
In the embodiment of the present invention, in order to enable the music that the properer user of target music file got likes, above-mentioned Step S304 obtains broadcasting frequency more than predeterminated frequency from the history playing music, and includes the target music class The target music file of type, wherein above-mentioned predeterminated frequency for example can be 5 times, 10,12,15 or other values.
In the embodiment of the present invention, when starting speaker grouping scene, history playing music of the mobile terminal from storage The middle associated target histories playing music of playback equipment for obtaining the speaker grouping scene binding;When the target histories When the quantity of playing music is greater than or equal to preset threshold, mobile terminal parses the target histories playing music, To obtain the music type of the target histories playing music;Acquisition for mobile terminal target music type, wherein the mesh Mark the music type that quantity is most in the music type that music type is the target histories playing music;Then history is broadcast It is more than predeterminated frequency that broadcasting frequency is obtained in playback music file, and includes the target music file of the target music type, into And solve in the case where the speaker is grouped scene, how intelligently being accustomed to obtaining according to user may be that the music that user likes is literary The problem of part.
In addition, after getting target music file, mobile terminal by target music file according to broadcasting frequency from height to Low sequence is shown, alternatively, above-mentioned target music file is opened up according to the sequence of record time from morning to night is played Show, so that the music file for finding user and liking that user more faces directly or easier.
Fig. 4 is referred to, Fig. 4 is a kind of structural schematic diagram of mobile terminal 400 provided in an embodiment of the present invention, and the movement is whole End includes:
First acquisition unit 401, for when detect speaker grouping i starting trigger condition meet when, from going through for storage The speaker grouping associated target histories playing music of i is obtained in history playing music.
Resolution unit 402, if the quantity for the target histories playing music is greater than or equal to preset threshold, solution The target histories playing music is analysed to obtain the K kind music type of the target histories playing music, wherein K is Integer more than or equal to 2.
Determination unit 403, for determining target music class from the K kind music type that the resolution unit obtains Type, wherein the quantity of the music file of target music type described in the target histories playing music is greater than the mesh The quantity of the music file of music type j in history playing music is marked, the music type j is the K kind music type In be different from the target music type any one music type.
Second acquisition unit 404, the target music type for being got according to the second acquisition unit obtain Target music file.
It optionally, is online music file in the target music file, the second acquisition unit is specifically used for:
The acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate described Network server obtains the music file that preset quantity includes the target music type;
The target music file for receiving acquisition request described in the network server response and sending.
It optionally, is local music file in the target music file, the second acquisition unit 404 is specifically used for:
It is more than predeterminated frequency that broadcasting frequency is obtained from the history playing music, and includes the target music class The target music file of type.
Optionally, the quantity of the target music file of acquisition is at least two, and the target music file is net Network music file is obtained in third acquiring unit 404 according to the target music type that the second acquisition unit is got After target music file, the mobile terminal further includes:
First generation unit, for by the target music file according to network download from high to low be sequentially generated One playlist;
First display unit, for first playlist to be shown on the display interface of the mobile terminal.
Optionally, the quantity of the target music file of acquisition is at least two, and the target music file is this Ground music file is obtained in third acquiring unit 404 according to the target music type that the second acquisition unit is got After target music file, the mobile terminal further includes:
Second generation unit, for by the target music file according to broadcasting frequency from high to low be sequentially generated second Playlist;
Second display unit, for second playlist to be shown on the display interface of the mobile terminal.
Alternatively,
Second generation unit is also used to the target music file is raw according to the sequence of record time from morning to night is played At third playlist;
Second display unit is also used to for the third playlist being shown on the display interface of the mobile terminal.
It is understood that the function of each functional module of the mobile terminal 400 of the present embodiment can be according to the method reality The method specific implementation in example is applied, specific implementation process is referred to the associated description of the method embodiment, herein no longer It repeats.
In the embodiment of the present invention, when the starting trigger condition for detecting speaker grouping i meets, first acquisition unit 401 The speaker grouping associated target histories playing music of i is obtained from the history playing music of storage;If described The quantity of target histories playing music is greater than or equal to preset threshold, and resolution unit 402 parses the target histories and plays Music file is to obtain the K kind music type of the target histories playing music, and wherein K is the integer more than or equal to 2; Determination unit 403 determines target music type from the K kind music type, wherein the target histories playing music Described in target music type music file quantity, greater than music type j in the target histories playing music The quantity of music file, the music type j are to be different from any one of the target music type in the K kind music type Kind music type;Second acquisition unit 404 obtains target music file according to the target music type.And then it solves and is opening After dynamic speaker grouping i, how the problem of acquisition may be the music file that user likes intelligently to be accustomed to according to user.
Fig. 5 is referred to, Fig. 5 is a kind of structural schematic diagram of mobile terminal 500 provided in an embodiment of the present invention, and the movement is whole End includes:At least one input equipment 501;At least one output equipment 502;At least one processor 503, such as CPU;With deposit Reservoir 504, the input equipment 501, output equipment 502, processor 503 and memory 504 are connected by bus 505.
Wherein, the touch panel of the input equipment 501 concretely mobile terminal, including touch screen and touch screen are used Operational order in detection terminal touch panel.
The display screen of the output equipment 502 concretely mobile terminal, is used to output and display information.
The memory 504 can be high speed RAM memory, can also be non-labile memory (non-volatile ), such as magnetic disk storage memory.The memory 504 is used to store a set of program code, the input equipment 501, output Equipment 502 and processor 503 are performed the following operations for calling the program code stored in memory 504:
Above-mentioned processor 503, for when detect speaker grouping i starting trigger condition meet when, from the history of storage The speaker grouping associated target histories playing music of i is obtained in playing music;
If the quantity of the target histories playing music is greater than or equal to preset threshold, parses the target histories and broadcast Playback music file is to obtain the K kind music type of the target histories playing music, and wherein K is whole more than or equal to 2 Number;
Target music type is determined from the K kind music type, wherein institute in the target histories playing music The quantity for stating the music file of target music type, greater than the music of music type j in the target histories playing music The quantity of file, the music type j are any one sound for being different from the target music type in the K kind music type Happy type;
Target music file is obtained according to the target music type.
In some possible embodiments, the target music file is online music file, and above-mentioned processor 503 also has Body is used for:
The acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate described Network server obtains the music file that preset quantity includes the target music type;
The target music file for receiving acquisition request described in the network server response and sending.
In some possible embodiments, the target music file is local music file, and above-mentioned processor 503 also has Body is used for:
It is more than predeterminated frequency that broadcasting frequency is obtained from the history playing music, and includes the target music class The target music file of type.
In some possible embodiments, the quantity of the target music file of acquisition is at least two, and the mesh Mark with phonetic symbols music file is online music file, obtains target music file according to the target music type in above-mentioned processor 503 Later, above-mentioned processor 503 also particularly useful for:
By the target music file according to network download from high to low be sequentially generated the first playlist, and by institute The first playlist is stated to be shown on the display interface of the mobile terminal.
In some possible embodiments, the quantity of the target music file of acquisition is at least two, and the mesh Mark with phonetic symbols music file is local music file, obtains target music file according to the target music type in above-mentioned processor 503 Later, above-mentioned processor 503 also particularly useful for:
By the target music file according to broadcasting frequency from high to low be sequentially generated the second playlist, and will be described Second playlist is shown on the display interface of the mobile terminal;
Alternatively,
By the target music file according to play the record time from morning to night be sequentially generated third playlist, and will The third playlist is shown on the display interface of the mobile terminal.
In the specific implementation, input equipment 501 described in the embodiment of the present invention, output equipment 502 and processor 503 can Implementation described in each embodiment of the acquisition methods of music file provided in an embodiment of the present invention is executed, also can be performed The implementation of terminal described in the first embodiment of mobile terminal provided in an embodiment of the present invention, details are not described herein.
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) it realizes.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in-computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of acquisition methods of music file, which is characterized in that including:
When the starting trigger condition for detecting speaker grouping i meets, from the history playing music of storage described in acquisition Speaker is grouped the associated target histories playing music of i, and the above-mentioned speaker grouping associated target histories playing music of i is The target histories playing music of the playback equipment of above-mentioned speaker grouping i binding, the target histories playing music are deposited It is stored in local or server;
If the quantity of the target histories playing music is greater than or equal to preset threshold, parses the target histories and play sound Music file is to obtain the K kind music type of the target histories playing music, and wherein K is the integer more than or equal to 2;
Target music type is determined from the K kind music type, wherein mesh described in the target histories playing music The quantity for marking the music file of music type, greater than the music file of music type j in the target histories playing music Quantity, the music type j be the K kind music type in be different from the target music type any one music class Type;
Target music file is obtained according to the target music type.
2. acquisition methods according to claim 1, which is characterized in that the target music file is online music file, It is described that target music file is obtained according to the target music type, including:
The acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate the network Server obtains the music file that preset quantity includes the target music type;
The target music file for receiving acquisition request described in the network server response and sending.
3. acquisition methods according to claim 1, which is characterized in that the target music file is local music file, It is described that target music file is obtained according to the target music type, including:
It is more than predeterminated frequency that broadcasting frequency is obtained from the history playing music, and includes the target music type Target music file.
4. described in any item acquisition methods according to claim 1~2, which is characterized in that the target music file of acquisition Quantity be at least two, and the target music file be online music file, it is described to be obtained according to the target music type After taking target music file, the acquisition methods further include:
By the target music file according to network download from high to low be sequentially generated the first playlist, and by described One playlist is shown on the display interface of the mobile terminal.
5. according to claim 1 or 3 described in any item acquisition methods, which is characterized in that the target music file of acquisition Quantity be at least two, and the target music file be local music file, it is described to be obtained according to the target music type After taking target music file, the acquisition methods further include:
By the target music file according to broadcasting frequency from high to low be sequentially generated the second playlist, and by described second Playlist is shown on the display interface of the mobile terminal;
Alternatively,
By the target music file according to play the record time from morning to night be sequentially generated third playlist, and will be described Third playlist is shown on the display interface of the mobile terminal.
6. a kind of mobile terminal, which is characterized in that including:
First acquisition unit, for playing sound from the history of storage when the starting trigger condition for detecting speaker grouping i meets The speaker grouping associated target histories playing music of i is obtained in music file, the above-mentioned speaker grouping associated target of i is gone through History playing music is the target histories playing music of the playback equipment of above-mentioned speaker grouping i binding, and the target is gone through History playing music is stored in local or server;
Resolution unit, if the quantity for the target histories playing music is greater than or equal to preset threshold, described in parsing Target histories playing music to obtain the K kind music type of the target histories playing music, wherein K be greater than or Integer equal to 2;
Determination unit, for determining target music type from the K kind music type that the resolution unit obtains, wherein The quantity of the music file of target music type described in the target histories playing music, broadcasts greater than the target histories The quantity of the music file of the happy type j of playback music file middle pitch, the music type j are to be different from the K kind music type Any one music type of the target music type;
Second acquisition unit, the target music type for being got according to the second acquisition unit obtain target music File.
7. mobile terminal according to claim 6, which is characterized in that the target music file is online music file, The second acquisition unit is specifically used for:
The acquisition request for obtaining music file is sent to network server, wherein the acquisition request is used to indicate the network Server obtains the music file that preset quantity includes the target music type;
The target music file for receiving acquisition request described in the network server response and sending.
8. mobile terminal according to claim 6, which is characterized in that the target music file is local music file, The second acquisition unit is specifically used for:
It is more than predeterminated frequency that broadcasting frequency is obtained from the history playing music, and includes the target music type Target music file.
9. according to the described in any item mobile terminals of claim 6~7, which is characterized in that the target music file of acquisition Quantity be at least two, and the target music file is online music file, and the mobile terminal further includes:
First generation unit, for first broadcasting the target music file according to network download being sequentially generated from high to low Emplace table;
First display unit, for first playlist to be shown on the display interface of the mobile terminal.
10. according to the described in any item mobile terminals of claim 6 or 8, which is characterized in that the target music file of acquisition Quantity be at least two, and the target music file is local music file, and the mobile terminal further includes:
Second generation unit, for by the target music file according to broadcasting frequency from high to low be sequentially generated the second broadcasting List;
Second display unit, for second playlist to be shown on the display interface of the mobile terminal;
Alternatively,
Second generation unit, be also used to by the target music file according to play the record time from morning to night be sequentially generated the Three playlists;
Second display unit is also used to for the third playlist being shown on the display interface of the mobile terminal.
CN201510402399.0A 2015-07-09 2015-07-09 A kind of acquisition methods and mobile terminal of music file Active CN105005612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510402399.0A CN105005612B (en) 2015-07-09 2015-07-09 A kind of acquisition methods and mobile terminal of music file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510402399.0A CN105005612B (en) 2015-07-09 2015-07-09 A kind of acquisition methods and mobile terminal of music file

Publications (2)

Publication Number Publication Date
CN105005612A CN105005612A (en) 2015-10-28
CN105005612B true CN105005612B (en) 2018-11-20

Family

ID=54378288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510402399.0A Active CN105005612B (en) 2015-07-09 2015-07-09 A kind of acquisition methods and mobile terminal of music file

Country Status (1)

Country Link
CN (1) CN105005612B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447194B (en) * 2015-12-21 2019-03-19 魅族科技(中国)有限公司 A kind of file search method and terminal
CN106294747A (en) * 2016-08-10 2017-01-04 北京小米移动软件有限公司 Audio synchronization method and device
CN106649480A (en) * 2016-09-30 2017-05-10 四川九洲电器集团有限责任公司 Method for generating music listand server
CN108600526A (en) * 2018-04-04 2018-09-28 Oppo广东移动通信有限公司 Alarm clock control method and related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637178A (en) * 2011-02-14 2012-08-15 北京瑞信在线系统技术有限公司 Music recommending method, music recommending device and music recommending system
JP5572581B2 (en) * 2011-04-22 2014-08-13 株式会社エクシング Singing information processing apparatus and singing information processing program
CN104507005A (en) * 2014-12-05 2015-04-08 广东欧珀移动通信有限公司 Grouping control method and system of wireless loudspeaker box
CN104731954A (en) * 2015-04-01 2015-06-24 天翼爱音乐文化科技有限公司 Music recommendation method and system based on group perspective

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637178A (en) * 2011-02-14 2012-08-15 北京瑞信在线系统技术有限公司 Music recommending method, music recommending device and music recommending system
JP5572581B2 (en) * 2011-04-22 2014-08-13 株式会社エクシング Singing information processing apparatus and singing information processing program
CN104507005A (en) * 2014-12-05 2015-04-08 广东欧珀移动通信有限公司 Grouping control method and system of wireless loudspeaker box
CN104731954A (en) * 2015-04-01 2015-06-24 天翼爱音乐文化科技有限公司 Music recommendation method and system based on group perspective

Also Published As

Publication number Publication date
CN105005612A (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN105120304B (en) Information display method, apparatus and system
CN106652996B (en) Prompt tone generation method and device and mobile terminal
CN109257499B (en) Method and device for dynamically displaying lyrics
CN105005612B (en) A kind of acquisition methods and mobile terminal of music file
CN103607461A (en) Information sharing method and cloud server
CN103905644A (en) Generating method and equipment of mobile terminal call interface
CN107241511B (en) Music playing method, device, storage medium and terminal
CN105933784A (en) Bullet screen play and conversion method, bullet screen player, server, and play system
US20170168660A1 (en) Voice bullet screen generation method and electronic device
CN104038774B (en) Generate the method and device of ring signal file
CN110166723A (en) It is a kind of to record the audio and video synchronization method in shielding, electronic equipment, storage medium
KR20210091082A (en) Image processing apparatus, control method thereof and computer readable medium having computer program recorded therefor
CN104599702A (en) Music playing method
CN104376859B (en) The method and online music player of a kind of playlist adjust automatically
CN105120392B (en) A kind of creation method and mobile terminal of speaker grouping
CN107656770A (en) Application program operation method and device, terminal and computer-readable recording medium
WO2022160603A1 (en) Song recommendation method and apparatus, electronic device, and storage medium
CN100433811C (en) Terminal for displaying distributed picture content
CN106506325A (en) Picture sharing method and device
CN105049982B (en) A kind of method for playing music and intelligent sound box based on intelligent sound box
US20120185774A1 (en) Symphonic Video Generation
CN104185064B (en) Media file identification method and apparatus
US20100030351A1 (en) Audio playing method
CN105051820B (en) Information processing equipment and information processing method
CN104484350A (en) Terminal

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.