Movatterモバイル変換


[0]ホーム

URL:


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

Method and system for exchanging instant messages
Download PDF

Info

Publication number
CN101729444B
CN101729444BCN2008102318028ACN200810231802ACN101729444BCN 101729444 BCN101729444 BCN 101729444BCN 2008102318028 ACN2008102318028 ACN 2008102318028ACN 200810231802 ACN200810231802 ACN 200810231802ACN 101729444 BCN101729444 BCN 101729444B
Authority
CN
China
Prior art keywords
server
message
invitation request
interim group
real
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.)
Active
Application number
CN2008102318028A
Other languages
Chinese (zh)
Other versions
CN101729444A (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
At present main real-time communication service market, the whole world mainly contain " AIM Instant Messenger ", ICQ, the Microsoft of AOL " MSN Messenger ", Yahoo " Yahoo Instant Messenger " 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.Know by " real-time message " and the literal of " 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 possibly 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, and 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 accomplish, 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, through 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 first invitation request that comprises session initiation protocol through this server and 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 through 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 through server each other.
Above-mentioned steps 6) concrete implementation is following:
6.1.1) first member passes on second invitation request through server and give the 3rd member, the reference point of second invitation request comprises second member;
6.1.2) after the 3rd member receives second invitation request, according to the reference point of second invitation request, pass on one the 3rd invitation request through server and give second member;
6.1.3) second member receives the 3rd invitation request.
Above-mentioned steps 6) concrete implementation is following:
6.2.1) second member passes on the submission of session initiation protocol through 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, pass on second invitation request through this server and give the 3rd member, this second member of the reference point of this second invitation request;
6.2.3) after the 3rd member receives second invitation request, according to the reference point of second invitation request, pass on the 3rd invitation request through server and give second member;
6.2.4) second member receives the 3rd invitation request.
Above-mentioned steps 7) concrete implementation is following:
7.1) first member passes on first message and second message respectively through 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) concrete implementation is following:
8.1) first member passes on first of session initiation protocol respectively through server and leave notice and second and leave notice and give 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 accomplished response, first member accomplished 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 on server, registers; First member sees first invitation request of session initiation protocol off to server; Second member, second member links to each other with server, and on server, registers, 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 said 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 through server.
Above-mentioned this switching system also comprises the 3rd member; The 3rd member links to each other with server, on server, registers, and adds in the interim group; First member, second member and the 3rd member pass on message through server each other.
Above-mentioned first member passes on first message and second message respectively through 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, accomplishes 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) through server, and arbitrary member only need learn other member condition through 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, lets 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 adding member's in the real-time information exchange method of the present invention embodiment one;
Fig. 4 is the flow chart of the adding member's in the real-time information exchange method of the present invention embodiment two;
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-time message 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 crowd master;
C, adding member (other main member of non-crowd invites);
D, member withdraw from interim group.
A, set up interim group:
The person of foundation is through 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 accomplished the program of inviting the member, interim group set up and accomplishes.The person of foundation is usually located at first cis-position of the member tabulation of this interim group, therefore be that the crowd of this interim group is main, and then the crowd 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 see invitation (INVITE) request of session initiation protocol (SIP) off, 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 invitation request, and after accomplishing 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 crowd master:
After interim group sets up; If the main desire of crowd 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 crowd 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 see first invitation request off and giveserver 30, and this first invitation request comprises sends target and with reference to (X-referto) value; The target of sending of first invitation request of this embodiment is the3rd member 36, 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, execution in step S24 after the3rd member 36 receives this first invitation request, sees second invitation request off 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 the target of sending of this second invitation request, passes on this second invitation request to give thissecond member 34.
Second member 34 receives second invitation request, and after accomplishing response, the3rd member 36 has added this interim group, has also accomplished the program that the main newcomer of invitation of crowd adds.
C, adding member (other main member of non-crowd invites):
If other main member's desire of non-crowd invites the newcomer to add group in the group, the member's data that then need submit to desire to invite give the crowd main, must invite the newcomer through crowd master.After crowd master received submission information, invitation flow process afterwards was as the main flow process of inviting the newcomer of above-mentioned crowd.
Inviting the 3rd member to add group with second member's desire is example, and second member is not the crowd 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 see one off 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 crowd main (first member 32).
Then, execution in step S34, crowd main (first member 32) submit target to according to this after receiving this submission request, see first invitation request off and give server 30.Wherein, this first invitation request comprises and sends 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 the3rd member 36 receives this first invitation request, according to this reference point of this first invitation request, sees second invitation request off and givesserver 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 invitation request, and after accomplishing response, the3rd member 36 has added this interim group, has also accomplished the program that the main member of non-crowd 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 notice to each remaining member in this interim group, let 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 member 32 transmits first of SIP and leaves (BYE) notice to server 30.Wherein, this first leave notice the target of sending besecond member 34.
Then, execution in step S42,server 30 according to this first leave notice the target of sending, pass on that this first leaves notice and givesecond member 34.
Then, execution in step S44,first member 32 transmits second and leaves notice to server 30.Wherein, this second leave notice the target of sending be the3rd member 36.
At last, execution in step S46,server 30 according to this second leave notice the target of sending, pass on that this second leaves notice and give the3rd member 36.
First leave notice and this second and leave notice whensecond member 34 and the3rd member 36 all receive this, and after accomplishing response,first member 32 accomplishes 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 crowd master of this group.Ifsecond member 34 will withdraw from this group, likewise second member needs to pass on throughserver 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 accomplished 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 accomplished 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 see one first message and one second message simultaneously off 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 accomplish after, accomplished a communication switching of group chatting.
In addition, exchange the transmission of accomplishing message language through 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 need not subscribe to group and learn 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 through " MESSAGE " instruction, for example: " first member typewrites ".

Claims (10)

9. real-time message switching system of realizing claim 1 or 5 described real-time information exchange methods, it is characterized in that: switching system comprises: server; First member, said first member links to each other with server, and on server, registers; Said first member sees first invitation request of session initiation protocol off to server; Second member, said second member links to each other with server, and on server, registers, and said 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 said 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 said first member and second member through server; The 3rd member; Said the 3rd member links to each other with server, on server, registers, and adds in the interim group; Said first member, second member and the 3rd member pass on message through server each other.
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
CN101729444A CN101729444A (en)2010-06-09
CN101729444Btrue 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)

Families Citing this family (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
CN114726662B (en)*2022-04-072024-10-15维沃移动通信有限公司 Group chat session management method, device, electronic device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1835511A (en)*2005-03-152006-09-20Lg电子株式会社Sip message and processing method thereof in mobile communication system
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1835511A (en)*2005-03-152006-09-20Lg电子株式会社Sip message and processing method thereof in mobile communication system
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

Also Published As

Publication numberPublication date
CN101729444A (en)2010-06-09

Similar Documents

PublicationPublication DateTitle
EP2124399B1 (en)A method, a device and a system for converging ip message
US9906603B2 (en)System and method for transferring a session between multiple clients
US8571592B2 (en)Methods and devices for including a plurality of users in a conversation over a communication network
CN101183961B (en)Method and system for implementing multi-user voice session
CN101262453B (en)Method and system for intelligent chant service in next-generation network
CN101371595B (en)Selective throttling of presence updates
EP2913962B1 (en)Multi-user services in a communications system
CN101714170B (en)XDMS-based group management system and method
CN102547600A (en)Method and system for establishing chat group based on vehicle-mounted terminal
CN101094233A (en)Method and system for carrying out conversation among multiple persons in instant communication tool
CN101287168B (en)Movable instant communication status publishing method
CN101404628B (en)System and method for increasing non-friend communication mode in instant communication
CN100542172C (en) A method for sending and receiving offline messages
CN101729444B (en)Method and system for exchanging instant messages
JP5172850B2 (en) Session-based communication
CN203504603U (en)Server configuration of mobile Internet voice community
CN201146535Y (en)System for implementing multiple-human conversation in an instant communication tool
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
CN100438544C (en)A method and system for instant calling using instant messaging
KR100784225B1 (en) Phonebook address (PWA) based service providing method and system therefor in Presence system
CN100450136C (en)A method and system for instant calling of instant messaging subscriber
KR20100057409A (en)Method of transmitting an instant message
CN101729526A (en)Real-time information exchange method and system based on session initial protocol

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