CN108228903A - The method and apparatus for obtaining lyrics data - Google Patents

The method and apparatus for obtaining lyrics data Download PDF

Info

Publication number
CN108228903A
CN108228903A CN201810127928.4A CN201810127928A CN108228903A CN 108228903 A CN108228903 A CN 108228903A CN 201810127928 A CN201810127928 A CN 201810127928A CN 108228903 A CN108228903 A CN 108228903A
Authority
CN
China
Prior art keywords
song
lyrics data
audio
equipment
songs
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
Application number
CN201810127928.4A
Other languages
Chinese (zh)
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201810127928.4A priority Critical patent/CN108228903A/en
Publication of CN108228903A publication Critical patent/CN108228903A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/685Retrieval 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of method and apparatus for obtaining lyrics data, belong to field of computer technology.The method includes:Inquire the audio playlist of this equipment or the audio play-back application in described equipment, obtain list of songs, inquire the lyrics data information stored in described equipment, the lyrics data information includes the corresponding song identity of lyrics data stored in described equipment, song identity in song in the list of songs and the lyrics data information is matched, by the unpaired song to corresponding song identity in the list of songs, it is determined as target song, the acquisition that the lyrics data for obtaining target song is sent to server is asked, wherein, the song identity of the target song is carried in the acquisition request of the lyrics data, receive and store the lyrics data that the server is sent.Using the present invention, network can not be accessed when playing song, lyrics data can also be got.

Description

The method and apparatus for obtaining lyrics data
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus for obtaining lyrics data.
Background technology
With the development of computer technology and network technology, user can install audio play-back application in the terminal, By operating audio play-back application, the audio data of song is downloaded from the background server of audio play-back application.So Afterwards user can with control terminal play song, terminal play song audio data process, can also show song simultaneously Lyrics data.
In the relevant technologies, the acquisition process of the lyrics data of song is:When starting to play certain song, terminal can be from The background server of audio play-back application obtains the lyrics data of the song.In this way, when playing song, if do not had Network or network congestion are accessed, then can lead to lyrics data failed download, and then can lead to not show lyrics data.
Invention content
In order to solve problem of the prior art, an embodiment of the present invention provides a kind of methods and dress for obtaining lyrics data It puts.The technical solution is as follows:
In a first aspect, a kind of method for obtaining lyrics data is provided, the method includes:
The audio playlist of this equipment or the audio play-back application in described equipment is inquired, obtains song row Table;
The lyrics data information stored in described equipment is inquired, the lyrics data information includes depositing in described equipment The corresponding song identity of lyrics data of storage;
Song identity in song in the list of songs and the lyrics data information is matched, by the song The unpaired song to corresponding song identity in Qu Liebiao, is determined as target song;
The acquisition that the lyrics data for obtaining the target song is sent to server is asked, wherein, the lyrics data Obtain the song identity that the target song is carried in request;
Receive and store the lyrics data that the server is sent.
Optionally, the audio playlist for inquiring this equipment or the audio play-back application in described equipment, List of songs is obtained, including:
When detecting that audio play-back application starts, the audio inquired in this equipment or described equipment plays application The audio playlist of program, obtains list of songs.
Optionally, it is described when detecting that audio play-back application starts, it inquires in this equipment or described equipment The audio playlist of audio play-back application, obtains list of songs, including:
When detecting that audio play-back application starts, and when the network of this equipment access is wireless network, described in inquiry The audio playlist of this equipment or the audio play-back application in described equipment, obtains list of songs.
In this way, the mobile data flow of user can be saved.
Optionally, the audio playlist for inquiring this equipment or the audio play-back application in described equipment, List of songs is obtained, including:
When the network for detecting the access of this equipment switches to wireless network from mobile data network, described equipment is inquired Or the audio playlist of the audio play-back application in described equipment, obtain list of songs.
In this way, the mobile data flow of user can be saved.
Optionally, the lyrics data information stored in described equipment of the inquiry, including:
From the corresponding file information table of the audio play-back application, the lyrics data stored in described equipment is inquired Information.
In this way, lyrics data information can be rapidly obtained.
Second aspect, provides a kind of device for obtaining lyrics data, and described device includes:
First enquiry module plays for inquiring the audio of the audio play-back application in this equipment or described equipment List obtains list of songs;
Second enquiry module, for inquiring the lyrics data information stored in described equipment, the lyrics data information Including the corresponding song identity of lyrics data stored in described equipment;
Determining module, for the song identity in the song in the list of songs and the lyrics data information to be carried out Pairing, by the unpaired song to corresponding song identity in the list of songs, is determined as target song;
Sending module is asked for sending the acquisition for the lyrics data for obtaining the target song to server, wherein, institute State the song identity that the target song is carried in the acquisition request of lyrics data;
Receiving module, for receiving and storing the lyrics data that the server is sent.
Optionally, first enquiry module, is used for:
When detecting that audio play-back application starts, the audio inquired in this equipment or described equipment plays application The audio playlist of program, obtains list of songs.
Optionally, the first enquiry module is used for:
When detecting that audio play-back application starts, and when the network of this equipment access is wireless network, described in inquiry The audio playlist of this equipment or the audio play-back application in described equipment, obtains list of songs.
Optionally, the first enquiry module is used for:
When the network for detecting the access of this equipment switches to wireless network from mobile data network, described equipment is inquired Or the audio playlist of the audio play-back application in described equipment, obtain list of songs.
Optionally, the second enquiry module is used for:
From the corresponding file information table of the audio play-back application, the lyrics data stored in described equipment is inquired Information.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, since terminal can automatically download lyrics data rather than when playing song, under The lyrics data of the song is carried, so even if network can not be accessed when playing song, lyrics data can also be got.
Description of the drawings
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, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 a are a kind of schematic diagram of a scenario for obtaining lyrics data provided in an embodiment of the present invention;
Fig. 1 b are a kind of method flow schematic diagrams for obtaining lyrics data provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of lyrics data option provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of lyrics data option provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of device for obtaining lyrics data provided in an embodiment of the present invention;
Fig. 5 is a kind of structure 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.
An embodiment of the present invention provides a kind of methods for obtaining lyrics data, and the executive agent of this method can be terminal. Terminal can be equipped with audio play-back application with mobile phone, tablet etc. in terminal, for playing song, can be set in the terminal It is equipped with processor, memory, transceiver etc., processor can be used for obtaining the processing of the process of lyrics data, and memory can be with For storing the data for obtaining the data needed during lyrics data and generation, transceiver can be used for receiving and transmitting Data are also provided with input-output equipment such as screen etc. in terminal, and screen is displayed for lyrics data etc., and screen can To be touch control screen.Detailed description in the present embodiment by terminal to carry out scheme for mobile phone, other situations are similar therewith, The present embodiment is not repeated.
Before being implemented, the definition of lyrics data is introduced first, and lyrics data includes lyrics content and the lyrics In each character play time.
As shown in Figure 1a, the application scenarios of the embodiment of the present invention are introduced, terminal is determining to need to download lyrics data Target song after, can to server send lyrics data acquisition ask, server can be based on obtain request search song Word data, then send lyrics data to terminal, and terminal is preserved.
As shown in Figure 1 b, the process flow of this method can be as follows:
Step 101, the audio playlist of the audio play-back application in this equipment or this equipment is inquired, obtains song List.
Wherein, this equipment refers to the terminal in the embodiment of the present invention, and audio playlist refers to the audio of all audios in terminal The playlist of composition is identified, there is the scheduled song for prompting to preserve in audio and terminal, song in terminal in these audios List refers to the playlist being only made of the song identity of song.
In force, user wants to listen song, can install audio play-back application in the terminal, and open audio Play-back application listens song or caching song to terminal online.Follow-up, terminal can scan all sounds in this equipment The audio identification of these audios is formed audio played column by the corresponding audio of audio play-back application on frequency or this equipment Then table therefrom determines the song identity of song, these song identities are formed list, have just obtained list of songs.
Optionally, list of songs, corresponding step 101 can be obtained when detecting that audio play-back application starts Processing can be as follows:
When detecting that audio play-back application starts, the audio play-back application in this equipment or this equipment is inquired Audio playlist, obtain list of songs.
In force, terminal can monitor whether audio play-back application starts by system program, in system program When monitoring the operation of audio play-back application every time, it may be determined that audio play-back application starts, and then terminal can be swept The corresponding audio of audio play-back application in all audios or this equipment in this equipment is retouched, by the audio mark of these audios Know composition audio playlist, then therefrom determine the song identity of song, these song identities are formed into list, are just obtained List of songs.
Optionally, in order to save the mobile data flow of user, audio play-back application is being detected, and detect and connect When entering wireless network, list of songs is just obtained, corresponding processing can be as follows:
When detect audio play-back application start, and this equipment access network be wireless network when, inquiry originally set The audio playlist of audio play-back application in standby or this equipment, obtains list of songs.
In force, terminal can monitor whether audio play-back application starts by system program, in system program When monitoring the operation of audio play-back application every time, it may be determined that audio play-back application starts, and terminal can determine to work as The network of itself preceding access, if the network of access is wireless network, can scan all audios in this equipment or originally set The audio identification of these audios is formed audio playlist, Ran Houcong by the standby upper corresponding audio of audio play-back application In determine the song identity of song, these song identities are formed into list, have just obtained list of songs.
Specifically, the method for determining song identity from audio identification can be:General song identity can be corresponding with singer, It can be determined that the audio identification for having singer is song identity.
Optionally, in order to save the mobile data flow of user, when detecting access wireless network, just obtain song row Table, corresponding processing can be as follows:
When the network for detecting the access of this equipment switches to wireless network from mobile data network, this equipment or sheet are inquired The audio playlist of audio play-back application in equipment, obtains list of songs.
In force, terminal can detect the network of itself access, when detecting the network of itself access from mobile data During network switching to wireless network, the audio that terminal can be scanned in all audios or this equipment in this equipment is played using journey The audio identification of these audios is formed audio playlist, then therefrom determines the song mark of song by the corresponding audio of sequence Know, these song identities are formed into list, have just obtained list of songs.
In addition, terminal can also obtain list of songs when detecting that this equipment accesses wireless network.
In force, terminal can scan all sounds in this equipment after itself access wireless network is detected The audio identification of these audios is formed audio played column by the corresponding audio of audio play-back application on frequency or this equipment Then table therefrom determines the song identity of song, these song identities are formed list, have just obtained list of songs.
In addition, obtaining list of songs can also be the download period for reaching lyrics data, corresponding processing can be as follows:
When detection reaches the download period of lyrics data, the audio inquired in this equipment or this equipment is played using journey The audio playlist of sequence, obtains list of songs.
Wherein, download period can be preset by technical staff, and be stored to terminal, such as 24 hours, 12 hours.
In force, terminal can record current time point, from this when first time using audio play-back application At time point, whenever the download period for reaching lyrics data, terminal can scan all audios in this equipment or originally set The audio identification of these audios is formed audio playlist, Ran Houcong by the standby upper corresponding audio of audio play-back application In determine the song identity of song, these song identities are formed into list, have just obtained list of songs.
Step 102, the lyrics data information stored in this equipment is inquired.
Wherein, lyrics data information includes the corresponding song identity of lyrics data stored in terminal, believes in lyrics data Breath includes some song identity, illustrates to be stored with the lyrics data of the corresponding song of the song identity in the terminal.
In force, for terminal after list of songs is obtained, terminal can obtain the lyrics data information of itself storage.
Optionally, terminal can inquire lyrics data information, accordingly from the file information table of audio play-back application Processing can be as follows:
From the corresponding file information table of audio play-back application, the lyrics data information stored in this equipment is inquired.
Wherein, file information table is that each application program setting is corresponded in terminal, is used to indicate the file of application program Storing directory information, such as application program is audio play-back application, and record has every in song files in file information table The corresponding storage address of audio data of song and the storage address of lyrics data etc., specifically song identity, song The storage address of audio data and the correspondence of the storage address three of lyrics data, if certain song does not have lyrics number According to then the storage address of lyrics data is sky.
In force, after terminal obtains list of songs, the corresponding file information table of audio play-back application can be obtained, Then from file information table, the song identity of song data is found, these song identities constitute lyrics data information.
Step 103, the song identity in the song in list of songs and lyrics data information is matched, song is arranged The unpaired song to corresponding song identity in table, is determined as target song.
In force, after terminal gets list of songs and lyrics data information, list of songs includes owning in terminal The song identity of song, lyrics data information include the song identity that terminal storage has the song of lyrics data, and terminal can be with It is matched using the song identity in the song identity and lyrics data information of the song in list of songs, if list of songs In the song identity of some song do not found in lyrics data information and (be not that is stored with the song in terminal Song data), it is determined that it is target song to go out the song, can thus determine the song of no lyrics data.
Step 104, the acquisition for the lyrics data for obtaining target song being sent to server is asked.
Wherein, the song identity of target song is carried in the acquisition request of lyrics data.
In force, for terminal after target song is determined, terminal can generate the lyrics data of acquisition target song Obtain request, and wherein carry target song song identity, then to the background server of audio play-back application (after It is continuous to be referred to as server) send acquisition request.After server receives acquisition request, can parse the acquisition please It asks, the song identity of target song is obtained from wherein parsing, then using the song identity of target song, from the lyrics number of storage According to the corresponding lyrics data of target song in library, is searched, if whois lookup, to the lyrics data of target song, server can To send the lyrics data of target song to terminal, wherein, it is stored with database of song lyrics in server, the song in database of song lyrics Word data can be prestored by technical staff.
In addition, if server does not find the lyrics data of target song, server can send to terminal and search The notice of failure.
Step 105, the lyrics data of server transmission is received and stored.
In force, terminal can receive the lyrics data of server transmission, then store lyrics data to corresponding Position.In this way, when user opens audio play-back application and listens song, terminal is when playing song, directly from local acquisition Lyrics data, without being downloaded.
In addition, after the lyrics data that terminal is sent in storage server, terminal can be corresponded in audio play-back application File information table in, the song identity of corresponding target song adds the storage address of lyrics data, represents that target song has song Word data.
In addition, in the embodiment of the present invention, download condition (the namely triggering execution of user setting lyrics data is additionally provided Step 101 to the processing procedure of step 105 condition) method, corresponding processing can be as follows:
Technical staff can add lyrics data option in audio play-back application, specifically can be with lyrics data option It could be provided as the drop-down option of setting options.
User wants to set up the download condition of song data, can open audio play-back application, then clicks setting Option, terminal can then detect the click commands of setting options, as shown in Fig. 2, then showing multiple drop-downs choosing of setting options .User can click lyrics data option, and terminal can then detect the click commands of lyrics data option, then show multiple Condition options are downloaded, as shown in figure 3, such as application program launching, switching to wireless network, accessing wireless network, user can be with One of those is selected, is clicked, terminal can then receive corresponding click commands, then will click on the corresponding download of instruction Condition is determined as the download condition of lyrics data.For example, user clicks application program launching, terminal can then detect application The click commands that program starts, then by application program launching, are determined as the download condition of lyrics data.
In addition, under lyrics data option, custom option is also provided with, user can click custom option, defeated Enter the download condition of lyrics data.
If it should be noted that in step 103, do not determine the song in target song, that is, list of songs Song is all corresponding with lyrics data, and terminal can terminate flow.
In the embodiment of the present invention, since terminal can automatically download lyrics data rather than when playing song, under The lyrics data of the song is carried, so even if network can not be accessed when playing song, lyrics data can also be got.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of device for obtaining lyrics data, such as Fig. 4 institutes Show, which includes:
First enquiry module 410, for inquiring the audio of the audio play-back application in this equipment or described equipment Playlist obtains list of songs;
Second enquiry module 420, for inquiring the lyrics data information stored in described equipment, the lyrics data letter Breath includes the corresponding song identity of lyrics data stored in described equipment;
Determining module 430, for by the song identity in the song in the list of songs and the lyrics data information It is matched, by the unpaired song to corresponding song identity in the list of songs, is determined as target song;
Sending module 440 is asked for sending the acquisition for the lyrics data for obtaining the target song to server, In, the lyrics data obtains the song identity that the target song is carried in request;
Receiving module 450, for receiving and storing the lyrics data that the server is sent.
Optionally, first enquiry module 410, is used for:
When detecting that audio play-back application starts, the audio inquired in this equipment or described equipment plays application The audio playlist of program, obtains list of songs.
Optionally, the first enquiry module 410, is used for:
When detecting that audio play-back application starts, and when the network of this equipment access is wireless network, described in inquiry The audio playlist of this equipment or the audio play-back application in described equipment, obtains list of songs.
Optionally, the first enquiry module 410, is used for:
When the network for detecting the access of this equipment switches to wireless network from mobile data network, described equipment is inquired Or the audio playlist of the audio play-back application in described equipment, obtain list of songs.
Optionally, the second enquiry module 420, is used for:
From the corresponding file information table of the audio play-back application, the lyrics data stored in described equipment is inquired Information.
In the embodiment of the present invention, since terminal can automatically download lyrics data rather than when playing song, under The lyrics data of the song is carried, so even if network can not be accessed when playing song, lyrics data can also be got.
It should be noted that:Above-described embodiment provide acquisition lyrics data device when obtaining lyrics data, only with The division progress of above-mentioned each function module, can be as needed and by above-mentioned function distribution by not for example, in practical application Same function module is completed, i.e., the internal structure of device is divided into different function modules, to complete whole described above Or partial function.In addition, the device for the acquisition lyrics data that above-described embodiment provides is implemented with obtaining the method for lyrics data Example belongs to same design, and specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 5 shows the structure diagram for the terminal 500 that an illustrative embodiment of the invention provides.The terminal 500 can be with It is:Smart mobile phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, Dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 500 be also possible to by Referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 500 includes:Processor 501 and memory 502.
Processor 501 can include one or more processing cores, such as 4 core processors, 8 core processors etc..Place DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 501 Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 501 can also include primary processor and coprocessor, main Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state. In some embodiments, processor 501 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 501 can also wrap AI (Artificial Intelligence, artificial intelligence) processor is included, which is used to handle related machine learning Calculating operation.
Memory 502 can include one or more computer readable storage mediums, which can To be non-transient.Memory 502 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 502 can Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 501 Please in embodiment of the method provide acquisition lyrics data method.
In some embodiments, terminal 500 is also optional includes:Peripheral device interface 503 and at least one peripheral equipment. It can be connected between processor 501, memory 502 and peripheral device interface 503 by bus or signal wire.Each peripheral equipment It can be connected by bus, signal wire or circuit board with peripheral device interface 503.Specifically, peripheral equipment includes:Radio circuit 504th, at least one of touch display screen 505, camera 506, voicefrequency circuit 507, positioning component 508 and power supply 509.
Peripheral device interface 503 can be used for I/O (Input/Output, input/output) is relevant at least one outer Peripheral equipment is connected to processor 501 and memory 502.In some embodiments, processor 501, memory 502 and peripheral equipment Interface 503 is integrated on same chip or circuit board;In some other embodiments, processor 501, memory 502 and outer Any one or two in peripheral equipment interface 503 can realize on individual chip or circuit board, the present embodiment to this not It is limited.
Radio circuit 504 is used to receive and emit RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates Frequency circuit 504 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 504 turns electric signal It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 504 wraps It includes:Antenna system, RF transceivers, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip Group, user identity module card etc..Radio circuit 504 can be carried out by least one wireless communication protocol with other terminals Communication.The wireless communication protocol includes but not limited to:Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 504 may be used also To include the related circuits of NFC (Near Field Communication, wireless near field communication), the application is not subject to this It limits.
Display screen 505 is used to show UI (User Interface, user interface).The UI can include figure, text, figure Mark, video and its their arbitrary combination.When display screen 505 is touch display screen, display screen 505 also there is acquisition to show The surface of screen 505 or the ability of the touch signal of surface.The touch signal can be used as control signal to be input to processor 501 are handled.At this point, display screen 505 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or Soft keyboard.In some embodiments, display screen 505 can be one, set the front panel of terminal 500;In other embodiments In, display screen 505 can be at least two, be separately positioned on the different surfaces of terminal 500 or in foldover design;In still other reality It applies in example, display screen 505 can be flexible display screen, be arranged on the curved surface of terminal 500 or on fold plane.Even, it shows Display screen 505 can also be arranged to non-rectangle irregular figure namely abnormity screen.LCD (Liquid may be used in display screen 505 Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) Etc. materials prepare.
CCD camera assembly 506 is used to acquire image or video.Optionally, CCD camera assembly 506 include front camera and Rear camera.In general, front camera is arranged on the front panel of terminal, rear camera is arranged on the back side of terminal.One In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are clapped Camera shooting function.In some embodiments, CCD camera assembly 506 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, It can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not With the light compensation under colour temperature.
Voicefrequency circuit 507 can include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and will Sound wave, which is converted to electric signal and is input to processor 501, is handled or is input to radio circuit 504 to realize voice communication. For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of terminal 500.Mike Wind can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 501 or radio circuit will to be come from 504 electric signal is converted to sound wave.Loud speaker can be traditional wafer speaker or piezoelectric ceramic loudspeaker.When When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications The sound wave that the mankind do not hear number is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 507 can also include Earphone jack.
Positioning component 508 is used for the current geographic position of positioning terminal 500, to realize navigation or LBS (Location Based Service, location based service).Positioning component 508 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 509 is used to be powered for the various components in terminal 500.Power supply 509 can be alternating current, direct current, Disposable battery or rechargeable battery.When power supply 509 includes rechargeable battery, which can support wired charging Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 500 further include there are one or multiple sensors 510.The one or more sensors 510 include but not limited to:Acceleration transducer 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, Optical sensor 515 and proximity sensor 516.
The acceleration that acceleration transducer 511 can be detected in three reference axis of the coordinate system established with terminal 500 is big It is small.For example, acceleration transducer 511 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 501 can With the acceleration of gravity signal acquired according to acceleration transducer 511, control touch display screen 505 is regarded with transverse views or longitudinal direction Figure carries out the display of user interface.Acceleration transducer 511 can be also used for game or the acquisition of the exercise data of user.
Gyro sensor 512 can be with the body direction of detection terminal 500 and rotational angle, and gyro sensor 512 can Acquisition user to be cooperateed with to act the 3D of terminal 500 with acceleration transducer 511.Processor 501 is according to gyro sensor 512 The data of acquisition can implement function such as:When action induction (for example changing UI according to the tilt operation of user), shooting Image stabilization, game control and inertial navigation.
Pressure sensor 513 can be arranged on the side frame of terminal 500 and/or the lower floor of touch display screen 505.Work as pressure When sensor 513 is arranged on the side frame of terminal 500, gripping signal of the user to terminal 500 can be detected, by processor 501 Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 513 acquires.When pressure sensor 513 is arranged on During the lower floor of touch display screen 505, the pressure operation of touch display screen 505 is realized to UI circle according to user by processor 501 Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu At least one of control.
Fingerprint sensor 514 is used to acquire the fingerprint of user, collected according to fingerprint sensor 514 by processor 501 The identity of fingerprint recognition user, alternatively, by fingerprint sensor 514 according to the identity of collected fingerprint recognition user.It is identifying When the identity for going out user is trusted identity, the user is authorized to perform relevant sensitive operation, the sensitive operation packet by processor 501 Solution lock screen is included, encryption information is checked, downloads software, payment and change setting etc..Terminal can be set in fingerprint sensor 514 500 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 500, fingerprint sensor 514 can be with It is integrated with physical button or manufacturer Logo.
Optical sensor 515 is used to acquire ambient light intensity.In one embodiment, processor 501 can be according to optics The ambient light intensity that sensor 515 acquires controls the display brightness of touch display screen 505.Specifically, when ambient light intensity is higher When, the display brightness of height-regulating touch display screen 505;When ambient light intensity is relatively low, the display for turning down touch display screen 505 is bright Degree.In another embodiment, the ambient light intensity that processor 501 can also be acquired according to optical sensor 515, dynamic adjust The acquisition parameters of CCD camera assembly 506.
Proximity sensor 516, also referred to as range sensor are generally arranged at the front panel of terminal 500.Proximity sensor 516 For acquiring the distance between user and the front of terminal 500.In one embodiment, when proximity sensor 516 detects use When the distance between family and the front of terminal 500 taper into, touch display screen 505 is controlled from bright screen state by processor 501 It is switched to breath screen state;When proximity sensor 516 detects that the distance between user and the front of terminal 500 become larger, Touch display screen 505 is controlled to be switched to bright screen state from breath screen state by processor 501.
It will be understood by those skilled in the art that the restriction of the structure shown in Fig. 5 not structure paired terminal 500, can wrap It includes and either combines certain components or using different component arrangements than illustrating more or fewer components.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (10)

  1. A kind of 1. method for obtaining lyrics data, which is characterized in that the method includes:
    The audio playlist of this equipment or the audio play-back application in described equipment is inquired, obtains list of songs;
    The lyrics data information stored in described equipment is inquired, the lyrics data information includes what is stored in described equipment The corresponding song identity of lyrics data;
    Song identity in song in the list of songs and the lyrics data information is matched, the song is arranged The unpaired song to corresponding song identity in table, is determined as target song;
    The acquisition that the lyrics data for obtaining the target song is sent to server is asked, wherein, the acquisition of the lyrics data The song identity of the target song is carried in request;
    Receive and store the lyrics data that the server is sent.
  2. 2. according to the method described in claim 1, it is characterized in that, the audio inquired in this equipment or described equipment is broadcast The audio playlist of application program is put, obtains list of songs, including:
    When detecting that audio play-back application starts, the audio play-back application in this equipment or described equipment is inquired Audio playlist, obtain list of songs.
  3. 3. according to the method described in claim 2, it is characterized in that, it is described when detect audio play-back application start when, The audio playlist of this equipment or the audio play-back application in described equipment is inquired, obtains list of songs, including:
    When detect audio play-back application start, and this equipment access network be wireless network when, inquiry described set The audio playlist of audio play-back application in standby or described equipment, obtains list of songs.
  4. 4. according to the method described in claim 1, it is characterized in that, the audio inquired in this equipment or described equipment is broadcast The audio playlist of application program is put, obtains list of songs, including:
    When the network for detecting the access of this equipment switches to wireless network from mobile data network, described equipment or institute are inquired The audio playlist of the audio play-back application in this equipment is stated, obtains list of songs.
  5. 5. method according to any one of claims 1 to 4, which is characterized in that the song stored in described equipment of the inquiry Word data information, including:
    From the corresponding file information table of the audio play-back application, the lyrics data letter stored in described equipment is inquired Breath.
  6. 6. a kind of device for obtaining lyrics data, which is characterized in that described device includes:
    First enquiry module, for inquiring the audio played column of the audio play-back application in this equipment or described equipment Table obtains list of songs;
    Second enquiry module, for inquiring the lyrics data information stored in described equipment, the lyrics data information includes The corresponding song identity of lyrics data stored in described equipment;
    Determining module, for the song identity in the song in the list of songs and the lyrics data information to be matched It is right, by the unpaired song to corresponding song identity in the list of songs, it is determined as target song;
    Sending module is asked for sending the acquisition for the lyrics data for obtaining the target song to server, wherein, the song The song identity of the target song is carried in the acquisition request of word data;
    Receiving module, for receiving and storing the lyrics data that the server is sent.
  7. 7. device according to claim 6, which is characterized in that first enquiry module is used for:
    When detecting that audio play-back application starts, the audio play-back application in this equipment or described equipment is inquired Audio playlist, obtain list of songs.
  8. 8. device according to claim 7, which is characterized in that the first enquiry module is used for:
    When detect audio play-back application start, and this equipment access network be wireless network when, inquiry described set The audio playlist of audio play-back application in standby or described equipment, obtains list of songs.
  9. 9. device according to claim 6, which is characterized in that the first enquiry module is used for:
    When the network for detecting the access of this equipment switches to wireless network from mobile data network, described equipment or institute are inquired The audio playlist of the audio play-back application in this equipment is stated, obtains list of songs.
  10. 10. according to any device of claim 6 to 9, which is characterized in that the second enquiry module is used for:
    From the corresponding file information table of the audio play-back application, the lyrics data letter stored in described equipment is inquired Breath.
CN201810127928.4A 2018-02-08 2018-02-08 The method and apparatus for obtaining lyrics data Pending CN108228903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810127928.4A CN108228903A (en) 2018-02-08 2018-02-08 The method and apparatus for obtaining lyrics data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810127928.4A CN108228903A (en) 2018-02-08 2018-02-08 The method and apparatus for obtaining lyrics data

Publications (1)

Publication Number Publication Date
CN108228903A true CN108228903A (en) 2018-06-29

Family

ID=62671026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810127928.4A Pending CN108228903A (en) 2018-02-08 2018-02-08 The method and apparatus for obtaining lyrics data

Country Status (1)

Country Link
CN (1) CN108228903A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046218A (en) * 2019-12-12 2020-04-21 洪泰智造(青岛)信息技术有限公司 Audio acquisition method, device and system based on screen locking state

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452726A (en) * 2008-11-15 2009-06-10 康佳集团股份有限公司 Multimedia playing system and method capable of downloading and displaying lyric
CN102932366A (en) * 2012-11-14 2013-02-13 腾讯科技(深圳)有限公司 Method and device for managing multimedia resource, and player
CN103137167A (en) * 2013-01-21 2013-06-05 青岛海信宽带多媒体技术有限公司 Method for playing music and music player
CN106815230A (en) * 2015-11-27 2017-06-09 腾讯科技(深圳)有限公司 Lyrics page generation method and device
CN107203597A (en) * 2017-05-05 2017-09-26 青岛海信移动通信技术股份有限公司 The display methods and device of the lyrics under a kind of screen lock state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452726A (en) * 2008-11-15 2009-06-10 康佳集团股份有限公司 Multimedia playing system and method capable of downloading and displaying lyric
CN102932366A (en) * 2012-11-14 2013-02-13 腾讯科技(深圳)有限公司 Method and device for managing multimedia resource, and player
CN103137167A (en) * 2013-01-21 2013-06-05 青岛海信宽带多媒体技术有限公司 Method for playing music and music player
CN106815230A (en) * 2015-11-27 2017-06-09 腾讯科技(深圳)有限公司 Lyrics page generation method and device
CN107203597A (en) * 2017-05-05 2017-09-26 青岛海信移动通信技术股份有限公司 The display methods and device of the lyrics under a kind of screen lock state

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046218A (en) * 2019-12-12 2020-04-21 洪泰智造(青岛)信息技术有限公司 Audio acquisition method, device and system based on screen locking state

Similar Documents

Publication Publication Date Title
CN109451343A (en) Video sharing method, apparatus, terminal and storage medium
CN109657165A (en) Method for page jump and device
CN109327608A (en) Method, terminal, server and the system that song is shared
CN110491358A (en) Carry out method, apparatus, equipment, system and the storage medium of audio recording
CN108093307A (en) Obtain the method and system of played file
CN108174274A (en) Virtual objects presentation method, device and storage medium
CN108881286A (en) Method, terminal, sound-box device and the system of multimedia control
CN109922356A (en) Video recommendation method, device and computer readable storage medium
WO2021139535A1 (en) Method, apparatus and system for playing audio, and device and storage medium
CN110248236A (en) Video broadcasting method, device, terminal and storage medium
CN109346111A (en) Data processing method, device, terminal and storage medium
CN109684278A (en) File acquisition method, device, terminal and storage medium
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN107896337A (en) Information popularization method, apparatus and storage medium
CN110266982A (en) The method and system of song is provided in recorded video
CN108319712A (en) The method and apparatus for obtaining lyrics data
CN111402844B (en) Song chorus method, device and system
CN109800003A (en) Using method for down loading, device, terminal and storage medium
CN110234036A (en) A kind of method, apparatus and system playing multimedia file
CN110213624A (en) The method and apparatus of online interaction
CN110244999A (en) Control method, apparatus, equipment and the storage medium of destination application operation
CN109783176A (en) Switch the method and apparatus of the page
CN109547847A (en) Add the method, apparatus and computer readable storage medium of video information
CN110309348A (en) Playback of songs method, apparatus and system
CN108228903A (en) The method and apparatus for obtaining lyrics data

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: 20180629

RJ01 Rejection of invention patent application after publication