CN106357520A - Instant messaging method and instant messaging device - Google Patents

Instant messaging method and instant messaging device Download PDF

Info

Publication number
CN106357520A
CN106357520A CN201610922125.9A CN201610922125A CN106357520A CN 106357520 A CN106357520 A CN 106357520A CN 201610922125 A CN201610922125 A CN 201610922125A CN 106357520 A CN106357520 A CN 106357520A
Authority
CN
China
Prior art keywords
information
voice
added
instant communication
consultation information
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
CN201610922125.9A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610922125.9A priority Critical patent/CN106357520A/en
Publication of CN106357520A publication Critical patent/CN106357520A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Abstract

The invention discloses an instant messaging method and an instant messaging device. The method comprises the following steps of: receiving a friend adding request information sent by a first terminal, the friend adding request carrying a user identifier to be added; determining voice consulting information corresponding to the user identifier, and sending the voice consulting information to the first terminal; receiving voice response information, corresponding to the voice consulting information, sent by the first terminal; and when determining that the voice response information matches a voice answer information corresponding to the user identifier, adding a to-be-added instant messaging user corresponding to the user identifier as a friend. In this technical scheme, friend adding of instant messaging can be performed by virtue of voice questions and answers, thereby improving the efficiency of instant messaging and also improving the user experience.

Description

Instant communication method and device
Technical field
It relates to Internet technical field, more particularly, to instant communication method and device.
Background technology
At present, MSN develops rapidly, and the function of instant messaging becomes increasingly abundant, be gradually integrated with Email, The several functions such as blog, music, TV, game and search.Instant messaging is no longer a simple chat tool, and it has been sent out Transform into the synthesization information integrating exchange, information, amusement, search, ecommerce, office cooperation and corporate client service etc. Platform.
Typically, after the user of two instant messagings need to be configured to friend relation, by corresponding terminal could be When communication applications.
Content of the invention
The embodiment of the present disclosure provides instant communication method and device.Described technical scheme is as follows:
According to the embodiment of the present disclosure in a first aspect, provide a kind of instant communication method, it may include:
Receive interpolation good friend's solicited message that first terminal sends, carry to be added in described interpolation good friend's solicited message ID;
Determine described ID corresponding voice consultation information, and send described voice consulting letter to described first terminal Breath;
Receive the audio response message corresponding with described voice consultation information that described first terminal sends;
When determining described audio response message vocal answer information matches corresponding with described ID, by described use The instant communication user corresponding to be added of family mark is added to good friend.
It can be seen that, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out the IMU between terminal use News, so, extend the pattern of instant messaging good friend interpolation, improve the efficiency of instant messaging, also improve the experience of user.
In one embodiment, before interpolation good friend's solicited message that described reception first terminal sends, also include:
Receive the voice consultation information of instant communication user setting, and voice corresponding with described voice consultation information is answered Case information;
Preserve the ID of described instant communication user and described voice consultation information, and described vocal answer information Between corresponding relation.
So, the voice consultation information of instant communication user setting can be prestored, and corresponding vocal answer information, Consequently facilitating the coupling between voice messaging, improve the speed adding good friend further, thus improving the efficiency of instant messaging.
In one embodiment, described determination described ID corresponding voice consultation information includes:
In the described corresponding relation preserving, search voice consultation information corresponding with described ID to be added;
By at least one voice consultation information in the described voice consultation information finding, it is defined as voice consulting letter Breath.
It can be seen that, only need to determine the voice consultation information that need to send, further increase according to the voice consultation information preserving The efficiency of instant messaging.
In one embodiment, described when determine described audio response message vocal answer corresponding with described ID During information matches, the instant communication user corresponding to be added of described ID is added to good friend and includes:
According to the described corresponding relation preserving, search vocal answer information corresponding with described ID to be added;
By speech recognition, when the described voice answer-back that the described vocal answer information that determination finds includes receiving is believed During breath, instant communication user to be added for described ID correspondence is added to good friend.
Equally it is only necessary to search audio response message in the vocal answer information preserving, process is simple, decreases to money The occupancy in source, further increases the efficiency of instant messaging.
In one embodiment, described determination described ID corresponding voice consultation information includes:
Described interpolation good friend's solicited message is sent to second terminal corresponding with described instant communication user to be added;
Receive the voice consultation information of the instant communication user setting described to be added that described second terminal sends, and will At least one voice consultation information in described voice consultation information, is defined as voice consultation information.
It can be seen that, can directly from obtaining voice consultation information with the corresponding second terminal of instant communication user to be added, from And adapt to flexible and changeable application scenarios, improve the motility of instant messaging, and, instant communication user to be added can be with Machine arranges voice consultation information, improves the experience of terminal use.
In one embodiment, described when determine described audio response message vocal answer corresponding with described ID During information matches, the instant communication user corresponding to be added of described ID is added to good friend and includes:
Described audio response message is sent to described second terminal so that described voice answer-back is believed by described second terminal Breath is mated with the vocal answer information of described instant communication user setting to be added;
When receiving the coupling correct information that described second terminal sends, described ID is corresponding to be added Instant communication user be added to good friend, wherein, described coupling correct information be described second terminal pass through speech recognition, determine Send after comprising described audio response message in the vocal answer information of described setting.
Equally, can vocal answer information is mated by second terminal, further increase the flexible of instant messaging Property, and the experience of user.
In one embodiment, described voice consultation information includes: user identity phonetic problem information, and authentication code problem is believed Breath, user set one of phonetic problem information, two or more phonetic problem information.
It can be seen that, voice consultation information can be polytype, as such, it is possible to be prevented effectively from instant communication user be harassed, Improve the ability of the anti-harassing and wrecking of instant messaging, extend the function of instant messaging.
In one embodiment, when determination described audio response message vocal answer information corresponding with described ID During mismatch, methods described also includes:
Redefine described ID corresponding current speech consultation information, until described instant messaging to be added is used The voice consultation information rotation of family setting finishes.
It can be seen that, can repeatedly carry out voice response, reduce the probability that effective instant communication user is shielded, further increase The experience of user.
According to the second aspect of the embodiment of the present disclosure, provide a kind of instant communication method, it may include:
Send to server and add good friend's solicited message, in described interpolation good friend's solicited message, carry user to be added Mark;
Receive the voice consultation information corresponding with described ID that described server sends;
Send audio response message corresponding with described voice consultation information to described server, in order to when described server When determining described audio response message vocal answer information matches corresponding with described ID, described ID is right The instant communication user to be added answered is added to good friend.
It can be seen that, voice response can be carried out with server, thus, by voice response, the good friend carrying out instant messaging adds, Thus carrying out the instant messaging between terminal use, so, extend the pattern of instant messaging good friend interpolation, improve instant messaging Efficiency, also improve the experience of user.
In one embodiment, methods described also includes:
To described server send instant communication user setting voice consultation information, and with described voice consultation information Corresponding vocal answer information is so that described server preserves the ID of described instant communication user and described voice consulting Corresponding relation between information, and described vocal answer information.
It can be seen that, carry out voice consultation information in advance in the server, and the setting of corresponding vocal answer information, thus Being easy to the coupling between voice messaging, improving the speed adding good friend further, thus improving the efficiency of instant messaging.
In one embodiment, methods described also includes:
Receive interpolation good friend's solicited message that described server sends;
The voice consultation information of described instant communication user setting to be added is sent to server so that described service Device, by least one voice consultation information in described voice consultation information, is defined as voice consultation information.
It can be seen that, also can sending voice consultation information to server in real time, thus adapting to flexible and changeable application scenarios, improving The motility of instant messaging, and, also can be randomly provided voice consultation information, improve the experience of terminal use.
In one embodiment, methods described also includes:
Receive the audio response message that described server sends;
Serve as speech recognition, determined described in comprising in the described vocal answer information of instant communication user setting to be added During audio response message, send coupling correct information so that described server is just be sure of according to described coupling to described server Breath, the instant communication user corresponding to be added of described ID is added to good friend.
Equally, vocal answer information can be mated, further increase the motility of instant messaging, and user Experience.
According to the third aspect of the embodiment of the present disclosure, provide a kind of instant communication device, it may include:
Solicited message receiver module, for receiving interpolation good friend's solicited message of first terminal transmission, described interpolation good friend ID to be added is carried in solicited message;
Sending module seeked advice from voice, for determining described ID corresponding voice consultation information, and to described first Terminal sends described voice consultation information;
Vocal answer receiver module, for receiving the language corresponding with described voice consultation information that described first terminal sends Sound response message;
Add module, for when determination described vocal answer information vocal answer information corresponding with described ID Timing, the instant communication user corresponding to be added of ID is added to good friend.
It can be seen that, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out the IMU between terminal use News, so, extend the pattern of instant messaging good friend interpolation, improve the efficiency of instant messaging, also improve the experience of user.
In one embodiment, described device also includes:
Information receiving module, for receiving the voice consultation information of instant communication user setting, and is consulted with described voice Inquiry information corresponding vocal answer information;
Memory module, for preserving the ID of described instant communication user and described voice consultation information, Yi Jisuo Corresponding relation between predicate sound answer information.
So, the voice consultation information of instant communication user setting can be prestored, and corresponding vocal answer information, Consequently facilitating the coupling between voice messaging, improve the speed adding good friend further, thus improving the efficiency of instant messaging.
In one embodiment, described voice consulting sending module mays include:
First lookup submodule, for, in the described corresponding relation preserving, searching and described ID to be added Corresponding voice consultation information;
First determination sub-module, for believing at least one voice consulting in the described voice consultation information finding Breath, is defined as voice consultation information.
It can be seen that, only need to determine the voice consultation information that need to send, further increase according to the voice consultation information preserving The efficiency of instant messaging.
In one embodiment, described add module mays include:
Second lookup submodule, for according to the described corresponding relation preserving, searching and described ID to be added Corresponding vocal answer information;
First configuration submodule, for by speech recognition, when the described vocal answer information that determination finds includes During described audio response message, instant communication user to be added for described ID correspondence is added to good friend.
Equally it is only necessary to search audio response message in the vocal answer information preserving, process is simple, decreases to money The occupancy in source, further increases the efficiency of instant messaging.
In one embodiment, described voice consulting sending module mays include:
Request-to-send submodule, for being sent to and described instant messaging to be added described interpolation good friend's solicited message The corresponding second terminal of user;
Second determination sub-module, for receiving the instant communication user setting described to be added that described second terminal sends Voice consultation information, and by least one voice consultation information in described voice consultation information, be defined as voice consulting letter Breath.
It can be seen that, can directly from obtaining voice consultation information with the corresponding second terminal of instant communication user to be added, from And adapt to flexible and changeable application scenarios, improve the motility of instant messaging, and, instant communication user to be added can be with Machine arranges voice consultation information, improves the experience of terminal use.
In one embodiment, described add module mays include:
Answer sending submodule, for being sent to described second terminal by described audio response message so that described second Described audio response message is mated by terminal with the vocal answer information of described instant communication user setting to be added;
Second configuration submodule, for when receiving the coupling correct information that described second terminal sends, by described use The instant communication user corresponding to be added of family mark is added to good friend, and wherein, described coupling correct information is described second Terminal passes through speech recognition, sends after comprising described audio response message in the vocal answer information determining described setting.
Equally, can vocal answer information is mated by second terminal, further increase the flexible of instant messaging Property, and the experience of user.
In one embodiment, described device may also include that
Calling module, determines described audio response message vocal answer information corresponding with described ID not for working as During coupling, redefine described ID corresponding voice consultation information, until described instant communication user to be added sets The voice consultation information rotation put finishes, and wherein, described voice consultation information includes: user identity phonetic problem information, recognizes Card code problem information, user set one of phonetic problem information, two or more phonetic problem information.
It can be seen that, can repeatedly carry out voice response, reduce the probability that effective instant communication user is shielded, further increase The experience of user.
According to the fourth aspect of the embodiment of the present disclosure, provide a kind of instant communication device, comprising:
Solicited message sending module, adds good friend's solicited message for sending to server, described interpolation good friend request letter ID to be added is carried in breath;
Consultation information receiver module, consults for receiving the voice corresponding with described ID that described server sends Inquiry information;
Response message sending module, for sending voice answer-back corresponding with described voice consultation information to described server Information, in order to determine described audio response message vocal answer information matches corresponding with described ID when described server When, the instant communication user corresponding to be added of described ID is added to good friend.
It can be seen that, voice response can be carried out with server, thus, by voice response, the good friend carrying out instant messaging adds, Thus carrying out the instant messaging between terminal use, so, extend the pattern of instant messaging good friend interpolation, improve instant messaging Efficiency, also improve the experience of user.
In one embodiment, described device also includes:
Setting sending module, for sending the voice consultation information of instant communication user setting to described server, and Vocal answer information corresponding with described voice consultation information is so that described server preserves the user of described instant communication user Mark and the corresponding relation between described voice consultation information, and described vocal answer information.
It can be seen that, carry out voice consultation information in advance in the server, and the setting of corresponding vocal answer information, thus Being easy to the coupling between voice messaging, improving the speed adding good friend further, thus improving the efficiency of instant messaging.
In one embodiment, described device also includes:
Add information receiving module, for receiving interpolation good friend's solicited message that described server sends;
Consultation information sending module, for sending the voice consultation information of described instant communication user setting to be added To server so that described server, by least one voice consultation information in described voice consultation information, is defined as voice Consultation information.
It can be seen that, also can sending voice consultation information to server in real time, thus adapting to flexible and changeable application scenarios, improving The motility of instant messaging, and, also can be randomly provided voice consultation information, improve the experience of terminal use.
In one embodiment, described device also includes:
Response message receiver module, for receiving the audio response message that described server sends;
Match information sending module, is used for having served as speech recognition, determines described instant communication user setting to be added When comprising described audio response message in vocal answer information, send coupling correct information so that described clothes to described server Business device, according to described coupling correct information, the instant communication user corresponding to be added of described ID is added preferably Friend.
Equally, vocal answer information can be mated, further increase the motility of instant messaging, and user Experience.
According to the 5th aspect of the embodiment of the present disclosure, provide a kind of instant communication device, for server, it may include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive interpolation good friend's solicited message that first terminal sends, carry to be added in described interpolation good friend's solicited message ID;
Determine voice consultation information corresponding with described ID, and send described voice to described first terminal and consult Inquiry information;
Receive the audio response message corresponding with described voice consultation information that described first terminal sends;
When determining described audio response message vocal answer information matches corresponding with described ID, by described use The instant communication user corresponding to be added of family mark is added to good friend.
According to the 6th aspect of the embodiment of the present disclosure, provide a kind of instant communication device, for terminal, it may include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Send to server and add good friend's solicited message, in described interpolation good friend's solicited message, carry user to be added Mark;
Receive the voice consultation information corresponding with described ID that described server sends;
Send audio response message corresponding with described voice consultation information to described server, in order to when described server When determining described audio response message vocal answer information matches corresponding with described ID, described ID is right The instant communication user to be added answered is added to good friend.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In technique scheme, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out terminal use Between instant messaging, so, extend instant messaging good friend interpolation pattern, improve the efficiency of instant messaging, also improve The experience of user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of the instant communication method according to an exemplary embodiment.
Fig. 2 is the flow chart of the instant communication method according to an exemplary embodiment.
Fig. 3 is the flow chart of the instant communication method according to an exemplary embodiment one.
Fig. 4 is the flow chart of the instant communication method according to an exemplary embodiment two.
Fig. 5 is the block diagram of the instant communication device according to an exemplary embodiment.
Fig. 6 is the block diagram of the instant communication device according to an exemplary embodiment.
Fig. 7 is the block diagram of the voice consulting sending module 520 according to an exemplary embodiment.
Fig. 8 is the block diagram of the add module 540 according to an exemplary embodiment.
Fig. 9 is the block diagram of the voice consulting sending module 520 according to an exemplary embodiment.
Figure 10 is the block diagram of the add module 540 according to an exemplary embodiment.
Figure 11 is the block diagram of the instant communication device according to an exemplary embodiment.
Figure 12 is the block diagram of the instant communication device according to an exemplary embodiment.
Figure 13 is the block diagram of the instant communication device according to an exemplary embodiment.
Figure 14 is the block diagram of the instant communication device according to an exemplary embodiment.
Figure 15 is the block diagram of the instant communication device according to an exemplary embodiment.
Figure 16 is a kind of block diagram for instant communication device 1900 according to an exemplary embodiment.
Figure 17 is a kind of block diagram for instant communication device 1200 according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
In the embodiment of the present disclosure, instant messaging can carry out good friend's interpolation by voice response, so, not only can reduce The probability that instant communication user is harassed, and, voice response simple and convenient it is not necessary to be inputted manually, be more suitable for Specific scene or specific user, so, extend the pattern of instant messaging good friend interpolation, improve the effect of instant messaging Rate, also improves the experience of user.
Server side
Fig. 1 is the flow chart of the instant communication method according to an exemplary embodiment, as shown in figure 1, including following Step s101-s104:
In step s101, receive interpolation good friend's solicited message that first terminal sends, add in good friend's solicited message and take With ID to be added.
In the embodiment of the present disclosure, in instant messaging, the first instant communication user may need to not be friend relation with one Second instant communication user carries out instant messaging, so, needs first to become friend relation with the second instant communication user, and that is, first Instant communication user needs to set up relation trusty and the second instant communication user between, and so, the first instant communication user leads to Cross corresponding first terminal and initiate interpolation good friend's solicited message that the first instant communication user adds the second instant communication user, this When, the second instant communication user is instant communication user to be added.Thus, the server in instant messaging can receive first eventually Interpolation good friend's solicited message that end sends, carries ID to be added in this interpolation good friend's solicited message.
In step s102, determine ID corresponding current speech consultation information, and send voice to first terminal Consultation information.
Add the solicited message that good friend's solicited message is that the first instant communication user adds the second instant communication user, because This, carry the ID of the second instant communication user in solicited message, that is, carry ID to be added, according to ID can determine that corresponding voice consultation information.
Wherein, voice consultation information corresponding with user profile may have been prestored in server, so, can inquire Voice consultation information corresponding with there being ID to be added, and at least one voice consulting in voice consultation information is believed Breath, is defined as voice consultation information.
Or, solicited message interpolation good friend is sent to the second instant communication user server is IMU to be added The news corresponding second terminal of user, and receive the voice consulting letter of the instant communication user setting to be added of second terminal transmission Breath, and by least one voice consultation information in voice consultation information, it is defined as voice consultation information.
In the embodiment of the present disclosure, voice consultation information includes user identity phonetic problem information, authentication code problem information, use Family sets one of phonetic problem information, two or more phonetic problem information.
For example: voice consultation information includes address name, user job unit, and the identifying code of agreement.So, corresponding Voice consultation information be address name and user job unit, or, voice consultation information be agreement identifying code.
Or, voice consultation information includes the educational background of user, and the color that user likes, then corresponding voice consulting letter Cease the educational background for user, or, corresponding voice consultation information is the color that the educational background of user and user like.
After determining voice consultation information, the voice consultation information of determination can be sent to first terminal.
In step s103, receive the audio response message corresponding with voice consultation information that first terminal sends.
After first terminal receives voice consultation information, can play out, thus, the first instant communication user can be according to broadcasting The current speech answer information put is replied, thus, first terminal gets voice corresponding with current speech consultation information Response message.For example: voice consultation information is the color that the educational background of user and user like, then according to the first instant communication user Answer, the audio response message of acquisition is undergraduate education.Or, voice consultation information is address name and user job list Position, according to the answer of the first instant communication user, the audio response message of acquisition is Zhang San and the first working cell.
After first terminal obtains audio response message, server can be sent to, thus, server receives first terminal and sends out The audio response message corresponding with voice consultation information sending.
In step s104, when determining audio response message vocal answer information matches corresponding with ID, will The instant communication user corresponding to be added of ID is added to good friend.
In the embodiment of the present disclosure, after server receives audio response message, can by audio response message with to be added ID corresponding vocal answer information is mated, when determination audio response message vocal answer corresponding with ID During information matches, you can the relation of the first instant communication user and the second instant communication user is configured to friend relation, will The instant communication user corresponding to be added of ID is added to good friend, thus, the first instant communication user with second is When communication user between be trusted relation, thus first terminal and second terminal can be enable to carry out instant messaging.
Certainly, server may also saving vocal answer information corresponding with the ID of instant communication user, this Sample, directly inquires vocal answer information corresponding with ID to be added, then, by speech recognition, when determination is looked into The vocal answer information finding includes during audio response message it may be determined that audio response message and ID pair to be added The vocal answer information matches answered.
For example: finding vocal answer information corresponding with ID to be added is undergraduate education and yellow.And language When sound response message is undergraduate course, then can determine that audio response message vocal answer information corresponding with ID to be added Join.
Or, when determining that the vocal answer information finding is consistent with audio response message it may be determined that voice answer-back is believed Breath and ID corresponding vocal answer information matches to be added.
In the embodiment of the present disclosure, the audio response message receiving can also be sent to second terminal so that second is whole Audio response message is mated by end with the vocal answer information of setting, and when the coupling receiving second terminal transmission is correct During information, the relation of the first instant communication user and the second instant communication user is configured to friend relation, will ID Correspondence instant communication user to be added is added to good friend.Wherein, coupling correct information is that second terminal passes through speech recognition, really Send after comprising audio response message in the vocal answer information of fixed setting;Or, coupling correct information is that second terminal is passed through Speech recognition, determines that the vocal answer information of setting is with audio response message consistent and sends afterwards.
It can be seen that, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out the IMU between terminal use News, so, extend the pattern of instant messaging good friend interpolation, improve the efficiency of instant messaging, also improve the experience of user.
Because server may save voice consultation information corresponding with instant communication user information, and consult with voice Inquiry information corresponding vocal answer information, therefore, in another embodiment of the disclosure, receives the interpolation of first terminal transmission well Before friendly solicited message, also include: receive instant communication user setting voice consultation information, and with voice consultation information Corresponding vocal answer information;Preserve ID and the voice consultation information of instant communication user, and vocal answer information Between corresponding relation.
So, the voice consultation information of instant communication user setting can be prestored, and corresponding vocal answer information, Consequently facilitating the coupling between voice messaging, improve the speed adding good friend further, thus improving the efficiency of instant messaging.
Due to saving between the ID of instant communication user and voice consultation information, and vocal answer information Corresponding relation, determine ID corresponding voice consultation information may include: preserve corresponding relation in, search with to be added ID corresponding voice consultation information;By at least one voice consultation information in the voice finding consultation information, It is defined as voice consultation information.
And when determining audio response message vocal answer information matches corresponding with ID, ID is right The instant communication user to be added answered is added to good friend and includes: according to the corresponding relation preserving, searches and user to be added Identify corresponding vocal answer information;By speech recognition, when the vocal answer information that determination finds includes the language of reception During sound response message, the relation of the first instant communication user and the second instant communication user is configured to friend relation, Ji Jiangyong Mark correspondence instant communication user to be added in family is added to good friend.
Only need to search audio response message in the vocal answer information preserving, process is simple, decreases to resource Take, further increase the efficiency of instant messaging.
Because voice consultation information includes: user identity phonetic problem information, authentication code problem information, user set voice One of problem information, two or more phonetic problem information, and, simply by least one language in voice consultation information Sound consultation information, is defined as voice consultation information, therefore, in another embodiment of the disclosure, when determination audio response message and use When mark corresponding vocal answer information in family mismatches, method also includes: redefines the corresponding current speech of ID and consults Inquiry information, until the voice consultation information rotation of the second instant communication user setting finishes.
For example: include with adding the ID corresponding voice consultation information to be added carrying in good friend's solicited message Educational background, user job unit, and the identifying code of agreement, vocal answer information corresponding with this ID is undergraduate education, First working cell, and 123456.And the voice consultation information that server determines is educational background.So, when server reception When audio response message is master, then can determine that audio response message vocal answer information corresponding with ID mismatches, Then need to redefine and add the ID corresponding voice consultation information to be added carrying in good friend's solicited message, this When it may be determined that voice consultation information be user job unit, and agreement identifying code, if server receive voice answer-back letter Cease for the first working cell, and 234567, include the first work due in vocal answer information corresponding with ID Unit, then can determine that audio response message vocal answer information matches corresponding with ID, then do not need to redefine language Sound consultation information.Or, due to 234567 and 123456 mismatches, then can determine that audio response message is corresponding with ID Vocal answer information mismatches, and continues to redefine and consults with the corresponding voice of ID to be added carrying in solicited message Inquiry information, now it may be determined that voice consultation information is user job unit, and educational background, then again mate again, until waiting to add Plus the voice consultation information rotation of instant communication user setting finish, or it has been determined that audio response message and user Identify corresponding vocal answer information matches.
It can be seen that, can repeatedly carry out voice response, reduce the probability that effective instant communication user is shielded, further increase The experience of user.
End side
Fig. 2 is the flow chart of the instant communication method according to an exemplary embodiment, as shown in Fig. 2 including following Step s201-s203:
In step s201, send to server and add good friend's solicited message, carry in interpolation good friend's solicited message and need The ID added.
In instant messaging, first instant communication user may need to one be not friend relation the second instant communication user Carry out instant messaging, so, need first to become friend relation with the second instant communication user, that is, the first instant communication user need to be with Relation trusty is set up, so, the first instant communication user is initiated by corresponding terminal between second instant communication user First instant communication user adds interpolation good friend's solicited message of the second instant communication user, now, the second instant communication user For instant communication user to be added.Therefore, terminal can send to server and add good friend's solicited message, and this interpolation good friend asks ID to be added is carried in information.
In step s202, the voice consultation information corresponding with ID that the reception server sends.
Server receives after interpolation good friend's solicited message it may be determined that ID corresponding current speech consultation information, And to first terminal send voice consultation information, so, terminal can the reception server send the corresponding language with ID Sound consultation information.
Wherein, server can be in the ID of the instant communication user preserving and voice consultation information, and voice is answered In corresponding relation between case information, search and ID corresponding voice consultation information to be added, by the language finding At least one voice consultation information in sound consultation information, is defined as voice consultation information, the voice consulting after then determining Information is sent to terminal.
Or, server is sent to corresponding with instant communication user to be added second eventually by adding good friend's solicited message End;Receive the voice consultation information of the instant communication user setting to be added that second terminal sends, and by voice consultation information In at least one voice consultation information, be defined as voice consultation information, then by determine after voice consultation information be sent to Terminal.
In step s203, send audio response message corresponding with voice consultation information to server, in order to when service When device determines audio response message vocal answer information matches corresponding with ID, ID is corresponding to be added Instant communication user be added to good friend.
After receiving voice consultation information, the first instant communication user can be replied, thus, terminal can be sent out to server Send audio response message corresponding with voice consultation information, so, when server determines audio response message and ID pair During the vocal answer information matches answered, the instant communication user corresponding to be added of ID is added to good friend.
Certainly, during server is mated, can be in the ID of the local instant communication user preserving and language Corresponding relation between sound consultation information, and vocal answer information, searches voice corresponding with ID to be added and answers Case information;By speech recognition, when determining that the vocal answer information finding includes the audio response message receiving, will use Mark correspondence instant communication user to be added in family is added to good friend.
Or, audio response message can be sent to second terminal so that second terminal is by audio response message by server Mated with the vocal answer information of instant communication user setting to be added;When receive second terminal transmission coupling just When be sure oing breath, the instant communication user corresponding to be added of ID is added to good friend, wherein, coupling correct information is Second terminal passes through speech recognition, sends after comprising audio response message in the vocal answer information determining setting.
It can be seen that, voice response can be carried out with server, thus, by voice response, the good friend carrying out instant messaging adds, Thus carrying out the instant messaging between terminal use, so, extend the pattern of instant messaging good friend interpolation, improve instant messaging Efficiency, also improve the experience of user.
In the embodiment of the present disclosure, terminal can be initiate add good friend's solicited message first terminal, or with wait to add Plus the corresponding second terminal of instant communication user, but be which kind of terminal, all can carry out voice consultation information in the server, And the setting of corresponding vocal answer information, therefore, in another embodiment of the disclosure, may also include that to send to server and be When communication user setting voice consultation information, and vocal answer information corresponding with voice consultation information is so that server Preserve the ID of instant communication user and the corresponding relation between voice consultation information, and vocal answer information.
And when terminal is second terminal corresponding with instant communication user to be added, when determining voice consultation information, May also include that interpolation good friend's solicited message that the reception server sends;The voice of instant communication user setting to be added is consulted Inquiry information is sent to server so that server, by least one voice consultation information in voice consultation information, is defined as language Sound consultation information.
And when carrying out audio response message coupling, may also include that the audio response message that the reception server sends;Serve as Speech recognition, when comprising audio response message in the vocal answer information determining instant communication user setting to be added, to clothes Business device sends coupling correct information so that server is according to coupling correct information, by ID corresponding to be added i.e. When communication user be added to good friend.
Below by operating process set in specific embodiment, illustrate the method that the embodiment of the present disclosure provides.
Embodiment one, in the present embodiment, server pre-saves ID and the voice consulting letter of instant communication user Breath, and the corresponding relation between vocal answer information.
For example: server saves ID and the voice consultation information of instant communication user, and vocal answer letter Corresponding relation between breath, as shown in table 1.
The ID of instant communication user Voice consultation information Vocal answer information
The ID of communication user 1 Voice consultation information one Vocal answer information one
The ID of communication user 2 Voice consultation information two Vocal answer information two
The ID of communication user 3 Voice consultation information three Vocal answer information three
…… …… ……
Table 1
So, the ID that the second instant communication user preserving is communication user to be added is consulted by server with voice Corresponding relation between inquiry information, and vocal answer information is added in table 1, thus, server preserve to be added i.e. When communication user ID can be as shown in table 1 communication user 3 ID.
Fig. 3 is the flow chart of the instant communication method according to an exemplary embodiment one, as shown in figure 3, include with Lower step s301-s306:
In step s301, receive interpolation good friend's solicited message that first terminal sends, wherein, add good friend's solicited message In carry ID to be added.
In step s302, in the instant communication user information preserving and voice consultation information, and vocal answer information Between corresponding relation in, search and ID corresponding voice consultation information to be added.
For example: in the table 1 preserving, search and ID corresponding voice consultation information to be added, to be added ID is communication user 3 ID, then corresponding voice consultation information is voice consultation information three.
In step s303, at least one voice consultation information in the voice finding consultation information is defined as language Sound consultation information.
In step s304, the voice consultation information of determination is sent to first terminal, and receives first terminal transmission Audio response message corresponding with voice consultation information.
In step s305, according to the instant communication user information preserving and voice consultation information, and vocal answer letter Corresponding relation between breath, searches and ID corresponding vocal answer information to be added.
For example: in the table 1 preserving, search and ID corresponding vocal answer information to be added.To be added ID is communication user 3 ID, then the corresponding vocal answer information finding is vocal answer information three.
In step s306, by speech recognition, when the vocal answer information that determination finds includes voice answer-back letter During breath, the instant communication user corresponding to be added of ID is added to good friend.
Server has determined that the relation of the first instant communication user and the second instant communication user is friend relation, that is, Trusted relation, thus, first terminal second terminal corresponding with the second instant communication user can carry out instant messaging.
It can be seen that, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out the IMU between terminal use News, so, extend the pattern of instant messaging good friend interpolation.And, server saves the second instant communication user setting Voice consultation information, and corresponding vocal answer information, consequently facilitating the coupling between voice messaging, improve further and add The speed of good friend, thus improve the efficiency of instant messaging.
In embodiment two, the present embodiment, between instant communication user, voice response can be carried out in real time, thus carrying out good friend Checking.
Fig. 4 is the flow chart of the instant communication method according to an exemplary embodiment two, as shown in figure 4, include with Lower step s401-s408:
In step s401, first terminal sends to server and adds good friend's solicited message, wherein, adds good friend's request letter ID to be added is carried in breath.
In step s402, the good friend's solicited message of adding receiving is sent to and instant messaging to be added use by server The corresponding second terminal in family.
In step s403, second terminal obtains the voice consultation information of the second instant communication user setting, and is sent to Server.
In step s404, server receives voice consultation information, and by least one voice in voice consultation information Consultation information, is sent to first terminal after being defined as voice consultation information.
In step s405, first terminal plays current speech consultation information, and obtains the first instant communication user reply Audio response message after be sent to server.
In step s406, audio response message is sent to second terminal by server.
In step s407, second terminal plays audio response message, and is receiving instant communication user to be added After the instruction sending after comprising audio response message in the vocal answer information determining setting, send coupling to server and just be sure of Breath.
In step s408, the instant communication user corresponding to be added of ID is added to good friend by server.
The relation of the first instant communication user and the second instant communication user is configured to friend relation so that by server One terminal second terminal corresponding with the second instant communication user carries out instant messaging.
It can be seen that, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out the IMU between terminal use News, so, extend the pattern of instant messaging good friend interpolation, improve the efficiency of instant messaging, also improve the experience of user.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.
Fig. 5 is the block diagram of the instant communication device according to an exemplary embodiment, and this device can be by software, hard Part or both be implemented in combination with become some or all of of electronic equipment.As shown in figure 5, this instant communication device includes: Solicited message receiver module 510, voice consulting sending module 520, vocal answer receiver module 530 and add module 540.Its In,
Solicited message receiver module 510, is configured to receive interpolation good friend's solicited message that first terminal sends, adds ID to be added is carried in friendly solicited message.
Sending module 520 seeked advice from voice, is configured to determine that ID corresponding voice consultation information, and to first eventually End sends voice consultation information.
Vocal answer receiver module 530, is configured to receive the language corresponding with voice consultation information that first terminal sends Sound response message.
Add module 540, is configured as determining vocal answer information vocal answer information corresponding with ID Timing, the instant communication user corresponding to be added of ID is added to good friend.
It can be seen that, voice response can be passed through, the good friend carrying out instant messaging adds, thus carrying out the IMU between terminal use News, so, extend the pattern of instant messaging good friend interpolation, improve the efficiency of instant messaging, also improve the experience of user.
Fig. 6 is the block diagram of the instant communication device according to an exemplary embodiment.As shown in fig. 6, instant messaging dress Put including: solicited message receiver module 510, voice consulting sending module 520, vocal answer receiver module 530 and add mould Block 540, may also include that information receiving module 550 and memory module 560.Wherein,
Information receiving module 550, is configured to receive the voice consultation information of instant communication user setting, and and voice Consultation information corresponding vocal answer information.
Memory module 560, is configured to preserve the ID of instant communication user and voice consultation information, and voice Corresponding relation between answer information.
So, the voice consultation information of instant communication user setting can be prestored, and corresponding vocal answer information, Consequently facilitating the coupling between voice messaging, improve the speed adding good friend further, thus improving the efficiency of instant messaging.
Due to saving the corresponding pass between instant communication user information and voice consultation information, and vocal answer information System, so, voice is seeked advice from sending module 520 and can be searched voice corresponding with ID to be added in the relation preserving Consultation information, and by least one voice consultation information in the voice finding consultation information, it is defined as voice consultation information.
Fig. 7 is the block diagram of the voice consulting sending module 520 according to an exemplary embodiment, as shown in fig. 7, voice Consulting sending module 520 mays include: the first lookup submodule 521 and the first determination sub-module 522.Wherein,
First lookup submodule 521, is configured in the corresponding relation preserving, and searches and ID pair to be added The voice consultation information answered.
First determination sub-module 522, is configured at least one voice consulting in the voice finding consultation information Information, is defined as voice consultation information.
It can be seen that, only need to determine the current speech consultation information that need to send, carry further according to the voice consultation information preserving The high efficiency of instant messaging.
And, add module 540 can be mated according to the corresponding relation preserving.
Fig. 8 is the block diagram of the add module 540 according to an exemplary embodiment, as shown in figure 8, add module 540 May include: the second lookup submodule 541 and the first configuration submodule 542.Wherein,
Second lookup submodule 541, is configured to according to the corresponding relation preserving, and searches and ID pair to be added The vocal answer information answered.
First configuration submodule 542, is configured to speech recognition, wraps when determining in the vocal answer information finding When including audio response message, instant communication user to be added for ID correspondence is added to good friend.
Equally it is only necessary to search audio response message in the vocal answer information preserving, process is simple, decreases to money The occupancy in source, further increases the efficiency of instant messaging.
Certainly, real time problem inquiry can be carried out between instant communication user answer, in order to add good friend.
Fig. 9 is the block diagram of the voice consulting sending module 520 according to an exemplary embodiment, as shown in figure 9, voice Consulting sending module 520 mays include: request-to-send submodule 523 and the second determination sub-module 524.
Request-to-send submodule 523, is configured to be sent to adding good friend's solicited message and instant messaging to be added The corresponding second terminal of user.
Second determination sub-module 524, is configured to receive the instant communication user setting to be added that second terminal sends Voice consultation information, and by least one voice consultation information in voice consultation information, be defined as voice consultation information.
It can be seen that, can directly from the corresponding second terminal of instant communication user to be added obtain current speech consulting letter Breath, thus adapting to flexible and changeable application scenarios, improves the motility of instant messaging, and, instant messaging to be added is used Family can be randomly provided voice consultation information, improves the experience of terminal use.
Figure 10 is the block diagram of the add module 540 according to an exemplary embodiment, as shown in Figure 10, add module 540 may include: answer sending submodule 543 and the second configuration submodule 544.
Answer sending submodule, is configured to for audio response message to be sent to second terminal so that second terminal is by language Sound answers the vocal answer information that answer information is arranged with instant communication user to be added to be mated.
Second configuration submodule, when being configured as the coupling correct information receiving second terminal transmission, user is marked The instant communication user corresponding to be added known is added to good friend, and wherein, coupling correct information is that second terminal passes through voice Identification, sends after comprising audio response message in the vocal answer information determining setting.
Equally, can vocal answer information is mated by second terminal, further increase the flexible of instant messaging Property, and the experience of user.
Figure 11 is the block diagram of the instant communication device according to an exemplary embodiment, and as shown in figure 11, device includes: Solicited message receiver module 510, voice consulting sending module 520, vocal answer receiver module 530 and add module 540, also May include: calling module 570.
Calling module 570, is configured as determining audio response message vocal answer information corresponding with ID not During coupling, redefine ID corresponding voice consultation information, until the voice of instant communication user setting to be added Consultation information rotation finishes, and wherein, voice consultation information includes: user identity phonetic problem information, authentication code problem information, User sets one of phonetic problem information, two or more phonetic problem information.
It can be seen that, can repeatedly carry out voice response, reduce the probability that effective instant communication user is shielded, further increase The experience of user.
Figure 12 is the block diagram of the instant communication device according to an exemplary embodiment, this device can by software, Hardware or both be implemented in combination with become some or all of of electronic equipment.As shown in figure 12, this instant communication device bag Include: solicited message sending module 610, consultation information receiver module 620 and response message sending module 630.Wherein,
Solicited message sending module 610, is configured to send to server and adds good friend's solicited message, add good friend's request ID to be added is carried in information.
Consultation information receiver module 620, the voice corresponding with ID being configured to the reception server transmission is consulted Inquiry information.
Response message sending module 630, is configured to send voice answer-back corresponding with voice consultation information to server Information, in order to when server determines audio response message vocal answer information matches corresponding with ID, user to be marked The instant communication user corresponding to be added known is added to good friend.
It can be seen that, voice response can be carried out with server, thus, by voice response, the good friend carrying out instant messaging adds, Thus carrying out the instant messaging between terminal use, so, extend the pattern of instant messaging good friend interpolation, improve instant messaging Efficiency, also improve the experience of user.
Figure 13 is the block diagram of the instant communication device according to an exemplary embodiment.As shown in figure 13, this IMU News device includes: solicited message sending module 610, consultation information receiver module 620 and response message sending module 630, also May include: setting sending module 640, be configured to send the voice consultation information of instant communication user setting to server, with And vocal answer information corresponding with voice consultation information is so that server preserves ID and the voice of instant communication user Corresponding relation between consultation information, and vocal answer information.
It can be seen that, carry out voice consultation information in advance in the server, and the setting of corresponding vocal answer information, thus Being easy to the coupling between voice messaging, improving the speed adding good friend further, thus improving the efficiency of instant messaging.
Figure 14 is the block diagram of the instant communication device according to an exemplary embodiment.As shown in figure 14, this IMU News device mays include: interpolation information receiving module 650 and consultation information sending module 660, wherein,
Add information receiving module, be configured to interpolation good friend's solicited message of the reception server transmission.
Consultation information sending module, is configured to send the voice consultation information of instant communication user setting to be added To server so that server, by least one voice consultation information in voice consultation information, is defined as voice consultation information.
It can be seen that, also can sending voice consultation information to server in real time, thus adapting to flexible and changeable application scenarios, improving The motility of instant messaging, and, also can be randomly provided voice consultation information, improve the experience of terminal use.
Figure 15 is the block diagram of the instant communication device according to an exemplary embodiment.As shown in figure 15, this IMU News device mays include: response message receiver module 670 and match information sending module 680, wherein,
Response message receiver module 670, is configured to the audio response message of the reception server transmission.
Match information sending module 680, is configured to serve as speech recognition, determines instant communication user setting to be added Vocal answer information in when comprising audio response message, send coupling correct information to server so that server according to Join correct information, the instant communication user corresponding to be added of ID is added to good friend.
Equally, vocal answer information can be mated, further increase the motility of instant messaging, and user Experience.
The embodiment of the present disclosure provides a kind of instant communication device, for server, comprising:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, processor is configured to:
Receive interpolation good friend's solicited message that first terminal sends, carry to be added in described interpolation good friend's solicited message ID;
Determine voice consultation information corresponding with described ID, and send described voice to described first terminal and consult Inquiry information;
Receive the audio response message corresponding with described voice consultation information that described first terminal sends;
When determining described audio response message vocal answer information matches corresponding with described ID, by described use The instant communication user corresponding to be added of family mark is added to good friend.
The embodiment of the present disclosure provides a kind of instant communication device, for terminal, comprising:
Processor;
It is configured to store the memorizer of processor executable;
Wherein, processor is configured to:
Send to server and add good friend's solicited message, in described interpolation good friend's solicited message, carry user to be added Mark;
Receive the voice consultation information corresponding with described ID that described server sends;
Send audio response message corresponding with described voice consultation information to described server, in order to when described server When determining described audio response message vocal answer information matches corresponding with described ID, described ID is right The instant communication user to be added answered is added to good friend.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 16 is a kind of block diagram for instant communication device 1900 according to an exemplary embodiment.For example, fill Put 1900 and may be provided in a server.With reference to Figure 16, device 1900 includes process assembly 1922, and it further includes one Or multiple processor, and the memory resource representated by memorizer 1932, can holding by process assembly 1922 for storage The instruction of row, such as application program.The application program storing in memorizer 1932 can include one or more each The individual module corresponding to one group of instruction.Additionally, process assembly 1922 is configured to execute instruction, to execute said method.
Device 1900 can also include the power management that a power supply module 1926 is configured to performs device 1900, one Wired or wireless network interface 1950 is configured to for device 1900 to be connected to network, and input and output (i/o) interface 1958.Device 1900 can operate based on the operating system being stored in memorizer 1932, such as windows servertm, mac Os xtm, unixtm, linuxtm, freebsdtm or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 1900 So that device 1900 is able to carry out the method shown in Fig. 1 during row, method includes:
Receive interpolation good friend's solicited message that first terminal sends, carry to be added in described interpolation good friend's solicited message ID;
Determine described ID corresponding voice consultation information, and send described voice consulting letter to described first terminal Breath;
Receive the audio response message corresponding with described voice consultation information that described first terminal sends;
When determining described audio response message vocal answer information matches corresponding with described ID, by described use The instant communication user corresponding to be added of family mark is added to good friend.
Before interpolation good friend's solicited message that described reception first terminal sends, also include:
Receive the voice consultation information of instant communication user setting, and voice corresponding with described voice consultation information is answered Case information;
Preserve the ID of described instant communication user and described voice consultation information, and described vocal answer information Between corresponding relation.
Described determination described ID corresponding voice consultation information includes:
In the described corresponding relation preserving, search voice consultation information corresponding with described ID to be added;
By at least one voice consultation information in the described voice consultation information finding, it is defined as voice consulting letter Breath.
During the described described audio response message vocal answer information matches corresponding with described ID when determination, by institute The instant communication user corresponding to be added stating ID is added to good friend and includes:
According to the described corresponding relation preserving, search vocal answer information corresponding with described ID to be added;
By speech recognition, when the described voice answer-back that the described vocal answer information that determination finds includes receiving is believed During breath, instant communication user to be added for described ID correspondence is added to good friend.
Described determination described ID corresponding voice consultation information includes:
Described interpolation good friend's solicited message is sent to second terminal corresponding with described instant communication user to be added;
Receive the voice consultation information of the instant communication user setting described to be added that described second terminal sends, and will At least one voice consultation information in described voice consultation information, is defined as voice consultation information.
During the described described audio response message vocal answer information matches corresponding with described ID when determination, by institute The instant communication user corresponding to be added stating ID is added to good friend and includes:
Described audio response message is sent to described second terminal so that described voice answer-back is believed by described second terminal Breath is mated with the vocal answer information of described instant communication user setting to be added;
When receiving the coupling correct information that described second terminal sends, described ID is corresponding to be added Instant communication user be added to good friend, wherein, described coupling correct information be described second terminal pass through speech recognition, determine Send after comprising described audio response message in the vocal answer information of described setting.
Described voice consultation information includes: user identity phonetic problem information, and authentication code problem information, user set voice One of problem information, two or more phonetic problem information.
When determining that described audio response message vocal answer information corresponding with described ID mismatches, described side Method also includes:
Redefine described ID corresponding current speech consultation information, until described instant messaging to be added is used The voice consultation information rotation of family setting finishes.
Figure 17 is a kind of block diagram of the device 1200 for control terminal according to an exemplary embodiment, this device It is applied to terminal unit.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, Game console, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 17, device 1200 can include following one or more assemblies: process assembly 1202, memorizer 1204, Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (i/o), sensor cluster 1214, and communication component 1216.
The integrated operation of the usual control device 1200 of process assembly 1202, such as with display, call, data communication, Camera operation and record operate associated operation.Process assembly 1202 can include one or more processors 1220 to execute Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1202 can include one or more moulds Block, is easy to the interaction between process assembly 1202 and other assemblies.For example, process assembly 1202 can include multi-media module, To facilitate the interaction between multimedia groupware 1208 and process assembly 1202.
Memorizer 1204 is configured to store various types of data to support the operation in device 1200.These data Example include on device 1200 operation any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable can Program read-only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1200, the assembly that electric power is associated.
Multimedia groupware 1208 includes the screen of one output interface of offer between device 1200 and user.At some In embodiment, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen May be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensors With the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, But also the detection persistent period point related to touch or slide and pressure.In certain embodiments, multimedia groupware 1208 include a front-facing camera and/or post-positioned pick-up head.When device 1200 is in operator scheme, such as screening-mode or video During pattern, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and rearmounted Photographic head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (mic), when device 1200 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1204 or via communication Assembly 1216 sends.In certain embodiments, audio-frequency assembly 1210 also includes a speaker, for exports audio signal.
I/o interface 1212 is for providing interface, above-mentioned peripheral interface module between process assembly 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensors, for providing the state of various aspects to comment for device 1200 Estimate.For example, sensor cluster 1214 can detect/the closed mode of opening of equipment 1200, the relative localization of assembly, such as group Part is display and the keypad of device 1200, and sensor cluster 1214 can be with detection means 1200 or 1,200 1 groups of device The position change of part, user is presence or absence of with what device 1200 contacted, device 1200 orientation or acceleration/deceleration and device 1200 temperature change.Sensor cluster 1214 can include proximity transducer, is configured to do not having any physics to connect The presence of object nearby is detected when tactile.Sensor cluster 1214 can also include optical sensor, such as cmos or ccd image sensing Device, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other-end.Dress Put 1200 and can access wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.Exemplary at one In embodiment, communication component 1216 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel Information.In one exemplary embodiment, communication component 1216 also includes near-field communication (nfc) module, to promote junction service. For example, RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband (uwb) skill can be based in nfc module Art, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (asic), numeral Signal processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1204 instructing, above-mentioned instruction can be executed by the processor 1220 of device 1200 to complete said method.Example As, non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 1200 So that device 1200 is able to carry out the method shown in Fig. 2 during row, method includes:
Send to server and add good friend's solicited message, in described interpolation good friend's solicited message, carry user to be added Mark;
Receive the voice consultation information corresponding with described ID that described server sends;
Send audio response message corresponding with described voice consultation information to described server, in order to when described server When determining described audio response message vocal answer information matches corresponding with described ID, described ID is right The instant communication user to be added answered is added to good friend.
Methods described also includes:
To described server send instant communication user setting voice consultation information, and with described voice consultation information Corresponding vocal answer information is so that described server preserves the ID of described instant communication user and described voice consulting Corresponding relation between information, and described vocal answer information.
Methods described also includes:
Receive interpolation good friend's solicited message that described server sends;
The voice consultation information of described instant communication user setting to be added is sent to server so that described service Device, by least one voice consultation information in described voice consultation information, is defined as voice consultation information.
Methods described also includes:
Receive the audio response message that described server sends;
Serve as speech recognition, determined described in comprising in the described vocal answer information of instant communication user setting to be added During audio response message, send coupling correct information so that described server is just be sure of according to described coupling to described server Breath, the instant communication user corresponding to be added of described ID is added to good friend.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (25)

1. a kind of instant communication method is it is characterised in that include:
Receive interpolation good friend's solicited message that first terminal sends, in described interpolation good friend's solicited message, carry use to be added Family identifies;
Determine the corresponding voice consultation information of described ID, and send described voice consulting letter to described first terminal Breath;
Receive the audio response message corresponding with described voice consultation information that described first terminal sends;
When determining described audio response message vocal answer information matches corresponding with described ID, described user is marked The instant communication user corresponding to be added known is added to good friend.
2. the method for claim 1 it is characterised in that described reception first terminal send interpolation good friend's solicited message Before, also include:
Receive the voice consultation information of instant communication user setting, and vocal answer corresponding with described voice consultation information letter Breath;
Preserve between the ID of described instant communication user and described voice consultation information, and described vocal answer information Corresponding relation.
3. the method described in claim 2 is it is characterised in that the described ID of described determination corresponding voice consultation information bag Include:
In the described corresponding relation preserving, search voice consultation information corresponding with described ID to be added;
By at least one voice consultation information in the described voice consultation information finding, it is defined as voice consultation information.
4. the method described in claim 2 is it is characterised in that described work as the described audio response message of determination and described ID During corresponding vocal answer information matches, the instant communication user corresponding to be added of described ID is added to good friend Including:
According to the described corresponding relation preserving, search vocal answer information corresponding with described ID to be added;
By speech recognition, when the described vocal answer information that determination finds includes the described audio response message of reception When, instant communication user to be added for described ID correspondence is added to good friend.
5. the method described in claim 1 is it is characterised in that the described ID of described determination corresponding voice consultation information bag Include:
Described interpolation good friend's solicited message is sent to second terminal corresponding with described instant communication user to be added;
Receive the voice consultation information of the instant communication user setting described to be added that described second terminal sends, and will be described At least one voice consultation information in voice consultation information, is defined as voice consultation information.
6. the method described in claim 5 is it is characterised in that described work as the described audio response message of determination and described ID During corresponding vocal answer information matches, the instant communication user corresponding to be added of described ID is added to good friend Including:
Described audio response message is sent to described second terminal so that described second terminal by described audio response message with The vocal answer information of described instant communication user setting to be added is mated;
When receiving the coupling correct information that described second terminal sends, by described ID corresponding to be added i.e. When communication user be added to good friend, wherein, described coupling correct information is that described second terminal passes through speech recognition, determines described Send after comprising described audio response message in the vocal answer information of setting.
7. the method as described in claim 2 or 5 is it is characterised in that described voice consultation information includes: user identity voice is asked Topic information, authentication code problem information, user set one of phonetic problem information, two or more phonetic problem information.
8. method as claimed in claim 7 determines described audio response message and described ID pair it is characterised in that working as When the vocal answer information answered mismatches, methods described also includes:
Redefine the corresponding voice consultation information of described ID, until described instant communication user setting to be added The rotation of voice consultation information finish.
9. a kind of instant communication method is it is characterised in that include:
Send to server and add good friend's solicited message, in described interpolation good friend's solicited message, carry user's mark to be added Know;
Receive the voice consultation information corresponding with described ID that described server sends;
Send audio response message corresponding with described voice consultation information to described server, in order to determine when described server During described audio response message vocal answer information matches corresponding with described ID, described ID is corresponding Instant communication user to be added is added to good friend.
10. method as claimed in claim 9 is it is characterised in that methods described also includes:
Send the voice consultation information of instant communication user setting to described server, and corresponding with described voice consultation information Vocal answer information so that described server preserves ID and the described voice consulting letter of described instant communication user Breath, and the corresponding relation between described vocal answer information.
11. methods as claimed in claim 9 are it is characterised in that methods described also includes:
Receive interpolation good friend's solicited message that described server sends;
The voice consultation information of described instant communication user setting to be added is sent to server so that described server will At least one voice consultation information in described voice consultation information, is defined as voice consultation information.
12. methods as claimed in claim 11 are it is characterised in that methods described also includes:
Receive the audio response message that described server sends;
Serve as speech recognition, determined in the described vocal answer information of instant communication user setting to be added and comprise described voice During response message, send coupling correct information to described server so that described server is according to described coupling correct information, will The instant communication user corresponding to be added of described ID is added to good friend.
A kind of 13. instant communication devices are it is characterised in that include:
Solicited message receiver module, for receiving interpolation good friend's solicited message of first terminal transmission, described interpolation good friend request ID to be added is carried in information;
Sending module seeked advice from voice, for determining described ID corresponding voice consultation information, and to described first terminal Send described voice consultation information;
Voice answer-back receiver module, should for receiving the voice corresponding with described voice consultation information that described first terminal sends Answer information;
Add module, for when determination described vocal answer information vocal answer information matches corresponding with described ID When, the instant communication user corresponding to be added of ID is added to good friend.
14. described devices also include:
Information receiving module, for receiving the voice consultation information of instant communication user setting, and seeks advice from letter with described voice Cease corresponding vocal answer information;
Memory module, for preserving described instant communication user information and described voice consultation information, and described vocal answer Corresponding relation between information.
Device described in 15. claim 14 is it is characterised in that described voice consulting sending module includes:
First lookup submodule, for, in the described corresponding relation preserving, searching corresponding with described ID to be added Voice consultation information;
First determination sub-module, for by least one voice consultation information in the described voice consultation information finding, really It is set to voice consultation information.
Device described in 16. claim 14 is it is characterised in that described add module includes:
Second lookup submodule, for according to the described corresponding relation preserving, searching corresponding with described ID to be added Vocal answer information;
First configuration submodule, for by speech recognition, described when determining that the described vocal answer information finding includes During audio response message, instant communication user to be added for described ID correspondence is added to good friend.
Device described in 17. claim 13 is it is characterised in that described voice consulting sending module includes:
Request-to-send submodule, for being sent to and described instant communication user to be added described interpolation good friend's solicited message Corresponding second terminal;
Second determination sub-module, for receiving the language of the instant communication user setting described to be added that described second terminal sends Sound consultation information, and by least one voice consultation information in described voice consultation information, it is defined as voice consultation information.
Device described in 18. claim 17 is it is characterised in that described add module includes:
Answer sending submodule, for being sent to described second terminal by described audio response message so that described second terminal Described audio response message is mated with the vocal answer information of described instant communication user setting to be added;
Second configuration submodule, for when receiving the coupling correct information that described second terminal sends, described user being marked The instant communication user corresponding to be added known is added to good friend, and wherein, described coupling correct information is described second terminal By speech recognition, send after comprising described audio response message in the vocal answer information determining described setting.
19. devices as described in claim 14 or 17 are it is characterised in that described device also includes:
Calling module, for mismatching when determination described audio response message vocal answer information corresponding with described ID When, redefine the corresponding voice consultation information of described ID, until described instant communication user setting to be added The rotation of voice consultation information finish, wherein, described voice consultation information includes: user identity phonetic problem information, certification Code problem information, user set one of phonetic problem information, two or more phonetic problem information.
A kind of 20. instant communication devices are it is characterised in that include:
Solicited message sending module, adds good friend's solicited message for sending to server, in described interpolation good friend's solicited message Carry ID to be added;
Consultation information receiver module, for receiving the voice consulting letter corresponding with described ID that described server sends Breath;
Response message sending module, for sending voice answer-back letter corresponding with described voice consultation information to described server Breath, in order to determine described audio response message vocal answer information matches corresponding with described ID when described server When, the instant communication user corresponding to be added of described ID is added to good friend.
21. devices as claimed in claim 20 are it is characterised in that described device also includes:
Setting sending module, for described server send instant communication user setting voice consultation information, and with institute Predicate sound consultation information corresponding vocal answer information is so that described server preserves the ID of described instant communication user With the corresponding relation between described voice consultation information, and described vocal answer information.
22. devices as claimed in claim 20 are it is characterised in that described device also includes:
Add information receiving module, for receiving interpolation good friend's solicited message that described server sends;
Consultation information sending module, for being sent to clothes by the voice consultation information of described instant communication user setting to be added Business device, so that described server is by least one voice consultation information in described voice consultation information, is defined as voice consulting Information.
23. devices as claimed in claim 22 are it is characterised in that described device also includes:
Response message receiver module, for receiving the audio response message that described server sends;
Match information sending module, is used for having served as speech recognition, determines the voice of described instant communication user setting to be added When comprising described audio response message in answer information, send coupling correct information so that described server to described server According to described coupling correct information, the instant communication user corresponding to be added of described ID is added to good friend.
A kind of 24. instant communication devices, for server it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive interpolation good friend's solicited message that first terminal sends, in described interpolation good friend's solicited message, carry use to be added Family identifies;
Determine voice consultation information corresponding with described ID, and send described voice consulting letter to described first terminal Breath;
Receive the audio response message corresponding with described voice consultation information that described first terminal sends;
When determining described audio response message vocal answer information matches corresponding with described ID, described user is marked The instant communication user corresponding to be added known is added to good friend.
A kind of 25. instant communication devices, for terminal it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Send to server and add good friend's solicited message, in described interpolation good friend's solicited message, carry user's mark to be added Know;
Receive the voice consultation information corresponding with described ID that described server sends;
Send audio response message corresponding with described voice consultation information to described server, in order to determine when described server During described audio response message vocal answer information matches corresponding with described ID, described ID is corresponding Instant communication user to be added is added to good friend.
CN201610922125.9A 2016-10-21 2016-10-21 Instant messaging method and instant messaging device Pending CN106357520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610922125.9A CN106357520A (en) 2016-10-21 2016-10-21 Instant messaging method and instant messaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610922125.9A CN106357520A (en) 2016-10-21 2016-10-21 Instant messaging method and instant messaging device

Publications (1)

Publication Number Publication Date
CN106357520A true CN106357520A (en) 2017-01-25

Family

ID=57863658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610922125.9A Pending CN106357520A (en) 2016-10-21 2016-10-21 Instant messaging method and instant messaging device

Country Status (1)

Country Link
CN (1) CN106357520A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770047A (en) * 2017-10-12 2018-03-06 上海斐讯数据通信技术有限公司 Intelligent sound box, the system and method for realizing based on intelligent sound box social functions
CN109831417A (en) * 2018-12-28 2019-05-31 广州华多网络科技有限公司 Method, apparatus, server and the storage medium of anti-harassment processing account number
CN111726789A (en) * 2019-03-21 2020-09-29 上海博泰悦臻电子设备制造有限公司 First mobile terminal, friend adding method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933398A (en) * 2005-09-16 2007-03-21 腾讯科技(深圳)有限公司 Method and system for automatic right-discriminating plusing good friend in immediate communication
CN101640668A (en) * 2008-07-29 2010-02-03 华为技术有限公司 Method, system and device for authenticating user identity
CN101867475A (en) * 2010-05-27 2010-10-20 华为终端有限公司 Access authentication method and related device of remote control terminal service and communication system
CN102340458A (en) * 2010-07-26 2012-02-01 腾讯科技(深圳)有限公司 Friend addition system and addition method for instant messaging tool
CN103078828A (en) * 2011-10-25 2013-05-01 上海博路信息技术有限公司 Cloud-model voice authentication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933398A (en) * 2005-09-16 2007-03-21 腾讯科技(深圳)有限公司 Method and system for automatic right-discriminating plusing good friend in immediate communication
CN101640668A (en) * 2008-07-29 2010-02-03 华为技术有限公司 Method, system and device for authenticating user identity
CN101867475A (en) * 2010-05-27 2010-10-20 华为终端有限公司 Access authentication method and related device of remote control terminal service and communication system
CN102340458A (en) * 2010-07-26 2012-02-01 腾讯科技(深圳)有限公司 Friend addition system and addition method for instant messaging tool
CN103078828A (en) * 2011-10-25 2013-05-01 上海博路信息技术有限公司 Cloud-model voice authentication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770047A (en) * 2017-10-12 2018-03-06 上海斐讯数据通信技术有限公司 Intelligent sound box, the system and method for realizing based on intelligent sound box social functions
CN109831417A (en) * 2018-12-28 2019-05-31 广州华多网络科技有限公司 Method, apparatus, server and the storage medium of anti-harassment processing account number
CN109831417B (en) * 2018-12-28 2021-07-20 广州华多网络科技有限公司 Method, device, server and storage medium for processing account number for preventing harassment
CN111726789A (en) * 2019-03-21 2020-09-29 上海博泰悦臻电子设备制造有限公司 First mobile terminal, friend adding method and system

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
EP2975821B1 (en) Network connection method and apparatus
CN104202306B (en) Access authentication method, Apparatus and system
CN105656948A (en) Account login method and device
CN104391870B (en) Logistics information acquisition methods and device
CN104869569A (en) Network permission control method and apparatus of application program
CN104468329A (en) Member adding method and device based on instant messaging
CN104636453A (en) Illegal user data identification method and device
CN104954371A (en) Equipment information display method and device
CN104539812B (en) Recommendation information acquisition methods, terminal and server
CN105847111A (en) Method and device for adding friend
CN106209800A (en) Equipment Authority sharing method and apparatus
CN105468767A (en) Method and device for acquiring calling card information
CN105100355A (en) Method and device for identifying calling user
CN104159230A (en) Telephone call identification method and device
CN106209604A (en) Add the method and device of good friend
CN105392141A (en) Device control method and device
CN106202508A (en) The intelligence method of answer problem, Apparatus and system
CN105337937B (en) Network verification method, device and computer readable storage medium
CN104166814A (en) Method and device for prompting WIFI network password and equipment
CN106384586A (en) Method and device for reading text information
CN109792786A (en) The method and device of user equipment pairing
CN106357520A (en) Instant messaging method and instant messaging device
CN105808647A (en) Message editing processing method and device
CN105282162A (en) Processing method and device for account management business

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125

RJ01 Rejection of invention patent application after publication