CN106534528A - Processing method and device of text information and mobile terminal - Google Patents
Processing method and device of text information and mobile terminal Download PDFInfo
- Publication number
- CN106534528A CN106534528A CN201610977264.1A CN201610977264A CN106534528A CN 106534528 A CN106534528 A CN 106534528A CN 201610977264 A CN201610977264 A CN 201610977264A CN 106534528 A CN106534528 A CN 106534528A
- Authority
- CN
- China
- Prior art keywords
- text
- text message
- voice
- word
- triggering command
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 22
- 230000006870 function Effects 0.000 claims description 42
- 238000004458 analytical method Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 abstract description 21
- 230000006854 communication Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 6
- 230000010365 information processing Effects 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/39—Electronic components, circuits, software, systems or apparatus used in telephone systems using speech synthesis
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a processing method and device of the text information and a mobile terminal. The processing method of the text information comprises the steps of obtaining a text selection instruction; determining the corresponding text information according to the text selection instruction; when a trigger instruction is received by a preset voice playing function control, analyzing the text information according to the trigger instruction, and determining a corresponding text voice type; based on a preset local voice sample base and the text voice type, determining the voice information corresponding to the text information, and playing the voice information. According to the present invention, by obtaining the corresponding text information in the text selection instruction, the text voice type corresponding to the text information is determined, and the corresponding voice information is matched and determined and then is played, so that the situation that the processing process of the users to the text information is tedious, is solved, and the reading efficiency of the users is improved greatly.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of processing method of text message, device and movement
Terminal.
Background technology
With the development and popularization of mobile terminal, among mobile terminal increasingly gos deep into daily life, such as mobile phone,
An indispensable part in people's daily life is had become, people can move communication, shooting, play trip by mobile phone
Play and text reading etc..
In existing mobile phone use, when user carries out text reading by mobile phone, for example:Chat, see novel, see new
Hear, learn etc., can usually meet some unacquainted new words, lead to not reading and go down, now, user generally requires networking, enters
The search website for entering correlation is input into the new word and carries out the search of relevant information, therefore, existing text information processing process is loaded down with trivial details,
Reading efficiency is low.
The content of the invention
The embodiment of the present invention provides a kind of processing method of text message, device and mobile terminal, solves existing text
Information process is loaded down with trivial details, the low problem of reading efficiency.
The embodiment of the present invention provides technical scheme below:
A kind of processing method of text message, including:
Obtain text selecting instruction;
Corresponding text message is determined according to text selecting instruction;
When triggering command is received by default voice play function control, according to the triggering command to the text
This information is analyzed, and determines corresponding text language type;
Based on default local voice Sample Storehouse and the text language type, determine corresponding with the text message
Voice messaging, and play the voice messaging.
The embodiment of the present invention also provides technical scheme below:
A kind of processing meanss of text message, including:
Acquisition module, for obtaining text selecting instruction;
Text message determining module, for determining corresponding text message according to text selecting instruction;
Analysis determining module, for when triggering command is received by default voice play function control, according to institute
State triggering command to be analyzed the text message, determine corresponding text language type;
Playing module, for based on default local voice Sample Storehouse and the text language type, determine with it is described
The corresponding voice messaging of text message, and play the voice messaging.
The embodiment of the present invention also provides technical scheme below:
A kind of mobile terminal, including:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The executable program code that the processor is stored in calling the memorizer, performs the embodiment of the present invention and carries
For any one text message processing method.
A kind of processing method of text message that the present embodiment is provided, device and mobile terminal, by obtaining text selecting
Corresponding text message in instruction, determines the corresponding text language type of text message, and matching determines corresponding voice messaging simultaneously
Process is played out, user's situation loaded down with trivial details to text information processing process is solved, the reading effect of user is greatly improved
Rate.
Description of the drawings
Below in conjunction with the accompanying drawings, described in detail by the specific embodiment to the present invention, technical scheme will be made
And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the processing method of text message provided in an embodiment of the present invention.
Fig. 2 is another schematic flow sheet of the processing method of text message provided in an embodiment of the present invention.
Fig. 3 is the schematic diagram of mobile terminal text information processing provided in an embodiment of the present invention.
Fig. 4 is the module diagram of the processing meanss of text message provided in an embodiment of the present invention.
Fig. 5 is another module diagram of the processing meanss of text message provided in an embodiment of the present invention.
Fig. 6 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Schema is refer to, wherein identical element numbers represent identical component, and the principle of the present invention is to be implemented in one
Illustrate in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, which should not be by
It is considered as and limits the present invention other specific embodiments not detailed herein.
It is the software object performed on the arithmetic system that term as used herein " module " can be regarded as.It is as herein described
It is the objective for implementation on the arithmetic system that different components, module, engine and service can be regarded as.And device as herein described and side
Method is preferably implemented in the way of software, also can be implemented on hardware certainly, within the scope of the present invention.
Concrete analysis explanation is carried out below.
In the present embodiment, the angle of the processing meanss from text message is described, the process dress of text information
Put, such as mobile phone, panel computer, palm PC (PDA, Personal Digital
Assistant) etc..
Fig. 1 is referred to, Fig. 1 is the schematic flow sheet of the processing method of text message provided in an embodiment of the present invention.Specifically
For, the method includes:
In step S101, text selecting instruction is obtained.
Wherein, text selection instruction is user's edit instruction, and user's edit instruction is to carry out text browsing as user
When, it is long by or double-click the screen of mobile terminal and carry out text editing state, it is produced when user selects text edit area,
Text editing area can also be able to be a certain piece of region of text interface for whole text interface.
In step s 102, corresponding text message is determined according to text selecting instruction.
Wherein, text information is the word set in the editing area determined by text selection instruction, the character set
Word in conjunction can be the spoken and written languages of every country, such as Chinese, English, Japanese etc..
Specifically, can include the step of the determination corresponding text message, obtain all the elements in editing area,
Non-legible content therein is removed, such as special symbol, picture etc. are removed, only retain word segment and generate text message.
In a kind of possible embodiment, when text message is generated, can generate on the display interface of mobile terminal
One voice play function control, this control can be rectangle translucent button etc., by this voice play function control
The triggering command of part receive user, in alternatively possible embodiment, when text message is generated, can be by mobile whole
Button on end, the such as triggering command as the speech play of user such as Home key or volume switch key.
In step s 103, when triggering command is received by default voice play function control, referred to according to triggering
Order is analyzed to text message, determines corresponding text language type.
Wherein, when user presses voice play function control by click or length, that is, it is considered as default speech play work(
Energy control receives triggering command, and text language form is the corresponding category of language of word, including Chinese, English, Japanese etc..
Specifically, when should receive triggering command by default voice play function control, according to triggering command
Text information is analyzed, determines that corresponding text language type includes:
(1) when triggering command is received by default voice play function control, word in acquisition text message
Unicode.
It is understood that the Unicode is to solve traditional character coding method for unicode (Unicode)
Limitation and produce, it is that each character setting in every kind of language is unified and unique binary coding, with meet across
Language, the cross-platform requirement for carrying out text conversion, processing, are made up of 16 bits.
Wherein, the Unicode for obtaining word in text information is the binary coding of acquisition for mobile terminal word, is such as obtained
The Unicode for taking certain word is 4E02.
(2) coding schedule is matched according to Unicode, obtains the corresponding coding range of Unicode, correspondence is determined according to coding range
Text language type.
Wherein, according to Unicode, such as 4E02 matching coding schedules, the coding schedule is the classification chart of all text language types,
Coding range such as Chinese in the coding schedule is 4E00-9FA5, and according to matching, the 4E02 belongs to coding range 4E00-9FA5
In, therefore determine that corresponding text language type is Chinese.
In step S104, based on default local voice Sample Storehouse and text language type, determine and text message
Corresponding voice messaging, and play voice messaging.
Wherein, the default local voice Sample Storehouse can be the word and word being stored in mobile terminal memory
The set of corresponding attribute information, the attribute information include the voice of word, lexical or textual analysis etc., with text in the local voice Sample Storehouse
The Unicode of word of this language form to storing carries out classification storage, and classifying ruless are consistent with the coding schedule, such as Chinese
Coding range is also between 4E00-9FA5.
Specifically, based on default local voice Sample Storehouse and text language type, determine and text information pair
The voice messaging answered, and the step of play the voice messaging can according to the local language of the corresponding text language type matching of word
Sound Sample Storehouse, obtains corresponding word and attribute information in local voice Sample Storehouse, obtains voice messaging, by all of word pair
The voice messaging answered merges, and is the voice messaging of text message by all of word of mobile terminal playing.
From the foregoing, a kind of processing method of text message of the present embodiment offer, by obtaining text selecting instruction
In corresponding text message, determine the corresponding text language type of text message, based on text language type matching local voice
Sample Storehouse draws the pronunciation information of text message and plays out, and eliminates user in reading process for strange font is searched
The troublesome operation of rope, and can also use in the case where network need not be connected, the time of user is saved, and is greatly carried
The reading efficiency of user is risen.
Citing is described in further detail by method according to described by above-described embodiment below.
Fig. 2 is referred to, Fig. 2 is another schematic flow sheet of the processing method of text message provided in an embodiment of the present invention.
Specifically, the method includes:
In step s 201, obtain text selecting instruction.
Wherein, text selection instruction is user's edit instruction, and user's edit instruction is to carry out text browsing as user
When, it is long by or double-click the screen of mobile terminal and carry out text editing state, it is produced when user selects text edit area,
Text editing area can also be able to be a certain piece of region of text interface for whole text interface.
Such as, by taking Fig. 3 as an example, schematic diagrams of the Fig. 3 for mobile terminal text information processing, by screen on mobile phone
Display word grown by or double click operation carry out text editing state, user can with unrestricted choice editor's content of text,
As in Fig. 3, dash area is the content of edit in user version selection instruction.
In step S202, corresponding text message is determined according to text selecting instruction.
Wherein, text information is the word set in the editing area determined by text selection instruction, the character set
It can be the spoken and written languages of every country, such as Chinese, English, Japanese etc. that word in conjunction is.
Specifically, can include the step of the determination corresponding text message, obtain all the elements in editing area,
Non-legible content therein is removed, such as special symbol, picture etc. are removed, only retain word segment and generate text message.
Such as, the content of edit of dash area by taking Fig. 3 as an example, is obtained, by the symbol expression in wherein content of edit, picture
And space carriage-return character etc. is removed, and is only retained word segment, the word segment of the reservation is defined as text message, true
After having determined corresponding text message, a translucent broadcasting frame on mobile phone screen, is shown, the broadcasting frame is used for receive user
Triggering command.
In step S203, when triggering command is received by default voice play function control, referred to according to triggering
Order is analyzed to text message, determines corresponding text language type.
Wherein, when user presses voice play function control by click or length, that is, it is considered as default speech play work(
Energy control receives triggering command, and text language form is the corresponding category of language of word, including Chinese, English, Japanese etc..
Such as, by taking Fig. 3 as an example, broadcasting frame A is used for the triggering command of receive user, as user click broadcasting frame A
As mobile terminal receives triggering command.
Specifically, when should receive triggering command by default voice play function control, according to triggering command
Text information is analyzed, determines that corresponding text language type includes:
(1) when triggering command is received by default voice play function control, word in acquisition text message
Unicode.
It is understood that the Unicode is to solve traditional character coding method for unicode (Unicode)
Limitation and produce, it is that each character setting in every kind of language is unified and unique binary coding, with meet across
Language, the cross-platform requirement for carrying out text conversion, processing, are made up of 16 bits.
Such as, by taking Fig. 3 as an example, such as the Unicode of first word of dash area is 4E02.
(2) coding schedule is matched according to Unicode, obtains the corresponding coding range of Unicode, correspondence is determined according to coding range
Text language type.
Such as, by the Unicode 4E02 matching coding schedules of first word for obtaining, determine the coding range that 4E02 is in,
Coding ranges of the 4E02 in Chinese is between 4E00-9FA5, therefore determines that the corresponding text language type of the first word determines
For Chinese language type.
In step S204, according to text language type matching local voice Sample Storehouse, it is determined that with text language type pair
The speech samples answered.
Wherein, the default local voice Sample Storehouse can be the word and word being stored in mobile terminal memory
Corresponding attribute information, the attribute information include the voice of word, lexical or textual analysis etc., and the local voice Sample Storehouse includes at least wrapping
Include speech samples, the speech samples are classified with text language type, such as Chinese speech sample, English speech samples with
And japanese voice sample etc..
Such as, by taking Fig. 3 as an example, with first word language type for getting as Chinese language type, match local language
Sound Sample Storehouse, determines Chinese speech sample.
In step S205, the word in text message is matched one by one with the speech samples for determining, the word is drawn
Corresponding voice messaging.
Wherein, the matching process is referred to the Unicode of the word in text message and the unification in corresponding speech samples
Code is searched one by one, is found the consistent word of Unicode in speech samples, and is obtained the attribute letter of the word in speech samples
Breath, that is, obtain the voice of the word.
Such as, by taking Fig. 3 as an example, the Unicode 4E02 of the word that first is got and Chinese speech sample are carried out
Match somebody with somebody, match corresponding word and text attribute information, such as vast and its corresponding Chinese voice messaging is pronunciation and Chinese
Lexical or textual analysis information etc..
In step S206, word corresponding voice messaging is merged, generate the corresponding voice messaging of text message, and broadcast
Put voice messaging.
Wherein, when in text message, the voicemail logging of all of word is finished, by the voice messaging according to text
The order of word is merged, and is played out the voice messaging of the merging by mobile terminal.
Such as, by taking Fig. 3 as an example, after the voice of the word of text message is obtained by mobile phone successively, according to the elder generation of word
Order, the voice of each word is combined, and is played out the pronunciation being combined by mobile phone speaker afterwards.
Specifically, after the broadcasting voice messaging, also include:
(1) detect whether default voice closing function control receives triggering command.
Wherein, when detecting that voice closing function control receives triggering command, execution step (2), if detect language
Sound closing function control does not receive triggering command, then continue executing with and detect whether voice closing function control receives triggering and refer to
Order.
In a kind of possible embodiment, after the voice messaging has been played, can be on the display interface of mobile terminal
A voice closing function control is generated, and this control can be rectangle translucent button etc., work(be closed by this voice
The triggering command of energy control receive user, in alternatively possible embodiment, when text message is generated, can be by moving
The triggering command of button in dynamic terminal, such as Home key or volume switch key etc. as the voice closing of user.
(2) stop playing voice messaging.
Such as, by taking Fig. 3 as an example, after user clicks on and plays frame A, can aside show that one is closed frame B when user clicks on
During closing frame B, mobile phone can stop the broadcasting to text message voice.
In step S207, detect whether to receive the text operation instruction with regard to text message.
Wherein, what text operation instruction was user to the word in the corresponding text message that determines chooses operation, such as
User after speech play wants to check attribute information to the carrying out of certain word, can press the word in text message by length,
So as to produce text operation instruction, if detecting the text operation instruction received with regard to text message, execution step S208,
If detecting the text operation instruction not received with regard to text message, continue executing with and detect whether to receive with regard to text envelope
The text operation instruction of breath.
In step S208, the corresponding attribute information that word is stored in speech samples, and display attribute information is obtained.
In certain possible embodiment, the attribute information can be shown in the screen of mobile terminal by text box
On, user can also cancel the display of the attribute information by clicking on non-textual information editing area.
Wherein, the word refer to user it is determined that corresponding text message by operating the word chosen.
Such as, by taking Fig. 3 as an example, after the speech play that mobile phone carries out the word of shaded side, if user wants to check shade
Locate the details of certain word, the word as indicated by cursor of mouse in figure, user can produce behaviour by long by this word
Instruct, mobile phone is by obtaining the attribute information that the word is stored in corresponding speech samples, and the attribute information is shown
In attribute information frame C.
It is contemplated that in embodiments of the present invention, can be in (the i.e. step it is determined that after corresponding text language type
S203), just carry out detecting whether receiving text operation instruction (i.e. step S207) with regard to text message if detecting reception
Instruct to the text operation with regard to text message, then obtain the corresponding attribute information that word is stored in speech samples, and show
Attribute information (i.e. step S208), is not especially limited to execution sequence herein.
From the foregoing, a kind of processing method of text message of the present embodiment offer, by obtaining text selecting instruction
In corresponding text message, determine the corresponding text language type of word in text message, according to text language type matching
Go out the corresponding speech samples of local voice Sample Storehouse, characters matching corresponding speech samples are drawn into text-to-speech information, by institute
The voice messaging for having word merges, and after playing out, the word in text message can also be operated, check this article
The corresponding details of word, eliminate the troublesome operation that user is scanned for for strange font in reading process, and are being not required to
Can also use in the case of network to be connected, save the time of user, and be greatly improved the reading efficiency of user.
For ease of preferably implementing the processing method of text message provided in an embodiment of the present invention, the embodiment of the present invention is also carried
For a kind of device of the processing method based on above-mentioned text message.The wherein processing method of the implication of noun and above-mentioned text message
In it is identical, implement details and may be referred to the explanation in embodiment of the method.
Fig. 4 is referred to, Fig. 4 is the module diagram of the processing meanss of text message provided in an embodiment of the present invention.Specifically
For, the processing meanss 300 of text information, including:Acquisition module 31, text message determining module 32, analysis determining module
33rd, and playing module 34.
The acquisition module 31, for obtaining text selecting instruction.
Text information determination module 32, for determining corresponding text message according to text selection instruction.
Wherein, text information is the word set in the editing area determined by text selection instruction, the character set
Word in conjunction can be the spoken and written languages of every country, such as Chinese, English, Japanese etc..
The analysis determining module 33, for when triggering command is received by default voice play function control, root
Text information is analyzed according to the triggering command, determines corresponding text language type.
In certain possible embodiment, the analysis determining module 33 can also determine corresponding text in the following manner
This language form:
When triggering command being received by default voice play function control, obtain the system of word in text information
One yard, coding schedule is matched according to the Unicode, the corresponding coding range of the Unicode is obtained, correspondence is determined according to the coding range
Text language type.
The playing module 34, for based on default local voice Sample Storehouse and the text language type, determine with
The corresponding voice messaging of text information, and play the voice messaging.
In certain possible embodiment, after the voice messaging is played, also include:
Detection module is closed, for detecting whether default voice closing function control receives triggering command;
Closedown module, for when detecting voice closing function control and receiving triggering command, stopping playing the voice
Information.
Fig. 5 is referred in the lump can, Fig. 5 is that another module of the processing meanss of text message provided in an embodiment of the present invention is illustrated
Figure, the processing meanss 300 of text information can also include:
Wherein, the playing module 34 can also include that sample determination sub-module 341, matched sub-block 342 and merging are broadcast
Put submodule 343.
Specifically, the sample determination sub-module 341, for matching local voice sample according to text language form
Storehouse, it is determined that speech samples corresponding with text language type.The matched sub-block 342, for by the word in text information
Matched with the speech samples for determining one by one, draw the corresponding voice messaging of the word.Merge and play submodule 343, for should
The corresponding voice messaging of word merges, and generates the corresponding voice messaging of text information, and plays the voice messaging.
Operation detection module 35, for detecting whether receive the text operation instruction with regard to the text message.
Display module 36, receives text operation instruction constantly for working as to detect, obtains word and deposit in speech samples
The corresponding attribute information of storage, and show the attribute information.
From the foregoing, a kind of processing meanss of text message of the present embodiment offer, by obtaining text selecting instruction
In corresponding text message, determine the corresponding text language type of word in text message, according to text language type matching
Characters matching corresponding speech samples are drawn text-to-speech information by the corresponding speech samples of local voice Sample Storehouse, will be all
The voice messaging of word merges, and after playing out, the word in text message can also be operated, check the word
Corresponding details, eliminate the troublesome operation that user is scanned for for strange font in reading process, and are not needing
Can also use in the case of connection network, save the time of user, and be greatly improved the reading efficiency of user.
The embodiment of the present invention also provides a kind of mobile terminal, as shown in fig. 6, the mobile terminal 400 can include radio frequency
(RF, Radio Frequency) circuit 401, the memorizer for including one or more computer-readable recording mediums
402nd, input block 403, display unit 404, sensor 405, voicefrequency circuit 406, include one or more than one process
The processor 407 of core, and the part such as power supply 408.It will be understood by those skilled in the art that the mobile terminal illustrated in Fig. 6
Structure does not constitute the restriction to mobile terminal, can include than illustrating more or less of part, or combine some parts,
Or different part arrangements.
Radio circuit 401 can be used to receive and send messages, or in communication process signal reception and transmission, especially, by base station
Downlink information receive after, transfer to one or more than one processor 407 processed;In addition, up data is activation will be related to
To base station.Generally, radio circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibrations
Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low noise amplification
Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 401 can also pass through radio communication and network
Communicate with other equipment.The radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 402 can be used to store application program and data.Include and can hold in the application program of the storage of memorizer 402
Line code.Application program can constitute various functions module.Processor 407 is stored in the application journey of memorizer 402 by operation
Sequence, so that perform various function application and data processing.Memorizer 402 can mainly include storing program area and data storage
Area, wherein, storing program area can storage program area, application program needed at least one function (such as sound-playing function,
Image player function etc.) etc.;Storage data field can be stored and use created data (such as audio frequency number according to mobile terminal
According to, phone directory etc.) etc..Additionally, memorizer 402 can include high-speed random access memory, non-volatile depositing can also be included
Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer
402 can also include Memory Controller, to provide the access of processor 407 and input block 403 to memorizer 402.
Input block 403 can be used for numeral, character information or the user's characteristic information (such as fingerprint) of receives input, and
Produce the keyboard relevant with user's setting and function control, mouse, action bars, optics or trace ball signal input.Specifically
Ground, in a specific embodiment, input block 403 may include Touch sensitive surface and other input equipments.Touch sensitive surface,
Referred to as touch display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses finger, touches
The operation of any suitable object or the adnexaes such as pen on Touch sensitive surface or near the Touch sensitive surface), and according to set in advance
Formula drives corresponding attachment means.Optionally, Touch sensitive surface may include two parts of touch detecting apparatus and touch controller.
Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, transmit a signal to touch
Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives process
Device 407, and the order sent of receiving processor 407 can be performed.Furthermore, it is possible to adopt resistance-type, condenser type, infrared ray
And the polytype such as surface acoustic wave realizes Touch sensitive surface.Except Touch sensitive surface, input block 403 can also be including other inputs
Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch
Button etc.), fingerprint recognition module, trace ball, mouse, one or more in action bars etc..
Display unit 404 can be used to showing by user input information or be supplied to information and the mobile terminal of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.
Display unit 404 may include display floater.Optionally, liquid crystal display (LCD, Liquid Crystal can be adopted
Display), the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) is configuring display surface
Plate.Further, Touch sensitive surface can cover display floater, when Touch sensitive surface is detected thereon or after neighbouring touch operation,
Processor 407 is sent to determine the type of touch event, with preprocessor 407 according to the type of touch event in display floater
It is upper that corresponding visual output is provided.Although in figure 6, Touch sensitive surface and display floater are realizing as two independent parts
Input and input function, but in some embodiments it is possible to will be Touch sensitive surface and display floater integrated and realize be input into and it is defeated
Go out function.
Mobile terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to environment
Adjusting the brightness of display floater, proximity transducer can cut out display surface when mobile terminal is moved in one's ear to the light and shade of light
Plate and/or backlight.As one kind of motion sensor, in the detectable all directions of Gravity accelerometer (generally three axles)
The size of acceleration, can detect that size and the direction of gravity when static, can be used for the application of identification mobile phone attitude (such as anyhow
Screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for movement
The other sensors such as gyroscope that terminal can also configure, barometer, drimeter, thermometer, infrared ray sensor, here are no longer gone to live in the household of one's in-laws on getting married
State.
Voicefrequency circuit 406 can provide the audio interface between user and mobile terminal by speaker, microphone.Audio-frequency electric
The voice data for receiving can be converted into the signal of telecommunication by road 406, be transferred to speaker, be converted to acoustical signal by speaker defeated
Go out;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to audio frequency after being received by voicefrequency circuit 406
Data, then after voice data output processor 407 is processed, Jing radio circuits 401 being sent to such as another mobile terminal, or
Person exports to memorizer 402 voice data further to process.Voicefrequency circuit 406 is also possible that earphone jack, to carry
For the communication of peripheral hardware earphone and mobile terminal.
Processor 407 is the control centre of mobile terminal, using each of various interfaces and the whole mobile terminal of connection
Individual part, is stored in application program in memorizer 402 by running or performing, and calls and be stored in memorizer 402
Data, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Optionally, process
Device 407 may include one or more processing cores;Preferably, processor 407 can integrated application processor and modulation /demodulation process
Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located
Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 407.
Mobile terminal also includes the power supply 408 (such as battery) powered to all parts.Preferably, power supply can be by electricity
Management system is logically contiguous with processor 407, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 408 can also include one or more direct current or alternating current power supply, recharging system, power supply event
The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 6, mobile terminal can also include photographic head, bluetooth module, wireless fidelity module etc., here
Repeat no more.
It is concrete in the present embodiment, the processor 407 in mobile terminal can according to following instruction, by one or one with
On the corresponding executable code of process of application program be loaded in memorizer 402, and be stored in run by processor 407
Application program in memorizer 402, so that realize various functions:
Text selecting instruction is obtained by input block 403;
Corresponding text message is determined according to text selection instruction by processor 407;
Judge, when triggering command is received by default voice play function control, to lead to by input block 403
Cross processor 407 to be analyzed text information according to the triggering command, determine corresponding text language type;
By processor 407 based on default local voice Sample Storehouse and text language form, determine and the text
The corresponding voice messaging of information, and the voice messaging is played by display unit 404.
As the mobile terminal can perform the processing method of any one text message that inventive embodiments are provided, because
This, it is possible to achieve the beneficial effect achieved by the processing method of any one text message that inventive embodiments are provided, refers to
Embodiment above, will not be described here.
When being embodied as, above unit can be realized as independent entity, it is also possible to carry out combination in any, made
Realize for same or several entities, being embodied as of above unit can be found in embodiment of the method above, and here is not
Repeat again.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, the detailed description of the processing method above with respect to text message is may refer to, here is omitted.
The processing method of text message provided in an embodiment of the present invention, device and mobile terminal are for example mobile phone, flat board electricity
Brain, palm PC (PDA, Personal Digital Assistant) etc., the mobile terminal, the processing meanss of text message
And the processing method of text message belongs to same design, text information can be run in the processing meanss of text information
The either method provided in processing method embodiment, which implements the processing method embodiment that process refers to text information,
Here is omitted.
It should be noted that for the processing method of text information of the present invention, this area common test personnel can be with
All or part of flow process of the processing method of embodiment of the present invention text message is realized in understanding, can be by computer program
Control related hardware to complete, the computer program can be stored in a computer read/write memory medium, be such as stored in end
In the memorizer at end, and by least one computing device in the terminal, may include such as text information in the process of implementation
Processing method embodiment flow process.Wherein, the storage medium can be magnetic disc, CD, read only memory (ROM, Read
Only Memory), random access memory (RAM, Random Access Memory) etc..
For the processing meanss of the text information of the embodiment of the present invention, its each functional module can be integrated at one
Reason chip in, or modules be individually physically present, it is also possible to two or more modules are integrated in a module
In.Above-mentioned integrated module both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.Should
If integrated module realized using in the form of software function module and as independent production marketing or use when, it is also possible to store
In a computer read/write memory medium, the storage medium is for example read only memory, disk or CD etc..
A kind of processing method of the text message for being provided to the embodiment of the present invention above, device and mobile terminal are carried out
It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example
Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this
The thought of invention, will change in specific embodiments and applications, is to sum up somebody's turn to do, and this specification content should not be managed
Solve as limitation of the present invention.
Claims (10)
1. a kind of processing method of text message, it is characterised in that include:
Obtain text selecting instruction;
Corresponding text message is determined according to text selecting instruction;
When triggering command is received by default voice play function control, according to the triggering command to the text envelope
Breath is analyzed, and determines corresponding text language type;
Based on default local voice Sample Storehouse and the text language type, voice corresponding with the text message is determined
Information, and play the voice messaging.
2. the processing method of text message as claimed in claim 1, it is characterised in that described based on default local voice sample
This storehouse and the text language type, determine that voice messaging corresponding with the text message includes:
According to the text language type matching local voice Sample Storehouse, it is determined that speech samples corresponding with text language type;
Word in the text message is matched one by one with the speech samples for determining, the corresponding voice letter of the word is drawn
Breath;
The word corresponding voice messaging is merged, the corresponding voice messaging of the text message is generated.
3. the processing method of text message as claimed in claim 2, it is characterised in that described to be instructed according to the text selecting
It is determined that after corresponding text message, also including:
Detect whether to receive the text operation instruction with regard to the text message;
When detect receive text operation and instruct when, obtain the corresponding attribute information that stores in speech samples of word, and show
Show the attribute information.
4. the processing method of text message as claimed in claim 1, it is characterised in that the broadcasting voice messaging it
Afterwards, also include:
Detect whether default voice closing function control receives triggering command;
When detecting voice closing function control and receiving triggering command, stop playing the voice messaging.
5. the processing method of text message as claimed in claim 1, it is characterised in that described when by default speech play
When functionality controls receive triggering command, the text message is analyzed according to the triggering command, determines corresponding text
This language form, including:
When triggering command being received by default voice play function control, obtain the unification of word in the text message
Code;
Coding schedule is matched according to the Unicode, the corresponding coding range of the Unicode is obtained, it is true according to the coding range
Surely correspond to text language type.
6. a kind of processing meanss of text message, it is characterised in that include:
Acquisition module, for obtaining text selecting instruction;
Text message determining module, for determining corresponding text message according to text selecting instruction;
Analysis determining module, for when triggering command is received by default voice play function control, touching according to described
Is sent instructions and the text message is analyzed, determine corresponding text language type;
Playing module, for based on default local voice Sample Storehouse and the text language type, determining and the text
The corresponding voice messaging of information, and play the voice messaging.
7. processing meanss of text message as claimed in claim 6, it is characterised in that the playing module, including:
Sample determination sub-module, for according to the text language type matching local voice Sample Storehouse, it is determined that and text language
The corresponding speech samples of type;
Matched sub-block, for the word in the text message is matched one by one with the speech samples for determining, draws the text
The corresponding voice messaging of word;
Merge and play submodule, for the word corresponding voice messaging is merged, generate the corresponding language of the text message
Message ceases, and plays the voice messaging.
8. processing meanss of text message as claimed in claim 7, it is characterised in that described device also includes:
Operation detection module, detects whether to receive the text operation instruction with regard to the text message;
Display module, for when detect receive text operation and instruct when, obtain the correspondence that stores in speech samples of word
Attribute information, and show the attribute information.
9. processing meanss of text message as claimed in claim 1, it is characterised in that described device also includes:
Detection module is closed, for detecting whether default voice closing function control receives triggering command;
Closedown module, for when detecting voice closing function control and receiving triggering command, stopping playing the voice letter
Breath.
10. a kind of mobile terminal, it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The executable program code that the processor is stored in calling the memorizer, performs if claim 1 is to right
Require the method described in 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977264.1A CN106534528A (en) | 2016-11-04 | 2016-11-04 | Processing method and device of text information and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610977264.1A CN106534528A (en) | 2016-11-04 | 2016-11-04 | Processing method and device of text information and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106534528A true CN106534528A (en) | 2017-03-22 |
Family
ID=58350095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610977264.1A Pending CN106534528A (en) | 2016-11-04 | 2016-11-04 | Processing method and device of text information and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534528A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110211311A (en) * | 2019-07-09 | 2019-09-06 | 中国工商银行股份有限公司 | Voice guidance method, apparatus and system for self-service transacting business |
CN110502300A (en) * | 2019-08-14 | 2019-11-26 | 上海掌门科技有限公司 | Speech playing method, equipment and computer-readable medium |
CN113223243A (en) * | 2021-04-30 | 2021-08-06 | 中国银行股份有限公司 | Business handling method and intelligent counter |
CN113360127A (en) * | 2021-05-31 | 2021-09-07 | 富途网络科技(深圳)有限公司 | Audio playing method and electronic equipment |
CN113872716A (en) * | 2021-09-06 | 2021-12-31 | 江苏铁锚玻璃股份有限公司 | Broadcast audio accompanying sound character display method and system based on OLED (organic light emitting diode) vehicle window |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604182A (en) * | 2003-09-29 | 2005-04-06 | 摩托罗拉公司 | Method for voice synthesizing |
US20110050591A1 (en) * | 2009-09-02 | 2011-03-03 | Kim John T | Touch-Screen User Interface |
CN104380284A (en) * | 2012-03-06 | 2015-02-25 | 苹果公司 | Handling speech synthesis of content for multiple languages |
CN104835491A (en) * | 2015-04-01 | 2015-08-12 | 成都慧农信息技术有限公司 | Multiple-transmission-mode text-to-speech (TTS) system and method |
CN105609096A (en) * | 2015-12-30 | 2016-05-25 | 小米科技有限责任公司 | Text data output method and device |
-
2016
- 2016-11-04 CN CN201610977264.1A patent/CN106534528A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604182A (en) * | 2003-09-29 | 2005-04-06 | 摩托罗拉公司 | Method for voice synthesizing |
US20110050591A1 (en) * | 2009-09-02 | 2011-03-03 | Kim John T | Touch-Screen User Interface |
CN104380284A (en) * | 2012-03-06 | 2015-02-25 | 苹果公司 | Handling speech synthesis of content for multiple languages |
CN104835491A (en) * | 2015-04-01 | 2015-08-12 | 成都慧农信息技术有限公司 | Multiple-transmission-mode text-to-speech (TTS) system and method |
CN105609096A (en) * | 2015-12-30 | 2016-05-25 | 小米科技有限责任公司 | Text data output method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110211311A (en) * | 2019-07-09 | 2019-09-06 | 中国工商银行股份有限公司 | Voice guidance method, apparatus and system for self-service transacting business |
CN110502300A (en) * | 2019-08-14 | 2019-11-26 | 上海掌门科技有限公司 | Speech playing method, equipment and computer-readable medium |
CN113223243A (en) * | 2021-04-30 | 2021-08-06 | 中国银行股份有限公司 | Business handling method and intelligent counter |
CN113360127A (en) * | 2021-05-31 | 2021-09-07 | 富途网络科技(深圳)有限公司 | Audio playing method and electronic equipment |
CN113872716A (en) * | 2021-09-06 | 2021-12-31 | 江苏铁锚玻璃股份有限公司 | Broadcast audio accompanying sound character display method and system based on OLED (organic light emitting diode) vehicle window |
CN113872716B (en) * | 2021-09-06 | 2023-07-11 | 江苏铁锚玻璃股份有限公司 | Broadcast audio accompanying sound and text display method and system based on OLED vehicle window |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103702297B (en) | Short message enhancement, apparatus and system | |
CN106534528A (en) | Processing method and device of text information and mobile terminal | |
CN106227774A (en) | Information search method and device | |
CN104281600B (en) | The method and apparatus of Intelligent Selection word | |
CN107276602B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN108287918A (en) | Method for playing music, device, storage medium based on five application page and electronic equipment | |
CN106126174A (en) | The control method of a kind of scene audio and electronic equipment | |
CN104063400B (en) | Data search method and data search device | |
CN108492836A (en) | A kind of voice-based searching method, mobile terminal and storage medium | |
CN106528545A (en) | Voice message processing method and device | |
CN109189258A (en) | Record the method and device of notes | |
CN106385485A (en) | Call recording method, call recording device and mobile terminal | |
CN106202422B (en) | The treating method and apparatus of Web page icon | |
CN107219951A (en) | Touch screen control method, device, storage medium and terminal device | |
CN107171740A (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN109543014A (en) | Interactive method, device, terminal and server | |
CN107291327A (en) | Application control method and related product | |
CN106936516A (en) | Display screen dispaly state control method, storage medium and terminal | |
CN106951492A (en) | File search method, device and electronic equipment | |
CN104281610A (en) | Method and device for filtering microblogs | |
CN107656912A (en) | Data processing method and device, electronic equipment, computer-readable recording medium | |
CN104424324B (en) | The method and device of locating list item in list element | |
CN109062643A (en) | A kind of display interface method of adjustment, device and terminal | |
CN105354067B (en) | A kind of interface configuration method and device | |
CN107741813A (en) | The operating method and mobile terminal of a kind of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170322 |