CN107203597A - The display methods and device of the lyrics under a kind of screen lock state - Google Patents
The display methods and device of the lyrics under a kind of screen lock state Download PDFInfo
- Publication number
- CN107203597A CN107203597A CN201710313736.8A CN201710313736A CN107203597A CN 107203597 A CN107203597 A CN 107203597A CN 201710313736 A CN201710313736 A CN 201710313736A CN 107203597 A CN107203597 A CN 107203597A
- Authority
- CN
- China
- Prior art keywords
- lyrics
- song
- information
- music player
- played
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/64—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/683—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/685—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using automatically derived transcript of audio data, e.g. lyrics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
Present invention is disclosed a kind of display methods of the lyrics under screen lock state and device, this method is used to realize the lyrics for showing broadcasting song in locking screen interface, and this method includes:Under screen lock state, by calling remote control interface to monitor music player;The label information of song is played according to the music player;According to the label information for playing song, lyrics file is obtained by song is played;Parsing lyrics file obtains lyrics information, and lyrics information is included in locking screen interface.The technical scheme that the present invention is provided, directly lyrics information is shown in locking screen interface, so as to can be directly unlocked by sliding the unlocking function button of locking screen interface, unlocking function button is slided again without first slip lyrics window to be unlocked, the lyrics are shown under screen lock state, the operating procedure of unblock is not increased, operating process is simple yet.
Description
Technical field
The present invention relates to technical field of data processing, the display methods and dress of the lyrics under more particularly to a kind of screen lock state
Put.
Background technology
It is well known that mobile device can be used as multimedia equipment.For example, all may be used using mobile phone, tablet personal computer etc.
For listening music.At present, the mode for listening music using mobile device is typically:The music to be played is found in a mobile device
Song, then opens and plays, can show the contents such as the progress bar and the lyrics of music on the screen of mobile device, can also show
Virtual icon or button of music progress or volume etc. are controlled, for example:Pause, broadcasting, F.F., retrogressing, volume increase reduce
Etc..While song is played, the corresponding lyrics of song can also be shown on the screen of mobile device.
The current music player overwhelming majority all supports the screen locking lyrics, and its implementation is all by creating Activity
(a kind of interactive interface), the lyrics are included in the Activity, and by the Activity be set to be covered in locking screen interface it
On, similar to suspension windows, float on locking screen interface.In other words, there are two interfaces after screen locking, what it is positioned at lower floor is
Locking screen interface, what it is positioned at upper strata is lyrics display interface.
During music is played, after screen locking, bright screen, can first show lyrics interface again, can just enter real after slip
Locking screen interface, operating process is cumbersome, virtually adds single stepping to user and could unlock and successfully uses mobile phone.
The content of the invention
In order to solve to show the lyrics, the problem of releasing process is cumbersome, this hair present in correlation technique under screen lock state
The bright display methods and device for providing the lyrics under a kind of screen lock state.
On the one hand, the invention provides a kind of display methods of the lyrics under screen lock state, methods described is used to realize in lock
Shield the lyrics that interface display plays song, methods described includes:
Under screen lock state, by calling remote control interface to monitor music player;
The label information of song is played according to the music player, lyrics file is obtained by song is played;
Parse the lyrics file and obtain lyrics information, the lyrics information is included in the locking screen interface.
On the other hand, the disclosure additionally provides a kind of display device of the lyrics under screen lock state, and described device is used in lock
Shield the lyrics that interface display plays song, described device includes:
Module is monitored, under screen lock state, by calling remote control interface to monitor music player;
Lyrics enquiry module, the label information for playing song according to the music player, to be played song
Obtain lyrics file;
Lyrics display module, lyrics information is obtained for parsing the lyrics file, and the lyrics information is included in institute
State locking screen interface.
Technical scheme provided in an embodiment of the present invention can include the following benefits:
The display methods and device of the lyrics under the screen lock state that the present invention is provided, by calling remote control interface to obtain sound
The label information of happy player plays song, so as to obtain corresponding lyrics file, and then directly shows song in locking screen interface
Word information, without individually setting lyrics window on locking screen interface.Due to directly showing the lyrics in locking screen interface, so that directly
Connecting the unlocking function button of slip locking screen interface can be unlocked, and unlocking function is slided again without first sliding lyrics window
Button is unlocked, and the lyrics are shown under screen lock state, does not also increase the operating procedure of unblock, and operating process is simple.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited
It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention
Example, and in specification together for explaining principle of the invention.
Fig. 1 is the schematic diagram of the implementation environment involved by the embodiment provided according to the present invention;
Fig. 2 is a kind of block diagram of device according to an exemplary embodiment;
Fig. 3 is the flow chart of the display methods of the lyrics under a kind of screen lock state according to an exemplary embodiment;
Fig. 4 is the principle schematic of the remote controllers acquisition label information according to an exemplary embodiment;
Fig. 5 is the schematic flow sheet of the step S330 of Fig. 3 correspondence embodiments details;
Fig. 6 is the simple process schematic diagram of the acquisition lyrics file according to an exemplary embodiment;
Fig. 7 is the detailed process schematic diagram of the acquisition lyrics file according to an exemplary embodiment;
Fig. 8 is the flow chart of the display methods of the lyrics under a kind of screen lock state according to another exemplary embodiment;
Fig. 9 is a kind of locking screen interface display schematic diagram according to an exemplary embodiment;
Figure 10 is the flow chart of the display methods of the lyrics under a kind of screen lock state according to another exemplary embodiment;
Figure 11 is the block diagram of the display device of the lyrics under a kind of screen lock state according to an exemplary embodiment;
Figure 12 is the details block diagram that Figure 11 corresponds to the lyrics enquiry module in embodiment.
Embodiment
Here explanation will be performed to exemplary embodiment in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Fig. 1 is the schematic diagram of the implementation environment involved by the embodiment provided according to the present invention.The implementation environment includes:Extremely
A few mobile terminal 1 10 and base station 120;Wherein, mobile terminal 1 10 carries out radio communication with base station 120, and can network download
The music player that third party provides.Multiple music players provided by third party can be installed in mobile terminal 1 10.It is mobile
The method that terminal 110 is provided using the present invention, in screen lock state, directly can show the song of broadcasting song in locking screen interface
Word, so that when needing unblock, the direct screen locking function button of slip locking screen interface, due in the absence of being suspended in locking screen interface
On lyrics interface, therefore go out locking screen interface to slide lyrics interface display without many single steppings, even in screen lock state
The step of lower display lyrics also do not increase unblock, operating process is simple.
Fig. 2 is a kind of block diagram of device 200 according to an exemplary embodiment.For example, device 200 can be Fig. 1
Mobile terminal in shown implementation environment.Mobile terminal such as can be smart mobile phone, tablet personal computer, Intelligent bracelet etc..
Reference picture 2, device 200 can include following one or more assemblies:Processing assembly 202, memory 204, power supply
Component 206, multimedia groupware 208, audio-frequency assembly 210, sensor cluster 214 and communication component 216.
The integrated operation of the usual control device 200 of processing assembly 202, such as with display, call, data communication, phase
Operation that machine is operated and record operation is associated etc..Processing assembly 202 can include one or more processors 218 to perform
Instruction, to complete all or part of step of following methods.In addition, processing assembly 202 can include one or more modules,
It is easy to the interaction between processing assembly 202 and other assemblies.For example, processing assembly 202 can include multi-media module, with convenient
Interaction between multimedia groupware 208 and processing assembly 202.
Memory 204 is configured as storing various types of data supporting the operation in device 200.These data are shown
Example includes the instruction of any application program or method for operating on the device 200.Memory 204 can be by any kind of
Volatibility or non-volatile memory device or combinations thereof realization, such as static RAM (Static Random
Access Memory, abbreviation SRAM), Electrically Erasable Read Only Memory (Electrically Erasable
Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable
Programmable Read Only Memory, abbreviation EPROM), programmable read only memory (Programmable Red-
Only Memory, abbreviation PROM), read-only storage (Read-Only Memory, abbreviation ROM), magnetic memory, flash
Device, disk or CD.Also be stored with one or more modules in memory 204, and one or more modules are configured to by this
One or more processors 218 are performed, all or part of in any shown method of following Fig. 3, Fig. 5-8, Figure 10 to complete
Step.
Power supply module 206 provides electric power for the various assemblies of device 200.Power supply module 206 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 200.
Multimedia groupware 208 is included in the screen of one output interface of offer between described device 200 and user.One
In a little embodiments, screen can include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel.
If screen includes touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel
Including one or more touch sensors with the gesture on sensing touch, slip and touch panel.The touch sensor can be with
The not only border of sensing touch or sliding action, but also the detection duration related to the touch or slide and pressure
Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio-frequency assembly 210 is configured as output and/or input audio signal.For example, audio-frequency assembly 210 includes a Mike
Wind (Microphone, abbreviation MIC), when device 200 is in operator scheme, such as call model, logging mode and speech recognition mould
During formula, microphone is configured as receiving external audio signal.The audio signal received can be further stored in memory
204 or sent via communication component 216.In certain embodiments, audio-frequency assembly 210 also includes a loudspeaker, for exporting
Audio signal.
Sensor cluster 214 includes one or more sensors, and the state for providing various aspects for device 200 is commented
Estimate.For example, sensor cluster 214 can detect opening/closed mode of device 200, the relative positioning of component, sensor group
Part 214 can be with the position change of 200 1 components of detection means 200 or device and the temperature change of device 200.At some
In embodiment, the sensor cluster 214 can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 216 is configured to facilitate the communication of wired or wireless way between device 200 and other equipment.Device
200 can access the wireless network based on communication standard, such as WiFi (WIreless-Fidelity, Wireless Fidelity).Show at one
In example property embodiment, communication component 216 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel
Relevant information.In one exemplary embodiment, the communication component 216 also includes near-field communication (Near Field
Communication, abbreviation NFC) module, to promote junction service.For example, radio frequency identification (Radio can be based in NFC module
Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data
Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills
Art is realized.
In the exemplary embodiment, device 200 can be by one or more application specific integrated circuit (Application
Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable
Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for performing
Following methods.
Fig. 3 is the flow chart of the display methods of the lyrics under a kind of screen lock state according to an exemplary embodiment.Should
The scope of application and executive agent of the display methods of the lyrics under screen lock state, for example, this method is used for implementation environment shown in Fig. 1
Mobile terminal 1 10.As shown in figure 3, the display methods, can be performed by mobile terminal 1 10, may comprise steps of.
In step S310, under screen lock state, by calling remote control interface to monitor music player, obtain described
Music player plays the label information of song;
Wherein, the display methods of the lyrics can be realized based on Android system under the screen lock state.It is configured with Android system
Mobile terminal can install the music player that multiple third parties provide simultaneously, by registering remote controllers to audio manager
(RemoteController) the remote control client (RemoteControlClient) of interface and each music player
Interface, and then mobile terminal sent to audio manager using RemoteController interfaces and/or obtained from audio manager
Win the confidence breath, third party provide each music player using RemoteControlClient interfaces from audio manager obtain
Information and/or the music player provided to audio manager transmission message, realization monitoring third party, obtain music player
Broadcast information.
It should be noted that RemoteController interfaces are used for providing standard interface to music control, and
RemoteController interfaces are needed and RemoteControlClient Interference fits are used.RemoteController interfaces
It is the interface at control and acquisition of information end, it is dynamic for the acquisition and music that carry out music information (the meta information of song)
Make the transmission of (action message such as broadcasting/pause).RemoteControlClient interfaces are the interfaces of player end, for obtaining
Take and perform playback action, and send broadcast information (the meta information of song, playing progress rate, the broadcasting shape of current player
State information etc.).
Specifically, shown in reference picture 4, following is a brief introduction of exemplary embodiment of the present by calling remote control interface
Obtain the broadcast information of music player, the method being controlled to music player:
Need to register RemoteController interfaces and each music player to audio manager first
RemoteControlClient interfaces, wherein, audio manager can determine to work as by RemoteControlClient interfaces
The preceding music player for playing song.Screen locking component is received after the playback action instruction of user's triggering, by playback action
Instruction is sent to RemoteController interfaces, and RemoteController interfaces are by RemoteControlClient
Interface sends media critical event (sendMediaKeyEvent), and playback action instruction is sent extremely
RemoteControlClient interfaces, it is current according to playback action instruction control by RemoteControlClient interfaces
Play the music player of song.
RemoteControlClient interfaces are sent out after playback action instruction is completed to RemoteController interfaces
Send state updating information (STATE UPDATE), including current playing progress rate, broadcast state (broadcasting/pause/next is bent/on
One is bent).And when player changes and plays song, feeding back song meta information to RemoteController interfaces, (label is believed
Breath).Wherein, meta information includes:The information such as song title, singer name, the album name of played song.
In step S330, the label information of song is played according to the music player, is obtained by song is played
Lyrics file;
It should be noted that mobile terminal is being got after music player plays the label information of song, by this
Label information, can inquire lyrics file corresponding with the label information.Wherein, the lyrics file can be stored in local number
According in storehouse, it can also be obtained by online query.
Fig. 5 is the schematic flow sheet of the step S330 of Fig. 3 correspondence embodiments details, as shown in figure 5, step S330 has
Body comprises the following steps:
In step S331:Being played according to the music in the label information of song, inquiry local data base is
It is no to there is lyrics file corresponding with the label information;If in the presence of, directly obtain local data base in corresponding lyrics file;
It should be noted that the speed in order to improve the reading lyrics, broadcasting song can be previously stored in the local database
Bent lyrics file.As shown in fig. 6, when in screen lock state, the screen locking component of mobile terminal is first to local lyrics data
Library inquiry lyrics file corresponding with the label information that music player plays song.If there is institute in local database of song lyrics
The lyrics file of inquiry, then directly obtain inquired about lyrics file from local database of song lyrics.
In step S332:If being not present, web search lyrics file corresponding with the label information, by acquisition
Lyrics file is stored in the local database;
As shown in fig. 6, when inquired about lyrics file is not present in local database of song lyrics, being sent to the webserver
Web search.Inquired about lyrics file is downloaded from the webserver, the lyrics file of download is stored in local lyrics number
According in storehouse.
Fig. 7 is obtains the detailed schematic flow sheet of lyrics file, as shown in fig. 7, first by the music player of acquisition
The label information (song title, Ge Shouming, album information etc.) of song is played, constituting Hash by hash algorithm encodes, by Hash
The keyword as search is encoded, keyword of the local database of song lyrics with the presence or absence of search is then inquired about.If inquiring knot
Really, the absolute path of lyrics file in local database of song lyrics is returned.
Opposite, if local database of song lyrics does not inquire result, network inquiry is initiated, if network inquiry
Inquiry then terminates to obtain the operation of lyrics file less than result.If network search query has arrived result, the song inquired is returned
Word file address, mobile terminal, which starts, to be downloaded.If downloaded successfully, the lyrics file of download is stored in local lyrics data
In storehouse, and return to the absolute path of lyrics file in local database of song lyrics.Opposite, if not downloading success, terminate
Obtain the operation of lyrics file.
In step S333:The label information is synthesized into Hash by hash algorithm to encode, the Hash is encoded and made
Inserted for the mark of the lyrics file in the local data base.
It should be noted that the music player obtained plays the label information of song, Hash is constituted by hash algorithm
Coding, the keyword as search is encoded using Hash.Insert local thus, it is possible to Hash be encoded as the mark of lyrics file
In database of song lyrics, so as to when local search obtains lyrics file, directly can obtain corresponding by searching for Hash coding
Lyrics file, accelerates inquiry velocity.Wherein, Hash is constituted by hash algorithm to contents such as song title, Ge Shouming, album informations
The process of coding, is referred to prior art realization.It will not be repeated here.
In step 350, parse the lyrics file and obtain lyrics information, the lyrics information is included in the screen locking
Interface.
Specifically, obtaining through the above way after lyrics file, by parsing the lyrics file, lyrics text can be obtained
Word, and then lyric characters can be included in locking screen interface.It should be noted that under screen lock state, being provided with locking screen interface
Unlocking function button, the unlocking function button is simultaneously displayed in locking screen interface with lyric characters.Due in display lyric characters
While, unlocking function button is also show, thus, unblock can just be realized by directly sliding the unlocking function button.Even in
The lyrics are shown under screen lock state, also do not increase the operating procedure of unblock, operating process is simple.
With application scenarios shown in Fig. 1 for example, because prior art is under screen lock state, the lyrics are not directly displayed at
Locking screen interface, but the lyrics are shown by being suspended in the lyrics window on locking screen interface, thus, in order to slide screen locking
Unlocking function button in interface on the premise of locking screen interface is shown, then is slided, it is necessary to first slide the lyrics window on upper strata
Unlocking function button, just completes the unblock to mobile terminal.Show that the lyrics add the operating procedure of unblock under screen lock state,
Make releasing process relatively more cumbersome.
The display methods of the lyrics under the screen lock state that above-mentioned example embodiment of the present invention is provided, by calling remote control
Interface obtains music player and plays the label information of song, so that corresponding lyrics file is obtained, and then directly in screen locking circle
Face shows lyrics information, without individually setting lyrics window on locking screen interface.Due to directly being shown in locking screen interface
The lyrics, so as to can be directly unlocked by sliding the unlocking function button of locking screen interface, without first sliding lyrics window again
Slide unlocking function button to be unlocked, the lyrics are shown under screen lock state, also do not increase the operating procedure of unblock, grasp
Make process simple.
On the basis of above-mentioned example embodiment, as shown in figure 8, under the screen lock state that provides of the present invention lyrics display
Method, it is further comprising the steps of:
In step S801, the playing progress rate that the music player plays song is obtained;
It should be noted that when acquisition music player plays the label information of song, can simultaneously obtain and be broadcast
Sing song playing progress rate.Or when broadcast state changes, reacquire playing progress rate.For example, pause, F.F., rewind,
After a next bent, upper song, playing progress rate is reacquired.
In step S802, according to the playing progress rate of the broadcasting song, highlighting for the lyrics word for word or is sentence by sentence carried out.
It should be noted that playing progress rate indicates song currently sings which sentence or which word, word for word or sentence by sentence sung
The highlighting of word refers to highlight that or that word for singing just sung in the lyrics currently shown.Specifically,
That or that word sung just sung in the lyrics can be highlighted.Certainly the mode highlighted is not limited to height
Bright display, can also be that overstriking shows, tilts display, being shown with different colours etc. other modes.
It is further alternative, while the lyrics information is included in the locking screen interface, the lock that the present invention is provided
The display methods of the lyrics also includes under screen state:Label information and/or the broadcasting for playing song are shown in the locking screen interface
Progress.
Fig. 9 is a kind of locking screen interface display schematic diagram, as shown in figure 9, can show in the centre position region of locking screen interface
Show lyrics information, region shows song title, singer's name and progress bar above locking screen interface.Certainly, unlocking function button
It is shown in the lump in locking screen interface.As shown in figure 9, may be displayed on region below locking screen interface.Can also from Fig. 9
Go out, the lyrics and unlocking function button are simultaneously displayed in locking screen interface, in the absence of the lyrics interface being suspended on locking screen interface.
After screen locking, human eye can directly be seen that unlocking function button, and then be unlocked, the need for providing in the prior art
Lyrics interface is first slided, the unlocking function button on locking screen interface can be just shown, the technical scheme that the present invention is provided is operated more
Plus conveniently, it is more convenient to unlock.
Further, as shown in Figure 10, the display methods of the lyrics, can also include under the screen lock state that the present invention is provided
Following steps:
In step S1001:Obtain the broadcast state information of the music player;
In step S1002:According to the broadcasting indicated by the broadcast state information/pause action, corresponding continuation/pause
Word for word or sentence by sentence carry out highlighting for the lyrics.
It should be noted that when obtaining label information, broadcast state information and playing progress rate can be obtained simultaneously.Its
In, broadcast state information refers to the action messages such as the broadcasting of player, pause.As needed, label information can also obtained
Broadcast state information and playing progress rate are persistently obtained afterwards, or after it have sent the instruction for changing player plays state, are obtained
Take the broadcast state information of music player.
Specifically, when broadcast state information indicates playback action, continuation word for word or is sentence by sentence sung according to playing progress rate
Word is highlighted.When broadcast state information indicates pause action, then suspend and word for word or sentence by sentence carry out highlighting for the lyrics,
Until broadcast state information indicates playback action, just continue word for word or sentence by sentence to carry out highlighting for the lyrics.
Following is apparatus of the present invention embodiment, can be used for performing the screen locking shape that the above-mentioned mobile terminal 1 10 of the disclosure is performed
The display methods embodiment of the lyrics under state.For the details not disclosed in disclosure device embodiment, disclosure screen locking refer to
The display methods embodiment of the lyrics under state.
Figure 11 is the block diagram of the display device of the lyrics under a kind of screen lock state according to an exemplary embodiment, the lock
The display device of the lyrics can be used in the mobile terminal 1 10 of implementation environment shown in Fig. 1 under screen state, perform Fig. 3, Fig. 5-8, figure
The all or part of step of the display methods of the lyrics, is played so as to be shown in locking screen interface under 10 any shown screen lock states
The lyrics of song.As shown in figure 11, the display device includes but is not limited to:Monitor module 1110, lyrics enquiry module 1130 with
And lyrics display module 1150.
Module 1110 is monitored, under screen lock state, by calling remote control interface to monitor music player;
Lyrics enquiry module 1130, the label information for playing song according to the music player, to be played
Song obtains lyrics file;
Lyrics display module 1150, obtains lyrics information for parsing the lyrics file, the lyrics information is shown
In the locking screen interface.
The function of modules and the implementation process of effect specifically refer to the lyrics under above-mentioned screen lock state in said apparatus
The implementation process of correspondence step, will not be repeated here in display methods.
It such as can be some physical arrangement multimedia groupware 208 in Fig. 2 to monitor module 1110.
Lyrics enquiry module 1130 and lyrics display module 1150 can also be functional modules, for performing above-mentioned screen locking
Corresponding step under state in the display methods of the lyrics.It is appreciated that these modules can pass through hardware, software or the two knot
Close to realize.When realizing in hardware, these modules may be embodied as one or more hardware modules, such as one or many
Individual application specific integrated circuit.When being realized with software mode, these modules may be embodied as performing on the one or more processors
One or more computer programs, such as the program of storage in memory 204 performed by the processor 218 of Fig. 2.
Optionally, the display device of the lyrics can also include but is not limited under the screen lock state:
Progress acquisition module, the playing progress rate of song is played for obtaining the music player;
Module is highlighted, for the playing progress rate according to the broadcasting song, the protrusion of the lyrics word for word or is sentence by sentence carried out
Display.
Optionally, the display device of the lyrics can also include but is not limited under the screen lock state:
State acquisition module, the broadcast state information for obtaining the music player;
Action executing module, is acted, corresponding continuation/pause according to the broadcasting indicated by the broadcast state information/pause
Word for word or sentence by sentence carry out highlighting for the lyrics.
Optionally, the display device of the lyrics can also include but is not limited under the screen lock state:
Information display module, the label information and/or playing progress rate of song are played for being shown in the locking screen interface.
Figure 12 is the details block diagram that Figure 11 corresponds to the lyrics enquiry module 1130 in embodiment, as shown in figure 12, the lyrics
Enquiry module 1130 can include but is not limited to:Local search unit 1131, web search unit 1132 and Hash coding are single
Member 1133;
Local search unit 1131, the label information for playing song according to the music player, inquiry is local
It whether there is lyrics file corresponding with the label information in database;If in the presence of directly corresponding in acquisition local data base
Lyrics file;
Web search unit 1132, for lyrics file corresponding with the label information to be not present in local data base
When, web search lyrics file corresponding with the label information, by the lyrics file storage of acquisition in the local database;
Hash coding unit 1133, is encoded for the label information to be synthesized into Hash by hash algorithm, is breathed out described
Uncommon coding is inserted in the local data base as the mark of the lyrics file.
Optionally, the lyrics is aobvious under the display device of the invention for also providing the lyrics under a kind of screen lock state, the screen lock state
Showing device can be used in the mobile terminal 1 10 of implementation environment shown in Fig. 1, perform any shown screen locking of Fig. 3, Fig. 5-8, Figure 10
The all or part of step of the display methods of the lyrics under state.Described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as performing:
Under screen lock state, by calling remote control interface to monitor music player;
The label information of song is played according to the music player, lyrics file is obtained by song is played;Parsing
The lyrics file obtains lyrics information, and the lyrics information is included in the locking screen interface.
The concrete mode lyrics under the relevant screen lock state of the computing device operation of device in the embodiment
Display methods embodiment in perform detailed description, explanation will be not set forth in detail herein.
In the exemplary embodiment, a kind of storage medium is additionally provided, the storage medium is computer-readable recording medium,
For example can be to include the provisional and non-transitorycomputer readable storage medium of instruction.The storage medium is for example including instruction
Memory 204, above-mentioned instruction can perform to complete the display of the lyrics under above-mentioned screen lock state by the processor 218 of device 200
Method.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being performed without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. the display methods of the lyrics under a kind of screen lock state, it is characterised in that methods described is used to realize to be shown in locking screen interface
The lyrics of song are played, methods described includes:
Under screen lock state, by calling remote control interface to monitor music player;
The label information of song is played according to the music player, lyrics file is obtained by song is played;
Parse the lyrics file and obtain lyrics information, the lyrics information is included in the locking screen interface.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Obtain the playing progress rate that the music player plays song;
According to the playing progress rate of the broadcasting song, highlighting for the lyrics word for word or is sentence by sentence carried out.
3. method according to claim 2, it is characterised in that methods described also includes:
Obtain the broadcast state information of the music player;
According to the broadcasting indicated by the broadcast state information/pause action, corresponding continuation/pause word for word or sentence by sentence carries out the lyrics
Highlight.
4. method according to claim 2, it is characterised in that include by the lyrics information in the locking screen interface
Meanwhile, methods described also includes:
The label information and/or playing progress rate for playing song are shown in the locking screen interface.
5. according to the method described in claim 1, it is characterised in that the mark that song is played according to the music player
Information is signed, lyrics file is obtained by song is played, including:
Played and whether there is and the label in the label information of song, inquiry local data base according to the music player
The corresponding lyrics file of information;If in the presence of, directly obtain local data base in corresponding lyrics file;
If being not present, the lyrics file of acquisition is stored in this by web search lyrics file corresponding with the label information
In ground database;
The label information is synthesized into Hash by hash algorithm to encode, the Hash is encoded into the mark as the lyrics file
Know in the insertion local data base.
6. the display device of the lyrics under a kind of screen lock state, it is characterised in that described device, which is used to show in locking screen interface, to be played
The lyrics of song, described device includes:
Module is monitored, under screen lock state, by calling remote control interface to monitor music player;
Lyrics enquiry module, the label information for playing song according to the music player is obtained by song is played
Lyrics file;
Lyrics display module, lyrics information is obtained for parsing the lyrics file, and the lyrics information is included in the lock
Shield interface.
7. device according to claim 6, it is characterised in that described device also includes:
Progress acquisition module, the playing progress rate of song is played for obtaining the music player;
Module is highlighted, for the playing progress rate according to the broadcasting song, highlighting for the lyrics word for word or is sentence by sentence carried out.
8. device according to claim 7, it is characterised in that described device also includes:
State acquisition module, the broadcast state information for obtaining the music player;
Action executing module, is acted, corresponding continuation/pause is word for word according to the broadcasting indicated by the broadcast state information/pause
Or highlighting for the lyrics is carried out sentence by sentence.
9. device according to claim 7, it is characterised in that described device also includes:
Information display module, the label information and/or playing progress rate of song are played for being shown in the locking screen interface.
10. device according to claim 6, it is characterised in that the lyrics enquiry module includes:
In local search unit, the label information for playing song according to the music player, inquiry local data base
With the presence or absence of lyrics file corresponding with the label information;If in the presence of corresponding lyrics text directly in acquisition local data base
Part;
Web search unit, for when lyrics file corresponding with the label information is not present in local data base, network to be searched
Rope lyrics file corresponding with the label information, by the lyrics file storage of acquisition in the local database;
Hash coding unit, encodes for the label information to be synthesized into Hash by hash algorithm, the Hash is encoded and made
Inserted for the mark of the lyrics file in the local data base.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710313736.8A CN107203597A (en) | 2017-05-05 | 2017-05-05 | The display methods and device of the lyrics under a kind of screen lock state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710313736.8A CN107203597A (en) | 2017-05-05 | 2017-05-05 | The display methods and device of the lyrics under a kind of screen lock state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107203597A true CN107203597A (en) | 2017-09-26 |
Family
ID=59906354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710313736.8A Pending CN107203597A (en) | 2017-05-05 | 2017-05-05 | The display methods and device of the lyrics under a kind of screen lock state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107203597A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679375A (en) * | 2017-09-30 | 2018-02-09 | 苏州亿科赛卓电子科技有限公司 | A kind of mobile terminal password unlocks picture exhibition method and device |
CN108228903A (en) * | 2018-02-08 | 2018-06-29 | 广州酷狗计算机科技有限公司 | The method and apparatus for obtaining lyrics data |
CN108509106A (en) * | 2018-03-21 | 2018-09-07 | 北京酷我科技有限公司 | A kind of method positioned after desktop lyrics movement |
WO2019127899A1 (en) * | 2017-12-28 | 2019-07-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and device for addition of song lyrics |
CN111381753A (en) * | 2020-03-17 | 2020-07-07 | 维沃移动通信有限公司 | Multimedia file playing method and electronic equipment |
CN112445539A (en) * | 2019-09-02 | 2021-03-05 | 珠海市魅族科技有限公司 | Method, device, electronic equipment and storage medium for identifying disguised music playing |
CN112616084A (en) * | 2020-12-10 | 2021-04-06 | 广州酷狗计算机科技有限公司 | Lyric display method, device, terminal and storage medium |
CN113407103A (en) * | 2021-06-25 | 2021-09-17 | 青岛海信移动通信技术股份有限公司 | Music playing control method and terminal equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024166A (en) * | 2012-12-03 | 2013-04-03 | 广东欧珀移动通信有限公司 | Mobile phone capable of displaying lyrics on turn-off screen and method thereof |
CN103559731A (en) * | 2013-10-29 | 2014-02-05 | 腾讯科技(深圳)有限公司 | Method and terminal for displaying lyrics under screen locking state |
CN105867759A (en) * | 2015-12-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Operation method and apparatus in screen-locking mode |
CN106205657A (en) * | 2016-07-27 | 2016-12-07 | 腾讯科技(深圳)有限公司 | A kind of lyric display method and device |
CN106406670A (en) * | 2016-09-26 | 2017-02-15 | 维沃移动通信有限公司 | A lyric image generating method and a mobile terminal |
CN106407370A (en) * | 2016-09-09 | 2017-02-15 | 广东欧珀移动通信有限公司 | Song word display method and mobile terminal |
-
2017
- 2017-05-05 CN CN201710313736.8A patent/CN107203597A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024166A (en) * | 2012-12-03 | 2013-04-03 | 广东欧珀移动通信有限公司 | Mobile phone capable of displaying lyrics on turn-off screen and method thereof |
CN103559731A (en) * | 2013-10-29 | 2014-02-05 | 腾讯科技(深圳)有限公司 | Method and terminal for displaying lyrics under screen locking state |
CN105867759A (en) * | 2015-12-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Operation method and apparatus in screen-locking mode |
CN106205657A (en) * | 2016-07-27 | 2016-12-07 | 腾讯科技(深圳)有限公司 | A kind of lyric display method and device |
CN106407370A (en) * | 2016-09-09 | 2017-02-15 | 广东欧珀移动通信有限公司 | Song word display method and mobile terminal |
CN106406670A (en) * | 2016-09-26 | 2017-02-15 | 维沃移动通信有限公司 | A lyric image generating method and a mobile terminal |
Non-Patent Citations (1)
Title |
---|
阚永彪等: "《电脑现代办公高手成长手册》", 30 June 2009 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679375A (en) * | 2017-09-30 | 2018-02-09 | 苏州亿科赛卓电子科技有限公司 | A kind of mobile terminal password unlocks picture exhibition method and device |
WO2019127899A1 (en) * | 2017-12-28 | 2019-07-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and device for addition of song lyrics |
CN108228903A (en) * | 2018-02-08 | 2018-06-29 | 广州酷狗计算机科技有限公司 | The method and apparatus for obtaining lyrics data |
CN108509106A (en) * | 2018-03-21 | 2018-09-07 | 北京酷我科技有限公司 | A kind of method positioned after desktop lyrics movement |
CN112445539A (en) * | 2019-09-02 | 2021-03-05 | 珠海市魅族科技有限公司 | Method, device, electronic equipment and storage medium for identifying disguised music playing |
CN111381753A (en) * | 2020-03-17 | 2020-07-07 | 维沃移动通信有限公司 | Multimedia file playing method and electronic equipment |
CN112616084A (en) * | 2020-12-10 | 2021-04-06 | 广州酷狗计算机科技有限公司 | Lyric display method, device, terminal and storage medium |
CN112616084B (en) * | 2020-12-10 | 2022-11-22 | 广州酷狗计算机科技有限公司 | Lyric display method, device, terminal and storage medium |
CN113407103A (en) * | 2021-06-25 | 2021-09-17 | 青岛海信移动通信技术股份有限公司 | Music playing control method and terminal equipment |
CN113407103B (en) * | 2021-06-25 | 2023-09-26 | 青岛海信移动通信技术有限公司 | Music playing control method and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107203597A (en) | The display methods and device of the lyrics under a kind of screen lock state | |
US20190097815A1 (en) | Collaborative document editing | |
CN104166689B (en) | The rendering method and device of e-book | |
CN107918653A (en) | A kind of intelligent playing method and device based on hobby feedback | |
CN101449538A (en) | Text to grammar enhancements for media files | |
WO2022142772A1 (en) | Lyric processing method and apparatus | |
CN109194644A (en) | Sharing method, device, server and the storage medium of network works | |
CN106571136A (en) | Voice output device and method | |
CN111491211B (en) | Video processing method, video processing device and electronic equipment | |
CN104898821B (en) | The method and electronic equipment of a kind of information processing | |
CN105068976A (en) | Ticket information exhibition method and device | |
CN109657236A (en) | Guidance information acquisition methods, device, electronic device and storage medium | |
CN104468840A (en) | Audio pushing method, device and system | |
CN104754421A (en) | Interactive beat effect system and interactive beat effect processing method | |
CN106789551A (en) | Conversation message methods of exhibiting and device | |
CN109144285A (en) | A kind of input method and device | |
EP3074978B1 (en) | Interactive media system | |
CN107566769B (en) | A kind of video recording method and mobile terminal | |
CN110808019A (en) | Song generation method and electronic equipment | |
CN112632906A (en) | Lyric generation method, device, electronic equipment and computer readable storage medium | |
CN107688477A (en) | The treating method and apparatus of setting option, the device for setting option processing | |
CN113177419B (en) | Text rewriting method and device, storage medium and electronic equipment | |
CN107220309A (en) | Obtain the method and device of multimedia file | |
CN106599059A (en) | Method and device for adding songs | |
CN112286421A (en) | Playlist processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170926 |
|
RJ01 | Rejection of invention patent application after publication |