CN107483736A - A kind of message treatment method and device of instant messaging application program - Google Patents

A kind of message treatment method and device of instant messaging application program Download PDF

Info

Publication number
CN107483736A
CN107483736A CN201710729142.5A CN201710729142A CN107483736A CN 107483736 A CN107483736 A CN 107483736A CN 201710729142 A CN201710729142 A CN 201710729142A CN 107483736 A CN107483736 A CN 107483736A
Authority
CN
China
Prior art keywords
message
application program
instant messaging
user
messaging application
Prior art date
Application number
CN201710729142.5A
Other languages
Chinese (zh)
Inventor
高瑞
Original Assignee
广东小天才科技有限公司
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 广东小天才科技有限公司 filed Critical 广东小天才科技有限公司
Priority to CN201710729142.5A priority Critical patent/CN107483736A/en
Publication of CN107483736A publication Critical patent/CN107483736A/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/06Message adaptation based on network or terminal capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72522With means for supporting locally a plurality of applications to increase the functionality
    • H04M1/72525With means for supporting locally a plurality of applications to increase the functionality provided by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72522With means for supporting locally a plurality of applications to increase the functionality
    • H04M1/72547With means for supporting locally a plurality of applications to increase the functionality with interactive input/output means for internally managing multimedia messages
    • H04M1/7255With means for supporting locally a plurality of applications to increase the functionality with interactive input/output means for internally managing multimedia messages for voice messaging, e.g. dictaphone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72522With means for supporting locally a plurality of applications to increase the functionality
    • H04M1/72547With means for supporting locally a plurality of applications to increase the functionality with interactive input/output means for internally managing multimedia messages
    • H04M1/72552With means for supporting locally a plurality of applications to increase the functionality with interactive input/output means for internally managing multimedia messages for text messaging, e.g. sms, e-mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72563Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances
    • H04M1/72569Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances according to context or environment related information
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Abstract

The embodiment of the invention discloses a kind of message treatment method and device of instant messaging application program.This method includes:When intelligent terminal is in the message sink interface of instant messaging application program, the chat message of user's input is obtained;Whether the type of chat message of inquiry user's input matches with the message sink type of instant messaging application program;If matching, chat message is sent to corresponding intelligent terminal, and be shown in the message sink interface of corresponding instant messaging application program;If mismatching, the chat message that user inputs is carried out being converted to target chat message according to the message sink type of instant messaging application program;Target chat message and chat message are sent to corresponding intelligent terminal simultaneously, and are shown in the message sink interface of corresponding instant messaging application program.By technical scheme, user's quick obtaining information can be easy to, provide the user with more convenience, lift Consumer's Experience.

Description

A kind of message treatment method and device of instant messaging application program

Technical field

At a kind of intelligent terminal technology, more particularly to a kind of message of instant messaging application program Manage method and device.

Background technology

Today's society, intelligent terminal turn into the necessity in people's life, and with the rapid development of intelligent terminal, intelligence is eventually Hold and brought great convenience for the life of people.

It is well known that the micro- function of chatting of voice in intelligent terminal is very useful, voice is micro- chat allow parent and child link up, child Son between friend link up become very convenient;But there are two kinds of situations, micro- chat of voice can bring certain inconvenience to user:First Kind situation, in public in quiet environment, intelligent terminal and the intelligent terminal bound therewith are not suitable for sending or listening to language Message ceases;Or at crowded place, by noise jamming, voice content can not heard;Second of situation, intelligent terminal need When sending information to the intelligent terminal of threshold value binding, but being inconvenient to input voice, text information can be sent to intelligent terminal, But there is the unacquainted situation of some words, will be unable to understand information in intelligent terminal for reception text information in child;Two kinds of situations are equal Certain inconvenience can be brought to user.

The content of the invention

The embodiment of the present invention provides a kind of message treatment method and device of instant messaging application program, can be received in inconvenience Text information corresponding to voice messaging can be gone out in the case of listening voice, while the voice messaging received with simultaneous display, just Information is obtained in time in user;In the case where inconvenience receives text information, the text information received can be generated synchronously and text Voice messaging corresponding to word information, it is easy to user's quick obtaining information, chats communication offer more convenience to micro-, lift user's body Test.

In a first aspect, the embodiments of the invention provide a kind of message treatment method of instant messaging application program, including:

When intelligent terminal is in the message sink interface of instant messaging application program, the chat letter of user's input is obtained Breath;

Inquire about the message sink type of the type and the instant messaging application program of the chat message of user's input Whether match, wherein, the message sink type of the instant messaging application program includes:Literal type or sound-type;

If matching, the chat message is sent to corresponding intelligent terminal, and be shown in it is corresponding i.e. When communication application program message sink interface;

If mismatch, the chat inputted according to the message sink type of the instant messaging application program to the user Information carries out being converted to target chat message;

The target chat message and chat message are sent to corresponding intelligent terminal simultaneously, and are shown in therewith The message sink interface of corresponding instant messaging application program.

Further, the message sink type of the instant messaging application program is literal type;

Accordingly, when intelligent terminal is in the message sink interface of instant messaging application program, user's input is obtained Chat message includes:

When intelligent terminal is in the message sink interface of instant messaging application program, ring residing for the intelligent terminal is detected The level of noise in border;

The prompting message to be matched according to level of noise generation with the level of noise;

Reminded according to the prompting message;

When reminding duration to be more than preset duration, the voice messaging of user's input is obtained.

Further, when reminding duration to be more than preset duration, obtaining the voice messaging of user's input includes:

When reminding duration to be more than preset duration, the level of noise of intelligent terminal local environment is detected;

If the level of noise of intelligent terminal local environment is less than or equal to first threshold, the voice letter of user's input is obtained Breath;

If the level of noise of intelligent terminal local environment is more than first threshold, the voice messaging of user's input is obtained, and it is right The voice messaging carries out noise reduction process;

Accordingly, the chat message inputted according to the message sink type of the instant messaging application program to the user Carry out being converted to target chat message, including:

The chat message after noise reduction process is changed according to the message sink type of the instant messaging application program Obtain target chat message.

Further, according to the message sink type of the instant messaging application program to the chat message after noise reduction process Be converted to after target chat message, in addition to:

Obtain the discrimination that target chat message is converted to from the chat message after noise reduction process;

If the discrimination is more than or equal to Second Threshold, the target chat message is obtained;

If the discrimination is less than Second Threshold, ask the user whether to send;

If receiving the trigger request of transmission, the target chat message is obtained;

If receiving the trigger request for forbidding sending, generate prompting message and reacquire the chat letter of user's input Breath.

Further, the message sink type of the instant messaging application program is sound-type;

Accordingly, when intelligent terminal is in the message sink interface of instant messaging application program, user's input is obtained Chat message includes:

When intelligent terminal is in the message sink interface of instant messaging application program, the word letter of user's input is obtained Breath;

Accordingly, the chat message inputted according to the message sink type of the instant messaging application program to the user Carrying out being converted to target chat message includes:

The text information that the user inputs is converted to according to the message sink type of the instant messaging application program The voice messaging corresponding with the text information.

Second aspect, the embodiment of the present invention additionally provide a kind of message processing apparatus of instant messaging application program, the dress Put including:

Acquisition module, during message sink interface for being in instant messaging application program in intelligent terminal, obtain user The chat message of input;

Enquiry module, type and the instant messaging application program of the chat message inputted for inquiring about the user Whether message sink type matches, wherein, the message sink type of the instant messaging application program includes:Literal type or Sound-type;

First display module, if for matching, the chat message is sent to corresponding intelligent terminal, and is shown It is shown in the message sink interface of corresponding instant messaging application program;

Modular converter, if for mismatching, according to the message sink type of the instant messaging application program to described The chat message of user's input carries out being converted to target chat message;

Second display module, for the target chat message and chat message to be sent to corresponding intelligence simultaneously Terminal, and it is shown in the message sink interface of corresponding instant messaging application program.

Further, the message sink type of the instant messaging application program is literal type;

Accordingly, the acquisition module includes:

Detection unit, during message sink interface for being in instant messaging application program in intelligent terminal, described in detection The level of noise of intelligent terminal local environment;

Prompting message generation unit, for the prompting message to be matched according to level of noise generation with the level of noise;

Reminding unit, for being reminded according to the prompting message;

Voice messaging acquiring unit, for when reminding duration to be more than preset duration, obtaining the voice messaging of user's input.

Further, the voice messaging acquiring unit includes:

Level of noise detection sub-unit, for when reminding duration to be more than preset duration, detecting intelligent terminal local environment Level of noise;

Voice messaging obtains subelement, if the level of noise for intelligent terminal local environment is less than or equal to the first threshold Value, then obtain the voice messaging of user's input;

Speech signal analysis subelement, if the level of noise for intelligent terminal local environment is more than first threshold, obtain The voice messaging of user's input, and noise reduction process is carried out to the voice messaging;

Accordingly, the modular converter is specifically used for:

The chat message after noise reduction process is changed according to the message sink type of the instant messaging application program Obtain target chat message.

Further, in addition to:

Discrimination obtains subelement, is converted to the knowledge of target chat message from the chat message after noise reduction process for obtaining Not rate;

First object chat message obtains subelement, if being more than or equal to Second Threshold for the discrimination, obtains Take the target chat message;

Subelement is inquired, if being less than Second Threshold for the discrimination, asks the user whether to send;

Second target chat message obtains subelement, if the trigger request for receiving transmission, obtains the target Chat message;

Chat message obtains subelement, if for receiving the trigger request for forbidding sending, generation prompting message is laid equal stress on The new chat message for obtaining user's input.

Further, the message sink type of the instant messaging application program is sound-type;

Accordingly, the acquisition module is specifically used for:

When intelligent terminal is in the message sink interface of instant messaging application program, the word letter of user's input is obtained Breath;

Accordingly, the modular converter is specifically used for:

The text information that the user inputs is converted to according to the message sink type of the instant messaging application program The voice messaging corresponding with the text information.

During message sink interface of the embodiment of the present invention by being in instant messaging application program in intelligent terminal, obtain and use The chat message of family input;Inquire about the message sink type of the type and instant messaging application program of the chat message of user's input Whether match, wherein, the message sink type of instant messaging application program includes:Literal type or sound-type;If matching, Then chat message is sent to corresponding intelligent terminal, and is shown in the message of corresponding instant messaging application program Reception interface;If mismatching, entered according to the chat message that the message sink type of instant messaging application program inputs to user Row is converted to target chat message;Target chat message and chat message are sent to corresponding intelligent terminal simultaneously, And be shown in the message sink interface of corresponding instant messaging application program, can in the case where voice is listened in inconvenience, Text information corresponding to voice messaging can be gone out while the voice messaging received with simultaneous display, be easy to user to obtain letter in time Breath;In the case where inconvenience receives text information, the text information received can synchronously generate voice corresponding with text information Information, it is easy to user's quick obtaining information, lifts Consumer's Experience.

Brief description of the drawings

Fig. 1 is a kind of flow chart of the message treatment method of instant messaging application program in the embodiment of the present invention one;

Fig. 2 is a kind of flow chart of the message treatment method of instant messaging application program in the embodiment of the present invention two;

Fig. 3 is a kind of structural representation of the message processing apparatus of instant messaging application program in the embodiment of the present invention three Figure.

Embodiment

The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.

Embodiment one

Fig. 1 is a kind of flow chart of the message treatment method for instant messaging application program that the embodiment of the present invention one provides, The present embodiment is applicable to the situation of the Message Processing of instant messaging application program, and this method can be provided by the embodiment of the present invention The message processing apparatus of instant messaging application program perform, the device can be realized by the way of software and/or hardware, should Device can be integrated in the terminal device of the Message Processing of any required instant messaging application program, such as typically mobile whole End or intelligent watch etc., as shown in figure 1, this method specifically comprises the following steps:

S110, when intelligent terminal is in the message sink interface of instant messaging application program, obtain chatting for user's input Its information.

Wherein, instant messaging (instant message, IM) refers to send and receive internet message etc. immediately Business.Instant messaging application program is the application program to realize online chatting, exchange by instant messaging technology.

Wherein, message sink interface is the interface that instant messaging application program is used to receiving and sending chat message, typically In the case of, user needs to send chat message or receives chat message, and the message for being at instant messaging application program connects Receive interface.

Wherein, the chat message of user's input can be that text information can also be voice messaging.

Specifically, when intelligent terminal is in the message sink interface of instant messaging application program, intelligent terminal, which obtains, to be used The text information or voice messaging of family input.

Whether S120, the type of the chat message of inquiry user's input and the message sink type of instant messaging application program Matching, wherein, the message sink type of the instant messaging application program includes:Literal type or sound-type, if matching, S130 is then performed, if mismatching, performs S140.

Wherein, the message sink type of the instant messaging application program is what user set in advance, can be word class Type or sound-type.

Wherein, the chat content that the type of the chat message of user's input inputs according to user determines, can be word class Type or sound-type.

Specifically, the message of the type and the instant messaging application program of user's setting of the chat message of inquiry user's input Receive type it is whether consistent, if for example, the message sink type for the instant messaging application program that user sets as literal type, The chat message inputted according to user, determine the type of the chat message of user's input, however, it is determined that the chat message of user's input Type be literal type, then illustrate the instant messaging application program of type and the user setting of the chat message of user's input Message sink type is consistent.If it is determined that the type of the chat message of user's input is sound-type, then illustrate chatting for user's input The message sink Type-Inconsistencies of the type of its information and the instant messaging application program of user's setting.

S130, chat message is sent to corresponding intelligent terminal, and be shown in corresponding instant messaging and answer With the message sink interface of program.

Wherein, the intelligent terminal that the corresponding intelligent terminal is with user inputs chat message is corresponding intelligent whole End, if for example, user A inputs chat message in intelligent terminal Q sends to user B intelligent terminal W, chat message is sent out Deliver to user B intelligent terminal W.

Wherein, the message sink interface of the corresponding instant messaging application program is to input chat message with user Intelligent terminal corresponding to instant messaging application program on intelligent terminal message sink interface, send the instant of chat message Communication application program and the instant messaging application program for receiving chat message are same application.Such as:If user A is in intelligence Chat message is inputted in instant messaging application program O in terminal Q to send to user B intelligent terminal W, then is sent out chat message Deliver to user B intelligent terminal W, and the message sink interface display chat of the instant messaging application program O in intelligent terminal W Information.

Specifically, chat message is sent to corresponding intelligent terminal, and the chat message is shown in therewith The message sink interface of corresponding instant messaging application program.

S140, the chat message that user inputs change according to the message sink type of instant messaging application program To target chat message.

Wherein, the type of the target chat message is consistent with the message sink type of the instant messaging application program, It can be literal type, or sound-type.

If specifically, the message sink type of the instant messaging application program is literal type, by user's input Converting voice message into text message.If the message sink type of the instant messaging application program is sound-type, will use The text information of family input is converted into voice messaging.

S150, target chat message and chat message are sent to corresponding intelligent terminal simultaneously, and be shown in Corresponding to instant messaging application program message sink interface.

Wherein, the chat message is the chat message inputted without the user of conversion, and the target chat message is The chat message that the chat message inputted according to the message sink type of instant messaging application program to user is converted to.

Specifically, target chat message and chat message are sent to corresponding intelligent terminal simultaneously, and it is shown in The message sink interface of corresponding instant messaging application program, if for example, the message sink class of instant messaging application program Type is literal type, and the chat message type of user's input is sound-type, then the voice messaging conversion of user's input is written Word information, text information and voice messaging are sent to mobile terminal corresponding to receiving terminal simultaneously, and in receiving terminal mobile terminal On instant messaging application program message sink interface simultaneously show text information and voice messaging.

Optionally, the message sink type of the instant messaging application program is sound-type;

Accordingly, when intelligent terminal is in the message sink interface of instant messaging application program, user's input is obtained Chat message includes:

When intelligent terminal is in the message sink interface of instant messaging application program, the word letter of user's input is obtained Breath;

Specifically, when intelligent terminal is in the message sink interface of instant messaging application program, user's input is obtained Chat message, judge the type of the chat message of user's input, the chat message for determining user's input is text information, obtains and uses The text information of family input.

Accordingly, the chat message inputted according to the message sink type of the instant messaging application program to the user Carrying out being converted to target chat message includes:

The text information that the user inputs is converted to according to the message sink type of the instant messaging application program The voice messaging corresponding with the text information.

Specifically, because the message sink type of the instant messaging application program is sound-type, then will get The text information of user's input is converted to voice messaging corresponding with the text information.The form of the voice messaging can be Machine talk, or according to the speech data of the transmission end subscriber prestored in the database of intelligent terminal, by word Information is converted to the voice messaging for possessing user speech characteristic.Such as can be that it is Shanghai people to send end subscriber, then correspond to text Word information is converted to Shanghai native language and sent to the intelligent terminal of receiving terminal.

The technical scheme of the present embodiment, by the message sink interface that instant messaging application program is in intelligent terminal When, obtain the chat message that user inputs;Inquire about the type of chat message and the disappearing for instant messaging application program of user's input Breath receives whether type matches, wherein, the message sink type of instant messaging application program includes:Literal type or voice class Type;If matching, chat message is sent to corresponding intelligent terminal, and be shown in corresponding instant messaging application The message sink interface of program;If mismatching, user is inputted according to the message sink type of instant messaging application program Chat message carries out being converted to target chat message;Target chat message and chat message are sent to corresponding simultaneously Intelligent terminal, and the message sink interface of corresponding instant messaging application program is shown in, voice can be listened in inconvenience In the case of, text information corresponding to voice messaging can be gone out with simultaneous display while the voice messaging received, is easy to user Information is obtained in time;In the case where inconvenience receives text information, the text information received can synchronously generate and text information Corresponding voice messaging, it is easy to user's quick obtaining information, provides more convenience to instant messaging, lift Consumer's Experience.

Embodiment two

Fig. 2 is a kind of flow chart of the message treatment method of instant messaging application program in the embodiment of the present invention two, this Embodiment is optimized based on previous embodiment one, there is provided the message processing of preferable instant messaging application program Method, it is specifically, the message sink type of the instant messaging application program is literal type;Accordingly, it is in intelligent terminal During the message sink interface of instant messaging application program, obtaining the chat message of user's input includes:It is in i.e. in intelligent terminal When communication application program message sink interface when, detect the level of noise of the intelligent terminal local environment;According to the noise Value generates the prompting message to match with the level of noise;Reminded according to the prompting message;It is pre- in reminding duration to be more than If during duration, obtain the voice messaging of user's input.

Accordingly, the method for the present embodiment specifically comprises the following steps:

S210, when intelligent terminal is in the message sink interface of instant messaging application program, detect intelligent terminal environment Level of noise.

Wherein, the level of noise of the environment is obtained by the sensor built in intelligent terminal, and the level of noise of environment is intelligence The noise data of environment residing for energy terminal.

Specifically, when intelligent terminal is in the message sink interface of instant messaging application program, open detection intelligence is eventually Hold the level of noise of local environment.

S220, the prompting message to be matched according to level of noise generation with level of noise.

Wherein, the prompting message can be to remind user to declaim and demonstrate, or remind user couple Intelligent watch microphone to speak, can also be to remind user to change quiet environment input voice information again.The present embodiment The concrete form of prompting message is not limited.

Specifically, the prompting message to be matched according to level of noise generation with level of noise, for example, level of noise is smaller, is then reminded User speaks against intelligent watch microphone, and level of noise is larger, then reminds user to declaim and demonstrate, level of noise is very Greatly, then user is reminded to change quiet environment input voice information again.

Set specifically, level of noise and the match condition of prompting message can be user reminding, or rule of thumb Obtain, if for example, level of noise is more than A, the accuracy rate that voice messaging is converted to text information is relatively low, then is arranged on level of noise and is more than User is reminded to change quiet environment input voice information again during A.If level of noise is less than A more than B, B is less than A, now voice The accuracy rate that information is converted to text information is of a relatively high, then is arranged on when level of noise is less than A more than B and reminds user to declaim simultaneously And demonstrate.

S230, reminded according to prompting message.

Specifically, the prompting message matched in current level of noise is exported, user is reminded.

S240, when reminding duration to be more than preset duration, obtain the voice messaging of user's input.

Wherein, the preset duration can be that user set in advance, or the user that rule of thumb obtains carry out with Remind the time of corresponding operation, the preset duration can be fixed value, and setting, example can also be associated with prompting message Such as, if prompting message is reminds user to change quiet environment input voice information again, preset duration A, if reminding letter Cease to remind user to declaim and demonstrating, then preset duration is B, and B is less than A.

Specifically, after prompting terminates, by preset time, start to obtain the voice messaging of user's input again.For example, If prompting message is reminds user to change quiet environment input voice information again, after elapsed time A, obtain use again The voice messaging of family input (user has now changed relatively quiet environment).If user feel the stand-by period it is long can be with Stand-by period is terminated by the form of touch-control or button in advance, to save the waiting time of user.

S250, inquire about the message sink of the type and the instant messaging application program of the chat message of user's input Whether type matches, wherein, the message sink type of the instant messaging application program is literal type, if matching, is performed S260, if mismatching, perform S270.

S260, the chat message is sent to corresponding intelligent terminal, and be shown in corresponding IMU Believe the message sink interface of application program.

S270, entered according to the chat message that the message sink type of the instant messaging application program inputs to the user Row is converted to target chat message.

S280, the target chat message and chat message are sent to corresponding intelligent terminal simultaneously, and shown In the message sink interface of corresponding instant messaging application program.

Optionally, when reminding duration to be more than preset duration, obtaining the voice messaging of user's input includes:

When reminding duration to be more than preset duration, the level of noise of intelligent terminal local environment is detected;

Specifically, terminating reminding after preset duration, the level of noise of intelligent terminal local environment is reexamined.

If the level of noise of intelligent terminal local environment is less than or equal to first threshold, the voice letter of user's input is obtained Breath;

Wherein, the first threshold can be that user sets in advance, or according to the accuracy rate of multiple measures conversion The critical value of the of a relatively high environmental noise value of the accuracy rate of acquisition.

Specifically, if the level of noise of intelligent terminal local environment is less than or equal to first threshold, illustrate intelligent terminal The voice messaging obtained under current environment be converted to text information be followed by receive text information user it will be appreciated that send The content that user is intended by.

If the level of noise of intelligent terminal local environment is more than first threshold, the voice messaging of user's input is obtained, and it is right The voice messaging carries out noise reduction process;

Wherein, if the level of noise of environment is more than first threshold at intelligent terminal, illustrate that current environment is relatively noisy, obtain Voice messaging be converted to text information after, receiving the user of text information may fail to understand, it is unclear that sender wishes table The information reached.

Wherein, noise reduction process being carried out to voice messaging be able to can also be led to by the method for peeling off the noise in environment Cross and the voice messaging of acquisition is analyzed, remove obvious noise data.Side of the present embodiment to specific noise reduction process Formula is not limited.

Accordingly, the chat message inputted according to the message sink type of the instant messaging application program to the user Carry out being converted to target chat message, including:

The chat message after noise reduction process is changed according to the message sink type of the instant messaging application program Obtain target chat message.

Specifically, the voice messaging after noise reduction process is converted into text information.

Optionally, the chat message after noise reduction process is entered according to the message sink type of the instant messaging application program Row is converted to after target chat message, in addition to:

Obtain the discrimination that target chat message is converted to from the chat message after noise reduction process;

Wherein, the discrimination is the accuracy rate that voice messaging is converted to text information.From the chat after noise reduction process The discrimination that information is converted to target chat message is higher, and the degree of accuracy that voice messaging is converted to text information is higher.

If the discrimination is more than or equal to Second Threshold, the target chat message is obtained;

Specifically, if discrimination is more than or equal to Second Threshold, the voice messaging for illustrating to obtain is converted to word letter Breath is followed by receiving the user of text information it will be appreciated that the content that the user sent is intended by.

If the discrimination is less than Second Threshold, ask the user whether to send;

Specifically, if discrimination is less than Second Threshold, after the voice messaging for illustrating to obtain is converted to text information, receive User to text information may fail to understand, it is unclear that sender wishes the information of expression.

If receiving the trigger request of transmission, the target chat message is obtained;

If being sent specifically, user clicks on, the text information after conversion and voice messaging are sent to receiving terminal together Intelligent terminal.

If receiving the trigger request for forbidding sending, generate prompting message and reacquire the chat letter of user's input Breath.

If forbidding sending specifically, user clicks on, or after a period of time, user does not click on delivery option, remind User re-enters chat message, and reacquires the chat message of user's input.

In a specific example, for the mobile phone terminal bound with intelligent watch, if earphone is not on hand and square Just put outer sound and listen to voice messaging, can be set in cell phone application " voice messaging of reception is switched into word ".Once life is set Effect, cell phone application, which receives voice messaging, can be automatically converted to word, and will correspond to word-information display beside voice messaging, Mobile phone end subscriber can see text information or listen voice messaging.To improve the accuracy rate that speech recognition is word, in hand 2 decibel value sections are set in table system:Analyzed according to big data, with reference to the hearing feature of common human ear, for quiet environment Hearer's resolve voice content is not influenceed, is set to scenario A, and influenceing hearer's resolve voice content for noisy environment, (voice is normal The common volume of voice), it is set to scenario B;When user begins to use wrist-watch to carry out micro- chat, surrounding environment is first detected, when around ring When border meets scenario A, live pick-up simultaneously sends success;When surrounding environment does not meet scenario A, but not up to scenario B when, before recording Remind user's " around having noise, please loudly demonstrate ";When surrounding environment exceedes scenario B, user is reminded " to change one before recording Individual environment, it is remote from noise source, then record and send ";If user records in the case where noise exceedes scenario B, first Voice is done into noise reduction process, then is identified as word, if discrimination reaches certain value, success can be directly transmitted, if identification Rate is less than certain value, then asks the user whether to send, and point is to can be transmitted, and point is no, reenters recording interface.It is this by The mode that wrist-watch end is reminded, the voice for ensuring to send substantially, which can understand, to be differentiated, while facilitating other side's reception voice messaging, Receive relatively accurate text information.

In a specific example, it has not been convenient in the environment of speaking (such as have a meeting quiet occasion), mobile phone terminal need to Intelligent watch end sends the situation of voice messaging (intelligent watch receiving terminal child is illiterate), and can be set in cell phone application " will The text information of transmission switchs to voice ", mobile phone terminal chats window input word micro-, can generate voice automatically by voice software File, then voice document is sent to intelligent watch end, can be by listening to speech understanding information to illiterate child;This Inventive embodiments chat communication offer more convenience to micro-, lift Consumer's Experience.

In another specific example, bitcom can be linked up by user to be accustomed to, and it is normal to establish an active user With statement library, when speech recognition is less than certain value into the discrimination of word, according to the crucial literal identified, with commonly using repertorie Matched, sent using the sentence matched as reference word information together with voice.Noise ring can be improved to a certain degree Speech recognition is the accuracy rate of word under border.

The technical scheme of the present embodiment, when intelligent terminal is in the message sink interface of instant messaging application program, inspection Survey the level of noise of the intelligent terminal local environment;Believed according to level of noise generation and the prompting that the level of noise matches Breath;Reminded according to the prompting message;When reminding duration to be more than preset duration, the voice messaging of user's input is obtained, Whether the type of chat message of inquiry user's input matches with the message sink type of instant messaging application program, wherein, i.e., When communication application program message sink type be literal type;If matching, chat message is sent to corresponding intelligence Energy terminal, and it is shown in the message sink interface of corresponding instant messaging application program;If mismatch, according to IMU The message sink type of letter application program carries out being converted to target chat message to the chat message that user inputs;Target is chatted Its information and chat message are sent to corresponding intelligent terminal simultaneously, and are shown in corresponding instant messaging application journey The message sink interface of sequence, can synchronously it show in the case where voice is listened in inconvenience, while the voice messaging received Text information corresponding to voice messaging is shown, is easy to user to obtain information in time;In the case where inconvenience receives text information, connect The text information received can synchronously generate voice messaging corresponding with text information, be easy to user's quick obtaining information, to instant Communication provides more convenience, lifts Consumer's Experience.

Embodiment three

Fig. 3 is a kind of structural representation of the message processing apparatus of instant messaging application program of the embodiment of the present invention three. The present embodiment is applicable to the situation of the Message Processing of instant messaging application program, and the device can use software and/or hardware Mode realized, the device can be integrated in the equipment of any offer screen control function, for example, typically intelligent terminal (such as Mobile phone or intelligent watch etc.), as shown in figure 3, the message processing apparatus of the instant messaging application program specifically includes:Obtain mould Block 310, enquiry module 320, the first display module 330, the display module 350 of modular converter 340 and second.

Wherein, acquisition module 310, during message sink interface for being in instant messaging application program in intelligent terminal, Obtain the chat message of user's input;

Enquiry module 320, the type and the instant messaging application journey of the chat message inputted for inquiring about the user Whether the message sink type of sequence matches, wherein, the message sink type of the instant messaging application program includes:Literal type Or sound-type;

First display module 330, if for matching, the chat message is sent to corresponding intelligent terminal, And it is shown in the message sink interface of corresponding instant messaging application program;

Modular converter 340, if for mismatching, according to the message sink type of the instant messaging application program to institute The chat message for stating user's input carries out being converted to target chat message;

Second display module 350, for the target chat message and chat message to be sent to corresponding simultaneously Intelligent terminal, and it is shown in the message sink interface of corresponding instant messaging application program.

Optionally, the message sink type of the instant messaging application program is literal type;

Accordingly, the acquisition module 320 includes:

Detection unit, during message sink interface for being in instant messaging application program in intelligent terminal, described in detection The level of noise of intelligent terminal local environment;

Prompting message generation unit, for the prompting message to be matched according to level of noise generation with the level of noise;

Reminding unit, for being reminded according to the prompting message;

Voice messaging acquiring unit, for when reminding duration to be more than preset duration, obtaining the voice messaging of user's input.

Optionally, the voice messaging acquiring unit includes:

Level of noise detection sub-unit, for when reminding duration to be more than preset duration, detecting intelligent terminal local environment Level of noise;

Voice messaging obtains subelement, if the level of noise for intelligent terminal local environment is less than or equal to the first threshold Value, then obtain the voice messaging of user's input;

Speech signal analysis subelement, if the level of noise for intelligent terminal local environment is more than first threshold, obtain The voice messaging of user's input, and noise reduction process is carried out to the voice messaging;

Accordingly, the modular converter is specifically used for:

The chat message after noise reduction process is changed according to the message sink type of the instant messaging application program Obtain target chat message.

Optionally, in addition to:

Discrimination obtains subelement, is converted to the knowledge of target chat message from the chat message after noise reduction process for obtaining Not rate;

First object chat message obtains subelement, if being more than or equal to Second Threshold for the discrimination, obtains Take the target chat message;

Subelement is inquired, if being less than Second Threshold for the discrimination, asks the user whether to send;

Second target chat message obtains subelement, if the trigger request for receiving transmission, obtains the target Chat message;

Chat message obtains subelement, if for receiving the trigger request for forbidding sending, generation prompting message is laid equal stress on The new chat message for obtaining user's input.

Optionally, the message sink type of the instant messaging application program is sound-type;

Accordingly, the acquisition module is specifically used for:

When intelligent terminal is in the message sink interface of instant messaging application program, the word letter of user's input is obtained Breath;

Accordingly, the modular converter is specifically used for:

The text information that the user inputs is converted to according to the message sink type of the instant messaging application program The voice messaging corresponding with the text information.

The technical scheme of the present embodiment, by the message sink interface that instant messaging application program is in intelligent terminal When, obtain the chat message that user inputs;Inquire about the type of chat message and the disappearing for instant messaging application program of user's input Breath receives whether type matches, wherein, the message sink type of instant messaging application program includes:Literal type or voice class Type;If matching, chat message is sent to corresponding intelligent terminal, and be shown in corresponding instant messaging application The message sink interface of program;If mismatching, user is inputted according to the message sink type of instant messaging application program Chat message carries out being converted to target chat message;Target chat message and chat message are sent to corresponding simultaneously Intelligent terminal, and the message sink interface of corresponding instant messaging application program is shown in, voice can be listened in inconvenience In the case of, text information corresponding to voice messaging can be gone out with simultaneous display while the voice messaging received, is easy to user Information is obtained in time;In the case where inconvenience receives text information, the text information received can synchronously generate and text information Corresponding voice messaging, it is easy to user's quick obtaining information, lifts Consumer's Experience.

The said goods can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method And beneficial effect.

Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. message treatment method of instant messaging application program, it is characterised in that including:
    When intelligent terminal is in the message sink interface of instant messaging application program, the chat message of user's input is obtained;
    Inquire about the type of the chat message of user input and the instant messaging application program message sink type whether Matching, wherein, the message sink type of the instant messaging application program includes:Literal type or sound-type;
    If matching, the chat message is sent to corresponding intelligent terminal, and be shown in corresponding IMU Believe the message sink interface of application program;
    If mismatch, the chat message inputted according to the message sink type of the instant messaging application program to the user Carry out being converted to target chat message;
    The target chat message and chat message are sent to corresponding intelligent terminal simultaneously, and is shown in and corresponds to therewith Instant messaging application program message sink interface.
  2. 2. according to the method for claim 1, it is characterised in that the message sink type of the instant messaging application program is Literal type;
    Accordingly, when intelligent terminal is in the message sink interface of instant messaging application program, the chat of user's input is obtained Information includes:
    When intelligent terminal is in the message sink interface of instant messaging application program, the intelligent terminal local environment is detected Level of noise;
    The prompting message to be matched according to level of noise generation with the level of noise;
    Reminded according to the prompting message;
    When reminding duration to be more than preset duration, the voice messaging of user's input is obtained.
  3. 3. according to the method for claim 2, it is characterised in that when reminding duration to be more than preset duration, it is defeated to obtain user The voice messaging entered includes:
    When reminding duration to be more than preset duration, the level of noise of intelligent terminal local environment is detected;
    If the level of noise of intelligent terminal local environment is less than or equal to first threshold, the voice messaging of user's input is obtained;
    If the level of noise of intelligent terminal local environment is more than first threshold, the voice messaging of user's input is obtained, and to described Voice messaging carries out noise reduction process;
    Accordingly, the chat message inputted according to the message sink type of the instant messaging application program to the user is carried out Target chat message is converted to, including:
    The chat message after noise reduction process is converted to according to the message sink type of the instant messaging application program Target chat message.
  4. 4. according to the method for claim 3, it is characterised in that according to the message sink class of the instant messaging application program Type is carried out after being converted to target chat message to the chat message after noise reduction process, in addition to:
    Obtain the discrimination that target chat message is converted to from the chat message after noise reduction process;
    If the discrimination is more than or equal to Second Threshold, the target chat message is obtained;
    If the discrimination is less than Second Threshold, ask the user whether to send;
    If receiving the trigger request of transmission, the target chat message is obtained;
    If receiving the trigger request for forbidding sending, generate prompting message and reacquire the chat message of user's input.
  5. 5. according to the method for claim 1, it is characterised in that the message sink type of the instant messaging application program is Sound-type;
    Accordingly, when intelligent terminal is in the message sink interface of instant messaging application program, the chat of user's input is obtained Information includes:
    When intelligent terminal is in the message sink interface of instant messaging application program, the text information of user's input is obtained;
    Accordingly, the chat message inputted according to the message sink type of the instant messaging application program to the user is carried out Being converted to target chat message includes:
    The text information that the user inputs is converted to and institute according to the message sink type of the instant messaging application program State the corresponding voice messaging of text information.
  6. A kind of 6. message processing apparatus of instant messaging application program, it is characterised in that including:
    Acquisition module, during message sink interface for being in instant messaging application program in intelligent terminal, obtain user's input Chat message;
    Enquiry module, the message of the type and the instant messaging application program of the chat message for inquiring about user's input Receive whether type matches, wherein, the message sink type of the instant messaging application program includes:Literal type or voice Type;
    First display module, if for matching, the chat message is sent to corresponding intelligent terminal, and is shown in The message sink interface of corresponding instant messaging application program;
    Modular converter, if for mismatching, according to the message sink type of the instant messaging application program to the user The chat message of input carries out being converted to target chat message;
    Second display module, for the target chat message and chat message to be sent to corresponding intelligence eventually simultaneously End, and it is shown in the message sink interface of corresponding instant messaging application program.
  7. 7. device according to claim 6, it is characterised in that the message sink type of the instant messaging application program is Literal type;
    Accordingly, the acquisition module includes:
    Detection unit, during message sink interface for being in instant messaging application program in intelligent terminal, detect the intelligence The level of noise of terminal local environment;
    Prompting message generation unit, for the prompting message to be matched according to level of noise generation with the level of noise;
    Reminding unit, for being reminded according to the prompting message;
    Voice messaging acquiring unit, for when reminding duration to be more than preset duration, obtaining the voice messaging of user's input.
  8. 8. device according to claim 7, it is characterised in that the voice messaging acquiring unit includes:
    Level of noise detection sub-unit, for when reminding duration to be more than preset duration, detecting the noise of intelligent terminal local environment Value;
    Voice messaging obtains subelement, if the level of noise for intelligent terminal local environment is less than or equal to first threshold, Obtain the voice messaging of user's input;
    Speech signal analysis subelement, if the level of noise for intelligent terminal local environment is more than first threshold, obtain user The voice messaging of input, and noise reduction process is carried out to the voice messaging;
    Accordingly, the modular converter is specifically used for:
    The chat message after noise reduction process is converted to according to the message sink type of the instant messaging application program Target chat message.
  9. 9. device according to claim 8, it is characterised in that also include:
    Discrimination obtains subelement, is converted to the identification of target chat message from the chat message after noise reduction process for obtaining Rate;
    First object chat message obtains subelement, if being more than or equal to Second Threshold for the discrimination, obtains institute State target chat message;
    Subelement is inquired, if being less than Second Threshold for the discrimination, asks the user whether to send;
    Second target chat message obtains subelement, if the trigger request for receiving transmission, obtains the target chat Information;
    Chat message obtains subelement, if for receiving the trigger request for forbidding sending, generates prompting message and obtains again Take the chat message of family input.
  10. 10. device according to claim 6, it is characterised in that the message sink type of the instant messaging application program For sound-type;
    Accordingly, the acquisition module is specifically used for:
    When intelligent terminal is in the message sink interface of instant messaging application program, the text information of user's input is obtained;
    Accordingly, the modular converter is specifically used for:
    The text information that the user inputs is converted to and institute according to the message sink type of the instant messaging application program State the corresponding voice messaging of text information.
CN201710729142.5A 2017-08-23 2017-08-23 A kind of message treatment method and device of instant messaging application program CN107483736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710729142.5A CN107483736A (en) 2017-08-23 2017-08-23 A kind of message treatment method and device of instant messaging application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710729142.5A CN107483736A (en) 2017-08-23 2017-08-23 A kind of message treatment method and device of instant messaging application program

Publications (1)

Publication Number Publication Date
CN107483736A true CN107483736A (en) 2017-12-15

Family

ID=60602217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710729142.5A CN107483736A (en) 2017-08-23 2017-08-23 A kind of message treatment method and device of instant messaging application program

Country Status (1)

Country Link
CN (1) CN107483736A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078783A (en) * 2012-12-18 2013-05-01 北京维盛泰科科技有限公司 Assistive barrier-free communication method based on mode recognition technology
CN103295576A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Voice identification method and terminal of instant communication
CN105931647A (en) * 2016-04-05 2016-09-07 广东欧珀移动通信有限公司 Noise suppression method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295576A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Voice identification method and terminal of instant communication
CN103078783A (en) * 2012-12-18 2013-05-01 北京维盛泰科科技有限公司 Assistive barrier-free communication method based on mode recognition technology
CN105931647A (en) * 2016-04-05 2016-09-07 广东欧珀移动通信有限公司 Noise suppression method and apparatus

Similar Documents

Publication Publication Date Title
KR101617665B1 (en) Automatically adapting user interfaces for hands-free interaction
CA2648617C (en) Hosted voice recognition system for wireless devices
US8483375B2 (en) System and method for joining conference calls
EP2574220B1 (en) Hand-held communication aid for individuals with auditory, speech and visual impairments
US6434527B1 (en) Signalling and controlling the status of an automatic speech recognition system for use in handsfree conversational dialogue
US9386147B2 (en) Muting and un-muting user devices
JP6208376B2 (en) Hotword detection on multiple devices
CA2694314C (en) Mobile wireless communications device with speech to text conversion and related methods
US10134395B2 (en) In-call virtual assistants
CN105320726B (en) Reduce the demand to manual beginning/end point and triggering phrase
US20100223055A1 (en) Mobile wireless communications device with speech to text conversion and related methods
US5995590A (en) Method and apparatus for a communication device for use by a hearing impaired/mute or deaf person or in silent environments
US20060193450A1 (en) Communication conversion between text and audio
US20020080926A1 (en) Relay for personal interpreter
KR20160127165A (en) Voice trigger for a digital assistant
US20130275899A1 (en) Application Gateway for Providing Different User Interfaces for Limited Distraction and Non-Limited Distraction Contexts
JP5996783B2 (en) Method and terminal for updating voiceprint feature model
US8265933B2 (en) Speech recognition system for providing voice recognition services using a conversational language model
Sawhney et al. Nomadic radio: speech and audio interaction for contextual messaging in nomadic environments
US20120022872A1 (en) Automatically Adapting User Interfaces For Hands-Free Interaction
TWI603258B (en) Dynamic thresholds for always listening speech trigger
JP2015084544A (en) Method and system for transcribing telephone conversation into text
US9412377B2 (en) Computer-implemented system and method for enhancing visual representation to individuals participating in a conversation
US7359492B2 (en) Method and apparatus for converting a voice signal received from a remote telephone to a text signal
US20080109208A1 (en) Interactive conversational speech communicator method and system

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