CN101808162B - Songs playing method of mobile terminal and mobile terminal capable of playing songs - Google Patents

Songs playing method of mobile terminal and mobile terminal capable of playing songs Download PDF

Info

Publication number
CN101808162B
CN101808162B CN2010101444444A CN201010144444A CN101808162B CN 101808162 B CN101808162 B CN 101808162B CN 2010101444444 A CN2010101444444 A CN 2010101444444A CN 201010144444 A CN201010144444 A CN 201010144444A CN 101808162 B CN101808162 B CN 101808162B
Authority
CN
China
Prior art keywords
time
lyrics
data
pixel data
displayed
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.)
Expired - Fee Related
Application number
CN2010101444444A
Other languages
Chinese (zh)
Other versions
CN101808162A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN2010101444444A priority Critical patent/CN101808162B/en
Publication of CN101808162A publication Critical patent/CN101808162A/en
Priority to PCT/CN2011/072101 priority patent/WO2011124110A1/en
Application granted granted Critical
Publication of CN101808162B publication Critical patent/CN101808162B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Abstract

The invention discloses a songs playing method of a mobile terminal and a mobile terminal capable of playing songs, which solve the problem that when the traditional unintelligent mobile terminal plays songs and displays lyrics synchronously, the display effect is not ideal. The method comprises that: a buffer area is established according to the corresponding lyric document of the songs to be played and the size of a display area, when the songs are played and the current playing time reaches the time of a time tag, data to be displayed is taken out from the buffer area and displayed successively according to a scheduled screen refreshing period, the starting position of the taken data to be displayed is the sum of the starting position of the last taken data to be displayed and a second offset, the second offset is the product of a text scroll speed in a second direction perpendicular to a first direction and the scheduled screen refreshing period, and the text scroll speed is the result of the total bit number which is occupied by the pixel data of the corresponding lyrics of the time tag in the buffer area divided by the remainder of the time of the next time tag and the time of the time tag.

Description

But the portable terminal of the method for playing songs on mobile terminal and played songs
Technical field
The present invention relates to the mobile communication technology field, but relate in particular to a kind of portable terminal of method and a kind of played songs of playing songs on mobile terminal.
Background technology
LRC (LYRIC) form lyrics file is that a kind of personal computer, portable terminal etc. of being widely used in are at present supported to be used for when played songs on the terminal of playback of songs function, synchronously shows the file of the lyric characters that current sound played is corresponding.
In the lyrics file of LRC form, except that lyric characters, comprise two kinds of labels; First kind is the time tag (Time-tag) of [mm:ss] or [mm:ss.fff] form; Wherein mm is a minute value, and ss is a second value, and fff is the millisecond value; Be used to represent the demonstration time of the lyric characters that this label is corresponding, the lyric characters that time tag is corresponding in LRC form lyrics file is immediately following behind this time tag; Second kind is the identification (RFID) tag (ID-tag) of [tag name: label value] form; For example [ar: singer's title], [ti: song title], [al: album--name] or [by: presents editor title] etc.; Be used in the prelude musical time of song, play the relevant background information of above-mentioned song.
At present; A considerable amount of portable terminals are the non-intelligent mobile terminal that makes up based on ARM (Advanced RISC Machine) kernel, low capacity RAM, ROM and simple C language; This unintelligent terminal is compared with the intelligent terminal of costliness; Though have advantage cheap, low in energy consumption, since the restriction of aspects such as hardware, operating system can't realize installing or run application and wait the comparatively function of complicacy.Application number is that 200910167169.5 patent application discloses a kind of unintelligent terminal that is applicable to, can when played songs, synchronously show the scheme of the lyric characters that current sound played is corresponding.Yet this scheme only can realize showing in the song of current broadcast that when last sentence lyric characters (in other words, the lyric characters that the current time label is corresponding), display effect is not good.
Summary of the invention
The embodiment of the invention provides a kind of method of playing songs on mobile terminal, in order to solve at existing non-intelligent mobile terminal based on ARM during at played songs and synchronously displaying lyrics the problem that the display effect of the lyrics is not good.
Accordingly, but the embodiment of the invention also provides a kind of portable terminal of played songs.
The technical scheme that the embodiment of the invention provides is following:
A kind of method of playing songs on mobile terminal comprises:
According to the lyrics file of treating the played songs correspondence and the size of viewing area; Bufcreate; This buffering area is first side-play amount with the bit number that the pixel data of every capable pixel on the first direction in the viewing area takies, according to the pixel data of the corresponding lyrics of each time tag of time order and function sequential storage of time tag sign in the said lyrics file;
During played songs, when current reproduction time arrives the time of a time tag sign, carry out:
With the predetermined brush screen cycle; From said buffering area, take out data to be displayed and demonstration one by one; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of the zone that is used to show takies; The start position that takes out data to be displayed is the preceding start position and the second side-play amount sum of once taking out data to be displayed; Said second side-play amount is current screen speed and the predetermined product of brushing the screen cycle of rolling on the second direction vertical with said first direction; It is said that current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area.
But a kind of portable terminal of played songs comprises:
Buffering area is created the unit; According to the lyrics file of treating the played songs correspondence and the size of viewing area; Bufcreate; This buffering area is first side-play amount with the bit number that the pixel data of every capable pixel on the first direction in the viewing area takies, according to the pixel data of the corresponding lyrics of each time tag of time order and function sequential storage of time tag sign in the said lyrics file;
Display unit; Be used for when played songs; When current reproduction time arrives the time of a time tag sign; With the predetermined brush screen cycle; Create from buffering area one by one and take out data to be displayed and demonstration the buffering area of creating the unit; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of the zone that is used to show takies, and the start position that takes out data to be displayed is preceding start position and the second side-play amount sum of once taking out data to be displayed, and said second side-play amount is current screen speed and the predetermined product of brushing the screen cycle of rolling on the second direction vertical with said first direction; It is said that current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area.
The method of the playing songs on mobile terminal that the embodiment of the invention provides; At first according to the lyrics of each time tag correspondence and the size of viewing area in the lyrics file; It is the side-play amount store data buffer that a bit number that takies with the pixel data of every capable pixel in the viewing area is set, the lattice pixels data of storing the corresponding lyrics of each time tag successively by the time order and function order of time tag identifier in this buffering area.During the follow-up play song; When the time of each time tag sign arrives; With the predetermined brush screen cycle; From buffering area, take out the identical data of pixel data bit number of all pixels that a pixel data that comprises the corresponding lyrics of current time label comprises in interior, size and viewing area one by one, be presented in the viewing area, thereby realize showing simultaneously the purpose of several lyrics in front and back and roll display.
Description of drawings
Fig. 1 is the main realization principle flow chart of the embodiment of the invention;
Process chart when Fig. 2 is embodiment of the invention playing songs on mobile terminal;
Fig. 3 a is the sketch map of viewing area on the portable terminal panel in the embodiment of the invention;
Fig. 3 b is the sketch map of the lyrics pixel data stored in the embodiment of the invention buffering area;
Fig. 4 a is provided with the sketch map that color is upgraded timer in the embodiment of the invention;
Fig. 4 b is that color is upgraded the sketch map that timer arrives in the embodiment of the invention;
Fig. 5 a is the sketch map that from buffering area, obtains data to be displayed in the embodiment of the invention brush screen process for the first time;
Fig. 5 b is the sketch map that from buffering area, obtains data to be displayed in the embodiment of the invention brush screen process for the second time;
Fig. 6 a is provided with width to be W, highly to be the sketch map in the background color of H/2 zone in buffering area in the embodiment of the invention;
Fig. 6 b is provided with width to be W, highly to be the sketch map in the background color of h zone in buffering area in the embodiment of the invention;
But the structural representation of the portable terminal of first kind of played songs that Fig. 7 provides for the embodiment of the invention;
But the structural representation of the portable terminal of second kind of played songs that Fig. 8 provides for the embodiment of the invention.
Embodiment
Because on existing non-intelligent mobile terminal, when played songs, the display effect of the lyrics is comparatively dull.The basic ideas of the lyrics displaying scheme that the embodiment of the invention proposes are: width, highly enough big buffer area (promptly in this buffer area the storage mode of data for bit number that pixel data with in viewing area every capable pixel take be side-play amount) identical with the viewing area is set in advance, the lattice pixels data of storing the lyrics of each time tag correspondence by the time order and function of time tag identifier in proper order successively.
In the played songs process; When current reproduction time arrives the time (this time tag is the current time label) of each time tag sign; The lattice pixels data of setting the lyrics that this time tag is corresponding in the said buffer area are high bright display effect, and the lattice pixels data of the lyrics that the other times label is corresponding are the bright display effect of non-height; And from said buffering area, take out corresponding area size and the continuous data of lattice pixels data that comprise this time tag corresponding lyrics identical, and the data to be displayed of taking-up is shown in the viewing area as data to be displayed with the viewing area.
In order to obtain the evenly continuous screen effect of rolling; Can be in the time period between the time that next time tag on time of this time tag sign and the time sequencing identifies; When brush screen arrives cycle time,, from buffering area, take out data to be displayed one by one and show with fixing side-play amount.
Initial point position when from buffering area, obtaining data to be displayed through revising can reach the effect that makes the corresponding lyrics of current time be presented at the diverse location in the viewing area.
Carry out detailed elaboration below in conjunction with each accompanying drawing to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach.
As shown in Figure 1, the main realization principle process of the embodiment of the invention is following:
Step 10; According to the lyrics file of treating the played songs correspondence and the size of viewing area; Bufcreate; The bit number that takies with the pixel data of every capable pixel on the first direction in the viewing area in this buffering area is a side-play amount, according to the pixel data of the corresponding lyric characters of each time tag of time order and function sequential storage of time tag sign in the said lyrics file;
Step 20, during played songs, when current reproduction time arrives the time of each time tag sign, carry out:
With the predetermined brush screen cycle; From buffering area, take out data to be displayed and demonstration one by one; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of viewing area takies; Start position when taking out data to be displayed is preceding start position and side-play amount sum of once taking out data to be displayed; Side-play amount is current screen speed and the product of brush screen between the cycle of rolling; It is said that current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area.
To introduce an embodiment in detail and come the main realization principle of the inventive method is carried out detailed elaboration and explanation according to foregoing invention principle of the present invention below.
Please with reference to accompanying drawing 2, the process chart during for embodiment of the invention playing songs on mobile terminal.
Step 201 judges whether there is the lyrics file of treating that played songs is corresponding in the portable terminal, when in judging portable terminal, having the lyrics file of treating the played songs correspondence, gets into step 202, otherwise the processing end is play-overed song and do not shown the lyrics;
Be example with LRC form lyrics file in the present embodiment; Suppose that the file of storing the voice data of treating played songs " sea, native place " is " sea, native place .mp3 "; Corresponding LRC form lyrics file is the file " sea; native place .lrc " same store path under, and certain lyrics file also can be except " lrc ", to be the file of suffix with other book characters or character string, as long as possess and the similar content structure of LRC form lyrics file; Specifically how to determine whether to exist the method for the LRC form lyrics file of treating that played songs is corresponding to belong to prior art, here repeat no more.
The content of this LRC form lyrics file is as shown in table 1, wherein the 1st walks to the 5th behavior identification (RFID) tag, and the 6th walks to the 21st time of the act label and the corresponding lyrics of time tag.
Table 1LRC form lyrics file content example
Figure GDA0000129660930000061
Step 202 is resolved the LRC form lyrics file of treating that played songs is corresponding, obtains each time tag;
Resolve lyrics file " sea, native place .lrc ", the temporal information that each time tag is wherein comprised is as an array element; Be stored among the array time_tag [] time_tag [1]=01:38.29 for example, time_tag [2]=00:21.62; Time_tag [3]=01:43.06; Time_tag [4]=00:27.18 ..., time_tag [34]=03:04.43.
Step 203, according to the time order and function order, each time tag that step 202 is obtained sorts;
Sequencing according to the time that each array element identified; Element among the array time_tag [] sorts; Array time_tag [] after the ordering is { time_tag [2]=00:21.62; Time_tag [4]=00:27.18, time_tag [6]=00:31.91, time_tag [8]=00:36.59...}.
Step 204; According to the lyrics of each time tag correspondence after step 203 ordering and the size of viewing area; Bufcreate, the bit number that takies with the pixel data of (being on the Width) every capable pixel on the horizontal direction in the viewing area in this buffering area is a side-play amount;
The detailed process of confirming the data in the buffering area is following:
To each element among the array time_tag [] after the ordering; The lyrics corresponding according to this element; And predetermined font information; Confirm the pixel data of each character in the said lyrics, and be side-play amount, store on next-door neighbour's the position after the memory location of the pixel data of the lyrics that the last element that this element among the array time_tag [] of pixel data after said ordering of these lyrics of determining is adjacent is corresponding with the bit number that the pixel data of every capable pixel in the viewing area takies.Specifically how to confirm that according to the lyrics character process of corresponding pixel data is that prior art repeats no more here.
Please with reference to accompanying drawing 3a, be the sketch map of the viewing area on the portable terminal panel, the width of viewing area is designated as W, highly is designated as H.Accompanying drawing 3b is the sketch map of the lyrics pixel data stored in the buffering area; Wherein each blockage is represented the pixel data of a pixel; Show a literal with four pixels for brevity in the present embodiment; Certainly in reality in order to beautify display effect, often need use a lot of pixels to show a literal, for example 16 pixels, 64 pixels or the like.Same from the consideration of expressing simple and clear aspect, only in accompanying drawing 3b, drawn out the pixel data of the first six element among the array time_tag [] after the ordering in the buffering area.
Step 205, during played songs, execution in step 206;
Step 206, when current reproduction time arrives the time of each component identification among the array time_tag [] after sorting, carry out:
Suppose the time that i array element among the array time_tag [] after current reproduction time arrives ordering identify (for subsequent descriptions for simplicity; Be referred to as the time of current time tag identifier) time; At first; Among the array time_tag [] after current reproduction time arrives ordering in the time period of the times prior of i+1 array element (being the time to go up next time tag in proper order) sign, the pixel data of the lyrics of this time tag correspondence in the said buffering area is revised as outstanding display effect and the pixel data of the lyrics of other times label correspondence is revised as non-outstanding display effect.
When implementing; Can be when current reproduction time arrives the time of i component identification among the array time_tag [] after sorting; Set a color and upgrade timer TIMER; Shown in accompanying drawing 4a, time poor of i+1 component identification among the array time_tag [] among the array time_tag [] of the timing of this timer after after the time of i component identification and the ordering, startup color renewal timer for ordering; Upgrade the timing arrival of timer in color after; The pixel data of the corresponding lyrics of i+1 element among the array time_tag [] after the ordering is revised as outstanding display effect, the pixel data of i the element correspondence lyrics among the array time_tag [] after the ordering is revised as non-outstanding display effect, shown in accompanying drawing 4b.
Specifically can change display effect through the mode of revising pixel data value; In the time need the pixel data that character is corresponding being revised as outstanding display effect; Whether the pixel data of judging each pixel that this character is corresponding is the background colour data, if do not revise; Otherwise, the pixel data of this pixel is increased or reduces a predetermined value.For example the background pixel data value is (0 (R), 0 (G), 0 (B)), needs the pixel data that " little " is corresponding to be revised as when giving prominence to display effect; If the pixel data of the pixel that character " little " is corresponding is (123 (R), 123 (G), 123 (B)); Then this pixel data is not a background colour, and is non-outstanding display effect, then each color component value in the pixel data of this pixel is all subtracted 100 to realize outstanding display effect; The pixel data of amended this pixel is (23 (R), 23 (G), 23 (B)).In the time of need the pixel data that character is corresponding being revised as non-outstanding display effect, processing procedure is similar, here repeats no more.
Step 207 with the predetermined brush screen cycle, is taken out pixel data identical data to be displayed and the demonstration corresponding with zone to be shown of a bit number that comprises one by one from buffering area;
Suppose the time of i component identification among the array time_tag [] after current reproduction time arrives ordering; Obviously in order to make the corresponding lyrics of current time label (i array element among the array time_tag [] after the ordering) can be presented in the viewing area; Should on the current reproduction time order time of advent, brush the pixel data that the data to be displayed of obtaining when shielding all should comprise the corresponding lyrics of current time label before by next time tag (i+1 array element time corresponding among the array time_tag [] after the ordering) at every turn.The brush screen is short more cycle time, and the roll display effect that user experience arrives is more smooth to link up.In general, the data to be displayed of obtaining when each brush shields all should increase by one side-play amount on the basis of the data to be displayed of last time obtaining, and rolls from bottom to top so that the user experiences the corresponding lyrics of current time label.Accompanying drawing 5a, accompanying drawing 5b are for successively obtaining the sketch map of data to be displayed for twice from buffering area in the brush screen process; Black region among accompanying drawing 5a, the accompanying drawing 5b is represented the pixel data of the corresponding lyrics of current time label; The data to be displayed that the shaded rectangle representative is taken out from buffering area at every turn; Obtain data to be displayed it is thus clear that brush screen is equivalent to from buffering area to pass one by one with the window of a fixed dimension, the fixed dimension of this window is the bit number of the shared pixel data in viewing area.Adopt this elder generation to confirm the buffering area of said structure; The benefit of when follow-up demonstration lyrics data, confirming data to be displayed is when the brush screen, to need not to splice data to be displayed according to the pixel data of the corresponding lyrics of each time tag again, and the data to be displayed that only needs from buffering area, to take out directly shows and gets final product.
Preferably; In order to obtain at the uniform velocity to roll the display effect of screen; In time period on the current reproduction time order time of advent before the next time tag; Each predetermined brush screen cycle is when arriving, and the basis of the starting point that the starting point the during data to be displayed from buffering area, obtained all should be when last time obtaining data to be displayed increases a fixing side-play amount v i* timer, wherein v iThe screen speed of rolling for the in the vertical direction of the times prior of next time tag sign on time of advent order
v i = W * h i * n time _ tag [ i + 1 ] - time _ tag [ i ]
H wherein iThe required pixel count that takies in the short transverse when showing in the viewing area for the pixel data of the corresponding lyrics of current time label, n is the required bit number that takies of pixel data of each pixel of storage, timer shields cycle time for predetermined brush.
Preferably, in order to meet common people's reading habit, when current reproduction time arrives the time of each time tag sign; The lyrics that this time tag is corresponding show just can be at the mid point on the vertical direction of viewing area, when step 202 is confirmed buffering area, before the pixel data of the lyrics that first element among the array time_tag [] after ordering is corresponding; Storage width is W in advance, highly is the pixel data in the background colour zone of H/2, shown in accompanying drawing 6a; Further; During for time of first time tag sign on current reproduction time time of advent order, the lyrics that this first time tag is corresponding are rolled into the mid point on the vertical direction of viewing area just, before the pixel data of the lyrics of first element correspondence among the several time_tag [] after can in accompanying drawing 6a, sort and width be W; Highly be after the pixel data in background colour zone of H/2; Inserting a width is W, highly is the pixel data in the background colour zone of h, shown in accompanying drawing 6b.
In the time period of the times prior of first component identification among the array time_tag [] after the beginning played songs arrives ordering to current reproduction time; Each arrival is scheduled to the brush screen during cycle time, and the start position s_begin that from buffering area, obtains data to be displayed is:
S_begin '=s_begin+v 0* timer, wherein v 0For arrive the interior screen speed of rolling of time period of the times prior of first component identification the array time_tag [] after sorting to current reproduction time from the beginning played songs, on the numerical value v 0=W*h*n/time_tag [1], the initial value of s_begin are the starting point of buffering area; This external current reproduction time arrived in time period of times prior of first component identification among the array time_tag [] after the ordering, rollably the corresponding song background information of explicit identification label.
In above-mentioned steps 203, during played songs, when current reproduction time arrived the time of each time tag sign, when from buffering area, taking out data to be displayed one by one, the starting point s_begin of reading of data did
s_begin′=s_begin+v i*timer
V wherein iFor time of i array element sign the array time_tag [] after current reproduction time arrives ordering arrives the interior screen speed of rolling of time period of the time that i+1 array element among the array time_tag [] after the ordering identify to current reproduction time, on the numerical value vi=W*h i* n/time_tag [i+1]-time_tag [i]; H wherein iThe required pixel count that takies in the short transverse when showing in the viewing area for the pixel data of the corresponding lyrics of current time label, timer shields cycle time for predetermined brush.The implication of seeing above-mentioned formula from physical significance is starting point and side-play amount sum when the last time obtaining video data for this starting point of obtaining data to be displayed, and side-play amount is current screen speed and the brush screen product of cycle time of rolling on the vertical direction.
Obviously,, after step 205, only need execution in step 207 to get final product, need not execution in step 206 if only hope to realize showing the effect of the multirow lyrics and roll display.
The embodiment of the invention is when confirming buffering area; The bit number that takies with the pixel data of every capable pixel on the horizontal direction of viewing area is that side-play amount is come the store lyrics pixel data; During played songs, vertical direction rolling brush screen shows that current lyrics data is that example is come description scheme in the viewing area.Adopt similar method; When confirming buffering area; If the bit number that takies with the pixel data of every capable pixel on the vertical direction of viewing area is that side-play amount is come the store lyrics pixel data; During played songs, adopt similar approach can be implemented in the effect of the current lyrics data of horizontal direction rolling brush screen demonstration in the viewing area.
The scheme of the playing songs on mobile terminal that the embodiment of the invention provides except played songs, demonstration corresponding character when being equally applicable to play courseware, audio file such as speech recording etc.
The portable terminal that the embodiment of the invention provides shows the scheme of the lyrics when played songs; According to the lyrics of each time tag correspondence and the size of viewing area in the lyrics file; It is the side-play amount store data buffer that a bit number that takies with the pixel data of every capable pixel in the viewing area is set, the lattice pixels data of storing the corresponding lyrics of each time tag successively by the time order and function order of time tag identifier in this buffering area.During played songs; With the predetermined brush screen cycle; From buffering area, take out the identical data of pixel data bit number of all pixels that a pixel data that comprises the corresponding lyrics of current time label comprises in interior, size and viewing area one by one, be presented in the viewing area.In the time of played songs can being implemented in through said process, show the effect of the multirow lyrics and roll display.
In addition; In the time of can also arriving in the time of each time tag sign; The pixel data of the corresponding lyrics of this time tag in the buffering area is revised as high bright display effect, combines, realize showing simultaneously the purpose of several the lyrics in front and back, the current lyrics of high bright demonstration simultaneously with this with aforementioned schemes.
Correspondingly, but the embodiment of the invention also provides a kind of portable terminal of played songs, and is as shown in Figure 7, and this portable terminal comprises buffering area establishment unit 701 and display unit 702, and is specific as follows:
Buffering area is created unit 701; According to the lyrics file of treating the played songs correspondence and the size of viewing area; Bufcreate; This buffering area is first side-play amount with the bit number that the pixel data of every capable pixel on the first direction in the viewing area takies, according to the pixel data of the corresponding lyrics of each time tag of time order and function sequential storage of time tag sign in the said lyrics file;
Display unit 702; Be used for when played songs; When current reproduction time arrives the time of a time tag sign; With the predetermined brush screen cycle; Create from buffering area one by one and take out data to be displayed and demonstration the buffering area of creating the unit; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of viewing area takies, and the start position that takes out data to be displayed is preceding start position and the second side-play amount sum of once taking out data to be displayed, and said second side-play amount is current screen speed and the predetermined product of brushing the screen cycle of rolling on the second direction vertical with said first direction; It is said that current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area.
Preferably; Please with reference to accompanying drawing 8; Portable terminal in the accompanying drawing 7 also comprises display effect adjustment unit 801; When being used for played songs; When current reproduction time arrives the time of each time tag sign, carry out: the times prior of next time tag sign on the current reproduction time order time of advent, the pixel data that the pixel data of the lyrics that this time tag is corresponding in the said buffering area is revised as the outstanding display effect and the lyrics that the other times label is corresponding is revised as non-outstanding display effect;
Said display unit 702 with the predetermined brush screen cycle, takes out data to be displayed one by one and also shows after the display effect adjustment unit is revised the pixel data in the buffering area from buffering area.
Preferably, the display unit among Fig. 7, Fig. 8 specifically comprises obtaining subelement and showing carries out subelement, wherein:
Obtain subelement; When being used for played songs;, brushes the screen cycle current reproduction time when arriving the time of each time tag sign with predetermined; From buffering area, take out data to be displayed one by one; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of viewing area takies; The start position that takes out data to be displayed is the preceding start position and the second side-play amount sum of once taking out data to be displayed; Said second side-play amount is the current product that rolls screen speed and predetermined brush screen cycle on the second direction vertical with said first direction, and said current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area;
Show to carry out subelement, be used for being shown to the viewing area obtaining the data to be displayed that subelement obtains.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; This program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the method for a playing songs on mobile terminal is characterized in that, comprising:
According to the lyrics file of treating the played songs correspondence and the size of viewing area; Bufcreate; This buffering area is first side-play amount with the bit number that the pixel data of every capable pixel on the first direction in the viewing area takies, according to the pixel data of the corresponding lyrics of each time tag of time order and function sequential storage of time tag sign in the said lyrics file;
During played songs, when current reproduction time arrives the time of a time tag sign, carry out:
With the predetermined brush screen cycle; From said buffering area, take out data to be displayed and demonstration one by one; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of viewing area takies; The start position that takes out data to be displayed is the preceding start position and the second side-play amount sum of once taking out data to be displayed; Said second side-play amount is current screen speed and the predetermined product of brushing the screen cycle of rolling on the second direction vertical with said first direction; It is said that current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area.
2. the method for claim 1 is characterized in that, obtains lyrics file in the following manner:
In portable terminal, exist identical and suffix when being the file of book character or book character string, determine and have the lyrics file of treating the played songs correspondence with the audio file filename of treating played songs; Otherwise confirm not exist the lyrics file of treating that played songs is corresponding.
3. the method for claim 1 is characterized in that, obtains lyrics file in the following manner:
In portable terminal, treat under the store path of audio file of played songs, exist identical and suffix when being the file of book character or book character string, determine and have the lyrics file of treating that played songs is corresponding with the audio file filename of treating played songs; Otherwise confirm not exist the lyrics file of treating that played songs is corresponding.
4. the method for claim 1 is characterized in that, bufcreates, and specifically comprises:
To each time tag; The lyrics and the predetermined font information corresponding according to this time tag; Confirm the pixel data of each character in the corresponding lyrics of said time tag; And be side-play amount with the pixel data of determining with the bit number of the pixel value data occupancy of every capable pixel on the first direction in the viewing area, store on next-door neighbour's the position after the memory location of the pixel data of the lyrics that the last time tag adjacent with this label is corresponding on time sequencing.
5. the method for claim 1 is characterized in that, from buffering area, takes out before the data to be displayed during played songs, also comprises:
The times prior of next time tag sign on current reproduction time time of advent order, the pixel data that the pixel data of the lyrics that this time tag is corresponding in the said buffering area is revised as the outstanding display effect and the lyrics that the other times label is corresponding is revised as non-outstanding display effect.
6. method as claimed in claim 5; It is characterized in that; The times prior of next time tag sign on the current reproduction time order time of advent; The pixel data that the pixel data of the lyrics that this time tag in the said buffering area is corresponding is revised as the outstanding display effect and the lyrics that the other times label is corresponding is revised as non-outstanding display effect, specifically comprises:
On current reproduction time time of advent order on this time tag during the time of a time tag sign, the time that the timing of setting timer identifies for the time and a said last time tag of this time tag sign poor, and
Start timer; And
When arriving said timer timing, the pixel data of the corresponding lyrics of this time tag is revised as outstanding display effect, and pixel data that will the said last time tag correspondence lyrics is revised as non-outstanding display effect.
7. like claim 5 or 6 described methods, it is characterized in that the pixel data of the lyrics that this time tag is corresponding is revised as outstanding display effect, specifically comprises:
Whether the pixel data of judging each pixel of each character in the lyrics of said correspondence one by one is the background colour data, if do not revise; Otherwise, the pixel data of this pixel is increased or reduces a predetermined value.
8. the method for claim 1; It is characterized in that; In the said buffering area before the pixel data of the corresponding lyrics of first time tag on the time sequencing, also comprise with the viewing area first direction on the background pixel data in 1/2 zone of measure-alike, size that second direction is of a size of the viewing area second direction.
9. but the portable terminal of a played songs is characterized in that, comprising:
Buffering area is created the unit; According to the lyrics file of treating the played songs correspondence and the size of viewing area; Bufcreate; This buffering area is first side-play amount with the bit number that the pixel data of every capable pixel on the first direction in the viewing area takies, according to the pixel data of the corresponding lyrics of each time tag of time order and function sequential storage of time tag sign in the said lyrics file;
Display unit; Be used for when played songs; When current reproduction time arrives the time of a time tag sign; With the predetermined brush screen cycle; Create from buffering area one by one and take out data to be displayed and demonstration the buffering area of creating the unit; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of the zone that is used to show takies, and the start position that takes out data to be displayed is preceding start position and the second side-play amount sum of once taking out data to be displayed, and said second side-play amount is current screen speed and the predetermined product of brushing the screen cycle of rolling on the second direction vertical with said first direction; It is said that current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area.
10. portable terminal as claimed in claim 9 is characterized in that, also comprises:
The display effect adjustment unit; When being used for played songs; When current reproduction time arrives the time of each time tag sign; Carry out: the times prior of next time tag sign on the current reproduction time order time of advent, the pixel data that the pixel data of the lyrics that this time tag is corresponding in the said buffering area is revised as the outstanding display effect and the lyrics that the other times label is corresponding is revised as non-outstanding display effect;
Said display unit with the predetermined brush screen cycle, takes out data to be displayed one by one and also shows after the display effect adjustment unit is revised the pixel data in the buffering area from buffering area.
11., it is characterized in that said display unit specifically comprises like claim 9 or 10 described portable terminals:
Obtain subelement; When being used for played songs;, brushes the screen cycle current reproduction time when arriving the time of each time tag sign with predetermined; From buffering area, take out data to be displayed one by one; The bit number of said data to be displayed is the bit number that the pixel data of whole pixels of comprising of the zone that is used to show takies; The start position that takes out data to be displayed is the preceding start position and the second side-play amount sum of once taking out data to be displayed; Said second side-play amount is the current product that rolls screen speed and predetermined brush screen cycle on the second direction vertical with said first direction, and said current to roll screen speed be total bit number of taking of the pixel data of the corresponding lyrics of this time tag in the buffering area divided by the time sequencing result of time and the difference of the time of this time tag sign of a time tag identifier up and down, wherein for the first time from buffering area the original position during the taking-up data to be displayed be the start position of buffering area;
Show to carry out subelement, be used for being shown to the viewing area obtaining the data to be displayed that subelement obtains.
CN2010101444444A 2010-04-09 2010-04-09 Songs playing method of mobile terminal and mobile terminal capable of playing songs Expired - Fee Related CN101808162B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010101444444A CN101808162B (en) 2010-04-09 2010-04-09 Songs playing method of mobile terminal and mobile terminal capable of playing songs
PCT/CN2011/072101 WO2011124110A1 (en) 2010-04-09 2011-03-24 Songs playing method for mobile terminal and mobile terminal capable of playing songs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101444444A CN101808162B (en) 2010-04-09 2010-04-09 Songs playing method of mobile terminal and mobile terminal capable of playing songs

Publications (2)

Publication Number Publication Date
CN101808162A CN101808162A (en) 2010-08-18
CN101808162B true CN101808162B (en) 2012-08-01

Family

ID=42609777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101444444A Expired - Fee Related CN101808162B (en) 2010-04-09 2010-04-09 Songs playing method of mobile terminal and mobile terminal capable of playing songs

Country Status (2)

Country Link
CN (1) CN101808162B (en)
WO (1) WO2011124110A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808162B (en) * 2010-04-09 2012-08-01 青岛海信移动通信技术股份有限公司 Songs playing method of mobile terminal and mobile terminal capable of playing songs
CN103985379A (en) * 2014-05-04 2014-08-13 苏州乐聚一堂电子科技有限公司 Karaoke mobile phone VOD system with special light effect
CN105845160A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method and apparatus for providing lyrics, and user terminal
CN105760066B (en) * 2016-02-15 2018-01-05 广州阿里巴巴文学信息技术有限公司 A kind of method for updating pages and device
CN107239243A (en) * 2016-03-28 2017-10-10 腾讯科技(深圳)有限公司 The implementation method and device of a kind of roll screen reading model
CN105957544B (en) * 2016-04-21 2019-06-11 腾讯科技(深圳)有限公司 Lyric display method and device
CN110570834A (en) * 2019-09-27 2019-12-13 广州市迪声音响有限公司 method, device and equipment for realizing synchronous display of song score in song playing process

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5705762A (en) * 1994-12-08 1998-01-06 Samsung Electronics Co., Ltd. Data format and apparatus for song accompaniment which allows a user to select a section of a song for playback
CN101127210A (en) * 2007-09-20 2008-02-20 Ut斯达康通讯有限公司 Method and device for implementing lyric synchronization when broadcasting song
CN101656792A (en) * 2009-08-31 2010-02-24 青岛海信移动通信技术股份有限公司 Method and related apparatus for playing songs on mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4160446B2 (en) * 2003-05-27 2008-10-01 株式会社エクシング Music playback apparatus and video display method thereof
US7601906B2 (en) * 2006-08-31 2009-10-13 Corevalus Systems, Llc Methods and systems for automated analysis of music display data for a music display system
CN101149957B (en) * 2007-09-30 2010-06-23 炬力集成电路设计有限公司 Voice and word synchronous playing method and player
CN101615418A (en) * 2009-08-11 2009-12-30 深圳市五巨科技有限公司 A kind of mobile terminal music playing method of synchronous rolling display of lyrics and device
CN101808162B (en) * 2010-04-09 2012-08-01 青岛海信移动通信技术股份有限公司 Songs playing method of mobile terminal and mobile terminal capable of playing songs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5705762A (en) * 1994-12-08 1998-01-06 Samsung Electronics Co., Ltd. Data format and apparatus for song accompaniment which allows a user to select a section of a song for playback
CN101127210A (en) * 2007-09-20 2008-02-20 Ut斯达康通讯有限公司 Method and device for implementing lyric synchronization when broadcasting song
CN101656792A (en) * 2009-08-31 2010-02-24 青岛海信移动通信技术股份有限公司 Method and related apparatus for playing songs on mobile terminal

Also Published As

Publication number Publication date
CN101808162A (en) 2010-08-18
WO2011124110A1 (en) 2011-10-13

Similar Documents

Publication Publication Date Title
CN101808162B (en) Songs playing method of mobile terminal and mobile terminal capable of playing songs
CN101795322B (en) Preview method, device and cell phone
CN106028124B (en) Video playing method and device and electronic equipment
CN101866264B (en) Method displaying information and information processing apparatus
CN107562680A (en) Data processing method, device and terminal device
EP1762947A2 (en) Information processing apparatus, method and program
CN101996666A (en) Method for play synchronization and device using the same
CN102347043A (en) Method for playing multi-angle video and system
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
JP2007028312A (en) Information processing apparatus, method therefor, and program
CN105992005A (en) Video decoding method and device and terminal device
CN106385624A (en) Video playing method and device
CN103763587A (en) Method and device for playing multimedia data
CN103886777B (en) Moving-image playback device and method, animation broadcast control device and method
CN103310663A (en) Intelligent point reading method, intelligent point reading equipment and intelligent point reading system
CN103530320A (en) Multimedia file processing method and device and terminal
CN108241988A (en) Multi-page linkage media display methods, device and intelligent terminal
CN112989104A (en) Information display method and device, computer readable storage medium and electronic equipment
CN101656792A (en) Method and related apparatus for playing songs on mobile terminal
CN100433811C (en) Terminal for displaying distributed picture content
EP1860580A2 (en) Information providing method, information providing apparatus, and recording medium
CN113360047A (en) Information card display method, device, equipment and storage medium
CN111787391A (en) Information card display method, device, equipment and storage medium
CN103369360A (en) A multimedia system, a multimedia information display device, and an information transmitting method thereof
CN103959263A (en) Server device, terminal device, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120801