Summary of the invention
The object of the present invention is to provide a kind of method and system of using the immediate communication of instant messaging, to overcome the defective that can not realize speech communication in the prior art between a plurality of communicating terminals effectively.
The method of the immediate communication of application instant messaging of the present invention is:
The A communicating terminal is formulated call list, sends the voice call request that has call list to the instant communication server system; Other communicating terminal in described communicating terminal and the call list forms same communication group by the instant communication server system;
B instant communication server system accept voice call request that this instant communication user sends and and receive the VoP that this communicating terminal is sent;
C instant communication server system is forwarded to the VoP that receives other communicating terminal that is positioned at same communication group with this communicating terminal;
Step B also comprises: the immediate communication server requests immediate communication state server in the instant communication server system is reported all online members' of this communicating terminal place communication group IP address or mobile radio system address;
Each communicating terminal of this communicating terminal place communication group regularly or periodically to immediate communication state server uploaded state information, the immediate communication state server will be passed to each communicating terminal and immediate communication server for information about during conversing;
The instant communication server system selects the voice call request that communicating terminal in this communication group is accepted on a ground at one time, and receives the VoP that this communicating terminal sends by the state information of control communicating terminal;
The state information of communicating terminal has timeliness interval or different priority;
The state information of this communicating terminal and other communicating terminal are different in the communication process, and the state information of this communicating terminal is identical with other communicating terminal behind the end of conversation;
Communicating terminal comprises the client terminal of instant communication server system and the portable terminal of mobile service system;
Client terminal is finished information interaction by instant messaging number log-in instant communication server system and instant communication server system; Portable terminal is finished information interaction by mobile service system and instant communication server system.
The system of the immediate communication of this application instant messaging, comprise communicating terminal, instant communication server system and mobile service system, communicating terminal by mobile service system or directly and the instant communication server system carry out information interaction, it is characterized in that: described communicating terminal comprises the client terminal of instant communication server system and the portable terminal of mobile service system, and client terminal is finished information interaction by log-in instant communication server system and instant communication server system; Portable terminal is finished information interaction by mobile service system and instant communication server system; Described instant communication server system comprises immediate communication state server and immediate communication server, the immediate communication state server is used for the preservation of communicating terminal information, forwarding and correlation behavior information inquiry, the immediate communication server is finished for information about and is handled, the reception and the forwarding of speech data, and described communicating terminal transmits call list to the immediate communication server;
Comprise speech input device, instantaneous speech power and information processing forwarding module in the described client terminal, speech input device is to information processing forwarding module input speech data, instantaneous speech power receives speech data and plays corresponding voice from the information processing forwarding module, and the information processing forwarding module is used for compression, parsing and relevant information, the transmission of data, the reception of VoP to be handled;
Described mobile service system comprises mobile information service device and mobile gateway, and the mobile information service device receives, transmits for information about, data are gone forward side by side, and line correlation is handled, and mobile gateway is realized being connected of IP network and wireless system, information data transmission.
Beneficial effect of the present invention is: in the present invention, select the voice call request that communicating terminal in the communication group is accepted on a ground by the instant communication server system at one time, and receive the VoP that this communicating terminal sends, the instant communication server system is forwarded to other communicating terminal in this communication group with described VoP, like this, can realize speech communication between a plurality of communicating terminals, portable terminal as communicating terminal is finished information interaction by mobile service system and instant communication server system, has expanded application; Communicating terminal includes the instant messaging number in the call list that the instant communication server system transmits, and mobile service identifiers, after the instant communication server system receives call list, to the instant messaging number in the call list or the inquiry of mobile service identifiers mobile service identifiers or instant messaging number corresponding, that be associated, and the communicating terminal that all instant messaging number and mobile service identifiers are reflected is as the communication group membership, make the present invention comparatively convenient in application, improve the efficient of searching communicating terminal; The present invention accepts the voice call request of communicating terminal in this communication group by selecting a ground, " right to speak " status word of control communicating terminal, promptly in a communication group, the same time only has a communicating terminal " right to speak " status word for true, make when voice call, can not produce mixed and disorderly phenomenon, the instant communication server system regularly or periodically receives the state information of each communicating terminal in the communication group, the state change information of communicating terminal is sent to each communicating terminal in this communication group, but and VoP can be forwarded to the communicating terminal of communication, improved the instantaneity and the operating efficiency of system effectively, a kind of high efficiency call method is provided.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
According to Fig. 1, Fig. 2 and Fig. 3, the present invention includes communicatingterminal 1, instantcommunication server system 2 andmobile service system 3, instantcommunication server system 2 comprises immediatecommunication state server 21 andimmediate communication server 22, immediatecommunication state server 21 is used for client terminal information and preserves, transmit and the correlation behavior information inquiry,immediate communication server 22 is finished for information about and is handled, the reception of speech data and forwarding, as depicted in figs. 1 and 2, communicatingterminal 1 comprises the client terminal of instantcommunication server system 2 and the portable terminal ofmobile service system 3, portable terminal is finished information interaction bymobile service system 3 with instantcommunication server system 2, like this, communicatingterminal 1 bymobile service system 3 or directly and instantcommunication server system 2 carry out information interaction.
As shown in Figure 3, comprisespeech input device 11,instantaneous speech power 12 and informationprocessing forwarding module 13 in the client terminal,speech input device 11 is to informationprocessing forwarding module 13 input speech datas,instantaneous speech power 12 receives speech data and plays corresponding voice from informationprocessing forwarding module 13, and informationprocessing forwarding module 13 is used for compression, parsing and relevant information, the transmission of data, the reception of VoP to be handled.
As shown in Figure 2,mobile service system 3 comprises mobileinformation service device 31 andmobile gateway 32, described mobileinformation service device 31 receives, transmits for information about, data are gone forward side by side, and line correlation is handled, andmobile gateway 32 is realized being connected of IP network and wireless system, information data transmission.
Theimmediate communication server 22 of communicatingterminal 1 in the instant communicating system in instantcommunication server system 2 transmits the call list that comprises other communicatingterminal 1, and the communicatingterminal 1 that sends call list forms a communication group with described other communicatingterminal 1 by instant communication server system 2.Communicatingterminal 1 comprises client terminal and the portable terminal by instant messaging number log-in instantcommunication server system 2, for example mobile phone.In the call list that instantcommunication server system 2 transmits, include instant messaging number and the mobile service identifiers of being called out communicatingterminal 1 at communicatingterminal 1, as phone number.It is related that portable terminal adopts mobile service identifiers and corresponding instant messaging number to set up message identification, in communication process, after instantcommunication server system 2 receives call list, can inquire about mobile service identifiers or instant messaging number corresponding, that be associated to the instant messaging number in the call list or mobile service identifiers, and the communicatingterminal 1 that all instant messaging number and mobile service identifiers are reflected is as the communication group membership.The voice call request that communicatingterminal 1 in this communication group is accepted on a ground is selected at one time by instantcommunication server system 2, and receiving the VoP that this communicatingterminal 1 is sent, instantcommunication server system 2 is forwarded to other communicatingterminal 1 in this communication group with described VoP.For the communicatingterminal 1 that belongs to client terminal, as shown in Figure 3, by instant messaging number log-in instantcommunication server system 2, direct and instantcommunication server system 2 finishes information interaction; For the communicatingterminal 1 that belongs to portable terminal, as shown in Figure 2, portable terminal is finished information interaction bymobile service system 3 with instant communication server system 2.In communication process, immediatecommunication state server 21 in the instantcommunication server system 2 regularly or periodically receives the state information of eachinstant communication user 1 in the communication group and will be passed toimmediate communication server 22 for information about, immediatecommunication state server 21 is sent to each communicatingterminal 1 in this communication group with the state change information of communicatingterminal 1, simultaneously,immediate communication server 22 carries out respective handling according to the state change information of communicatingterminal 1, but VoP is forwarded to other communicatingterminal 1 of communication, for example, if in other communicatingterminal 1 not online user is arranged, then can transmit.
In the present invention, the voice call request that communicatingterminal 1 in this communication group is accepted on a ground is selected by instantcommunication server system 2, comprise corresponding " right to speak " status word in the state information of communicatingterminal 1, relevant state information is stored in the immediatecommunication state server 21, after the voice call request of communicatingterminal 1 is accepted by instantcommunication server system 2, " right to speak " status word of this communicatingterminal 1 is true, show that 2 preparations of instant communication server system receive the VoP that this communicatingterminal 1 sends, at this moment, " right to speak " status word of other communicatingterminal 1 is vacation in this communication group, show that the instant communication server system can not receive the VoP that other communicatingterminal 1 sends 2 this moments, like this, " right to speak " status word bycontrol communicating terminal 1, promptly in a communication group, the same time only has a communicatingterminal 1 " right to speak " status word for true, makes when voice call, can not produce mixed and disorderly phenomenon.
For guaranteeing that communicatingterminal 1 has the speech chance of comparison equalization or is applicable to some special occasions, can adopt such certain methods, as, " right to speak " status word of communicatingterminal 1 is a true time, its " right to speak " status word can be set a timeliness at interval, promptly " right to speak " status word can only certain remain in long-time true; After the voice call request of communicatingterminal 1 is accepted by instantcommunication server system 2, if instantcommunication server system 2 does not receive the VoP that this communicatingterminal 1 sends in certain long-time, instantcommunication server system 2 can change into vacation with its " right to speak " status word.
Also can make the voice call request of different communicatingterminal 1 have different priority, instantcommunication server system 2 can force to accept the voice call request of high priority, " right to speak " status word of corresponding communicatingterminal 1 becomes very, simultaneously, " right to speak " status word of other communicatingterminal 1 becomes vacation.
Be the example explanation with a concrete communication process below:
1. communicatingterminal 1 is formulated call list, and communicatingterminal 1 can be preserved this call list.
2. communicatingterminal 1 sends voice call request to instantcommunication server system 2, and the member of all communicatingterminals 1 in call list tabulation is sent to immediate communication server 22.If sending the communicatingterminal 1 of call list is in the existing existing communication group, then thisinstant communication user 1 can not transmit call list to instantcommunication server system 2, can directly send voice call request to instantcommunication server system 2, can be referring to aftermentioned step 4.As shown in Figure 3, if this communicatingterminal 1 is a client terminal, by instant messaging number log-in instantcommunication server system 2, direct and instantcommunication server system 2 finishes information interaction, if this communicatingterminal 1 is a portable terminal, as shown in Figure 2, then adopt mobile service identifiers such as phone number to finish information interaction with instantcommunication server system 2 bymobile service system 3.
3. after theimmediate communication server 22 in the instantcommunication server system 2 receives call list, corresponding to the inquiry of the instant messaging number in the call list or mobile service identifiers, mobile service identifiers that is associated or instant messaging number, and the communicatingterminal 1 that all instant messaging number and mobile service identifiers are reflected is as the communication group membership, all members' state inimmediate communication server 22 request immediatecommunication state servers 21 these call list of report, and report that all are online and can participate in the member's of this communication group IP address or corresponding mobile radio system address.During whole conversation, each communicatingterminal 1 is regularly or periodically to immediatecommunication state server 21 uploaded state information, for example, if immediatecommunication state server 21 is not received the status information reporting of certain communicatingterminal 1 in a time interval of setting, then can think this communicatingterminal 1 off-line, like this, immediatecommunication state server 21 just can be regularly or is periodically inquired the state information of each communicatingterminal 1 in the communication group and will be passed to each communicatingterminal 1 andimmediate communication server 22 for information about.
4. the voice call request sent of this communicatingterminal 1 is accepted by instantcommunication server system 2, " right to speak " status word of this communicatingterminal 1 is true, if this communicatingterminal 1 client terminal, voice are byspeech input device 11 inputs, be compressed into VoP through informationprocessing forwarding module 13 and be sent toimmediate communication server 22, if this communicatingterminal 1 portable terminal, VoP is forwarded toimmediate communication server 22 throughmobile gateway 32 and mobileinformation service device 31.
5. to receive that VoP is forwarded in other communicatingterminal 1 all immediately online and can receive the member's of these voice IP address or mobile radio system address forimmediate communication server 22, its mode of transmitting voice can adopt single forwarding or multicast to transmit, for portable terminal, the VoP that is forwarded reaches portable terminal through mobileinformation service device 31 andmobile gateway 32.
6. after the client terminal member in other communicatingterminal 1 receives VoP, carry out tone decoding by informationprocessing forwarding module 13 andinstantaneous speech power 12, play, the portable terminal broadcast of decoding, like this, the voice of the communicatingterminal 1 of the speech member that can be listened in other communicatingterminal 1 receives.
7. the communicatingterminal 1 of above-mentioned transmission VoP sends to instantcommunication server system 2 and finishes voice call request, at this moment, " right to speak " status word of each communicatingterminal 1 is vacation in this communication group, and another voice call request of communicatingterminal 1 in the communication group is prepared to accept by instantcommunication server system 2.
At this moment, communicatingterminal 1 all can send voice call request to instantcommunication server system 2 in the communication group, instantcommunication server system 2 is according to trying to be the first principle, the voice call request that acceptance is received at first, " right to speak " status word of corresponding communicatingterminal 1 becomes very, can send voice, subsequent step such as preceding step 4~7 to other communicatingterminal 1.