CN106021309A - Lyric display method and device - Google Patents

Lyric display method and device Download PDF

Info

Publication number
CN106021309A
CN106021309A CN201610292309.1A CN201610292309A CN106021309A CN 106021309 A CN106021309 A CN 106021309A CN 201610292309 A CN201610292309 A CN 201610292309A CN 106021309 A CN106021309 A CN 106021309A
Authority
CN
China
Prior art keywords
lyrics
content data
regulation
displays content
display
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
CN201610292309.1A
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 CN201610292309.1A priority Critical patent/CN106021309A/en
Publication of CN106021309A publication Critical patent/CN106021309A/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a lyric display method and device, and belongs to the technical field of computers. The lyric display method includes: receiving a lyric display command of a target application program to a target song; acquiring lyrics of the target song; calling a browser control of a system program; escaping the lyrics based on a hypertext markup language HTML label included in the lyrics of the target song so as to acquire display content data of the lyrics; and displaying the lyrics based on the display content data of the lyrics. The lyric display method and device can improve the efficiency of lyric browsing of a user.

Description

A kind of method and apparatus showing the lyrics
Technical field
The present invention relates to field of computer technology, particularly to a kind of method and apparatus showing the lyrics.
Background technology
Along with computer technology and the development of network technology, various music are shared application program and are gradually caused user Extensive concern, user in music shares application program, can turn over sing others song and creation song Bent.
User is in music shares application program, when turning over song or the creation of song singing others, it is desirable to first for certain Song uploads the lyrics of coupling, can be input to by the lyrics in lyrics editing frame, then upload.When it When he user wants the lyrics browsing this song, music can be triggered and share application program from background server Obtain the lyrics, and show.In the prior art, if the lyrics that user uploads are to paste from webpage Come, then the lyrics can comprise content of text and for reflecting the HTML (Hyper of the form of content of text Text Markup Language, HTML) label, such as<HTML><B>(font-weight) Deng.
During realizing the present invention, inventor finds that prior art at least there is problems in that
When other users want lyrics browsing, display lyrics option can be clicked on, trigger music and share application Program obtains the lyrics from background server, and the lyrics that acquisition comprises html tag directly show. So, html tag shows in the lyrics, and user needs to distinguish the lyrics and html tag, thus affects The efficiency of user's lyrics browsing.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method showing the lyrics and dress Put.Described technical scheme is as follows:
First aspect, it is provided that a kind of method showing the lyrics, described method includes:
Receive the lyrics idsplay order to target song in destination application, obtain the song of described target song Word;
The browser control part of calling system program, the hypertext mark comprised in the lyrics based on described target song The described lyrics are carried out escape, obtain the displays content data of the described lyrics by note language html tag;
Displays content data based on the described lyrics, show the described lyrics.
Optionally, one or more during described html tag at least includes following label: character format mark Label, background image label.
Optionally, described method also includes:
When receiving the character size regulating command of the described lyrics, determine target letter size, determine described Html tag after the regulation that target letter size is corresponding, based on the html tag after described regulation, raw Become the lyrics after regulation;
The browser control part of calling system program, based on the html tag after described regulation, to described regulation After the lyrics carry out escape, obtain the displays content data of the lyrics after described regulation;
Displays content data based on the lyrics after described regulation, show the lyrics after described regulation.
As such, it is possible to facilitate user to regulate the character size of the lyrics.
Optionally, described displays content data based on the described lyrics, show the described lyrics, including:
Displays content data based on the described lyrics, on the upper strata at the interface of described destination application, display The described lyrics.
Optionally, described displays content data based on the described lyrics, show the described lyrics, including:
Displays content data based on the described lyrics, in the interface of described destination application, display is described The lyrics.
Optionally, in described reception destination application to the lyrics idsplay order of target song after, described Method also includes:
Determine described lyrics destination display area in screen;
Described displays content data based on the described lyrics, shows the described lyrics, including:
Displays content data based on the described lyrics, at described destination display area, show the described lyrics.
Second aspect, it is provided that a kind of device showing the lyrics, described device includes:
Acquisition module, for receiving in destination application the lyrics idsplay order to target song, obtains institute State the lyrics of target song;
Meaning transferring module, in the browser control part of calling system program, the lyrics based on described target song The described lyrics are carried out escape by the HTML html tag comprised, and obtain the aobvious of the described lyrics Show content-data;
Display module, for displays content data based on the described lyrics, shows the described lyrics.
Optionally, one or more during described html tag at least includes following label: character format mark Label, background image label.
Optionally, described device also includes:
Generation module, for when receiving the character size regulating command of the described lyrics, determines target character Size, determines the html tag after the regulation that described target letter size is corresponding, after described regulation Html tag, generates the lyrics after regulation;
Described meaning transferring module, for the browser control part of calling system program, based on the HTML after described regulation The lyrics after described regulation are carried out escape by label, obtain the displays content data of the lyrics after described regulation;
Described display module, for displays content data based on the lyrics after described regulation, shows described tune The lyrics after joint.
Optionally, described display module, it is used for:
Displays content data based on the described lyrics, on the upper strata at the interface of described destination application, display The described lyrics.
Optionally, described display module, it is used for:
Displays content data based on the described lyrics, in the interface of described destination application, display is described The lyrics.
Optionally, in described reception destination application to the lyrics idsplay order of target song after, described Device also includes:
Determine module, for determining described lyrics destination display area in screen;
Described display module, is used for:
Displays content data based on the described lyrics, at described destination display area, show the described lyrics.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, terminal receives the lyrics idsplay order in destination application to target song Time, the lyrics of target song, the then browser control part of calling system program, base can be obtained to server The lyrics are carried out escape by the HTML html tag comprised in the lyrics of target song, To the displays content data of the lyrics, it is then based on the displays content data of the lyrics, shows the lyrics.So, exist The lyrics after the lyrics of display are escape on the screen of terminal, character is directly with defined in html tag Form shows, does not show that html tag, user need not distinguish between html tag and the lyrics, thus can To improve the efficiency of user's lyrics browsing.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram showing the lyrics that the embodiment of the present invention provides;
Fig. 2 is a kind of display lyrics interface schematic diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of interface schematic diagram regulating character size that the embodiment of the present invention provides;
Fig. 4 is a kind of apparatus structure schematic diagram showing the lyrics that the embodiment of the present invention provides;
Fig. 5 is a kind of apparatus structure schematic diagram showing the lyrics that the embodiment of the present invention provides;
Fig. 6 is a kind of apparatus structure schematic diagram showing the lyrics that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Embodiments providing a kind of method showing the lyrics, the executive agent of the method is terminal.Its In, terminal can be smart mobile phone, computer etc., and terminal can be provided with the application journey for lyrics browsing Sequence, such as original music application program, can be provided with processor, memorizer, screen etc. in this terminal.Place Reason device is displayed for the process of the lyrics and processes, and memorizer may be used for being stored in the mistake of the display lyrics Needing the data of storage in journey, screen is displayed for the lyrics etc., can be the screen of touch.This reality Execute in example, with terminal as mobile phone, destination application for original music application program as a example by, carry out scheme Describing in detail, other situation is similar to therewith, and the present embodiment is not repeated.
As it is shown in figure 1, the handling process of the method can comprise the following steps that
Step 101, receives the lyrics idsplay order to target song in destination application, obtains target song The lyrics.
In force, user can installation targets application program in the terminal, when user is at destination application In (can be original music application program) during the lyrics of browsing objective song, user can trigger unlatching mesh Mark application program, shows song list, ranking list, search box etc., user in the main interface of destination application The title of target song can be inputted in the search box, then click on search option, triggering terminal display target The information of song, user can click on song display option, and terminal then can receive the lyrics of target song and show Showing instruction, the lyrics that terminal sends target song to the background server of destination application obtain request, song Word obtains the title carrying target song in request.Background server is provided with data base, in data base Substantial amounts of song data can be stored, the song information that every song is corresponding, song information can be stored simultaneously Can include some out of Memory such as the lyrics, singer, album name and creation age, background server connects After receiving the lyrics acquisition request that terminal sends, the title obtaining target song, background server can be resolved According to the title of target song, find the lyrics of correspondence, then the lyrics are sent to terminal, end-on The lyrics received store, and can store to internal memory corresponding to destination application.
Step 102, the browser control part of calling system program, the super literary composition comprised in the lyrics based on target song The lyrics are carried out escape by this markup language html tag, obtain the displays content data of the lyrics.
Wherein, html tag at least includes one or more in following label: character format label, as <HTML><B>(font-weight),<HTML><U>(underscore) etc., background image label.
In force, after terminal receives the lyrics of target song, can be with the browser control of calling system program Part, when the browser control part of calling system, transmits the browser to system by the target display location of the lyrics Control.The browser control part of system may determine that the html tag comprised in the target lyrics, then according to pre- The html tag first stored and the corresponding relation of tag attributes (form defined in html tag), really Determine the tag attributes that the html tag in the lyrics is corresponding, then will comprise the lyrics of html tag according to right The tag attributes answered carries out escape, obtains the displays content data of the lyrics, and displays content data includes that target shows Show the data that in position, each pixel is to be shown.Such as, before song " star the brightest in the night sky " escape The lyrics in comprise character format label<HTML><B>,<HTML><U>, system browser control is permissible According to the corresponding relation of the html tag prestored Yu tag attributes, determine<HTML><B in the lyrics> Corresponding character overstriking,<HTML><U>corresponding character underlines, it is then determined that want the character of overstriking, and Add the character overstriking of underlined character, the most respectively overstriking, and for adding underlined character Add underscore, obtain the displays content data of the lyrics.Comprising background image label in the lyrics, system browses Device control can determine background image pixel to display according to background image label, by the picture of background image Element is converted to pixel to display.
If it addition, the address link of the background image comprised in the lyrics, the browser control part of system can add Carry the address link of background image, get background image, so the lyrics of display will not comprise Background The address link of picture.Then the browser control part of system is according to the html tag of background image, determines background Image pixel to display, is converted to pixel to display by the pixel of background image.
Step 103, displays content data based on the lyrics, show the lyrics.
In force, terminal, according to the displays content data of the lyrics obtained, to show according to each pixel Data, pixel corresponding in screen, the lyrics of display target song.As in figure 2 it is shown, song " night The brightest aerial star " lyrics before escape comprise character format label<HTML><B>,<HTML><U>, In the lyrics after escape, character is directly to show with form defined in html tag, does not show HTML Label.
Optionally, after receiving in destination application the lyrics idsplay order of target song, it may be determined that Lyrics destination display area in screen;The process of step 103 is as follows:
Displays content data based on the lyrics, at destination display area, show the lyrics.
In force, terminal receives in destination application after to the lyrics idsplay order of target song, eventually End can determine song according to the lyrics target display location of the screen size of oneself and destination application Word destination display area in screen.Terminal, can be according to aobvious after obtaining the displays content data of the lyrics Show in content-data, the data that each pixel is to be shown, at destination display area, show target song The lyrics.
Optionally, the browser control part of system controls the display lyrics, and the process of step 103 can be such that
Displays content data based on the lyrics, on the upper strata at the interface of destination application, show the lyrics.
In force, the lyrics are carried out escape by the browser control part of system, obtain the displays content data of the lyrics After, can be according to the displays content data of the lyrics, namely in target display location, each pixel to show The data shown, on the upper strata at the interface of destination application, corresponding pixel position, namely terminal The superiors of display interface, the lyrics of display target song.
Optionally, destination application controls the display lyrics, and the process of step 103 can be such that
Displays content data based on the lyrics, in the interface of destination application, show the lyrics.
In force, after the browser control part of system obtains the displays content data of the lyrics, destination application The aobvious of the lyrics can be obtained from the browser control part of system according to the browser control part preset interface of calling system Show content-data.Then destination application determines the target display location of the lyrics, then target in interface Display position, the lyrics of display target song.
The embodiment of the present invention additionally provides the method that user regulates the character size of the lyrics, and corresponding process is permissible As follows:
When receiving the character size regulating command of the lyrics, determine target letter size, determine target character Html tag after the regulation that size is corresponding, based on the html tag after regulation, generates the song after regulation Word;The browser control part of calling system program, based on the html tag after regulation, to the lyrics after regulation Carry out escape, adjusted after the displays content data of the lyrics;Display contents based on the lyrics after regulation Data, the lyrics after vision-control.
In force, technical staff can arrange lyrics character regulation option, user in destination application Can click on lyrics character regulation option, triggering terminal display character size regulates progress bar, as it is shown on figure 3, User can drag character size regulation progress bar, and terminal then can receive character size regulating command, then According to the final position of character size regulation progress bar, determine target letter size.Terminal is according to prestoring The corresponding relation of character size and html tag, after determining the regulation that target letter size is corresponding Html tag, terminal can obtain the lyrics of the target song of storage, according to the html tag after regulation, Add the html tag after regulation for the lyrics, generate the lyrics after regulation.Terminal can clear with calling system Looking at device control, the browser control part of system can be according to the html tag after regulation, by the lyrics after regulation Carry out escape, adjusted after the displays content data of the lyrics, namely in target display location each The data that pixel shows, the browser control part of system can according to the displays content data of the lyrics determined, The lyrics after vision-control on the screen of terminal, the character size of the lyrics after regulation is target letter size.
In the embodiment of the present invention, terminal receives the lyrics idsplay order in destination application to target song Time, the lyrics of target song, the then browser control part of calling system program, base can be obtained to server The lyrics are carried out escape by the HTML html tag comprised in the lyrics of target song, To the displays content data of the lyrics, it is then based on the displays content data of the lyrics, shows the lyrics.In terminal The lyrics after the lyrics of display are escape on screen, character is directly to show with form defined in html tag Show, do not show that html tag, user need not distinguish between html tag and the lyrics, such that it is able to improve The efficiency of user's lyrics browsing.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device showing the lyrics, such as Fig. 4 Shown in, this device includes:
Acquisition module 410, for receiving in destination application the lyrics idsplay order to target song, obtains The lyrics of described target song;
Meaning transferring module 420, for the browser control part of calling system program, the lyrics based on described target song In the HTML html tag that comprises, the described lyrics are carried out escape, obtain the described lyrics Displays content data;
Display module 430, for displays content data based on the described lyrics, shows the described lyrics.
Optionally, one or more during described html tag at least includes following label: character format mark Label, background image label.
Optionally, as it is shown in figure 5, described device also includes:
Generation module 440, for when receiving the character size regulating command of the described lyrics, determines target word Symbol size, determines the html tag after the regulation that described target letter size is corresponding, after described regulation Html tag, generate regulation after the lyrics;
Described meaning transferring module 420, for the browser control part of calling system program, after described regulation The lyrics after described regulation are carried out escape by html tag, obtain in the display of the lyrics after described regulation Hold data;
Described display module 430, for displays content data based on the lyrics after described regulation, display is described The lyrics after regulation.
Optionally, described display module 430, it is used for:
Displays content data based on the described lyrics, on the upper strata at the interface of described destination application, display The described lyrics.
Optionally, described display module 430, it is used for:
Displays content data based on the described lyrics, in the interface of described destination application, display is described The lyrics.
Optionally, in described reception destination application to the lyrics idsplay order of target song after, such as Fig. 6 Shown in, described device also includes:
Determine module 450, for determining described lyrics destination display area in screen;
Described display module 430, is used for:
Displays content data based on the described lyrics, at described destination display area, show the described lyrics.
In the embodiment of the present invention, terminal receives the lyrics idsplay order in destination application to target song Time, the lyrics of target song, the then browser control part of calling system program, base can be obtained to server The lyrics are carried out escape by the HTML html tag comprised in the lyrics of target song, To the displays content data of the lyrics, it is then based on the displays content data of the lyrics, shows the lyrics.In terminal The lyrics after the lyrics of display are escape on screen, character is directly to show with form defined in html tag Show, do not show that html tag, user need not distinguish between html tag and the lyrics, such that it is able to improve The efficiency of user's lyrics browsing.
It should be understood that above-described embodiment provide display the lyrics device show the lyrics time, only more than The division stating each functional module is illustrated, in actual application, and can be as desired by above-mentioned functions Distribution is completed by different functional modules, the internal structure of device will be divided into different functional modules, with Complete all or part of function described above.It addition, the device showing the lyrics that above-described embodiment provides Belonging to same design with the embodiment of the method for the display lyrics, it implements process and refers to embodiment of the method, this In repeat no more.
Refer to Fig. 7, it illustrates the structural representation of terminal involved by the embodiment of the present invention, this terminal can For implementing the method setting up communication group of offer in above-described embodiment.Specifically:
Terminal 700 can include RF (Radio Frequency, radio frequency) circuit 110, include one or The memorizer 120 of more than one computer-readable recording medium, input block 130, display unit 140, biography Sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one Individual or more than one process the parts such as the processor 180 of core and power supply 190.Those skilled in the art It is appreciated that the terminal structure shown in Fig. 7 is not intended that the restriction to terminal, can include than diagram more Many or less parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, After the downlink information of base station is received, transfer to one or more than one processor 180 processes;It addition, will Relate to up data and be sent to base station.Generally, RF circuit 110 include but not limited to antenna, at least one Amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, coupling Clutch, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, RF circuit 110 can also be communicated with network and other equipment by radio communication.Described radio communication can use arbitrary logical Beacon is accurate or agreement, include but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in by operation The software program of reservoir 120 and module, thus perform the application of various function and data process.Memorizer 120 can mainly include store program area and storage data field, wherein, storage program area can store operating system, Application program (such as sound-playing function, image player function etc.) etc. needed at least one function;Deposit Storage data field can store the data (such as voice data, phone directory etc.) that the use according to terminal 700 is created Deng.Additionally, memorizer 120 can include high-speed random access memory, it is also possible to include non-volatile depositing Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and input block The access of 130 pairs of memorizeies 120.
Input block 130 can be used for receive input numeral or character information, and produce with user setup with And function controls relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, Input block 130 can include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as For touching display screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user makes With any applicable object such as finger, stylus or adnexa on Touch sensitive surface 131 or attached at Touch sensitive surface 131 Near operation), and drive corresponding attachment means according to formula set in advance.Optionally, Touch sensitive surface 131 Touch detecting apparatus and two parts of touch controller can be included.Wherein, touch detecting apparatus detects user's Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch control Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, And order that processor 180 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type, The polytype such as infrared ray and surface acoustic wave realizes Touch sensitive surface 131.Except Touch sensitive surface 131, input is single Unit 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but not It is limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, behaviour Make one or more in bar etc..
Display unit 140 can be used for showing the information inputted by user or the information being supplied to user and terminal The various graphical user interface of 700, these graphical user interface can by figure, text, icon, video and Its combination in any is constituted.Display unit 140 can include display floater 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display floater 141.Further, Touch sensitive surface 131 can cover Display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, sends process to Device 180 is to determine the type of touch event, with preprocessor 180 according to the type of touch event at display surface Corresponding visual output is provided on plate 141.Although in the figure 7, Touch sensitive surface 131 and display floater 141 It is to realize input and input function as two independent parts, but in some embodiments it is possible to will Touch sensitive surface 131 is integrated with display floater 141 and realizes input and output function.
Terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and its His sensor.Specifically, optical sensor can include ambient light sensor and proximity transducer, wherein, environment Optical sensor can regulate the brightness of display floater 141 according to the light and shade of ambient light, and proximity transducer can be When terminal 700 moves in one's ear, close display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of (generally three axles) acceleration in all directions, can time static Detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for Gyroscope that terminal 700 can also configure, barometer, drimeter, thermometer, infrared ray sensor etc. other Sensor, does not repeats them here.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio frequency between user and terminal 700 Interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 160 can will receive, is transferred to speaker 161, Acoustical signal output is converted to by speaker 161;On the other hand, the acoustical signal that microphone 162 will be collected Be converted to the signal of telecommunication, voicefrequency circuit 160 after receiving, be converted to voice data, then by voice data output After reason device 180 processes, through RF circuit 110 to be sent to such as another terminal, or voice data is exported To memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, outside providing If earphone and the communication of terminal 700.
WiFi belongs to short range wireless transmission technology, and terminal 700 can help user by WiFi module 170 Sending and receiving e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although Fig. 7 shows WiFi module 170, but it is understood that, it is also not belonging to terminal 700 must be configured into, can omit completely as required in not changing the scope of essence of invention.
Processor 180 is the control centre of terminal 700, utilizes various interface and the whole mobile phone of connection Various piece, by running or perform to be stored in the software program in memorizer 120 and/or module, and adjusts By the data being stored in memorizer 120, perform the various functions of terminal 700 and process data, thus right Mobile phone carries out integral monitoring.Optionally, processor 180 can include one or more process core;Preferably, Processor 180 can integrated application processor and modem processor, wherein, application processor mainly processes Operating system, user interface and application program etc., modem processor mainly processes radio communication.Permissible Being understood by, above-mentioned modem processor can not also be integrated in processor 180.
Terminal 700 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can With logically contiguous with processor 180 by power-supply management system, thus realize management by power-supply management system The functions such as charging, electric discharge and power managed.Power supply 190 can also include one or more directly Stream or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter, electricity The random component such as source positioning indicator.
Although not shown, terminal 700 can also include photographic head, bluetooth module etc., does not repeats them here. The most in the present embodiment, the display unit of terminal 700 is touch-screen display, and terminal 700 also includes Memorizer, and one or more than one program, one of them or more than one program is stored in deposits In reservoir, and it is configured to be performed to state one or more than one program by one or more than one processor Comprise the instruction for carrying out following operation:
Receive the lyrics idsplay order to target song in destination application, obtain the song of described target song Word;
The browser control part of calling system program, the hypertext mark comprised in the lyrics based on described target song The described lyrics are carried out escape, obtain the displays content data of the described lyrics by note language html tag;
Displays content data based on the described lyrics, show the described lyrics.
Optionally, one or more during described html tag at least includes following label: character format mark Label, background image label.
Optionally, described method also includes:
When receiving the character size regulating command of the described lyrics, determine target letter size, determine described Html tag after the regulation that target letter size is corresponding, based on the html tag after described regulation, raw Become the lyrics after regulation;
The browser control part of calling system program, based on the html tag after described regulation, to described regulation After the lyrics carry out escape, obtain the displays content data of the lyrics after described regulation;
Displays content data based on the lyrics after described regulation, show the lyrics after described regulation.
Optionally, described displays content data based on the described lyrics, show the described lyrics, including:
Displays content data based on the described lyrics, on the upper strata at the interface of described destination application, display The described lyrics.
Optionally, described displays content data based on the described lyrics, show the described lyrics, including:
Displays content data based on the described lyrics, in the interface of described destination application, display is described The lyrics.
Optionally, in described reception destination application to the lyrics idsplay order of target song after, described Method also includes:
Determine described lyrics destination display area in screen;
Described displays content data based on the described lyrics, shows the described lyrics, including:
Displays content data based on the described lyrics, at described destination display area, show the described lyrics.
In the embodiment of the present invention, terminal receives the lyrics idsplay order in destination application to target song Time, the lyrics of target song, the then browser control part of calling system program, base can be obtained to server The lyrics are carried out escape by the HTML html tag comprised in the lyrics of target song, To the displays content data of the lyrics, it is then based on the displays content data of the lyrics, shows the lyrics.In terminal The lyrics after the lyrics of display are escape on screen, character is directly to show with form defined in html tag Show, do not show that html tag, user need not distinguish between html tag and the lyrics, such that it is able to improve The efficiency of user's lyrics browsing.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through Hardware completes, it is also possible to instructs relevant hardware by program and completes, program can be stored in one In computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD Deng.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention Within principle, any modification, equivalent substitution and improvement etc. made, should be included in the protection of the present invention Within the scope of.

Claims (12)

1. the method showing the lyrics, it is characterised in that described method includes:
Receive the lyrics idsplay order to target song in destination application, obtain the song of described target song Word;
The browser control part of calling system program, the hypertext mark comprised in the lyrics based on described target song The described lyrics are carried out escape, obtain the displays content data of the described lyrics by note language html tag;
Displays content data based on the described lyrics, show the described lyrics.
Method the most according to claim 1, it is characterised in that described html tag at least include with One or more in lower label: character format label, background image label.
Method the most according to claim 1, it is characterised in that described method also includes:
When receiving the character size regulating command of the described lyrics, determine target letter size, determine described Html tag after the regulation that target letter size is corresponding, based on the html tag after described regulation, raw Become the lyrics after regulation;
The browser control part of calling system program, based on the html tag after described regulation, to described regulation After the lyrics carry out escape, obtain the displays content data of the lyrics after described regulation;
Displays content data based on the lyrics after described regulation, show the lyrics after described regulation.
Method the most according to claim 1, it is characterised in that in described displays based on the described lyrics Hold data, show the described lyrics, including:
Displays content data based on the described lyrics, on the upper strata at the interface of described destination application, display The described lyrics.
Method the most according to claim 1, it is characterised in that in described displays based on the described lyrics Hold data, show the described lyrics, including:
Displays content data based on the described lyrics, in the interface of described destination application, display is described The lyrics.
Method the most according to claim 1, it is characterised in that right in described reception destination application After the lyrics idsplay order of target song, described method also includes:
Determine described lyrics destination display area in screen;
Described displays content data based on the described lyrics, shows the described lyrics, including:
Displays content data based on the described lyrics, at described destination display area, show the described lyrics.
7. the device showing the lyrics, it is characterised in that described device includes:
Acquisition module, for receiving in destination application the lyrics idsplay order to target song, obtains institute State the lyrics of target song;
Meaning transferring module, in the browser control part of calling system program, the lyrics based on described target song The described lyrics are carried out escape by the HTML html tag comprised, and obtain the aobvious of the described lyrics Show content-data;
Display module, for displays content data based on the described lyrics, shows the described lyrics.
Device the most according to claim 7, it is characterised in that described html tag at least include with One or more in lower label: character format label, background image label.
Device the most according to claim 7, it is characterised in that described device also includes:
Generation module, for when receiving the character size regulating command of the described lyrics, determines target character Size, determines the html tag after the regulation that described target letter size is corresponding, after described regulation Html tag, generates the lyrics after regulation;
Described meaning transferring module, for the browser control part of calling system program, based on the HTML after described regulation The lyrics after described regulation are carried out escape by label, obtain the displays content data of the lyrics after described regulation;
Described display module, for displays content data based on the lyrics after described regulation, shows described tune The lyrics after joint.
Device the most according to claim 7, it is characterised in that described display module, is used for:
Displays content data based on the described lyrics, on the upper strata at the interface of described destination application, display The described lyrics.
11. devices according to claim 7, it is characterised in that described display module, are used for:
Displays content data based on the described lyrics, in the interface of described destination application, display is described The lyrics.
12. devices according to claim 7, it is characterised in that in described reception destination application After the lyrics idsplay order of target song, described device also includes:
Determine module, for determining described lyrics destination display area in screen;
Described display module, is used for:
Displays content data based on the described lyrics, at described destination display area, show the described lyrics.
CN201610292309.1A 2016-05-05 2016-05-05 Lyric display method and device Pending CN106021309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610292309.1A CN106021309A (en) 2016-05-05 2016-05-05 Lyric display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610292309.1A CN106021309A (en) 2016-05-05 2016-05-05 Lyric display method and device

Publications (1)

Publication Number Publication Date
CN106021309A true CN106021309A (en) 2016-10-12

Family

ID=57081872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610292309.1A Pending CN106021309A (en) 2016-05-05 2016-05-05 Lyric display method and device

Country Status (1)

Country Link
CN (1) CN106021309A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388916A (en) * 2017-08-04 2019-02-26 北京酷我科技有限公司 A kind of processing method and system of song data
CN111026907A (en) * 2019-12-09 2020-04-17 腾讯音乐娱乐科技(深圳)有限公司 Method and device for displaying audio information in audio playing process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310277A (en) * 2005-11-15 2008-11-19 皇家飞利浦电子股份有限公司 Method of obtaining a representation of a text
CN102486779A (en) * 2010-12-02 2012-06-06 腾讯科技(深圳)有限公司 Subtitle generating method and player
CN103903638A (en) * 2012-12-30 2014-07-02 比亚迪股份有限公司 Mobile terminal, and song playing method and song playing device thereof
CN104281568A (en) * 2013-07-12 2015-01-14 腾讯科技(深圳)有限公司 Paraphrase display method and paraphrase display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310277A (en) * 2005-11-15 2008-11-19 皇家飞利浦电子股份有限公司 Method of obtaining a representation of a text
CN102486779A (en) * 2010-12-02 2012-06-06 腾讯科技(深圳)有限公司 Subtitle generating method and player
CN103903638A (en) * 2012-12-30 2014-07-02 比亚迪股份有限公司 Mobile terminal, and song playing method and song playing device thereof
CN104281568A (en) * 2013-07-12 2015-01-14 腾讯科技(深圳)有限公司 Paraphrase display method and paraphrase display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388916A (en) * 2017-08-04 2019-02-26 北京酷我科技有限公司 A kind of processing method and system of song data
CN111026907A (en) * 2019-12-09 2020-04-17 腾讯音乐娱乐科技(深圳)有限公司 Method and device for displaying audio information in audio playing process
CN111026907B (en) * 2019-12-09 2023-10-27 腾讯音乐娱乐科技(深圳)有限公司 Method and device for displaying audio information in audio playing process

Similar Documents

Publication Publication Date Title
CN103455582B (en) The display packing of browser navigation page and mobile terminal
CN103279288B (en) Data transmission method, device and terminal unit
CN106775637A (en) The page display method and device of a kind of application program
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN103310009B (en) Method, device and terminal for updating webpage data
CN103310007B (en) Webpage changing method, device and equipment
CN107329985A (en) A kind of collecting method of the page, device and mobile terminal
CN105446726A (en) Method and device for generating webpage
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN103401982A (en) Information display method and device and mobile terminal
CN104978183A (en) Icon construction method, and terminal equipment
CN105955597A (en) Method and device for displaying information
CN105955739A (en) Graphical interface processing method, apparatus and system
CN105992026A (en) Method and device for displaying barrage comment information
CN108074009A (en) Motion route generation method and device, mobile terminal and server
CN104216929A (en) Method and device for intercepting page elements
CN106326489A (en) Network resource updating method and device
CN105868319B (en) Webpage loading method and device
US20160291844A1 (en) Method and apparatus for opening a data processing page
CN106951492A (en) File search method, device and electronic equipment
CN104516890A (en) Business processing method, business processing device and electronic equipment
CN103399911A (en) Access processing method, device and terminal device on basis of browser client
CN109491670A (en) A kind of page display method and terminal device
CN105739839A (en) Multimedia menu item selection method and device
CN106294290A (en) A kind of method and apparatus showing document

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012

RJ01 Rejection of invention patent application after publication