Movatterモバイル変換


[0]ホーム

URL:


CN101729444A - Method and system for exchanging instant messages - Google Patents

Method and system for exchanging instant messages
Download PDF

Info

Publication number
CN101729444A
CN101729444ACN200810231802ACN200810231802ACN101729444ACN 101729444 ACN101729444 ACN 101729444ACN 200810231802 ACN200810231802 ACN 200810231802ACN 200810231802 ACN200810231802 ACN 200810231802ACN 101729444 ACN101729444 ACN 101729444A
Authority
CN
China
Prior art keywords
server
request
message
real
time 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.)
Granted
Application number
CN200810231802A
Other languages
Chinese (zh)
Other versions
CN101729444B (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.)
Beijing Zhigu Tech Co Ltd
Original Assignee
Inventec Appliances Xian Corp
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 Inventec Appliances Xian CorpfiledCriticalInventec Appliances Xian Corp
Priority to CN2008102318028ApriorityCriticalpatent/CN101729444B/en
Publication of CN101729444ApublicationCriticalpatent/CN101729444A/en
Application grantedgrantedCritical
Publication of CN101729444BpublicationCriticalpatent/CN101729444B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention relates to a method and a system for exchanging instant messages, comprising the following steps of: (1), registering a first member and a second member on a server; (2), transmitting a first invitation request of a conversation initial protocol to the second member by the first member through the server, wherein a friend list of the first member includes the second member; (3), after the second member receives the first invitation request, forming a first temporary group with the first member, wherein the member list of the temporary group includes the first member and the second member and is respectively saved in the first member and the second member; and (4), after forming the temporary group, transmitting messages between the first member and the second member by the server. The invention provides a method and a system for exchanging instant messages, thereby achieving the functions of meeting conversation and group chat, and the application based on SIP is wider.

Description

Real-time information exchange method and system
Technical field
The present invention relates to a kind of real-time information exchange method and system.
Background technology
Main real-time communication service market, the whole world mainly contains " the AIM Instant Messenger " of AOL at present, ICQ, " the MSN Messenger " of Microsoft, " the Yahoo Instant Messenger " of Yahoo, and in the China's Mainland very popular " QQ ", each is managed by different dealers, all adopt the exclusive private communications protocol that belongs to (proprietary), on function, do not have very big difference, and on market each have their own support person, but can only on identical realtime communication system, just can carry out communication between the confirmable user of being, can't intercommunication between the different system.Such influence causes the user when selecting realtime communication system, can not only terminate in individual's hobby and custom, and must consider other same friend who uses realtime communication system, household, colleague's etc. selection, therefore perhaps you have been noted that some people can install the above realtime communication system of many covers on same the computer, with convenient be scattered in the friend who uses different realtime communication systems everywhere and get in touch with.
The real-time communication service technology mainly comprises real-time message (instant messaging) and presence information (presence) technology.As can be known literal by " real-time message " and " presence information ", the main characteristic of real-time communication service is to know who is just online, then can transmit real-time message talks with it, or in whose just busy or meeting, you may just must select other communication way, for example transmit news in brief or Email etc.The another one characteristic is the transmission tool real-time of message, and being different from the past, message system (as Email, news in brief, multimedia message etc.) adopts the mechanism of transmitting then that stores earlier.
SIMPLE WG (SIP for Instant Messaging and Presence Leveraging ExtensionsWorkgroup,) be found in for the year ends 2000, selected SIP is the basic communications protocol of real-time message and presence information, discusses then and works out relevant SIP standard and extend.SIP is directed into real-time message and the presence information system is a very natural thing, this is because due to the nature of SIP.SIP is the communications protocol that IETF (InternetEngineering Task Force) formulates a kind of transmission signal (signal), mainly in order to consult, to manage and to stop media dialog stroke (media session), this kind media dialog stroke is to transmit communications protocol by specific data to finish, for example RTP (Real-time Transport Protocol).
Generally speaking, SIP is used for setting up voice call, but does not have the foundation that regulation SIP can only be used for voice call in the standard, and it does not rely on specific bottom medium, perhaps talks with the kind of stroke.Therefore when message also at last during a kind of medium, use SIP with regard to more naturally only.And SIP is in the world of network communication, the communications protocol that has been widely used at last, and it has possessed the function of registration (registration) and authentication (authentication).
Open session initial protocol (SIP) is a kind of standard agreement, by the extension protocol SIMPLE of SIP, though can realize communicating terminal between the exchange of real-time message, still can't realize the group chatting of real-time message.That is SIMPLE can't realize the real-time message exchange in the group.
Summary of the invention
The present invention is in order to solve the above-mentioned technical problem that exists in the background technology, and a kind of real-time information exchange method and system are provided.
Technical solution of the present invention is: the invention provides a kind of real-time information exchange method, its special character is: this method may further comprise the steps:
1) registration first member and second member on server;
2) first member passes on by this server and comprises that first of the session initiation protocol request of inviting gives second member, and good friend's inventory of first member comprises second member;
3) after second member receives this first invitation request, form interim group with first member, member's tabulation of this interim group comprises first member and second member, and member's tabulation is stored in respectively among first member and second member;
4) form interim group after, pass on message by server between first member and second member.
Above-mentioned real-time information exchange method is further comprising the steps of:
5) registration the 3rd member on server;
6) add the 3rd member in interim group;
7) state first member, second member and the 3rd member and pass on message by server each other.
Above-mentioned steps 6) specific implementation is as follows:
6.1.1) first member gives the 3rd member by server second request of inviting of passing on, second invites the reference point of request to comprise second member;
6.1.2) the 3rd member receive second invite request after, according to second reference point of inviting request, give second member by server one the 3rd request of inviting of passing on;
6.1.3) second member receives the 3rd and invite request.
Above-mentioned steps 6) specific implementation is as follows:
6.2.1) second member passes on the submission of session initiation protocol by server asks to first member, the invitation target of this submission request is the 3rd member;
6.2.2) after first member receives this submission request, submit the invitation target of request to according to this, give the 3rd member by second request of inviting of passing on of this server, this second invites this second member of reference point of request;
6.2.3) the 3rd member receive second invite request after, according to second reference point of inviting request, give second member by server the 3rd request of inviting of passing on;
6.2.4) second member receives the 3rd and invite request.
Above-mentioned steps 7) specific implementation is as follows:
7.1) first member passes on first message and second message respectively by server and give second member and the 3rd member;
7.2) second member receives first message;
7.3) the 3rd member receives second message.
Above-mentioned real-time information exchange method also comprises step:
8) member withdraws from interim group in the interim group.
Above-mentioned steps 8) specific implementation is as follows:
8.1) first member passes on first of session initiation protocol respectively by server and leave notice and second and leave and be notified to second member and the 3rd member;
8.2) second member and the 3rd member receive first respectively and leave notice and second and leave notice;
8.3) after second member and the 3rd member finished response, first member finished and withdraws from interim group.
A kind of real-time message switching system of realizing above-mentioned real-time information exchange method, its special character is: this switching system comprises: server; First member, first member links to each other with server, and registers on server; First member sends first of session initiation protocol to server and invites request; Second member, second member links to each other with server, and registers on server, and second member is present in good friend's inventory of first member; Second member forms interim group with first member after receiving this first invitation request via server; Member's tabulation of described interim group comprises first member and second member, and this member's tabulation is stored in first member and second member respectively; After interim group forms, pass on message between first member and second member by server.
Above-mentioned this switching system also comprises the 3rd member; The 3rd member links to each other with server, registers on server, and adds in the interim group; First member, second member and the 3rd member pass on message by server each other.
Above-mentioned first member passes on first message and second message respectively by server and gives second member and the 3rd member; Second member receives first message; The 3rd member receives second message.
The present invention can instruct based on SIP, finishes the function that interim group sets up and the member adds (or deletion), just can reach group's communication switching function then.Therefore, extend, just be not limited to man-to-man communication switching based on the communication switching of SIP, and can expand to the communication switching in the interim group via improvement of the present invention.And, server a usefulness as transfer instructions, request and message, state between the member is not learnt (that is, do not need to subscribe to server group's state of group) by server, and arbitrary member only need learn other member condition by the response that " MESSAGE " instructs.In addition, member's tabulation is stored in each member, if there is the member to add (or withdrawing from), other all members all can receive invitation (or notice), can upgrade member's tabulation of all members then.In other words, the present invention can reach the function of meeting talk and group chatting, allows based on the application of SIP more extensive.
Description of drawings
Fig. 1 is the structural representation of real-time message switching system of the present invention;
Fig. 2 is for setting up the flow chart of group in the real-time information exchange method of the present invention;
Fig. 3 is the flow chart of the embodiment one of the adding member in the real-time information exchange method of the present invention;
Fig. 4 is the flow chart of the embodiment two of the adding member in the real-time information exchange method of the present invention;
Fig. 5 is the flow chart that withdraws from group in the real-time information exchange method of the present invention;
Fig. 6 is the flow chart of real-time information exchange method specific embodiment of the present invention.
Embodiment
Referring to Fig. 1, real-timemessage switching system 3 of the present invention comprisesserver 30,first member 32 and second member 34.First member 32 andsecond member 34 all are linked toserver 30, and registration onserver 30.
Before intrasystem communication switching begins, must set up interim group and add the member, just can carry out follow-up group member communication switching.Yet the foundation of interim group, member's adding and withdrawing from of member all have different flow processs.Following explanation will be divided into four blocks and describe its flow process respectively:
A, set up interim group;
B, adding member (inviting) by group master;
C, adding member (other main member of non-group invites);
D, member withdraw from interim group.
A, set up interim group:
The person of foundation is by inviting the member to add the mode of talks, setting up interim group.And the person of foundation uses " INVITE " request of session initial protocol to add a member who is present in good friend's inventory.After the person of foundation finished the program of inviting the member, interim group set up and finishes.The person of foundation is usually located at first cis-position of the member tabulation of this interim group, therefore be that the group of this interim group is main, and then the group is main adds fashionablely the invitation newcomer, have critical role.
Inviting second member with first member is example to form interim group, and good friend's inventory of first member comprises second member.
Referring to Fig. 2, need registrationfirst member 32 andsecond member 34 earlier on theserver 30, just can carry out subsequent step.At first, execution in step S10,first member 32 send invitation (INVITE) request of session initiation protocol (SIP), and the target of sending of this invitation request comprises second member 34.Then, execution in step S12,server 30 send target according to this and pass on this invitation request tosecond member 34.
Second member 34 receives this and invites request, and after finishing response, just can form an interim group with first member 32.Wherein, the member of this interim group tabulation comprisesfirst member 32 andsecond member 34, and this member's tabulation is stored infirst member 32 andsecond member 34 respectively.
B, adding member (inviting) by group master:
After interim group sets up, if the main desire of group is invited the newcomer, then initiate member needs to use in " INVITE " request and the interim group all members except the person of foundation to carry out media channel and bearing capacity is consulted, that is shake hands (handshaking).
Inviting the 3rd member with first member is example, and first member is that the group of interim group is main, and this good friend's inventory of first member comprises the 3rd member.
Referring to Fig. 3, execution in step S20 at first,first member 32 send first request of inviting and giveserver 30, and this first request of inviting comprises sends target and with reference to (X-referto) value, it is the3rd member 36 that first of this embodiment invites the target of sending of request, and reference point issecond member 34.
Then, execution in step S22,server 30 passes on this first invitation request to the3rd member 36 according to the target of sending of this first invitation request.
Then, after execution in step S24, the3rd member 36 receive this first invitation request, send second request of inviting according to this reference point and giveserver 30, and the target of sending of this second invitation request issecond member 34.
At last, execution in step S26,server 30 be according to this second target of sending of inviting request, passes on this second request of inviting to give thissecond member 34.
Second member 34 receives second and invites request, and after finishing response, the3rd member 36 has added this interim group, has also finished the program that the main newcomer of invitation of group adds.
C, adding member (other main member of non-group invites):
If other main member's desire of non-group invites the newcomer to add group in the group, the member's data that then need submit to desire to invite give the group main, must invite the newcomer by group master.After group master received submission information, invitation flow process afterwards was as the main flow process of inviting the newcomer of above-mentioned group.
Inviting the 3rd member to add group with second member's desire is example, and second member is not the group master of interim group, and this good friend's inventory of this second member comprises the 3rd member.
Referring to Fig. 4, at first, execution in step S30,second member 34 send one and submit to (REFER) request to giveserver 30, and this submission request comprises one and submits target to, and the submission target of this embodiment is the3rd member 36.
Then, execution in step S32 afterserver 30 receives and submits request to, must pass on this submission request to group main (first member 32).
Then, execution in step S34, group main (first member 32) submit target to according to this after receiving this submission request, andserver 30 is given in first request of inviting of sending.Wherein, this first invitation asks to comprise to send a target and a reference point.The target of sending of this first invitation request is the3rd member 36, and reference point issecond member 34.
Then, execution in step S36, server pass on this first invitation request to the3rd member 36 according to the target of sending of this first invitation request.
Then, execution in step S37 after this first invitation request of the3rd member 36 receptions, according to this reference point of this first invitation request, sends second invitation and asks to giveserver 30, and the target of sending of this second invitation request issecond member 34.
At last, execution in step S38,server 30 pass on this second invitation request tosecond member 34 according to the target of sending of this second invitation request.
Second member 34 receives second and invites request, and after finishing response, the3rd member 36 has added this interim group, has also finished the program that the main member of non-group invites the newcomer to add.
D, member withdraw from interim group:
If the member desires to withdraw from interim group, then need send one to leave and be notified to each remaining member in this interim group, allow other all members can upgrade own member's tabulation of being deposited.
Referring to Fig. 5, desiring to withdraw from this interim group with first member is that example describes.At first, execution in step S40, first of first member, 32 transmission SIP leave (BYE) and are notified to server 30.Wherein, this first target of sending of leaving notice issecond member 34.
Then, execution in step S42,server 30 be according to this first target of sending of leaving notice, and passes on that this first leaves and be notified tosecond member 34.
Then, execution in step S44, first member, 32 transmission second are left and are notified to server 30.Wherein, this second target of sending of leaving notice is the3rd member 36.
At last, execution in step S46,server 30 be according to this second target of sending of leaving notice, and passes on that this second leaves and be notified to the3rd member 36.
First leave notice and this second and leave notice whensecond member 34 and the3rd member 36 all receive this, and after finishing response,first member 32 finishes the program that withdraws from interim group.
What need remark additionally is that afterfirst member 32 withdrawed from group, ifsecond member 34 is second cis-position of member's tabulation of group, thensecond member 34 became the group master of this group.Ifsecond member 34 will withdraw from this group, similarly second member needs to pass on byserver 30 one the 3rd to leave notice (not illustrating) to the3rd member 36; After notice was left in the3rd member 36 receptions the 3rd,second member 34 finished the group's program that withdraws from.
So far, the present invention can reach the foundation of interim group based on SIP, has also reached member's interpolation and deletion, has therefore also just finished the necessary environment of group's communication switching.
Referring to Fig. 6, with the complete communication switching process real-time information exchange method that is elaborated.At first, execution in step S50,first member 32 send one first message and one second message simultaneously and give server 30.Owing to be group chatting, the chat content that each member receives is the same (being similar to broadcast message), therefore the chat content of first message and second message is identical, but the target of sending of first message is that the target of sending of second member, 34, the second messages is the3rd member 36.
Then, execution in step S52,server 30 are according to the target of sending of sending the target and second message of first message, and first message of passing on is givensecond member 34, and second message of passing on is given the 3rd member 36.Whensecond member 34 and the3rd member 36 respond respectively finish after, finished a communication switching of group chatting.
In addition, exchange the transmission of finishing message language by SIMPLE " MESSAGE " instruction between group member.The member of all supports " MESSAGE " instruction also can support pure words (plain text) form, CPIM (Common Presence and Instant Messaging) form or the message of HTML (HyperTextMarkup Language) form.Member in the group does not need to subscribe to group and learns group's state, can instruct resulting response according to " MESSAGE " because send message person, obtains the delivery status of message, and then obtains member's current state.If first member just at typing character, can notify other member current state about first member by " MESSAGE " instruction, for example: " first member typewrites ".

