CN108470055A - A kind of display methods and mobile terminal of text message - Google Patents
A kind of display methods and mobile terminal of text message Download PDFInfo
- Publication number
- CN108470055A CN108470055A CN201810214220.2A CN201810214220A CN108470055A CN 108470055 A CN108470055 A CN 108470055A CN 201810214220 A CN201810214220 A CN 201810214220A CN 108470055 A CN108470055 A CN 108470055A
- Authority
- CN
- China
- Prior art keywords
- target
- text
- audio file
- text message
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/638—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/686—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
Abstract
The invention discloses a kind of display methods of text message and mobile terminals, wherein the method includes:Obtain the target classification label of target audio file;According to the corresponding display format of the target classification label, the text message of the target audio file is shown.The present invention shows the text message of the audio file using different display formats for the audio file of different classifications label, realizes the diversification of the display format of text message, and then improves the visual experience effect that text is shown.
Description
Technical field
The present embodiments relate to the display methods and movement of field of communication technology more particularly to a kind of text message eventually
End.
Background technology
With the development of mobile terminal technology, basic need of the user to the functional requirement of mobile terminal in addition to being embodied in function
It asks outer, is also more embodied in visual experience effect.General mobile terminal has the playing function of audio file, while
Has the display function of corresponding text message.By taking music is applied as an example, is applied by music and playing the same of song
When, the text messages such as the lyrics, song information can be shown in the display interface of mobile terminal.
Although the type of the application of current music type is varied, substantially a variety of different musics
The display methods of the text message of application is also all similar, and the display mode of text message is all relatively simple.
Invention content
The present invention provides a kind of display methods of text message and mobile terminals, to solve text message in the prior art
The single problem of display mode.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of display methods of text message, including:
Obtain the target classification label of target audio file;
According to the corresponding display format of the target classification label, the text message of the target audio file is shown.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, which is characterized in that including:
First acquisition module, the target classification label for obtaining target audio file;
Display module, for according to the corresponding display format of the target classification label, showing the target audio file
Text message.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including processor, memory and are stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing the display methods of text message as described above.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit
Computer program is stored on storage media, the computer program realizes text message as described above when being executed by processor
The step of display methods.
In embodiments of the present invention, pass through the target classification label of acquisition target audio file;And according to target classification mark
Sign corresponding display format, show the text message of the target audio file, with realize text message display format it is more
Sample.The program shows the text of the audio file using different display formats for the audio file of different classifications label
This information, to improve the visual experience effect that text is shown.
Description of the drawings
Fig. 1 shows the flow charts of the display methods of the text message of the embodiment of the present invention;
Fig. 2 indicates the flow chart of the text message of the display target audio file of the embodiment of the present invention;
Fig. 3 indicates one of the schematic diagram of display format of text message of the embodiment of the present invention;
Fig. 4 indicates the two of the schematic diagram of the display format of the text message of the embodiment of the present invention;
Fig. 5 indicates the three of the schematic diagram of the display format of the text message of the embodiment of the present invention;
Fig. 6 indicates the block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 7 indicates the hardware architecture diagram of the mobile terminal of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, an embodiment of the present invention provides a kind of display methods of text message, including:
Step 11:Obtain the target classification label of target audio file.
Wherein, target audio file includes:At least one of song, recording and talking book.
Can operate according to the user's choice as a kind of realization method, select one preset in multiple tag along sorts
A target classification label as target audio file.In this way, user can carry out certainly the tag along sort of target audio file
Definition has flexibility.
As another realization method, the step of target classification label for obtaining target audio file, specifically includes:It obtains
Target audio file to be played;According to the correspondence between preset audio file and tag along sort, the target is determined
The corresponding target classification label of audio file.
In the embodiment, the correspondence between audio file and tag along sort can be counted by big data to be determined.Under
Face using song as target audio file for illustrate, such as:User can be according to different songs or the style of song of singer
Type carries out the self-defined of tag along sort, such as:Tag along sort includes:Hip-hop type, folk rhyme type, rock genre, nursery rhymes type
And other types etc..Big data statistics is carried out according to multiple user-defined tag along sorts, determines song and tag along sort
Between correspondence.In this way, according to the correspondence between preset song and tag along sort, it may be determined that be played
The corresponding target classification label of song.
Step 12:According to the corresponding display format of the target classification label, the text of the target audio file is shown
Information.
As a kind of realization method, the display format of the text message corresponding to different classifications label is preset, wherein
Display format includes:At least one of the font type of text message and the typesetting type of text message.
Such as:The display format of the text message of the song of folk rhyme type can be set as regular script font type and portrait
The typesetting type of upper alignment;The display format of the text message of the song of hip-hop type is rapid style of writing hand-written script type and horizontal version
The typesetting type of align center.Certainly, the display format of text message can also include other combinations in addition to this, together
Correspondence between the tag along sort of sample and the display format of text message can also include other combinations, the present invention
It is not limited.
The program forms a variety of display lattice of text message by the combination of different font types and typesetting type
Formula;And according to the corresponding display format of target classification label, the text message of display target audio file, to realize different-style
The audio file of type (tag along sort), corresponding different text display format, to improve the more of text message display format
Sample, and then enhance the visual display effect of text message.
It is above-mentioned according to the corresponding display format of the target classification label as another realization method, show the mesh
It the step of text message of mark with phonetic symbols frequency file, specifically includes:According to the font type of preset tag along sort and text message it
Between correspondence, determine the corresponding target font type of the text message of the target audio file;According to the target word
Body type, the text message of display target audio file.
Specifically, the correspondence between tag along sort and the font type of text message can be preset, such as:Point
Class label is folk rhyme type, can correspond to regular script font type;Tag along sort is ancient customs type, can correspond to rapid style of writing hand-written script
Type;Tag along sort is popular bent type, can correspond to black matrix font type;Tag along sort is hip-hop type, can correspond to flower
Body font type.Certainly, in addition to this correspondence between tag along sort and the font type of text message can also include
Other combinations, invention is not limited thereto.
According to the corresponding font type of target classification label in the program, the text message of display target audio file, this
Sample forms a variety of display formats of text message by different font types, to realize different-style type (tag along sort)
Audio file, corresponding different text display format are conducive to the diversity for improving text message display format, are convenient for user's root
The stylistic category of the audio file played is determined according to shown font type, and then enhances the visual display effect of text message
Fruit.
Further, it is also possible to be to operate according to the user's choice, in the font type for selecting preset multiple text messages
One, as the corresponding target font type of the target classification label, and according to the target typesetting type, display target sound
The text message of frequency file.In this way, user can be self-defined to the progress of the font type of text message, there is flexibility.
It is above-mentioned according to the corresponding display format of the target classification label as another realization method, show the mesh
It the step of text message of mark with phonetic symbols frequency file, specifically includes:According to the typesetting type of preset tag along sort and text message it
Between correspondence, determine the corresponding target typesetting type of the text message of the target audio file;It is arranged according to the target
Version type, the text message of display target audio file.
Specifically, the correspondence between tag along sort and the typesetting type of text message can be preset, such as:Point
Class label is folk rhyme type, can correspond to horizontally-arranged Right Aligns and the alternate typesetting type of align center;Tag along sort is ancient customs class
Type can correspond to vertical setting of types typesetting type (such as:The typesetting type that is aligned in the typesetting type of vertical setting of types align center, vertical setting of types, vertical setting of types from
The typesetting type etc. of the typesetting type and vertical setting of types of left-to-right from right to left);Tag along sort is popular bent type, can correspond to cross
Arrange the typesetting type of align center;Tag along sort is hip-hop type, can correspond to horizontally-arranged left-justify and the alternate typesetting of Right Aligns
Type.Certainly, the correspondence between tag along sort and the typesetting type of text message can also include in addition to this other
Combination, invention is not limited thereto.
In the program, according to the corresponding typesetting type of target classification label, the text message of display target audio file, this
Sample forms a variety of display formats of text message by different typesetting types, to realize different-style type (tag along sort)
Audio file, corresponding different text display format are conducive to the diversity for improving text message display format, are convenient for user's root
The stylistic category of the audio file played is determined according to shown typesetting type, and then enhances the visual display effect of text message
Fruit.
Further, it is also possible to be to operate according to the user's choice, in the typesetting type for selecting preset multiple text messages
One, as the corresponding target typesetting type of the target classification label, and according to the target typesetting type, display target sound
The text message of frequency file.In this way, user can be self-defined to the progress of the typesetting type of text message, there is flexibility.
Certainly, in addition to above-mentioned display format, can also preset one acquiescence the first font type (such as Song typeface) and
The first typesetting type (such as horizontally-arranged left-justify) of one acquiescence.When obtaining target audio file, to the target audio file
Tag along sort matched;It, can be according to first font type and described when not being matched to corresponding tag along sort
One of first typesetting type or combination, show the text message of the target audio file.In this way, convenient for user for
According to first font type and/or the target audio file of the first typesetting type display text information, classify
The label of label, so as to have when playing the target audio file again and the matched display format of tag along sort, enhancing text
The flexibility of information display methods and diversity.
In said program, by the target classification label for obtaining target audio file;And it is corresponded to according to target classification label
Display format, the text message of the target audio file is shown, to realize the diversification of the display format of text message.It should
Scheme shows the text message of the audio file using different display formats for the audio file of different classifications label,
To improve the visual experience effect that text is shown.
Further, above-mentioned steps 11:Before the target classification label for obtaining target audio file, the method is also wrapped
It includes:Obtain the characteristic information of the target audio file;Tag along sort corresponding with the characteristic information is determined, as target point
Class label.
Wherein, characteristic information includes:Range feature, tamber characteristic, audio speed feature and audio orator or drill
At least one of the person of singing.
In the embodiment, as range feature includes:High pitch, middle pitch, bass etc.;Tamber characteristic includes:Male voice, female voice, child
Sound, various musical instrument sound etc.;Audio speed feature can be according to the word of beat number or reading in the unit interval (such as one second)
Number etc. is accorded with to determine.According to the characteristic information of target audio file, tag along sort corresponding with the characteristic information is determined, such as:When
Singer's title of at least two audio files is mutually at the same time it can also according in range feature, tamber characteristic, audio speed feature
At least one tag along sort for further discriminating between at least two audio file ensures there is some same characteristic features information extremely
Few two audio files, further divide different tag along sorts, reach the display format with different text messages, further
Improve the diversification of the display format of text message.
Referring to Fig. 2, above-mentioned steps 12:According to the corresponding display format of the target classification label, the target sound is shown
The text message of frequency file, including:
Step 121:In the case where the target audio file is in broadcast state, present video reproduction time is obtained.
In the embodiment, when playing target audio file, using current time as present video reproduction time.Alternatively,
With a period of time (including current time) after current time, as present video reproduction time, to reduce data processing
Time difference in journey.
Step 122:Determine target text segment corresponding with the present video reproduction time.
Wherein, the text message of the target audio file includes N number of text fragments, and the target text segment is described
At least one of N number of text fragments.Wherein, N is the integer more than 0.
Specifically, the corresponding audio fragment of target text segment includes the corresponding audio piece of present video reproduction time
Section, or include the part in the corresponding audio fragment of present video reproduction time.
Further, it is determined that target text segment corresponding with the present video reproduction time, specifically includes:Obtain institute
State the audio-frequency information of target audio file;Wherein, the audio-frequency information includes N number of Presentation Time Stamp, when each display
Between label correspond to the text fragments.
In the case where the present video reproduction time and target Presentation Time Stamp match, determine and the target
The corresponding text fragments of Presentation Time Stamp, as target text segment.Wherein, the target Presentation Time Stamp is the N
At least one of a Presentation Time Stamp.
In the embodiment, the audio-frequency information of target audio file is divided into multiple audio pieces according to audio presentation time
Section, determines the reproduction time of each audio fragment, marks corresponding Presentation Time Stamp;Wherein each audio fragment corresponds to a text
This segment, i.e., each Presentation Time Stamp correspond to a text fragments.In this way, obtaining the target audio file in broadcast state
Present video reproduction time, determination include the current audio presentation time or include the one of the current audio presentation time
Partial target Presentation Time Stamp;And determine the corresponding text fragments of target Presentation Time Stamp, it is played as present video
Time corresponding target text segment, to improve the accuracy for determining the corresponding target text segment of present video reproduction time.
Step 123:According to the corresponding display format of the target classification label, the target text segment is shown.
Specifically, illustrating so that target audio file is song as an example, then the corresponding text message of target audio file is song
Word.The more lyrics can be shown in the display interface of mobile terminal, present video reproduction time is corresponded into text fragments, i.e.,
One lyrics is shown with the target display format.Wherein, other lyrics shown in the display interface of mobile terminal
(lyrics in addition to the currently playing lyrics) are shown with giving tacit consent to display format, currently playing visually to highlight
The lyrics.If Fig. 3 gives a kind of display schematic diagram of the text message for the audio file that tag along sort is hip-hop type, wherein
The display format of first text message 301 is different from the display format of other lyrics in display interface 302.As Fig. 4 gives
A kind of tag along sort is the display schematic diagram of the text message of the audio file of English type, wherein the first text message 301
Display format is different from the display format of other lyrics in display interface 302.It is folk rhyme as Fig. 5 gives a kind of tag along sort
The display schematic diagram of the text message of the audio file of type, wherein the display format and display interface of the first text message 301
The display format of other lyrics is different in 302.
Here, acquiescence display format can be preset, and different from target display format.It additionally can be by that will work as
The lyrics of preceding broadcasting are amplified display with relative to other lyrics, or the currently playing lyrics of setting and other lyrics are shown
Show color difference, or the currently playing lyrics of setting are different from the transparency of other lyrics that (transparency of other lyrics is more than
The transparency of the currently playing lyrics) etc. modes, the currently playing lyrics are highlighted, to visually prominent aobvious
Show the corresponding lyrics of present video reproduction time.
Share poster template in addition, the program can also match the lyrics and carry out closed loop planning, that is, user both can be
The lyrics are checked under the template, which can also be generated picture as lyrics poster and shared.
In said program, by the target classification label for obtaining target audio file;And it is corresponded to according to target classification label
Display format, the text message of the target audio file is shown, to realize the diversification of the display format of text message.It should
Scheme shows the text message of the audio file using different display formats for the audio file of different classifications label,
To improve the visual experience effect that text is shown.
Particularly, according to the corresponding display format of target classification label, when the text message of display target audio file,
Specifically according to the corresponding display format of target classification label, the corresponding text fragments of present video reproduction time are shown, to
Visually highlight the corresponding text fragments of present video reproduction time.
Referring to figure Fig. 6, the embodiment of the present invention additionally provides a kind of mobile terminal 600, including:
First acquisition module 610, the target classification label for obtaining target audio file.
Display module 620, for according to the corresponding display format of the target classification label, showing the target audio text
The text message of part.
Wherein, the mobile terminal 600 further includes:
Second acquisition module, the characteristic information for obtaining the target audio file.
Processing module, for determining tag along sort corresponding with the characteristic information, as target classification label.
Wherein, the display format includes:At least one of the font type of the text message and typesetting type.
Wherein, the display module 620 includes:
Acquisition submodule, in the case where the target audio file is in broadcast state, obtaining present video reproduction time.
Submodule is handled, for determining target text segment corresponding with the present video reproduction time.Wherein, described
The text message of target audio file includes N number of text fragments, the target text segment be N number of text fragments in extremely
It is one few.
Display sub-module, for according to the corresponding display format of the target classification label, showing the target text piece
Section.Wherein, N is the integer more than 0.
Wherein, the processing submodule includes:
Acquiring unit, the audio-frequency information for obtaining the target audio file.Wherein, the audio-frequency information includes N number of
Presentation Time Stamp, each Presentation Time Stamp correspond to the text fragments.
Processing unit, in the case where the present video reproduction time and target Presentation Time Stamp match,
Text fragments corresponding with the target Presentation Time Stamp are determined, as target text segment.Wherein, when the target display
Between label be at least one of described N number of Presentation Time Stamp.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized each in the embodiment of the method for Fig. 1
Process, to avoid repeating, which is not described herein again.
Mobile terminal 600 in said program, by the target classification label for obtaining target audio file;And according to target
The corresponding display format of tag along sort, shows the text message of the target audio file, to realize the display lattice of text message
The diversification of formula.The program shows the audio text for the audio file of different classifications label using different display formats
The text message of part, to improve the visual experience effect that text is shown.
A kind of hardware architecture diagram of Fig. 7 mobile terminals of each embodiment to realize the present invention.
The mobile terminal 700 includes but not limited to:It is radio frequency unit 701, network module 702, audio output unit 703, defeated
Enter unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor
The components such as 710 and power supply 711.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, the target classification label for obtaining target audio file;According to the target classification mark
Corresponding display format is signed, control display unit 706 shows the text message of the target audio file.
Mobile terminal 700 in said program, by the target classification label for obtaining target audio file;And according to target
The corresponding display format of tag along sort, shows the text message of the target audio file, to realize the display lattice of text message
The diversification of formula.The program shows the audio text for the audio file of different classifications label using different display formats
The text message of part, to improve the visual experience effect that text is shown.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 701 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 702 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 703 can receive radio frequency unit 701 or network module 702 or in memory 709
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 700 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 703 includes loud speaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor
(Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited
Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike
Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 701 by being converted in the case of telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear
Display panel 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap
Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and
Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071
Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area
It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments
7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it
On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touch
The type for touching event provides corresponding visual output on display panel 7061.Although in the figure 7, touch panel 7071 and display
Panel 7061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 7071 and display panel 7061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 708 is the interface that external device (ED) is connect with mobile terminal 700.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 700 or can be used in 700 He of mobile terminal
Transmission data between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 709, and calls and is stored in storage
Data in device 709 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711
Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, and memory 709 is stored in
On memory 709 and the computer program that can be run on the processor 710, the computer program are executed by processor 710
Each process of the display methods embodiment of the above-mentioned text messages of Shi Shixian, and identical technique effect can be reached, to avoid weight
Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of the display methods embodiment of above-mentioned text message when being executed by processor
Journey, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (12)
1. a kind of display methods of text message, which is characterized in that including:
Obtain the target classification label of target audio file;
According to the corresponding display format of the target classification label, the text message of the target audio file is shown.
2. the display methods of text message according to claim 1, which is characterized in that the acquisition target audio file
Before target classification label, the method further includes:
Obtain the characteristic information of the target audio file;
Tag along sort corresponding with the characteristic information is determined, as target classification label.
3. the display methods of text message according to claim 1, which is characterized in that the display format includes:It is described
At least one of the font type of text message and typesetting type.
4. the display methods of text message according to claim 1, which is characterized in that described according to the target classification mark
Corresponding display format is signed, shows the text message of the target audio file, including:
In the case where the target audio file is in broadcast state, present video reproduction time is obtained;
Determine target text segment corresponding with the present video reproduction time, wherein the text of the target audio file
Information includes N number of text fragments, and the target text segment is at least one of described N number of text fragments;
According to the corresponding display format of the target classification label, the target text segment is shown;
Wherein, N is the integer more than 0.
5. the display methods of text message according to claim 4, which is characterized in that the determination and the present video
The corresponding target text segment of reproduction time, including:
Obtain the audio-frequency information of the target audio file, wherein the audio-frequency information includes N number of Presentation Time Stamp, each
The Presentation Time Stamp corresponds to the text fragments;
In the case where the present video reproduction time and target Presentation Time Stamp match, determines and shown with the target
The corresponding text fragments of time tag, as target text segment, wherein the target Presentation Time Stamp is described N number of aobvious
Show at least one of time tag.
6. a kind of mobile terminal, which is characterized in that including:
First acquisition module, the target classification label for obtaining target audio file;
Display module, for according to the corresponding display format of the target classification label, showing the text of the target audio file
This information.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
Second acquisition module, the characteristic information for obtaining the target audio file;
Processing module, for determining tag along sort corresponding with the characteristic information, as target classification label.
8. mobile terminal according to claim 6, which is characterized in that the display format includes:The text message
At least one of font type and typesetting type.
9. mobile terminal according to claim 6, which is characterized in that the display module includes:
Acquisition submodule, in the case where the target audio file is in broadcast state, obtaining present video reproduction time;
Submodule is handled, for determining target text segment corresponding with the present video reproduction time, wherein the target
The text message of audio file includes N number of text fragments, and the target text segment is at least one in N number of text fragments
It is a;
Display sub-module, for according to the corresponding display format of the target classification label, showing the target text segment;
Wherein, N is the integer more than 0.
10. mobile terminal according to claim 9, which is characterized in that the processing submodule includes:
Acquiring unit, the audio-frequency information for obtaining the target audio file, wherein the audio-frequency information includes N number of display
Time tag, each Presentation Time Stamp correspond to the text fragments;
Processing unit, in the case where the present video reproduction time and target Presentation Time Stamp match, determining
Text fragments corresponding with the target Presentation Time Stamp, as target text segment, wherein the target shows time mark
Label are at least one of described N number of Presentation Time Stamp.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in text message display methods the step of.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the aobvious of the text message as described in any one of claim 1 to 5 when the computer program is executed by processor
The step of showing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214220.2A CN108470055A (en) | 2018-03-15 | 2018-03-15 | A kind of display methods and mobile terminal of text message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214220.2A CN108470055A (en) | 2018-03-15 | 2018-03-15 | A kind of display methods and mobile terminal of text message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108470055A true CN108470055A (en) | 2018-08-31 |
Family
ID=63264468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810214220.2A Pending CN108470055A (en) | 2018-03-15 | 2018-03-15 | A kind of display methods and mobile terminal of text message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108470055A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111125998A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Text processing method and device |
CN111523289A (en) * | 2020-04-24 | 2020-08-11 | 支付宝(杭州)信息技术有限公司 | Text format generation method, device, equipment and readable medium |
CN112306976A (en) * | 2020-01-09 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Information processing method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546587A (en) * | 2008-03-25 | 2009-09-30 | 国际商业机器公司 | Method and device for automatically displaying visual elements in song-playing process |
CN103139375A (en) * | 2011-12-02 | 2013-06-05 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN105760479A (en) * | 2016-02-15 | 2016-07-13 | 广东欧珀移动通信有限公司 | Song playing control method and device, mobile terminal, server and system |
CN105810211A (en) * | 2015-07-13 | 2016-07-27 | 维沃移动通信有限公司 | Audio frequency data processing method and terminal |
-
2018
- 2018-03-15 CN CN201810214220.2A patent/CN108470055A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546587A (en) * | 2008-03-25 | 2009-09-30 | 国际商业机器公司 | Method and device for automatically displaying visual elements in song-playing process |
CN103139375A (en) * | 2011-12-02 | 2013-06-05 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN105810211A (en) * | 2015-07-13 | 2016-07-27 | 维沃移动通信有限公司 | Audio frequency data processing method and terminal |
CN105760479A (en) * | 2016-02-15 | 2016-07-13 | 广东欧珀移动通信有限公司 | Song playing control method and device, mobile terminal, server and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111125998A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Text processing method and device |
CN112306976A (en) * | 2020-01-09 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Information processing method and device and electronic equipment |
CN111523289A (en) * | 2020-04-24 | 2020-08-11 | 支付宝(杭州)信息技术有限公司 | Text format generation method, device, equipment and readable medium |
CN111523289B (en) * | 2020-04-24 | 2023-05-09 | 支付宝(杭州)信息技术有限公司 | Text format generation method, device, equipment and readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106531149B (en) | Information processing method and device | |
CN107707828B (en) | A kind of method for processing video frequency and mobile terminal | |
CN110472145A (en) | A kind of content recommendation method and electronic equipment | |
CN107864353B (en) | A kind of video recording method and mobile terminal | |
CN108347704A (en) | Information recommendation method and mobile terminal | |
CN109561211B (en) | Information display method and mobile terminal | |
CN108763316A (en) | A kind of audio list management method and mobile terminal | |
CN110489573A (en) | Interface display method and electronic equipment | |
CN107798107A (en) | The method and mobile device of song recommendations | |
CN110083319A (en) | Take down notes display methods, device, terminal and storage medium | |
CN109462768A (en) | A kind of caption presentation method and terminal device | |
CN110097872A (en) | A kind of audio-frequency processing method and electronic equipment | |
CN108334196A (en) | A kind of document handling method and mobile terminal | |
CN107862059A (en) | A kind of song recommendations method and mobile terminal | |
CN108470055A (en) | A kind of display methods and mobile terminal of text message | |
CN108763540A (en) | A kind of file browsing method and terminal | |
CN107734172A (en) | A kind of method for information display and mobile terminal | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN109815462A (en) | A kind of document creation method and terminal device | |
CN108600079A (en) | A kind of chat record methods of exhibiting and mobile terminal | |
CN108763475A (en) | A kind of method for recording, record device and terminal device | |
CN108712321A (en) | A kind of reminding method and mobile terminal of message | |
CN108089830B (en) | Song information display methods, device and mobile terminal | |
CN109949809A (en) | A kind of sound control method and terminal device | |
CN109471524A (en) | A kind of method and mobile terminal controlling motor vibrations |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180831 |