[go: up one dir, main page]

CN105957544B - Lyric display method and device - Google Patents

Lyric display method and device Download PDF

Info

Publication number
CN105957544B
CN105957544B CN201610255081.9A CN201610255081A CN105957544B CN 105957544 B CN105957544 B CN 105957544B CN 201610255081 A CN201610255081 A CN 201610255081A CN 105957544 B CN105957544 B CN 105957544B
Authority
CN
China
Prior art keywords
lyrics
show layers
multimedia file
tion
time difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610255081.9A
Other languages
Chinese (zh)
Other versions
CN105957544A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610255081.9A priority Critical patent/CN105957544B/en
Publication of CN105957544A publication Critical patent/CN105957544A/en
Application granted granted Critical
Publication of CN105957544B publication Critical patent/CN105957544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G11B27/11Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information not detectable on the record carrier

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of lyric display method and devices, belong to field of terminal technology.Method includes: the playback progress according to multimedia file, determines that first lyrics in the lyrics por-tion to be shown of multimedia file, first lyrics are a lyrics corresponding with playback progress in lyrics por-tion to be shown;By lyrics show layers, first lyrics are highlighted;While highlighting first lyrics, according to the time difference between second lyrics and first lyrics, with transparency corresponding with the time difference, second lyrics are shown by lyrics show layers.The present invention passes through during multi-media recording, clearly identify first lyrics currently recorded, and with the display transparency of the lyrics, to identify the time difference in first lyrics and the lyrics to be shown between each second lyrics of sentence, so that the discrimination degree of the lyrics improves, the lyrics and background picture can be clearly distinguished, and then can guarantee the synchronization recorded, improve the prompt effect of the lyrics.

Description

Lyric display method and device
Technical field
The present invention relates to field of terminal technology, in particular to a kind of lyric display method and device.
Background technique
With the fast development of terminal technology, the performance of terminal is become better and better, and installable application type is more and more, Other than the application of simple broadcast message class, multi-media recording application can also be installed in terminal, so that user carries out multimedia record System.When using these multi-media recording application record multimedia files, inevitably need to show the song of multimedia file Word, to facilitate user to check.Existing lyric display method shows and broadcasts usually according to the playback progress of multimedia file The corresponding lyrics of degree of putting into.It is shown however, most of multi-media recording application usually carries out the lyrics on background picture, but It is that when background picture pattern close or background picture with lyrics color is mixed and disorderly, will lead to the lyrics and be difficult to distinguish, Yong Huwu Method clearly recognizes the current lyrics or the lower sentence lyrics, causes to reduce with music progress accurate synchronization when recording The prompt effect of the lyrics.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of lyric display method and devices.It is described Technical solution is as follows:
On the one hand, a kind of lyric display method is provided, which comprises
According to the playback progress of multimedia file, the first song in the lyrics por-tion to be shown of the multimedia file is determined Word, first lyrics are a lyrics corresponding with the playback progress in the lyrics por-tion to be shown;
By lyrics show layers, first lyrics are highlighted;
While highlighting first lyrics, according to the time difference between second lyrics and first lyrics, With transparency corresponding with the time difference, second lyrics are shown by the lyrics show layers;
Wherein, second lyrics are the lyrics in the lyrics por-tion to be shown in addition to first lyrics, described Transparency is bigger and bigger with the time difference.
On the other hand, a kind of lyric display equipment is provided, described device includes:
Determining module determines the lyrics to be shown of the multimedia file for the playback progress according to multimedia file First lyrics in part, first lyrics are a song corresponding with the playback progress in the lyrics por-tion to be shown Word;
Display module, for being highlighted to first lyrics by lyrics show layers;
The display module is also used to while highlighting first lyrics, according to second lyrics and described the Time difference between one lyrics shows described by the lyrics show layers with transparency corresponding with the time difference Two lyrics;
Wherein, second lyrics are the lyrics in the lyrics por-tion to be shown in addition to first lyrics, described Transparency is bigger and bigger with the time difference.
Technical solution provided in an embodiment of the present invention has the benefit that
By during multi-media recording, clearly identifying first lyrics currently recorded, and with the aobvious of the lyrics Show transparency, to identify the time difference in first lyrics and the lyrics to be shown between each second lyrics of sentence, so that The discrimination degree of the lyrics improves, and can clearly distinguish the lyrics and background picture, and then can guarantee the synchronization recorded, and improves The prompt effect of the lyrics.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow chart of lyric display method provided in an embodiment of the present invention;
Fig. 2 is a kind of Layer Order schematic diagram provided in an embodiment of the present invention;
Fig. 3 is refresh flow schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of Layer Order schematic diagram provided in an embodiment of the present invention;
A kind of lyrics display renderings provided in an embodiment of the present invention when Fig. 5;
Fig. 6 is a kind of structural schematic diagram of lyric display equipment provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another lyric display equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
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.
Fig. 1 is a kind of flow chart of lyric display method provided in an embodiment of the present invention.Referring to Fig. 1, which comprises
101, according to the playback progress of multimedia file, first in the lyrics por-tion to be shown of the multimedia file is determined The lyrics, first lyrics are a lyrics corresponding with the playback progress in the lyrics por-tion to be shown.
Wherein, lyrics por-tion to be shown be and the lyrics of the multimedia file in the lyrics corresponding with playback progress portion Point.For example, the lyrics por-tion to be shown can be the lyrics por-tion within the scope of the playback progress certain time.Such as, for a head The playing duration of song be 3 points 20 seconds, and currently playing progress be 2 points 00 second, then the corresponding lyrics por-tion of the playback progress can To be with the lyrics in 2 points of 00 second certain time lengths for center axis, for example, 1 point of lyrics in 10 seconds 50 seconds to 2 points.
Certainly, the corresponding lyrics por-tion of the playback progress can be the lyrics in the certain time length for 2 points 00 second being starting. For example, 2 points of lyrics in 20 seconds 00 second to 2 points.
It may include the more lyrics and more songs in a possible embodiment, in the lyrics file of the multimedia file The corresponding time tag of word, playback progress and the corresponding lyrics por-tion of specific playback progress, can be by multimedia The parsing of the lyrics file of file obtains, and the present invention is not especially limit this.
102, by lyrics show layers, which is highlighted.
The lyrics show layers can refer to the figure layer for showing the lyrics, which can be located at display layer Top, by the lyrics show container drawn.As shown in Fig. 2, lyrics show layers is located at the upper layer of Background From Layer.Centre one Layer is that the lyrics show container, is mainly laid out to the corresponding view of every lyrics, and be responsible for according to multimedia progress pair The lyrics are rolled, are highlighted the current lyrics, adjustment changes the logic functions such as layout and the transparency of the lyrics.Topmost one layer For lyrics show layers, the corresponding view of every lyrics, all lyrics views are included in the lyrics and show in container.The lyrics The display and deletion of view, font be highlighted and transparency changes and all shows container by the lyrics to complete.
Highlighting may include a variety of implementations, such as:
Mode one passes through the lyrics show layers, shows that the predetermined luminance is big to first lyrics with predetermined luminance In the brightness of background picture.
First lyrics can be protruded, for people as the lyrics currently recorded by the way of changing brightness , usually can be more obviously identified if brightness is greater than the brightness of background picture for eye, therefore, adjustment brightness can reach To the effect of first lyrics of mark.
Mode two passes through the lyrics show layers, is shown with default font to first lyrics, and the default font is big Color in the font of second lyrics or the default font and the background picture is contrast color.
Font can refer to character boundary, character color etc., the fonts of first lyrics if it is greater than other lyrics word Body also can achieve the effect of mark then for human eye, or when the color in font and background picture have it is biggish anti- If difference, the effect of mark also can achieve.It should be noted that the default font can be according to the color in background picture Preset font is carried out, terminal can be known in the background picture by carrying out color identification to background picture and account for larger specific gravity Color, thus, the color of larger specific gravity is accounted for according to this, determines that the contrast color of the color is (available black e.g., for white Color is its contrast color, alternatively, for black, available yellow or it is red be contrast color), contrast color each other, refer to color it Between difference can visually be identified.By the above process, when default font refers to character color, for different background figure Piece, there may be different default fonts, therefore, the actual color according to interference element on background picture of being adapted to property, First lyrics are highlighted, the practicability of the lyric display method is improved.
103, while highlighting first lyrics, according to the time difference between second lyrics and first lyrics, With transparency corresponding with the time difference, which is shown by the lyrics show layers.Wherein, which is to be somebody's turn to do The lyrics in lyrics por-tion to be shown in addition to first lyrics, the transparency are bigger and bigger with the time difference.
Due to further including more second lyrics in the lyrics to be shown, and hence it is also possible to which reduce by second lyrics accordingly can Depending on property, further to protrude first lyrics.But due to after the completion of the part of first lyrics is recorded, then needing to record and the Time difference the smallest second lyrics por-tion between one lyrics, in order to enable whole display effect can have one kind is temporal to pass Into, in step 103, can according to the time difference be second lyrics be arranged transparency so that the time difference is bigger, the lyrics are shown saturating Lightness is bigger, visually generates a kind of color from depth to shallow effect, so that user is when checking the lyrics, it being capable of timely learning The next lyrics prepare to carry out recording.
Method provided in an embodiment of the present invention is currently being recorded by clearly identifying during multi-media recording First lyrics sung to identify each sentence second in first lyrics and the lyrics to be shown and with the display transparency of the lyrics Time difference between word can clearly distinguish the lyrics and background picture, Jin Erneng so that the discrimination degree of the lyrics improves Enough synchronizations for guaranteeing to record, improve the prompt effect of the lyrics.
In an alternative embodiment, the embodiment based on above-mentioned Fig. 1, above-mentioned steps 103 " highlight this While one lyrics, led to according to the time difference between second lyrics and first lyrics with transparency corresponding with the time difference Cross the lyrics show layers and show second lyrics " after, which further includes following step 104: in the multimedia file Playing process in, according to the currently displayed lyrics of the lyrics show layers and currently playing progress, judge whether to need Update the lyrics show layers;If necessary to update the lyrics show layers, then according to currently playing progress, redefine to aobvious Show the lyrics, and based on the lyrics to be shown redefined, execute the playback progress according to multimedia file, determines multimedia text The step of first lyrics in the lyrics por-tion to be shown of part and subsequent step.
The step 104 basically describes how the process that the display content of lyrics show layers is updated according to playback progress, During multi-media recording, in order to guarantee that display can adapt in human eye, without showing the entire content of the lyrics on interface, But according to interface size, the lyrics are divided into multiple segments, sectional to be shown on interface, therefore, it is necessary to according to reality Playback progress, it is continuous to update lyrics show layers.In the following, being based on practical implementation process, which is carried out into one Step is introduced: if Fig. 3 judges whether the broadcasting of multimedia file terminates in the resolving of lyrics file, if terminated, The display for terminating lyrics show layers reads the playback progress of present multimedia if be not finished, if currently playing progress It is not corresponding with first lyrics shown by lyrics show layers, it is determined that it needs to update the lyrics show layers, that is to say, Refresh the display of the lyrics, at this point, the display position of first lyrics corresponding with currently playing progress and second lyrics is calculated, And highlighted and the modes such as transparency is shown according to above-mentioned, determine the Show Styles of first lyrics and second lyrics, and base In identified display position and Show Styles, the lyrics show layers is updated, that is to say, drawn and work as in lyrics show layers The corresponding lyrics display effect of preceding playback progress.
In an alternative embodiment, the embodiment based on above-mentioned Fig. 1, in the playing process of the multimedia file, Between Background From Layer and lyrics show layers have mask, the transparency of the mask from the top edge of mask to lower edge gradually Enhancing.
It, can also be between Background From Layer and lyrics show layers in order to further decrease the interference that background shows the lyrics Mask is added, that is to say, Layer Order shown in Figure 4, lowest level is Background From Layer, and upper one layer is mask, this mask is Translucent mask, from the top edge of mask to lower edge, the transparency of mask is gradually increased.This mask is by background and lyrics view Separation enables the lyrics corresponding to present multimedia playback progress more clearly by user discrimination, and following mask transparency It gradually increases, i.e., mask is more and more transparent, will not block preview of the user to recording interface, being particularly shown effect may refer to Shown in Fig. 5.
In an alternative embodiment, the embodiment based on above-mentioned Fig. 1, by lyrics show layers, to first song It includes: to highlight first lyrics by the lyrics show layers and lean in the lyrics show layers that word, which highlight, The position of nearly top edge.Since mask is more and more transparent from top to bottom, in order to reach highlighted effect, can incite somebody to action First lyrics are shown in close to the position of top edge, the lesser position of mask transparency are located at, thus can be bright with background Aobvious is distinguished, and achievees the effect that easily identify.
By during multi-media recording, clearly identifying first lyrics currently recorded, and with the aobvious of the lyrics Show transparency, to identify the time difference in first lyrics and the lyrics to be shown between each second lyrics of sentence, so that The discrimination degree of the lyrics improves, and can clearly distinguish the lyrics and background picture, and then can guarantee the synchronization recorded, and improves The prompt effect of the lyrics.The means clearly identified can be to change the font size of first lyrics, the modes such as mask being added, in conjunction with upper Mode is stated, can be further improved prompt effect, so that user will not miss the lyrics in recording process, and can timely be seen To the part lyrics that will record, the preview lyrics are achieved the purpose that.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
Fig. 6 is a kind of structural schematic diagram of lyric display equipment provided in an embodiment of the present invention.Referring to Fig. 6, described device Include:
Determining module 601 determines the song to be shown of the multimedia file for the playback progress according to multimedia file First lyrics in word part, first lyrics are one corresponding with the playback progress in the lyrics por-tion to be shown The lyrics;
Display module 602, for being highlighted to first lyrics by lyrics show layers;
The display module 602, is also used to while highlighting first lyrics, according to second lyrics with it is described Time difference between first lyrics, with transparency corresponding with the time difference, shown by the lyrics show layers described in Second lyrics;
Wherein, second lyrics are the lyrics in the lyrics por-tion to be shown in addition to first lyrics,
Optionally, referring to Fig. 7, on the basis of the framework of embodiment shown in Fig. 6, described device further include:
Judgment module 603, it is current according to the lyrics show layers in the playing process of the multimedia file The shown lyrics and currently playing progress judge whether to need to update the lyrics show layers;
The determining module 601 is also used to update the lyrics show layers if necessary, then according to it is currently playing into Degree, redefines the lyrics to be shown, and based on the lyrics to be shown redefined, execute according to the broadcasting of multimedia file into The step of spending, determining first lyrics in the lyrics por-tion to be shown of the multimedia file and subsequent step.
Optionally, in the playing process of the multimedia file, have between Background From Layer and lyrics show layers The transparency of mask, the mask is gradually increased from the top edge of mask to lower edge.
Optionally, the display module 602 is used to highlight first lyrics by the lyrics show layers In the position on the lyrics show layers close to top edge.
Optionally, the display module 602 is used for: by the lyrics show layers, with predetermined luminance to described first The lyrics are shown that the predetermined luminance is greater than the brightness of background picture;Or, by the lyrics show layers, with predetermined word Body shows that the default font is greater than the font of second lyrics to first lyrics.
It should be understood that lyric display equipment provided by the above embodiment the lyrics show when, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete all or part of function described above Energy.In addition, lyric display equipment provided by the above embodiment and lyric display method embodiment belong to same design, it is specific real Existing process is detailed in embodiment of the method, and which is not described herein again.
A kind of terminal is present embodiments provided, it is aobvious which can be used for executing the lyrics provided in above-mentioned each embodiment Show method.Referring to Fig. 8, which includes:
Terminal 800 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter 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, the processing for including one or more than one processing core 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. 8 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 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 circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations 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, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 800 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 stick, optics or trackball signal input.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 nearby 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 touch operation bring signal 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.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 800 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal 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 touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although in fig. 8, 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 800 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 800 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, can detect that size and the direction of gravity 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 800 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 800.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;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, such as another end is sent to through RF circuit 110 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 Yu terminal 800.
WiFi belongs to short range wireless transmission technology, and terminal 800 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 8 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 800, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 800, 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 800, 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 communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 800 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 source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 800 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 is touch-screen display, and terminal further includes having memory and one or more than one Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them Device executes.The one or more programs include instructions for performing the following operations:
According to the playback progress of multimedia file, the first song in the lyrics por-tion to be shown of the multimedia file is determined Word, first lyrics are a lyrics corresponding with the playback progress in the lyrics por-tion to be shown;It is aobvious by the lyrics Diagram layer highlights first lyrics;While highlighting first lyrics, according to second lyrics with Time difference between first lyrics is shown with transparency corresponding with the time difference by the lyrics show layers Second lyrics;Wherein, second lyrics are the lyrics in the lyrics por-tion to be shown in addition to first lyrics, The transparency is bigger and bigger with the time difference.
Optionally, it is also stored with instructions for performing the following operations in memory: in broadcasting for the multimedia file During putting, according to the currently displayed lyrics of the lyrics show layers and currently playing progress, judge whether to need more The new lyrics show layers;If necessary to update the lyrics show layers, then according to currently playing progress, redefine to It shows the lyrics, and based on the lyrics to be shown redefined, executes the playback progress according to multimedia file, determine more matchmakers The step of first lyrics in the lyrics por-tion to be shown of body file and subsequent step.
Optionally, it is also stored with instructions for performing the following operations in memory: in broadcasting for the multimedia file During putting, there is mask between Background From Layer and the lyrics show layers, the transparency of the mask is from the upper of mask Edge is gradually increased to lower edge.
Optionally, it is also stored with instructions for performing the following operations in memory: by the lyrics show layers, First lyrics are highlighted into the position in the lyrics show layers close to top edge.
Optionally, it is also stored with instructions for performing the following operations in memory: by the lyrics show layers, First lyrics are shown with predetermined luminance, the predetermined luminance is greater than the brightness of background picture;Or,
By the lyrics show layers, first lyrics are shown with the default font is big with default font In the font of second lyrics.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store 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 in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of lyric display method, which is characterized in that the described method includes:
According to the playback progress of multimedia file, first lyrics in the lyrics por-tion to be shown of the multimedia file are determined, First lyrics are a lyrics corresponding with the playback progress in the lyrics por-tion to be shown, in the multimedia text In the playing process of part, there is mask between Background From Layer and lyrics show layers, the transparency of the mask is from mask Top edge is gradually increased to lower edge;
By the lyrics show layers, first lyrics are highlighted in the lyrics show layers close to top edge Position;
While highlighting first lyrics, according to the time difference between second lyrics and first lyrics, with Time difference corresponding transparency, shows second lyrics by the lyrics show layers;
Wherein, second lyrics are the lyrics in the lyrics por-tion to be shown in addition to first lyrics, described transparent Degree is bigger and bigger with the time difference.
2. the method according to claim 1, wherein while highlighting first lyrics, according to Time difference between two lyrics and first lyrics is shown with transparency corresponding with the time difference by the lyrics After figure layer shows second lyrics, the method also includes:
In the playing process of the multimedia file, according to the currently displayed lyrics of the lyrics show layers and currently Playback progress judges whether to need to update the lyrics show layers;
The lyrics to be shown are redefined then according to currently playing progress if necessary to update the lyrics show layers, and are based on The lyrics to be shown redefined execute the playback progress according to multimedia file, determine the to be shown of the multimedia file The step of first lyrics in lyrics por-tion and subsequent step.
3. method according to claim 1 or 2, which is characterized in that it is described by the lyrics show layers, by described One lyrics highlight the position in the lyrics show layers close to top edge, comprising:
By the lyrics show layers, first lyrics are shown in close to upper by the lyrics show layers with predetermined luminance The position at edge, the predetermined luminance are greater than the brightness of background picture;Or,
By the lyrics show layers, first lyrics are shown in close to upper by the lyrics show layers with default font The position at edge, the default font are greater than the font of second lyrics.
4. a kind of lyric display equipment, which is characterized in that described device includes:
Determining module determines the lyrics por-tion to be shown of the multimedia file for the playback progress according to multimedia file In first lyrics, first lyrics be the lyrics por-tion to be shown in a lyrics corresponding with the playback progress, In the playing process of the multimedia file, there is mask between Background From Layer and lyrics show layers, the mask Transparency is gradually increased from the top edge of mask to lower edge;
Display module, for by the lyrics show layers, first lyrics to be highlighted in the lyrics display figure Position of the layer close to top edge;
The display module is also used to while highlighting first lyrics, according to second lyrics and first song Time difference between word shows second song by the lyrics show layers with transparency corresponding with the time difference Word;
Wherein, second lyrics are the lyrics in the lyrics por-tion to be shown in addition to first lyrics, described transparent Degree is bigger and bigger with the time difference.
5. device according to claim 4, which is characterized in that described device further include:
Judgment module, it is currently displayed according to the lyrics show layers in the playing process of the multimedia file The lyrics and currently playing progress, judge whether to need to update the lyrics show layers;
The determining module is also used to update the lyrics show layers if necessary, then according to currently playing progress, again really The fixed lyrics to be shown, and based on the lyrics to be shown redefined, execute the playback progress according to multimedia file, determine described in The step of first lyrics in the lyrics por-tion to be shown of multimedia file and subsequent step.
6. device according to claim 4 or 5, which is characterized in that the display module is used for:
By the lyrics show layers, first lyrics are shown with predetermined luminance, the predetermined luminance is greater than back The brightness of scape picture;Or,
By the lyrics show layers, first lyrics are shown with the default font is greater than institute with default font State the font of second lyrics.
CN201610255081.9A 2016-04-21 2016-04-21 Lyric display method and device Active CN105957544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610255081.9A CN105957544B (en) 2016-04-21 2016-04-21 Lyric display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610255081.9A CN105957544B (en) 2016-04-21 2016-04-21 Lyric display method and device