Claims (10)

8. real-time message switching system of realizing the described real-time information exchange method of claim 1, it is characterized in that: this switching system comprises: server; First member, described first member links to each other with server, and registers on server; Described first member sends first of session initiation protocol to server and invites request; Second member, described second member links to each other with server, and registers on server, and described second member is present in good friend's inventory of first member; Second member forms interim group with first member after receiving this first invitation request via server; Member's tabulation of described interim group comprises first member and second member, and this member's tabulation is stored in first member and second member respectively; After interim group forms, pass on message between described first member and second member by server.
CN2008102318028A2008-10-172008-10-17Method and system for exchanging instant messagesActiveCN101729444B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008102318028ACN101729444B (en)2008-10-172008-10-17Method and system for exchanging instant messages

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008102318028ACN101729444B (en)2008-10-172008-10-17Method and system for exchanging instant messages

Publications (2)

Publication NumberPublication Date
CN101729444Atrue CN101729444A (en)2010-06-09
CN101729444B CN101729444B (en)2012-06-27

Family

ID=42449680

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008102318028AActiveCN101729444B (en)2008-10-172008-10-17Method and system for exchanging instant messages

Country Status (1)

CountryLink
CN (1)CN101729444B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107135130A (en)*2016-06-242017-09-05九阳股份有限公司A kind of intelligent appliance authority control method and intelligent appliance
CN107368999A (en)*2017-07-012017-11-21珠海格力电器股份有限公司Example meeting invitation method and device
CN108055193A (en)*2017-12-112018-05-18程桂平Using activity as the communication means of medium
CN114726662A (en)*2022-04-072022-07-08维沃移动通信有限公司Group chat session management method and device, electronic equipment and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100677445B1 (en)*2005-03-152007-02-02엘지전자 주식회사 Wireless communication system and method for transmitting and receiving text-based SIP message
CN1852125A (en)*2005-08-172006-10-25华为技术有限公司Method for expanding one-to-one conversation to multi-to-multi conversation
CN101034960A (en)*2007-04-062007-09-12中国科学院计算技术研究所Implementation method for remote multi-person conference and corresponding system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107135130A (en)*2016-06-242017-09-05九阳股份有限公司A kind of intelligent appliance authority control method and intelligent appliance
CN107368999A (en)*2017-07-012017-11-21珠海格力电器股份有限公司Example meeting invitation method and device
CN108055193A (en)*2017-12-112018-05-18程桂平Using activity as the communication means of medium
CN114726662A (en)*2022-04-072022-07-08维沃移动通信有限公司Group chat session management method and device, electronic equipment and readable storage medium

Also Published As

Publication numberPublication date
CN101729444B (en)2012-06-27

Similar Documents

PublicationPublication DateTitle
US8571592B2 (en)Methods and devices for including a plurality of users in a conversation over a communication network
EP2124399B1 (en)A method, a device and a system for converging ip message
EP2913962B1 (en)Multi-user services in a communications system
CN101262453B (en)Method and system for intelligent chant service in next-generation network
US9906603B2 (en)System and method for transferring a session between multiple clients
CN101183961B (en)Method and system for implementing multi-user voice session
CN101714170B (en)XDMS-based group management system and method
JP2012503265A (en) File transfer in the conference service
CN101094233A (en)Method and system for carrying out conversation among multiple persons in instant communication tool
CN110740161A (en)system and method for adapting converged communication
CN101404628B (en)System and method for increasing non-friend communication mode in instant communication
CN101729444B (en)Method and system for exchanging instant messages
JP5172850B2 (en) Session-based communication
CN101834730A (en) A multimedia conference control method and system
CN100492978C (en) A multi-party communication connection establishment method and connection processing system
CN203504603U (en)Server configuration of mobile Internet voice community
CN201146535Y (en)System for implementing multiple-human conversation in an instant communication tool
CN103888343A (en)Cpm Service Provisioning System And Method For Interworking With Non-Cpm Service
CN101951381A (en)Digital television receiving terminal and method thereof for realizing multimedia instant messaging
CN101106739B (en) Method for forwarding IM message in instant message IM service
CN102067594B (en) Method and communication session information server for determining an active communication session
CN101394365A (en) A message association method, user terminal and server
CN101729526A (en)Real-time information exchange method and system based on session initial protocol
CN102546994A (en)Method and system for realizing information interaction of multimedia conference members
Jia et al.Session and signaling control in mobile network game platform

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
ASSSuccession or assignment of patent right

Owner name:INVENTEC (NANJING) TECHNOLOGY CO., LTD.

Free format text:FORMER OWNER: ENVADA (XI AN) COMMUNICATION TECHNOLOGY CO., LTD.

Effective date:20130107

C41Transfer of patent application or patent right or utility model
CORChange of bibliographic data

Free format text:CORRECT: ADDRESS; FROM: 710119 XI AN, SHAANXI PROVINCE TO: 211153 NANJING, JIANGSU PROVINCE

TR01Transfer of patent right

Effective date of registration:20130107

Address after:211153, No. 133, general road, Jiangning economic and Technological Development Zone, Nanjing, Jiangsu

Patentee after:Inventec (Nanjing) Technology Co., Ltd.

Address before:710119 Shaanxi province Xi'an city road high tech Zone No. 6 Tang Tang Xing digital building three floor

Patentee before:Inventec (Xi'an) Communication Technology Co., Ltd.

ASSSuccession or assignment of patent right

Owner name:BEIJING Z-GOOD TECHNOLOGY SERVICE CO., LTD.

Free format text:FORMER OWNER: INVENTEC (NANJING) TECHNOLOGY CO., LTD.

Effective date:20150710

C41Transfer of patent application or patent right or utility model
TR01Transfer of patent right

Effective date of registration:20150710

Address after:100085 Beijing city Haidian District No. 33 Xiaoying Road 1 1F06 room

Patentee after:BEIJING ZHIGU TECHNOLOGY SERVICES CO., LTD.

Address before:211153, No. 133, general road, Jiangning economic and Technological Development Zone, Nanjing, Jiangsu

Patentee before:Inventec (Nanjing) Technology Co., Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp