Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
An embodiment of the present invention provides a kind of methods of the display lyrics, and the executive agent of this method is terminal.Wherein, terminal
It can be the terminal with playing audio-fequency data function, can be computer, mobile phone etc..Can be provided in terminal processor,
Memory, transceiver, processor are displayed for the relevant treatment of the lyrics, and memory can be used for storing following processing procedures
The data of middle needs and generation, such as lyrics sentence or word, transceiver can be used for sending and receiving data.Terminal can also be set
It is equipped with input part and output block, input part is for receiving instruction input by user, and output block is for playing audio number
According to display lyrics sentence etc..
Below in conjunction with specific implementation mode, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, the first audio data is played.
In force, the broadcast message class application program for playing audio-fequency data can be installed, user wants to groan in terminal
When singing certain song, the broadcast message class application program can be opened, the title of song is then inputted in its song search column, to
Terminal can get the audio data (i.e. the first audio data) of the song from local bent library or network Qu Ku, in user
After clicking broadcasting button, terminal can then start to play the first audio data.
Step 102, during playing the first audio data, lyrics sentence corresponding to playing progress rate time point, into
Row display.
In force, terminal is during playing the first audio data, can point if user wants to read the lyrics
Display lyrics button is hit, at this moment, terminal can then obtain the first audio of lyrics file and current time of the first audio data
The playing progress rate time point of data, in turn, terminal can be in lyrics files according to current playing progress rate time point determination pair
The lyrics sentence answered, the designated position for being then displayed on the screen the lyrics sentence.It is understood that the first audio data
In each lyrics sentence be corresponding with sart point in time and end time point, if playing progress rate time point is in some lyrics language
It is put at the beginning of sentence in the period between end time point, it may be considered that playing progress rate time point and the lyrics sentence phase
It is corresponding.
Optionally, playing progress rate period and lyrics sentence can be previously stored in the lyrics file of the first audio data
Correspondence, correspondingly, the processing of step 102 can be as follows:During playing the first audio data, according to depositing in advance
The correspondence of the playing progress rate period and lyrics sentence of storage show the playing progress rate belonging to current playing progress rate time point
Period corresponding lyrics sentence.
In force, terminal can obtain the lyrics text of the first audio data during playing the first audio data
Part, and then can be determined in correspondence of the playing progress rate period with lyrics sentence in being stored in advance in lyrics file
Then the playing progress rate period belonging to current playing progress rate time point shows the playing progress rate period corresponding lyrics language
Sentence.
Optionally, the display color of lyrics sentence can be voluntarily arranged in user, correspondingly, the processing of step 102 can be as
Under:During playing the first audio data, lyrics sentence corresponding to playing progress rate time point, using the of user setting
One color is shown.
Step 103, during showing lyrics sentence, according to the propulsion at playing progress rate time point, according to playing progress rate
The stroke order of time point corresponding word carries out image completion to the display image of playing progress rate time point corresponding word.
In force, terminal is during showing lyrics sentence, if user opens above-mentioned broadcast message class application program
The function of word for word showing the lyrics, terminal can then monitor the playing progress rate time point of the first audio data in real time, and determine song
Each word corresponding period, identical as lyrics sentence in word sentence, and each word is corresponding with sart point in time at the end of
Between point, if playing progress rate time point be in the period put at the beginning of some word between end time point, can
To think that playing progress rate time point is corresponding with the word.In turn, with the propulsion at playing progress rate time point, terminal can be according to
Playing progress rate time point first determines corresponding word, the display image of the word is then obtained, according still further to the stroke order of word
Image completion is carried out to above-mentioned display image, as shown in Figure 2.Wherein it is possible to think position and the lyrics of the display image of word
In sentence where the word position overlapping, when not carrying out image completion, the display image is invisible for users, into
After row image completion, the part accordingly having been filled with is visible to user.In addition, stroke order, which may be considered technical staff, passes through volume
Write the display order for each image-region that the modes such as code are stored in advance in the display image of word.
Optionally, the stroke order of word can pass through the corresponding pass at playing progress rate time point and pixel in display image
It is to indicate, correspondingly, the processing of step 103 can be as follows:During playing the first audio data, according to prestoring
The first audio data playing progress rate time point and word display image in pixel correspondence, when to playing progress rate
Between put corresponding pixel and carry out image completion, wherein in correspondence, pixel is with playing progress rate in the display image of word
The time point sequence of variation is corresponding with the presentation direction of the stroke order of word, stroke.
In force, playing progress rate time point and word can be previously stored in the lyrics file of the first audio data
Showing the correspondence of the pixel in image, i.e., different pixels, which records, corresponding display time point, and when showing
Between point it is corresponding with playing progress rate time point.Terminal can monitor the first sound in real time during playing the first audio data
Then the playing progress rate of frequency evidence determines current playing progress rate time point corresponding pixel, and then terminal can be to the picture
Vegetarian refreshments carries out image completion.Herein, in correspondence, pixel changes with playing progress rate time point in the display image of word
Sequence it is corresponding with the presentation direction of the stroke order of word and stroke, in this way, with playing progress rate time stepping method word
Display image in pixel fill order, that is, word stroke order and stroke presentation direction.
Specifically, the display image for showing word " one " of Fig. 3 illustratives, is made of, wherein pixel 64 pixels
D2-D6 and pixel E2-E6 are word " one " corresponding pixel for needing to fill, playing progress rate time point in Fig. 3
The correspondence of pixel can be as shown in table 1, so as to be sequentially filled in t1 to t5 pixel " D2, E2 " to " D6,
E6 ", in this way, then can show word " one " according to the presentation direction of stroke order and stroke.
Table 1
Playing progress rate time point |
Pixel |
t1 |
D2、E2 |
t2=t1+Δ1 |
D3、E3 |
t3=t1+Δ1+Δ2 |
D4、E4 |
t4=t1+Δ1+Δ2+Δ3 |
D5、E5 |
t5=t1+Δ1+Δ2+Δ3+Δ4 |
D6、E6 |
Optionally, each pixel can be provided with corresponding fill order code in the display image of word, and terminal can root
The fill order of pixel in the display image of word is determined according to fill order code and word corresponding playing progress rate period,
Correspondingly, the processing of step 103 can be as follows:During showing lyrics sentence, when according to pre-stored playing progress rate
Between section and word correspondence, determine the corresponding filling start time point of each word and filling duration in lyrics sentence;When
When playing progress rate time point was advanced in the corresponding first playing progress rate period of the first word in each word, according to advance
The corresponding first filling initial time of fill order code, the first word of each pixel in the display image of first word of storage
Point and the first filling duration, determine the playing progress rate time point corresponding pixel for needing to fill, carry out image completion, wherein
The fill order code of each pixel is opposite with the presentation direction of the stroke order of the first word, stroke in the display image of word
It answers.
In force, playing progress rate period and word can be previously stored in the lyrics file of the first audio data
Correspondence, i.e., when the first audio data is played to some playing progress rate period, the word in the lyrics sentence of display is
Word corresponding with the playing progress rate period.Terminal, can be according to above-mentioned correspondence during showing lyrics sentence
The each word corresponding playing progress rate period in lyrics sentence is determined, so that it is determined that the corresponding filling initial time of each word
Point and filling duration.During playing the first audio data, some word (i.e. first is advanced to when playing progress rate time point
Word) in corresponding first playing progress rate period when, terminal can obtain the display image of the first word, then according to display
The corresponding first filling start time point of the fill order code of each pixel, the first word and the first filling duration in image, really
The playing progress rate time point corresponding pixel for needing to fill is determined, to be filled to the pixel.Herein, the display of word
The fill order code of each pixel is corresponding with the presentation direction of the stroke order of the first word, stroke in image.
Specifically, Fig. 4 is the display image of word " one ", wherein including 64 pixels, pixel D2-D6 and pixel
E2-E6 is the corresponding pixel for needing to fill of word " one ", this 12 pixels are corresponding with respective fill order code respectively,
The magnitude relationship of fill order code illustrates the presentation direction of the stroke order and stroke of word " one ".If the of word " one "
One filling start time point is t1, first a length of Δ t when filling, for playing progress rate time point t, the fill order code of pixel
M meetsImage completion then is carried out to these pixels.
Optionally, user can select the font format of word in lyrics sentence, and processing accordingly can be as in step 103
Under:The first lyrics font for determining user setting, according to the display of corresponding first font format of pre-stored first word
The corresponding first filling start time point of the sequence code of each pixel, the first word and the first filling duration, determination are broadcast in image
Degree of putting into time point, corresponding pixel carried out image completion.
In force, during playing the first audio data, user can click lyrics font setting button, then
The first lyrics font is selected in the font drop-down menu that terminal is shown, at this moment, terminal can then determine the first of user setting
Lyrics font obtains the display image for being stored in advance in corresponding first font format of the first local word later, and then eventually
It end can be according to the sequence code of each pixel, the in the display image of corresponding first font format of pre-stored first word
The corresponding first filling start time point of one word and the first filling duration, determine that playing progress rate time point corresponding pixel clicks through
Row image completion.It is noted that the processing of user setting font can be before playing the first audio data, it can also be
During broadcasting.
Optionally, when the stroke number of word is excessive, word can not be shown according to stroke order, corresponding processing can be with
It is as follows:When being advanced in the corresponding first playing progress rate period of the first word in each word at playing progress rate time point,
If the ratio of the stroke number of the first word and the first filling duration is more than predetermined threshold value, according to pre-stored first word
Display image in the sequence code of each pixel, the corresponding first filling start time point of the first word and the first filling duration,
Determine that playing progress rate time point corresponding pixel carries out image completion.
In force, the stroke number of each word and each word can be recorded in the lyrics file of the first audio data
The corresponding playing progress rate period.During playing the first audio data, terminal can be broadcast according to each word is corresponding
Degree of putting into the period determines the filling start time point and filling duration of each word.When playing progress rate time point be advanced to it is each
When in the first word corresponding first playing progress rate period in word, terminal can obtain the stroke number and of the first word
One filling duration, judges whether stroke number and the ratio of the first filling duration are more than predetermined threshold value, if it is, can be according to pre-
The corresponding first filling start time point of the sequence code of each pixel, the first word in the display image of the first word first stored
With the first filling duration, determine that playing progress rate time point corresponding pixel carries out image completion;If it is not, then can directly show
Show the filled display image of the first word.
Optionally, the Fill Color of word can be voluntarily arranged in user, correspondingly, the processing of step 103 can be as follows:
During showing lyrics sentence, according to the propulsion at playing progress rate time point, according to playing progress rate time point corresponding word
Stroke order carries out image to the display image of playing progress rate time point corresponding word using the second color of user setting
Filling.
In the embodiment of the present invention, the first audio data is played, during playing the first audio data, to playing progress rate
Time point corresponding lyrics sentence, is shown, during showing lyrics sentence, according to pushing away for playing progress rate time point
Into according to the stroke order of playing progress rate time point corresponding word, to the display figure of playing progress rate time point corresponding word
Picture carries out image completion.In this way, during playing the first audio data, terminal can be word for word and according to the stroke of word
Sequence shows that the lyrics, terminal then can be filled broadcasting come the first audio data of real-time display by the display image to word
Degree of putting into, while the stroke sequential write of user's learning Chinese characters can be helped.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of device of the display lyrics, as shown in figure 5,
The device includes:
Playing module 501, for playing the first audio data;
Display module 502 is used for during playing first audio data, corresponding to playing progress rate time point
Lyrics sentence, is shown;
Module 503 is filled, for during showing the lyrics sentence, according to the propulsion at playing progress rate time point,
According to the stroke order of the playing progress rate time point corresponding word, the playing progress rate time point corresponding word is shown
Diagram picture carries out image completion.
Optionally, the display module 502, is used for:
During playing first audio data, according to pre-stored playing progress rate period and lyrics sentence
Correspondence, show the playing progress rate period corresponding lyrics sentence belonging to current playing progress rate time point.
Optionally, the filling module 503, is used for:
During playing first audio data, according to the broadcasting of pre-stored first audio data into
The correspondence for spending pixel in the display image of time point and word, figure is carried out to playing progress rate time point corresponding pixel
As filling, wherein in the correspondence, pixel changed with playing progress rate time point in the display image of word sequence with
The stroke order of word, the presentation direction of stroke are corresponding.
Optionally, the filling module 503, is used for:
During showing the lyrics sentence, according to pass corresponding with word of pre-stored playing progress rate period
System determines the corresponding filling start time point of each word and filling duration in the lyrics sentence;
When the first word corresponding first playing progress rate time that playing progress rate time point is advanced in each word
When in section, according to fill order code, the first word pair of each pixel in the display image of pre-stored first word
The the first filling start time point and the first filling duration answered, determine the playing progress rate time point corresponding pixel for needing to fill
Point carries out image completion, wherein the stroke of the fill order code and first word of each pixel in the display image of word
Sequentially, the presentation direction of stroke is corresponding.
Optionally, the filling module 503, is used for:
The first lyrics font for determining user setting, according to the corresponding first font lattice of pre-stored first word
When the sequence code of each pixel, the first word corresponding first fill start time point and the first filling in the display image of formula
It is long, determine that playing progress rate time point corresponding pixel carries out image completion.
Optionally, the filling module 503, is used for:
When the first word corresponding first playing progress rate time that playing progress rate time point is advanced in each word
When in section, if the ratio of the stroke number of first word and the first filling duration is more than predetermined threshold value, basis is deposited in advance
The corresponding first filling start time point of the sequence code of each pixel, the first word in the display image of first word of storage
With the first filling duration, determine that playing progress rate time point corresponding pixel carries out image completion.
Optionally, the display module 502, is used for:
During playing first audio data, lyrics sentence corresponding to playing progress rate time point, using use
First color of family setting is shown;
The filling module 503, is used for:
During showing the lyrics sentence, according to the propulsion at playing progress rate time point, according to the playing progress rate
The stroke order of time point corresponding word, to the display image of the playing progress rate time point corresponding word, using user
The second color being arranged carries out image completion.
In the embodiment of the present invention, the first audio data is played, during playing the first audio data, to playing progress rate
Time point corresponding lyrics sentence, is shown, during showing lyrics sentence, according to pushing away for playing progress rate time point
Into according to the stroke order of playing progress rate time point corresponding word, to the display figure of playing progress rate time point corresponding word
Picture carries out image completion.In this way, during playing the first audio data, terminal can be word for word and according to the stroke of word
Sequence shows that lyrics terminal then can be filled broadcasting come the first audio data of real-time display by the display image to word
Degree of putting into, while the stroke sequential write of user's learning Chinese characters can be helped.
It should be noted that:The device for the display lyrics that above-described embodiment provides is when showing the lyrics, only with above-mentioned each work(
Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of device is divided into different function modules, described above all or part of to complete
Function.In addition, the device for the display lyrics that above-described embodiment provides and the embodiment of the method for the display lyrics belong to same design,
Specific implementation process refers to embodiment of the method, and which is not described herein again.
Referring to FIG. 6, it illustrates the structural schematic diagram of the terminal involved by the embodiment of the present invention, which can be used for
The method of the display lyrics provided in above-described embodiment is provided.Specifically:
Terminal 600 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters
The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (wireless fidelity, Wireless Fidelity) module 170, include there are one or more than one processing core processing
The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 6 is not constituted pair
The restriction of terminal may include either combining certain components or different component cloth than illustrating more or fewer components
It sets.Wherein:
RF circuits 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 110 can also be communicated with network and other equipment by radio communication.Wireless communication, which can use, appoints
(Global System of Mobile communication, the whole world are moved for one communication standard or agreement, including but not limited to GSM
Dynamic communication system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short
Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, to perform various functions application and data processing.Memory 120 can include mainly storage journey
Sequence area and storage data field, wherein storing program area can storage program area, the application program (ratio needed at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created number according to terminal 600
According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap
Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory
120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or neighbouring touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for showing information input by user or the information and terminal 500 that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.
Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be used
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touches
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event
Corresponding visual output is provided on display panel 141.Although in figure 6, touch sensitive surface 131 and display panel 141 are conducts
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 600 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include 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 141, and proximity sensor can close display when terminal 600 is moved in one's ear
Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axis) acceleration size, size and the direction of gravity are can detect that when static, can be used to identify mobile phone posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 600 can also configure, herein
It repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 600.Audio
The transformed electric signal of the audio data received can be transferred to loud speaker 161 by circuit 160, and sound is converted to by loud speaker 161
Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Audio data is converted to, then by after the processing of audio data output processor 180, through RF circuits 110 to be sent to such as another end
End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone and terminal 600.
WiFi belongs to short range wireless transmission technology, and terminal 600 can help user's transceiver electronics by WiFi module 170
Mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 6 is shown
WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 600, completely it can exist as needed
Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 600, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120
Interior data execute the various functions and processing data of terminal 600, to carry out integral monitoring to mobile phone.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 600 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event
Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 600 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality
It applies in example, the display unit of terminal 600 is touch-screen display, and terminal 600 further includes having memory and one or one
Above program, one of them either more than one program be stored in memory and be configured to by one or one with
Upper processor execution states one or more than one program includes the instruction for being operated below:
Play the first audio data;
During playing first audio data, lyrics sentence corresponding to playing progress rate time point is shown
Show;
During showing the lyrics sentence, according to the propulsion at playing progress rate time point, according to the playing progress rate
The stroke order of time point corresponding word carries out image to the display image of the playing progress rate time point corresponding word
Filling.
Optionally, described during playing first audio data, the lyrics corresponding to playing progress rate time point
Sentence shown, including:
During playing first audio data, according to pre-stored playing progress rate period and lyrics sentence
Correspondence, show the playing progress rate period corresponding lyrics sentence belonging to current playing progress rate time point.
Optionally, described during showing the lyrics sentence, according to the propulsion at playing progress rate time point, according to institute
The stroke order for stating playing progress rate time point corresponding word, to the display figure of the playing progress rate time point corresponding word
Picture carries out image completion, including:
During playing first audio data, according to the broadcasting of pre-stored first audio data into
The correspondence for spending pixel in the display image of time point and word, figure is carried out to playing progress rate time point corresponding pixel
As filling, wherein in the correspondence, pixel changed with playing progress rate time point in the display image of word sequence with
The stroke order of word, the presentation direction of stroke are corresponding.
Optionally, described during showing the lyrics sentence, according to the propulsion at playing progress rate time point, according to institute
The stroke order for stating playing progress rate time point corresponding word, to the display figure of the playing progress rate time point corresponding word
Picture carries out image completion, including:
During showing the lyrics sentence, according to pass corresponding with word of pre-stored playing progress rate period
System determines the corresponding filling start time point of each word and filling duration in the lyrics sentence;
When the first word corresponding first playing progress rate time that playing progress rate time point is advanced in each word
When in section, according to fill order code, the first word pair of each pixel in the display image of pre-stored first word
The the first filling start time point and the first filling duration answered, determine the playing progress rate time point corresponding pixel for needing to fill
Point carries out image completion, wherein the stroke of the fill order code and first word of each pixel in the display image of word
Sequentially, the presentation direction of stroke is corresponding.
Optionally, the sequence code of each pixel, the in the display image according to pre-stored first word
The corresponding first filling start time point of one word and the first filling duration, determine that playing progress rate time point corresponding pixel clicks through
Row image completion, including:
The first lyrics font for determining user setting, according to the corresponding first font lattice of pre-stored first word
When the sequence code of each pixel, the first word corresponding first fill start time point and the first filling in the display image of formula
It is long, determine that playing progress rate time point corresponding pixel carries out image completion.
Optionally, first word corresponding first being advanced in each word when playing progress rate time point is broadcast
When in degree of putting into the period, according to the sequence code of each pixel, first in the display image of pre-stored first word
The corresponding first filling start time point of word and the first filling duration, determine that playing progress rate time point corresponding pixel carries out
Image completion, including:
When the first word corresponding first playing progress rate time that playing progress rate time point is advanced in each word
When in section, if the ratio of the stroke number of first word and the first filling duration is more than predetermined threshold value, basis is deposited in advance
The corresponding first filling start time point of the sequence code of each pixel, the first word in the display image of first word of storage
With the first filling duration, determine that playing progress rate time point corresponding pixel carries out image completion.
Optionally, described during playing first audio data, the lyrics corresponding to playing progress rate time point
Sentence shown, including:
During playing first audio data, lyrics sentence corresponding to playing progress rate time point, using use
First color of family setting is shown;
During showing the lyrics sentence, according to the propulsion at playing progress rate time point, according to the playing progress rate
The stroke order of time point corresponding word carries out image to the display image of the playing progress rate time point corresponding word
Filling, including:
During showing the lyrics sentence, according to the propulsion at playing progress rate time point, according to the playing progress rate
The stroke order of time point corresponding word, to the display image of the playing progress rate time point corresponding word, using user
The second color being arranged carries out image completion.
In the embodiment of the present invention, the first audio data is played, during playing the first audio data, to playing progress rate
Time point corresponding lyrics sentence, is shown, during showing lyrics sentence, according to pushing away for playing progress rate time point
Into according to the stroke order of playing progress rate time point corresponding word, to the display figure of playing progress rate time point corresponding word
Picture carries out image completion.In this way, during playing the first audio data, terminal can be word for word and according to the stroke of word
Sequence shows that the lyrics, terminal then can be filled broadcasting come the first audio data of real-time display by the display image to word
Degree of putting into, while the stroke sequential write of user's learning Chinese characters can be helped.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.