CN106656526B - Method and device for realizing information interaction of user set number - Google Patents

Method and device for realizing information interaction of user set number Download PDF

Info

Publication number
CN106656526B
CN106656526B CN201610917855.XA CN201610917855A CN106656526B CN 106656526 B CN106656526 B CN 106656526B CN 201610917855 A CN201610917855 A CN 201610917855A CN 106656526 B CN106656526 B CN 106656526B
Authority
CN
China
Prior art keywords
user set
message
information interaction
family
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610917855.XA
Other languages
Chinese (zh)
Other versions
CN106656526A (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

Images

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 method and a device for realizing participation of a user set number in information interaction, wherein the method comprises the following steps: forming a first user set number for the first user set; taking the first user set number as a first participant to carry out information interaction; the performing information interaction comprises: forming information interaction between the first party and the second party, and/or enabling the first user set number to participate in multi-person information interaction; the second party includes one or more of: a second user set number formed by the second user set; a personal number under a second chat agent; a member number in the second set of users. The invention can realize the information interaction function with user set as a unit only by adding the information interaction agent function at the information interaction server and the client, and is convenient for rapidly laying social and information interaction systems of behaviors such as families, classes and the like.

Description

Method and device for realizing information interaction of user set number
Technical Field
The invention relates to the field of social chat or information interaction, in particular to a method and a device for realizing information interaction of a user set number.
Background
In a chat (or information interaction) scenario, it is common for one person to chat with another, or for one person to chat with other members of a group. For convenience, these two objects are referred to as individuals and groups, and a unique ID is required in the chat system to represent the individuals and groups, called chat numbers. The individual ID is an individual number and the group ID is a group number.
In a social system, an object in the unit of family or class is usually required to participate in information interaction, and the object is different from a common individual object and a group object. For convenience of description, the chat objects in units of family or class may be referred to as a user set, and the corresponding ID may be called a user set number. In summary, the user set number is like a personal number to the outside, and the information of all members of a family or a class needs to be synchronized to the inside, so that all members of the family or the class have the context of the message, so as to participate in a chat session or information interaction scene exchange.
Where the chat or information interaction behavior in terms of a set of users (e.g., family or class) is different from that of an individual, the individual represents a single natural person object, and the set of users represents all member objects of a set comprising the set.
The behavior of a group chat differs from the behavior of a group chat in that a group of users can participate in different chat sessions at the same time and can identify a group of users and members, for example, a family and another individual, a family and another family, a family and a plurality of chat objects (both family and individual) form a new chat group, and the family and member information can be identified when the family members speak. Information addressed to the user set number can reach each member of the user set.
Disclosure of Invention
The invention mainly aims to provide a method and a device for realizing information interaction of a user set number, and aims to realize participation in social chat by taking a user set as a unit.
In order to achieve the above object, the method for realizing the participation of the user set number in the information interaction provided by the invention comprises the following steps:
forming a first user set number for the first user set;
taking the first user set number as a first participant to carry out information interaction; the performing information interaction comprises: forming information interaction between the first party and the second party, and/or enabling the first user set number to participate in multi-person information interaction; the second party includes one or more of:
a second user set number formed by the second user set;
the personal number under the second information interaction agent;
a member number in the second set of users.
Optionally, when the second party is a second user set number, forming information interaction between the first party and the second party includes:
sending any member number in the first user set to a message of any member number in the second user set, and forwarding the message to other member numbers in the first user set by a first information interaction agent; the message is forwarded to all member numbers in the second user set by the second information interaction agent;
when the first user set number receives the message sent by the second user set number, the message is forwarded to all member numbers of the first user set by the first information interaction agent.
Optionally, when the second party is a second user set number, forming information interaction between the first party and the second party, further comprising:
when the member number in the first user set sends a message to the member number in the second user set, the session of the message is uniquely calibrated by the member number of a message sender and the session resource identification of the member, and the member number of a message receiver and the session resource identification of the member, and the message contains the context of the session.
Optionally, when the second party is the personal number under the second information interaction agent, forming the information interaction between the first party and the second party, including:
when any member number of the first user set number is sent to the message of the personal number under the second information interaction agent, the first information interaction agent forwards the message to other member numbers in the first user set; and sending the message to the personal number under the second information interaction agent on the name of the first user set number.
Optionally, wherein, when the second party is the personal number under the second chat agent, forming an information interaction between the first party and the second party, further includes:
when the member number in the first user set sends a message to the personal number under the second information interaction agent, the conversation of the message is uniquely calibrated by the member number of the message sender, the conversation resource identification of the member, and the personal number and the conversation resource identification of the message receiver.
Optionally, wherein the first user set number participates in multi-user information interaction, including:
when the first user set number participates in multi-user information interaction, the member number of the first user set is sent to a multi-user information interaction message, the multi-user information interaction message is sent to the multi-user information interaction under the name of the first user set number, and the message is forwarded to other member numbers of the first user set by a first information interaction agent;
the multi-person information interaction is sent to the information of the first user set number, and the information is forwarded to all member numbers of the first user set number by the first information interaction agent;
the member number of the first user set takes the identification number of the multi-person information interaction, the first user set number and the session resource of the member number as a unique session identification, and the message contains the context of the session.
Optionally, the method further comprises:
when the personal number under the first information interaction agent is added with the second user set number as a friend, adding a friend invitation to the second user set number, and sending a friend adding result to the personal number under the first information interaction agent and each member number in the second user set; the friend adding invitation is forwarded to each member number in the second user set through the second information interaction agent, the first response effective positive or negative message is effective, and the subsequent response message is ineffective;
when the first user set number adds the second user set number as a friend, sending a successful adding result to each member number in the first user set and each member number in the second user set, and sending an unsuccessful adding result to the member number in the first user set initiating an invitation; and the friend adding invitation is forwarded to each member number in the second user set by the second information interaction agent, wherein the positive or negative message of the first response is valid, and the subsequent response message is invalid.
Optionally, the method further comprises:
the first acknowledged positive or negative message contains the context of the buddy invitation.
Optionally, the method further comprises:
when the member number in the first user set is online, an online message is sent to each friend allowing to observe online of the first user set number, and the online message is identified by the information of the first user set number and the member number;
and when the friends of the first user set number are online, an online message is sent to each member number in the first user set.
Optionally, the method further comprises:
when the information interaction opposite side is offline, the first user set number can send an offline message to the information interaction opposite side, and the offline message is sent to the information interaction opposite side by the member number in the first user set;
when the first user set number is offline, the message sent to the first user set number is stored as an offline message, and when the member number in the offline first user set is online, the offline message is sent to the first user set number;
and when part of the member numbers in the first user set are offline, obtaining the information which is sent to the first user set number when the offline member numbers are online.
Optionally, the method further comprises:
and receiving a member number in the first user set and an inquiry request of an information interaction opposite side, and feeding back an information interaction record, wherein the information interaction record identifies the first user set number to which the member number belongs and the information of the member.
The invention also provides a device for realizing the information interaction of the user set number, which comprises the following steps:
the user set number generation module is used for forming a first user set number for the first user set;
the user set number information interaction module is used for performing information interaction by taking the first user set number as a first participant; the performing information interaction comprises: forming information interaction between the first party and the second party, and/or enabling the first user set number to participate in multi-person information interaction; the second party includes one or more of:
a second user set number formed by the second user set;
the personal number under the second information interaction agent;
a member number in the second set of users.
Optionally, wherein,
when the second party is a second user set number, forming a connection between the first party and the second party, including:
sending any member number in the first user set to a message of any member number in the second user set, and forwarding the message to other member numbers in the first user set by a first information interaction agent; the message is forwarded to all member numbers in the second user set by the second information interaction agent;
when the first user set number receives the message sent by the second user set number, the message is forwarded to all member numbers of the first user set by the first information interaction agent.
Optionally, when the second party is a second user set number, forming information interaction between the first party and the second party, further includes:
when the member number in the first user set sends a message to the member number in the second user set, the session of the message is uniquely calibrated by the member number of a message sender and the session resource identification of the member, and the member number of a message receiver and the session resource identification of the member, and the message contains the context of the session.
Optionally, wherein,
when the second party is the personal number under the second information interaction agent, forming information interaction between the first party and the second party, including:
when any member number of the first user set number is sent to the message of the personal number under the second information interaction agent, the first information interaction agent forwards the message to other member numbers in the first user set; and the message is sent to the personal number under the second information interaction agent through the first user set number.
Optionally, wherein, when the second party is the personal number under the second information interaction agent, forming the information interaction between the first party and the second party, further includes:
when the member number in the first user set sends a message to the personal number under the second information interaction agent, the conversation of the message is uniquely calibrated by the member number of the message sender, the conversation resource identification of the member, and the personal number and the conversation resource identification of the message receiver.
Optionally, wherein the first user set number participates in multi-user information interaction, including:
when the first user set number participates in multi-user information interaction, the member number of the first user set is sent to a message of the multi-user information interaction and sent to the multi-user information interaction on the name of the first user set number, and the message is simultaneously forwarded to other member numbers of the first user set by a first information interaction agent;
the multi-person information interaction is sent to the information of the first user set number, and the information is forwarded to all member numbers of the first user set number by the first information interaction agent;
the member number of the first user set takes the identification number of the multi-person information interaction, the first user set number and the session resource of the member number as a unique session identification, and the message contains the context of the session.
Optionally, the apparatus further comprises:
a personal number friend adding module, configured to add a friend invitation to the second user set number when the personal number under the first information interaction agent adds the second user set number as a friend, and send a friend adding result to the personal number under the first information interaction agent and each member number in the second user set; the friend adding invitation is forwarded to each member number in the second user set through the second information interaction agent, the first response positive or negative message is valid, and the subsequent response message is invalid;
a set number friend adding module, configured to send a successful adding result to each member number in the first user set and each member number in the second user set when the second user set number is added to the first user set as a friend, and send an unsuccessful adding result to the member number in the first user set that initiated the invitation; and the friend adding invitation is forwarded to each member number in the second user set by the second information interaction agent, wherein the positive or negative message of the first response is valid, and the subsequent response message is invalid.
Optionally, wherein,
the first acknowledged valid positive or negative message contains the context of the buddy invitation.
Optionally, the apparatus further comprises:
an online message notification module, configured to send an online message to each friend permitted to observe online of the first user set number when a member number in the first user set is online, and identify the online message with information of the first user set number and the member number;
and when the friends of the first user set number are online, an online message is sent to each member number in the first user set.
Optionally, the apparatus further comprises:
the first user set number is used for sending an offline message to the information interaction counterpart when the information interaction counterpart is offline, and the offline message is sent to the information interaction counterpart by a member number in the first user set;
when the first user set number is offline, the message sent to the first user set number is stored as an offline message, and when the member number in the offline first user set is online, the offline message is sent to the first user set number;
and when part of the member numbers in the first user set are offline, obtaining the information which is sent to the first user set number when the offline member numbers are online.
Optionally, the apparatus further comprises:
the information interaction record query module is used for receiving the member number in the first user set and a query request of an information interaction counterpart and feeding back an information interaction record; and for the member number, the information interaction record identifies the first user set number to which the member number belongs and the information of the member.
Correspondingly, the invention also provides an information interaction agent comprising the device.
The invention also provides a home gateway which comprises the information interaction agent, wherein the user set number is a home chat number.
According to the scheme provided by the embodiment of the invention, the information interaction function taking the user set as a unit can be realized only by directly adding the information interaction agent function to the information interaction server (or the chat server) and the client without modifying the information interaction server and the information interaction client, so that the social and information interaction (or chat) system with the behaviors of families, classes and the like can be conveniently and quickly arranged.
Drawings
FIG. 1 is a schematic diagram of a frame structure for implementing an embodiment of the present invention;
FIG. 2 is a flowchart of a method for implementing a user set number to participate in information interaction according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a method for implementing a user set number to participate in information interaction according to a second embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for implementing user set numbers to participate in information interaction according to a first embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for implementing a user set number to participate in information interaction according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solution of the present invention will be described in more detail with reference to the accompanying drawings and examples.
It should be noted that, if not conflicting, the embodiments of the present invention and the features of the embodiments may be combined with each other within the scope of protection of the present invention. Additionally, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
In a user aggregation environment such as a home or a class, other network interconnection and interworking devices are usually provided with a home gateway or the like, as shown in fig. 1, taking two homes as an example, obviously, the situation is similar if the user aggregation is two classes or other users.
A chat (or information interaction) Proxy may be set for such a user set as a family or a class, between an external internet chat server, which corresponds to a common chat number, and a user set member, which provides the function of the Proxy chat server.
As shown in fig. 1, the Proxy may be disposed on a home gateway or other similar internetworking devices, and taking a home as a user set and a home gateway as an example, the chat Proxy of the a home may be disposed on the a home gateway, and the chat Proxy of the B home may be disposed on the B home gateway.
The home intranet and extranet (internet) are separated by a home gateway or other similar internetworking interworking device. The Proxy internet-oriented side is a chat client, so that an internet chat server can have a unique chat number; proxy is a chat agent towards family members. For convenience of description, the internet chat server address is expressed by server.
Let home chat agent be proxy, chat agent serving home 1 be proxy1, and similarly chat agent serving home 2 be proxy 2.Proxy is used when referring to a family chat agent in general, and specific proxy1 or proxy2 is used when referring to a particular family.
Each family is assigned a chat ID to distinguish individual personal chat function numbers, called family numbers, which are virtually indistinguishable from ordinary personal chat numbers on a chat server.
Family members use local Proxy to distribute local chat numbers to the family members to log in a chat server; when family members log in by using a local number (n), the Proxy marks the local chat session as a local chat number (n) @ Proxy/the resource identifier, and marks as Lx (n); proxy initiates login to the server by the family member;
proxy1 is a chat number ID used by all members of family 1 on the chat server, which is Ox ═ x @ server. Similarly, the Proxy2 is used for the family 2, and the chat number ID used for all the members of the family 2 to log in the chat server is Oy @ server.net, which is called as extranet number 2 for short; an example personal chat number ID is a1@ server.net;
the local chat group created by Proxy for home 1 is LG1 ═ Lx1, Lx2, … Lxi, and the local chat group created by Proxy2 for home 2 is LG2 ═ Ly1, Ly2, … Lyj,
in the XMPP protocol the following symbols are used:
x (n) represents ID of XMPP, and n ═ 1 … i }; e.g. x1, x2
Lx (n) denotes a full address JID, n ═ 1 … i }; for example, x1@ Proxy1/resource1, x2@ Proxy1/resource 2;
ox represents the JID of the outer net of x family, i.e.: net;
oy represents the JID of the extranet of the y-home, i.e.: net;
proxy1 maps each family 1 member to an extranet resource denoted by x (n), for example for family 1 member x (n), the identifier mapped to the extranet is: net/x (n); accordingly, Proxy2 indicates for each family 2 member a mapping to extranet resource by y (n), e.g., for family 2 member y (n), the identifier mapped to the extranet is: net/y (n).
Suppose a family a has members x1, x2, x3, and their respective terminals are resource1, resource2, resource 3. The family A as a user set can register a family chat account number x @ server.net (referred to as a user set chat number A, referred to as a user set chat number A for short, the user set A contains member numbers x (n) of all members in the user set A), and when the members of the family A log in by using a local number (n), the local chat sessions are respectively calibrated by Proxy as x1@ Proxy1/resource1, x2@ Proxy1/resource2, and x3@ Proxy1/resource 3;
members of family a may also register their own independent chat account number (referred to herein as extranet personal number) on internet chat server server.net, which may be, for example, x1@ server.net, x2@ server.net, x3@ server.net; meanwhile, the members of family A can also register their individual independent chat numbers (abbreviated as individual numbers herein) on the chat Proxy1, such as x1_ P @ Proxy1/resource1, x2_ P @ Proxy1/resource2, a3_ P @ Proxy1/resource 3.
Similarly, the B family as the user set may register the chat family account number y @ server.net (abbreviated as B user set number, which is also the member number y (n)) of each member in the B user set, and when the member of the B family logs in using the local number (n), the Proxy respectively marks the local chat session as: y1@ proxy2/resource1, y2@ proxy2/resource 2;
the member of family B can register its own independent chat account number (extranet personal number) on internet chat server, net, for example, y1@ server, net, y2@ server; meanwhile, the members of B family can register their individual independent chat numbers (individual numbers) with chat Proxy2, such as y1_ P @ Proxy2/resource1, y2_ P @ Proxy2/resource2.
And the chat agent is used for routing and forwarding chat information between an external network (Internet) and an internal network (a home network or a class network) to complete mapping between an internal network number and an external network number.
Based on the above scenario, a first embodiment of the present invention provides a method for implementing a chat with a user set number by using a chat proxy, as shown in fig. 2, including:
step 10: forming a first user set number for the first user set;
step 12: taking the first user set number as a first participant to carry out information interaction; the performing information interaction comprises: forming information interaction between the first party and the second party, and/or enabling the first user set number to participate in multi-person information interaction; the second party includes one or more of:
a second user set number formed by the second user set;
the personal number under the second information interaction agent;
a member number in the second set of users.
The embodiment of the invention is based on such information interaction or chat scenes, for example, a one-to-one chat of a family number and a personal number is carried out between two families A, B or a multi-person group chat is participated in by the family number (obviously corresponding to a class or other user sets, and the situations are similar), for the convenience of description, taking the family a as an example, before the chat is carried out, the chat agent Proxy1 of the family a takes the family members of the family a to form the family number, for example, x @ server.net; chat Proxy for B-family Proxy2 Proxy the family members of B-family to form a family number, e.g., y @ server.
Suppose that family A has members x1, x2, x3, x1@ proxy1/resource1, x2@ proxy1/resource2, x3@ proxy1/resource3 as full address JID registered at proxy1, respectively; similarly, the B family has members y1, y2, referenced as y1@ proxy2/resource1, y2@ proxy2/resource2, respectively, as JIDs registered at proxy 2.
At this time, it is possible to perform:
1) and the family number x @ server.net of the family A and the family number y @ server.net of the family B are subjected to information interaction or one-to-one chat.
When family A and family B respectively carry out one-to-one chat according to respective family numbers x @ server.net and y @ server.net, messages sent from x1@ Proxy1/resource1, x2@ Proxy1/resource1, x3@ Proxy1/resource3 are all sent through an x @ server.net account number through Proxy 1;
net account message is forwarded by Proxy1 to x1@ Proxy1/resource1, x2@ Proxy1/resource2, x3@ Proxy1/resource 3.
Similarly, messages sent from y1@ Proxy2/resource1, y2@ Proxy2/resource2 are all sent by Proxy2 through the y @ server. Net account number, then Proxy2 forwards to y1@ Proxy2/resource1, y2@ Proxy2/resource2.
Net and y @ server, the two family numbers x @ server and y @ server form a one-to-one chat through an internet chat server, similar to the one-to-one chat of a general chat number, except that the members in the family number perform message transmission and reception synchronization through a family chat agent.
2) The family number x @ server.net of the family A and the personal number under Proxy2 of the family B perform information interaction or one-to-one chat;
at this time, the members x1, x2, x3 of family a log in to the chat Proxy1 of family a with their respective member numbers, e.g., x1@ Proxy1/resource1, x2@ Proxy1/resource2, x3@ Proxy1/resource 3; and members y1, y2 of the B family each log into chat Proxy2 of the B family with their respective personal numbers, e.g., y1_ P @ Proxy2/resource1 and/or y2_ P @ Proxy2/resource2. Since y1_ P @ Proxy2/resource1 and y2_ P @ Proxy2/resource2 each have their own independent individual number on the Internet chat server, e.g., y1@ server. net, y2@ server. net, messages sent to y1@ server. net are forwarded by Proxy2 to y1_ P @ Proxy2/resource 1; the message to y2@ server. net is forwarded by Proxy2 to y2_ P @ Proxy2/resource 2;
the message sent from y1_ P @ Proxy2/resource1 is forwarded by Proxy2 through y1@ server. Messages sent from y2_ P @ Proxy2/resource2 are also forwarded by Proxy2 through y2@ server. Net, see above 1).
3) Net, the family number x @ server of family A participates in multi-person information interaction or chat group.
The multi-user chat group mentioned here is similar to the group chat in the prior art, but different from the group chat in the prior art, the participants in the group chat in the prior art are individual users or individual numbers, and the participants in the multi-user chat group in the implementation of the present invention include a user set number, for example, the multi-user chat group may include a family number x @ server.
Optionally, in step 12 of the method, when the second party is the second user set number, forming information interaction between the first party and the second party includes:
sending any member number in the first user set to any member number in the second user set, and forwarding the information to other member numbers in the first user set by the first information interaction agent; the message is forwarded to all member numbers in the second user set by the second information interaction agent;
when the first user set number receives the message sent by the second user set number, the message is forwarded to all member numbers of the first user set by the first information interaction agent.
In the embodiment of the present invention, for example, when a member number of a member x1 of a family, such as x1@ Proxy1/resource1, sends a message to a family number of a family, such as y @ server. net, the message is forwarded by Proxy2 to all members of the family number of the B family, such as y1@ Proxy2/resource1, y2@ Proxy2/resource2, and at the same time, the message is also forwarded by Proxy1 to other members of the family number of the a family, such as x2@ Proxy1/resource2, x3@ Proxy1/resource 3;
when the family number x @ server.net of the family A receives the message sent by the family number y @ server.net of the family B, the message is forwarded to all the member numbers of the family number of the family A under Proxy 1.
Optionally, when the second party is a second user set number, forming information interaction between the first party and the second party, further includes:
when the member number in the first user set sends a message to the member number in the second user set, the session of the message is uniquely calibrated by the member number of a message sender and the session resource identification of the member, and the member number of a message receiver and the session resource identification of the member, and the message contains the context of the session.
In the embodiment of the present invention, the member numbers of the first user set and the member numbers of the second user set register in respective chat agents, and have corresponding resource identifiers, such as resource identifiers of a PC, a mobile phone, a PDA, and the like, in addition to the respective member numbers, such as the member number x1 of the a family and the member number y2 of the B family, so that the member number of the first user set, such as x1, sends a session of a message to the member number of the second user set, such as y2, and within the scope of proxy1, can be uniquely specified by the member number x1@ proxy1 and the session resource identifier resource1 of the sender, and the member number y2@ server.net and the session resource identifier y2 of the receiver. Similarly, within the scope of the external server scope, for the login of Proxy agent, there will be resource identification, for example, member x1 of family a logs in Proxy1, x1 uses resource identification as resource1, Proxy1 converts to resource identification x1 (or x1 related unique information, such as x1 nickname, etc.) at the time of external login according to the rule, and logs in to the external chat server, for example, x @ server. Thus, Proxy1 has a mapping relationship between x1 (or x1 related unique information) and resource1, and similarly, for an extranet, there will be a session index from x @ server.
For example, taking the implementation of the XMPP protocol as an example, the identification of the session of the message may be uniquely specified by x1@ Proxy1/resource1 and y @ server. net/y2 at the Proxy1 end. Net/x1 and y2@ Proxy2/resource2 can be uniquely labeled at the Proxy2 end. The server end is uniquely marked by x @ server.net/x1 and y @ server.net/y 2.
Session targeting and session context: in normal one-to-one chat, a session target specifies the specific individuals to which messages are sent and received, but in the context of a family number, the target does not directly indicate the relationship to the family members. For example, x1 sends a y1 message, at family a, proxy1 forwards this message to the other members of family a, and the session references used at this time are: the home number x or x1 (possibly in the form of another session reference depending on the implementation) is sent to x2@ Proxy1/resource2, which is not the original session reference from x1 to y1, i.e. the original session context "track". To keep the original "track" of the session (i.e., the context of the session) to let other family members know about the context of the session, information needs to be added to the protocol contents to increase the context of the session. For example, session "trace" content may be added to the replay field of the message, or, for other incompatible clients, the session "trace" content may be inserted by Proxy directly at the beginning of the message.
Optionally, in step 12 of the method, when the second party is a personal number under the second information interaction agent, forming information interaction between the first party and the second party, where the forming includes:
when any member number of the first user set number is sent to the message of the personal number under the second information interaction agent, the first information interaction agent forwards the message to other member numbers in the first user set; and sending the message to the personal number under the second information interaction agent through the name of the first user set.
In the embodiment of the present invention, taking a family a and a family B as examples, for example, a message sent by any member of family a under the family number x @ server.net, for example, x2@ Proxy1/resource2, to a person number under Proxy2 of family B, for example, y1@ server.net, is forwarded by Proxy2 of family B to person number y1_ P @ Proxy2/resource1 under Proxy2, and the message is forwarded by Proxy1 to other member numbers of family a, for example, x1@ Proxy1/resource1, and x3@ Proxy1/resource 3.
Optionally, when the second party is the personal number of the second information interaction agent, forming information interaction between the first party and the second party, further includes:
when the member number in the first user set sends a message to the personal number under the second information interaction agent, the conversation of the message is uniquely calibrated by the member number of the message sender, the conversation resource identification of the member number, and the personal number and the conversation resource identification of the message receiver.
In the embodiment of the invention, the member number of the family number x @ server.net of the family A sends a message to the personal number under the chat agent of the family B as an example:
when a member number of a family, e.g. x1, sends a message to a personal number under chat Proxy2 of B family, e.g. y2_ P, the session of the message may be uniquely identified by member number x1@ Proxy1 of the sender and the session resource identification of said member number, e.g. resource1 and personal number B2_ P @ server.
For example, at the Proxy1, taking the implementation of the XMPP protocol as an example, the identifier of the session of the message may be uniquely specified by x1@ Proxy1/resource1 and b2_ P @ server.
Optionally, in step 12 of the method, the participating of the first user set number in multi-user information interaction includes:
when the first user set number participates in multi-user information interaction, the member number of the first user set is sent to a message of the multi-user information interaction and sent to the multi-user information interaction on the name of the first user set, and the message is simultaneously forwarded to other member numbers in the first user set by a first information interaction agent;
the multi-person information interaction is sent to the information of the first user set number, and the information is forwarded to all member numbers in the first user set by the first information interaction agent;
the member number of the first user set takes the identification number of the multi-person information interaction, the first user set number and the session resource of the member number as a unique session identification, and the message contains the context of the session.
In the embodiment of the invention, for multi-user information interaction or chat groups, taking the first user set number participating in the multi-user chat group as an example, assuming that the first user set number is the family number x @ server.
When x @ server.net participates in multi-person chat group M @ server.net, the member number of x @ server.net, for example x1@ Proxy1/resource1, sends a message to multi-person chat group M @ server.net, sends the message to multi-person chat group M @ server.net through the family number x @ server.net, and simultaneously the message also has other member numbers of the family number that Proxy1 forwards to a family, for example x2@ Proxy1/resource2, x3 Proxy1/resource 3;
net, the message of x @ server.net, which is sent to the family number of a family by the multi-person chat group M @ server.net, is forwarded by the chat Proxy of the a family 1 to all member numbers of the family number of the a family.
The member number of the family number of the a family, for example, x1@ proxy1/resource1, uses the group number M @ server.net of the multi-person chat group, the user set number x @ server.net of the a family, and the session resource of the member number, for example, x1, as a unique session identifier.
For example, taking XMPP as an example, the user set number x1@ proxy1/resource1 of family a may be calibrated with M @ server.
Obviously, when the first user set number participates in the multi-user chat group, the member number actually participates in the multi-user chat group; similarly, the member number of the first user set number may participate in a multi-person chat group, in fact, a chat of the multi-person chat group is participated through the first user set number.
Optionally, as shown in fig. 3, after the step 12, the method further includes:
step 13: when the personal number under the first information interaction agent is added with the second user set number as a friend, adding a friend invitation to the second user set number, and sending a friend adding result to the personal number under the first information interaction agent and each member number in the second user set; the friend adding invitation is forwarded to each member number in the second user set through the second information interaction agent, the first response effective positive or negative message is effective, and the subsequent response message is ineffective;
when the first user set number adds the second user set number as a friend, sending a successful adding result to each member number in the first user set and each member number in the second user set, and sending an unsuccessful adding result to the member number in the first user set initiating an invitation; wherein the friend adding invitation is forwarded to each member number in the second user set by the second information interaction agent, the first response effective positive or negative message is effective, and the subsequent response message is ineffective.
Optionally, the valid positive or negative message of the most recent response contains the context of the buddy invitation.
In the embodiment of the present invention, still taking family a and family B as an example, when the personal number under chat Proxy1 of family a, for example, x1_ P @ Proxy1/resource1, and the family number of family B, for example, y @ server. net, are friends, each member number of family B receives the friend invitation of x1_ P @ Proxy1/resource1, y1@ Proxy2/resource1, y2@ Proxy2/resource2, the first responded effective ack/nack message is valid, the subsequent responded message is invalid, and Proxy can inhibit the subsequent messages of other family members corresponding to the message from being forwarded to external server in a message suppression manner. For example, y1@ proxy2/resource1 responds to the agreement first, indicating that the family number of the B family agrees to the friend invitation of x1_ P @ proxy1/resource1, regardless of whether y2@ proxy2/resource2 agrees; vice versa, for example, if y1@ proxy2/resource1 answered rejection first, then the family number representing the B family rejected the friend invitation for x1_ P @ proxy1/resource1, regardless of whether y2@ proxy2/resource2 agreed.
Each member number of the family number sent to the B family by adding the result is sent to y1@ server.net/y1, y2@ server.net/y2, forwarded by Proxy2 to y1@ Proxy2/resource1, y2@ Proxy2/resource2 and the personal number under Proxy1 of the a family, namely x1_ P @ server.net/x 1_ P, forwarded by Proxy1 to x1_ P @ Proxy1/resource 1.
When a family number of a family, e.g., x @ server.net, adds a family number of B family, e.g., y @ server.net, is a buddy, each member number of B family's family number receives a buddy invitation of x @ server.net, a valid positive or negative message of the first answer is valid, a subsequent answer message is invalid, a successful addition result is sent to each member number of B family's family number and each member number of a family, an unsuccessful addition result is sent to the member number of the a family number of the inviting initiating invitation, e.g., assuming that the family number of a family, e.g., x @ server.net, adds the family number of B family, e.g., y @ server.net, for the buddy is initiated by member number x1@ proxy1/resource1, assuming that the member number of B family number y1@ proxy2/resource1 of B family number, initially answers the invitation and rejects 1, an unsuccessful addition result is sent to x @ server.3657/1, forwarded by proxy1 to x1@ proxy1/resource 1.
As an optional implementation, when adding/deleting a buddy by a family number, the Proxy may add a protocol permission field to identify the context (or "track") information of the add buddy invitation and remember the identification of this message, so that each family member knows the specific reason for adding/deleting a buddy by the family number or the context of the add buddy invitation to determine the addition/deletion; accordingly, the final terminal software is required to have the ability to interpret specific fields of the context information carried in the buddy request message.
Optionally, as shown in fig. 3, after step 12, the method further includes:
step 14: when the member number in the first user set is online, an online message is sent to each friend allowing to observe online of the first user set number, and the online message is identified by the information of the first user set number and the member number;
and when the friends of the first user set number are online, an online message is sent to each member number in the first user set.
In the embodiment of the invention, a first user set number is assumed as a family number of the family A, when a member number of the family A is online, an online message is sent to each friend allowed to observe online of the family number x @ server. For example, x1@ proxy1/resource1 goes online, an online message for member x1@ proxy1/resource1 is sent to each buddy of x @ server.
And when the friend of the family number x @ server of the family A is on line, the on-line message is sent to each member number of the family A.
Optionally, as shown in fig. 3, after step 12, the method further includes:
step 15: when the information interaction opposite side is offline, the first user set number can send an offline message to the information interaction opposite side, and the offline message is sent to the information interaction opposite side by the member number in the first user set;
when the first user set number is offline, the message sent to the first user set number is stored as an offline message, and when the member number in the offline first user set is online, the offline message is sent to the first user set number;
and when part of the member numbers in the first user set are offline, obtaining the information which is sent to the first user set number when the offline member numbers are online.
In the embodiment of the invention, for example, when the chat counterpart (individual or family number) of the family number of the family A is offline, the x @ server.
When all member numbers of the family number of the family A are offline, the family number x @ server.net of the family A is offline, the message sent to the family number x @ server.net is stored as an offline message, and when the member number of the offline x @ server.net is online, the offline message is sent to the x @ server.net and is forwarded to the x @ proxy1 by the x @ server.net;
when part of the member numbers of the family number of the family A are offline, for example, x1@ proxy1/resource1 is online, while x2@ proxy1/resource2 and x3@ proxy1/resource3 are offline, the family number of the family A x @ server.net is still online, and the offline member numbers, for example, x2@ proxy1/resource2 and x3@ proxy1/resource3 are online, and then the message is acquired when offline.
Optionally, as shown in fig. 3, after step 12, the method further includes:
step 16: and receiving a member number in the first user set and an inquiry request of an information interaction opposite side, and feeding back an information interaction record, wherein the information interaction record identifies the first user set number to which the member number belongs and the information of the member.
In the embodiment of the invention, the first user set number is the user set number of the family A, the member number x1@ proxy1/resource1 of the family A and a chat counterpart can search the chat record, for the member number, the chat record can identify the information of the family number x @ server.net and x1@ proxy1/resource1, for example, for chat members outside the family A, the identifier x @ server.net/x1 can be searched.
The steps 13-16 have no precedence relationship and are in a parallel selection relationship.
According to the method for realizing information interaction of the user set number, provided by the embodiment of the invention, the information interaction function taking the user set as a unit can be realized only by directly adding the information interaction agent function to the information interaction server (or the chat server) and the client without modifying the information interaction server and the information interaction client, so that a social and information interaction (or chat) system with the behaviors of families, classes and the like can be conveniently and quickly arranged.
Correspondingly, the third embodiment of the present invention further provides a device for user set number information interaction, as shown in fig. 4, including:
a user set number generating module 20, configured to form a first user set number for the first user set;
the set number information interaction module 21 is configured to perform information interaction with the first user set number as a first party; the performing information interaction comprises: forming information interaction between the first party and the second party, and/or enabling the first user set number to participate in multi-person information interaction; the second party includes one or more of:
a second user set number formed by the second user set;
the personal number under the second information interaction agent;
a member number in the second set of users.
Optionally, when the second party is a second user set number, forming information interaction between the first party and the second party includes:
sending any member number in the first user set to a message of any member number in the second user set, and forwarding the message to other member numbers in the first user set by a first information interaction agent; the message is forwarded to all member numbers in the second user set by the second information interaction agent;
when the first user set number receives the message sent by the second user set number, the message is forwarded to all member numbers of the first user set by the first information interaction agent.
Optionally, when the second party is a second user set number, forming information interaction between the first party and the second party, further includes:
when the member number in the first user set sends a message to the member number in the second user set, the session of the message is uniquely calibrated by the member number of a message sender and the session resource identification of the member, and the member number of a message receiver and the session resource identification of the member, and the message contains the context of the session.
Optionally, when the second party is the personal number under the second information interaction agent, forming the information interaction between the first party and the second party includes:
when any member number in the first user set is sent to the personal number message under the second information interaction agent, the first information interaction agent forwards the personal number message to other member numbers in the first user set; and sending the message to the personal number under the second information interaction agent on the name of the first user set number.
Optionally, when the second party is a personal number under a second information interaction agent, forming an information interaction between the first party and the second party, further comprising:
when the member number in the first user set sends a message to the personal number under the second information interaction agent, the conversation of the message is uniquely calibrated by the member number of a message sending party, the conversation resource identification of the member, the personal number of a message receiving party and the conversation resource identification, and the message contains the context of the conversation.
Optionally, wherein the first user set number participates in multi-user information interaction, including:
when the first user set number participates in multi-user information interaction, the member number in the first user set is sent to a message of the multi-user information interaction and sent to the multi-user information interaction on the name of the first user set number, and the message is simultaneously forwarded to other member numbers of the first user set by a first information interaction agent;
the multi-person information interaction is sent to the information of the first user set number, and the information is forwarded to all member numbers of the first user set number by the first information interaction agent;
and the member number of the first user set takes the identification number of the multi-person information interaction, the first user set number and the session resource of the member number as a unique session identification, and the message contains the context of the session.
Optionally, as shown in fig. 5, the apparatus further includes:
a personal number friend adding module 22, configured to add a friend invitation to the second user set number when the personal number under the first information interaction agent adds the second user set number as a friend, and send a friend adding result to the personal number under the first information interaction agent and each member number in the second user set; the friend adding invitation is forwarded to each member number in the second user set through the second information interaction agent, the effective positive or negative message which is responded firstly is effective, and the subsequent response message is ineffective;
a set number friend adding module 23, configured to send a successful adding result to each member number in the first user set and each member number in the second user set when the second user set number is added to the first user set as a friend, and send an unsuccessful adding result to the member number in the first user set that initiates the invitation; wherein the friend adding invitation is forwarded to each member number in the second user set by the second information interaction agent, the first response effective positive or negative message is effective, and the subsequent response message is ineffective.
Optionally, the valid positive or negative message of the most recent response contains the context of the buddy invitation.
Optionally, as shown in fig. 5, the apparatus further includes:
an online message notification module 24, configured to send an online message to each friend permitted to observe online of the first user set number when a member number in the first user set is online, and identify the online message with information of the first user set number and the member number;
and when the friends of the first user set number are online, an online message is sent to each member number in the first user set.
Optionally, as shown in fig. 5, the apparatus further includes:
the offline message receiving and sending module 25 is configured to, when the information interaction counterpart is offline, send an offline message to the information interaction counterpart by the first user set number, where the offline message is sent to the information interaction counterpart by a member number in the first user set;
when the first user set number is offline, the message sent to the first user set number is stored as an offline message, and when the member number in the offline first user set is online, the offline message is sent to the first user set number;
and when part of the member numbers in the first user set are offline, obtaining the information which is sent to the first user set number when the offline member numbers are online.
Optionally, as shown in fig. 5, the apparatus further includes:
the information interaction record query module 26 is configured to receive a member number in the first user set and a query request of an information interaction counterpart, and feed back an information interaction record; and for the member number, the information interaction record identifies the first user set number to which the member number belongs and the information of the member.
According to the method for realizing information interaction of the user set number, provided by the embodiment of the invention, the information interaction function taking the user set as a unit can be realized only by directly adding the information interaction agent function to the information interaction server (or the chat server) and the client without modifying the information interaction server and the information interaction client, so that a social and information interaction (or chat) system with the behaviors of families, classes and the like can be conveniently and quickly arranged.
The invention also provides an information interaction agent, which comprises any one of the devices, wherein the device is realized by adopting an XMPP protocol;
the invention also provides a home gateway which comprises the information interaction agent, wherein the user set number is a home chat number.
Embodiments of the present invention are described in further detail below with reference to an exemplary embodiment. For example,
the family gateway of family A is provided with a chat Proxy1, and the family gateway of family B is provided with a chat Proxy 2; proxy1, Proxy2 collectively referred to as Proxy, a home chat agent; let XMPP's internet chat server be @ server.
Taking family A as an example:
when the first family member of family a logs in proxy1, proxy1 extracts x (n) and resource (n) from the resource that family member logged in, proxy1 logs in to the extranet server using "x (n)" as the resource part of the selected extranet JID, generating a session rating on the extranet server: net/x (n) ". Thus, the session calibration on the extranet server and the available resource (n) between the family members: x (n) are related. When the family members of each family A log in the local proxy1, the proxy1 is triggered to log in the external network chat server by the method, so that a plurality of session marks of external network JID exist on the external network chat server, and when the sessions of a certain family member need to be processed independently, the mapping relation can be used for processing and operating corresponding information.
For example, taking an XMPP protocol reference implementation as an example:
the Proxy logs in a chat server by using an external network number: (take home 1 as an example)
PROXY1 logs in to the chat server like a normal personal chat ID using the foreign network number Ox, and the rule triggering the login can be any of the following ways:
1. triggering the login to the chat server when the first family member logs in the Ox;
logging in when the PROXY service is started;
3. triggering login by a command;
family members log in PROXY by using local chat ID to complete initialization, 3 strategies can be selected to associate and initialize the numbers of an internal network and an external network, and 3 modes have special functions and can be selected according to an expanded scene: (the household 1 will be described below as an example)
The family number adopts a triggering login strategy: when a first family member logs in the proxy, the proxy extracts x (n) and resource (n) from resource registered by the family member, and the proxy logs in an extranet server by using the 'x (n)' as the resource part of the selected extranet JID to generate a session calibration on the extranet server: net/x (n) ". Thus, the session calibration on the extranet server and the available resource (n) between the family members: x (n) are related. Each family member logs in the local proxy and triggers the proxy to log in the external network chat server by the method, so that a plurality of external network JID session marks exist on the external network chat server, and when the session of a certain family member needs to be processed independently, the mapping relation can be used for comparing required information for processing and operating.
XMPP implementation reference:
1. family 1, member 2, logs in proxy1 using local account number 2:
x2@ proxy1/resource2- > Login- > proxy1
2. Triggering the extranet number Ox uses resource: "x 2" entry:
net/x2- > Login- > server
3. And (3) proxy receives a server return result:
net/x2< -login success/failure < -server
4. And forwarding a return result to the family member after proxy processing:
x2@ proxy1/resource2< -Login success < -proxy 1<
(II) the family number adopts a starting login strategy: because proxy and startup need to log in proxy before family members, proxy can not obtain resource information from the messages of logging in proxy by family members, and at the moment, proxy ID can be used as resource information to log in XMPP server. Subsequent family members x (n) adopt the same strategy to organize resource (n) when logging in as the login is triggered: x (n) association.
An XMPP implementation example:
1. proxy1 boots up auto-login:
net/proxy1- > Login- > server
Net/proxy1< -login success < -server
2. Family 1, member 1, logs in using local account 1:
x1@ proxy1/resource1- > Login- > proxy1
3.proxy1 is converted and then sent to server:
net/x1- > Login- > server
4. The server returns the login result to the Proxy:
net/x1< -login success/failure < -server
5. And sending the proxy to family members after proxy processing:
x1@ proxy1/resource1< -Login success/failure < -proxy1
(III) the family number adopts a command to log in: proxy can accept login command, which can contain family member local ID, mapped extranet resource content. Thus, the relationship between the local family member and the Proxy is established.
See the above two login methods for XMPP reference implementation.
Chat group login on proxy
Proxy maintains information for each local group and participant according to the local group algorithm. When a family member logs in proxy, the proxy judges which local groups the member belongs to, and the proxy initiates a group adding invitation to the family member for each local group in which the member participates.
Thirdly, obtaining a friend list and offline information after family members log in:
1. when family 1 member x (n) logs in by using local number x (n), Lx (n) is adopted between the local number x (n) and Proxy1 to mark the family member, and Proxy1 proxies the family member to log in to the server after modifying the From domain into Ox/x (n).
x (n) @ proxy1/resource (n) - > login- > proxy
Net/x (n) — > Login- > server
2. The server sends messages such as buddy list of Ox, offline buddy request, etc. to the registered session, which are received by Proxy 1.
Online message for buddy y:
Presence from:y@server.net/resource(y)
To:x@server.net
3.proxy1 sends these messages to Lx (n) after receiving the post-modification to field as Lx (n).
Presence from:y@server.net/resource(y)
To:x(n)@proxy1/resource(n)
4.Proxy1 checks to see if the local number x (n) belongs to any local group and Proxy1 has not sent the family member join message or has not responded to the sent join message for a period of time, if so, sends join messages to Lx (n) for the hit groups respectively, join message processing and flow see group creation and extinction sections
5. After the home number is grouped (if any), the Proxy pushes offline information to the family member based on the history.
And fourthly, creating a Proxy local chat group, wherein 3 triggers can be selected by the Proxy to establish the local family chat group.
Sending a message triggers the creation of a family chat group: (take Home 1 Member 1 initiating message as an example)
1. Family 1 member x1 sends chat Message1 to the other party Oy;
Message From:x 1@proxy1/resource1
To:y@server.net
Id:message1
Body:This is messsage1
2.PROXY1 determines whether (LG1, Oy) group exists, if so, it is processed according to group messaging; if not, establishing (LG1, Oy) local group information and assigning a chat group ID to the group, assuming that the group ID is group ID 1;
for example, group ID1 ═ homechat/y "
3.PROXY1 sends a group invitation Message (the context of chat group ID1, Oy information, Message1 key information and the like) to the family member Lx (n) sending the Message, indicating that Lx (n) changes from one-to-one chat to group chat, the Message1 Message is successfully sent, and Lx (n) if not adding the chat group ID1, the chat group is cleared, and the current family chat is finished. If Lx (n) joins chat group ID1, continue the following steps;
first sent to the member initiating the message, x1 in this example:
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.
Description of the drawings: reason indicates that the cause of the group chat is that family member 1 initiates a chat to y, and x1@ Proxy1/resource1 is the full address JID of family member x1 on Proxy 1.
The "reason" for this invitation, i.e., the "track" of the chat context, is associated with the "reason" of the protocol; homechat indicates a family chat, homechat/y specifies a chat between the home and the other party y, and y @ server. net is to-domain pure JID in the message sent by x1 received by Proxy 1. x1 may send y @ server.
Member 1 sees the context trace, decides to join, can send:
Presence to:homechat/y@proxy1/nicke(1)
(Nickel (1) is a nickname for x1 in this chat group, which can be self-defined by member x 1)
Proxy1 returns the member list to member x1:
presence in message
from:homechat/y@proxy1/nicke(y)
To:x1@proxy1/resource1
Item j id field y @ server net/resource (y)
Nicke field Nicke (y)
(nick (y): is y added by proxy 1. the role of nicke in this chat group, can be used to associate with y on the external network and y. in the chat room on local proxy 1. additionally, nicke (y) information can be composed with y's full address JID, e.g., y @ server. net/resource (y). this information is actually from the to field of the message sent by x 1. when there is no resource (y) information, nicke (y) can take y @ server. net.)
From:homechat/y@proxy1/nicke(1)
To:x1@proxy1/resource1
Item id:x1@proxy1/resource(1):nicke(1)
Indicating how many members, other than y, have joined will send how many such messages.
If member x1 refuses to join the group, proxy1 cancels the group, proxy1 will return an error message to family member x1:
member x1 may send:
Message to:homechat/y@proxy1
Muc decline to:homechat/y@proxy1
proxy1 sends 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.
PROXY1 initiates a group invitation to members of the family that LG1 is not in the group, carries group ID1, information of the other party Oy (such as nickname, chat ID, etc.), and uses (group ID1, Oy information) to identify this particular chat session between family 1 and Oy, respectively;
for example: send 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
The Reason field indicates the group that the origination Reason was that the family member sent a message to y.
5. The logged family members receive the invitation of entering the group, the terminal can prompt the context information of the group to the family members according to the session track carried by the invitation, if the family members wish to enter the group, the family members confirm to enter the group, otherwise, the family members refuse to enter the group.
At this time, the family members entering the group ID1, including Lx (n), know about sending messages to homechat/y @ proxy1/nicke (y) in the chat group through the context, namely sending messages to Oy in a family chat mode.
6. If the family member enters the group, PROXY1 modifies Message1 to the group ID1 and from the group to the group ID1/nick (n), and sends the modified Message to all family members joining the chat group, so that the information of family chat can be shared. (other group history messages before the family member has not entered the group are similarly processed to maintain context)
For example: message 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/y @ proxy 1/member 1'stamp ═ 2000-01-02T15:44:14Z'
PROXY1 modifies the Message1 from field to Ox/resource, which is the ID corresponding to the family member sending the Message, for example, x1, which is x 1. The message is sent to Oy.
Message From:x@server.net/x1
Net// or resource of To y @ server
Id:message1
Body:This is messsage1
After PROXY establishes the group, the subsequent message forwarding processing steps are referred to as group sending and receiving steps.
9. Family 1 member quit group
For example, member 2 withdraws:
Presence to:homechat/y@proxy1
Type:unavailable
(II) receiving a message trigger to establish a proxy local group:
1. the other party Oy sends chat Message2 to home 1;
Message From:y@server.net/resource(y)
To:x@server.net
Id:message2
Body:This is messsage2
message2 Message arrives at PROXY 1;
PROXY1 determining if (LG1, Oy) mapping exists, if so, collecting according to group
Processing the message; if not, establishing (LG1, Oy) a local chat group. Assume that the newly established chat group ID is ID2, (LG1, Oy).
PROXY1 initiates group invitation to members of family 1 who are not in group LG1, respectively, and carries
Chat group ID2, information of the other party Oy (e.g., nickname, chat ID, etc.), identifying a session by (chat group ID2, Oy information);
for example, to member x 2:
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
the reason why the replay indicates that the group chat is initiated is that the y sends a message to the family number;
the reason or track of the invitation is associated by using the replay domain of the protocol, homechat indicates a family chat, y @ server.net/resource (y) is the full address JID of y in the message sent by y received by Proxy1, x @ server.net is the to domain in the message sent by y received by Proxy1, and the receive _ message indicates the group established by the received message.
5. When family members receive the group-entering invitation, the terminal can prompt the context of the related chat group and the information of the opposite side, if the confirmation of the group is willing to enter the group, if not, the confirmation is rejected, and when all local family members reject to enter the group, the proxy agent Ox sends the information rejection information to Oy;
here, a timeout time needs to be set, and all members reject within the set time, or if the timeout time is exceeded and no member wishes to enter, the message is rejected. If no member is online, namely offline message, the timing is started from the member online.
For example, family member x2 sends a join group message to proxy1:
Presence to:homecha/y@proxy1/nicke(2)
proxy1 returns the member 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)
description of the drawings: there are several members, other than y, that have joined, and several such messages are sent.
PROXY1 modifies Message2 to group ID2 from field to group ID2/resource (y) and sends to all family members joining the chat group.
For example, family member x1 will receive the message from proxy1:
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
family member x2 receives the 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. and the subsequent message sending and receiving steps of the family members are carried out.
(III) commanding the creation of a family chat group: (take home 1 as an example)
The chat group created by the proxy administrator can provide a flexible way of establishing family chats on demand.
1. The command canonical CreateHomeChat (Oy) reaches Proxy 1.
PROXY1 determines if (LG1, Oy) mapping exists, if so, no longer establishes chat groups, and returns (LG1, Oy) related information. If not, establishing (LG1, Oy) mapping and assigning a unique chat group ID 1;
PROXY1 initiates group invitation carry (information of chat group ID3, Oy) to family members LG1 who are not in the group, respectively;
for example, to member x 2:
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
here, the Reason field indicates that the Reason for initiating group chat is that the x home number needs to send a message to y.
4. Family members receive the invitation to enter the group message, the terminal can prompt the context of the group ID3 and the information of the other party Oy, the family members wish to confirm the group to enter the group, otherwise reject, if all family members reject, the command fails, and the Proxy1 returns the caller result, otherwise returns the chat group ID3 detailed information to the caller;
5. the family members know that the family chat group is the family chat group according to the received information (the information of the chat group IDs 3 and Oy), and the message is sent to the chat group ID3, namely the family chat mode is used for sending the message to the Oy.
6. Subsequent message processing will group the messaging flow.
Fifthly, group message receiving and sending:
a) family members send messages
LG1: Lx (n) when a message is sent to Oy in a home chat mode, a message4 is sent to a chat group ID1 according to (information of chat group IDs 1 and Oy);
family member x1 sends a message:
Message From:x1@proxy1/resource1
Type:groupchat
To:homechat/y@proxy1/nicke(y))
Id:message4
Body:messsage4
after receiving the Message, the Proxy modifies the to field of Message4 to be group "ID 1/nicke (n)", and adds From nicke (n), for example, From nicke (1) in this example, to all family members joining this chat group, for other family members in family 1.
For example, message forwarding 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
here, the from nickname in the Message4 body content indicates the original sender, the to nickname indicates the destination of the transmission, and this Message will be the trace information of the chat.
3. For Oy, the from field of the PROXY-modified Message4 is Ox/x (n), in this example "Ox/x 1," which sends the Message to Oy.
Message From:x@server.net/x1
To:y@server.net/resource(y)
Id:message4
Body:This is messsage4
b) Family member receiving message
Oy sends Message5 to Ox or Ox/x (n); (take the example of issue x 1)
Message From:y@server.net/resource(y)
To x @ server. net/x1// or To x @ server. net
Id:message5
Body:This is messsage5
After Proxy1 receives the Message, Proxy1 modifies the to field of Message5 to chat group ID1 according to (information of chat group ID1, Oy) for all members of family x1, and sends the Message to all family members joining the chat group.
For example, family member x1 receives the 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) to x: This is messsage5 when the to field of the message from Y is x @ server.
Family member 2 receives the 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 when the to field of the y message is x @ server.
Sixthly, local group extinction: (the following are several triggering cases of extinction)
a) The local group trigger establishment is unsuccessful: when the message is sent to trigger the group building, if the family member sending the message refuses to join the family group, the group dies. When the message is received to trigger the group building, if all family members refuse to join the new group, the group dies, or if all family members send invitations to proxy within a preset time and have no response or message of agreeing to join the group, the group dies.
b) PROXY can delete clusters according to any combination of the following policies:
1. one family and the other party have no message interaction within a period of time;
2. all offline messages of a family and the other party and all members in the family are taken away;
3.a command is used to force the deletion.
Seventhly, adding/deleting friends by family numbers:
family members can add both counterpart and friend, the following are different scenarios:
a) the family member adds the other party (the family member is added as a friend, can be a common individual chat ID, and operates as a normal chat friend adding operation) as a friend. (x 1 is exemplified below)
1. The registered family x1 member Lx (n) adds the other party a as a friend;
example of X1 sending a message:
Presence from:x1@proxy1/resource 1
To:a@server.net
Type:subscribe
2. the adding message reaches Proxy1, Proxy1 uses Ox/x (n) session marked by resource to replace Lx (n) to initiate an application to the chat server, and the server executes normal friend adding operation to initiate friend adding message to a.
Presence from:x@server.net/x1
To:a@server.net
Type:subscribe
A, after agreeing to or refusing to add, sending a friend adding message to the Ox;
Presence from:a@server.net
To:x@server.net
Type:subscribed
in addition, a may also send a message to add the family 1 as a buddy, see b) process.
The Proxy1 receives the message to modify the to field to Lx (j), and the (j) is sent to Lx (j) after (1 … i);
Presence from:a@server.net
To:x1@proxy/resource1
Type:subscribed
Presence from:a@server.net
To:x2@proxy1/resource2
Type:subscribed
(analogy to other members)
b) Family members are added as friends
1. The registered a adds the family 1 as a friend, and for the a, the family 1 is not different from the common chat number;
Presence from:a@server.net
To:x@server.net
Type:subscribe
2. the server will send the message for adding the friend application to all sessions that Ox has logged in the server. Session rating Ox/x (n) for Session. After receiving the message, Proxy1 modifies the to field to Lx (n) and forwards the application message to the corresponding family member.
Presence from:a@server.net
To:x1@proxy1
Type:subscribe
Presence from:a@server.net
To:x2@proxy1
Type:subscribe
(other family members message by analogy)
3. After receiving the message, the family member confirms addition or rejection, the addition or rejection message modifies the from domain into the corresponding Ox/x (n) through the Proxy1 and sends the message to the server, and the server executes subsequent operations according to corresponding logic, generally speaking, the first returned approval or rejection is valid operation.
For example, x1 agrees to add, send two messages,
the first bar indicates the partner to be added:
Presence from:x1@proxy1
To:a@server.net
Type:subscribe
proxy1 sends the modified Proxy to server:
Presence from:x@server.net
To:a@server.net
Type:subscribe
the second bar indicates agreement to the other party to add itself:
Presence from:x1@proxy1
To:a@server.net
Type:subscribed
and (5) sending the Proxy to a server after the Proxy is modified:
Presence from:x@server.net
To:a@server.net
Type:subscribed.
and 4.a receives the two messages, and for the subscribe message, a knows that the family 1 agrees to add. For the subscribe message, a completes the buddy addition process with the response, and sends Proxy1 for home 1 via Proxy2 and the server.
Presence from:a@server.net
To:x@server.net
Type:subscribed
5. After the friends are added positively, the server triggers and updates the information such as the roster and the like.
Eighthly, another optional method for adding/deleting the friend number with the session track comprises the following steps:
family members can add both counterpart and friend, the following are different scenarios:
a) the family member adds the other party (the family member is added as a friend, can be a common individual chat ID, and operates as a normal chat friend adding operation) as a friend. (x 1 is exemplified below)
1. The registered family x1 member Lx (n) adds the other party a as a friend;
x1 sends message example:
To:a@server.net
Type:subscribe
2. the add message arrives at Proxy1, Proxy1 uses Ox/x (n) this resource-specified session instead of lx (n) to initiate an application to the chat server, and the server performs normal add buddy operation, at which point Proxy1 may add protocol-enabled fields to indicate the added trace information and remember the identity of this message. And initiating a friend adding message 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 forwarded to Proxy2 via server, Proxy2 records this trace, modifies and forwards the message to a (trace information may or may not be rotated). a, after agreeing to or refusing to add, sending a friend adding message to Ox; the message is sent to the server after the original track information in the record is added by proxy 2;
To:x@server.net
Type:subscribed
Reason:x@server.net/x1subscribe to a@server.net
note: a may also send a message to add the family 1 as a buddy, see b) process.
The Proxy1 modifies the to field to Lx (j) after receiving the message, (j) (1 … i) and sends the modified to field to Lx (j), and the matching track information ensures that the track information is accurate and then adds a proper field in the message to send the message to the family member;
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
(analogy to other members)
5. And the subsequent server pushes the friend list to the members of the two parties.
b) Family members are added as friends
1. The registered a adds the family 1 as a friend, and for the a, the family 1 is not different from the common chat number; and a Proxy2 adds session track information and sends the session track information to a server.
To:x@server.net
Type:subscribe
Reason:a@server.net subscribe to x@server.net
2. The server will send the message for adding the friend application to all sessions that Ox has logged in the server. Session rating Ox/x (n) for Session. And after receiving the message, the Proxy1 modifies the to field into Lx (n), records the session track and forwards the application message to the corresponding family member.
(assume Proxy1 forwarded the session rating)
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 family members message by analogy)
3. After receiving the message, the family member confirms addition or rejection, the addition or rejection message is sent to the server through Proxy1 to compare the session track information and modify from domain to corresponding Ox/x (n), and the server executes subsequent operation according to corresponding logic, generally speaking, the first returned agreement or rejection is valid operation.
For example, x1 agrees to add, two messages are sent:
the first bar indicates the partner to be added:
Presence from:x1@proxy1
To:a@server.net
Type:subscribe
and (5) sending the Proxy to a server after the Proxy is modified:
Presence from:x@server.net
To:a@server.net
Type:subscribe
Reason:a@server.net subscribe to x@server.net
the second bar indicates agreement to the other party to add itself:
Presence from:x1@proxy1
To:a@server.net
Type:subscribed
and (5) sending the Proxy to a server after the Proxy is modified:
Presence from:x@server.net
To:a@server.net
Type:subscribed
Reason:a@server.net subscribe to x@server.net
and 4.a receives the two messages, and for the subscribe message, a knows that the family 1 agrees to add. For the subscribe message, a responds with a response to complete the friend adding process, and sends the response to proxy1 of family 1 via proxy2 and the server.
Presence from:a@server.net
To:x@server.net
Type:subscribed
Reason:a@server.net subscribe to x@server.net
5. After the friends affirmatively added by both parties, the server triggers and updates the information such as the roster and the like
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal device (which may be a computer or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (20)

1. A method for realizing participation of a user set number in information interaction is characterized by comprising the following steps:
forming a first user set number for the first user set;
taking the first user set number as a first participant to carry out information interaction; the performing information interaction comprises one or more of the following:
the first participant and a second user set number formed by a second user set carry out information interaction;
the first participant and the personal number under the second information interaction agent carry out information interaction;
the first user set number participates in multi-person information interaction;
the information interaction between the first participant and a second user set number formed by a second user set comprises the following steps:
sending any member number in the first user set to a message of any member number in the second user set, and forwarding the message to other member numbers in the first user set by a first information interaction agent; the message is forwarded to all member numbers in the second user set by a second information interaction agent; when the first user set number receives a message sent by the second user set number, the message is forwarded to all member numbers of the first user set by the first information interaction agent;
the information interaction between the first participant and the personal number under the second information interaction agent comprises the following steps:
when any member number in the first user set is sent to the personal number message under the second information interaction agent, the first information interaction agent forwards the personal number message to other member numbers in the first user set; sending the message to the personal number under the second information interaction agent on the name of the first user set number;
the first user set number participates in multi-person information interaction and comprises the following steps:
when the first user set number participates in multi-user information interaction, the member number of the first user set is sent to a multi-user information interaction message, the multi-user information interaction message is sent to the multi-user information interaction under the name of the first user set number, and the message is forwarded to other member numbers in the first user set by a first information interaction agent; and the multi-person information interaction is sent to the information of the first user set number, and the information is forwarded to all member numbers in the first user set by the first information interaction agent.
2. The method of claim 1, wherein the first party interacts with information of a second user set number formed by a second user set, further comprising:
when the member number in the first user set sends a message to the member number in the second user set, the session of the message is uniquely calibrated by the member number of a message sender and the session resource identification of the member, and the member number of a message receiver and the session resource identification of the member, and the message contains the context of the session.
3. The method of claim 1, wherein the first party interacts information with a personal number under a second information interaction agent, further comprising:
when the member number in the first user set sends a message to the personal number under the second information interaction agent, the conversation of the message is uniquely calibrated by the member number of the message sender, the conversation resource identification of the member, and the personal number and the conversation resource identification of the message receiver.
4. The method of claim 1, wherein the first user set number participates in a multi-user information interaction, further comprising:
the member number of the first user set takes the identification number of the multi-person information interaction, the first user set number and the session resource of the member number as a unique session identification, and the message contains the context of the session.
5. The method of claim 1, further comprising:
when the personal number under the first information interaction agent is added with the second user set number as a friend, adding a friend invitation to the second user set number, and sending a friend adding result to the personal number under the first information interaction agent and each member number in the second user set; the friend adding invitation is forwarded to each member number in the second user set through the second information interaction agent, the first response effective positive or negative message is effective, and the subsequent response message is ineffective;
when the first user set number adds the second user set number as a friend, sending a successful adding result to each member number in the first user set and each member number in the second user set, and sending an unsuccessful adding result to the member number in the first user set initiating an invitation; and the friend adding invitation is forwarded to each member number in the second user set by the second information interaction agent, wherein the positive or negative message of the first response is valid, and the subsequent response message is invalid.
6. The method of claim 5, further comprising:
the first acknowledged positive or negative message contains the context of the buddy invitation.
7. The method of claim 1, further comprising:
when the member number in the first user set is online, an online message is sent to each friend allowing to observe online of the first user set number, and the online message is identified by the information of the first user set number and the member number;
and when the friends of the first user set number are online, an online message is sent to each member number in the first user set.
8. The method of claim 1, further comprising:
when the information interaction opposite side is offline, the first user set number sends an offline message to the information interaction opposite side, and the offline message is sent to the information interaction opposite side by the member number in the first user set;
when the first user set number is offline, the message sent to the first user set number is stored as an offline message, and when the member number in the offline first user set is online, the offline message is sent to the first user set number;
and when part of the member numbers in the first user set are offline, obtaining the information which is sent to the first user set number when the offline member numbers are online.
9. The method of claim 1, further comprising:
and receiving a member number in the first user set and an inquiry request of an information interaction opposite side, and feeding back an information interaction record, wherein the information interaction record identifies the first user set number to which the member number belongs and the information of the member.
10. An apparatus for implementing information interaction of user set numbers, comprising:
the user set number generation module is used for forming a first user set number for the first user set;
the user set number information interaction module is used for performing information interaction by taking the first user set number as a first participant; the performing information interaction comprises one or more of the following:
the first participant and a second user set number formed by a second user set carry out information interaction;
the first participant and the personal number under the second information interaction agent carry out information interaction;
the first user set number participates in multi-person information interaction;
the information interaction between the first participant and a second user set number formed by a second user set comprises the following steps:
sending any member number in the first user set to a message of any member number in the second user set, and forwarding the message to other member numbers in the first user set by a first information interaction agent; the message is forwarded to all member numbers in the second user set by a second information interaction agent; when the first user set number receives a message sent by the second user set number, the message is forwarded to all member numbers of the first user set by the first information interaction agent;
the information interaction between the first participant and the personal number under the second information interaction agent comprises the following steps:
when any member number in the first user set is sent to the personal number message under the second information interaction agent, the first information interaction agent forwards the personal number message to other member numbers in the first user set; sending the message to the personal number under the second information interaction agent on the name of the first user set number;
the first user set number participates in multi-person information interaction and comprises the following steps:
when the first user set number participates in multi-user information interaction, the member number of the first user set is sent to a multi-user information interaction message, the multi-user information interaction message is sent to the multi-user information interaction under the name of the first user set number, and the message is forwarded to other member numbers in the first user set by a first information interaction agent; and the multi-person information interaction is sent to the information of the first user set number, and the information is forwarded to all member numbers in the first user set by the first information interaction agent.
11. The apparatus of claim 10, wherein the first party interacts information with a second user set number formed by a second set of users, further comprising:
when the member number in the first user set sends a message to the member number in the second user set, the session of the message is uniquely calibrated by the member number of a message sender and the session resource identification of the member, and the member number of a message receiver and the session resource identification of the member, and the message contains the context of the session.
12. The apparatus of claim 10, wherein the first party interacts information with a personal number under a second information interaction agent, further comprising:
when the member number in the first user set sends a message to the personal number under the second information interaction agent, the conversation of the message is uniquely calibrated by the member number of a message sending party, the conversation resource identification of the member, the personal number of a message receiving party and the conversation resource identification, and the message contains the context of the conversation.
13. The apparatus of claim 10, wherein the first user set number participates in a multi-user information interaction, further comprising:
the member number of the first user set takes the identification number of the multi-person information interaction, the first user set number and the session resource of the member number as a unique session identification, and the message contains the context of the session.
14. The apparatus of claim 10, further comprising:
a personal number friend adding module, configured to add a friend invitation to the second user set number when the personal number under the first information interaction agent adds the second user set number as a friend, and send a friend adding result to the personal number under the first information interaction agent and each member number in the second user set; the friend adding invitation is forwarded to each member number in the second user set through the second information interaction agent, the first response positive or negative message is valid, and the subsequent response message is invalid;
a set number friend adding module, configured to send a successful adding result to each member number in the first user set and each member number in the second user set when the second user set number is added to the first user set as a friend, and send an unsuccessful adding result to the member number in the first user set that initiated the invitation; and the friend adding invitation is forwarded to each member number in the second user set by the second information interaction agent, wherein the positive or negative message of the first response is valid, and the subsequent response message is invalid.
15. The apparatus of claim 14,
the first acknowledged valid positive or negative message contains the context of the buddy invitation.
16. The apparatus of claim 10, further comprising:
an online message notification module, configured to send an online message to each friend permitted to observe online of the first user set number when a member number in the first user set is online, and identify the online message with information of the first user set number and the member number;
and when the friends of the first user set number are online, an online message is sent to each member number in the first user set.
17. The apparatus of claim 10, further comprising:
the first user set number is used for sending an offline message to the information interaction counterpart when the information interaction counterpart is offline, and the offline message is sent to the information interaction counterpart by a member number in the first user set;
when the first user set number is offline, the message sent to the first user set number is stored as an offline message, and when the member number in the offline first user set is online, the offline message is sent to the first user set number;
and when part of the member numbers in the first user set are offline, obtaining the information which is sent to the first user set number when the offline member numbers are online.
18. The apparatus of claim 10, further comprising:
the information interaction record query module is used for receiving the member number in the first user set and a query request of an information interaction counterpart and feeding back an information interaction record; and for the member number, the information interaction record identifies the first user set number to which the member number belongs and the information of the member.
19. An information exchange agent, comprising the apparatus of any one of claims 10 to 18.
20. A home gateway comprising the information exchange agent of claim 19, wherein the user set number is a home 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 CN106656526A (en) 2017-05-10
CN106656526B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945035B2 (en) * 2003-02-28 2011-05-17 Siemens Enterprise Communications, Inc. Dynamic presence proxy for call sessions
US20050060417A1 (en) * 2003-09-16 2005-03-17 Rose Keith R. Automated electronic personal preference & proxy network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106656526A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US7908322B2 (en) Initiation and support of video conferencing using instant messaging
JP4875091B2 (en) Method and apparatus for handling invitations to multi-user communication sessions
US8571592B2 (en) Methods and devices for including a plurality of users in a conversation over a communication network
US8433752B2 (en) Notification of a blocked user entering or participating in a multi-user chat session
US20090164587A1 (en) Method and communication server for group communications
US20100146065A1 (en) Method and apparatus for realizing instant messaging between a plurality of members in an instant messenger group
US20200358645A1 (en) Session initiation method and device
KR101120656B1 (en) Group communication
KR20070004103A (en) Group invitation
WO2013091495A1 (en) Inter-im system conferencing method and system
US20110282953A1 (en) Method and apparatus for providing message conversation by group in a messaging service
CN102347916B (en) A kind of gateway, across community group information processing system and method
WO2007009369A1 (en) Method and system by which instant message user can use instant message system chat room to which user unbelongs
CN104639556A (en) Group chat communication system and method thereof
CN101714170A (en) XDMS-based group management system and method
KR20180118732A (en) Managing multiple profiles for a single account in an asynchronous messaging system
KR20080013684A (en) Method for securing privacy in the automatic answer mode of push-to service
CN106161201B (en) method, device and system for participating in group chat by using mailbox account as identifier
CN106656526B (en) Method and device for realizing information interaction of user set number
CN105556980A (en) A method and system for integrating content viewing and communication in immersive social centre session
CN105245433B (en) A kind of method that realizing private chat, RCS AS and system
CN113452950B (en) Video conference establishing method, device, equipment and storage medium
US7813305B2 (en) Setting up a conference call with a hashed address
WO2010115322A1 (en) Method and system for joining group session with pre-defined joining
JP2007026199A (en) Multipoint conference system

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