CN108090140A - A kind of playback of songs method and mobile terminal - Google Patents
A kind of playback of songs method and mobile terminal Download PDFInfo
- Publication number
- CN108090140A CN108090140A CN201711259762.3A CN201711259762A CN108090140A CN 108090140 A CN108090140 A CN 108090140A CN 201711259762 A CN201711259762 A CN 201711259762A CN 108090140 A CN108090140 A CN 108090140A
- Authority
- CN
- China
- Prior art keywords
- song
- refrain
- lyrics
- mark
- reproduction time
- 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; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/683—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/685—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using automatically derived transcript of audio data, e.g. lyrics
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/20—Driving; Starting; Stopping; Control thereof
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
Abstract
The present invention provides a kind of playback of songs methods and mobile terminal, this method to include:Receive the play instruction for a song;Obtain the corresponding lyrics file of the song;Search default refrain mark in the lyrics file;The refrain mark is segmented for marking belonging to the refrain lyrics;It is identified according to the refrain found, determines the starting reproduction time of the song;Using the starting reproduction time as starting point, the song is played.The embodiment of the present invention can determine the time played so that user directly can listen to song from chorus section, substantially increase user and judge the whether pleasing to the ear efficiency of song in the corresponding lyrics file of the song according to the play instruction of user according to refrain mark.
Description
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of playback of songs method and mobile terminal.
Background technology
With the development of mobile terminal, people more and more listen to song using mobile terminal, in the terminal, song
Bent website or song application can recommend song to user online, and it is unfamiliar to be present with a large number of users in numerous recommendation songs
Song, user need to judge whether song is pleasing to the ear by audition song.
In the prior art, special audition option is usually not provided in song website or song application, for example, opening audio
Player, search " all one's life is liked ", only display " song title ", " album ", " duration ", " temperature ", " operation " in display interface
Catalogue and corresponding content, only " broadcasting ", " being added to list " and " download " three action of " operation " catalogue do not have
The mode of audition is selected for user;User is if it is intended to audition song, it is necessary to " broadcasting " is clicked on, after playback of songs, from
The flat the beginning part of song starts that gradual audition is gone down or the pulling progress bar of blindness accelerates the process of audition.
Inventor has found that above-mentioned technical proposal has the disadvantage that during above-mentioned technical proposal is studied:User exists
During audition song, can only give tacit consent to from commence play out, it is necessary to user in the case where not knowing which section is more pleasing to the ear manually adjust broadcast
Degree of putting into it is possible that jump is excessive, causes to miss happening for pleasing to the ear part.
The content of the invention
The embodiment of the present invention provides a kind of playback of songs method and mobile terminal, manual in audition song to solve user
The problem of adjusting playing progress rate, easily missing pleasing to the ear audio-frequency unit content.
In order to solve the above technical problem, the present invention provides a kind of playback of songs method, the described method includes:
Receive the play instruction for a song;
Obtain the corresponding lyrics file of the song;
Search default refrain mark in the lyrics file;The refrain mark is divided for marking belonging to the refrain lyrics
Section;
It is identified according to the refrain found, determines the starting reproduction time of the song;
Using the starting reproduction time as starting point, the song is played.
In a first aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Audition instruction module is received, for receiving the play instruction for a song;
Lyrics file module is obtained, for obtaining the corresponding lyrics file of the song;
Refrain mark module is searched, for searching default refrain mark in the lyrics file;The refrain mark is used
In segmentation belonging to the mark refrain lyrics;
It determines audition time module, for being identified according to the refrain found, determines the starting reproduction time of the song;
Playing module, for using the starting reproduction time as starting point, playing the song.
Second aspect, the embodiment of the present invention still further provide a kind of mobile terminal, including processor, memory and storage
On the memory and the computer program that can run on the processor, the computer program are held by the processor
The step of processing method of foregoing playback of songs is realized during row.
The third aspect, the embodiment of the present invention still further provide a kind of computer readable storage medium, and the computer can
It reads to store computer program on storage medium, be realized when the computer program is executed by processor as appointed in the claims
The step of processing method of playback of songs described in one.
In the embodiment of the present invention, the play instruction that user is directed to a certain song is received first, after receiving play instruction, is obtained
Take the selected corresponding lyrics file of song, then lyrics file search it is default, for marking what is be segmented belonging to the refrain lyrics
Refrain identifies, so that it is determined that going out the starting reproduction time of song, then plays song as starting point to originate reproduction time;In this process
In, by then passing through the audition time of the definite song of refrain mark, so the application can be automatically positioned refrain start-up portion,
It, can be directly from chorus section audition song, so as to make user quick by audition chorus section when user needs audition
Judge whether song is pleasing to the ear.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of playback of songs method of the embodiment of the present invention one;
Fig. 2 is the LRC lyrics file figures of the embodiment of the present invention;
Fig. 3 is a kind of specific steps flow chart of playback of songs method of the embodiment of the present invention two;
Fig. 4 is a kind of structure diagram of mobile terminal of apparatus of the present invention embodiment three;
Fig. 5 is the structure diagram of another mobile terminal of apparatus of the present invention embodiment three;
Fig. 6 is a kind of concrete structure block diagram of mobile terminal of apparatus of the present invention embodiment three;
Fig. 7 is the concrete structure block diagram of another mobile terminal of apparatus of the present invention embodiment three;
Fig. 8 is the concrete structure block diagram of another mobile terminal of apparatus of the present invention embodiment three;
Fig. 9 is a kind of structure diagram of mobile terminal of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, belongs to the scope of protection of the invention.
【Embodiment of the method one】
Reference Fig. 1 shows a kind of step flow chart of playback of songs method in the embodiment of the present invention.Specific steps bag
It includes:
Step 101:Receive the play instruction for a song.
In concrete application, the embodiment of the present invention can be realized by developing new song website or application, in the song
In website or application, the button of the audition broadcasting for user's selection is all set near every song;The embodiment of the present invention is also
It can be realized by plug-in unit, which can be loaded into existing song website or application so that the song website after loading
Or the audition broadcast button selected for user is corresponded in application per song;The embodiment of the present invention is to providing audition to the user
The concrete mode of operation does not limit.
When user clicks on audition broadcast button, it has been issued by referring to the audition of song corresponding to the audition broadcast button
Order.
Step 102:Obtain the corresponding lyrics file of the song.
It is appreciated that a complete song, is basically divided into following components from structure:
Prelude part intro is the prelude of song the beginning part.
Main song part verse is the paragraph that melody is slowly pushed to chorus section in general song before climax.
Chorus section chorus is popular signified song climax paragraph, has and very strong is used for the entire song purport that distils
Effect, for entire song most behave excellently part.
Interlude part bridg is to be located at second time refrain with the transition and linkage between the 3rd time refrain.
Ending outro refers to that song faces the musical portions of ending.
In the corresponding lyrics file of song, often set and be segmented according to each several part of song, such as in main song part paragraph
Preceding setting verse sets chorus as segment identification as segment identification before the paragraph of chorus section;Every lyrics also lead to
It often can the corresponding reproduction time for marking this lyrics.
In the embodiment of the present invention, lyrics file can be LRC (lyric, the lyrics) files or the text of other forms
File, the embodiment of the present invention are not limited the concrete form of lyrics file.
In concrete application, after receiving user and being directed to the audition instruction of a certain song, the song of the song can be obtained
Mark, such as song title, composer, singer, album name etc., the song identity can the unique mark song, into
And search for corresponding lyrics file according to the song identity.
Step 103:Search default refrain mark in the lyrics file;The refrain identifies to mark the refrain lyrics
Affiliated segmentation.
In concrete application, by taking lyrics file is LRC files as an example, with reference to Fig. 2, the default segment identification of the LRC files
Including verse1 201, chorus 202 and verse2 203, be respectively intended to the first main song of mark part, chorus section and
Segmentation belonging to second main song part.
LRC files are text formatting, therefore, can be searched by regarding chorus etc. as search term in LRC files
Rope, so as to search and position the mark of the refrain in LRC files chorus.
In the embodiment of the present invention, lyrics file can also be the text formatting file of other forms, such as word versions
Lyrics file etc., refrain mark are also not necessarily limited to chorus, such as one, two, three etc., and the mode for searching refrain mark can be with
Adaptive change is carried out according to the particular content that lyrics file and refrain identify, the embodiment of the present invention is to lyrics file, refrain mark
The particular content known and search refrain mark is not particularly limited.
Step 104:According to the refrain mark found, the starting reproduction time of the true song.
In concrete application, by taking lyrics file is LRC files as an example, as recorded in step 103, it is same to find refrain mark
When, it can also navigate to refrain and identify in the position of lyrics file, reference Fig. 2, LRC files, the beginning of the sentence of each lyrics has
For the corresponding time tag 204 of this lyrics, such as the time tag to be marked to be【02:09.58】, then this lyrics are represented
Originate playing time it is corresponding be song the 2nd point the 9th second the 58th millisecond.
In the embodiment of the present invention, since refrain identifies to mark segmentation belonging to the refrain lyrics, can find
After refrain mark, the corresponding time tag of first lyrics of segmentation belonging to the corresponding refrain lyrics is determined, and the time is marked
The corresponding time is signed as actual play time, to determine that the song originates reproduction time.
For the lyrics file of other forms, determine that the mode of starting reproduction time is similar with LRC files, art technology
Personnel can do accommodation according to practical application scene, and the embodiment of the present invention is to determining the mode of song starting reproduction time not
Do concrete restriction.
Step 105:Using the starting reproduction time as starting point, the song is played.
In the embodiment of the present invention, can song be commenced play out from starting reproduction time according to definite starting reproduction time,
The chorus section segment in song is directly played for user.
In the embodiment of the present invention, the play instruction that user is directed to a certain song is received first, after receiving play instruction, is obtained
Take the selected corresponding lyrics file of song, then lyrics file search it is default, for marking what is be segmented belonging to the refrain lyrics
Refrain identifies, so that it is determined that going out the starting reproduction time of song, then plays song as starting point to originate reproduction time;In this process
In, by then passing through the audition time of the definite song of refrain mark, so the application can be automatically positioned refrain start-up portion,
It, can be directly from chorus section audition song, so as to make user quick by audition chorus section when user needs audition
Judge whether song is pleasing to the ear.
【Embodiment of the method two】
Reference Fig. 3 shows a kind of specific steps flow chart of playback of songs method in the embodiment of the present invention.Specific step
Suddenly include:
Step 301:Receive the audition instruction for a song.
Step 302:According to the song identity of the song, the lyrics file of the song is obtained from default lyrics storehouse;
The lyrics file is identified including refrain.
In the embodiment of the present invention, a default lyrics storehouse can be safeguarded in advance, in this presets lyrics storehouse, can be collected simultaneously
The existing lyrics file for including refrain mark is stored, the lyrics file for including refrain mark of self manufacture can also be stored
Lyrics file.
Making the method for the lyrics file for the lyrics file for including refrain mark can be:Text file is subjected to subordinate sentence,
And this participle corresponding time tag in song is marked before each lyrics, meanwhile, it distinguishes specific in the lyrics file
Main song part, the corresponding lyrics such as chorus section, refrain mark is added before the paragraph of chorus section, refrain to be marked to sing
Segmentation belonging to word.
It, can be according to the song identity of the song, default after receiving user and being directed to the audition instruction of a certain song
Corresponding lyrics file is searched in lyrics storehouse.
In the embodiment of the present invention, due to being previously provided with default lyrics storehouse, when receive user be directed to a certain song examination
After listening instruction, fast and accurate in this presets the lyrics storehouse lyrics file for including refrain mark can be found, so as to significantly
Shorten user's selection and be played to the time played between audition song, improve the efficiency for providing audition song to the user.
Step 303:When not finding the lyrics file from the default lyrics storehouse, the song according to the song
Mark, searches for corresponding lyrics file in a search engine.
This step is the preferred steps of the embodiment of the present invention, due to default lyrics storehouse there may be update not in time or
Therefore the problem of lyrics file is not complete, when that cannot find the lyrics from default lyrics storehouse, can be searched in a search engine
Rope lyrics file corresponding with song.
In the embodiment of the present invention, during since the lyrics cannot be found from default lyrics storehouse, it can search in a search engine
The corresponding lyrics file of rope can not find happening for lyrics file according to lyrics mark accordingly, it is capable to reduce, greatly promote and find
The probability of new song or uncommon song.
Step 304:Search default refrain mark in the lyrics file;The refrain identifies to mark the refrain lyrics
Affiliated segmentation.
It may include one or more refrains in concrete application, in lyrics file to identify.
As a kind of preferred embodiment of the embodiment of the present invention, when in the lyrics file there are multiple refrains mark, then
By the order on lyrics head to afterbody, one refrain of refrain mark or random selection of first appearance is selected to identify.
For example, with reference to Fig. 2, it is assumed that there are two refrains identify chorus, then, can be in the lyrics file of Fig. 2
The two refrains mark to match is found, at this point it is possible to according to the order on lyrics head to afterbody, only first appearance of selection
Chorus as refrain identify, can also arbitrarily be selected in two chorus wherein to one as refrain mark.
In the above-mentioned preferred embodiment of the embodiment of the present invention, wherein one can be only selected there are during multiple refrains mark
It is a to be identified as definite refrain, it avoids, when there is multiple refrains to identify now, not identifying according to refrain and determining reproduction time
Happen.
Such as step 302 and 303 record, lyrics file can be that the refrain that includes found in default lyrics storehouse identifies
Lyrics file or the lyrics file that finds in a search engine, the lyrics file found in a search engine
In, refrain may be included and identified, it is also possible to not identified including refrain, then, it, can be with if lyrics file includes refrain and identifies
Perform step 305 come determine starting reproduction time, if in lyrics file include refrain identify, can perform step 306 with
307 come determine starting reproduction time.
Step 305:It is identified according to the refrain found, determines the starting reproduction time of the song.
As a kind of preferred embodiment of the embodiment of the present invention, the refrain mark can be determined according to the refrain mark found
Know the starting reproduction time of corresponding first lyrics content.
In concrete application, with reference to Fig. 2, in the lyrics file of Fig. 2, only there are one refrains to identify chorus, only selects at this time
The chorus is selected to identify as unique refrain;If assuming that also there are another refrains behind chorus to identify chorus1, this
When, according to the order on lyrics head to afterbody, can only select the chorus of first appearance as refrain mark, it can also be
It arbitrarily selects wherein to identify as refrain to one in chorus or chorus1.
After determining the starting reproduction time that refrain identifies corresponding first lyrics content, it is possible to will be played from starting
Time to the All Time that song terminates as the audition time, due to originate reproduction time it is corresponding be user audiovisual content,
User after audiovisual content plays, can continue the remainder of audition song or close the song.
Step 306:It is identified when not finding refrain, it is determined that the repetition degree of lyrics content is higher than in the lyrics file
The paragraph of preset value is as chorus section.
When lookup is identified less than refrain, the chorus section of song can also be determined by other means, as definite
The foundation of audition for the songs time.
In concrete application, preset value can be determined as to the natural number more than 1, the repetition journey of lyrics content in lyrics file
Degree is determined as chorus section higher than the part of the preset value;The part that number of repetition is most in lyrics file can also be obtained, it will
The most part of number of repetition is as chorus section in lyrics file.
As another preferred embodiment of the embodiment of the present invention, chorus section can also be determined as follows, when not
Refrain mark is found, then extracts audio frequency characteristics from the song;The refrain of the song is determined according to the audio frequency characteristics
Part.
In concrete application, the audio frequency characteristics of song can be extracted, frequency spectrum is obtained, and melody is obtained based on the frequency spectrum and is risen and fallen most
Big melody section, for example, the maximum melody section of melody fluctuating is directly as chorus section or maximum by melody fluctuating
Melody section before and after adjacent default quantity melody section as chorus section;Song can also be split as by the audio frequency characteristics
Each melody section is compared multiple melody sections two-by-two successively, to determine the repetition note number in each melody section, is repeating
When note number is more than pre-set threshold value, it is believed that two melody sections repeat, and really record the number of repetition of each melody section, determine to repeat
The most melody section of number, and the most paragraph of melody number of repetition is determined based on the melody section of number of repetition maximum, such as
By the most melody section of the number of repetition directly as chorus section or will be adjacent before and after the most melody section of the number of repetition
Default quantity melody section as chorus section.
Step 307:According to the chorus section of the song, when determining the starting reproduction time of the song and terminating to play
Between.
According to the chorus section of definite song, it can determine that the chorus section corresponding starting in song plays simultaneously
Time and end reproduction time will originate reproduction time and terminate audition time of the time between reproduction time as song;
It can also only determine the chorus section corresponding starting reproduction time in song.
In the embodiment of the present invention, when lookup is identified less than refrain in the lyrics file in acquisition, analysis can also be passed through
The audio frequency characteristics of song obtain the chorus section of song, and the audition time will be determined according to chorus section, provide examination to the user
Snatch of song is listened, ensures to provide the comprehensive of audition snatch of song, further promotes user experience.
Step 308:According to the refrain mark found, determine that the refrain identifies last corresponding lyrics content
Terminate reproduction time.
In concrete application, with reference to Fig. 2, by taking refrain mark is chorus as an example, determine that refrain identifies last corresponding sentence
The method of the starting reproduction time of lyrics content can be:After finding chorus, according to the order on lyrics head to afterbody, after
The continuous other segment identifications searched present in lyrics file in addition to chorus, after finding the others segment identification,
That lyrics before the others segment identification are exactly that refrain identifies corresponding last lyrics content, in this lyrics
Hold the end reproduction time that corresponding time tag is exactly last lyrics content.
In the embodiment of the present invention, after determining starting reproduction time respectively and terminating reproduction time, when completely being played
Between, it can provide to the user and accurately play audition snatch of song.
Step 309:The song is commenced play out from the starting reproduction time, until when reaching the end reproduction time
Stop playing.
If when determining the reproduction time of song, while it is determined that refrain identifies rising for corresponding first lyrics content
Beginning reproduction time and the refrain identify the end reproduction time of last corresponding lyrics content, then are broadcast from the starting
Putting the time commences play out the song, terminates until being played when reaching the end reproduction time.
Preferably, if when determining the reproduction time of song, simply it is determined that refrain identifies corresponding first lyrics
The starting reproduction time of content then can commence play out the song, in playing process, user from the starting reproduction time
It can stop playing or persistently listening to song at any time terminating.
It is understood that step 306 to step 307 can be as the optional step of the embodiment of the present invention, when in lyrics text
When lookup is identified less than refrain in part, the embodiment of the present invention can also terminate audition recommendation, and broadcasting for song is voluntarily selected by user
Put part.
In the embodiment of the present invention, the play instruction that user is directed to a certain song is received first, after receiving play instruction, is obtained
Take the selected corresponding lyrics file of song, then lyrics file search it is default, for marking what is be segmented belonging to the refrain lyrics
Refrain identifies, so that it is determined that going out the starting reproduction time of song, then plays song as starting point to originate reproduction time;In this process
In, by then passing through the audition time of the definite song of refrain mark, so the application can be automatically positioned refrain start-up portion,
It, can be directly from chorus section audition song, so as to make user quick by audition chorus section when user needs audition
Judge whether song is pleasing to the ear.
【Device embodiment three】
Reference Fig. 4 shows a kind of structure diagram of mobile terminal in the embodiment of the present invention.The mobile terminal 400 wraps
It includes:
Play instruction module 410 is received, for receiving the play instruction for a song;
Lyrics file module 420 is obtained, for obtaining the corresponding lyrics file of the song;
Refrain mark module 430 is searched, for searching default refrain mark in the lyrics file;The refrain mark
For marking segmentation belonging to the refrain lyrics;
Reproduction time module 440 is determined, for being identified according to the refrain found, when determining that the starting of the song plays
Between;
Playing module 450, for using the starting reproduction time as starting point, playing the song.
Optionally, with reference to Fig. 5, on the basis of Fig. 4, above-mentioned mobile terminal 400 can also include:
The lookup refrain mark module 430 includes:
Refrain mark unit 4301 is searched, for working as in the lyrics file there are multiple refrains mark, then by the lyrics
Head selects one refrain of refrain mark or random selection of first appearance to identify to the order of afterbody.
The acquisition lyrics file module 420 includes:
First obtains lyrics file unit 4201, for the song identity according to the song, is obtained from default lyrics storehouse
Take the lyrics file of the song;The lyrics file is identified including refrain.
Second obtains lyrics file unit 4202, and the lyrics file is not found from the default lyrics storehouse for working as
When, according to the song identity of the song, corresponding lyrics file is searched in a search engine.
Optionally, with reference to Fig. 6, on the basis of Fig. 4, above-mentioned mobile terminal 400 can also include:
The definite reproduction time module 440 includes:
Reproduction time unit 4401 is determined, for according to the refrain mark found, determining that the refrain mark corresponds to
Last lyrics content end reproduction time;
The playing module 450 includes:Broadcast unit 4501, for commencing play out the song from the starting reproduction time
Song, until stopping playing when reaching the end reproduction time.
Optionally, with reference to Fig. 7, on the basis of Fig. 4, above-mentioned mobile terminal 400 can also include:
Audio feature extraction module 460 for that ought not find refrain mark, then it is special to extract audio from the song
Sign;
First chorus section determining module 470, for determining the chorus section of the song according to the audio frequency characteristics;
First reproduction time determining module 480 for the chorus section according to the song, determines to broadcast the song
Put the time.
Optionally, with reference to Fig. 8, on the basis of Fig. 4, above-mentioned mobile terminal 400 can also include:
Second chorus section determining module 490, for refrain mark ought not found, it is determined that sung in the lyrics file
The repetition degree of word content is higher than the paragraph of preset value as chorus section;
Second reproduction time determining module 500 for the chorus section according to the song, determines to broadcast the song
Put the time.
In the embodiment of the present invention, the play instruction that user is directed to a certain song is received first, after receiving play instruction, is obtained
Take the selected corresponding lyrics file of song, then lyrics file search it is default, for marking what is be segmented belonging to the refrain lyrics
Refrain identifies, so that it is determined that going out the starting reproduction time of song, then plays song as starting point to originate reproduction time;In this process
In, by then passing through the audition time of the definite song of refrain mark, so the application can be automatically positioned refrain start-up portion,
It, can be directly from chorus section audition song, so as to make user quick by audition chorus section when user needs audition
Judge whether song is pleasing to the ear.
Above-mentioned mobile terminal can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to keep away
Exempt to repeat, which is not described herein again.
A kind of hardware architecture diagram of Fig. 9 mobile terminals of each embodiment to realize the present invention.
The mobile terminal 900 includes but not limited to:It is radio frequency unit 901, network module 902, audio output unit 903, defeated
Enter unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor
The components such as 910 and power supply 911.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 9 is not formed
Restriction to mobile terminal, mobile terminal can include than illustrate more or fewer components either combine some components or
Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 910, for receiving the play instruction for a song;Obtain the corresponding lyrics text of the song
Part;Search default refrain mark in the lyrics file;The refrain mark is segmented for marking belonging to the refrain lyrics;Foundation
The refrain mark found determines the starting reproduction time of the song;Using the starting reproduction time as starting point, described in broadcasting
Song.
In the embodiment of the present invention, the play instruction that user is directed to a certain song is received first, after receiving play instruction, is obtained
Take the selected corresponding lyrics file of song, then lyrics file search it is default, for marking what is be segmented belonging to the refrain lyrics
Refrain identifies, so that it is determined that going out the starting reproduction time of song, then plays song as starting point to originate reproduction time;In this process
In, by then passing through the audition time of the definite song of refrain mark, so the application can be automatically positioned refrain start-up portion,
It, can be directly from chorus section audition song, so as to make user quick by audition chorus section when user needs audition
Judge whether song is pleasing to the ear.
It should be understood that in the embodiment of the present invention, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, handled to processor 910;In addition, by uplink
Data sending is to base station.In general, radio frequency unit 901 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 902 and has accessed, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be receiving by radio frequency unit 901 or network module 902 or in memory 909
The voice data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 903 can also be provided and moved
The relevant audio output of specific function that dynamic terminal 900 performs is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 903 includes loud speaker, buzzer and receiver etc..
Input unit 904 is used to receive audio or video signal.Input unit 904 can include graphics processor
(Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode
Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Treated, and picture frame may be displayed on display unit 906.Through graphics processor 9041, treated that picture frame can be deposited
Storage is sent in memory 909 (or other storage mediums) or via radio frequency unit 901 or network module 902.Mike
Wind 9042 can receive sound, and can be voice data by such acoustic processing.Treated voice data can be
The form output of mobile communication base station can be sent to via radio frequency unit 901 by being converted in the case of telephone calling model.
Mobile terminal 900 further includes at least one sensor 905, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 9061, and proximity sensor can close when mobile terminal 900 is moved in one's ear
Display panel 9061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 906 is used to show by information input by user or be supplied to the information of user.Display unit 906 can wrap
Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 9061.
User input unit 907 can be used for the number for receiving input or character information and generation and the use of mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 907 include touch panel 9071 and
Other input equipments 9072.Touch panel 9071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects such as finger, stylus or attachment on touch panel 9071 or in touch panel 9071
Neighbouring operation).Touch panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receiving area
It manages the order that device 910 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 9071.Except touch panel 9071, user input unit 907 can also include other input equipments
9072.Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, touch panel 9071 can be covered on display panel 9061, when touch panel 9071 is detected at it
On or near touch operation after, send to processor 910 with determine touch event type, be followed by subsequent processing device 910 according to touch
The type for touching event provides corresponding visual output on display panel 9061.Although in fig.9, touch panel 9071 and display
Panel 9061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments
In, can be integrated by touch panel 9071 and display panel 9061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 908 is the interface that external device (ED) is connected with mobile terminal 900.For example, external device (ED) can include
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 908 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and
One or more elements that the input received is transferred in mobile terminal 900 can be used in 900 He of mobile terminal
Data are transmitted between external device (ED).
Memory 909 can be used for storage software program and various data.Memory 909 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 909 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part is stored in storage by running or performing the software program being stored in memory 909 and/or module and call
Data in device 909 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place
Reason device 910 may include one or more processing units;Preferably, processor 910 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 910.
Mobile terminal 900 can also be included to the power supply 911 (such as battery) of all parts power supply, it is preferred that power supply 911
Can be logically contiguous by power-supply management system and processor 910, so as to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 900 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 910, memory 909 is stored in
On memory 909 and the computer program that can be run on the processor 910, the computer program are performed by processor 910
Each process of the above-mentioned playback of songs embodiments of the method for Shi Shixian, and identical technique effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned playback of songs embodiment of the method, and energy when being executed by processor
Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form is belonged within the protection of the present invention.
Claims (11)
- A kind of 1. playback of songs method, which is characterized in that including:Receive the play instruction for a song;Obtain the corresponding lyrics file of the song;Search default refrain mark in the lyrics file;The refrain mark is segmented for marking belonging to the refrain lyrics;It is identified according to the refrain found, determines the starting reproduction time of the song;Using the starting reproduction time as starting point, the song is played.
- 2. according to the method described in claim 1, it is characterized in that, described search default refrain mark in the lyrics file The step of, including:It there are multiple refrains mark, then by the order on lyrics head to afterbody, selects first when in the lyrics file and goes out Existing one refrain mark of refrain mark or random selection.
- 3. according to the method described in claim 1, it is characterized in that, described using the starting reproduction time as starting point, broadcasting institute Before the step of stating song, further include:It is identified according to the refrain found, when determining that the refrain identifies the end broadcasting of last corresponding lyrics content Between;It is described using the starting reproduction time as starting point, the step of playing the song, including:The song is commenced play out from the starting reproduction time, until stopping playing when reaching the end reproduction time.
- 4. the according to the method described in claim 1, it is characterized in that, step for obtaining the corresponding lyrics file of the song Suddenly, including:According to the song identity of the song, the lyrics file of the song is obtained from default lyrics storehouse;The lyrics file It is identified including refrain.
- 5. it according to the method described in claim 4, it is characterized in that, further includes:When not finding the lyrics file from the default lyrics storehouse, according to the song identity of the song, searching for Corresponding lyrics file is searched in engine.
- 6. a kind of mobile terminal, which is characterized in that including:Play instruction module is received, for receiving the play instruction for a song;Lyrics file module is obtained, for obtaining the corresponding lyrics file of the song;Refrain mark module is searched, for searching default refrain mark in the lyrics file;The refrain identifies to mark Remember segmentation belonging to the refrain lyrics;It determines reproduction time module, for being identified according to the refrain found, determines the starting reproduction time of the song;Playing module, for using the starting reproduction time as starting point, playing the song.
- 7. mobile terminal according to claim 6, which is characterized in that the lookup refrain mark module includes:Refrain mark unit is searched, for working as in the lyrics file there are multiple refrains mark, then by lyrics head to tail The order in portion selects one refrain mark of refrain mark or random selection of first appearance.
- 8. mobile terminal according to claim 6, which is characterized in that the definite reproduction time module includes:Determine reproduction time unit, for according to the refrain mark found, determine the refrain mark it is corresponding last The end reproduction time of sentence lyrics content;The playing module includes:Broadcast unit, for commencing play out the song from the starting reproduction time, until reaching Stop playing during the end reproduction time.
- 9. mobile terminal according to claim 6, which is characterized in that the acquisition lyrics file module includes:First obtains lyrics file unit, and for the song identity according to the song, the song is obtained from default lyrics storehouse Bent lyrics file;The lyrics file is identified including refrain.
- 10. mobile terminal according to claim 10, which is characterized in that the acquisition lyrics file module includes:Second obtains lyrics file unit, for when not finding the lyrics file from the default lyrics storehouse, foundation The song identity of the song searches for corresponding lyrics file in a search engine.
- 11. a kind of mobile terminal, which is characterized in that including memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, is realized when the computer program is performed by the processor in claim 1 to 5 The step of any one of them playback of songs method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711259762.3A CN108090140A (en) | 2017-12-04 | 2017-12-04 | A kind of playback of songs method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711259762.3A CN108090140A (en) | 2017-12-04 | 2017-12-04 | A kind of playback of songs method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108090140A true CN108090140A (en) | 2018-05-29 |
Family
ID=62173723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711259762.3A Pending CN108090140A (en) | 2017-12-04 | 2017-12-04 | A kind of playback of songs method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108090140A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040904A (en) * | 2018-10-31 | 2018-12-18 | 北京羽扇智信息科技有限公司 | The audio frequency playing method and device of intelligent sound box |
CN109377988A (en) * | 2018-09-26 | 2019-02-22 | 网易(杭州)网络有限公司 | For the exchange method of intelligent sound box, medium, device and calculate equipment |
CN109473128A (en) * | 2018-09-29 | 2019-03-15 | 南昌与德软件技术有限公司 | Melody playback method, electronic equipment and computer readable storage medium |
CN109918536A (en) * | 2019-02-28 | 2019-06-21 | 广州酷狗计算机科技有限公司 | Play method, apparatus, equipment and the storage medium of song climax |
CN110134825A (en) * | 2019-05-15 | 2019-08-16 | 黄瑞阳 | Music retrieval method and device |
CN110808019A (en) * | 2019-10-31 | 2020-02-18 | 维沃移动通信有限公司 | Song generation method and electronic equipment |
CN111028867A (en) * | 2019-11-26 | 2020-04-17 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
CN111081272A (en) * | 2019-12-16 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Song climax fragment identification method and device |
CN111862916A (en) * | 2020-05-25 | 2020-10-30 | 福建凯米网络科技有限公司 | Audio-visual place singing scoring method and system |
CN112765397A (en) * | 2021-01-29 | 2021-05-07 | 北京字节跳动网络技术有限公司 | Audio conversion method, audio playing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5731534A (en) * | 1995-09-22 | 1998-03-24 | Yamaha Corporation | Method and apparatus for imparting an effect to a tone signal with grade designation |
CN103871433A (en) * | 2012-12-10 | 2014-06-18 | 联想(北京)有限公司 | Control method and electronic device |
CN104078063A (en) * | 2014-06-19 | 2014-10-01 | 深圳市中兴移动通信有限公司 | Audio file playing method and system |
CN105006234A (en) * | 2015-05-27 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Karaoke processing method and apparatus |
CN105280196A (en) * | 2015-11-19 | 2016-01-27 | 科大讯飞股份有限公司 | Method and system for detecting chorus |
CN106448713A (en) * | 2015-08-11 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Audio frequency playing method and audio frequency playing device |
-
2017
- 2017-12-04 CN CN201711259762.3A patent/CN108090140A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5731534A (en) * | 1995-09-22 | 1998-03-24 | Yamaha Corporation | Method and apparatus for imparting an effect to a tone signal with grade designation |
CN103871433A (en) * | 2012-12-10 | 2014-06-18 | 联想(北京)有限公司 | Control method and electronic device |
CN104078063A (en) * | 2014-06-19 | 2014-10-01 | 深圳市中兴移动通信有限公司 | Audio file playing method and system |
CN105006234A (en) * | 2015-05-27 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Karaoke processing method and apparatus |
CN106448713A (en) * | 2015-08-11 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Audio frequency playing method and audio frequency playing device |
CN105280196A (en) * | 2015-11-19 | 2016-01-27 | 科大讯飞股份有限公司 | Method and system for detecting chorus |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109377988A (en) * | 2018-09-26 | 2019-02-22 | 网易(杭州)网络有限公司 | For the exchange method of intelligent sound box, medium, device and calculate equipment |
CN109473128A (en) * | 2018-09-29 | 2019-03-15 | 南昌与德软件技术有限公司 | Melody playback method, electronic equipment and computer readable storage medium |
CN109040904A (en) * | 2018-10-31 | 2018-12-18 | 北京羽扇智信息科技有限公司 | The audio frequency playing method and device of intelligent sound box |
CN109918536A (en) * | 2019-02-28 | 2019-06-21 | 广州酷狗计算机科技有限公司 | Play method, apparatus, equipment and the storage medium of song climax |
CN110134825A (en) * | 2019-05-15 | 2019-08-16 | 黄瑞阳 | Music retrieval method and device |
CN110808019A (en) * | 2019-10-31 | 2020-02-18 | 维沃移动通信有限公司 | Song generation method and electronic equipment |
CN111028867A (en) * | 2019-11-26 | 2020-04-17 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
CN111028867B (en) * | 2019-11-26 | 2022-03-11 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
CN111081272A (en) * | 2019-12-16 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Song climax fragment identification method and device |
CN111081272B (en) * | 2019-12-16 | 2024-04-05 | 腾讯科技(深圳)有限公司 | Method and device for identifying climax clips of songs |
CN111862916A (en) * | 2020-05-25 | 2020-10-30 | 福建凯米网络科技有限公司 | Audio-visual place singing scoring method and system |
CN111862916B (en) * | 2020-05-25 | 2023-11-28 | 福建凯米网络科技有限公司 | Method and system for scoring singing in audiovisual place |
CN112765397A (en) * | 2021-01-29 | 2021-05-07 | 北京字节跳动网络技术有限公司 | Audio conversion method, audio playing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108090140A (en) | A kind of playback of songs method and mobile terminal | |
CN109166593B (en) | Audio data processing method, device and storage medium | |
CN106531149B (en) | Information processing method and device | |
CN107707828B (en) | A kind of method for processing video frequency and mobile terminal | |
CN104967900B (en) | A kind of method and apparatus generating video | |
CN106782600B (en) | Scoring method and device for audio files | |
CN104123316B (en) | Resource collecting method, device and equipment | |
CN106210755B (en) | A kind of methods, devices and systems playing live video | |
CN108509660A (en) | A kind of broadcasting object recommendation method and terminal device | |
CN107734378A (en) | A kind of audio and video synchronization method, device and mobile terminal | |
CN108228882B (en) | recommendation method and terminal device for song audition fragments | |
CN106126174B (en) | A kind of control method and electronic equipment of scene audio | |
CN109040297A (en) | User's portrait generation method and device | |
CN107659637B (en) | Sound effect setting method and device, storage medium and terminal | |
CN107798107A (en) | The method and mobile device of song recommendations | |
CN106328176B (en) | A kind of method and apparatus generating song audio | |
CN107680614B (en) | Audio signal processing method, apparatus and storage medium | |
CN105959482B (en) | A kind of control method and electronic equipment of scene audio | |
CN107948729B (en) | Rich media processing method and device, storage medium and electronic equipment | |
CN110830368B (en) | Instant messaging message sending method and electronic equipment | |
CN110096611A (en) | A kind of song recommendations method, mobile terminal and computer readable storage medium | |
CN108763316A (en) | A kind of audio list management method and mobile terminal | |
CN107743178A (en) | A kind of message player method and mobile terminal | |
CN107633850A (en) | A kind of volume adjusting method and electronic equipment | |
CN106782627A (en) | The method and device of rerecording of audio file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180529 |
|
RJ01 | Rejection of invention patent application after publication |