CN102868822A - Lyric display method implemented by mobile terminal - Google Patents

Lyric display method implemented by mobile terminal Download PDF

Info

Publication number
CN102868822A
CN102868822A CN2012103563822A CN201210356382A CN102868822A CN 102868822 A CN102868822 A CN 102868822A CN 2012103563822 A CN2012103563822 A CN 2012103563822A CN 201210356382 A CN201210356382 A CN 201210356382A CN 102868822 A CN102868822 A CN 102868822A
Authority
CN
China
Prior art keywords
lyric
status bar
row
digital audio
audio file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103563822A
Other languages
Chinese (zh)
Other versions
CN102868822B (en
Inventor
何加淼
王映理
魏晓波
丰小康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210356382.2A priority Critical patent/CN102868822B/en
Publication of CN102868822A publication Critical patent/CN102868822A/en
Application granted granted Critical
Publication of CN102868822B publication Critical patent/CN102868822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a lyric display method implemented by a mobile terminal, comprising the following steps of: reading a digital audio file and then starting to play and obtaining current audio playing time at regular time intervals; reading lyric data matched with the digital audio file, wherein the lyric data records a plurality of rows of lyric characters and a display time label in each row of the lyric characters; when the display time of a certain row of the lyric characters corresponds to the current audio playing time, a status bar announcement is sent by a software background service, wherein the status bar announcement prompts that a text is the row of the lyric characters; updating the status bar announcement at regular time intervals according to the display time label of each row of the lyric characters; and after the digital audio file is finished, deleting the status bar announcement. According to the lyric display method disclosed by the invention, corresponding precisely-synchronous lyric data is provided for each digital audio file; when a user browses a webpage and the like, lyrics are displayed by the idle status bar, so that the user can conveniently browse the lyrics, and a display space is sufficiently utilized.

Description

The lyric display method that a kind of portable terminal is implemented
Technical field
The present invention relates to the lyric display method that a kind of portable terminal is implemented.
Background technology
Mobile phone on the market generally all possesses music playback function by music software is installed, and music software generally has the lyrics data search function, ID label information according to digital audio file is synchronous with the corresponding lyrics data that this digital audio file and copy or download obtain with the reproduction time segment information, thereby but when the mobile phone to play music file synchronous lyrics browsing.But the lyrics on the mobile phone show it all is by showing by modes such as rollings at music-playing interface at present, thereby when our limit sees that song is listened on the webpage limit, lyrics browsing on display screen synchronously just, if the user wants lyrics browsing, just need to be transformed into the music software interface, this just causes user's inconvenience.
Summary of the invention
In order to overcome the weak point of the prior art of above-mentioned indication, the invention provides the lyric display method that a kind of portable terminal is implemented, think that each digital audio file provides the lyrics data of corresponding precise synchronization, make the user in the time of browsing page etc., can synchronously showing the screen display lyrics, utilize free space and make things convenient for user's lyrics browsing.
The present invention is achieved by the following technical solutions:
The lyric display method that a kind of portable terminal is implemented, described portable terminal is mounted with the audio frequency playout software audio signal that can play-over is decoded, decompressed to obtain to digital audio file, and set up the linking relationship that this digital audio file reaches the lyrics data that is complementary with it, described method comprises:
Step a, read digital audio file and begin to play the current audio frequency reproduction time of timing acquisition;
Step b, read corresponding lyrics data, the Presentation Time Stamp of record several rows lyric characters and every row lyric characters in the described lyrics data;
Step c, consistent with current audio frequency reproduction time when the displaying time of certain row lyric characters, the software background service sends a status bar notice, and the status bar prompting text of described notice is this row lyric characters;
Steps d, regularly upgrade this status bar notice according to the Presentation Time Stamp of every row lyric characters;
Step e, digital audio file are play and are finished, and delete described status bar notice.
Described status bar notice comprises unique ID identification parameter, and the action of described renewal or deletion status bar notice is by upgrading or deleting the status bar notice with this only ID identification parameter and realize.Described steps d is regularly upgraded this status bar notice according to the Presentation Time Stamp of every row lyric characters, refer to that when the displaying time of any next line lyric characters is consistent with current audio frequency reproduction time the status bar prompting text of revising described notice is this row lyric characters.
Comprise audio track, reproduction time track and ID label information in the described digital audio file, described audio frequency playout software mates lyrics data with it according to ID label information and the reproduction time information of this digital audio file.
The Presentation Time Stamp of described every row lyric characters records the initial displaying time of this row lyric characters.
Described lyrics data in the digital audio file playing process to wireless network send lyrics search request download in real time obtain or in advance copying and saving in the appointed area of portable terminal.
When user's pull-down state hurdle and when clicking described status bar notice, operation interface jumps to the broadcast interface of audio frequency playout software.
Compared with prior art, the mode of the present invention by sending notice periodically is presented at every row lyrics of digital audio file on the mobile phone state hurdle, the lyrics data of corresponding precise synchronization is provided for each digital audio file, as user at browsing page etc. the time, utilize idle status bar to show the lyrics, make things convenient for user's lyrics browsing, take full advantage of simultaneously display space.
Description of drawings
Accompanying drawing 1 is the realization flow schematic diagram of the lyric display method implemented of the portable terminal of the embodiment of the invention.
Embodiment
For the ease of those skilled in the art's understanding, the invention will be further described below in conjunction with accompanying drawing.In preferred embodiment of the present invention, for convenience of explanation, described portable terminal is take mobile phone as example.
The lyric display method that a kind of portable terminal is implemented, described portable terminal is mounted with the audio frequency playout software audio signal that can play-over is decoded, decompressed to obtain to digital audio file, and set up the linking relationship that this digital audio file reaches the lyrics data that is complementary with it, described method comprises:
Step a, read digital audio file and begin to play the current audio frequency reproduction time of timing acquisition;
Step b, read corresponding lyrics data, the Presentation Time Stamp of record several rows lyric characters and every row lyric characters in the described lyrics data;
Step c, consistent with current audio frequency reproduction time when the displaying time of certain row lyric characters, the software background service sends a status bar notice, and the status bar prompting text of described notice is this row lyric characters;
Steps d, regularly upgrade this status bar notice according to the Presentation Time Stamp of every row lyric characters;
Step e, digital audio file are play and are finished, and delete described status bar notice.
Comprise audio track, reproduction time track and ID label information in the described digital audio file, can also comprise further the label informations such as file name.The ID label information represents to distinguish the information of respective audio file, and such as about details such as issuing date of title of song, singer, affiliated disc, types of songs, this ID label information can be inputted under off-line mode by the user.Described audio frequency playout software mates lyrics data with it according to ID label information and the reproduction time information of this digital audio file.Described digital audio file comprises WAVE(*.WAV), AIFF, AU, MP3, MIDI, the common audio formats such as WMA, RealAudio.
The Presentation Time Stamp of described every row lyric characters records the initial displaying time of this row lyric characters.Described lyrics data can adopt txt form or lrc form or other common forms, and comprise the data such as title of song, singer in the file, described audio frequency playout software is set up the linking relationship that digital audio file reaches the lyrics data that is complementary with it according to data such as its title of song, singers.
Described lyrics data in the digital audio file playing process to wireless network send lyrics search request download in real time obtain or in advance copying and saving in the appointed area of portable terminal.By download or copying and saving to the specified folder of portable terminal, described wireless network can be GPRS network, cdma network or 3G network.
The status bar notice is that an icon is dosed in the status bar of system, comprises simultaneously an optional prompting text message, and an expansion information is added in the notification window.In the Android system, when the user chooses expansion information, system will carry out one this notify defined intention request, be generally used for ejecting an Activity(and be translated as action).Can be configured notice, the sound, vibration, the flash of light that provide with equipment come reminding user. status bar notice just can play a role when background service need to send prompting and need the user to respond certain event.
At first, send a status bar notice and must use two class: NotificationManager, Notification.NotificationManager is the administrative class of status bar notice, is responsible for sending out public notice, knows notice etc., be that a Service(of system is service background), must obtain by getSystemService () method.The attribute of Notification class definition state notifying comprises some detailed information of being presented at status bar and all advice methods, icon for example, the informations such as flash of light, perhaps voice prompt.When sending the status bar notice, transmit the Notification object by notify (int, Notification) and get final product to NotificationManager.First parameter is unique ID sign of Notification, and second parameter is the Notification object.ID is identified at this Notification of unique identification in the whole range of applications.Described status bar notice of the present invention comprises unique ID identification parameter, and the action of described renewal or deletion status bar notice is by upgrading or deleting the status bar notice with this only ID identification parameter and realize.Prompting text in definition status hurdle among the present invention, namely status bar top prompting message (A ticker-text message) is the lyric characters of corresponding row.
Described steps d is regularly upgraded this status bar notice according to the Presentation Time Stamp of every row lyric characters, refer to that when the displaying time of any next line lyric characters is consistent with current audio frequency reproduction time the status bar prompting text of revising described notice is this row lyric characters.Because each notice has a unique Id sign, can pass through setLatestEventInfo () method amendment advice, then call notify() and show up-to-date notice, to cover the previous row lyrics.According to the Presentation Time Stamp of every row lyric characters in the lyrics data, when the displaying time that detects current audio frequency reproduction time and next line lyric characters and consistent, upgrade this status bar notice.
During described step e deletion Notification, remove this notice by cancel (int) method of NotificationManager, wherein parameter is exactly the unique ID of Notification.
The basic parameter that a notice is set to be needed comprises arranging clicks the page jump that notice is carried out, and in the present invention, when user's pull-down state hurdle and when clicking described status bar notice, operation interface jumps to the broadcast interface of audio frequency playout software.In preferred embodiment of the present invention, when the user has selected certain notice from notification window, can add " FLAG_AUTO_CANCEL " mark to this notice and remove this notice.
Particularly, as shown in Figure 1, disclose the better realization flow of the lyric display method of portable terminal enforcement, may further comprise the steps:
001, the user selection digital audio file begins to play;
002, reads corresponding lyrics data;
003, the current audio frequency reproduction time of backstage timing acquisition;
004, judge current audio frequency reproduction time whether with the displaying time of arbitrary row lyric characters and consistent, be execution in step 005 then, otherwise return step 003;
005, the software background service sends a status bar notice, and status bar prompting text is this row lyric characters;
006, the current audio frequency reproduction time of timing acquisition is continued on the backstage;
007, judging whether current audio frequency reproduction time reaches the total duration of audio frequency, and namely whether digital audio file plays end, is execution in step 010 then, otherwise execution in step 008;
008, judges whether current audio frequency reproduction time is consistent with the displaying time of any next line lyric characters, be execution in step 009 then, otherwise return step 006;
009, update mode hurdle notice covers the previous row lyric characters, and returns step 006;
010, the described status bar notice of deletion.
The resulting current reproduction time length of clock time when further, mentioned current audio frequency reproduction time refers to that current clock time deducts audio frequency and begins to play in the present invention.
Above content is the further description of the present invention being done in conjunction with concrete optimal way, should not assert that implementation of the present invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, can also make some simple deduction or replace, within the protection range that the claim that all should be considered as being submitted to by the present invention is determined.

Claims (7)

1. the lyric display method implemented of a portable terminal, described portable terminal is mounted with the audio frequency playout software audio signal that can play-over is decoded, decompressed to obtain to digital audio file, and set up the linking relationship of this digital audio file and the lyrics data that is complementary with it, it is characterized in that described method comprises:
Step a, read digital audio file and begin to play the current audio frequency reproduction time of timing acquisition;
Step b, read corresponding lyrics data, the Presentation Time Stamp of record several rows lyric characters and every row lyric characters in the described lyrics data;
Step c, consistent with current audio frequency reproduction time when the displaying time of certain row lyric characters, system's background service sends a status bar notice, and the status bar prompting text of described notice is this row lyric characters;
Steps d, regularly upgrade this status bar notice according to the Presentation Time Stamp of every row lyric characters;
Step e, digital audio file are play and are finished, and delete described status bar notice.
2. the lyric display method implemented of portable terminal according to claim 1, it is characterized in that: described status bar notice comprises unique ID identification parameter, and the action of described renewal or deletion status bar notice is by upgrading or deleting the status bar notice with this only ID identification parameter and realize.
3. the lyric display method implemented of portable terminal according to claim 2, it is characterized in that: described steps d is regularly upgraded this status bar notice according to the Presentation Time Stamp of every row lyric characters, refer to that when the displaying time of any next line lyric characters is consistent with current audio frequency reproduction time the status bar prompting text of revising described notice is this row lyric characters.
4. the lyric display method implemented of portable terminal according to claim 3, it is characterized in that: comprise audio track, reproduction time track and ID label information in the described digital audio file, described audio frequency playout software mates lyrics data with it according to ID label information and the reproduction time information of this digital audio file.
5. the lyric display method implemented of portable terminal according to claim 4, it is characterized in that: the Presentation Time Stamp of described every row lyric characters records the initial displaying time of this row lyric characters.
6. the lyric display method implemented of portable terminal according to claim 5 is characterized in that: described lyrics data by in the digital audio file playing process to wireless network send lyrics search request download in real time obtain or in advance copying and saving in the appointed area of portable terminal.
7. the lyric display method implemented of portable terminal according to claim 6 is characterized in that: when user's pull-down state hurdle and when clicking described status bar notice, operation interface jumps to the broadcast interface of audio frequency playout software.
CN201210356382.2A 2012-09-24 2012-09-24 Lyric display method implemented by mobile terminal Active CN102868822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210356382.2A CN102868822B (en) 2012-09-24 2012-09-24 Lyric display method implemented by mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210356382.2A CN102868822B (en) 2012-09-24 2012-09-24 Lyric display method implemented by mobile terminal

Publications (2)

Publication Number Publication Date
CN102868822A true CN102868822A (en) 2013-01-09
CN102868822B CN102868822B (en) 2014-09-03

Family

ID=47447406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210356382.2A Active CN102868822B (en) 2012-09-24 2012-09-24 Lyric display method implemented by mobile terminal

Country Status (1)

Country Link
CN (1) CN102868822B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531220A (en) * 2013-10-08 2014-01-22 百度在线网络技术(北京)有限公司 Method and device for correcting lyric
CN103699323A (en) * 2013-12-20 2014-04-02 上海卓悠网络科技有限公司 Method and device for realizing music desktop display
CN104142989A (en) * 2014-07-28 2014-11-12 腾讯科技(深圳)有限公司 Matching detection method and device
CN104281560A (en) * 2013-07-05 2015-01-14 腾讯科技(深圳)有限公司 Memory text information display method and device and terminal
CN105279140A (en) * 2014-07-22 2016-01-27 腾讯科技(深圳)有限公司 Text display method, server, terminal and system
CN106020612A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Data display method and mobile terminal
WO2016165325A1 (en) * 2015-04-15 2016-10-20 小米科技有限责任公司 Audio information recognition method and apparatus
CN106095467A (en) * 2016-06-24 2016-11-09 珠海市魅族科技有限公司 A kind of song information display packing and device
CN106652983A (en) * 2016-09-18 2017-05-10 福建网龙计算机网络信息技术有限公司 Subtitling method and subtitling system
CN108089830A (en) * 2017-12-11 2018-05-29 维沃移动通信有限公司 Song information display methods, device and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083675A (en) * 2007-06-12 2007-12-05 无敌科技(西安)有限公司 Dynamic display information interface for portable electronic device and its reminding method
US20080026355A1 (en) * 2006-07-27 2008-01-31 Sony Ericsson Mobile Communications Ab Song lyrics download for karaoke applications
CN101183524A (en) * 2007-11-08 2008-05-21 腾讯科技(深圳)有限公司 Lyric characters display process and system
CN101312565A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for synchronous lyrics browsing when playing music on mobile phone
CN101631168A (en) * 2009-08-20 2010-01-20 深圳市五巨科技有限公司 Method and device for searching and downloading lyrics by mobile terminal
CN101840727A (en) * 2010-04-28 2010-09-22 深圳市五巨科技有限公司 Mobile terminal music playing method and device for synchronously displaying lyrics

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080026355A1 (en) * 2006-07-27 2008-01-31 Sony Ericsson Mobile Communications Ab Song lyrics download for karaoke applications
CN101312565A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for synchronous lyrics browsing when playing music on mobile phone
CN101083675A (en) * 2007-06-12 2007-12-05 无敌科技(西安)有限公司 Dynamic display information interface for portable electronic device and its reminding method
CN101183524A (en) * 2007-11-08 2008-05-21 腾讯科技(深圳)有限公司 Lyric characters display process and system
CN101631168A (en) * 2009-08-20 2010-01-20 深圳市五巨科技有限公司 Method and device for searching and downloading lyrics by mobile terminal
CN101840727A (en) * 2010-04-28 2010-09-22 深圳市五巨科技有限公司 Mobile terminal music playing method and device for synchronously displaying lyrics

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281560A (en) * 2013-07-05 2015-01-14 腾讯科技(深圳)有限公司 Memory text information display method and device and terminal
CN103531220B (en) * 2013-10-08 2016-02-03 百度在线网络技术(北京)有限公司 Lyrics bearing calibration and device
CN103531220A (en) * 2013-10-08 2014-01-22 百度在线网络技术(北京)有限公司 Method and device for correcting lyric
CN103699323A (en) * 2013-12-20 2014-04-02 上海卓悠网络科技有限公司 Method and device for realizing music desktop display
CN105279140A (en) * 2014-07-22 2016-01-27 腾讯科技(深圳)有限公司 Text display method, server, terminal and system
CN104142989B (en) * 2014-07-28 2017-10-17 广州酷狗计算机科技有限公司 A kind of matching detection method and device
CN104142989A (en) * 2014-07-28 2014-11-12 腾讯科技(深圳)有限公司 Matching detection method and device
WO2016165325A1 (en) * 2015-04-15 2016-10-20 小米科技有限责任公司 Audio information recognition method and apparatus
CN106020612A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Data display method and mobile terminal
CN106020612B (en) * 2016-05-25 2019-02-15 维沃移动通信(杭州)有限公司 A kind of data display method and mobile terminal
CN106095467A (en) * 2016-06-24 2016-11-09 珠海市魅族科技有限公司 A kind of song information display packing and device
CN106652983A (en) * 2016-09-18 2017-05-10 福建网龙计算机网络信息技术有限公司 Subtitling method and subtitling system
CN106652983B (en) * 2016-09-18 2021-04-02 福建网龙计算机网络信息技术有限公司 Subtitle making method and system
CN108089830A (en) * 2017-12-11 2018-05-29 维沃移动通信有限公司 Song information display methods, device and mobile terminal
CN108089830B (en) * 2017-12-11 2019-10-29 维沃移动通信有限公司 Song information display methods, device and mobile terminal

Also Published As

Publication number Publication date
CN102868822B (en) 2014-09-03

Similar Documents

Publication Publication Date Title
CN102868822B (en) Lyric display method implemented by mobile terminal
US20200073886A1 (en) Dynamic Audio File Generation
US9042205B2 (en) Clock with link to the internet
CN101140787B (en) Reproduction apparatus, reproduction method and reproduction program
US20070061364A1 (en) System and method for text-based searching of media content
US8156436B2 (en) Information processing device, information processing method and information processing program
JP2005223928A5 (en)
CN100380367C (en) Electronic appliance having music database and method of forming such music database
CN102104678A (en) Weather information update reminding method and system, and communication terminal
CN101312565A (en) Method for synchronous lyrics browsing when playing music on mobile phone
CN101989451A (en) Mobile audio player with individualized radio program
CN102385892A (en) Media playing device and media processing method
CN101950580B (en) Electronic device with synchronous lyric display function and method thereof
JP4513644B2 (en) Content distribution server
WO2000045511A1 (en) Apparatus, systems and methods for providing on-demand radio
CN102984340A (en) Method for receiving information
CN100438351C (en) Method of displaying broadcast program information on digital electronic products
CN101872551A (en) Method for controlling voice promoting device with code
JP2003044477A (en) Contents receivable portable communication terminal, contents distribution server device and program to be used for these
CN105706408A (en) Providiing electronic books to user device
JP2013050479A (en) Music data processing device, music data processing system, and program
KR20110020003A (en) System and method for providing morning call service
CN101106741A (en) Method for mobile phone to get service information based on identification code
CN102034518A (en) Method for editing MP3 play list and digital electronic device
CN202153749U (en) Vehicle-mounted multimedia service system

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

Address after: Changan Town, Guangdong province 523860 usha Beach Road Dongguan City, No. 18 Guangdong Oupo Mobile Communication Co Ltd

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan Town, Guangdong province 523860 usha Beach Road Dongguan City, No. 18 Guangdong Oupo Mobile Communication Co Ltd

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder
CP02 Change in the address of a patent holder

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

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

Address before: Changan Town, Guangdong province 523860 usha Beach Road Dongguan City, No. 18 Guangdong Oupo Mobile Communication Co Ltd

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

CP02 Change in the address of a patent holder