CN108111986A - A kind of conversion method of notification message, terminal and computer readable storage medium - Google Patents

A kind of conversion method of notification message, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108111986A
CN108111986A CN201711449216.6A CN201711449216A CN108111986A CN 108111986 A CN108111986 A CN 108111986A CN 201711449216 A CN201711449216 A CN 201711449216A CN 108111986 A CN108111986 A CN 108111986A
Authority
CN
China
Prior art keywords
notification message
message
terminal
verbal announcement
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711449216.6A
Other languages
Chinese (zh)
Inventor
张忠男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711449216.6A priority Critical patent/CN108111986A/en
Publication of CN108111986A publication Critical patent/CN108111986A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Abstract

The embodiment of the invention discloses a kind of conversion method of notification message, terminal and computer readable storage medium, this method to include:Receive notification message;When the notification message received is verbal announcement message, text notification message is converted into;Alternatively, when the notification message received is verbal announcement message, and the currently used state of terminal meets the first preset condition, verbal announcement message is converted into text notification message;When the notification message received is text notification message, verbal announcement message is converted into;Alternatively, when the notification message received is text notification message, and the currently used state of terminal meets the second preset condition, text notification message is converted into verbal announcement message;For this method in the case where terminal is in different service conditions, the notification message received to user is automatically regulated to be suitable type of message, and user is made directly to obtain the content of notification message in an ideal way.

Description

A kind of conversion method of notification message, terminal and computer readable storage medium
Technical field
It can the present invention relates to a kind of conversion technology of information more particularly to conversion method of notification message, terminal and computer Read storage medium.
Background technology
At present, for user in using terminal, the notification message (for example, short message) of social software includes following two classes Type:Text notification message and verbal announcement message, the sender of notification message determines the type of notification message that user receives, right Message content is obtained after the text notification message user browsing of reception, clicks on and plays for the verbal announcement message user of reception After obtain message content, still, need to keep quite or environment that noise is larger in, user is not desired to the verbal announcement to reception When message plays out, user, which needs to manually select to be converted to obtain after text notification message by the verbal announcement message of reception, to disappear Breath content or the content that verbal announcement message is listened to using earphone;On the other hand, for wanting to obtain by listening to voice The user of notification message content, for the text notification message of reception, user cannot directly be obtained by way of playing voice Message content.
In conclusion user receive notification message be which type is determined by the sender of the notification message, when with When family is dissatisfied to the current type of notification message, user needs to perform operation correspondingly to change the type of notification message, That is, in the case where terminal is in different service conditions, the notification message of user's reception, which will not be automatically regulated to be, suitably to disappear Type is ceased, user cannot directly obtain the content of notification message in an ideal way, and the usage experience for causing user is poor.
The content of the invention
It is a primary object of the present invention to propose a kind of conversion method of notification message, terminal and computer-readable storage medium Matter, it is intended to when terminal is under different service conditions, the notification message that user receives is automatically regulated to be suitable message class Type, user can directly obtain the content of notification message in an ideal way.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
The embodiment of the present invention provides a kind of conversion method of notification message, applied to terminal, the described method includes:
Receive notification message;
When the notification message received is verbal announcement message, the verbal announcement message is converted into text notification and is disappeared Breath;Alternatively, it is verbal announcement message to work as the notification message received, and the currently used state of terminal meets the first preset condition When, the verbal announcement message is converted into text notification message;
When the notification message received is text notification message, the text notification message is converted into verbal announcement and is disappeared Breath;Alternatively, it is text notification message to work as the notification message received, and the currently used state of the terminal meets the second default item During part, the text notification message is converted into verbal announcement message.
In said program, the method further includes:When the notification message received is verbal announcement message, terminal is obtained The volume value of use environment;Correspondingly, first preset condition includes at least one of following:The sound of the terminal use environment Magnitude is in silent mode more than the first predetermined threshold value, terminal.
In said program, second preset condition includes at least one of following:Detect terminal insertion earphone, at terminal Multimedia file is being played in incoming call bell mode, terminal.
In said program, verbal announcement message is being received, alternatively, the text notification message is converted to verbal announcement After message, the method further includes:The verbal announcement message message interface in the open state, play the voice Notification message.
In said program, after the verbal announcement message is converted to text notification message, the method further includes:
The text notification message is shown according to default text formatting.
The embodiment of the present invention also provides a kind of terminal, and the terminal includes:Processor and memory;Wherein,
The memory is used to store computer program;
The processor is used to perform the computer program stored in the memory, to realize following steps:
Receive notification message;
When the notification message received is verbal announcement message, the verbal announcement message is converted into text notification and is disappeared Breath;Alternatively, it is verbal announcement message to work as the notification message received, and the currently used state of terminal meets the first preset condition When, the verbal announcement message is converted into text notification message;
When the notification message received is text notification message, the text notification message is converted into verbal announcement and is disappeared Breath;Alternatively, it is text notification message to work as the notification message received, and the currently used state of the terminal meets the second default item During part, the text notification message is converted into verbal announcement message.
In said program, the processor is specifically used for performing the computer program stored in the memory, to realize Following steps:
When the notification message received is verbal announcement message, the volume value of terminal use environment is obtained;Correspondingly, institute The first preset condition is stated including at least one of following:The volume value of the terminal use environment is more than the first predetermined threshold value, terminal In silent mode.
In said program, second preset condition includes at least one of following:Detect terminal insertion earphone, at terminal Multimedia file is being played in incoming call bell mode, terminal.
In said program, the processor is additionally operable to perform the computer program stored in the memory, with realize with Lower step:
Verbal announcement message is being received, alternatively, after the text notification message is converted to verbal announcement message, in institute The message interface of predicate sound notification message in the open state, plays the verbal announcement message;
Alternatively, the processor is additionally operable to perform the computer program stored in the memory, to realize following steps:
After the verbal announcement message is converted to text notification message, the text is shown according to default text formatting Notification message.
The embodiment of the present invention also provides a kind of computer readable storage medium, described computer-readable applied in terminal Storage medium is stored with computer program, when the computer program is performed by least one processor, cause it is described at least The step of one processor performs any one above-mentioned notification message conversion method.
In the conversion method of the notification message that the embodiment of the present invention is provided, terminal and computer storage media, receive logical Know message;When the notification message received is verbal announcement message, the verbal announcement message is converted into text notification and is disappeared Breath;Alternatively, it is verbal announcement message to work as the notification message received, and the currently used state of terminal meets the first preset condition When, the verbal announcement message is converted into text notification message;It, will when the notification message received is text notification message The text notification message is converted to verbal announcement message;Alternatively, the notification message that ought be received is text notification message, and institute When stating the currently used state of terminal and meeting the second preset condition, the text notification message is converted into verbal announcement message.Such as This, the embodiment of the present invention judges the type of notification message of reception, changes the current type of the notification message, alternatively, into One step the currently used state of terminal is judged, when the currently used state of terminal meets preset condition, changing should The current type of notification message, it is achieved thereby that in the case where terminal is in different service conditions, by the notification message of user's reception Suitable type of message is automatically regulated to be, user can directly obtain the content of notification message, meet user in an ideal way Actual demand.
Description of the drawings
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the communication system architecture schematic diagram that mobile terminal provided in an embodiment of the present invention can operate;
Fig. 3 is the flow diagram of the conversion method of notification message provided in an embodiment of the present invention;
Fig. 4 is a kind of illustrative terminal display interface schematic diagram one provided in an embodiment of the present invention;
Fig. 5 is a kind of illustrative terminal display interface schematic diagram two provided in an embodiment of the present invention;
Fig. 6 is a kind of illustrative terminal display interface schematic diagram three provided in an embodiment of the present invention;
Fig. 7 is a kind of illustrative terminal display interface schematic diagram four provided in an embodiment of the present invention;
Fig. 8 is the composition structure diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special For moving outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the components such as first memory 109, first processor 110 and power supply 111.It will be understood by those skilled in the art that Fig. 1 In the mobile terminal structure that shows do not form restriction to mobile terminal, mobile terminal can include more more or less than illustrating Component either combine some components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, handled to first processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency list Member 101 includes but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..This Outside, radio frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any Communication standard or agreement, including but not limited to GSM, (Global System of Mobile communication, the whole world are mobile Communication system), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need It to be omitted in the scope of essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotypes, by radio frequency unit 101 or WiFi module 102 it is receiving or The voice data stored in first memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103 can also provide with mobile terminal 100 perform the relevant audio output of specific function (for example, call signal receive sound, Message sink sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in first memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102. Microphone 1042 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 receive sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) Data can be converted to the form that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model Output.Microphone 1042 can implement various types of noises and eliminate (or inhibition) algorithm to eliminate (or inhibition) in reception and send out The noise generated during sending audio signal or interference.
Mobile terminal 100 further includes at least one sensor 105, 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 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one 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, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives first processor 110, and the order that first processor 110 is sent can be received and performed. Furthermore, it is possible to realize touch panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except Touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, One or more in operation lever etc., do not limit specifically herein.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, first processor 110 is sent to determine the type of touch event, subsequent first processor 110 Corresponding visual output is provided on display panel 1061 according to the type of touch event.Although in Fig. 1, touch panel 1071 with Display panel 1061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some implementations In example, touch panel 1071 and display panel 1061 can be integrated and realize the function that outputs and inputs of mobile terminal, specifically It does not limit herein.
Interface unit 108 be used as at least one external device (ED) be connected with mobile terminal 100 can by interface.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
First memory 109 can be used for storage software program and various data.First memory 109 can mainly include depositing Program area and storage data field are stored up, wherein, storing program area can storage program area, the application program needed at least one function (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created number according to mobile phone According to (such as voice data, phone directory etc.) etc..In addition, first memory 109 can include high-speed random access memory, may be used also To include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
First processor 110 is the control centre of mobile terminal, utilizes various interfaces and the entire mobile terminal of connection Various pieces, by run or perform the software program being stored in first memory 109 and/or module and call deposit The data in first memory 109 are stored up, the various functions of mobile terminal and processing data are performed, so as to be carried out to mobile terminal Integral monitoring.First processor 110 may include one or more processing units;Preferably, first processor 110 can integrate application Processor and modem processor, wherein, the main processing operation system of application processor, user interface and application program etc., Modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into In first processor 110.
Mobile terminal 100 can also be included to the power supply 111 (such as battery) of all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and first processor 110, so as to be charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system It unites as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making Point, it selects and provides available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
The embodiment of the present invention one
The embodiment of the present invention provides a kind of conversion method of notification message, and applied to terminal, Fig. 3 carries for the embodiment of the present invention The flow diagram of the conversion method of the notification message of confession, as shown in figure 3, this method may comprise steps of:
Step 301:Receive notification message.
In practical applications, terminal receives the notification message of each social software, the social software by radio frequency unit It can be the application program that there is communication function, support verbal announcement message and text notification message, include but not limited to:It is short Believe application program, wechat application program, QQ application programs etc., terminal receive the type of the notification message of any one application program by Sender determines that the notification message that sender sends may be verbal announcement message, it is also possible to text notification message.
Illustratively, Fig. 4 is a kind of illustrative terminal display interface schematic diagram one provided in an embodiment of the present invention, is such as schemed Shown in 4, mobile phone A is connected to internet, wherein, the mode of the connection can be the mobile internet provided by operator It is attached, can also be by accessing wireless access point to carry out network connection, when the wechat application program operation in mobile phone A When, notification message that real-time reception is sent to user B opens message circle of the notification message of wechat application program in mobile phone A During face, it becomes possible to see that the notification message that user B is sent has verbal announcement message and text notification message.
Optionally, after terminal receives the notification message of any one social software, the social software notification message is opened Message interface when, can show the notification message or not show the notification message, and the type of the notification message is sentenced It is disconnected.
Illustratively, the wechat application program in terminal receives new notification message as verbal announcement message, in the notice The verbal announcement message is not shown on the message interface of message, which is stored into the memory of terminal, performs step Rapid 302;Alternatively, showing the verbal announcement information on the message interface of the notification message, which is stored to terminal Memory in, perform step 302;
Wechat application program in terminal receives new notification message as text notification message, in the message of the notification message Text notification message is not shown on interface, which is stored into the memory of terminal, performs step 303;Alternatively, Text notification information is shown on the message interface of the notification message, which is stored into the memory of terminal, Perform step 303.
Step 302:When the notification message received is verbal announcement message, the verbal announcement message is converted into text This notice message;Alternatively, it is verbal announcement message to work as the notification message received, and the currently used state of terminal meets first in advance If during condition, the verbal announcement message is converted into text notification message.
In embodiments of the present invention, when the notification message is verbal announcement message, alternatively, when the notification message is voice Notification message, and when the currently used state of terminal meets the first preset condition, by speech recognition technology to the verbal announcement Message is converted, and is obtained transformed text notification message, and is shown on the message interface of the social software notification message Text notification message, user can obtain the content of the notification message by way of browsing word.
Further, when the notification message is verbal announcement message, the currently used state of detection terminal, correspondingly, institute The first preset condition is stated including at least one of following:The volume value of terminal use environment is in more than the first predetermined threshold value, terminal Silent mode and other expression terminal-pair notification messages tend to the terminal use state of text importing;
Wherein, first predetermined threshold value can be a changing value, change with the change of terminal media volume value, The value range of first predetermined threshold value is corresponding with the value range of terminal media volume value, to verbal announcement message point When hitting broadcasting, the size of broadcast sound volume is determined by present terminal media volume value, therefore, can be to any one terminal media sound Magnitude is arranged in correspondence with the maximum of an interfering noise, is denoted as the first predetermined threshold value, is broadcast when with any terminal media volume value Voice is put, if interfering noise is more than the media volume value corresponding interfering noise maximum, user cannot clearly hear The voice content;
Alternatively, the first predetermined threshold value can also be a fixed value, i.e., to the maximum of terminal media volume value accordingly The maximum of one interfering noise is set, is denoted as the first predetermined threshold value.
Further, after the verbal announcement message being converted to text notification message, shown according to default text formatting Show the text notification message;
Wherein, default text formatting can include the character boundary and font style of terminal acquiescence, alternatively, default text This form can include the character boundary and font style of the application program of notified message, alternatively, default text formatting It can include by converting the distinctive character boundary of character obtained and font style.
Step 303:When the notification message received is text notification message, the text notification message is converted into language Sound notification message;Alternatively, when the notification message that receive is text notification message, and the currently used state of the terminal meets the During two preset conditions, the text notification message is converted into verbal announcement message.
In embodiments of the present invention, when the notification message is text notification message, alternatively, when the notification message is text Notification message, and when the currently used state of terminal meets the second preset condition, by Text-to-Speech technology to the voice Notification message is converted, and obtains transformed verbal announcement message, and on the message interface of the social software notification message Show the verbal announcement message, user obtains the content of the notification message by way of listening to voice.
Further, when the notification message is text notification message, by the currently used state of detection terminal, accordingly Ground, second preset condition include at least one of following:Detect terminal insertion earphone, terminal be in incoming call bell mode, Terminal is playing multimedia file and other represent that terminal can play the terminal use state of sound.
Further, verbal announcement message is being received, disappeared alternatively, the text notification message is converted to verbal announcement After breath, the method further includes:The verbal announcement message message interface in the open state, play the voice and lead to Know message.
It can be seen that in the embodiment of the present invention, the type of notification message of reception is judged, changes the notification message Current type, alternatively, further judging the currently used state of terminal, when the currently used state of terminal meets in advance If during condition, changing the current type of the notification message, it is achieved thereby that in the case where terminal is in different service conditions, by user The notification message of reception is automatically regulated to be suitable type of message, and user can directly obtain notification message in an ideal way Content.
The embodiment of the present invention two
In order to more embody the purpose of the present invention, on the basis of the embodiment of the present invention one, further lifted Example explanation.
The conversion method of notification message under a kind of mute state of mobile phone provided in an embodiment of the present invention, this method can wrap It includes:
Step A1:Receive notification message.
Specifically, Fig. 5 is a kind of illustrative terminal display interface schematic diagram two provided in an embodiment of the present invention, such as Fig. 5 Shown, the wechat application program in mobile phone A receives the notification message of user B transmissions, and wechat application program is opened in mobile phone A Notification message message interface when, show the notification message, and the type of the notification message is judged, perform step A2。
Step A2:When the notification message received is verbal announcement message, and the currently used state of terminal is obtained to be quiet During sound pattern, the verbal announcement message is converted using speech recognition technology, obtain text notification message and is shown.
Specifically, when being shown for transformed text notification message, shown by default text formatting, Default text formatting is that the text formatting general with mobile phone A is different, has the form of special marking effect, can be with hand Word size, font style and text color etc. appoint several differences in text formatting general machine A.
Illustratively, as shown in figure 5, the word of the transformed text notification message text formatting general with mobile phone A is big Small difference, that is, the word of text notification message of the transformed text notification message with receiving are of different sizes, can remind Each text notification message of user A is the notification message that other side sends or passes through transformed notification message.
Step A3:When the notification message received is text notification message, shown.
It can be seen that in the embodiment of the present invention, the type of notification message of reception is judged, further according to the current of terminal Use state is silent mode, and notification message is converted to text notification message shows, avoiding user can not broadcast at this time Sound reproduction sound needs to be inserted into earphone come the problem of obtaining notification message content, user can directly obtain by way of browsing word Obtain notification message content.
The embodiment of the present invention three
In order to more embody the purpose of the present invention, on the basis of the embodiment of the present invention one, further lifted Example explanation.
A kind of mobile phone provided in an embodiment of the present invention is in the conversion method of the notification message of incoming call bell mode, this method It can include:
Step B1:Receive notification message.
Specifically, Fig. 6 is a kind of illustrative terminal display interface schematic diagram three provided in an embodiment of the present invention, such as Fig. 6 Shown, the wechat application program in mobile phone A receives the notification message of user B transmissions, and wechat application program is opened in mobile phone A Notification message message interface when, do not show the notification message, the type of the notification message judged, perform step B2。
Step B2:When the notification message received be text notification message, and obtain terminal phone be in incoming call jingle bell During pattern, text notification message is converted using Text-to-Speech technology, obtain verbal announcement message and is shown.
Specifically, as shown in fig. 6, when opening the display interface of the notification message in mobile phone A, only showing transformed Verbal announcement message avoids the notification message of same content from repeating to show, and when the transformed verbal announcement message is the During one new information, directly play out.
Further, the selection of the volume value of transformed verbal announcement message can pre-set a constant volume It is worth the volume value as transformed verbal announcement message;Can also using the volume value of the current incoming ring tone of terminal phone as The volume value of transformed verbal announcement message.
Step B3:When the notification message received be verbal announcement message, and obtain terminal phone be in incoming call jingle bell During pattern, the verbal announcement message is directly displayed.
Specifically, as shown in fig. 6, when opening the display interface of the notification message in mobile phone A, the language of the reception of display Sound notification message waits to be played according to sequencing.
It can be seen that in the embodiment of the present invention, the type of notification message of reception is judged, current further according to terminal Use state, i.e. terminal are in incoming ring tone modes, are shown after notification message is converted to verbal announcement message, avoid similary Content notification message repeat show the problem of, user open message interface after directly listen to notification message content.
The embodiment of the present invention four
In order to more embody the purpose of the present invention, on the basis of the embodiment of the present invention one, further lifted Example explanation.
The conversion method of notification message under a kind of mute state of mobile phone provided in an embodiment of the present invention, this method can wrap It includes:
Step C1:Receive notification message.
Specifically, Fig. 7 is a kind of illustrative terminal display interface schematic diagram four provided in an embodiment of the present invention, such as Fig. 7 Shown, the wechat application program in mobile phone A receives a notification message of user B transmissions, and wechat application program image is put on aobvious Show that message number is reminded, display receives a new information.
Step C2:When the notification message received is verbal announcement message, and the currently used state of terminal is obtained to be quiet During sound pattern, the verbal announcement message is converted using speech recognition technology, obtain text notification message and is shown.
Specifically, as shown in fig. 7, opening the message interface of the notification message of wechat application program in mobile phone A, display one Verbal announcement message and a word notification message, it can thus be appreciated that the word notification message is converted to the verbal announcement message It obtains afterwards, that is to say, that transformed notification message will not be duplicatedly recorded in notification message number.
It can be seen that in the embodiment of the present invention, the type of notification message of reception is judged, further according to the current of terminal Use state is silent mode, and notification message is converted to text notification message shows, the conversion for same content Notification message afterwards will not repeat to remind user.
The embodiment of the present invention five
In order to more embody the purpose of the present invention, on the basis of stating embodiment of the method before this invention, into traveling one The illustration of step.
A kind of terminal provided in an embodiment of the present invention, the terminal can be mobile terminals;If the mobile terminal has behaviour Make system, which can be UNIX, Linux, Windows, Android (Android), Windows Phone etc..
Fig. 8 is the composition structure diagram of terminal provided in an embodiment of the present invention, as shown in figure 8, the terminal 800 includes: Second memory 801, second processor 802 and bus 803;Wherein,
Bus 803 is used to implement being in communication with each other between second memory 801, second processor 802 and these devices;
Second memory 801 is used to store computer program;
Second processor 802 is used to perform the computer program stored in second memory 801, to realize following steps:
The type of the notification message of terminal reception is judged;When the notification message received is verbal announcement message When, the verbal announcement message is converted into text notification message;Alternatively, when the notification message received disappears for verbal announcement Breath, and when the currently used state of terminal meets the first preset condition, the verbal announcement message is converted into text notification message; When the notification message received is text notification message, the text notification message is converted into verbal announcement message;Alternatively, When the notification message received is text notification message, and the currently used state of terminal meets the second preset condition, by described in Text notification message is converted to verbal announcement message.
In practical applications, above-mentioned second memory 801 can be volatile memory (volatile memory), example Such as random access memory (RAM, Random-Access Memory);Or nonvolatile memory (non-volatile Memory), such as read-only memory (ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid state disk (SSD, Solid-State Drive);Or the memory of mentioned kind Combination, and provide instruction and data to second processor 802.
Above-mentioned second processor 802 can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), Digital Signal Processing Device (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), central processing unit At least one of (CPU, Central Processing Unit), controller, microcontroller, microprocessor.It is appreciated that Ground, for different equipment, it can also be other to be used to implement the electronic device of above-mentioned second processor function, and the present invention is implemented Example is not especially limited.
In embodiments of the present invention, the type for the notification message that terminal receives is determined by sender, and sender sends logical It may be verbal announcement message to know message, it is also possible to text notification message;Whether the notification message of reception is converted, with And the necessary condition (including the first preset condition and the second preset condition) that notification message conversion meets, user can be according to using It needs, selects to set in terminal.
Further, second processor 802 is specifically used for when the notification message of reception is verbal announcement message, to terminal Currently used state be detected, judge whether meet the first preset condition;It is word to be additionally operable to when the notification message received During notification message, the currently used state of terminal is detected, judges whether to meet the second preset condition.
Further, second processor 802 are additionally operable to, when the notification message received is verbal announcement message, obtain The volume value of terminal use environment;
Optionally, first preset condition includes at least one of following:The volume value of terminal use environment is more than first Predetermined threshold value, terminal are in silent mode;
Wherein, first predetermined threshold value can be a changing value, change with the change of terminal media volume value, The value range of first predetermined threshold value is corresponding with the value range of terminal media volume value, to verbal announcement message point When hitting broadcasting, the size of broadcast sound volume is determined by present terminal media volume value, therefore, can be to any one terminal media sound Magnitude is arranged in correspondence with the maximum of an interfering noise, is denoted as the first predetermined threshold value, is broadcast when with any terminal media volume value Voice is put, if interfering noise is more than the media volume value corresponding interfering noise maximum, user cannot clearly hear The voice content;Alternatively, the first predetermined threshold value can also be a fixed value, i.e., the maximum of terminal media volume value is corresponded to Ground sets the maximum of an interfering noise, is denoted as the first predetermined threshold value.
Optionally, second preset condition includes at least one of following:Detect that terminal insertion earphone, terminal are in and Electric bell mode, terminal are playing multimedia file.
Further, second processor 802 are additionally operable to receiving verbal announcement message, alternatively, by the text notification After message is converted to verbal announcement message, the verbal announcement message message interface in the open state, described in broadcasting Verbal announcement message.
Further, second processor 802 are additionally operable to after the verbal announcement message is converted to text notification message, The text notification message is shown according to default text formatting.
The embodiment of the present invention six
Based on the technical concept identical with previous embodiment, the embodiment of the present invention six provides a kind of computer-readable storage Medium can be applied in terminal;The portion that the technical solution of previous embodiment substantially in other words contributes to the prior art Divide or all or part of the technical solution can be embodied in the form of software product, computer software product storage In a computer readable storage medium, used including some instructions so that a computer equipment (can be individual calculus Machine, server or network equipment etc.) or processor (processor) perform the present embodiment the method all or part Step.And foregoing storage medium includes:It is USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random Access various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic disc or CD Matter.
Specifically, the corresponding computer program instructions of a kind of notification message conversion method in the present embodiment can be deposited Storage is on the storage mediums such as CD, hard disk, USB flash disk, when calculating corresponding with a kind of notification message conversion method in storage medium Machine program instruction is read or is performed by an electronic equipment, and at least one processor is caused to perform the foregoing implementation of the present invention Step described in any one notification message conversion method of example.
It should be noted that herein, term " comprising ", "comprising" 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 not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of conversion method of notification message, which is characterized in that applied to terminal, the described method includes:
Receive notification message;
When the notification message received is verbal announcement message, the verbal announcement message is converted into text notification message; Alternatively, when the notification message received is verbal announcement message, and the currently used state of terminal meets the first preset condition, it will The verbal announcement message is converted to text notification message;
When the notification message received is text notification message, the text notification message is converted into verbal announcement message; Alternatively, it is text notification message to work as the notification message received, and the currently used state of the terminal meets the second preset condition When, the text notification message is converted into verbal announcement message.
2. according to the method described in claim 1, it is characterized in that, when the notification message received be verbal announcement message when, The method further includes:Obtain the volume value of terminal use environment;
Correspondingly, first preset condition includes at least one of following:The volume value of the terminal use environment is more than first Predetermined threshold value, terminal are in silent mode.
3. according to the method described in claim 1, it is characterized in that, second preset condition is including at least one of following:Inspection Measure terminal insertion earphone, terminal is in incoming call bell mode, terminal is playing multimedia file.
4. method according to any one of claims 1 to 3, which is characterized in that verbal announcement message is being received, alternatively, After the text notification message is converted to verbal announcement message, the method further includes:In disappearing for the verbal announcement message It ceases interface in the open state, plays the verbal announcement message.
5. method according to any one of claims 1 to 3, which is characterized in that the verbal announcement message is converted into text After this notice message, the method further includes:
The text notification message is shown according to default text formatting.
6. a kind of terminal, which is characterized in that the terminal includes:Processor and memory;Wherein,
The memory is used to store computer program;
The processor is used to perform the computer program stored in the memory, to realize following steps:
Receive notification message;
When the notification message received is verbal announcement message, the verbal announcement message is converted into text notification message; Alternatively, when the notification message received is verbal announcement message, and the currently used state of terminal meets the first preset condition, it will The verbal announcement message is converted to text notification message;
When the notification message received is text notification message, the text notification message is converted into verbal announcement message; Alternatively, it is text notification message to work as the notification message received, and the currently used state of the terminal meets the second preset condition When, the text notification message is converted into verbal announcement message.
7. terminal according to claim 6, which is characterized in that the processor is specifically used for performing to be deposited in the memory The computer program of storage, to realize following steps:
When the notification message received is verbal announcement message, the volume value of terminal use environment is obtained;Correspondingly, described One preset condition includes at least one of following:The volume value of the terminal use environment is in more than the first predetermined threshold value, terminal Silent mode.
8. terminal according to claim 6, which is characterized in that second preset condition includes at least one of following:Inspection Measure terminal insertion earphone, terminal is in incoming call bell mode, terminal is playing multimedia file.
9. according to claim 6 to 7 any one of them terminal, which is characterized in that the processor is additionally operable to deposit described in execution The computer program stored in reservoir, to realize following steps:
Verbal announcement message is being received, alternatively, after the text notification message is converted to verbal announcement message, in institute's predicate The message interface of sound notification message in the open state, plays the verbal announcement message;
Alternatively, the processor is additionally operable to perform the computer program stored in the memory, to realize following steps:
After the verbal announcement message is converted to text notification message, the text notification is shown according to default text formatting Message.
10. a kind of computer readable storage medium, which is characterized in that applied in terminal, the computer readable storage medium It is stored with computer program,
When the computer program is performed by least one processor, cause at least one processor perform claim requirement The step of any one of 1 to 5 the method.
CN201711449216.6A 2017-12-27 2017-12-27 A kind of conversion method of notification message, terminal and computer readable storage medium Pending CN108111986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711449216.6A CN108111986A (en) 2017-12-27 2017-12-27 A kind of conversion method of notification message, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711449216.6A CN108111986A (en) 2017-12-27 2017-12-27 A kind of conversion method of notification message, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108111986A true CN108111986A (en) 2018-06-01

Family

ID=62213897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711449216.6A Pending CN108111986A (en) 2017-12-27 2017-12-27 A kind of conversion method of notification message, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108111986A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244892A (en) * 2019-04-30 2019-09-17 惠州Tcl移动通信有限公司 A kind of screen display method and its mobile terminal, readable storage medium storing program for executing
CN111107283A (en) * 2019-11-28 2020-05-05 联想(北京)有限公司 Information display method, electronic equipment and storage medium
CN111526247A (en) * 2020-04-16 2020-08-11 广州三星通信技术研究有限公司 Method and device for displaying voice text
CN112929488A (en) * 2019-12-06 2021-06-08 腾讯科技(深圳)有限公司 Message transformation method and device, electronic equipment and storage medium
CN113194021A (en) * 2020-01-14 2021-07-30 阿尔派株式会社 Electronic device, message playing control system and message playing control method
CN113220258A (en) * 2020-01-21 2021-08-06 华为技术有限公司 Voice message preview method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045480A (en) * 2015-06-29 2015-11-11 成都亿邻通科技有限公司 Method for controlling responses
CN105049335A (en) * 2015-08-06 2015-11-11 百度在线网络技术(北京)有限公司 Method and device for sending texts
CN105635463A (en) * 2015-12-29 2016-06-01 广东欧珀移动通信有限公司 Adjusting method and apparatus for incoming call prompting of terminal
CN105721702A (en) * 2016-02-25 2016-06-29 上海斐讯数据通信技术有限公司 Method for automatically adjusting mute mode and intelligent terminal
CN107239577A (en) * 2017-06-30 2017-10-10 维沃移动通信有限公司 A kind of information cuing method, terminal and computer-readable recording medium
CN107342088A (en) * 2017-06-19 2017-11-10 联想(北京)有限公司 A kind of conversion method of acoustic information, device and equipment
CN107450914A (en) * 2017-07-18 2017-12-08 深圳天珑无线科技有限公司 A kind of informing message treatment method, device and computer-readable recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045480A (en) * 2015-06-29 2015-11-11 成都亿邻通科技有限公司 Method for controlling responses
CN105049335A (en) * 2015-08-06 2015-11-11 百度在线网络技术(北京)有限公司 Method and device for sending texts
CN105635463A (en) * 2015-12-29 2016-06-01 广东欧珀移动通信有限公司 Adjusting method and apparatus for incoming call prompting of terminal
CN105721702A (en) * 2016-02-25 2016-06-29 上海斐讯数据通信技术有限公司 Method for automatically adjusting mute mode and intelligent terminal
CN107342088A (en) * 2017-06-19 2017-11-10 联想(北京)有限公司 A kind of conversion method of acoustic information, device and equipment
CN107239577A (en) * 2017-06-30 2017-10-10 维沃移动通信有限公司 A kind of information cuing method, terminal and computer-readable recording medium
CN107450914A (en) * 2017-07-18 2017-12-08 深圳天珑无线科技有限公司 A kind of informing message treatment method, device and computer-readable recording medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244892A (en) * 2019-04-30 2019-09-17 惠州Tcl移动通信有限公司 A kind of screen display method and its mobile terminal, readable storage medium storing program for executing
CN110244892B (en) * 2019-04-30 2022-01-21 惠州Tcl移动通信有限公司 Screen display method, mobile terminal and readable storage medium
CN111107283A (en) * 2019-11-28 2020-05-05 联想(北京)有限公司 Information display method, electronic equipment and storage medium
CN111107283B (en) * 2019-11-28 2022-03-25 联想(北京)有限公司 Information display method, electronic equipment and storage medium
CN112929488A (en) * 2019-12-06 2021-06-08 腾讯科技(深圳)有限公司 Message transformation method and device, electronic equipment and storage medium
CN113194021A (en) * 2020-01-14 2021-07-30 阿尔派株式会社 Electronic device, message playing control system and message playing control method
CN113194021B (en) * 2020-01-14 2024-03-19 阿尔派株式会社 Electronic device, message play control system and message play control method
CN113220258A (en) * 2020-01-21 2021-08-06 华为技术有限公司 Voice message preview method and electronic equipment
CN113220258B (en) * 2020-01-21 2023-12-08 华为技术有限公司 Voice message previewing method and electronic equipment
CN111526247A (en) * 2020-04-16 2020-08-11 广州三星通信技术研究有限公司 Method and device for displaying voice text

Similar Documents

Publication Publication Date Title
CN108111986A (en) A kind of conversion method of notification message, terminal and computer readable storage medium
CN108093123A (en) A kind of message informing processing method, terminal and computer readable storage medium
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN107219974A (en) A kind of method, mobile terminal and storage medium for showing application software
CN107463481A (en) Data interactive method, mobile terminal and storage medium
CN107748645A (en) Reading method, mobile terminal and computer-readable recording medium
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107807767A (en) A kind of processing method of communication traffic, terminal and computer-readable recording medium
CN107729115A (en) A kind of display methods, equipment and computer-readable storage medium
CN107577394A (en) A kind of message treatment method, equipment and computer-readable storage medium
CN107730303A (en) A kind of advertisement sending method, equipment and computer-readable recording medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN107422940A (en) A kind of icon display method, mobile terminal and computer-readable recording medium
CN108391190A (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN107948397A (en) A kind of information-pushing method, device and computer-readable recording medium
CN107770368A (en) A kind of based reminding method and terminal of the alarm clock application based on terminal
CN108052304A (en) A kind of volume adjusting method, equipment and computer storage media
CN107682541A (en) Audio control method, mobile terminal and the storage medium of screen prjection
CN107562586A (en) A kind of internal-memory detection method, equipment and computer-readable storage medium
CN108200287A (en) A kind of information processing method, terminal and computer readable storage medium
CN108771870A (en) Voice transmission method, terminal based on game and computer readable storage medium
CN108196746A (en) A kind of document presentation method and terminal, storage medium
CN108629863A (en) Method, mobile terminal and the readable storage medium storing program for executing being automatically signing in the application

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