Publications (2)

Publication Number Publication Date
CN105957544A CN105957544A (en) 2016-09-21
CN105957544B true CN105957544B (en) 2019-06-11

Family

ID=56914904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610255081.9A Active CN105957544B (en) 2016-04-21 2016-04-21 Lyric display method and device

Country Status (1)

Country Link
CN (1) CN105957544B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106653071B (en) * 2016-12-30 2019-11-22 腾讯音乐娱乐(深圳)有限公司 A kind of lyric display method and device
CN107454255B (en) * 2017-07-28 2020-07-17 维沃移动通信有限公司 A kind of lyrics display method, mobile terminal and computer readable storage medium
CN109684606B (en) * 2018-12-21 2023-09-01 人教数字出版有限公司 Method and device for presenting artistic effect on PDF page
CN111294626A (en) * 2020-01-21 2020-06-16 腾讯音乐娱乐科技(深圳)有限公司 Lyric display method and device
CN112380378B (en) * 2020-11-17 2022-09-02 北京字跳网络技术有限公司 Lyric special effect display method and device, electronic equipment and computer readable medium
CN112507161A (en) * 2020-12-14 2021-03-16 华为技术有限公司 Music playing method and device
CN115689860A (en) * 2021-07-23 2023-02-03 北京字跳网络技术有限公司 Video overlay display method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685657A (en) * 2008-09-27 2010-03-31 盛乐信息技术(上海)有限公司 Music visual effect method
CN101808162A (en) * 2010-04-09 2010-08-18 青岛海信移动通信技术股份有限公司 Songs playing method of mobile terminal and mobile terminal capable of playing songs
CN102737685A (en) * 2011-04-15 2012-10-17 盛乐信息技术(上海)有限公司 System for playing rolling lyrics and implement method thereof
CN104967910A (en) * 2014-10-29 2015-10-07 腾讯科技(深圳)有限公司 Multimedia play progress control method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685657A (en) * 2008-09-27 2010-03-31 盛乐信息技术(上海)有限公司 Music visual effect method
CN101808162A (en) * 2010-04-09 2010-08-18 青岛海信移动通信技术股份有限公司 Songs playing method of mobile terminal and mobile terminal capable of playing songs
CN102737685A (en) * 2011-04-15 2012-10-17 盛乐信息技术(上海)有限公司 System for playing rolling lyrics and implement method thereof
CN104967910A (en) * 2014-10-29 2015-10-07 腾讯科技(深圳)有限公司 Multimedia play progress control method and apparatus

Also Published As

Publication number Publication date
CN105957544A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105957544B (en) Lyric display method and device
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104967910B (en) Multimedia progress monitoring method and device
CN105788612B (en) A kind of method and apparatus detecting sound quality
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN105363201B (en) The display methods and device of prompt message
CN105549740B (en) A kind of method and apparatus of playing audio-fequency data
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
CN104869465B (en) video playing control method and device
JP6068660B2 (en) Character selection method, character selection device, terminal device, program, and recording medium
CN105526944B (en) Information cuing method and device
CN104021129B (en) Show the method and terminal of group picture
CN104516624B (en) A kind of method and device inputting account information
CN104965722B (en) A kind of method and device of display information
CN105955597B (en) Information display method and device
CN104991699B (en) A kind of method and apparatus of video display control
CN105807908B (en) A kind of method and apparatus of switching working mode
CN104598542B (en) The display methods and device of multimedia messages
CN106200897B (en) A kind of method and apparatus of display control menu
CN106558299A (en) The mode switching method and device of audio rendition
CN105739839B (en) The selection method and device of multimedia menu item
CN104346028B (en) Address field display methods, device and mobile terminal
CN105550316B (en) The method for pushing and device of audio list
CN106210838B (en) Caption presentation method and device
CN104731806B (en) A kind of method and terminal for quickly searching user information in social networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant