Summary of the invention
The objective of the invention is do not possess instantaneity, conspicuousness by replying the literal return information that pre-sets from trend instant messaging transmit leg at prior art, the defective ignored of the side's of being sent out client easily, the method and system of automatic voice responding in a kind of instant communicating system are provided, to realize state information, in order to avoid the transmit leg of initiating to invite is wasted the unnecessary time by voice suggestion the other side recipient.
To achieve these goals, the invention provides the method for automatic voice responding in a kind of instant communicating system, comprising:
After information server received the voice/video message request of transmit leg client transmission, the time of described voice/video message request was arrived in recorder, and this voice/video message request is sent to recipient's client;
If described information server is not received the reception voice/video invitation response information that described recipient's client sends in first setting-up time, then obtain described recipient's client's state information;
Described information server is searched corresponding automatic voice responding information, and is sent to the transmit leg client according to the described recipient's client's state information that receives; If described recipient's client's state information that described information server obtains then according to the described state information of leaving, finds corresponding automatic voice responding information, and is sent to the transmit leg client for leaving state information; If described recipient's client's state information that described information server obtains is a presence information, then wait for one second setting-up time, if described information server is not also received the reception voice/video invitation response information that described recipient's client sends, then according to described presence information, find corresponding automatic voice responding information, and being sent to the transmit leg client, described second setting-up time is: a period of time that picks up counting from the time that to get access to described recipient's client's state information be presence information;
Described transmit leg client is searched corresponding voice messaging and broadcast according to the described automatic voice responding information that receives.
To achieve these goals, the present invention also provides the system of automatic voice responding in a kind of instant communicating system, comprising:
Information server, after being used to receive the voice/video message request of transmit leg client transmission, the time of described voice/video message request is arrived in recorder, and this voice/video message request is sent to recipient's client; In first setting-up time, do not receive the reception voice/video invitation response information that described recipient's client sends, then obtain described recipient's client's state information; Search corresponding automatic voice responding information according to the described recipient's client's state information that receives, and be sent to the transmit leg client; If described recipient's client's state information that described information server obtains then according to the described state information of leaving, finds corresponding automatic voice responding information, and is sent to the transmit leg client for leaving state information; If described recipient's client's state information that described information server obtains is a presence information, then wait for one second setting-up time, if described information server is not also received the reception voice/video invitation response information that described recipient's client sends, then according to described presence information, find corresponding automatic voice responding information, and being sent to the transmit leg client, described second setting-up time is: a period of time that picks up counting from the time that to get access to described recipient's client's state information be presence information;
Recipient's client is used to receive described voice/video message request; Send described reception voice/video invitation response information;
The transmit leg client is used to send described voice/video message request; Receive described automatic voice responding information, and also play according to the voice messaging of described automatic voice responding information searching correspondence.
By above technical scheme as can be known, the method and system of automatic voice responding in the instant communicating system provided by the invention, recipient's client of obtaining by information server can not receive the concrete state information of voice/video message request, search corresponding different automatic voice responding information, inform that timely transmit leg client recipient client can not accept the concrete situation of this voice/video message request, in order to avoid the transmit leg client of initiating to invite is wasted the unnecessary time, return information than character type is more timely, has more conspicuousness.
Also in conjunction with the accompanying drawings the present invention is described in further detail below by specific embodiment.
Embodiment
The technical scheme that following examples of the present invention provide is: in instant communicating system, recipient's client is then replied automatic voice responding information to transmit leg if not accepting voice/video invites; The transmit leg client receives that being converted to voice after this automatic voice responding information plays.Describe the present invention below by specific embodiment.
As shown in Figure 1, be the method embodiment one flow process schematic diagram of automatic voice responding in the instant communicating system of the present invention.Comprise the steps:
After step 101, information server received the voice/video message request of transmit leg client transmission, the time of voice/video message request was arrived in recorder, and this voice/video message request is sent to recipient's client;
If step 102 information server is not received the reception voice/video invitation response information that recipient's client sends in first setting-up time, then obtain recipient's client's state information;
Time from recorder to the voice/video message request begins to count, reach the regular hour if recipient's client is not also accepted this voice/video message request, then information server does not receive the reception voice/video invitation response information that recipient's client sends;
Step 103, information server are searched corresponding automatic voice responding information according to the recipient's client's state information that receives, and are sent to the transmit leg client;
Step 104, transmit leg client are also play according to the voice messaging of the automatic voice responding information searching correspondence that receives;
After the transmit leg client receives the automatic voice responding information of corresponding a certain recipient's client's state information, search its corresponding voice messaging, play; For example the recipient is stealthy or not online, will illustrate that then the not online information translation of recipient is that voice are play at transmit leg: so-and-so is not online now for the recipient, can't accept your similar information such as invitation.
The method of automatic voice responding is obtained recipient's client's state information by information server in the instant communicating system that present embodiment provides, find corresponding automatic voice responding information, and inform the concrete condition that transmit leg client recipient can not accept the invitation timely, in order to avoid the transmit leg of initiating to invite is wasted the unnecessary time, return information than character type is more timely, has more conspicuousness.
As shown in Figure 2, be the method embodiment two flow process schematic diagrames of automatic voice responding in the instant communicating system of the present invention.Comprise the steps:
Step 201, whether open the automatic voice responding function in the setting of recipient's client, if open-minded, execution in step 202;
After step 202, information server received the voice/video message request of transmit leg client transmission, the time of voice/video message request was arrived in recorder, and this voice/video message request is sent to recipient's client;
If step 203 information server is not received the reception voice/video invitation response information that recipient's client sends in first setting-up time, then information server sends the request of inquiry recipient client's state information to state server;
Time from recorder to the voice/video message request begins to count, reach the regular hour if recipient's client is not also accepted this voice/video message request, then information server does not receive the reception voice/video invitation response information that recipient's client sends;
After step 204, state server receive the request of the described recipient's client's state information of inquiry, to the request of recipient's client send state information;
Step 205, recipient's client are returned its state information to state server;
Step 206, state server are with the recipient's client's state information return information server on it;
Step 204~step 206 can also for: state server regularly to the request of recipient's client send state information; And the recipient client's state information of real-time update on it; Receive the request of the described recipient's client's state information of inquiry when state server after, directly with the recipient's client's state information return information server on it;
Step 207, information server are searched corresponding automatic voice responding information according to the recipient's client's state information that receives, and are sent to the transmit leg client;
If recipient's client's state information that information server obtains is then left state information according to this for leaving state information, find corresponding automatic voice responding information, and be sent to the transmit leg client; The described state that leaves mainly includes: off-line state, stealthy state or other leave state etc.;
If recipient's client's state information that information server obtains is a presence information, then wait for one second setting-up time, if information server is not also received the reception voice/video invitation response information that recipient's client sends, then according to presence information, find corresponding automatic voice responding information, and be sent to the transmit leg client; Described second setting-up time is: from getting access to recipient's client's state information is a period of time that picks up counting time of presence information;
If recipient's client is not left, it also is presence, for preventing recipient's client voice/video message request that also do not have enough time to receive after through first setting-up time, just thought by information server by mistake recipient's client can not accept this voice/video message request, so start timing device timing one second setting-up time, promptly prolong the time that wait recipient client is accepted this voice/video message request, if recipient's client is not still accepted, the automatic voice responding information of then replying equally is to the transmit leg client;
Step 208, transmit leg client are searched corresponding voice messaging and broadcast according to the automatic voice responding information that receives.
Recipient's client that the method for automatic voice responding is obtained by information server in the instant communicating system that present embodiment provides can not receive the concrete state information of voice/video message request, search corresponding different automatic voice responding information, inform that timely transmit leg client recipient client can not accept the concrete situation of this voice/video message request, in order to avoid the transmit leg client of initiating to invite is wasted the unnecessary time, return information than character type is more timely, has more conspicuousness.
As shown in Figure 3, the structural representation for the system embodiment one of automatic voice responding in the instant communicating system of the present invention comprises:
Information server 1, after being used to receive the voice/video message request of transmit leg client 2 transmissions, the time of voice/video message request is arrived in recorder, and this voice/video message request is sent to recipient's client 3; Be used in first setting-up time, not receiving the reception voice/video invitation response information of recipient's client 3 transmissions, then obtain the state information of recipient's client 3; Be used for searching corresponding automatic voice responding information, and be sent to transmit leg client 2 according to the state information of the recipient's client 3 that receives;
Recipient's client 3 is used to receive the voice/video message request; Be used for sending the voice/video invitation response information that receives;
Transmit leg client 2 is used to send the voice/video message request; Be used to receive automatic audio response message, and also play according to the voice messaging of automatic voice responding information searching correspondence.
As shown in Figure 4, the structural representation for the system embodiment two of automatic voice responding in the instant communicating system of the present invention comprises:
Information server 1, after being used to receive the voice/video message request of transmit leg client 2 transmissions, the time of voice/video message request is arrived in recorder, and this voice/video message request is sent to recipient's client 3; In first setting-up time, do not receive the reception voice/video invitation response information that recipient's client 3 sends, then obtain the state information of recipient's client 3; State information according to the recipient's client 3 that receives is searched corresponding automatic voice responding information, and is sent to transmit leg client 2;
Recipient's client 3 is used to receive the voice/video message request; Send the voice/video invitation response information that receives;
Transmit leg client 2 is used to send the voice/video message request; Receive automatic audio response message, and also play according to the voice messaging of automatic voice responding information searching correspondence.
On above-mentioned information server 1, also comprise a timing module 11, be used for picking up counting a period of time that this time is first setting-up time from the time that receives the voice/video message request of record.
Comprise also that on above-mentioned recipient's client 3 one is provided with module 31, be used for being provided with whether open described automatic voice responding function in recipient's client 3.
This system also comprises a state server 4, is used to receive the request of the state information of inquiring about recipient's client 3; State information return information server with the recipient's client 3 on it.In this state server, also comprise: first enquiry module 41, after being used to receive the request of the state information of inquiring about recipient's client 3, to the 3 send state information requests of recipient's client; First memory module 42 is used to receive and store the state information that recipient's client 3 is returned; Perhaps
As shown in Figure 5, can also comprise in this state server 4: second enquiry module 43 is used for regularly to the 3 send state information requests of recipient's client; Second memory module 44 is used for real-time update and stores the state information of recipient's client 3.
The system of automatic voice responding in the instant communicating system that the foregoing description provides, obtain the state information of recipient's client 3 by state server 4, and send to information server 1, information server 1 finds out corresponding automatic voice responding information according to the state information of the recipient's client 3 that obtains, and send to transmit leg client 2, transmit leg client 2 is searched corresponding voice messaging again and is play, realized the concrete condition of informing that timely transmit leg client 2 recipient's clients 3 can not be accepted the invitation, in order to avoid the transmit leg client of initiating to invite is wasted the unnecessary time, return information than character type is more timely, has more conspicuousness.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.