CN104168176A - Instant messenger method, client, server and instant messenger system - Google Patents

Instant messenger method, client, server and instant messenger system Download PDF

Info

Publication number
CN104168176A
CN104168176A CN201310182818.5A CN201310182818A CN104168176A CN 104168176 A CN104168176 A CN 104168176A CN 201310182818 A CN201310182818 A CN 201310182818A CN 104168176 A CN104168176 A CN 104168176A
Authority
CN
China
Prior art keywords
client
server
sip
account number
number resource
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.)
Granted
Application number
CN201310182818.5A
Other languages
Chinese (zh)
Other versions
CN104168176B (en
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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201310182818.5A priority Critical patent/CN104168176B/en
Publication of CN104168176A publication Critical patent/CN104168176A/en
Application granted granted Critical
Publication of CN104168176B publication Critical patent/CN104168176B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an instant messenger method. When an instant messenger (IM) client in an IM state determines to initiate a voice over internet protocol (VoIP) service, temporary session initiation protocol (SIP) account resources are obtained from a server; and an SIP server is logged in based on the temporary SIP account resources and the VoIP service is initiated. In addition, the invention also discloses an instant messenger client, a server and an instant messenger system. According to the technical scheme, the load of the SIP server in the instant messenger system with combination of extensible messaging and pressure protocol (XMPP) and the SIP as well as the client load can be reduced; the effective usage rate of the SIP server can be improved; and the system resource wasting can be avoided.

Description

A kind of instant communication method, client, server and system
Technical field
The present invention relates to mechanics of communication, relate in particular to a kind of instant communication method, client, server and system.
Background technology
Instant messaging (IM, Instant Messenger) is a kind of business of the instant interchange message based on the Internet, as: the Hi of Baidu, MSN, QQ, ant are proud etc.Session initiation Protocol (SIP, The Session Initiation Protocol), scalable message processes on-the-spot agreement (XMPP, The Extensible Messaging and Presence Protocol) all belong to the agreement of application layer, be mainly used to send on the internet voice, video and instant messaging.Although use separately any agreement in SIP and XMPP can realize the instant communicating system of support voice and video, these two kinds of agreements of SIP and XMPP still emphasize particularly on different fields.XMPP is open extend markup language (XML, Extensible Markup Language) agreement, is mainly used to realize real-time Message Passing, presents and request/response traffic.The networking telephone (VoIP, Voice over Internet Protocol) is a kind of taking IP phone as main, and releases the technology of corresponding value-added service.SIP is referred to as the signaling protocol of VoIP, and it can process foundation, the control of calling and the termination of calling of VoIP service call, and can produce call detail record (CDR, Call Detail Record) and be used for charging.
At present, support the system that the instant communicating system of audio frequency and video call has XMPP and SIP to combine, such instant communicating system, uses XMPP to realize IM function, and supports obtaining of friend state by XMPP; Use SIP to realize audio frequency and video call, meeting.This instant communicating system takes full advantage of XMPP and SIP advantage separately, can realize IM and audio frequency and video phone, meeting with PSTN (PSTN, Public Switched Telephone Network) telephone intercommunication.But, the audio frequency and video phone based on SIP, the frequency that meeting occurs so high unlike IM, client but will keep heartbeat, Flushing status with sip server always, and this has caused the unnecessary waste of server end and the shared resource of client to a certain extent.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of instant communication method, client, server and system, can reduce the load of sip server and the load of client in the instant communicating system that XMPP and SIP combine, improve the availability of sip server.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of instant communication method, described method comprises:
In the time that the IM of IM state client is determined initiation VoIP business, obtain interim SIP account number resource from server, and according to described interim SIP account number resource login sip server, initiate VoIP business.
In such scheme, described method also comprises:
Described server is determined when described IM client exits VoIP business, is released to the interim SIP account number resource that described IM client is distributed.
In such scheme, described server determines that described IM client exits VoIP business, comprising:
When described server receives the request of release SIP account number resource of described IM client transmission, determine that described IM client exits VoIP business.
In such scheme, described server determines that described IM client exits VoIP business, comprising:
Described server receives the state information of the VoIP business of sip server timed sending, determine that according to the state information of described VoIP business described IM client finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client sends within the period of setting time, determine that described IM client exits VoIP business.
In such scheme, described method also comprises:
Described IM client is initiated instant messaging business by XMPP server, and when in IM state, keeps and being connected of described XMPP server.
In such scheme, describedly determine while initiating VoIP business in the IM of IM state client, obtain interim SIP account number resource from server, and according to described interim SIP account number resource login sip server, comprising:
It is described in the time that the IM of IM state client is determined initiation VoIP business, send the request of application SIP account number resource to described server, according to the interim SIP account number resource login sip server obtaining from described server, and by carrying the XMPP message informing opposite end IM client login sip server of VoIP service request, described opposite end IM client sends the request of application SIP account number resource to described server, login described sip server success according to the interim SIP account number resource of obtaining from described server, send and carry the successful XMPP message of described opposite end IM client login sip server in the IM of IM state client to described.
In such scheme, described server is XMPP server or the special server for managing SIP account number resource arranging.
The present invention also provides a kind of instant communication client, and described instant messaging IM client comprises transmitting element, receiving element and login unit, wherein:
Transmitting element, in the time that described IM client needs to initiate networking telephone VoIP business under IM state, sends the request of application Session initiation Protocol SIP account number resource to server;
Receiving element is the interim SIP account number resource that described IM client is distributed for receiving sip server;
Login unit, for logining described sip server according to described interim SIP account number resource, and initiates VoIP business.
In such scheme, described transmitting element, also in the time that described IM client exits VoIP business, sends the request that discharges SIP account number resource to described server.
The present invention also provides a kind of server, and described server comprises receiving element, allocation units and transmitting element; Wherein,
Described receiving element, the application SIP account number resource request sending for receiving IM client;
Described allocation units, for being that described IM client is distributed interim SIP account number resource according to described SIP account number resource request;
Described transmitting element, for sending described interim SIP account number resource to described IM client.
In such scheme, described server also comprises determining unit and releasing unit, wherein:
Described determining unit, while exiting VoIP business, triggers described releasing unit for definite described IM client;
Described releasing unit, the interim SIP account number resource of distributing for being released to described IM client.
In such scheme, described receiving element, the release SIP account number resource request also sending for receiving IM client; Described determining unit, also when receive the request of the release SIP account number resource that described IM client sends at described receiving element, determines that described IM client exits VoIP business.
In such scheme, described receiving element, also for receiving the state information of VoIP business of described sip server timed sending; Described determining unit, also determine that for the state information of the described VoIP business that receives according to described receiving element described IM client finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client sends within the period of setting time, determine that described IM client exits VoIP business.
The present invention also provides a kind of instant communicating system, and described system comprises XMPP server, sip server and IM client; Wherein,
Described XMPP server, is used to described IM client that instant messaging business is provided; And, for described IM client is distributed interim SIP account resource; In the time that definite described IM client exits VoIP business, be released to the interim SIP account number resource that described IM client is distributed;
Described sip server, is used to described IM client that VoIP business is provided, and sends the state information of the VoIP business of described IM client to described XMPP server;
Described IM client, for send application SIP account number resource request to described XMPP server, and, send and discharge SIP account number resource request to described XMPP server.
The present invention also provides a kind of instant communicating system, and described system comprises XMPP server, sip server, application server and IM client; Wherein,
Described XMPP server, is used to described IM client that instant messaging business is provided;
Described sip server, is used to described IM client that VoIP business is provided, and sends the state information of the VoIP business of described IM client to described application server;
Described application server, is used to described IM client to distribute interim SIP account resource; In the time that definite described IM client exits VoIP business, be released to the interim SIP account number resource that described IM client is distributed;
Described IM client, for send application SIP account number resource request to described application server, and, send and discharge SIP account number resource request to described application server.
Instant communication method provided by the present invention, client, server and system, IM client in instant messaging IM state is determined while initiating networking telephone VoIP business, obtain interim Session initiation Protocol SIP account number resource from server, and according to described interim SIP account number resource login sip server, initiate VoIP business.So, the present invention has reduced CPU, internal memory and the network even load of sip server in the instant communicating system that XMPP and SIP combine, thereby improve the availability of sip server, avoided signal resource ineffective occupation overlong time and the waste of the system resource that causes.And the present invention has also reduced client CPU, internal memory and network even load in the instant communicating system that XMPP and SIP combine, and then the stand-by time that has extended the terminal equipment of client, also reduce the network flow consumption of client.
In addition, in instant communicating system of the present invention, SIP supplements as XMPP's, only has need to set up VoIP business time, and IM client is just used interim SIP account resource to server application; After VoIP service ending, server discharges SIP account resource in time, can realize sip server in the system that XMPP and SIP combine related resource minimize use; Only in the time that needs are set up VoIP business, IM client is just logined sip server, other times just maintain and being connected of XMPP server, thereby reduce the load of sip server end and IM client, and then realized the load minimizes of sip server and IM client in the system that XMPP and SIP combine.
It is much lower that the frequency ratio user who carries out VoIP business due to user carries out the frequency of IM business, adopts traditional mode, and sip server need to support the user's access amount with XMPP server equivalent amount; And adopt technical scheme of the present invention, only need to support simultaneously concurrent other user's access amount of the VoIP service request order of magnitude.Such as: certain system has 10,000 IM user, still, learns that the concurrency of VoIP business can not exceed 10% of IM customer volume according to historical experience data, and so, sip server only need to support user's access amount of 1,000 and just can satisfy the demands.Therefore, the present invention has avoided the waste of system resource greatly.
Brief description of the drawings
Fig. 1 is the realization flow schematic diagram of instant communication method of the present invention;
Fig. 2 is embodiment of the present invention instant communication client A calls out instant communication client B schematic flow sheet by VoIP mode;
Fig. 3 is the composition structural representation of instant communication client of the present invention;
Fig. 4 is the composition structural representation of server of the present invention;
Fig. 5 is the composition structural representation of instant communicating system of the present invention;
Fig. 6 is the composition structural representation of another instant communicating system of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Fig. 1 is the realization flow schematic diagram of instant communication method of the present invention, and as shown in Figure 1, the method comprises the following steps:
Step 101: in the time that the IM of IM state client is determined initiation VoIP business, obtain interim SIP account number resource from server;
Step 102: according to described interim SIP account number resource login sip server, initiate VoIP business.
Further, described method also comprises:
Described server is determined when described IM client exits VoIP business, is released to the interim SIP account number resource that described IM client is distributed.
Concrete, described server determines that described IM client exits VoIP business, comprising:
When described server receives the request of release SIP account number resource of described IM client transmission, determine that described IM client exits VoIP business.
Concrete, described server determines that described IM client exits VoIP business, comprising:
Described server receives the state information of the VoIP business of sip server timed sending, determine that according to the state information of described VoIP business described IM client finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client sends within the period of setting time, determine that described IM client exits VoIP business.
Further, described method also comprises:
Described IM client is initiated instant messaging business by XMPP server, and when in IM state, keeps and being connected of described XMPP server.
Concrete, describedly determine while initiating VoIP business in the IM of IM state client, obtain interim SIP account number resource from server, and according to described interim SIP account number resource login sip server, comprising:
It is described in the time that the IM of IM state client is determined initiation VoIP business, send the request of application SIP account number resource to described server, according to the interim SIP account number resource login sip server obtaining from described server, and by carrying the XMPP message informing opposite end IM client login sip server of VoIP service request, described opposite end IM client sends the request of application SIP account number resource to described server, login described sip server success according to the interim SIP account number resource of obtaining from described server, send and carry the successful XMPP message of described opposite end IM client login sip server in the IM of IM state client to described.
Here, all sign in to after sip server in the IM of IM state client and opposite end IM client, carry out the process of VoIP business and the process of the SIP of carrying out VoIP business of the prior art is consistent in the IM of IM state client and opposite end IM client, do not repeat them here.
Here, described server is XMPP server or the special server for managing SIP account number resource arranging.
Here, account number and password that IM client is the interim SIP account resource of described client distribution without artificial input server in the time of login sip server are that the interim SIP account number resource that described IM client is distributed signs in to sip server automatically by IM client according to server.
Fig. 2 is embodiment of the present invention IM client user A calls out IM client user B schematic flow sheet by VoIP mode, and this flow process comprises the following steps:
Step 201:IM client user A finds that IM client user B is in line states, and pre-and user B initiates VoIP voice call request.
Here, the presence of described user B supported by XMPP server, and its concrete methods of realizing is same as the prior art, does not repeat them here.
Step 202: the IM user end to server of user A sends the XMPP message of carrying application SIP account number resource; Send to the IM client of user B the XMPP message that carries VoIP voice call request simultaneously.
Here, described server is XMPP server or the special server for managing SIP account number resource arranging.
Step 203: the IM client of user A is from server obtains interim SIP account number resource, according to described SIP account number resource login sip server.
Step 204: the IM client of user B receives after the XMPP message that carries VoIP voice call request that the IM client of user A sends, with the class of operation of the IM client of user A seemingly, obtain interim SIP account number resource and login sip server from server.
Here, described SIP account number resource specifically comprises account and password; The IM client of described user A is obtained interim SIP account, password and the IM client of described user B from server, and to obtain interim SIP account number, password from server different.
Step 205: after the IM client login sip server success of user B, the IM client of user B sends the successful XMPP message of IM client login sip server that carries user B to the IM client of user A.
Here, after step 205 completes, completed the obtaining, login of SIP account number resource of the IM client of user A, and the obtaining, login of the SIP account number resource of the IM client of user B.
Step 206: the IM client of user A can be used SIP VoIP audio call flow process of the prior art and user B to set up VoIP voice call service.
Here, the IM client of user A and the IM client of user B all sign in to after sip server, the IM client of user A carries out the process of VoIP voice call service with the IM client of user B and the process of the SIP of carrying out VoIP voice call service of the prior art is consistent, does not repeat them here.
Step 207: after VoIP voice call service finishes, the IM client of user A and the IM client of user B all send and carry the XMPP message that discharges SIP account number resource request to server, so that server is released to the interim SIP account number resource that user A, user B distribute.
Here, if user B is common PSTN (PSTN, Public Switched Telephone Network) telephone subscriber, IM client is not installed, so, if user A is pre-and user B converses, the IM client operation of user A is more simple, only need to be to server application SIP account number resource, and the SIP account number resource that is its distribution according to server login sip server; After user A and user B end of conversation, the IM user end to server of user A sends and carries the XMPP message that discharges SIP account number resource request, so that server is released to the interim SIP account number resource that the IM client of described user A is distributed.
Here, if user A is pre-and user B carries out VoIP convention business, the IM client of user A need to send invitation information to the IM client of user B that uses IM client of the same race by XMPP server, the IM client of user A and the IM client of user B all need to send application SIP account number resource to server, and the SIP account number resource that is its distribution according to server respectively login sip server, for other participants, adopt traditional flow process.
About the XMPP message format in above-mentioned reciprocal process, each system can self-defining, only needs receiving-transmitting sides uniform format to meet the demands.Such as, VoIP invitation message can adopt the text formatting with " voip: // " beginning.
Fig. 3 is the composition structural representation of instant communication client of the present invention, and as shown in Figure 3, described instant messaging IM client comprises transmitting element 31, receiving element 32 and login unit 33, wherein:
Transmitting element 31, in the time that described IM client needs to initiate networking telephone VoIP business under IM state, sends the request of application Session initiation Protocol SIP account number resource to server;
Receiving element 32 is the interim SIP account number resource that described IM client is distributed for receiving sip server;
Login unit 33, for logining described sip server according to described interim SIP account number resource, and initiates VoIP business.
Further, described transmitting element 32, also in the time that described IM client exits VoIP business, sends the request that discharges SIP account number resource to described server.
The practical function that it will be appreciated by those skilled in the art that the each processing unit in the instant communication client shown in Fig. 3 can be with reference to the associated description of instant communication method and embodiment above and is understood.The function that it will be appreciated by those skilled in the art that each processing unit in the instant communication client shown in Fig. 3 can realize by the program running on processor, also can realize by concrete logical circuit.
Fig. 4 is the composition structural representation of server of the present invention, and as shown in Figure 4, described server comprises receiving element 41, allocation units 42 and transmitting element 43; Wherein,
Described receiving element 41, the application SIP account number resource request sending for receiving IM client;
Described allocation units 42, for being that described IM client is distributed interim SIP account number resource according to described SIP account number resource request;
Described transmitting element 43, for sending described interim SIP account number resource to described IM client.
Further, described server also comprises determining unit 44 and releasing unit 45, wherein:
Described determining unit 44, for determining whether described IM client exits VoIP business, triggers described releasing unit while being;
Described releasing unit 45, the interim SIP account number resource of distributing for being released to described IM client.
Further, described receiving element 41, the release SIP account number resource request also sending for receiving IM client;
Accordingly, described determining unit 42, also when receive the release SIP account number resource request that described IM client sends at described receiving element 41, determines that described IM client exits VoIP business.
Further, described receiving element 41, also for receiving the state information of VoIP business of described sip server timed sending;
Accordingly, described determining unit 42, also determine that for the state information of the described VoIP business that receives according to described receiving element described IM client finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client sends within the period of setting time, determine that described IM client exits VoIP business.
Here, described server can be XMPP server or the special server for managing SIP account number resource arranging, such as, the server for managing SIP account number resource of described special setting can be application server.
The practical function that it will be appreciated by those skilled in the art that the each processing unit in the server shown in Fig. 4 can be with reference to the associated description of instant communication method and embodiment above and is understood.The function that it will be appreciated by those skilled in the art that each processing unit in the server shown in Fig. 4 can realize by the program running on processor, also can realize by concrete logical circuit.
Fig. 5 is the composition structural representation of instant communicating system of the present invention, and as shown in Figure 5, described system comprises that scalable message processes on-the-spot agreement XMPP server 51, Session initiation Protocol sip server 52 and IM client 53; Wherein,
Described XMPP server 51, is used to described IM client 53 that instant messaging business is provided; And, for described IM client 53 is distributed interim SIP account resource; In the time that definite described IM client 53 exits VoIP business, be released to the interim SIP account number resource that described IM client 53 is distributed;
Described sip server 52, is used to described IM client 53 that VoIP business is provided, and sends the state information of the VoIP business of described IM client 53 to described XMPP server 51;
Described IM client 53, for send application SIP account number resource request to described XMPP server 51, and, send and discharge SIP account number resource request to described XMPP server 51.
Concrete, described XMPP server 51 also for,
While receiving the request of the release SIP account number resource that described IM client 53 sends, determine that described IM client 53 exits VoIP business, be released to the interim SIP account number resource that described IM client 53 is distributed;
Or, receive the state information of the VoIP business of sip server 52 timed sending, determine that according to the state information of described VoIP business described IM client 53 finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client 53 sends within the period of setting time, determine that described IM client 53 exits VoIP business, be released to the interim SIP account number resource that described IM client 53 is distributed.
Here, described sip server 52, is also used to described IM client 53 that the foundation of VoIP service call, control and termination are provided, and generates call detail record and be used for charging.
Here, described IM client 53 is initiated instant messaging business by XMPP server 51, and keeps and being connected of described XMPP server 51 when in IM state, and described XMPP server 51, also for supporting IM client 53 users' presence.
For instance, when the described user in the IM of IM state client 53 finds that good friend is online, while initiating VoIP business to good friend in advance, the described request that sends application SIP account number resource in the IM of IM state client 53 to described XMPP server 51, according to the interim SIP account number resource login sip server 52 obtaining from described XMPP server 51, and by carrying the XMPP message informing opposite end IM client login sip server 52 of VoIP service request, described opposite end IM client sends the request of application SIP account number resource to described XMPP server 51, login described sip server 52 successes according to the interim SIP account number resource of obtaining from described XMPP server 51, send and carry the successful XMPP message of described opposite end IM client login sip server 52 in the IM of IM state client 53 to described.Describedly all sign in to after sip server 52 in the IM of IM state client 53 and opposite end IM client, carry out the process of VoIP business and the process of the SIP of carrying out VoIP business of the prior art is consistent in the IM of IM state client 53 and opposite end IM client, do not repeat them here.。
Fig. 6 is the composition structural representation of instant communicating system of the present invention, and as shown in Figure 6, described system comprises XMPP server 61, sip server 62, application server 63 and IM client 64; Wherein,
Described XMPP server 61, is used to described IM client 64 that instant messaging business is provided;
Described sip server 62, is used to described IM client 64 that VoIP business is provided, and sends the state information of the VoIP business of described IM client 64 to described application server 63;
Described application server 63, is used to described IM client 64 to distribute interim SIP account resource; In the time that definite described IM client 64 exits VoIP business, be released to the interim SIP account number resource that described IM client 64 is distributed;
Described IM client 64, for sending and ask SIP account number resource request to described application server 63, and, send and discharge SIP account number resource request to described application server 63.
Here, described sip server 62, is used to described IM client 64 that the foundation of VoIP service call, control and termination are provided, and generates call detail record and be used for charging.
Here, the composition structure of described application server 63 is identical with the composition structure of the application server in Fig. 4; The composition structure of described IM client 64 is identical with the composition structure of the IM client in Fig. 3.
Here, described application server 63 can be regarded as concept in logic, is mainly used in the management of SIP account number resource, can be with XMPP server 61 with enjoying same physical server.
Here, described server 63, specifically for,
While receiving the request of the release SIP account number resource that described IM client 64 sends, determine that described IM client 64 exits VoIP business, be released to the interim SIP account number resource that described IM client 64 is distributed;
Receive the state information of the VoIP business of sip server 62 timed sending, determine that according to the state information of described VoIP business described IM client 64 finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client 64 sends within the period of setting time, determine that described IM client 64 exits VoIP business, be released to the interim SIP account number resource that described IM client 64 is distributed.
Here; when after VoIP service ending; application server 63 can discharge the SIP account number resource that IM client 64 does not have active request to discharge in time; to prevent that the collapse of client application of domestic consumer or voip call that network problem causes, VoIP meeting from stopping, but do not discharge the situation of SIP account number resource.
Obviously, those skilled in the art should be understood that, above-mentioned each processing unit of the present invention or each step can realize with general server, it can concentrate on single server, or is distributed on the network that multiple servers form, alternatively, it can be realized with the executable program code of server, thereby, they can be made into respectively to each integrated circuit modules, or the multiple unit in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (15)

1. an instant communication method, is characterized in that, described method comprises:
IM client in instant messaging IM state is determined while initiating networking telephone VoIP business, obtains interim Session initiation Protocol SIP account number resource from server, and according to described interim SIP account number resource login sip server, initiates VoIP business.
2. method according to claim 1, is characterized in that, described method also comprises:
Described server is determined when described IM client exits VoIP business, is released to the interim SIP account number resource that described IM client is distributed.
3. method according to claim 2, is characterized in that, described server determines that described IM client exits VoIP business, comprising:
When described server receives the request of release SIP account number resource of described IM client transmission, determine that described IM client exits VoIP business.
4. method according to claim 2, is characterized in that, described server determines that described IM client exits VoIP business, comprising:
Described server receives the state information of the VoIP business of sip server timed sending, determine that according to the state information of described VoIP business described IM client finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client sends within the period of setting time, determine that described IM client exits VoIP business.
5. method according to claim 1, is characterized in that, described method also comprises:
Described IM client is processed on-the-spot agreement XMPP server by scalable message and is initiated instant messaging business, and when in IM state, keeps and being connected of described XMPP server.
6. method according to claim 1, is characterized in that, describedly determines while initiating VoIP business in the IM of IM state client, obtains interim SIP account number resource, and according to described interim SIP account number resource login sip server, comprising from server:
It is described in the time that the IM of IM state client is determined initiation VoIP business, send the request of application SIP account number resource to described server, according to the interim SIP account number resource login sip server obtaining from described server, and by carrying the XMPP message informing opposite end IM client login sip server of VoIP service request, described opposite end IM client sends the request of application SIP account number resource to described server, login described sip server success according to the interim SIP account number resource of obtaining from described server, send and carry the successful XMPP message of described opposite end IM client login sip server in the IM of IM state client to described.
7. according to the method described in claim 1 to 6 any one, it is characterized in that, described server is XMPP server or the special server for managing SIP account number resource arranging.
8. an instant communication client, is characterized in that, described instant messaging IM client comprises transmitting element, receiving element and login unit, wherein:
Transmitting element, in the time that described IM client needs to initiate networking telephone VoIP business under IM state, sends the request of application Session initiation Protocol SIP account number resource to server;
Receiving element is the interim SIP account number resource that described IM client is distributed for receiving sip server;
Login unit, for logining described sip server according to described interim SIP account number resource, and initiates VoIP business.
9. instant communication client according to claim 8, is characterized in that, described transmitting element, also in the time that described IM client exits VoIP business, sends the request that discharges SIP account number resource to described server.
10. a server, is characterized in that, described server comprises receiving element, allocation units and transmitting element; Wherein,
Described receiving element, the application SIP account number resource request sending for receiving IM client;
Described allocation units, for being that described IM client is distributed interim SIP account number resource according to described SIP account number resource request;
Described transmitting element, for sending described interim SIP account number resource to described IM client.
11. servers according to claim 10, is characterized in that, described server also comprises determining unit and releasing unit, wherein:
Described determining unit, while exiting VoIP business, triggers described releasing unit for definite described IM client;
Described releasing unit, the interim SIP account number resource of distributing for being released to described IM client.
12. servers according to claim 11, is characterized in that,
Described receiving element, the release SIP account number resource request also sending for receiving IM client;
Described determining unit, also when receive the request of the release SIP account number resource that described IM client sends at described receiving element, determines that described IM client exits VoIP business.
13. servers according to claim 11, is characterized in that,
Described receiving element, also for receiving the state information of VoIP business of described sip server timed sending;
Described determining unit, also determine that for the state information of the described VoIP business that receives according to described receiving element described IM client finishes VoIP business, and do not receive the request of the release SIP account number resource that described IM client sends within the period of setting time, determine that described IM client exits VoIP business.
14. 1 kinds of instant communicating systems, is characterized in that, described system comprises that scalable message processes on-the-spot agreement XMPP server, Session initiation Protocol sip server and IM client; Wherein,
Described XMPP server, is used to described IM client that instant messaging business is provided; And, for described IM client is distributed interim SIP account resource; In the time that definite described IM client exits VoIP business, be released to the interim SIP account number resource that described IM client is distributed;
Described sip server, is used to described IM client that VoIP business is provided, and sends the state information of the VoIP business of described IM client to described XMPP server;
Described IM client, for send application SIP account number resource request to described XMPP server, and, send and discharge SIP account number resource request to described XMPP server.
15. 1 kinds of instant communicating systems, is characterized in that, described system comprises that scalable message processes on-the-spot agreement XMPP server, Session initiation Protocol sip server, application server and IM client; Wherein,
Described XMPP server, is used to described IM client that instant messaging business is provided;
Described sip server, is used to described IM client that VoIP business is provided, and sends the state information of the VoIP business of described IM client to described application server;
Described application server, is used to described IM client to distribute interim SIP account resource; In the time that definite described IM client exits VoIP business, be released to the interim SIP account number resource that described IM client is distributed;
Described IM client, for send application SIP account number resource request to described application server, and, send and discharge SIP account number resource request to described application server.
CN201310182818.5A 2013-05-16 2013-05-16 A kind of instant communication method, client, server and system Expired - Fee Related CN104168176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310182818.5A CN104168176B (en) 2013-05-16 2013-05-16 A kind of instant communication method, client, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310182818.5A CN104168176B (en) 2013-05-16 2013-05-16 A kind of instant communication method, client, server and system

Publications (2)

Publication Number Publication Date
CN104168176A true CN104168176A (en) 2014-11-26
CN104168176B CN104168176B (en) 2018-08-24

Family

ID=51911819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310182818.5A Expired - Fee Related CN104168176B (en) 2013-05-16 2013-05-16 A kind of instant communication method, client, server and system

Country Status (1)

Country Link
CN (1) CN104168176B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718325A (en) * 2018-07-20 2018-10-30 携程旅游信息技术(上海)有限公司 Telephone outbound call method, system, equipment and storage medium based on dynamic registration
CN110505355A (en) * 2019-08-26 2019-11-26 中国联合网络通信集团有限公司 A kind of method and system for establishing Three-Way Calling
CN110505356A (en) * 2019-08-26 2019-11-26 中国联合网络通信集团有限公司 System is established in call method for building up and call

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118809A1 (en) * 2000-12-01 2002-08-29 Alfred Eisenberg Initiation and support of video conferencing using instant messaging
CN1787492A (en) * 2004-12-06 2006-06-14 北京掌迅互动信息技术有限公司 Mobile instant communication method and connecting mode of server and client terminal thereof
CN1976434A (en) * 2006-12-01 2007-06-06 王先来 Method and system for realizing on-line video-frequency conference
CN101131403A (en) * 2006-08-23 2008-02-27 王悦 Digital oscillograph and its waveshape displaying method
CN101167328A (en) * 2005-04-22 2008-04-23 汤姆森特许公司 Safety anonymous WLAN access mechanism
US7526563B2 (en) * 2004-02-27 2009-04-28 Nokia Corporation Interworking gateway and method
CN101755440A (en) * 2007-07-27 2010-06-23 索尼公司 Temporary connection number management system, terminal, temporary connection number management method, and temporary connection number management program
WO2011098138A1 (en) * 2010-02-12 2011-08-18 Telefonaktiebolaget Lm Ericsson (Publ) Ip multimedia subsystem user identity handling method and apparatus
CN102340456A (en) * 2010-07-20 2012-02-01 中兴通讯股份有限公司 Communication method of intercommunication gateway system and intercommunication gateway system
CN102420819A (en) * 2011-11-28 2012-04-18 华为技术有限公司 User registering method, interaction method and associated device
CN102891831A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Implement method of multimedia conferencing service and related equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118809A1 (en) * 2000-12-01 2002-08-29 Alfred Eisenberg Initiation and support of video conferencing using instant messaging
US7526563B2 (en) * 2004-02-27 2009-04-28 Nokia Corporation Interworking gateway and method
CN1787492A (en) * 2004-12-06 2006-06-14 北京掌迅互动信息技术有限公司 Mobile instant communication method and connecting mode of server and client terminal thereof
CN101167328A (en) * 2005-04-22 2008-04-23 汤姆森特许公司 Safety anonymous WLAN access mechanism
CN101131403A (en) * 2006-08-23 2008-02-27 王悦 Digital oscillograph and its waveshape displaying method
CN1976434A (en) * 2006-12-01 2007-06-06 王先来 Method and system for realizing on-line video-frequency conference
CN101755440A (en) * 2007-07-27 2010-06-23 索尼公司 Temporary connection number management system, terminal, temporary connection number management method, and temporary connection number management program
WO2011098138A1 (en) * 2010-02-12 2011-08-18 Telefonaktiebolaget Lm Ericsson (Publ) Ip multimedia subsystem user identity handling method and apparatus
CN102340456A (en) * 2010-07-20 2012-02-01 中兴通讯股份有限公司 Communication method of intercommunication gateway system and intercommunication gateway system
CN102891831A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Implement method of multimedia conferencing service and related equipment
CN102420819A (en) * 2011-11-28 2012-04-18 华为技术有限公司 User registering method, interaction method and associated device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李冰: "《基于SIP与XMPP的统一通信客户端平台的设计与实现》", 《中国知网》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718325A (en) * 2018-07-20 2018-10-30 携程旅游信息技术(上海)有限公司 Telephone outbound call method, system, equipment and storage medium based on dynamic registration
CN108718325B (en) * 2018-07-20 2020-10-30 携程旅游信息技术(上海)有限公司 Telephone calling-out method, system, equipment and storage medium based on dynamic registration
CN110505355A (en) * 2019-08-26 2019-11-26 中国联合网络通信集团有限公司 A kind of method and system for establishing Three-Way Calling
CN110505356A (en) * 2019-08-26 2019-11-26 中国联合网络通信集团有限公司 System is established in call method for building up and call
CN110505356B (en) * 2019-08-26 2021-04-02 中国联合网络通信集团有限公司 Call establishment method and call establishment system

Also Published As

Publication number Publication date
CN104168176B (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN106060107B (en) A kind of method and system that service request by all kinds of means is uniformly accessed into
CN102281364B (en) Call center system and method for accessing call center system
CN102257791B (en) Efficient and on demand convergence of audio and non-audio portions of a communication session for phones
CN104125540B (en) Multi-party call terminal and the method that one-to-one call is converted to from multi-party call
EP2888868B1 (en) Calling an unready terminal
CN102299810B (en) Method and system for notifying group change event
CN102958107B (en) A kind of method of capability query, communication terminal and application server
WO2014019361A1 (en) Conference resource allocation method and device
WO2019128647A1 (en) Message transmission method and device, storage medium and electronic device
CN104363407B (en) A kind of video conferencing system means of communication and related device
CN103593753A (en) Conference reservation method and device
CN102137338B (en) Method and system for push-to-talk (PTT) user management and presentation as well as session state management
EP1744519A8 (en) Information exchange system, management server, and method for reducing the network load
CN110740161B (en) System and method for adapting converged communication
CN108683653A (en) A kind of active message push system based on WebSocket
CN105577605A (en) Method and server for adopting two-way REST based on WebSocket protocol in web real-time communication
CN104579710A (en) Method for conference member to issue voice information in fragmentation asynchronous conference system
CN104168176A (en) Instant messenger method, client, server and instant messenger system
CN108965265A (en) A kind of chat method and system based on MQTT agreement
CN109462705A (en) A kind of audio communication method and device based on channel
CN101877642B (en) Releasing delay device of SIP (Session Initiation Protocol) conference state information
CN101026814A (en) Session establishment floor assignment method and system
CN104348699A (en) Method and equipment for information interaction
CN103023794A (en) Method and system for data stream control
CN105516123B (en) The method and landing telephone service server of the networking telephone and telephone network telephone communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180824