CN106656526A - User set number information interaction realization method and device - Google Patents

User set number information interaction realization method and device Download PDF

Info

Publication number
CN106656526A
CN106656526A CN201610917855.XA CN201610917855A CN106656526A CN 106656526 A CN106656526 A CN 106656526A CN 201610917855 A CN201610917855 A CN 201610917855A CN 106656526 A CN106656526 A CN 106656526A
Authority
CN
China
Prior art keywords
user
message
information
assembly
user set
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
CN201610917855.XA
Other languages
Chinese (zh)
Other versions
CN106656526B (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 BAUSTEM INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING BAUSTEM INFORMATION TECHNOLOGY 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 BEIJING BAUSTEM INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING BAUSTEM INFORMATION TECHNOLOGY Co Ltd
Priority to CN201610917855.XA priority Critical patent/CN106656526B/en
Publication of CN106656526A publication Critical patent/CN106656526A/en
Application granted granted Critical
Publication of CN106656526B publication Critical patent/CN106656526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a user set number information interaction realization method and device. The method comprises steps that a first user set number is formed by a first user set; the first user set number is taken as a first participation party to carry out information interaction; information interaction comprises information interaction between the first participation party and a second participation party, and/or multi-person information interaction participated by the first user set number; the second participation party comprises one or multiple types of a second user set number formed by a second user set, a personal number under a second chat agent and a member number of the second user set. The method is advantaged in that only through adding an information interaction agent function to an information interaction server and a client, an information interaction function taking the user sets as units can be realized, and a social information interaction system for family and class behaviors can be rapidly established.

Description

A kind of method and device of the information exchange for realizing user's assembly
Technical field
The present invention relates to social chat or field of information interaction, more particularly to a kind of information exchange for realizing user's assembly Method and device.
Background technology
In chat (or information exchange) scene, the chat of typically one people and another person, or a people and one Other members of individual group chat together.For convenience, both objects are called personal and group, and one is needed in chat system Unique identity ID representing individual and group, referred to as chat number.Personal ID is personal number, and the ID of group is group number.
An object in units of family or class is generally needed to participate in information exchange, this object in social intercourse system Different from common personal object, also different from a group object.Can be herein unit by family or class for convenience of describing Chatting object be referred to as user's set, corresponding ID is user assembly.Generally, user's assembly is externally just as one by one People number, internally then needs the information of all members of synchronous family or class, allow all families or class member all have disappear The context of breath, in participating in chat sessions or the exchange of information exchange scene.
Gather the chat or information exchange behavior of (such as family or class) as unit with user to be different from where individual It is clear that personal representative single natural person's object, and user's set then represents user's set comprising collection The all member objects for closing.
It is that user's set can be simultaneously participated in that chat behavior in units of user's set is different from the behavior of group chat To in different chat sessions and user set and member can be identified, such as, by taking family as an example, one family and another Personal, one family and another family, one family and multiple chatting objects (family or individual per capita can) the new chat of composition Group, while kinsfolk can identify the family and information about firms when making a speech.Being sent to the information of user's assembly can reach Each member of user's set.
The content of the invention
Present invention is primarily targeted at proposing a kind of method and device of the information exchange for realizing user's assembly, it is intended to Realize participating in social chat in units of user's set.
For achieving the above object, a kind of method for realizing user's assembly participation information exchange that the present invention is provided, including:
First user assembly is formed for first user set;
Information exchange is carried out as the first participant using the first user assembly;The information exchange that carries out includes: The information exchange between first participant and the second participant is formed, and/or, the first user assembly participates in many people Information exchange;Second participant includes one or more of:
The second user assembly that second user set is formed;
Individual number under second information exchange agency;
A member number in the second user set.
Alternatively, wherein, when the second participant is second user assembly, forms first participant and join with second Information exchange between side includes:
Any member number in the first user set is sent to into any member number in the second user set Message, other member numbers in the first user set are transmitted to by first information interactive agent;The message is by described Second information exchange agency is transmitted to all member numbers in the second user set;
When the first user assembly receives the message that the second user assembly sends, the message is by described the One information exchange agency is transmitted to all member numbers of the first user set.
Alternatively, wherein, when the second participant is second user assembly, forms first participant and join with second Information exchange between side, also includes:
When the member number in the first user set sends message to the member number in the second user set, institute The session for stating message is identified by the member number of message sender and the Session Resources of the member, and the member of message receiver Number and the member Session Resources mark it is unique demarcate, the context comprising the session in the message.
Alternatively, when the second participant is the individual under the second information exchange agency, first participant is formed With the information exchange between the second participant, including:
When any member number of the first user assembly is sent to the individual number under the second information exchange agency Message when, other member numbers in the first user set are transmitted to by first information interactive agent;By the message with The name of the first user assembly issues the individual number under the second information exchange agency.
Alternatively, wherein, it is described when the second participant is the lower individual of the second chat agency, form described first and join Information exchange between side and the second participant, also includes:
When the member number in the first user set sends message to the individual number under second information exchange agency When, the session of the message is identified by the member number of message sender and the Session Resources of the member, and message receiver Individual number and Session Resources mark is unique demarcates.
Alternatively, wherein, the first user assembly participates in many people's information exchanges, including:
When the first user assembly participates in many people's information exchanges, the member number of the first user set is sent to The message of many people's information exchanges, with the name of the first user assembly many people's information exchanges are dealt into, the message by First information interactive agent is transmitted to other member numbers of the first user set;
Many people's information exchanges are sent to the message of the first user assembly, by the first information interactive agent It is forwarded to all member numbers of the first user assembly;
The member number of the first user set is with the identification number of many people's information exchanges, the first user assembly With the Session Resources of the member number as unique session identification, the context comprising session in the message.
Alternatively, methods described also includes:
When it is good friend that the individual number under first information interactive agent adds the second user assembly, plusing good friend is invited It is sent to the second user assembly, good friend's addition result issues the individual number under the first information interactive agent and described Each member number in second user set;Wherein, the plusing good friend is invited and is forwarded to by second information exchange agency Each member number in the second user set, effectively, follow-up response disappears the effective positive or negative message replied at first Breath is invalid;
When it is good friend that the first user assembly adds the second user assembly, successfully addition result is issued Each member number in each member number and the second user set in the first user set, unsuccessful addition knot Fruit is sent to the member number in the first user set for initiating to invite;Wherein, the plusing good friend is invited and believed by described second Breath interactive agent is forwarded to each member number in the second user set, and the positive or negative message replied at first is effective, Follow-up response message is invalid.
Alternatively, methods described also includes:
The context invited comprising the plusing good friend in the positive or negative message replied at first.
Alternatively, methods described also includes:
When the member number in the first user set is reached the standard grade, on-line message is sent to the first user assembly Each allows the online good friend of observation, is disappeared with reaching the standard grade described in the message identification of the first user assembly and the member number Breath;
When the good friend of the first user assembly reaches the standard grade, on-line message is sent to every in the first user set Individual member number.
Alternatively, methods described also includes:
When information exchange other side is offline, the first user assembly can send deferred information and interact to described information Other side, the deferred information is sent to described information interaction other side by the member number in first user set;
When the first user assembly is offline, the message for being sent to first user assembly saves as deferred information, After the member number in offline first user set is reached the standard grade, the deferred information is sent to into the first user assembly;
When the few members number in the first user set are offline, the offline member number obtains offline after reaching the standard grade When be sent to the message of the first user assembly.
Alternatively, methods described also includes:
The inquiry request of member number in the first user set and information exchange other side is received, and feedback information is interacted Record, for the member number, the first user assembly belonging to member number and the member described in information exchange record identification Information.
Present invention also offers a kind of device for realizing user's assembly information exchange, including:
User's assembly generation module, for forming first user assembly for first user set;
User's assembly information exchange module, for entering row information as the first participant using the first user assembly Interaction;The information exchange that carries out includes:The information exchange between first participant and the second participant is formed, and/or, The first user assembly participates in many people's information exchanges;Second participant includes one or more of:
The second user assembly that second user set is formed;
Individual number under second information exchange agency;
A member number in the second user set.
Alternatively, wherein,
When the second participant is second user assembly, formed between first participant and the second participant, Including:
Any member number in the first user set is sent to into any member number in the second user set Message, other member numbers in the first user set are transmitted to by first information interactive agent;The message is by described Second information exchange agency is transmitted to all member numbers in the second user set;
When the first user assembly receives the message that the second user assembly sends, the message is by described first Information exchange agency is transmitted to all member numbers of the first user set.
Alternatively, wherein, it is described when the second participant is second user assembly, form first participant and the Information exchange between two participants, also includes:
When the member number in the first user set sends message to the member number in the second user set, institute The session for stating message is identified by the member number of message sender and the Session Resources of the member, and the member of message receiver Number and the member Session Resources mark it is unique demarcate, the context comprising the session in the message.
Alternatively, wherein,
When the second participant is the individual under the second information exchange agency, first participant and the second ginseng are formed Information exchange between side, including:
When any member number of the first user assembly is sent to the individual number under the second information exchange agency Message when, other member numbers in the first user set are transmitted to by the first information interactive agent;The message Individual number under the second information exchange agency is issued by the first user assembly.
Alternatively, wherein, described when the second participant is the lower individual of the second information exchange agency, formation described the Information exchange between one participant and the second participant, also includes:
When the member number in the first user set sends message to the individual number under second information exchange agency When, the session of the message is identified by the member number of message sender and the Session Resources of the member, and message receiver Individual number and Session Resources mark is unique demarcates.
Alternatively, wherein, the first user assembly participates in many people's information exchanges, including:
When the first user assembly participates in many people's information exchanges, the member number of the first user set is sent to The message of many people's information exchanges, with the name of the first user assembly many people's information exchanges are dealt into, described to disappear Cease other member numbers for being transmitted to the first user set simultaneously by first information interactive agent;
Many people's information exchanges are sent to the message of the first user assembly, by the first information interactive agent It is forwarded to all member numbers of the first user assembly;
The member number of the first user set is with the identification number of many people's information exchanges, the first user assembly With the Session Resources of the member number as unique session identification, the context comprising session in the message.
Alternatively, described device also includes:
Individual's good friend's add module, for the individual number under the first information interactive agent second user is added When assembly is good friend, plusing good friend is invited and is sent to the second user assembly, and good friend's addition result issues first letter Individual number and each member number in the second user set under breath interactive agent;Wherein, the plusing good friend is invited and passed through The second information exchange agency is forwarded to each member number in the second user set, the positive or negative replied at first Effectively, follow-up response message is invalid for message;
Assembly good friend's add module, for adding the second user assembly preferably when the first user assembly When friendly, successfully addition result issues every in each member number and the second user set in the first user set Individual member number, unsuccessful addition result is sent to the member number in the first user set for initiating to invite;Wherein, it is described Plusing good friend invites each member number being forwarded to by second information exchange agency in the second user set, replys at first Positive or negative message effectively, follow-up response message is invalid.
Alternatively, wherein,
The context invited comprising the plusing good friend in the effective positive or negative message replied at first.
Alternatively, described device also includes:
On-line message notification module, for when the member number in the first user set is reached the standard grade, on-line message to send Give each permission observation of the first user assembly online good friend, with the first user assembly and the member number Message identification described in on-line message;
When the good friend of the first user assembly reaches the standard grade, on-line message is sent to every in the first user set Individual member number.
Alternatively, described device also includes:
Deferred information transceiver module, for when information exchange other side is offline, the first user assembly to send offline Message interacts other side to described information, and the deferred information is sent to described information interaction by the member number in first user set Other side;
When the first user assembly is offline, the message for being sent to first user assembly saves as deferred information, After the member number in offline first user set is reached the standard grade, the deferred information is sent to into the first user assembly;
When the few members number in the first user set are offline, the offline member number obtains offline after reaching the standard grade When be sent to the message of the first user assembly.
Alternatively, described device also includes:
Information exchange record queries module, for receiving the first user set in member number and information exchange other side Inquiry request, and feedback information intersection record;Wherein, for the member number, member number described in information exchange record identification Affiliated first user assembly and the information of the member.
Correspondingly, present invention also offers a kind of information exchange including said apparatus is acted on behalf of.
Present invention also offers a kind of home gateway, including described information interactive agent, wherein user's assembly is Family's chat number.
Scheme provided in an embodiment of the present invention, it is only necessary to straight in information interaction server (or chat server) and client Connect increase information exchange agent functionality, modification is had no to information interaction server and information exchange client, you can realization with Family collection is combined into the information exchange function of unit, is easy to quickly lay the social activity of the behaviors such as family, class, information exchange (or chat) System.
Description of the drawings
Fig. 1 is the circuit theory schematic diagram for realizing the embodiment of the present invention;
Fig. 2 realizes the method flow diagram that user's assembly participates in information exchange for a kind of of first embodiment of the invention;
Fig. 3 realizes the method flow diagram that user's assembly participates in information exchange for a kind of of second embodiment of the invention;
Fig. 4 realizes the device block diagram that user's assembly participates in information exchange for a kind of of first embodiment of the invention;
Fig. 5 realizes the device block diagram that user's assembly participates in information exchange for a kind of of second embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
Technical scheme is described in detail below in conjunction with drawings and Examples.
If it should be noted that not conflicting, each feature in the embodiment of the present invention and embodiment can be tied mutually Close, within protection scope of the present invention.In addition, though logical order is shown in flow charts, but in some situations Under, can be with the step shown or described by performing different from order herein.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Under user's set environment as family or class, other nets of home gateway or similar gateway are usually provided with Network interconnecting and interworking equipment, as shown in figure 1, by taking Liang Ge families as an example, it is clear that if Liang Ge classes or other user's set, feelings Condition is also similar to.
Chat (or information exchange) can be set for user's set as family or class and act on behalf of Proxy, the Proxy Between external the Internet chat server and user set member, for outside internet chat server, Proxy phases When in a common chat number, for user set member, Proxy provides the function of acting on behalf of chat server.
As shown in figure 1, Proxy can be arranged on home gateway or network interconnection intercommunication equipment that other are similar, with family Front yard is that as a example by user's set and home gateway, the chat agency of A families can be arranged on A home gateways, the chat agency of B families B home gateways can be arranged on.
In-home and outer net (internet) are separated by home gateway or network interconnection intercommunication equipment that other are similar. Proxy internet-orienteds side is chat client, therefore can possess unique chat number in internet chat server; Proxy is then a chat agency towards kinsfolk.For convenience of describe, the present invention in internet chat server address with Server.net represents that chat agent address is represented with proxy, and using following agreement:
Family chat agency is called proxy, and the chat agency for being the service of family 1 is proxy1, is in the same manner the service of family 2 Chat agency is proxy2.Proxy is used when referring to family's chat and acting on behalf of, refers in particular to use specific proxy1 during certain family Or proxy2.
Each family distributes a chat ID, is difference individually individual's chat feature number, referred to as family number, actually exists It and common personal chat number on chat server has no difference.
Kinsfolk distributes to his local chat number and logs in chat server using local Proxy;When kinsfolk makes When being logged in local number (n), it is " local chat number (n)@Proxy/ resource identifications " that Proxy demarcates the local chat sessions, It is designated as Lx (n);Proxy acts on behalf of this kinsfolk and initiates to log in server;
Proxy1 is Ox=x@server.net for chat ID of all members of family 1 on chat server, letter Claim outer network No. 1;In the same manner, Proxy2 is Oy for the chat ID that all members of family 2 log on chat server for family 2 =y server.net, referred to as outer network No. 2;The personal chat ID of one example is a1@server.net;
Proxy is local chat group=LG1={ Lx1, Lx2 ... Lxi } that family 1 sets up, and in the same manner Proxy2 is family 2 The local chat group=LG2={ Ly1, Ly2 ... Lyj } set up,
Represented with following symbol in XMPP:
X (n) represents the ID, n={ 1 ... i } of XMPP;Such as x1, x2
Lx (n) represents full address JID, n={ 1 ... i };Such as x1@Proxy1/resource1, x2@Proxy1/ resource2;
Ox represents the JID of the outer net of x families, i.e.,:x@server.net;
Oy represents the JID of the outer net of y families, i.e.,:y@server.net;
Proxy1 is mapped to outer net resource x (n) and represents to each member of family 1, such as the member of family 1 X (n), is mapped to being designated for outer net:x@server.net/x(n);Correspondingly, Proxy2 is mapped to each member of family 2 Outer net resource y (n) expressions, such as, for member y (n) of family 2, be mapped to being designated for outer net:y@ server.net/y(n)。
Assume that there are member x1, x2, x3 in A families, respective terminal is resource1, resource2, resource3.A family Front yard can register family on internet chat server .net and chat account as x@as user's set (herein referred to as party A-subscriber's set chat number, abbreviation party A-subscriber's assembly, what is included in party A-subscriber's set is each to server.net When the member of A families is logged in using local number (n), Proxy demarcates respectively the local chat sessions to member number x (n) of member For:x1@proxy1/resource1,x2@proxy1/resource 2,x3@proxy1/resource 3;
The member of A families can be registering the independent chat account of oneself on internet chat server .net (herein referred to as personal number of outer net), can be x1 server.net, x2 server.net, x3 server.net for example; Meanwhile, the member of A families can also act on behalf of in chat and personal independent chat number (this paper referred to as individuals of oneself are registered on Proxy1 Number), such as x1_P@proxy1/resource1, x2_P@proxy1/resource 2, a3_P@proxy1/resource 3.
Similarly, B families as user set can on internet chat server .net registered chat man Front yard account is y@server.net (abbreviations:Party B-subscriber's assembly, what is included in party B-subscriber's set is also the member number y of each member (n)), when the member of B families is logged in using local number (n), Proxy demarcates respectively the local chat sessions and is:y1@ proxy2/resource1,y2@proxy2/resource2;
Account that what the member of B families can register on internet chat server .net oneself independently chat (personal number of outer net), can be y1 server.net, y2 server.net for example;Meanwhile, the member of B families can also be Chat acts on behalf of Proxy2 and registers the independent chat number of individual (personal number) of oneself, such as y1_P@proxy2/resource1, y2_P@ proxy2/resource2.
Chat agency, is route to chat message and is turned in outer net (internet) and Intranet (home network or class's net) Send out, complete the mapping between interior network No. and outer network No..
Based on above-mentioned scene, first embodiment of the invention proposes that a kind of agency using chat realizes what user's assembly was chatted Method, as shown in Fig. 2 including:
Step 10:First user assembly is formed for first user set;
Step 12:Information exchange is carried out as the first participant using the first user assembly;It is described enter row information hand over Mutually include:The information exchange between first participant and the second participant is formed, and/or, the first user assembly Participate in many people's information exchanges;Second participant includes one or more of:
The second user assembly that second user set is formed;
Individual number under second information exchange agency;
A member number in the second user set.
For example the embodiment of the present invention carries out family based on such information exchange or chat scenario between Liang Ge families A, B Number and personal number one-to-one chat or many people's group chats are participated in family number, (obviously correspondence class or other users set, situation It is similar), for convenience of description, by taking A families as an example, before being chatted, the family that Proxy1 acts on behalf of A families is acted on behalf of in the chat of A families Front yard member forms family number, for example, x@server.net;Kinsfolk's shape that Proxy2 acts on behalf of B families is acted on behalf of in the chat of B families Into family number, for example, y server.net;
It is assumed that there are member x1, x2, x3 in A families, and respectively with x1@proxy1/resource1, x2@proxy1/ Resource2, x3@proxy1/resource3 are used as the full address JID logged in proxy1;Similarly, there are member in B families Y1, y2, respectively with y1@proxy2/resource1, y2@proxy2/resource2, as the JID logged in proxy2.
At this point it is possible to carry out:
1) row information friendship is entered between the family y server.net of the x server.net and B families of family of A families Mutual or one-to-one chat.
Carried out with respective family x@server.net and y@server.net respectively in A families and B families one-to-one During chat, from x1@proxy1/resource1, x2@proxy1/resource1, what x3@proxy1/resource3 sent disappears Breath, is all sent via Proxy1 by x@server.net accounts;
And be dealt into the message of x@server.net accounts, then x1@proxy1/resource1, x2@are forwarded to by Proxy1 proxy1/resource2,x3@proxy1/resource3。
Similarly, the message for sending from y1@proxy2/resource1, y2@proxy2/resource2, all by Proxy2 Sent by y@server.net accounts;And be dealt into the message of y@server.net accounts, then y1@are forwarded to by Proxy2 proxy2/resource1,y2@proxy2/resource2。
Liang Ge families x server.net and y server.net forms one-to-one chatting by internet chat server My god, similar with the one-to-one chat of general chat number, simply family internal members carry out transmitting-receiving and disappear by family chat agency Breath is synchronous.
2) individual number under the family x@server.net of the A families and Proxy2 of B families carries out information exchange or one Chat one;
Now, the member x1 of A families, x2, x3 respectively with respective member number, such as x1@proxy1/resource1, X2@proxy1/resource2, x3@proxy1/resource3 sign in the chat of A families and act on behalf of Proxy1;And B families Member y1, y2 are respectively with respective individual number, such as y1_P@proxy2/resource1 and/or y2_P@proxy2/ Resource2 signs in the chat of B families and acts on behalf of Proxy2.Due to y1_P@proxy2/resource1 and y2_P@proxy2/ Resource2 has respectively oneself independent personal number, such as y1@server.net, y2@on internet chat server Server.net, the message for being dealt into y1@server.net is forwarded to y1_P@proxy2/resource1 by Proxy2;It is dealt into y2@ The message of server.net is forwarded to y2_P@proxy2/resource2 by Proxy2;
The message sent from y1_P@proxy2/resource1 is then forwarded by Proxy2 by y1@server.net;From The message that y2_P@proxy2/resource2 send also is forwarded by Proxy2 by y2@server.net;User's collection of A families The behavior of the messaging of conjunction x@server.net, with reference to it is above-mentioned 1).
3) the family x@server.net of A families participate in many people's information exchanges or chat group.
Many people chat group described here, refers to the group chat of similar prior art, but chats with the group of prior art Unlike it, the group chat of prior art, participant is personal user or personal number, and many people during the present invention is implemented chat Participant in its group includes user's assembly, and for example, many people's chat groups can include the family x@of A families Server.net, it is also possible to including the family y@server.net etc. of B families.
Alternatively, in the step of said method 12, when the second participant is second user assembly, described first is formed Information exchange between participant and the second participant includes:
Any member number in the first user set is sent to into any member number in the second user set Message, other member numbers in the first user set are transmitted to by the first information interactive agent;The message by The second information exchange agency is transmitted to all member numbers in the second user set;
When the first user assembly receives the message that the second user assembly sends, the message is by described the One information exchange agency is transmitted to all member numbers of the first user set.
In the embodiment of the present invention, for example, the member number of the member x1 of A families, such as x1@proxy1/resource1, to B family When the family number in front yard, such as y@server.net send message, the message forwarded by Proxy2 the family number of B families it is all into Member, for example, y1@proxy2/resource1, y2@proxy2/resource2, meanwhile, the message is also forwarded to A by Proxy1 Other members of the family number of family, such as x2@proxy1/resource2, x3@proxy1/resource3;
When the message that the family y@server.net that the family x@server.net of A families receive B families send, The message by the family number that A families are forwarded under Proxy1 all member numbers.
Alternatively, it is described when the second participant is second user assembly, form first participant and the second ginseng Information exchange between side, also includes:
When the member number in the first user set sends message to the member number in the second user set, institute The session for stating message is identified by the member number of message sender and the Session Resources of the member, and the member of message receiver Number and the member Session Resources mark it is unique demarcate, the context comprising the session in the message.
In the embodiment of the present invention, the member number of first user set and the member number of second user set log in respective chatting Its agency, except with respective member number, for example, the member number x1 of A families, and outside the member number y2 of B families, also with phase The resource identification of the resource identification answered, such as PC, mobile phone, PDA etc., therefore the member number of first user set such as x1, The session of message is sent to the member number such as y2 of second user set, in the range of the action scope of proxy1, can be by sending Side member number x1@proxy1 and Session Resources mark resource1, and the member number y2@server.net of recipient and Session Resources mark y2 is uniquely demarcated.Equally, it is same for the login of proxy agencies in the range of outside server action scopes Have resource identification, for example, the member x1 of family A logs in Proxy1, x1 is resourc1 using resource identification, Proxy1 according to Rule is converted to outside resource identification x1 when logging in (or x1 correlation unique informations, such as x1 pet names, etc.), to outside chat Server is logged in, for example x@server.net/x1.So Proxy1 just possesses an x1 (or x1 correlation unique informations), Mapping relations and resource1 between, in the same manner, for outer net, finally have x server.net/x1 to y Session as server.net/y1 is demarcated, and Proxy1 and Proxy2 can change and explain a session and demarcate in intranet and extranet Between expression.
For example, by taking XMPP realization as an example, the mark of the session of the message can be by x1 at Proxy1 ends Proxy1/resource1 and y@server.net/y2 are uniquely demarcated.Proxy2 ends can by x@server.net/x1 and Y2@proxy2/resource2 are uniquely demarcated.At server ends then by x@server.net/x1 and y@server.net/y2 only One demarcates.
Session demarcation and session context:In common one-to-one chat, a session is demarcated the clear and definite message of energy and is sent With the clear and definite individuality for receiving, but under family's environment, for kinsfolk, this demarcation does not directly show this relation. For example, x1 issues y1 message, and in A families, this message is transmitted to other members of A families by proxy1, and now use Session is demarcated:Family x or x1 (difference according to realizing may also have the form that other session is demarcated) issue x2@ Proxy1/resource2, in a word, it is not that the original session of x1 to y1 is demarcated, i.e., original session context " track " ".Will Want to keep original session " track " (i.e. the context of session) to allow other kinsfolks to understand session context, need in association Add information in view content to increase the context of this session.For example increase session " track " in the reason domains of message " in Hold, or, for other incompatible clients, session " track " content directly can be inserted in message beginning by Proxy.
Alternatively, in the step of said method 12, when the second participant is the individual under the second information exchange agency, The information exchange between first participant and the second participant is formed, including:
When any member number of the first user assembly is sent to the individual number under the second information exchange agency Message when, other member numbers in the first user set are transmitted to by first information interactive agent;The message is led to Cross the individual number that the name of the first user set is issued under the second information exchange agency.
In the embodiment of the present invention, by taking A families and B families as an example, for example, under the family x@server.net of A families Any member, such as x2@proxy1/resurce2 are sent to the individual number under the Proxy2 of B families, such as y1@ The message of server.net, the individual y1_P@proxy2/resource1 being transmitted to by the Proxy2 of B families under proxy2, The message is transmitted to other member numbers of A families, such as x1@proxy1/resource1, x3@proxy1/ by Proxy1 simultaneously resource3。
Alternatively, it is described when the second participant is the individual under the second information exchange agency, form first ginseng Information exchange between side and the second participant, also includes:
When the member number in the first user set sends message to the individual number under second information exchange agency When, the session of the message is identified by the member number of message sender and the Session Resources of the member number, and message sink The individual number of side and the unique demarcation of Session Resources mark.
In the embodiment of the present invention, with the member number of the family x@server.net of A families under the chat agency of B families Individual number send message as a example by:
When the member number of A families, such as x1, the individual number under Proxy2 is acted on behalf of to the chat of B families, such as y2_P sends During message, the session of the message can be identified by the Session Resources of the member number x1@proxy1 of sender and the member number, example Such as resource1 and the individual b2_P@server.net and the Session Resources mark b2_ of described personal number of message receiver P is uniquely demarcated;
For example at Proxy1 ends, so that XMPP is realized as an example, the mark of the session of the message can be by x1 Proxy1/resource1 and b2_P@server.net/b2_P are uniquely demarcated.
Alternatively, in the step of methods described 12, the first user assembly participates in many people's information exchanges, including:
When the first user assembly participates in many people's information exchanges, the member number of the first user set is sent to The message of many people's information exchanges, with the name of the first user set many people's information exchanges, the message are dealt into Other member numbers being transmitted to simultaneously by first information interactive agent in the first user set;
Many people's information exchanges are sent to the message of the first user assembly, by the first information interactive agent The all member numbers being forwarded in the first user set;
The member number of the first user set is with the identification number of many people's information exchanges, the first user assembly With the Session Resources of the member number as unique session identification, the context comprising the session in the message.
In the embodiment of the present invention, for many people's information exchanges or chat group, many people's chats are participated in first user assembly As a example by group, it is assumed that first user assembly is the family x@server.net of A families, many people's chat group numbers are M@ server.net,
When x@server.net participate in many people's chat group M@server.net, the member number of the x@server.net, Such as x1@proxy1/resource1 are sent to the message of many people's chat group M@server.net, by the family number X@server.net are dealt into many people's chat group M@server.net, while the message also has Proxy1 to be transmitted to the A family Other member numbers of the family number in front yard, such as x2@proxy1/resource2, x3@proxy1/resource3;
The many people chat group M@server.net are sent to the family number of A families, such as message of x@server.net, All member numbers that Proxy1 is forwarded to the family number of the A families are acted on behalf of by the chat of the A families.
The member number of the family number of the A families, such as x1@proxy1/resource1 are with the group of many people's chat groups Number M@server.net, user's assembly x@server.net of the A families and the Session Resources of the member number, for example, X1 is used as unique session identification.
For example, by taking XMPP as an example, the user assembly x1 proxy1/resource1 of the A families can be with M Server.net and demarcate as unique session with x@server.net/x1.
Obviously, when first user assembly participates in many people's chat groups, actually represent member number and participate in many people's chats Group;Similarly, the member number of first user assembly can also participate in many people's chat groups, indeed through first user set Number participate in many people to chat the chat of groups.
Alternatively, as shown in figure 3, after the step 12, also including:
Step 13:When it is good friend that the individual number under first information interactive agent adds the second user assembly, plus Good friend invites and is sent to the second user assembly, and good friend's addition result issues the individual under the first information interactive agent Number and the second user set in each member number;Wherein, the plusing good friend was invited by the second information exchange generation Reason is forwarded to each member number in the second user set, and the effective positive or negative message replied at first is effective, after Continuous response message is invalid;
When it is good friend that the first user assembly adds the second user assembly, successfully addition result is issued Each member number in each member number and the second user set in the first user set, unsuccessful addition knot Fruit is sent to the member number in the first user set for initiating to invite;Wherein, the plusing good friend is invited and believed by described second Breath interactive agent is forwarded to each member number in the second user set, the effective positive or negative message replied at first Effectively, follow-up response message is invalid.
Alternatively, comprising the upper and lower of plusing good friend invitation in the effective positive or negative message of the newest response Text.
In the embodiment of the present invention, still by taking A families and B families as an example, the individual under Proxy1 is acted on behalf of when the chat of A families Number, such as when the family number such as y server.net of x1_P proxy1/resource1 addition B families are good friend, B families Each member number of family number can receive the plusing good friend of the x1_P proxy1/resource1 and invite, y1 proxy2/ The effective ack/nack response message replied at first in resource1, y2@proxy2/resource2 is effective, follow-up response Message invalid, Proxy can adopt message suppressor mode suppress the forwarding of corresponding other kinsfolk's subsequent packets of the message To outside server.Such as y1@proxy2/resource1 are first replied after agreement, then it represents that x1_P@agree in the family number of B families The plusing good friend of proxy1/resource1 is invited, and no matter whether y2@proxy2/resource2 agree to;Vice versa, for example such as Fruit y1@proxy2/resouce1 are first replied after refusal, then it represents that the family number refusal x1_P@proxy1/resourc1 of B families Plusing good friend invite, no matter whether y2@proxy2/resoucre2 agree to.
Addition result issues each member number of the family number of the B families, for example, be sent to y1@server.net/y1, Y2@server.net/y2, by proxy2 y1@proxy2/resource1, y2@proxy2/resouce2 and the A are transmitted to Individual number under the Proxy1 of family, i.e. x1_P@sever.net/x1_P, by proxy1 x1_P@proxy1/ are transmitted to resource1。
When the family number of A families, such as x@server.net add the family number of B families, such as y@server.net are During good friend, each member number of the family number of B families can receive the plusing good friend invitation of x server.net, and that what is replied at first has Effectively, follow-up response message is invalid for the positive or negative message of effect, and successfully addition result issues each of the family number of B families Each member number of the family number of member number and A families, unsuccessful addition result is sent to the family of the A families for initiating to invite Number member number, it is assumed for example that the family number of A families, such as x@server.net, add the family number of B families, such as y@ Server.net, be good friend be by member number x1 proxy1/resource1 initiate, it is assumed that the member of the family number of B families Number y1@proxy2/resource1 are replied at first and are refused to invite, then unsuccessful addition result, is sent to x1@ Server.net/x1, by proxy1 x1@proxy1/resouce1 are transmitted to.
As a kind of optional embodiment, can be in family number addition/deletion good friend, Proxy can add agreement to be permitted Section be betrothed to come the mark for identifying addition good friend context (or " track ") information invited and remember this message, so that each Kinsfolk understands the context that the concrete reason or plusing good friend of family number addition/deletion good friend are invited, and adds/deletes to determine Remove;Correspondingly, it is desirable to which final terminal software has the ability to explain the spy of the contextual information carried in plusing good friend requirement message Determine field.
Alternatively, as shown in figure 3, after methods described step 12, also including:
Step 14:When the member number in the first user set is reached the standard grade, on-line message is sent to the first user Each of assembly allows the online good friend of observation, with described in the message identification of the first user assembly and the member number On-line message;
When the good friend of the first user assembly reaches the standard grade, on-line message is sent to every in the first user set Individual member number.
In the embodiment of the present invention, it is assumed that first user assembly for A families family number, when A families family number into When member number reaches the standard grade, on-line message is sent to each of the family x@server.net of the A families and allows online good of observation Friend, with on-line message described in the message identification of the family number of A families and the member number.Such as x1@proxy1/resource1 When reaching the standard grade, the on-line message of the member x1@proxy1/resource1, each permission observation for being sent to x@server.net exists The good friend of line, the message can be identified for that user's assembly x@server.net and associated member's x1 information, for example can be with x@ Server.net/x1 is represented.
When the good friend of the family x@server.net of A families reaches the standard grade, on-line message is sent to the family number of A families Each member number.
Alternatively, as shown in figure 3, after methods described step 12, also including:
Step 15:When information exchange other side is offline, the first user assembly can send deferred information to described Information exchange other side, the deferred information is sent to described information interaction other side by the member number in first user set;
When the first user assembly is offline, the message for being sent to first user assembly saves as deferred information, After the member number in offline first user set is reached the standard grade, the deferred information is sent to into the first user assembly;
When the few members number in the first user set are offline, the offline member number obtains offline after reaching the standard grade When be sent to the message of the first user assembly.
In the embodiment of the present invention, such as when the chat correspondent (personal or family number) of the family number of A families is offline, x@ Server.net can send deferred information to chat correspondent, and the deferred information is the member number of the family number by A families, i.e., certain Individual member number is sent to other side's.
When all member numbers of the family number of A families are offline, then the family x@server.net of A families are offline, send out Deferred information is saved as to the message of x@server.net, after the member number of offline x@server.net is reached the standard grade, will be described Deferred information sends x@server.net, and by x@server.net x@proxy1 are transmitted to;
When the few members number of the family number of A families are offline, such as x1@proxy1/resource1 are online, and x2@ Proxy1/resource2 and x3@proxy1/resource3 are offline, and the family x@server.net of A families are still online, The offline member number, such as when x2@proxy1/resource2 and x3@proxy1/resource3 obtain offline after reaching the standard grade Message.
Alternatively, as shown in figure 3, after methods described step 12, also including:
Step 16:The inquiry request of member number in the first user set and information exchange other side is received, and is fed back Information exchange is recorded, for the member number, the first user assembly described in information exchange record identification belonging to member number and The information of the member.
In the embodiment of the present invention, it is assumed that first user assembly for A families user's assembly, the member number x1@of A families Proxy1/resource1 and chat correspondent all can search for chat record, and for the member number, chat record can identify A families Number x@server.net and x1@proxy1/resource1 information, such as, for the chat member outside family A, may search for To mark x@server.net/x1.
Above-mentioned steps 13~16, without precedence relationship, are choice relations arranged side by side.
A kind of method for realizing user's assembly information exchange provided in an embodiment of the present invention, it is only necessary in information exchange clothes Business device (or chat server) and client directly increase information exchange agent functionality, to information interaction server and information exchange Client has no modification, you can realizes the information exchange function for being combined into unit with user's collection, is easy to quickly lay family, class etc. The social activity of behavior, information exchange (or chat) system.
Correspondingly, third embodiment of the invention additionally provides a kind of device of user's assembly information exchange, such as Fig. 4 institutes Show, including:
User's assembly generation module 20, for forming first user assembly for first user set;
Assembly information exchange module 21, hands over for entering row information as the first participant using the first user assembly Mutually;The information exchange that carries out includes:The information exchange between first participant and the second participant is formed, and/or, institute State first user assembly and participate in many people's information exchanges;Second participant includes one or more of:
The second user assembly that second user set is formed;
Individual number under second information exchange agency;
A member number in the second user set.
Alternatively, wherein, when the second participant is second user assembly, forms first participant and join with second Information exchange between side, including:
Any member number in the first user set is sent to into any member number in the second user set Message, other member numbers in the first user set are transmitted to by first information interactive agent;The message is by described Second information exchange agency is transmitted to all member numbers in the second user set;
When the first user assembly receives the message that the second user assembly sends, the message is by described first Information exchange agency is transmitted to all member numbers of the first user set.
Alternatively, it is described when the second participant is second user assembly, form first participant and the second ginseng Information exchange between side, also includes:
When the member number in the first user set sends message to the member number in the second user set, institute The session for stating message is identified by the member number of message sender and the Session Resources of the member, and the member of message receiver Number and the member Session Resources mark it is unique demarcate, the context comprising the session in the message.
Alternatively, wherein, when the second participant is the lower individual of the second information exchange agency, forms described first and join With the information exchange between side and the second participant, including:
When any member number in the first user set is sent to the individual number under the second information exchange agency Message when, other member numbers in the first user set are transmitted to by first information interactive agent;By the message with The name of the first user assembly issues the individual number under the second information exchange agency.
Alternatively, it is described when the second participant is the individual under the second information exchange agency, form first ginseng With the information exchange between side and the second participant, also include:
When the member number in the first user set sends message to the individual number under second information exchange agency When, the session of the message is identified by the member number of message sender and the Session Resources of the member, and message receiver Individual number and Session Resources mark is unique demarcates, the context comprising the session in the message.
Alternatively, wherein, the first user assembly participates in many people's information exchanges, including:
When the first user assembly participates in many people's information exchanges, the member number in the first user set sends To the message of many people's information exchanges, many people's information exchanges are dealt into the name of the first user assembly, it is described Message is transmitted to other member numbers of the first user set by first information interactive agent simultaneously;
Many people's information exchanges are sent to the message of the first user assembly, by the first information interactive agent It is forwarded to all member numbers of the first user assembly;
The member number of the first user set is with the identification number of many people's information exchanges, the first user assembly With the Session Resources of the member number as unique session identification, the context comprising the session in the message.
Alternatively, as shown in figure 5, described device also includes:
Individual good friend add module 22, uses for the individual number addition described second under the first information interactive agent When family assembly is good friend, plusing good friend is invited and is sent to the second user assembly, and good friend's addition result issues described first Individual number and each member number in the second user set under information exchange agency;Wherein, the plusing good friend is invited logical Cross each member number that the second information exchange agency is forwarded in the second user set, the effective affirmative replied at first Or nack message is effectively, follow-up response message is invalid;
Assembly good friend add module 23, for being when the first user assembly adds the second user assembly During good friend, successfully addition result is issued in each member number and the second user set in the first user set Each member number, unsuccessful addition result is sent to the member number in the first user set for initiating to invite;Wherein, institute State plusing good friend and invite each member number being forwarded to by second information exchange agency in the second user set, at first should Effectively, follow-up response message is invalid for the effective positive or negative message answered.
Alternatively, comprising the upper and lower of plusing good friend invitation in the effective positive or negative message of the newest response Text.
Alternatively, as shown in figure 5, described device also includes:
On-line message notification module 24, for when the member number in the first user set is reached the standard grade, on-line message to be sent out Give each permission observation of the first user assembly online good friend, with the first user assembly and the member Number message identification described in on-line message;
When the good friend of the first user assembly reaches the standard grade, on-line message is sent to every in the first user set Individual member number.
Alternatively, as shown in figure 5, described device also includes:
Deferred information transceiver module 25, for when information exchange other side is offline, the first user assembly send from Line message gives information exchange other side, and it is right that the deferred information is sent to described information interaction by the member number in first user set Side;
When the first user assembly is offline, the message for being sent to first user assembly saves as deferred information, After the member number in offline first user set is reached the standard grade, the deferred information is sent to into the first user assembly;
When the few members number in the first user set are offline, the offline member number obtains offline after reaching the standard grade When be sent to the message of the first user assembly.
Alternatively, as shown in figure 5, described device also includes:
Information exchange record queries module 26, for receiving the first user set in member number and information exchange pair The inquiry request of side, and feedback information intersection record;Wherein, for the member number, member described in information exchange record identification The information of first user assembly and the member belonging to number.
A kind of method for realizing user's assembly information exchange provided in an embodiment of the present invention, it is only necessary in information exchange clothes Business device (or chat server) and client directly increase information exchange agent functionality, to information interaction server and information exchange Client has no modification, you can realizes the information exchange function for being combined into unit with user's collection, is easy to quickly lay family, class etc. The social activity of behavior, information exchange (or chat) system.
The present invention also provides a kind of information exchange agency, including any of the above-described described device, and described device adopts XMPP Protocol realization;
The present invention also provides a kind of home gateway, including above- mentioned information interactive agent, wherein, user's assembly is family Front yard chat number.
Below with an one exemplary embodiment, embodiments of the invention are described in further detail.For example,
Chat being provided with the home gateway of A families and acting on behalf of Proxy1, chat is provided with the home gateway of B families Act on behalf of Proxy2;Proxy1, Proxy2 are referred to as Proxy, i.e. family's chat agency;It is assumed that the internet chat server of XMPP For@server.net.
By taking A families as an example:
When first kinsfolk of A families signs in proxy1, the resource that proxy1 is logged in from kinsfolk In extract x (n) and resource (n), proxy1 using " x (n) " as selected outer net JID the login of resource parts External network server, the session generated in external network server is demarcated:“x@server.net/x(n)”.So in external network server Resource (n) can be used between session demarcation and kinsfolk:X (n) is associated.The kinsfolk of each A family logs in this Proxy1 can be all triggered during ground proxy1 log in outer net chat server in this way, so meeting on outer net chat server The session that there is a plurality of outer net JID is demarcated, and when needing individually to process the session of certain kinsfolk, can be closed using this mapping System is being processed corresponding information and be operated.
For example, so that XMPP is with reference to realizing as an example:
First, Proxy logs in chat server using outer network No.:(by taking family 1 as an example)
PROXY1 uses outer network No. Ox, and as normal personal chat ID chat server is logged in, and triggers the rule for logging in Then can be with using following any one mode:
1. trigger when first kinsfolk signs in Ox and logged in chat server;
2.PROXY services are just logged in when opening;
3. logged in by command triggers;
Kinsfolk logs in PROXY and completes initialization using local chat ID, and optional 3 kinds of strategies enter to Intranet and outer network No. Go and associate and initialize, 3 kinds of modes respectively have special effect to be selected for the scene for extending:(below by taking family 1 as an example Illustrate)
(1), family number is using triggering account policy:When first kinsfolk signs in proxy, proxy is from family X (n) and resource (n) is extracted in the resource of member login, proxy is using " x (n) " as selected outer net JID Resource part log in external network server, generate external network server on session demarcate:“x@server.net/x(n)”. Resource (n) can be used between session demarcation and kinsfolk so in external network server:X (n) is associated.Each family Proxy can be all triggered during the local proxy of member login and log in outer net chat server in this way, so take in outer net chat The session that can there is a plurality of outer net JID on business device is demarcated, and when needing individually to process the session of certain kinsfolk, can use this Individual mapping relations are contrasting the information wanted and processed and be operated.
XMPP realizes reference:
1st, the member 2 of family 1 logs in proxy1 using local account 2:
X2@proxy1/resource2->Log in->proxy1
2nd, trigger outer network No. Ox and use resource:" x2 " is logged in:
x@server.net/x2->Log in->server
3rd, proxy receives server returning results:
x@server.net/x2<- login successfully/fail<-server
4th, forwarding after proxy is processed returns result to kinsfolk:
X2@proxy1/resource2<- login successfully<-proxy1
(2) family number is using start account policy:Because proxy, start will sign in proxy prior to kinsfolk, because This, proxy cannot sign in in the message of proxy from kinsfolk and obtain resource information, now, can be with the ID of proxy Log in XMPP server as resource information.Follow-up each kinsfolk x (n) adopts when logging in and triggers and logs in phase With strategy organizing resource (n):X (n) incidence relations.
XMPP implementation examples:
1st, Proxy1 starts automated log on:
x@server.net/proxy1->Log in->server
x@server.net/proxy1<- login successfully<-server
2nd, the member 1 of family 1 is logged in using local account 1:
x1@proxy1/resource1->Log in->proxy1
3rd, server is issued after proxy1 conversions:
x@server.net/x1->Log in->server
4th, server returns login result to Proxy:
x@server.net/x1<- login successfully/fail<-server
5th, proxy issues kinsfolk after processing:
x1@proxy1/resource1<- login successfully/fail<-proxy1
(3) family number is logged in using order:Proxy is subjected to log on command, and order can include kinsfolk's local ident, The outer net resource contents of mapping.It has been built such that local kinsfolk and the relation after Proxy agencies.
XMPP is with reference to realization referring to both the above login mode.
2nd, the chat group on proxy logs in
Proxy keeps the information of each local group and participant according to local group's algorithm.As family member login proxy When, proxy judges which local group the member belongs to, proxy be the local mass-sending that each member participates in rise plus group invitation to This kinsfolk.
3rd, buddy list and deferred information are obtained after kinsfolk logs in:
1st, member x (n) of family 1 using this locality x (n) log in when, between this locality x (n) and proxy1 using Lx (n) come This kinsfolk is demarcated, it is to sign in server after Ox/x (n) that Proxy1 acts on behalf of this kinsfolk modification From domain.
x(n)@proxy1/resource(n)->Log in->proxy
x@server.net/x(n)->Log in->server
2nd, server sends the session that buddy list, the offline buddies application of Ox etc. message is logged in this, these Message is received by Proxy1.
The online message of good friend y:
Presence from:y@server.net/resource(y)
To:x@server.net
3rd, it is to send these message to Lx (n) after Lx (n) that to domains are changed after Proxy1 is received.
Presence from:y@server.net/resource(y)
To:x(n)@proxy1/resource(n)
4th, Proxy1 checks whether this locality x (n) belongs to any local group and proxy1 does not also issue the kinsfolk Plus group's message or also issued plus group's message do not responded in a period of time, if it is, be respectively directed to these ordering In pocket transmission add group message to Lx (n), plus group's Message Processing and flow process see group create and extinction chapters and sections
5th, local number is entered after group (if any), and Proxy then pushes information off-line to this kinsfolk according to history.
4th, create proxy locally to chat group:Proxy is optional to have 3 kinds of triggerings to set up local family's chat group.
(1) send message trigger and create family chat group:(so that 1 member of family 1 initiates message as an example)
1st, the member x1 of family 1 sends chat message Message1 to other side Oy;
Message From:x 1@proxy1/resource1
To:y@server.net
Id:message1
Body:This is messsage1
2nd, PROXY1 judges that (LG1, Oy) group whether there is, if it is present according to the process of group's messaging;If do not deposited In the local group's information of then foundation (LG1, Oy), and distribute chat group ID to the group, it is assumed that group ID=group ID1;
Such as group ID1=" homechat/y "
3rd, PROXY1 carries the group invitation message of (context such as information, Message1 key messages of chat group ID1, Oy) To kinsfolk Lx (n) for sending out message, indicate that Lx (n) switchs to group chat from one-to-one chat, Message1 message sends successfully, Lx If n () is added without the group ID1 that chats, chat group is removed, this family's chat terminates.If Lx (n) adds chat group ID1 Continue following steps;
The member for initiating message, the x1 in this example are sent to first:
From:homechat/y@proxy1
To:x1@proxy1/resource1
Muc invite:From y@server.net (or from y@server.net/resource (y))
Reason:homechat x1@proxy1/resource1to y@server.net:send_message.
Explanation:Reason represents that the cause of group chat is that kinsfolk 1 initiates the chat to y, x1@proxy1/ Resource1 is full address JIDs of the kinsfolk x1 on Proxy1,.
Associated using the reason domains of agreement " reason " of this invitation, that is, " track " of context of chatting; Homechat is shown to be one family chat, and homechat/y specify that the chat for being this family and other side y, y@server.net It is that Proxy1 receives x1 and sends the pure JID in domains inside message.X1 can send out y@server.net and be likely to send out y@ Server.net/resource (y) this depend on chat state at that time.
Member 1 sees context track, determines to add, and can send:
Presence to:homechat/y@proxy1/nicke(1)
(Nicke (1) is the pet names of the x1 in this chat group, can be made by oneself by member x1)
Proxy1 returns members list and gives member x1:
Message in Presence sections
from:homechat/y@proxy1/nicke(y)
To:x1@proxy1/resource1
Item:J id domains=y@server.net/resource (y)
Nicke domains=nicke (y)
(Nick(y):It is the nickes of the y in this chat group of proxy1 additions, its effect can be used to associate the y of outer net With the y in chatroom on local proxy1.In addition, nicke (y) information, can adopt the full address JID compositions of y, for example, y@ server.net/resouce(y).Actually this information comes from the to domains of the message of x1 transmissions, when without resource During (y) information, the desirable y@server.net of nicke (y).)
From:homechat/y@proxy1/nicke(1)
To:x1@proxy1/resource1
Item id:x1@proxy1/resource(1):nicke(1)
Explanation:In addition to y, the member how many has been added to will send out a this message how many.
If member x1 refusals add the group, proxy1 to cancel the group, proxy1 will return error message to family into Member x1:
Member x1 can send:
Message to:homechat/y@proxy1
Muc decline to:homechat/y@proxy1
Proxy1 is sent to member x1:
From:homechat/y@proxy1
To:x1@proxy1/nicke(1)
Error:could not use homechat service if not accepts to join this room.
Kinsfolks of the 4.PROXY1 respectively to LG1 not in group is initiated into group invitation, carries group ID1, the letter of other side Oy Breath (the such as pet name, chat ID etc.), and use this particular chat meeting between (group ID1, Oy information) mark family 1 and Oy Words;
For example:It is sent to member x2
From:homechat/y@proxy1
To:x2@proxy/resource2
Muc invite:from y@server.net/resource(y)
Reason:homechat x1@proxy1/resource1to y@server.net:send_message
Reason domain representations initiate the group that reason is that kinsfolk sends out message and builds to y.
5. the kinsfolk having logged on receives the session track prompting group that can be carried according to the invitation into group invitation, terminal Contextual information to kinsfolk, kinsfolk if this group is had a mind to confirmation enter the group, otherwise refuse.
Now, into the kinsfolk of group ID1, including Lx (n) will be understood that into chat group in person by context Homechat/y@proxy1/nicke (y) sends out message, is exactly that the mode chatted with family sends out message to Oy.
6., if kinsfolk is into the group, it is group ID1 that PROXY1 changes the to domains of Message1, and from domains are changed to group ID1/nick (n), issues all kinsfolks for adding this chat group, so that the information of family's chat reaches shared context Purpose.(other group's history messages before the kinsfolk is introduced into group are also similar process, for keeping context)
For example:Message is sent to member 2
Message From:homechat/y@proxy1/nicke(1)
Type:groupchat
To:x2@proxy1/resource2
Id:message1
Body:from nicke(1)to nicke(y):This is messsage1 (i.e. session track)
Delay:From='homechat/y@proxy1/ member 1'stamp='2000-01-02T15:44:14Z'
7.PROXY1 modification Message1 from domains be Ox/resource, resource be send message family into The corresponding ID of member, by taking this kinsfolk x1 as an example, resource=x1.The message is sent to Oy.
Message From:x@server.net/x1
To:Y@server.net//or To:The resource of y@server.net/y
Id:message1
Body:This is messsage1
8.PROXY is set up after group, and in follow-up message forward process step pocket transmission and receiving step are seen.
9. the member of family 1 exits group
For example member 2 exits:
Presence to:homechat/y@proxy1
Type:unavailable
(2), receive message trigger and set up the local groups of proxy:
1. other side Oy sends chat message Message2 to family 1;
Message From:y@server.net/resource(y)
To:x@server.net
Id:message2
Body:This is messsage2
2.Message2 message reaches PROXY1;
3.PROXY1 judges that (LG1, Oy) mapping whether there is, if it is present receiving according to group
Send out Message Processing;Locally chat group if there is no (LG1, Oy) is then set up.Assume newly-established chat group ID= ID2, (LG1, Oy).
Family 1 members of the 4.PROXY1 respectively to LG1 not in group is initiated into group invitation, is carried
The information (the such as pet name, chat ID etc.) of chat group ID2, other side Oy, with (chat group ID2, Oy information) mark one Individual session;
For example it is sent to member x2:
From:homechat/y@proxy1
To:x2@proxy1/resource2
Muc invite:from y@server.net/resource(y)
Reason:homechat y@server.net/resource(y)to x@server.net:receive_ message
Explanation:The reason for reason represents initiation group chat is that y have sent message to family number;
The reason for this invitation is associated using the reason domains of agreement or track, homechat is shown to be one family and is chatted My god, y@server.net/resource (y) is that Proxy1 receives the full address JID that y sends the y inside message, x@ Server.net is that Proxy1 receives y and sends to domains inside message, and receive_message is represented and received message and build Group.
5. kinsfolk is received into group invitation, and terminal can point out the chat group context and counter-party information of correlation, if The confirmation of wish this group enters the group, otherwise refuses, when all local kinsfolks are rejected for entry into this group, proxy agencies Ox to Oy sends message refusal information;
Here, need to arrange time-out time, all member's refusals within the time for arranging, or between time-out, without member's meaning It is willing to enter, then refuse information.If without online member, i.e. deferred information, reaching the standard grade beginning timing from there is member.
Such as kinsfolk x2 sends out and adds group's message to proxy1:
Presence to:homecha/y@proxy1/nicke(2)
Proxy1 returns members list to member 2:
Presence from:homechat/y@proxy1
To:x2@proxy1/resource2
Item id:y@server.net/resource(y):nicke(y)
Presence from:homechat/y@proxy1
To:x2@proxy1/resource2
Item id:x1@proxy1/resource1:nicke(1)
Presence from:homechat/y@proxy1
To:x2@proxy1/resource2
Item id:x2@proxy1/resource2:nicke(2)
Explanation:In addition to y, there are several members having been added to, message as just sending out several.
The to domains of 6.PROXY1 modification Message2 are changed to crowd ID2, and from domains are changed to crowd ID2/resource (y), issue Add all kinsfolks of this chat group.
Such as kinsfolk x1 will receive the message that proxy1 sends:
Message From:homechat/y@proxy1/nickey(y)
Type:groupchat
To:x1@proxy1/resource1
Id:message2
Body:from y@server.net to x@server.net:This is messsage2
Kinsfolk x2 receives message:
Message From:homechat/y@proxy1/nicke(y)
Type:groupchat
To:x2@proxy1/resource2
Id:message2
Body:from y@server.net to x@server.net:This is messsage2
7. the follow-up messaging of kinsfolk is shown in pocket transmission and receiving step.
(3), order creates family chat group:(by taking family 1 as an example)
The chat group for creating is operated by proxy keepers, a kind of side of the chat that flexibly founds a family on demand can be provided Formula.
1. order normal form CreateHomeChat (Oy) is issued to Proxy1.
2.PROXY1 judge (LG1, Oy) mapping whether there is, if there is then do not resettle chat group, and return (LG1, Oy) relevant information.Unique chat group ID1 is mapped and distributes if there is no (LG1, Oy) is then set up;
Kinsfolks of the 3.PROXY1 respectively to LG1 not in group initiates to carry (the letter of chat group ID3, Oy into group invitation Breath);
For example it is sent to member x2:
From:homechat/y@proxy1/resource(proxy1)
To:x2@proxy1/resource2
Muc invite:from homechat/y@proxy1/(proxy1)
Reason:homechat x@server.net to server.net/resource(y):proxy_creat
Herein, the reason for Reason domain representations initiate group chat is that x families number need to send message to y.
4. kinsfolk receives and invites into group message, and terminal can point out the information of the context of crowd ID3 and other side Oy, family Member has a mind to the confirmation of this group and enters the group, otherwise refuses, if whole kinsfolks refuse, the order failure, by Proxy1 returns called side result and otherwise returns chat group's ID3 details to called side;
5. kinsfolk will recognize that this is family chat group according to (information of chat group ID3, Oy) for receiving, to merely It is exactly that the mode chatted with family sends out message to Oy that its group ID3 sends out message.
6. follow-up Message Processing is by group's messaging flow process.
5th, group's messaging:
A), kinsfolk sends out message
1.LG1:When the mode that Lx (n) families chat is to Oy transmission message, according to (information of chat group ID1, Oy) Message m essage4 is sent out to chat group ID1;
Kinsfolk x1 sends message:
Message From:x1@proxy1/resource1
Type:groupchat
To:homechat/y@proxy1/nicke(y))
Id:message4
Body:messsage4
2.Proxy is received after message, and for other kinsfolks of family 1, the to domains for changing Message4 are group " ID1/ Nicke (n) ", adds From nicke (n) in message body, such as be Fromnicke (1) in this example, and this is chatted to issue addition All kinsfolks of group.
Such as message is transmitted to member 2:
Message From:homechat/y@proxy1/nicke(1)
Type:groupchat
To:x2@proxy1/resource2
Id:message4
Body:from nicke(1)to nicke(y):messsage4
Herein, the from pet names represent original sender in Message4 body contents, and the to pet names represent the target of transmission, This message is using as the trace information of chat.
3. the from domains of couple Oy, PROXY modification Message4 are Ox/x (n), and sending to Oy for " Ox/x1 " in this example should Message.
Message From:x@server.net/x1
To:y@server.net/resource(y)
Id:message4
Body:This is messsage4
B) kinsfolk receives message
1.Oy to Ox or Ox/x (n) sends message Message5;(as a example by issue x1)
Message From:y@server.net/resource(y)
To:X@server.net/x1//or To:x@server.net
Id:message5
Body:This is messsage5
2.Proxy1 is received after message, all members to family x1, and proxy1 is according to (information of chat group ID1, Oy) The to domains of modification Message5 are chat group ID1, and issue all kinsfolks for adding this chat group.
Such as kinsfolk x1 receives message:
Message From:homechat/y@proxy1/nicke(y)
Type:groupchat
To:x1@proxy1/resource1
Id:message5
Body:from nicke(y)to nicke(1):This is messsage5//or Body:from nicke(y) toto x:This is messsage5 are when the message to domain that Y sends out is x@server.net.
Kinsfolk 2 receives message:
Message From:homechat/y@proxy1/nicke(y)
Type:groupchat
To:x2@proxy1/resource2
Id:message5
Body:from nicke(y)to nicke(1):This is messsage5//or Body:from nicke(y) to x:This is messsage5 are when the message to domain that y sends out is x@server.net.
6th, local group withers away:(the following is several triggering situations of extinction)
A) local group's triggering sets up unsuccessful:When sending out message trigger and building group, if send message kinsfolk's refusal plus Enter family group, then the group withers away.When receiving message trigger and building group, if all kinsfolks refuse to add the newly-built group, The group withers away, or all kinsfolks add the group both nonreplys to the invitation that proxy sends within the time being previously set Also without the message for adhereing to this group, then the group withers away.
B) PROXY can delete group according to following strategy any combination:
1. a period of time interior one family and other side are without interacting message;
2. all deferred informations of all members have all been taken away in one family and other side and family;
3. deleted using command forces.
7th, family number addition/deletion good friend:
Kinsfolk can both add other side can also be added to good friend for good friend, the following is different scenes:
A) kinsfolk's addition other side (can be that family sees that following kinsfolk is added to good friend, can be common list Solely chat ID, operates and is operated for normal chat good friend addition) it is good friend.(below by taking x1 as an example)
1. listed family x1 member Lx (n) addition other side a is good friend;
X1 sends the example of message:
Presence from:x1@proxy1/resource 1
To:a@server.net
Type:subscribe
2. this addition message reaches Proxy1, and Proxy1 is replaced using the session of this resource demarcation of Ox/x (n) Lx (n) initiates to apply that server performs normal addition good friend operation to chat server, and to a good friend's addition message is initiated.
Presence from:x@server.net/x1
To:a@server.net
Type:subscribe
After 3.a agrees to or refuses to add, the message of addition good friend is sent to Ox;
Presence from:a@server.net
To:x@server.net
Type:subscribed
Additionally, a may also can send out a piece of news adds family 1 as good friend, b) process is seen.
It is Lx (j) that 4.Proxy1 receives this message modification to domain, (is sent to Lx (j) after j=(1 ... i);
Presence from:a@server.net
To:x1@proxy/resource1
Type:subscribed
Presence from:a@server.net
To:x2@proxy1/resource2
Type:subscribed
(other members analogize)
B), kinsfolk is added to good friend
1. listed a additions family 1 is good friend, and for a, family 1 and common chat number have no difference;
Presence from:a@server.net
To:x@server.net
Type:subscribe
2. server can issue the message of addition good friend's application on all session for having signed in server of Ox. Ox/x (n) is demarcated in the session of Session.It is that backward correspondence kinsfolk turns Lx (n) that Proxy1 is received and change after this message to domains Send out solicitation message.
Presence from:a@server.net
To:x1@proxy1
Type:subscribe
Presence from:a@server.net
To:x2@proxy1
Type:subscribe
(other kinsfolk's message are by that analogy)
3. kinsfolk receives and confirm after this message addition or refuse, and addition or refuse information change from via Proxy1 Domain is that corresponding Ox/x (n) sends to server, and server performs subsequent operation according to corresponding logic, in general returns at first The agreement or refusal returned is effectively operation.
Such as x1 agrees to addition, sends out two message,
First expression will add other side:
Presence from:x1@proxy1
To:a@server.net
Type:subscribe
Server is issued after Proxy1 modifications:
Presence from:x@server.net
To:a@server.net
Type:subscribe
Article 2 agrees that other side adds oneself:
Presence from:x1@proxy1
To:a@server.net
Type:subscribed
Server is issued after Proxy modifications:
Presence from:x@server.net
To:a@server.net
Type:subscribed.
4.a receives two message of the above, and for subscribed message, a understands family 1 and agrees to addition.For Response is completed good friend's adding procedure by subscribe message, a, and via Proxy2, server the proxy1 of family 1 is sent.
Presence from:a@server.net
To:x@server.net
Type:subscribed
5. the good friend for adding certainly through both sides, by server triggerings the information such as roster are updated.
8th, another kind of optional family number addition/deletion good friend's method for carrying session track:
Kinsfolk can both add other side can also be added to good friend for good friend, the following is different scenes:
A) kinsfolk's addition other side (can be that family sees that following kinsfolk is added to good friend, can be common list Solely chat ID, operates and is operated for normal chat good friend addition) it is good friend.(below by taking x1 as an example)
1. listed family x1 member Lx (n) addition other side a is good friend;
X1 sends message instances:
To:a@server.net
Type:subscribe
2. this addition message reaches Proxy1, and Proxy1 is replaced using the session of this resource demarcation of Ox/x (n) Lx (n) initiates to apply that server performs normal addition good friend operation, and now, Proxy1 can add agreement to chat server The field of permission is representing the trace information of addition and remember the mark of this message.Good friend's addition message is initiated to a.
Presence from:x@server.net
To:a@server.net
Type:subscribe
Reason:x@server.net/x1subscribe to a@server.net
3. this message is transmitted to Proxy2 via server, and proxy2 records this track, changes and forward the message to a (trace information can turn to turn).A agrees to or refuses the message that addition good friend is sent after addition to Ox;The message is via proxy2 Server is issued after former trace information in addition record;
To:x@server.net
Type:subscribed
Reason:x@server.net/x1subscribe to a@server.net
Note:A may also can send out a piece of news and add family 1 as good friend, see b) process.
It is Lx (j) that 4.Proxy1 receives this message modification to domain, (Lx (j), matching track letter is sent to after j=(1 ... i) Breath guarantees that trace information accurately adds afterwards suitable field and kinsfolk is issued in message;
Presence from:a@server.net
To:x1@proxy1
Type:subscribed
Reason:x@server.net/x1subscribe to a@server.net
Presence from:a@server.net
To:x2@proxy1
Type:subscribed
Reason:x@server.net/x1subscribe to a@server.net
(other members analogize)
5. follow-up server pushes buddy list to both sides member.
B) kinsfolk is added to good friend
1. listed a additions family 1 is good friend, and for a, family 1 and common chat number have no difference;A's Proxy2 to the addition of and issue server after session trace information.
To:x@server.net
Type:subscribe
Reason:a@server.net subscribe to x@server.net
2. server can issue the message of addition good friend's application on all session for having signed in server of Ox. Ox/x (n) is demarcated in the session of Session.It is Lx (n) that Proxy1 is received and change after this message to domains, after recording the session track To correspondence kinsfolk's forwarding solicitation message.
(assuming that Proxy1 forwarded session demarcation)
Presence from:a@server.net
To:x1@proxy1
Type:subscribe
Reason:a@server.net subscribe to x@server.net
Presence from:a@server.net
To:x2@proxy1
Type:subscribe
Reason:a@server.net subscribe to x@server.net
(other kinsfolk's message are by that analogy)
3. kinsfolk receives and confirm after this message addition or refuse, and addition or refuse information compare session via Proxy1 Trace information and modification from domains are that corresponding Ox/x (n) sends to server, and server performs follow-up according to corresponding logic Operation, the agreement in general returning at first or refusal are effectively operation.
Such as x1 agrees to addition, sends out two message and is:
First expression will add other side:
Presence from:x1@proxy1
To:a@server.net
Type:subscribe
Server is issued after Proxy modifications:
Presence from:x@server.net
To:a@server.net
Type:subscribe
Reason:a@server.net subscribe to x@server.net
Article 2 agrees that other side adds oneself:
Presence from:x1@proxy1
To:a@server.net
Type:subscribed
Server is issued after Proxy modifications:
Presence from:x@server.net
To:a@server.net
Type:subscribed
Reason:a@server.net subscribe to x@server.net
4.a receives two message of the above, and for subscribed message, a understands family 1 and agrees to addition.For Response is given response and completes good friend's adding procedure by subscribe message, a, and via proxy2, server family 1 is sent to proxy1。
Presence from:a@server.net
To:x@server.net
Type:subscribed
Reason:a@server.net subscribe to x@server.net
5. the good friend for adding certainly through both sides, by server triggerings the information such as roster are updated
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be computer or network Equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (24)

1. it is a kind of to realize the method that user's assembly participates in information exchange, it is characterised in that to include:
First user assembly is formed for first user set;
Information exchange is carried out as the first participant using the first user assembly;The information exchange that carries out includes:Formed Information exchange between first participant and the second participant, and/or, the first user assembly participates in many people's information Interaction;
Second participant includes one or more of:
The second user assembly that second user set is formed;
Individual number under second information exchange agency;
A member number in the second user set.
2. the method for claim 1, it is characterised in that wherein, when the second participant is second user assembly, shape Include into the information exchange between first participant and the second participant:
Any member number that any member number in the first user set is sent in the second user set disappears Breath, by first information interactive agent other member numbers in the first user set are transmitted to;The message is by described second Information exchange agency is transmitted to all member numbers in the second user set;
When the first user assembly receives the message that the second user assembly sends, the message is believed by described first Breath interactive agent is transmitted to all member numbers of the first user set.
3. method as claimed in claim 2, it is characterised in that when the second participant is second user assembly, form institute The information exchange between the first participant and the second participant is stated, is also included:
It is described to disappear when the member number in the first user set sends message to the member number in the second user set The session of breath by message sender member number and the member Session Resources mark, and the member number of message receiver and The Session Resources mark of the member is unique to demarcate, the context comprising the session in the message.
4. the method for claim 1, it is characterised in that wherein, under the second participant is the second information exchange agency Individual when, form the information exchange between first participant and the second participant, including:
The individual's number being sent under second information exchange agency when any member number in the first user set disappears During breath, other member numbers in the first user set are transmitted to by first information interactive agent;By the message with described The name of first user assembly issues the individual number under the second information exchange agency.
5. method as claimed in claim 4, it is characterised in that the individual under the second participant is the second chat agency Number when, form the information exchange between first participant and the second participant, also include:
When the member number in the first user set sends message to the individual number under second information exchange agency, institute The session for stating message is identified by the member number of message sender and the Session Resources of the member, and the individual of message receiver Number and Session Resources mark is unique demarcates.
6. the method for claim 1, it is characterised in that wherein, the first user assembly participates in many people's information and hands over Mutually, including:
When the first user assembly participates in many people's information exchanges, the member number of the first user set is sent to many people The message of information exchange, with the name of the first user assembly many people's information exchanges are dealt into, and the message is by first Information exchange agency is transmitted to other member numbers in the first user set;
Many people's information exchanges are sent to the message of the first user assembly, are forwarded by the first information interactive agent To all member numbers in the first user set;
The member number of the first user set is with the identification number of many people's information exchanges, the first user assembly and institute The Session Resources of member number are stated as unique session identification, the context comprising the session in the message.
7. the method for claim 1, it is characterised in that also include:
When it is good friend that the individual number under first information interactive agent adds the second user assembly, plusing good friend is invited and sent To the second user assembly, good friend's addition result issues the individual number and described second under the first information interactive agent Each member number in user's set;Wherein, the plusing good friend invitation is forwarded to described by second information exchange agency Each member number in second user set, the effective positive or negative message replied at first effectively, follow-up response message without Effect;
When it is good friend that the first user assembly adds the second user assembly, successfully addition result issues described Each member number in each member number and the second user set in first user set, unsuccessful addition result is sent out Give the member number in the first user set for initiating to invite;Wherein, the plusing good friend is invited and handed over by second information Mutually agency is forwarded to each member number in the second user set, and the positive or negative message replied at first is effective, subsequently Response message is invalid.
8. method as claimed in claim 7, it is characterised in that also include:
The context invited comprising the plusing good friend in the positive or negative message replied at first.
9. the method for claim 1, it is characterised in that also include:
When the member number in the first user set is reached the standard grade, on-line message is sent to each of the first user assembly The good friend for allowing observation online, with on-line message described in the message identification of the first user assembly and the member number;
When the good friend of the first user assembly reaches the standard grade, on-line message be sent in the first user set each into Member number.
10. the method for claim 1, it is characterised in that also include:
When information exchange other side is offline, it is right to described information interaction that the first user assembly can send deferred information Side, the deferred information is sent to described information interaction other side by the member number in first user set;
When the first user assembly is offline, the message for being sent to first user assembly saves as deferred information, when from After member number in the first user set of line is reached the standard grade, the deferred information is sent to into the first user assembly;
When the few members number in the first user set are offline, send out when the offline member number obtains offline after reaching the standard grade Give the message of the first user assembly.
11. the method for claim 1, it is characterised in that also include:
Receive the inquiry request of member number in the first user set and information exchange other side, and feedback information interaction note Record, for the member number, the first user assembly and the member described in information exchange record identification belonging to member number Information.
12. a kind of devices for realizing user's assembly information exchange, it is characterised in that include:
User's assembly generation module, for forming first user assembly for first user set;
User's assembly information exchange module, hands over for entering row information as the first participant using the first user assembly Mutually;The information exchange that carries out includes:The information exchange between first participant and the second participant is formed, and/or, institute State first user assembly and participate in many people's information exchanges;
Second participant includes one or more of:
The second user assembly that second user set is formed;
Individual number under second information exchange agency;
A member number in the second user set.
13. devices as claimed in claim 12, it is characterised in that wherein,
When the second participant is second user assembly, the information formed between first participant and the second participant is handed over Mutually, including:
Any member number that any member number in the first user set is sent in the second user set disappears Breath, by first information interactive agent other member numbers in the first user set are transmitted to;The message is by described second Information exchange agency is transmitted to all member numbers in the second user set;
When the first user assembly receives the message that the second user assembly sends, the message is by the first information Interactive agent is transmitted to all member numbers of the first user set.
14. devices as claimed in claim 13, it is characterised in that described when the second participant is second user assembly, The information exchange between first participant and the second participant is formed, is also included:
It is described to disappear when the member number in the first user set sends message to the member number in the second user set The session of breath by message sender member number and the member Session Resources mark, and the member number of message receiver and The Session Resources mark of the member is unique to demarcate, the context comprising the session in the message.
15. devices as claimed in claim 14, it is characterised in that wherein,
When the second participant is the individual under the second information exchange agency, first participant and the second participant are formed Between information exchange, including:
The individual's number being sent under second information exchange agency when any member number in the first user set disappears During breath, other member numbers in the first user set are transmitted to by first information interactive agent;By the message with described The name of first user assembly issues the individual number under the second information exchange agency.
16. devices as claimed in claim 15, it is characterised in that described under the second participant is the second information exchange agency Individual when, form the information exchange between first participant and the second participant, also include:
When the member number in the first user set sends message to the individual number under second information exchange agency, institute The session for stating message is identified by the member number of message sender and the Session Resources of the member, and the individual of message receiver Number and Session Resources mark is unique demarcates, the context comprising the session in the message.
17. devices as claimed in claim 12, it is characterised in that wherein, the first user assembly participates in many people's information Interaction, including:
When the first user assembly participates in many people's information exchanges, the member number in the first user set is sent to institute The message of many people's information exchanges is stated, many people's information exchanges, the message are dealt into the name of the first user assembly Other member numbers of the first user set are transmitted to by first information interactive agent simultaneously;
Many people's information exchanges are sent to the message of the first user assembly, are forwarded by the first information interactive agent To all member numbers of the first user assembly;
The member number of the first user set is with the identification number of many people's information exchanges, the first user assembly and institute The Session Resources of member number are stated as unique session identification, the context comprising session in the message.
18. devices as claimed in claim 12, it is characterised in that also include:
Individual's good friend's add module, for the individual number under the first information interactive agent second user set is added Number for good friend when, plusing good friend is invited and is sent to the second user assembly, and good friend's addition result is issued the first information and handed over Each member number in individual number and the second user set under mutually acting on behalf of;Wherein, the plusing good friend is invited by described Second information exchange agency is forwarded to each member number in the second user set, the positive or negative message replied at first Effectively, follow-up response message is invalid;
Assembly good friend's add module, for adding the second user assembly for good friend when the first user assembly When, successfully addition result issues each in each member number and the second user set in the first user set Member number, unsuccessful addition result is sent to the member number in the first user set for initiating to invite;Wherein, it is described to add Good friend invites each member number being forwarded to by second information exchange agency in the second user set, replys at first Effectively, follow-up response message is invalid for positive or negative message.
19. devices as claimed in claim 18, it is characterised in that
The context invited comprising the plusing good friend in the effective positive or negative message replied at first.
20. devices as claimed in claim 12, it is characterised in that also include:
On-line message notification module, for when the member number in the first user set is reached the standard grade, on-line message to be sent to institute The online good friend of each permission observation of first user assembly is stated, with the first user assembly and the letter of the member number The breath mark on-line message;
When the good friend of the first user assembly reaches the standard grade, on-line message be sent in the first user set each into Member number.
21. devices as claimed in claim 12, it is characterised in that also include:
Deferred information transceiver module, for when information exchange other side is offline, the first user assembly to send deferred information Other side is interacted to described information, it is right that the deferred information is sent to described information interaction by the member number in first user set Side;
When the first user assembly is offline, the message for being sent to first user assembly saves as deferred information, when from After member number in the first user set of line is reached the standard grade, the deferred information is sent to into the first user assembly;
When the few members number in the first user set are offline, send out when the offline member number obtains offline after reaching the standard grade Give the message of the first user assembly.
22. devices as claimed in claim 12, it is characterised in that also include:
Information exchange record queries module, for receiving the first user set in member number and information exchange other side look into Ask request, and feedback information intersection record;Wherein, for the member number, belonging to member number described in information exchange record identification First user assembly and the member information.
23. a kind of information exchange agencies, it is characterised in that including claim 12~22 any one described device.
24. a kind of home gateways, it is characterised in that act on behalf of including the information exchange described in claim 22, wherein the user Assembly is family's chat number.
CN201610917855.XA 2016-10-20 2016-10-20 Method and device for realizing information interaction of user set number Active CN106656526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610917855.XA CN106656526B (en) 2016-10-20 2016-10-20 Method and device for realizing information interaction of user set number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610917855.XA CN106656526B (en) 2016-10-20 2016-10-20 Method and device for realizing information interaction of user set number

Publications (2)

Publication Number Publication Date
CN106656526A true CN106656526A (en) 2017-05-10
CN106656526B CN106656526B (en) 2021-06-01

Family

ID=58856628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610917855.XA Active CN106656526B (en) 2016-10-20 2016-10-20 Method and device for realizing information interaction of user set number

Country Status (1)

Country Link
CN (1) CN106656526B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535755A (en) * 2019-08-30 2019-12-03 上海掌门科技有限公司 A kind of method and apparatus for deleting conversation message
CN110798398A (en) * 2019-11-14 2020-02-14 江苏满运软件科技有限公司 Group message management method, device, equipment and medium
CN113569146A (en) * 2021-07-27 2021-10-29 网易传媒科技(北京)有限公司 Message pushing method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040170263A1 (en) * 2003-02-28 2004-09-02 Michelle Michael Dynamic presence proxy for call sessions
US20050060417A1 (en) * 2003-09-16 2005-03-17 Rose Keith R. Automated electronic personal preference & proxy network
CN101494619A (en) * 2008-12-30 2009-07-29 腾讯科技(深圳)有限公司 Communication method and device for instant communication system
CN103312590A (en) * 2013-03-27 2013-09-18 北京小米科技有限责任公司 Method, device, receiving terminal, transmitting terminal and equipment for group communication
CN104734861A (en) * 2013-12-23 2015-06-24 成都鼎桥通信技术有限公司 Communication method between different standard cluster groups

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040170263A1 (en) * 2003-02-28 2004-09-02 Michelle Michael Dynamic presence proxy for call sessions
US20050060417A1 (en) * 2003-09-16 2005-03-17 Rose Keith R. Automated electronic personal preference & proxy network
CN101494619A (en) * 2008-12-30 2009-07-29 腾讯科技(深圳)有限公司 Communication method and device for instant communication system
CN103312590A (en) * 2013-03-27 2013-09-18 北京小米科技有限责任公司 Method, device, receiving terminal, transmitting terminal and equipment for group communication
CN104734861A (en) * 2013-12-23 2015-06-24 成都鼎桥通信技术有限公司 Communication method between different standard cluster groups

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535755A (en) * 2019-08-30 2019-12-03 上海掌门科技有限公司 A kind of method and apparatus for deleting conversation message
CN110535755B (en) * 2019-08-30 2021-10-22 上海掌门科技有限公司 Method and equipment for deleting session message
CN110798398A (en) * 2019-11-14 2020-02-14 江苏满运软件科技有限公司 Group message management method, device, equipment and medium
CN113569146A (en) * 2021-07-27 2021-10-29 网易传媒科技(北京)有限公司 Message pushing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106656526B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN101243657B (en) Method and system for managing chat service
US7739339B2 (en) System and method of communications within a virtual environment
CN102347916B (en) A kind of gateway, across community group information processing system and method
CN102075456B (en) Group creating and member adding method in distributed domain management system
CN100499598C (en) Method and system of instant message user to use other immediate news system
US20080046512A1 (en) Method and system for enhanced electronic communications
US20090177974A1 (en) Multiple profiles for a user in a synchronous conferencing environment
CN104901815B (en) A kind of group technology of user terminal, Conference server, conference system
CN102394762A (en) Many-people-involved on-line communication system method
CN104639556A (en) Group chat communication system and method thereof
CN101964717A (en) Method for initiating meetings based on instant communication groups
CN101977163A (en) Instant messenger based method for initiating network conference
CN106656526A (en) User set number information interaction realization method and device
CN101404628B (en) System and method for increasing non-friend communication mode in instant communication
CN107888487A (en) A kind of good friend&#39;s adding method across instantaneous communication system
CN105245433B (en) A kind of method that realizing private chat, RCS AS and system
CN105556980A (en) A method and system for integrating content viewing and communication in immersive social centre session
CN102340456B (en) Communication method of intercommunication gateway system and intercommunication gateway system
CN101267325B (en) Method, conference server and terminal for originating and joining in conference session
CN1992624B (en) Method for handling information flow of joining instant communication group communication in secret mode
CN101848098A (en) Multiparty conference communication method based on SIP protocol
CN103401890B (en) Apparatus and method for the notice of communication event
CN201146535Y (en) System for implementing multiple-human conversation in an instant communication tool
McClea et al. An analytical study towards the development of a standardized IM application
CN109327316A (en) A kind of one-to-many network group chat system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant