CN109587044A - Group creating, method for message interaction and device - Google Patents
Group creating, method for message interaction and device Download PDFInfo
- Publication number
- CN109587044A CN109587044A CN201910060390.4A CN201910060390A CN109587044A CN 109587044 A CN109587044 A CN 109587044A CN 201910060390 A CN201910060390 A CN 201910060390A CN 109587044 A CN109587044 A CN 109587044A
- Authority
- CN
- China
- Prior art keywords
- user
- message
- group
- added
- cluster conversation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of group creating, method for message interaction and devices;The embodiment of the present invention can determine that multiple user identifiers to be added to be added to cluster conversation, the multiple user identifier to be added include virtual subscriber identity and real user mark;It include the cluster conversation of Virtual User and real user according to the multiple user identifier creation to be added.The creation of Virtual User group may be implemented in the program.
Description
Technical field
The present invention relates to communication technique fields, and in particular to a kind of group creating, method for message interaction and device.
Background technique
With the development of communication technologies, occur many immediate communication platforms on the market at present.But these instant messagings
It is ordinary user's group chat of real user that product, which can only create member, can not achieve creation comprising Virtual User and such as applies journey
The Virtual User group chat of sequence allows Virtual User such as application program to participate in group chat, is not able to satisfy use under many application scenarios
Family demand.
Summary of the invention
The embodiment of the present invention provides a kind of group creating, method for message interaction and device, and Virtual User group may be implemented
Creation.
The embodiment of the present invention provides a kind of group creating method, comprising:
Determine that multiple user identifiers to be added to be added to cluster conversation, the multiple user identifier to be added include void
Quasi- user identifier and real user mark;
It include the cluster conversation of Virtual User and real user according to the multiple user identifier creation to be added.
The embodiment of the present invention provides a kind of group creating method, comprising:
Show that the user interface of cluster conversation, the cluster conversation include the cluster conversation of real user;
It receives user and instruction is added by the member that the user interface triggers;
Instruction acquisition is added to be added to the virtual subscriber identity of the cluster conversation according to the member;
Virtual User is added to the cluster conversation according to the virtual subscriber identity.
Correspondingly, the embodiment of the invention also provides another group creating methods, comprising:
The group creating request that group founder's equipment is sent is received, the group creating request is carried to be added to group's meeting
Multiple user identifiers to be added in words, the multiple user identifier to be added include virtual subscriber identity and real user mark
Know;
It include the cluster conversation of Virtual User and real user according to group creating request creation;
Into the cluster conversation, the equipment of member synchronizes the group data of the cluster conversation.
Correspondingly, the embodiment of the invention also provides a kind of method for message interaction, comprising:
The message to be sent for cluster conversation that message processing server is sent is received, the message to be sent includes disappearing
Content is ceased, the cluster conversation includes real user and Virtual User;
When the message intended receiver to be sent and when recipient is Virtual User in cluster conversation, it is based on extranets
Network agreement sends the message content to the equipment of Virtual User;
When the message intended receiver to be sent and when recipient is real user in cluster conversation, based in system
Portion's network protocol sends the first group message to the equipment of the real user, and first group message includes in the message
Hold, prompting message information;
As the not specified recipient of the message to be sent, based on internal system network agreement member into cluster conversation
Equipment sends the second group message for carrying the message content.
Correspondingly, the embodiment of the present invention also provides a kind of group creating device, comprising:
Determination unit, it is the multiple to be added for determining multiple user identifiers to be added to be added to cluster conversation
User identifier includes virtual subscriber identity and real user mark;
Creating unit, for including the group of Virtual User and real user according to the multiple user identifier creation to be added
Group session.
Correspondingly, the embodiment of the present invention also provides another group creating device, comprising:
Display unit, for showing that the user interface of cluster conversation, the cluster conversation include the group of real user
Group session;
Receiving unit adds instruction by the member that the user interface triggers for receiving user;
Acquiring unit, for adding instruction acquisition to be added to the Virtual User mark of the cluster conversation according to the member
Know;
Adding unit, for Virtual User to be added to the cluster conversation according to the virtual subscriber identity.
Correspondingly, the embodiment of the present invention also provides another group creating device, comprising:
Creating unit, for including the cluster conversation of Virtual User and real user according to group creating request creation;
Data synchronisation unit, the equipment for the member into the cluster conversation synchronize the group number of the cluster conversation
According to.
Correspondingly, the embodiment of the present invention also provides a kind of interacting message device, comprising:
Message reception units, for receiving the message to be sent for cluster conversation of message processing server transmission, institute
Stating message to be sent includes message content, and the cluster conversation includes real user and Virtual User;
Push unit is used for:
When the message intended receiver to be sent and when recipient is Virtual User in cluster conversation, it is based on extranets
Network agreement sends the message content to the equipment of Virtual User;
When the message intended receiver to be sent and when recipient is real user in cluster conversation, based in system
Portion's network protocol sends the first group message to the equipment of the real user, and first group message includes in the message
Hold, prompting message information;
As the not specified recipient of the message to be sent, based on internal system network agreement member into cluster conversation
Equipment sends the second group message for carrying the message content.
Correspondingly, the embodiment of the present invention also provides a kind of storage medium, the storage medium is stored with instruction, described instruction
Step in the method for any offer of the embodiment of the present invention is provided when being executed by processor.
The embodiment of the present invention can determine multiple user identifiers to be added to be added to cluster conversation, the multiple wait add
Adding user identifier includes virtual subscriber identity and real user mark;Include void according to the multiple user identifier creation to be added
The cluster conversation of quasi- user and real user.The creation of Virtual User group may be implemented in the program.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 a is the structural schematic diagram of message exchange system provided in an embodiment of the present invention;
Fig. 1 b is that the process of group creating method provided in an embodiment of the present invention is intended to;
Fig. 2 is another flow diagram of group creating method provided in an embodiment of the present invention;
Fig. 3 a is the flow diagram of method for message interaction provided in an embodiment of the present invention;
Fig. 3 b is group chat interface schematic diagram provided in an embodiment of the present invention;
Fig. 3 c is that group chat message provided in an embodiment of the present invention sends schematic diagram;
Fig. 3 d is provided in an embodiment of the present invention enters and the independent chat schematic diagram of application;
Fig. 4 is another flow diagram of method for message interaction provided in an embodiment of the present invention;
Fig. 5 a is that another process of group creating method provided in an embodiment of the present invention is intended to;
Fig. 5 b is that member provided in an embodiment of the present invention adds interaction schematic diagram;
Fig. 5 c is that member provided in an embodiment of the present invention adds interaction schematic diagram;
Fig. 6 a is the configuration diagram of interacting message provided in an embodiment of the present invention;
Fig. 6 b is another configuration diagram of interacting message provided in an embodiment of the present invention;
Fig. 7 a is a kind of structural schematic diagram of group creating device provided in an embodiment of the present invention;
Fig. 7 b is a kind of structural schematic diagram of group creating device provided in an embodiment of the present invention;
Fig. 8 a is another structural schematic diagram of group creating device provided in an embodiment of the present invention;
Fig. 8 b is another structural schematic diagram of group creating device provided in an embodiment of the present invention;
Fig. 8 c is another structural schematic diagram of group creating device provided in an embodiment of the present invention;
Fig. 9 a is the structural schematic diagram of interacting message device provided in an embodiment of the present invention;
Fig. 9 b is another structural schematic diagram of interacting message device provided in an embodiment of the present invention;
Fig. 9 c is another structural schematic diagram of interacting message device provided in an embodiment of the present invention;
Figure 10 is another structural schematic diagram of interacting message device provided in an embodiment of the present invention;
Figure 11 a is another structural schematic diagram of group creating device provided in an embodiment of the present invention;
Figure 11 b is another structural schematic diagram of group creating device provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of the network equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of group creating, method for message interaction, device and storage medium.
The embodiment of the invention provides a kind of message exchange systems, comprising: the group creating suitable for group founder's equipment
Device (being properly termed as the first group creating device) (is properly termed as suitable for the group creating device of message processing server
Two group creating devices).
Wherein, the first group creating device can integrate in group founder's equipment, this group of founder's equipment are group's creation
The equipment that person uses, for example, may include terminal or server.In one embodiment, when group founder be real object such as
When the objects such as administrator, user, this group of founder's equipment can be the terminal of real object, for example, the terminal that administrator uses.
For another example, in one embodiment, when group creator is virtual objects such as application program etc., this group of founder's equipment can be
Equipment where virtual objects, for example, server, terminal, robot where application program etc..
Wherein, the second group creating device can integrate in message processing server, and message processing server can be for i.e.
When the background server etc. that communicates.
For example, with reference to Fig. 1 a, message exchange system may include: that group founder's equipment, message processing server, message push away
Send server, group members equipment.Wherein, group, which creates equipment, in Fig. 1 a to be terminal (such as mobile phone, laptop, plate electricity
Brain etc.), group members equipment can be terminal, message push server, message processing server, Virtual User server.If
It is standby between server, pass through network connection between server and server.It is as follows:
When needing to create group, group founder's equipment can determine multiple users to be added to be added to cluster conversation
Mark, multiple user identifiers to be added include virtual subscriber identity and real user mark;Obtain the ground of message processing server
Location information;The group creating request for carrying multiple user identifiers to be added is sent to message processing server according to address information,
To create the cluster conversation for including Virtual User and real user.Wherein, when group creator is Virtual User such as application program
When, group founder's equipment may include the equipment of Virtual User, for example, equipment of the Virtual User as where application program, for example,
Server or terminal etc. of the Virtual User as where application program.When group creator is real user, group founder is set
Standby may include the user equipment of real user, for example, the equipment such as terminal that real user uses.
Message processing server, it includes group's meeting of Virtual User and real user that creation can be requested according to group creating
Words;Into cluster conversation, member object identifies corresponding equipment synchronization group data.For example, member can be marked into cluster conversation
Know corresponding equipment and send group synchronization information, which includes group data to be synchronized.Specifically, message processing server
Corresponding equipment synchronization group data can be identified to group member by message push server.
Group members equipment can receive the group synchronization information of message processing server transmission, according to group synchronization information
Display includes the cluster conversation interface of at least one Virtual User and at least one real user.
After cluster conversation creates successfully, real user or Virtual User can send message in cluster conversation.
For example, user can be sent by user equipment to message processing server when real user sends message in cluster conversation
Group message, message processing server send the group message to message push server, and message push server disappears group
Breath is pushed to the corresponding equipment of member identities in cluster conversation, realizes that group message is sent.
For another example, when Virtual User sends message in cluster conversation, the equipment of Virtual User can be based on external network
Agreement such as hypertext transfer protocol (HTTP, HyperText Transfer Protocol) disappears to message processing server transmission
Cease content;For example, can send message to message processing server sends request (POST), which sends request and can carry
Group identification, message content;Message processing server can be corresponding to member identities based on message system internal network protocol
Equipment sends group message, and specifically, message processing server sends request and generate according to message meets internal network protocol
Group message, and the group message is sent to message push server;Message push server can be based on internal network protocol
Into cluster conversation, the corresponding equipment of member identities sends the group message.
It is described in detail separately below.It should be noted that the sequence of following embodiment is not as preferably suitable to embodiment
The restriction of sequence.
In one embodiment, it will be described from the angle of the first group creating device, the first group creating device tool
Body can integrate in the network equipment, which may include terminal or server.
As shown in Figure 1 b, provide a kind of group creating method, the group creating method can by the network equipment such as terminal,
Processor in server executes, and detailed process can be such that
101, multiple user identifiers to be added to be added to cluster conversation are determined, wherein multiple user identifiers to be added
It is identified including virtual subscriber identity and real user.
Wherein, real user is ordinary user, refers to the true people using equipment, network service or software.Virtually
User is the non-genuine people referred to using equipment, network service or software, for example, Virtual User may include using journey
Sequence (or software) etc., for example attendant applications, enterprises service application, consulting application etc..For another example Virtual User can also wrap
Include the entity device where application program (or software), for example, intelligent robot etc..
Wherein, real user is identified as the user identifier of real user, for identifying the identity of real user.For example, certain
Personal user identifier.
Virtual subscriber identity is the user identifier of Virtual User, for identifying the identity of Virtual User such as application program;Example
Such as, the user identifier of enterprises service application.
Wherein, user identifier can be made of number, and/or binary-coded character, and/or letter etc..In one embodiment,
It can be the id of certain digit with user identifier, for example, the id of 64 digits.In addition, in order to distinguish real user mark and virtual use
Family mark, can with certain digit identify id when, real user id, Virtual User id can be arranged in different sections with
Distinguish real user and Virtual User.
In one embodiment, Virtual User may belong to different message systems from real user, for example, Virtual User with
The user identifier (such as account) of real user belongs to different identity types, and each identity type corresponds to message system.For example, empty
Quasi- user identifier type is first identifier type, which corresponds to first message system, and real user identifies class
Type is second identifier type, which corresponds to second message system.
Wherein it is determined that the mode of user identifier to be added can there are many, for example, in one embodiment, group founder is such as
Someone can create cluster conversation by client such as instant communication client, at this point it is possible to pass through the friendship with client
Mutually determine user identifier to be added.Specifically, it may include steps of:
(1) the group's creation instruction for acting on the user interface of client is received.
Wherein, client is the software for interaction message of installation on the subscriber terminal, for example, can be instant messaging
Client etc..
Wherein, user interface is the user interface that client is shown, user can operate at the interface
Realize human-computer interaction.For example, user interface may include the main interface of client, and for example, message main interface, message master
Showing interface has the entrance of at least one cluster conversation or at least one each conference.
Wherein, group creates instruction to may include user is operated triggered group for the user interface of client
Creation instruction, for example, group can be set on user interface creates interface, when user operates such as the creation interface
Whens clicking operation, sliding etc., it will trigger corresponding group and create instruction, at this point, terminal or client can create the group and instruct
It is received.
Wherein, there are many forms of expression of group's creation interface, such as the forms such as input frame, icon.For example, user is whole
End can be in message main interface function menu button "+";When user needs to create such as external group, group, user can be with
Click the function menu button "+", when the user clicks the function menu button "+" when will triggering terminal in message main interface
Show a function menu column, which includes that group creates button " initiating group chat ";When user's point group creates button " hair
Play group chat " when, it will flip flop group creation instruction.
(2) user information that instruction shows multiple users is created based on group, wherein multiple users include that at least one is virtual
User and at least one real user.
Wherein, user information may include the information such as the information such as the pet name of user, head portrait or title, icon.For example,
Instruction display contact person's selection interface can be created according to group, which includes good friend user's (such as real user)
User information (pet name, head portrait), Virtual User (such as application program) (title, icon etc.).
(3) user identifier of the multiple users to be added chosen in multiple users is obtained.
For example, group creator such as some real user or Virtual User can be selected from multiple users it is to be added
To the user of cluster conversation, so that group creates the user identifier that equipment (such as terminal) gets user to be added.For example, founder
The middle user that cluster conversation can be needed to be added to by operating the selection in contact person's selection interface, so that terminal can obtain
Get the user identifier of user to be added.
In one embodiment, equipment (i.e. management end, such as terminal) can also be created by group by the administrator of message system
Cluster conversation is created, when creating group, administrator can directly be applied by group creating such as written in code application creation
Cluster conversation.Administrator can input user identifier (such as group chat member in cluster conversation to be added in group creating application
Mark), the information such as group's attribute information (such as group master, group's title information).At this point, group, which creates equipment such as terminal, can obtain pipe
The user identifier to be added of reason person's input.The administrator can apply journey for real user or Virtual User such as management
Sequence etc..
In one embodiment, can also by Virtual User create cluster conversation (cluster conversation of creation may include creation
The Virtual User of initiation, can also not include creation initiate Virtual User) namely group founder be Virtual User;At this point, group
Creating equipment is the corresponding network equipment such as server of Virtual User such as application program.When Virtual User needs to create group,
When needing to create group such as some application program, group can be created based on the instruction of real user.For example, real user can
With by terminal to the corresponding network equipment of Virtual User send group create instruction information (comprising multiple user identifiers to be added,
Group's attribute information), at this point, the corresponding network equipment of Virtual User will determine user's mark to be added according to the instruction information
Know.Specifically, the step multiple user identifiers to be added of cluster conversation " determine to be added to " may include:
It receives the group that terminal is sent and creates instruction information, wherein it includes needing to be added to group's meeting that group, which creates instruction information,
Multiple user identifiers to be added of words;
The determining multiple user identifiers to be added to be added to cluster conversation of instruction information are created according to group.
For example, user A can configure group creating by terminal and indicate information so that Virtual User is application program as an example,
Including group member information's (group member mark is user identifier to be added), cohort attribute information (group master, group's title etc.);So
Afterwards, the server where triggering terminal to application program sends instruction information, and the server where application program can be based on finger
Show that information determines user identifier to be added.
It 102, include the cluster conversation of Virtual User and real user according to multiple user identifier creations to be added.
For example, can be when Virtual User be application program, according to multiple user identifier creations to be added comprising applying journey
The cluster conversation of sequence and real user.
Wherein, cluster conversation difference and the common cluster conversation created in the embodiment of the present invention, common cluster conversation only wrap
Containing real user, for example, including the Member Users of some message system.And the cluster conversation of the embodiment of the present invention not only includes true
Real user can also include Virtual User.For example, including application program etc..
Wherein, Virtual User and real user may belong to identical message system in cluster conversation, for example, when creation is used
When Virtual User, other real users belong to identical message system in family and session, for creation side, the group of creation
Group session can be the inside cluster conversation of message system.In one embodiment, Virtual User and real user in cluster conversation
It may belong to different message systems, at this point, the cluster conversation of creation can be the external cluster conversation of message system.For example,
When creating user, belonging to different message systems from other real users in Virtual User or session, at this point, for wound
For the side of building, the group of creation can be the external cluster conversation outside message system.
Specifically, the implementation for creating group may include:
A, group creating request is generated according to the multiple user identifier to be added, the group creating is requested described in carrying
Multiple user identifiers to be added.
Specifically, in order to realize group creating, available network protocol file, according to network protocol file and it is multiple to
Addition user identifier generates the group creating request for meeting network protocol.The network protocol can create the affiliated message system of user
Internal network protocol, for example, the network protocol is inside message system when creating the Member Users that user is message system
Private network agreement.
When in one embodiment, except founder is located at the affiliated message system of session members user, which can
Think external network protocols, etc..
B, the address information of message processing server is obtained.
Wherein, message processing server is for creating cluster conversation in message system, as created comprising Virtual User
The server of cluster conversation.For example, the message processing server can be the background server of instant messaging.
Wherein, the address information of message processing server can be encapsulated in the API that group founder's equipment provides
In (Application Programming Interface, application programming interface), at this point it is possible to call api interface i.e.
The address information of message processing server can be obtained.In one embodiment, when administrator's creation includes the group of Virtual User,
The address information of message processing server can also be inputted by administrator.
C, it, is asked according to address information to the group creating that message processing server sends the multiple user identifiers to be added of carrying
It asks, to create the cluster conversation for including Virtual User and real user.
For example, in one embodiment, when including the group of Virtual User by management end creation, management end can be based on address
Information sends group creating request to message processing server such as instant messaging background server, and group creating request carries
Multiple user identifiers to be added.
Under normal circumstances, management end is located in message system, at this point, management end can be based on internal system network agreement
Group creating request is sent with message processing server of the address information into message system.
It for another example, in one embodiment, include Virtual User by such as server creation of the corresponding network equipment of Virtual User
When the group of (Virtual User can be the Virtual User as founder), the network equipment of Virtual User can be according to message
The address information of processing server sends group creating request to message processing server such as instant messaging background server, should
Group creating request carries multiple user identifiers to be added.
Wherein, the corresponding network equipment of Virtual User can for based on external network protocols and address information to Message Processing
Server sends group creating request.
Wherein, external network protocols are for the agreement used inside message system, one inside message system
As be all network protocol (i.e. external network protocols) using private network agreement, other than message system be usually public network association
View such as hypertext transfer protocol (HTTP, HyperText Transfer Protocol).
In addition, in one embodiment, group creating request can also carry cohort attribute information (such as group master, group's title
Deng).
Message processing server is receiving and creation can requested to include Virtual User and real user according to group creating
Cluster conversation.Specifically, virtual subscriber identity, real user mark can be uniformly considered as group members by message processing server
Mark is stored, to realize the creation of the group comprising Virtual User.
In one embodiment, in order to promote safety, it is also necessary to the identity of Virtual User such as application program is verified,
Specifically, group creating request also carries the identification authentication information of Virtual User, so that message processing server can be based on being somebody's turn to do
Authentication information verifies the identity of Virtual User, and when being verified, creation includes the cluster conversation of Virtual User.
In one embodiment, after the group creating success comprising Virtual User, Virtual User such as application program can be with
Into cluster conversation, member sends message;Specifically, the equipment (background server of such as application program) of Virtual User can be with
Message content is sent to message processing server based on external network protocols, message processing server can be based in message system
The equipment of portion's network protocol from member to cluster conversation sends message content.
For example, when group founder's equipment is the equipment of some Virtual User in group, then after group creates successfully,
Group's creation equipment can send message content to message processing server based on external network protocols, so as to message processing server
Equipment based on message system internal network protocol from member to cluster conversation sends message content.
Specifically, the background server etc. of the equipment of Virtual User such as application program, can based on external network protocols to
Message processing server sends message and sends request, and message, which sends request, can carry group identification, message content to be sent
Etc., message processing server can send request according to message and generate the group message for meeting internal network protocol, the group
Message includes message content;Then, the equipment of message processing server from member to the corresponding cluster conversation of group identification is sent
The group message.
In one embodiment, to promote information security, when Virtual User sends message in group, it is also necessary to virtual
The identity of user is verified;Specifically, can send request with message can also carry the identification authentication information of Virtual User, with
Just message processing server sends message when the authentication to Virtual User passes through.
In one embodiment, it will be described from the angle of the second group creating device, the second group creating device tool
Body can integrate in the server, for example, can integrate in message processing server.
As shown in Fig. 2, providing another group creating method, which can be by the processing in server
Device executes, and detailed process can be such that
201, the group creating request that group founder's equipment is sent is received;
Wherein, group creating request is carried to be added to multiple user identifiers to be added in cluster conversation, multiple wait add
Adding user identifier includes virtual subscriber identity and real user mark.
Wherein, Virtual User may belong to different message systems from real user, for example, Virtual User and real user
User identifier (such as account) belong to different identity types, each identity type corresponds to message system.For example, Virtual User mark
Knowledge type is first identifier type, which corresponds to first message system, and real user identity type is second
Identity type, the second identifier type correspond to second message system.
For example, in one embodiment, when group founder's equipment is the management end of message system, can receive management end hair
The group creating request sent, for example, the group creating request that receiver management terminal is sent based on internal system network agreement.
For another example, in one embodiment, when group founder's equipment is the equipment of Virtual User, it can receive Virtual User
The group creating request that sends of equipment, for example, the group that the equipment for receiving Virtual User is sent based on external network protocols creates
Build request.
For another example, in one embodiment, when the user equipment that group founder's equipment is some real user in message system
When, it can receive the group creating request that the user equipment of real user is sent, for example, receiving the user equipment base of real user
In the group creating request that internal system network agreement is sent.
Wherein, multiple user identifiers to be added may include the user identifier of crowd founder, for example, the use comprising administrator
Family mark;It can not also include the user identifier of crowd founder, for example, not including user identifier (namely the administrator of administrator
Creation does not include the group of oneself).
In one embodiment, group creating request can also include group's attribute information, such as group master, group's title, group's head portrait
Etc. information.For example, can determine user identifier and designated group to be added when administrator's creation includes the group of Virtual User
Main, setting group's title etc., at this point, group creating request can also carry these information.
It 202, include the cluster conversation of Virtual User and real user according to group creating request creation.
In one embodiment, corresponding group identification is distributed according to group creating request;Then, according to group identification and more
A user identifier creation to be added includes the cluster conversation of Virtual User and real user.
For example, can establish between group identification and user identifier to be added (mark of Virtual User, real user)
Mapping relations, to be created that the cluster conversation comprising Virtual User and real user.
In the embodiment of the present invention, virtual subscriber identity, real user mark can be uniformly considered as group members mark, and will
It is stored according to tentation data storage organization, so that creation includes the cluster conversation of Virtual User and real user.Further, it is also possible to
By group's name, group is main etc., and information are stored according to tentation data storage organization.
For example, message processing server (can regard group's name, group master, group id, member id using id, user id are unified
For the information such as group members id) storage to backstage.
It in one embodiment, can also be when creation includes the group of Virtual User, to void in order to promote information security
The identity of quasi- user is verified.Wherein, group creating request can also carry the identification authentication information of Virtual User.At this point,
Step " creates the cluster conversation comprising Virtual User and real user according to group creating request ", may include:
The identification authentication information of Virtual User is verified;
It then include group's meeting of Virtual User and real user according to multiple user identifier creations to be added when being verified
Words.
Wherein, the identification authentication information of Virtual User can be supplied to Virtual User by message system service quotient, for example, empty
Quasi- user such as application program, small routine Deng Xian service provider are registered, and the identification authentication information of Virtual User can be obtained.The identity
Authentication information may include the information such as the password of Virtual User.
In one embodiment, it is contemplated that needing to interact between Virtual User and real user after group creating as message is mutual
It moves, then real user to be added just needs in visible range of the Virtual User such as application;Also it can determine all
Real user is the visual user of Virtual User.Specifically, step " when being verified, is marked according to multiple users to be added
Know the cluster conversation that creation includes Virtual User and real user ", it may include: when being verified and all real users are equal
For Virtual User visual user when, include the groups of Virtual User and real user according to multiple user identifiers to be added creations
Session.
Wherein, the visual user of Virtual User are as follows: the user that Virtual User such as application program allows to be seen and use is (true
Real user such as someone or Virtual User such as other applications);These users are the visual user of Virtual User, or
Person's visible range.
The embodiment of the present invention, group creating method can also include detecting whether all real users are Virtual User
Visual user;Timing between the detection and authentication step of the visual user can be set according to actual needs, for example, can
See that the detection of user can pass through in authentication to execute, or can also be performed simultaneously with authentication later etc..
In one embodiment, the corresponding visual user mark of available virtual subscriber identity;By all real user marks
Know with visual user identify compare, according to comparing result determine all real users whether be Virtual User visible use
Family.
203, into cluster conversation the equipment synchronization group session of member group data.
Comprising Virtual User and real user group creating success when, can into group member equipment synchronic group
Group data.For example, message system internal network protocol synchronization group data can be based on.The equipment of member such as real user is set
It is standby that the cluster conversation interface comprising real user and Virtual User can be shown according to group data.For example, staff officer Fig. 3 b, with void
Intend user for application program " meeting assistant ", to include the group of application program " meeting assistant " according to aforesaid way creation.
Wherein, group data may include: group property data (such as group's title), group members data (such as members list
Deng), group's message data (such as messaging list) etc..
In the embodiment of the present invention, can actively into cluster conversation member equipment synchronization group data, can also by
The device request synchronization group data of member.
In one embodiment, in order to promote user experience, can also ought receiving crowd founder, (Virtual User is true
User) send a piece of news when, the group data of the equipment synchronization group session of member into cluster conversation.
After the cluster conversation comprising Virtual User and real user creates successfully, Virtual User can be to it in group
His member sends message and interacts;And it, can also be to virtual in order to promote information security when Virtual User sends out message
The identity of user is verified.Specifically, present invention method can also include:
The message for receiving the equipment transmission of Virtual User, which is sent, requests, in message transmission request carrying group identification, message
The identification authentication information of appearance and Virtual User;
Identification authentication information is verified;
If being verified, the group message including group identification, message content is sent to message push server, so as to
The equipment of message push server from member to cluster conversation sends group message.
For example, the equipment of Virtual User can be based on external network protocols to disappearing in group after group creating success
It ceases processing server and sends message transmission request, message processing server can verify identification authentication information, if verifying
Pass through, then group message is sent (including in group identification, message to message push server based on internal system network agreement
Hold);Message push server the equipment of member can send group message into group identification corresponding cluster conversation, thus real
Messaging interaction in existing cluster conversation between Virtual User and real user.
The embodiment of the present invention can create group's meeting comprising real user and Virtual User by way of above-mentioned introduction
Words, and can also realize the messaging interaction of Virtual User and real user in cluster conversation, the user experience is improved.For example,
Virtual User such as application program -> can pass through API update group chat -> by API creation group chat and pass through API hair message to group chat.
The API is the interface that message processing server outwardly provides, and can be packaged with address information etc..Application program can be called
API sends group creating request creation group chat to message processing server, and API is called to send group to message processing server
Request (such as group chat member updates request) is merely updated, AIP is called to send message, etc. to group chat member.
On the basis of above-mentioned group creating, the embodiment of the invention also provides a kind of method for message interaction, below from
The angle of one interacting message device is described, which specifically can integrate in group members equipment such as hand
Machine, tablet computer etc..
As shown in Figure 3a, another method for message interaction is provided, which can be by group members equipment
Processor execute, detailed process can be such that
301, from the group data of message processing server synchronization group session.
Wherein, cluster conversation includes Virtual User and real user;Group data may include: group property data (such as
Group's title etc.), group members data (such as members list), group's message data (such as messaging list) etc..
Cluster conversation in the embodiment of the present invention is different from cluster conversation common at present, and the common cluster conversation of target is only
Including real user, however, the cluster conversation of the embodiment of the present invention may include Virtual User such as application program, intelligent robot
Etc..
In the embodiment of the present invention, message processing server can actively into cluster conversation member equipment synchronization group number
According to can also be by the device request synchronization group data of member.
In one embodiment, in order to promote user experience, can also ought receiving crowd founder, (Virtual User is true
User) send a piece of news when, the group of message processing server equipment synchronization group session of member into cluster conversation
Group data.
302, the cluster conversation interface comprising Virtual User and real user is shown according to group data.
In one embodiment, cluster conversation interface can also include message content, for example, being Virtual User in group founder
When such as application program, the cluster conversation interface that group members equipment is shown can also include the message content that Virtual User is sent.
For example, by taking Virtual User is application program " meeting assistant " as an example, according to above-mentioned group creating mode Virtual User
The cluster conversation comprising Virtual User and real user can be created, group members equipment such as terminal can be from message processing server
Synchronization group data show cluster conversation interface as shown in Figure 3b according to group data.The cluster conversation interface includes virtual
User " meeting assistant " and real user.Wherein, cluster conversation interface also shows Virtual User " meeting assistant " transmission
Message such as notice of meeting message, meeting address information etc..
After creating the cluster conversation comprising Virtual User and real user, used between real user, really in group
It can be interacted between family and Virtual User.For example, in one embodiment, can be sent in cluster conversation to designated user
Message.Specifically, it can be realized by message sink user-specified character.For example, method for message interaction of the embodiment of the present invention
Can also include:
When detect real user when cluster conversation interface inputs message receiver designated character, from cluster conversation at
Selection target message receiver in member user;
When receiving message transmission instruction, the message content that real user inputs at cluster conversation interface, message are obtained
Content includes message receiver designated character;
Into cluster conversation, the equipment of member sends group message, and group message includes target message recipient mark, disappears
Cease content;Specifically, group message can be sent to message processing server, group message includes target message recipient mark
Know, message content, group message is sent from the equipment of message processing server from member to cluster conversation.
In one embodiment, for message sender, real user can be shown in group in cluster conversation interface
The message content of group session interface input.
Wherein, message receiver designated character is for some user (real user or virtual use in designated group session
Family) function character functional character, which can set according to actual needs, for example, can be key characters such as " ".
Wherein, target message recipient is user's (including real user that current message to be sent is received in cluster conversation
Or Virtual User).Target message recipient is identified as the user identifier that current message user to be sent is received in cluster conversation.
For example, can be identified for virtual subscriber identity, real user.
Cluster conversation interface further includes message entry interface in practical applications, and the form of expression of the message entry interface has
It is a variety of, for example, can be input frame, icon etc..The message entry interface may include the text for user's inputting word information
Message entry interface, the speech message input interface for user's input voice information.
With reference to Fig. 3 c, after showing cluster conversation interface, group members can word message at cluster conversation interface it is defeated
The message contents such as message receiver indicator are inputted in incoming interface or speech message input interface;Group members equipment can detecte use
The input at family, to obtain the message content to be sent of user's input;For example, can be obtained when receiving message transmission instruction
The message content (voice or text) of family input is taken, then, it includes message content that the equipment of member, which is sent, into cluster conversation
Group message.
The embodiment of the present invention, can be when detecting real user input message receiver designated character such as "@", can be from group
Selection target message receiver in the member of group session.Wherein, there are many modes of selection target message receiver, for example,
It can be target message recipient or some preset member for message receiver using default group master in one embodiment.
For another example, in one embodiment, it in order to promote the flexibility that user experience and message are sent, can also detect
When inputting message receiver designated character, the interface of group members is shown, user can select message receiver in the interface;Than
Such as, step " the selection target message receiver from the member of cluster conversation " may include:
Show member's selection interface, member selection interface includes the user information of member in cluster conversation;
The selection operation at member selection interface, the selection target message from the member of cluster conversation are directed to based on real user
Recipient.
In one embodiment, the operation (such as long press operation) detected for member's head portrait in session interface can also be worked as
When, triggering input message receiver indicator, and determine that the corresponding member of member's head portrait is message receiver simultaneously.
For example, user can input message sink indicator "@" in cluster conversation interface with reference to Fig. 3 c, specify simultaneously
Virtual User " meeting assistant " is recipient, then inputs " my seat number ";Message send button in interface when the user clicks
When, it just triggers message and sends instruction, at this point, group members equipment will be sent to message content " my seat number of@meeting assistant "
To the equipment of members all in cluster conversation, and in the session showing interface message content.
Wherein, target message recipient may include Virtual User or real user in cluster conversation, when target message connects
When debit is Virtual User, displaying target message receiver it can also be directed in the reply of message content in cluster conversation interface
Hold.
For example, with reference to Fig. 3 c, in some real user (such as user A)@group some Virtual User be " meeting assistant " it
Afterwards, Virtual User is that " meeting assistant " will return to the reply content for the message content;Member device will be in session circle
The reply content is shown in face.
In one embodiment, target message recipient may be real user in cluster conversation, for example, with reference to Fig. 3 c,
Member Users " XXXa " can input message sink indicator "@" in cluster conversation, while specified real user " XXXb " is
Then recipient inputs " my XX forms a team ";When the user clicks in interface when message send button, just triggers message and sends instruction,
At this point, the equipment that group members equipment will be sent to all members in cluster conversation to message content "@XXXb I XX form a team ", and
In the session showing interface message content.
In one embodiment, the information of the Virtual User in group chat can be can also look at group member, for example, when void
When quasi- user is application program such as " meeting assistant ", group chat member can check the information of application program such as " meeting assistant ".Tool
Body, method for message interaction of the embodiment of the present invention can also include:
It is operated based on group's information inspection for cluster conversation interface, shows the information interface of cluster conversation, information interface
It include: that Virtual User checks entrance;
It is operated based on group's information inspection for cluster conversation interface, shows the information interface of cluster conversation, information interface
It include: that Virtual User checks entrance.
For example, group information, which can be set, at cluster conversation interface checks entrance, user can be directed to group information entrance
The information interface of operation display cluster conversation is carried out, that is, group members equipment can be checked based on detecting for group information
The information interface of the information inspection operation display cluster conversation of entrance.
Wherein, the details page of Virtual User includes the information of Virtual User, for example, the title of Virtual User, virtual use
The functional entrance (such as session entrance, inlet porting) of the function introduction at family, Virtual User.
Wherein, the information interface of cluster conversation may include group name, it is group member, group's bulletin, conversation recording, virtual
User checks the information such as entrance.For example, with reference to Fig. 3 c and Fig. 3 d, when real user clicks the group in the cluster conversation interface upper right corner
When information inspection button, real user equipment will show the information interface of cluster conversation, as shown in Figure 3d.The information bound bread
It includes Virtual User and checks entrance " group's associated application ";The Virtual User checks entrance " group's associated application ", user when the user clicks
Equipment will show that the details page of Virtual User such as application program " meeting assistant ", the details page include Virtual User as applied
The details of program " meeting assistant ", including Virtual User session entrance " entering application " or " sending message ", virtual use
Recommended information, the setting button of Virtual User at family etc..
In one embodiment, it is also operated based on the session for Virtual User session entrance, display and Virtual User session
Session interface.For example, with reference to Fig. 3 d, Virtual User session entrance " entering application " or " sending message " be just when the user clicks
The session interface of display with " meeting assistant " can be triggered, is individually interacted with Virtual User to realize, message is such as sent
Deng.
The embodiment of the present invention can create the cluster conversation comprising Virtual User by way of above-mentioned introduction, and in group
In group session between real user and real user, messaging interaction can also be realized before real user and Virtual User.
On the basis of above-mentioned group creating, the embodiment of the invention also provides another method for message interaction, below from
The angle of two interacting message devices is described, which specifically can integrate in server, as message pushes away
Send server etc..
As shown in figure 4, providing another method for message interaction, which can be by the processing in server
Device executes, and detailed process can be such that
401, the message to be sent for cluster conversation that message processing server is sent is received, which includes
Message content, the cluster conversation include real user and Virtual User.
Wherein, message to be sent may include the information such as message content, group identification.
In the embodiment of the present invention, cluster conversation may include Virtual User and real user, for example, cluster conversation can wrap
Include application program.
After creating the cluster conversation comprising Virtual User, message processing server can receive to be sent out from member device
The message sent, the message include message content, group identification etc..For example, message processing server can receive in group really
The message (being based on internal system network agreement) that the equipment of user is sent, for another example, message processing server can also receive group
Message (being based on external network protocols) that server where the equipment of Virtual User such as application program is sent in group etc.;Message Processing
Server can send message to be sent to message push server according to the message received.
In one embodiment, message to be sent can specify recipient, and recipient can be the member in cluster conversation, than
Such as, the Virtual User in cluster conversation or real user etc..
For example, message receiver designated character ("@" can be inputted when message sender sends message in cluster conversation
Designated character) and specified message receiver mark, so that the specified message receiver for receiving the message, therefore, to be sent
Message can also include message receiver designated character, message receiver mark etc..In one embodiment, message receiver is specified
Character may be embodied in message content.
402, when message intended receiver to be sent and when recipient is Virtual User in cluster conversation, extranets are based on
Network agreement sends message content to the equipment of Virtual User.
Wherein, message to be sent whether the method for determination of intended receiver can based on message receiver designated character come really
It is fixed, for example, determining that message to be sent specifies reception when detecting that message to be sent includes message receiver designated character
Side;When detecting that message to be sent does not include message receiver designated character, the not specified recipient of message to be sent is determined.
The embodiment of the present invention, can be based on outside in message intended receiver to be sent and when recipient is Virtual User
Network protocol sends message content to the equipment of Virtual User;It is carried in message for example, can be sent to the equipment of Virtual User
The message of appearance sends request, for example, is also based on HTTP POST request to the equipment of Virtual User and sends message content.
For example, message push server can send message content, tool to the equipment of Virtual User by readjustment server
Body, message is sent to virtual user equipment based on the address of virtual user equipment by readjustment server and sends request etc..
Wherein it is possible to be identified based on message receiver to determine that recipient is real user or Virtual User, for example, working as
Message receiver mark is located in the mark section of real user, it is determined that message receiver is real user;Work as message sink
Side's mark is located in the mark section of Virtual User, it is determined that message receiver is Virtual User.
403, when message intended receiver to be sent and when recipient is real user in cluster conversation, based in system
Portion's network protocol sends the first group message to the equipment of real user.
Wherein, the first group message may include message content and prompting message information;For example, specified in message to be sent
When some real user is message receiver in group, then message push server is based on internal system network agreement (such as private
Have agreement) group message with prompting function will be sent to the equipment of the real user;The equipment of the real user receives
The prompting function of equipment will be triggered when to group message, to remind user to have group message.
It is set in addition, message push server is also based on internal system network agreement remaining member into cluster conversation
Preparation send the group message without prompting function.
Specifically, it is determined that recipient is
404, as the not specified recipient of message to be sent, based on internal system network agreement member into cluster conversation
Equipment sends the second group message for carrying message content.
Wherein, the second group message is common group message, compared with the first group message, can not have and remind
Function.For example, the member device will be to message when some member sends a piece of news in cluster conversation in cluster conversation
Processing server sends message, and message processing server can transmit the message to message push server, message push service
Device identifies the not specified recipient of the message, disappears at this point it is possible to push this to all member devices based on internal system network agreement
Breath.
It is all in group chat for message processing server such as message backstage using the embodiment of the present invention
Member sends out message, therefore message backstage is hardly used as change.Only in message push server, needing to distinguish is to be pushed to
Real user is still pushed to Virtual User, to select different channel PUSH messages.And the mode distinguished passes through group members
Section where id distinguishes.
The embodiment of the invention also provides another group creatings to violate the law, and the embodiment of the present invention will be filled from the second group creating
The angle set is described, which specifically can integrate in the terminal.
As shown in Figure 5 a, a kind of group creating method is provided, which can be by the processor in terminal
It executes, detailed process can be such that
501, show that the user interface of cluster conversation, the cluster conversation include the cluster conversation of real user.
Wherein, the user interface of cluster conversation may include user's operation circle operated for user to cluster conversation
Face, the interface can be the interface UI.User can operate cluster conversation by the user interface, such as send group and disappear
Group is deleted in breath, the essential information (such as title, head portrait) of setting cluster conversation, the Message Record for checking cluster conversation, addition
Session members etc..
For example, user interface may include the interacting message interface namely cluster conversation interface of cluster conversation;User
Interacting message can be carried out by cluster conversation interface and member.For another example, user interface may include cluster conversation
Detail information interface, for example, chat message interface;User can carry out equipment to group session information at detail information interface,
For example, the essential information (such as title, head portrait) of setting cluster conversation, the Message Record for checking cluster conversation, addition deletion group
Group session member etc..
For example, terminal can show the chat interface of cluster conversation with reference to Fig. 5 b, user can pass through chat interface upper right
The function button triggering at angle enters the chat message interface of cluster conversation;Wherein, chat message interface may include: group chat title
And its setting control, group's two dimensional code displaying control, group members information (such as group members head portrait) and group members addition control etc.
Deng.
Wherein, current cluster conversation can only include real user, can also i.e. include real user and Virtual User,
It can also only include Virtual User in one embodiment.
502, it receives user and instruction is added by the member that user interface triggers.
For example, user can carry out member to user interface and add operation triggering member when needing to add member
Addition instruction.For example, it when needing that Virtual User is added in existing cluster conversation, can be triggered by user interface
Member adds instruction.
Wherein, user interface may include group members addition control, and user can add control touching by group members
It sends out member and adds instruction;At this point it is possible to be received to the instruction.Other group members add control form can for icon,
The forms such as button.
For example, showing group members addition in chat message interface so that user interface is chat message interface as an example
Control "+";At this point, user can trigger member's addition instruction by clicking "+".
503, instruction acquisition is added to be added to the virtual subscriber identity of cluster conversation according to member.
Wherein, virtual subscriber identity is the user identifier (ID) of Virtual User, can specifically refer to above-described embodiment introduction.
For example, Virtual User can be application program, at this point it is possible to be obtained according to instruction to be added to the application program in cluster conversation
ID。
Wherein, the quantity of virtual subscriber identity can be one or more, specifically, can according to the actual situation and
It is fixed.
Wherein, obtain virtual subscriber identity mode can there are many, for example, a in one embodiment, can show to
Add user selection interface, such user selection can need Virtual User to be added in the interface, thus obtain to be added to
The virtual subscriber identity of group.Specifically, step " adds instruction acquisition to be added to the Virtual User of cluster conversation according to member
Identify ", may include:
Instruction is added according to member and shows user selection interface to be added, and user selection interface to be added includes multiple wait add
Add the user information of user, multiple users to be added include at least one Virtual User;
Based on the selection operation for being directed to user selection interface to be added, choose from multiple users to be added to be added to group
The virtual subscriber identity of the Virtual User of group session.
Wherein, user to be added may include and the use to be added of active user (i.e. invitation user) with incidence relation
Family;For example, can have the real user or Virtual User of one-way or bi-directional friend relation with active user.
Specifically, step " add instruction according to member and show user selection interface to be added " may include:
The relation chain data that instruction obtains active user are added according to member;
User selection interface to be added is shown according to relation chain data, and user selection interface to be added includes and active user
The user information of multiple users to be added with incidence relation.
For example, terminal can add the pass that instruction obtains active user from the background server of this message system according to member
Tethers data, which includes the user information for having incidence relation such as friend relation with active user, for example, including
There is the user identifier etc. of incidence relation with active user's mark;Terminal can show user's choosing to be added according to relation chain data
Select interface.
Wherein, multiple users to be added can be the Member Users namely multiple users to be added of identical message system
User identifier type is identical;For example, real user, Virtual User are located at the same message system in multiple users to be added.This
Outside, multiple users to be added can also also be the user identifier of the Member Users of different messages system namely multiple users to be added
Type can not be identical.For example, real user belongs to first message system in multiple users to be added, Virtual User belongs to first
Second message system except message system, first message system and second message system are heterogeneous system.
For example, when member adds control "+" when the user clicks, terminal receives member and adds instruction, and base with reference to Fig. 5 b
Show that selection contact person interface, the selection contact person interface may include: external relation people, address list and most in the instruction
Nearly contact person;Wherein, external relation people includes the contact person invited except the affiliated message system of user, and address list includes this message
Contact person in system, the artificial contact person for inviting user to contact recently of connection recently.As shown in Figure 5 b, it is wrapped in nearest contact person
Contact person " XXa ", " XXb " containing application program such as " meeting assistant ", " hot news " and this message system.User can
To operate the application program " meeting assistant " that selection needs to be added to cluster conversation in selection contact person interface;Terminal can be with base
The application program to be added to cluster conversation is determined in selection operation.When the user clicks when addition confirmation control " determination ", triggering
Addition confirmation instruction, at this point, application program " meeting assistant " can be added in current cluster conversation by terminal.
In one embodiment, for the ease of adding user, Virtual User can also be set in user selection interface to be added
Entrance is selected, user can check all Virtual User by the entrance, and therefrom select.Specifically, step " adds according to member
Instruction is added to obtain the virtual subscriber identity to be added to cluster conversation ", may include:
Instruction is added according to member and shows user selection interface to be added, and user selection interface to be added includes Virtual User
Select entrance;
Based on operation is entered for Virtual User selection entrance, Virtual User list interface, Virtual User list are shown
Interface includes the user information of at least one Virtual User;
Based on the selection operation for being directed to Virtual User list interface, acquisition is chosen to be added from least one Virtual User
To the virtual subscriber identity of the Virtual User of cluster conversation.
Wherein, comprising having the Virtual User of incidence relation with active user in Virtual User list, for example, user pays close attention to
Small routine, application program etc..
For example, when member adds control "+" when the user clicks, terminal receives member and adds instruction, and base with reference to Fig. 5 c
Show that selection contact person interface, the selection contact person interface may include: application program entry " application ", communication in the instruction
Record and nearest contact person;Wherein, address list includes the contact person in this message system, and connection recently is artificial to invite user most
The contact person closely contacted.When user needs to add application program to group, application program entry " application " can be clicked, this
When, terminal can show list of application interface according to clicking operation, which invites the public platform of user's concern, using journey
Sequence " meeting assistant ", " hot news " etc..User can select to need to be added to the application of cluster conversation from list of application interface
Program " meeting assistant ";Terminal can determine the application to be added to cluster conversation in the selection operation of list interface based on user
Program.When the user clicks when addition confirmation control " determination ", triggering addition confirmation instruction, at this point, terminal can be by application program
" meeting assistant " is added in current cluster conversation.
504, Virtual User is added to by cluster conversation according to virtual subscriber identity.
In one embodiment, member can be sent to message processing server according to virtual subscriber identity and adds request, it should
Member, which adds request, can carry the information such as the virtual subscriber identity to be added to group, group identification;Message processing server
Request can be added according to the member Virtual User is added in cluster conversation.Specifically, message processing server can incite somebody to action
Virtual User is added in the members list of cluster conversation, then, the equipment synchronization group session of member identities in cluster conversation
Members list's data.
In one embodiment, the terminal of the terminal or group member of inviting user can also be same from message processing server
The member data for walking cluster conversation updates cluster conversation interface according to the member data being synchronized to, for example, at cluster conversation interface
The member data (such as quantity) that middle prompting has Virtual User to be added to cluster conversation, update cluster conversation.
For example, with reference to Fig. 5 b and Fig. 5 c, when the user clicks when addition confirmation control " determination ", triggering addition confirmation instruction,
At this point, application program " meeting assistant " can be added in current cluster conversation by terminal, and cluster conversation interface is shown, on boundary
Face includes the prompting message etc. that application program " meeting assistant " is added.
It in one embodiment, is promotion safety, wherein member, which adds request, can also carry the identity mirror of Virtual User
Information is weighed, such message processing server can first verify identification authentication when receiving addition request, if verifying is logical
It crosses, then Virtual User is added to cluster conversation
In one embodiment, when receiving member's addition confirmation instruction, Virtual User is added according to virtual subscriber identity
It is added to cluster conversation.With reference to Fig. 5 b and Fig. 5 c, when the user clicks when addition confirmation control " determination ", triggering addition confirmation instruction,
At this point, application program " meeting assistant " can be added in current cluster conversation by terminal.
From the foregoing, it will be observed that the scheme of the embodiment of the present invention can add Virtual User in existing cluster conversation, improve
Group chat diversity and flexibility.
Below method of the invention will be introduced so that Virtual User is application as an example.
It is a kind of message exchange system, including user 1, user 2 ..., using backstage, message pushes mould with reference to Fig. 6 a
Block, callback module, message background module.It wherein, can be the background server of application using backstage.Message pushing module returns
Mode transfer block and background module can integrate in an entity device, can also be integrated in respectively in different entity devices.Than
Such as, message pushing module is integrated in message push server, and callback module is integrated in readjustment server, message background module
It is integrated in message processing server, such as the background server of instant communication information.
If administrator creates the group chat comprising application such as " meeting assistant " in message system, it to be used for administrator
Into system, member pushes various notices of meeting (such as the time of meeting, place arrange), the application notified with an invitation
Scene explains.
Administrator's creation includes the group chat of application program:
(1), management end is determined to be added to the group chat member identities in group chat, wherein group chat member identities include user
Id (i.e. real user id), application id (i.e. Virtual User id) applied.
For example, administrator selects group chat member, including real user, application when needing to create the group chat comprising application.
Specifically, administrator can input or select group chat member identities in the group chat creation application of management end equipment.
In addition, administrator can be with groups' attribute informations such as designated group master, group's titles;In order to promote group chat safety, manage
Member can also input identification authentication information such as password of application etc..
Wherein, using may include: application that message system administrator creates in management end, or from the third party service provider
The application of installation.
(2), address of the management end based on message background module sends group chat request to create, the group chat to message background module
Request to create includes the identification authentication information of group chat member identities (user id, using id), application.
Since management end and message background module can be located in same message system, management end can be based on being
Internal network protocol of uniting initiates group chat creation.
In addition, group chat request to create can also carry the letter such as group's information that administrator specifies, including group master, group's title
Breath.
(3), group chat of the message background module according to the creation of group chat request to create comprising application, user.
For example, group chat id (i.e. group id) can be distributed, according to predetermined storage organization group chat id, group's name, group master, member
The storage of the information such as id (being uniformly considered as group members id using id, user id) is to backstage, to create group chat.
In one embodiment, message background module is before creating group chat, it is also necessary to identity and user to application into
Row verifying, namely authentication application and user.For example, message background module can test the identification authentication such as password of application
Whether card and authentication user are in the visible range of application (namely determining whether Member Users are the visual user applied).
Wherein, using visible range: applying only allows to be seen and used by specific user, these users are application can
See range.
(4), message background module synchronizes group chat data to the terminal of group chat member.
After group chat of the message backstage creation comprising application, group chat data can be synchronized to the terminal of each group chat member,
So that the terminal of each group chat member shows the group chat.Wherein, group chat data may include group chat member data, group chat message
Data etc..
Group chat using creation comprising application:
(1), it determines using backstage to be added to the group chat member identities in group chat, wherein group chat member identities include using
Family id (i.e. real user id), application id (i.e. Virtual User id) applied.
In addition, application backstage can be with groups' attribute informations such as designated group master, group's titles;In order to promote group chat safety, answer
The identification authentication information such as password etc. of application can also be inputted with backstage.
For example, can receive the group chat creation instruction information of controlling terminal transmission using backstage, which be can wrap
Group chat member identities, group chat setting information, authentication information etc. are included,
For example, the attendant of some application can be existed by controlling terminal when needing to create the group chat comprising application
Group chat member, including real user, application are configured using backstage.Furthermore the attendant applied can be with designated group master, group's name
Groups' attribute informations such as title;In order to promote group chat safety, administrator can also input identification authentication information such as password of application etc..
(2), the address using backstage based on message background module sends group chat request to create, the group to message background module
Merely request to create includes the identification authentication information of group chat member identities (user id, using id), application.
For example, using backstage can call message background module provide API creation group chat, specifically, call the API to
Message background module sends group chat request to create, wherein API is packaged with the communication informations such as message background model address.
In addition, group chat request to create can also carry the letter such as group's information that administrator specifies, including group master, group's title
Breath.
(3), group chat of the message background module according to the creation of group chat request to create comprising application, user.
For example, group chat id (i.e. group id) can be distributed, according to predetermined storage organization group chat id, group's name, group master, member
The storage of the information such as id (being uniformly considered as group members id using id, user id) is to backstage, to create group chat.
In one embodiment, message background module is before creating group chat, it is also necessary to identity and user to application into
Row verifying, namely authentication application and user.For example, message background module can test the identification authentication such as password of application
Whether card and authentication user are in the visible range of application (namely determining whether Member Users are the visual user applied).
(4), message background module synchronizes group chat data to the terminal of group chat member.
After group chat of the message backstage creation comprising application, group chat data can be synchronized to the terminal of each group chat member,
So that the terminal of each group chat member shows the group chat.Wherein, group chat data may include group chat member data, group chat message
Data etc..
With reference to Fig. 3 b, by taking application is " meeting assistant " as an example, after creating the group chat comprising application, message background module
Can to the terminal synchronization group data of each group chat member, the terminal of each group chat member be shown according to group data comprising application and
The group chat of user.
Member in group chat can check the information of the application in this group chat.And it can be individually to using PUSH message.Such as
It illustrates, " group's associated application " column is shown in group chat information, user, which clicks to enter, applies details page;Have using details page a
" entering application " column, clicks the window that can enter with application single chat, with reference to Fig. 3 c and Fig. 3 d.
It, can be to be interacted in group chat, for example, member can be between group chat member after creating the group chat comprising application
Apply and interacted in group chat, generally comprised: application hair message to group chat, member sends messages to application, application in group
It replys in group chat and is interacted between member, member and member.
For example, in one embodiment, it can be according to following interaction process interaction:
Using hair message to group chat -> member sends messages to application in group -> apply in group chat reply member -> at
Member with interacted between member.
1, user's (i.e. real user) sends out message in group chat:
A, user sends common message in group chat:
1. user sends message by user terminal, message passes through CGI (Common Gateway Interface, Web clothes
The specification of external program when business device operation) reach message background module.
Message is handled 2. message background module is based on relevant treatment logic, and message is (i.e. pending by treated
Send message) it is transmitted to message pushing module.
3. message pushing module pushes messages to the terminal of member in group chat.
B, in group chat user to user send message:
1. user sends the message that intended receiver is user in group chat by user terminal, message is disappeared by CGI arrival
Cease background module.The message may include message content, message receiver designated character, message receiver mark (i.e. true use
Family mark).
For example, user can input message receiver designated character "@" in the input frame in group chat session interface, and defeated
Enter or message receiver is selected to be identified as some user member in group chat;Message transmission is pressed in group chat session interface when the user clicks
When button, triggering message sends instruction, at this point, user terminal can send message to message background module by CGI.
Message is handled 2. message background module is based on relevant treatment logic, and message is (i.e. pending by treated
Send message) it is transmitted to message pushing module.
3. message pushing module can push messages to the terminal of member in group chat, such as the terminal of user 1,2,3, tool
Body, message can be sent to the terminal of member by the network protocol inside message system.Also, to message receiver
When terminal sends message, prompting message information is added in the message.
C, in group chat user to application (i.e. Virtual User) send message
1. user sends the message that intended receiver is application by user terminal, message reaches message backstage by CGI
Module.The message may include message content, message receiver designated character, message receiver mark (the application mark applied
Know).
For example, user can input message receiver designated character "@" in the input frame in group chat session interface, and defeated
The application identities for entering or message receiver being selected to be identified as application;Message send button in group chat session interface when the user clicks
When, triggering message sends instruction, at this point, user terminal can send message to message background module by CGI.
Message is handled 2. message background module is based on relevant treatment logic, and message is (i.e. pending by treated
Send message) it is transmitted to message pushing module.
3. message pushing module can push messages to the terminal of member in group chat, such as the terminal of user 1,2,3, tool
Body, message can be sent to the terminal of member by the network protocol inside message system.
4. message pushing module is by determining that message is specified receive comprising message receiver designated character in detection message
Square message, and determine that message receiver is identified as application identities (section determines as where through mark), message pushing module
Message can be sent to application backstage by callback module, for example, application backstage can be based on using Background scheduling callback module
URL and HTTP POST mode to application backstage send message
Wherein, 4. step realizes the backstage for pushing messages to application.The mode that user and application receive message is different, uses
Family reception message, which refers to, at the terminal to be shown message;And apply receive message refer to send the message to application in it is specific
Message processing logic, using receive message specific implementation are as follows:
The equipment of Virtual User such as applies one message handling services of background maintenance, is responsible for receiving and parsing through application message.
The URL of the service is configured to message background module using backstage.
Once there is the message for being sent to application, message background module is sent in a manner of HTTP POST by callback module
Using the URL of backstage configuration, for example, address of the callback module based on application backstage sends request to application backstage, request is carried
Message content etc..
In the embodiment of the present invention, will using and user be uniformly considered as group members, background module in transmission, treatment process not
It needs to distinguish application or user, only in message pushing module, just distinguishes application, sent a message to and answered by callback module
With.In the specific implementation, application id can be distributed from user id in different sections, distinguished by section where id.
C, using message is sent in group chat, with reference to Fig. 6 b:
1. application backstage will need the message content sent by requesting (such as HTTP POST) mode to be sent to message backstage
Module.
For example, application backstage can send message to message background module by API, wherein API is packaged with message backstage
The address information etc. of module.For example, the API of message background module can be called to send network to message background module using backstage
Request, the network request carry the message content for needing to send.
In one embodiment, the identification authentication information of application can also be sent to message background module by requesting party,
To carry out authentication, safety is promoted.
In one embodiment, using can receive callback module from the background by requesting (such as HTTP POST) mode to send
Message content;Then, the message content is handled based on preset knowledge processing logic, obtains the reply content of message content
Or response contents;Then by reply content or response contents by requesting (such as HTTP POST) mode to be sent to message backstage mould
Block.
2. message background module parses request, obtain message content, and by comprising message content message (i.e. to
Send message) it is transmitted to message pushing module.
In one embodiment, message background module can also verify the identity of application when receiving request, tool
Body, the identification authentication information for the application that request carries is verified, if being verified, by the message comprising message content
(message i.e. to be sent) is transmitted to message pushing module;Namely message background module disappears when being verified by what application was sent
Breath is uniformly considered as member's hair message and gives message pushing module.
3. message pushing module pushes messages to the terminal of each member in group chat.
By the comparison of Fig. 6 a and Fig. 6 b it is found that either user's hair message comes message backstage still using hair message
It says, is all that the member in group chat sends out message, therefore message backstage is hardly used as change.Only in message pushing module, need
It distinguishes and is pushed to user or is pushed to application, to select different channel PUSH messages.And the rule distinguished can also
With very simple, for example distinguished by the place group members id section.
It is realized using scheme provided in an embodiment of the present invention using directly drawing group, and is sent out and disappeared in group with the name of application
Breath replys user, and user can directly discuss in group, there is application scenarios very rich.
In addition, the embodiment of the present invention can will directly use existing backstage using group chat member is uniformly considered as with user,
On the basis of existing group chat interface, do not need backstage do larger change, development cost and can reach on the development cycle compared with
Good effect, and scalability is good.
For the ease of better implementation method of data synchronization provided in an embodiment of the present invention, additionally provide in one embodiment
A kind of data synchronization unit, the data synchronization unit are suitable for the intercommunication server between multiple message systems.Wherein noun contains
Adopted identical with above-mentioned method of data synchronization, specific implementation details can be with reference to the explanation in embodiment of the method.
In one embodiment, a kind of group creating device (referred to as the first group creating device), group wound are additionally provided
Building device specifically can integrate in group founder's equipment such as server or terminal, for example, can integrate management terminal or
In the server of Virtual User, as shown in Figure 7a, which may include: determination unit 701, creating unit 702,
It is specific as follows:
Determination unit 701, it is the multiple wait add for determining multiple user identifiers to be added to be added to cluster conversation
Adding user identifier includes virtual subscriber identity and real user mark;
Creating unit 702, for including Virtual User and real user according to the multiple user identifier creation to be added
Cluster conversation.
In one embodiment, creating unit 702, for obtaining the address information of message processing server, according to describedly
Location information sends the group creating request for carrying the multiple user identifier to be added to message processing server, includes with creation
The cluster conversation of Virtual User and real user.
In one embodiment, determination unit 701 can be specifically used for:
Receive the group's creation instruction for acting on the user interface of client;
The user information that instruction shows multiple users is created based on the group, the multiple user includes that at least one is virtual
User and at least one real user;
Obtain the user identifier of the multiple users to be added chosen in the multiple user.
In one embodiment, determination unit 701 can be specifically used for:
It receives the group that terminal is sent and creates instruction information, it includes needing to be added to cluster conversation that the group, which creates instruction information,
Multiple user identifiers to be added;
The determining multiple user identifiers to be added to be added to cluster conversation of instruction information are created according to group.
In one embodiment, the creating unit 702, can be specifically used for:
Group creating request is generated according to the multiple user identifier to be added, the group creating request carries described more
A user identifier to be added;
Obtain the address information of message processing server;
The group creating request is sent to the message handling device according to the address information, is used with creation comprising virtual
The cluster conversation at family and real user.
In one embodiment, the group creating request further includes the identification authentication information of the Virtual User.
In one embodiment, with reference to Fig. 7 b, group creating device can also include transmission unit 703;Transmission unit 703 is also
For: message content is sent to message processing server based on external network protocols, so that the message processing server is based on
The equipment of message system internal network protocol from member to the cluster conversation sends the message content.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
In one embodiment, another group creating device (referred to as third group creating device), the group are additionally provided
Creating device specifically can integrate in group founder's equipment such as server, for example, can be with message processing server, for example after message
In platform server, as shown in Figure 8 a, which may include: request reception unit 801, creating unit 802, data
Synchronization unit 803, specific as follows:
Request reception unit 801, for receiving the group creating request of group founder's equipment transmission, the group creating is asked
It asks and carries the multiple user identifier to be added, the multiple user identifier to be added includes virtual subscriber identity and real user
Mark;
Creating unit 802, for including the cluster conversation of Virtual User and real user according to group creating request creation;
Data synchronisation unit 803, the equipment for the member into the cluster conversation synchronize the group of the cluster conversation
Data.
In one embodiment, the group creating request also carries the identification authentication information of the Virtual User;With reference to figure
8b, creating unit 802 may include:
Subelement 8021 is verified, is verified for the identification authentication information to the Virtual User;
Subelement 8022 is created, for including void according to the multiple user identifier creation to be added when being verified
The cluster conversation of quasi- user and real user.
In one embodiment, subelement 8022 is created, can be specifically used for being verified and all real users are
It include Virtual User and real user according to the multiple user identifier creation to be added when the visual user of the Virtual User
Cluster conversation.
In one embodiment, with reference to Fig. 8 c, group creating device can also include: message sending unit 804;The message
Transmission unit 804, can be used for:
The message that the equipment for receiving the Virtual User is sent sends request, and the message sends request and carries group's mark
Know, the identification authentication information of message content and the Virtual User;
The identification authentication information is verified;
If being verified, the group message including group identification, message content is sent to message push server, so as to
The equipment of the message push server from member to cluster conversation sends the group message.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
From the foregoing, it will be observed that group creating device provided in an embodiment of the present invention can be created comprising Virtual User and real user
Group.
In one embodiment, a kind of interacting message device (referred to as first message interactive device) is additionally provided, which hands over
Mutual device specifically can integrate in group members equipment such as terminal, and as illustrated in fig. 9, which may include: to synchronize list
Member 901, display unit 902 are specific as follows:
Synchronization unit 901, for the group data from message processing server synchronization group session;
Display unit 902, for showing the cluster conversation comprising Virtual User and real user according to the group data
Interface.
In one embodiment, with reference to Fig. 9 b, interacting message device can also include: group message transmission unit 903, specifically
For:
When detecting real user when the cluster conversation interface inputs message receiver designated character, from cluster conversation
Member in selection target message receiver;
When receiving message transmission instruction, the message content that real user inputs at the cluster conversation interface is obtained,
The message content includes message receiver designated character;
Into the cluster conversation, the equipment of member sends group message, and the group message includes target message recipient
Mark, the message content.
In one embodiment, the target message recipient is Virtual User, and the display unit 902 can also be specific
For: displaying target message receiver is directed to the reply content of the message content in the cluster conversation interface.
In one embodiment, group message transmission unit 903 can be specifically used for:
Show member's selection interface, the member selection interface includes the user information of member in the cluster conversation;
The selection operation at the member selection interface, the selection target from the member of cluster conversation are directed to based on real user
Message receiver.
In one embodiment, with reference to Fig. 9 c, interacting message device can also include: that Virtual User checks unit 904, specifically
For:
It is operated based on group's information inspection for cluster conversation interface, shows the information interface of cluster conversation, the information
Interface includes: that Virtual User checks entrance;
Operation is checked based on check entrance for Virtual User, shows the details page of the Virtual User.
In one embodiment, the details page includes Virtual User session entrance;Virtual User checks unit 904, also
For:
The method also includes: based on the session operation for Virtual User session entrance, display and the Virtual User
The session interface of session.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
In one embodiment, a kind of interacting message device (referred to as second message interactive device) is additionally provided, which hands over
Mutual device specifically can integrate in server such as message push server, and as shown in Figure 10, which may include:
Message reception units 1001, push unit 1002, specific as follows:
Message reception units 1001, for receiving disappearing for the to be sent of cluster conversation for message processing server transmission
Breath, the message to be sent includes message content, and the cluster conversation includes real user and Virtual User;
Push unit 1002, is used for:
When the message intended receiver to be sent and when recipient is Virtual User in cluster conversation, it is based on extranets
Network agreement sends the message content to the equipment of Virtual User;
When the message intended receiver to be sent and when recipient is real user in cluster conversation, based in system
Portion's network protocol sends the first group message to the equipment of the real user, and first group message includes in the message
Hold, prompting message information;
As the not specified recipient of the message to be sent, based on internal system network agreement member into cluster conversation
Equipment sends the second group message for carrying the message content.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
From the foregoing, it will be observed that interacting message device provided in an embodiment of the present invention may be implemented in cluster conversation between member (such as
Between Virtual User and real user etc.) interacting message.
In one embodiment, another group creating device (referred to as the second group creating device), the group are additionally provided
Creating device specifically can integrate in user equipment, and user equipment can be terminal, for example, the equipment such as mobile phone, tablet computer, such as
Shown in Figure 11 a, which may include: that display unit 111, receiving unit 112, acquiring unit 113 and addition are single
Member 114, specific as follows:
Display unit 111, for showing that the user interface of cluster conversation, the cluster conversation include real user
Cluster conversation;
Receiving unit 112 adds instruction by the member that the user interface triggers for receiving user;
Acquiring unit 113, for adding instruction acquisition to be added to the virtual use of the cluster conversation according to the member
Family mark;
Adding unit 114, for Virtual User to be added to the cluster conversation according to the virtual subscriber identity.
In one embodiment, with reference to Figure 11 b, acquiring unit 113 may include:
Show subelement 1130, show user selection interface to be added for adding instruction according to the member, it is described to
Addition user selection interface includes the user information of multiple users to be added, and the multiple user to be added includes at least one void
Quasi- user;
Subelement 1131 is selected, for based on the selection operation for being directed to the user selection interface to be added, from described more
The virtual subscriber identity of the Virtual User to be added to the cluster conversation is chosen in a user to be added.
In one embodiment, it shows subelement 1130, can be specifically used for:
The relation chain data that instruction obtains active user are added according to the member;
Show user selection interface to be added according to the relation chain data, the user selection interface to be added include with
The active user has the user information of multiple users to be added of incidence relation.
In one embodiment, with reference to Figure 11 b, acquiring unit 113 can be specifically used for:
Instruction, which is added, according to the member shows that user selection interface to be added, the user selection interface to be added include
Virtual User selects entrance;
Based on operation is entered for Virtual User selection entrance, Virtual User list interface is shown, it is described virtual
User list interface includes the user information of at least one Virtual User;
Based on be directed to the Virtual User list interface selection operation, obtain from least one Virtual User choose to
It is added to the virtual subscriber identity of the Virtual User of the cluster conversation.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
From the foregoing, it will be observed that group creating device provided in an embodiment of the present invention may be implemented to add virtually in existing cluster conversation
User.
The embodiment of the present invention also provides a kind of network equipment, which can be terminal or server, for example, net
Network equipment can intercommunication server between Hetero-structure Message Systems, can also also be the server etc. in message system, for another example,
The network equipment can be user terminal, such as mobile phone, tablet computer.As shown in figure 12, it illustrates institutes of the embodiment of the present invention
The structural schematic diagram for the network equipment being related to, specifically:
The network equipment may include one or more than one processing core processor 121, one or more
The components such as memory 122, power supply 123 and the input unit 124 of computer readable storage medium.Those skilled in the art can manage
It solves, network equipment infrastructure shown in Figure 12 does not constitute the restriction to the network equipment, may include more more or less than illustrating
Component, perhaps combine certain components or different component layouts.Wherein:
Processor 121 is the control centre of the network equipment, utilizes various interfaces and connection whole network equipment
Various pieces by running or execute the software program and/or module that are stored in memory 122, and are called and are stored in
Data in reservoir 122 execute the various functions and processing data of the network equipment, to carry out integral monitoring to the network equipment.
Optionally, processor 121 may include one or more processing cores;Preferably, processor 121 can integrate application processor and tune
Demodulation processor processed, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate is mediated
Reason device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 121
In.
Memory 122 can be used for storing software program and module, and processor 121 is stored in memory 122 by operation
Software program and module, thereby executing various function application and data processing.Memory 122 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to the network equipment
According to etc..In addition, memory 122 may include high-speed random access memory, it can also include nonvolatile memory, such as extremely
A few disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 122 can also wrap
Memory Controller is included, to provide access of the processor 121 to memory 122.
The network equipment further includes the power supply 123 powered to all parts, it is preferred that power supply 123 can pass through power management
System and processor 121 are logically contiguous, to realize management charging, electric discharge and power managed etc. by power-supply management system
Function.Power supply 123 can also include one or more direct current or AC power source, recharging system, power failure monitor
The random components such as circuit, power adapter or inverter, power supply status indicator.
The network equipment may also include input unit 124, which can be used for receiving the number or character of input
Information, and generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal
Input.
Although being not shown, the network equipment can also be including display unit etc., and details are not described herein.Specifically in the present embodiment
In, the processor 121 in the network equipment can be corresponding by the process of one or more application program according to following instruction
Executable file be loaded into memory 122, and the application program being stored in memory 122 is run by processor 121,
It is as follows to realize various functions:
Determine that multiple user identifiers to be added to be added to cluster conversation, the multiple user identifier to be added include void
Quasi- user identifier and real user mark;
According to the multiple user identifier to be added, creation includes the cluster conversation of Virtual User and real user.
Or
Show that the user interface of cluster conversation, the cluster conversation include the cluster conversation of real user;
It receives user and instruction is added by the member that the user interface triggers;
Instruction acquisition is added to be added to the virtual subscriber identity of the cluster conversation according to the member;
Virtual User is added to the cluster conversation according to the virtual subscriber identity.
Or
From the group data of message processing server synchronization group session;
The cluster conversation interface comprising Virtual User and real user is shown according to the group data.
Or
The group creating request that group founder's equipment is sent is received, the group creating request is carried to be added to group's meeting
Multiple user identifiers to be added in words, the multiple user identifier to be added include virtual subscriber identity and real user mark
Know;
It include the cluster conversation of Virtual User and real user according to group creating request creation;
Into the cluster conversation, the equipment of member synchronizes the group data of the cluster conversation.
Or
The message to be sent for cluster conversation that message processing server is sent is received, the message to be sent includes disappearing
Content is ceased, the cluster conversation includes real user and Virtual User;
When the message intended receiver to be sent and when recipient is Virtual User in cluster conversation, it is based on extranets
Network agreement sends the message content to the equipment of Virtual User;
When the message intended receiver to be sent and when recipient is real user in cluster conversation, based in system
Portion's network protocol sends the first group message to the equipment of the real user, and first group message includes in the message
Hold, prompting message information;
As the not specified recipient of the message to be sent, based on internal system network agreement member into cluster conversation
Equipment sends the second group message for carrying the message content.
From the foregoing, it will be observed that the network equipment provided in an embodiment of the present invention can create the cluster conversation comprising Virtual User, or
Person adds Virtual User in existing cluster conversation.In addition, being used between real user and real user, really in cluster conversation
Messaging interaction can also be realized before family and Virtual User.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with
It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one
In storage media, and is loaded and executed by processor.
For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein being stored with a plurality of instruction, which can be processed
Device is loaded, to execute any method (such as method for message interaction, group creating method) provided by the embodiment of the present invention
In step.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, can execute in any method provided by the embodiment of the present invention
The step of, it is thereby achieved that beneficial effect achieved by any method provided by the embodiment of the present invention, is detailed in front
Embodiment, details are not described herein.
Be provided for the embodiments of the invention above a kind of group creating, method for message interaction, device and storage medium into
It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation
The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to
According to thought of the invention, there will be changes in the specific implementation manner and application range, is to sum up somebody's turn to do, the content of the present specification is not
It is interpreted as limitation of the present invention.
Claims (15)
1. a kind of group creating method characterized by comprising
Determine that multiple user identifiers to be added to be added to cluster conversation, the multiple user identifier to be added include virtual use
Family mark and real user mark;
According to the multiple user identifier to be added, creation includes the cluster conversation of Virtual User and real user.
2. group creating method as described in claim 1, which is characterized in that determine to be added to the multiple wait add of cluster conversation
Add user identifier, comprising:
Receive the group's creation instruction for acting on the user interface of client;
The user information that instruction shows multiple users is created based on the group, the multiple user includes at least one Virtual User
With at least one real user;
Obtain the user identifier of the multiple users to be added chosen in the multiple user.
3. group creating method as described in claim 1, which is characterized in that determine to be added to the multiple wait add of cluster conversation
Add user identifier, comprising:
It receives the group that terminal is sent and creates instruction information, it includes need to be added to cluster conversation more that the group, which creates instruction information,
A user identifier to be added;
The determining multiple user identifiers to be added to be added to cluster conversation of instruction information are created according to group.
4. group creating method as described in claim 1, which is characterized in that created according to the multiple user identifier to be added
Cluster conversation comprising Virtual User and real user, comprising:
Generate group creating request according to the multiple user identifier to be added, the group creating request carry it is the multiple to
Add user identifier;
Obtain the address information of message processing server;
Send group creating request to the message handling device according to the address information, with creation comprising Virtual User and
The cluster conversation of real user.
5. group creating method as described in claim 1, which is characterized in that the method also includes:
Message content is sent to message processing server based on external network protocols, so that the message processing server is based on disappearing
The equipment for ceasing internal system network agreement member into the cluster conversation sends the message content.
6. a kind of group creating method characterized by comprising
Show that the user interface of cluster conversation, the cluster conversation include the cluster conversation of real user;
It receives user and instruction is added by the member that the user interface triggers;
Instruction acquisition is added to be added to the virtual subscriber identity of the cluster conversation according to the member;
Virtual User is added to the cluster conversation according to the virtual subscriber identity.
7. group creating method as claimed in claim 6, which is characterized in that it is to be added to add instruction acquisition according to the member
To the virtual subscriber identity of the cluster conversation, comprising:
Instruction is added according to the member and shows user selection interface to be added, and the user selection interface to be added includes multiple
The user information of user to be added, the multiple user to be added include at least one Virtual User;
Based on the selection operation for being directed to the user selection interface to be added, chosen from the multiple user to be added to be added
To the virtual subscriber identity of the Virtual User of the cluster conversation.
8. group creating method as claimed in claim 7, which is characterized in that it is to be added to add instruction display according to the member
User selection interface, comprising:
The relation chain data that instruction obtains active user are added according to the member;
Show user selection interface to be added according to the relation chain data, the user selection interface to be added include with it is described
Active user has the user information of multiple users to be added of incidence relation.
9. group creating method as claimed in claim 6, which is characterized in that it is to be added to add instruction acquisition according to the member
To the virtual subscriber identity of the cluster conversation, comprising:
Instruction, which is added, according to the member shows that user selection interface to be added, the user selection interface to be added include virtual
User selects entrance;
Based on operation is entered for Virtual User selection entrance, Virtual User list interface, the Virtual User are shown
List interface includes the user information of at least one Virtual User;
Based on the selection operation for being directed to the Virtual User list interface, acquisition is chosen to be added from least one Virtual User
To the virtual subscriber identity of the Virtual User of the cluster conversation.
10. a kind of group creating method characterized by comprising
The group creating request that group founder's equipment is sent is received, the group creating request is carried to be added in cluster conversation
Multiple user identifiers to be added, the multiple user identifier to be added include virtual subscriber identity and real user mark;
It include the cluster conversation of Virtual User and real user according to group creating request creation;
Into the cluster conversation, the equipment of member synchronizes the group data of the cluster conversation.
11. a kind of method for message interaction characterized by comprising
The message to be sent for cluster conversation that message processing server is sent is received, the message to be sent includes in message
Hold, the cluster conversation includes real user and Virtual User;
When the message intended receiver to be sent and when recipient is Virtual User in cluster conversation, assisted based on external network
It discusses to the equipment of Virtual User and sends the message content;
When the message intended receiver to be sent and when recipient is real user in cluster conversation, it is based on system intranet
Network agreement to the equipment of the real user send the first group message, first group message include the message content,
Prompting message information;
As the not specified recipient of the message to be sent, the equipment based on internal system network agreement member into cluster conversation
Send the second group message for carrying the message content.
12. a kind of group creating device characterized by comprising
Determination unit, for determining multiple user identifiers to be added to be added to cluster conversation, the multiple user to be added
Mark includes that virtual subscriber identity and real user identify;
Creating unit, for including group's meeting of Virtual User and real user according to the multiple user identifier creation to be added
Words.
13. a kind of group creating device characterized by comprising
Display unit, for showing that the user interface of cluster conversation, the cluster conversation include group's meeting of real user
Words;
Receiving unit adds instruction by the member that the user interface triggers for receiving user;
Acquiring unit, for adding instruction acquisition to be added to the virtual subscriber identity of the cluster conversation according to the member;
Adding unit, for Virtual User to be added to the cluster conversation according to the virtual subscriber identity.
14. a kind of group creating device, feature exist, comprising:
Request reception unit, for receiving the group creating request of group founder's equipment transmission, the group creating request is carried
To be added to multiple user identifiers to be added in cluster conversation, the multiple user identifier to be added includes virtual subscriber identity
It is identified with real user;
Creating unit, for including the cluster conversation of Virtual User and real user according to group creating request creation;
Data synchronisation unit, the equipment for the member into the cluster conversation synchronize the group data of the cluster conversation.
15. a kind of interacting message device characterized by comprising
Message reception units, for receive message processing server transmission the message to be sent for cluster conversation, it is described to
Transmission packet includes message content, and the cluster conversation includes real user and Virtual User;
Push unit is used for:
When the message intended receiver to be sent and when recipient is Virtual User in cluster conversation, assisted based on external network
It discusses to the equipment of Virtual User and sends the message content;
When the message intended receiver to be sent and when recipient is real user in cluster conversation, it is based on system intranet
Network agreement to the equipment of the real user send the first group message, first group message include the message content,
Prompting message information;
As the not specified recipient of the message to be sent, the equipment based on internal system network agreement member into cluster conversation
Send the second group message for carrying the message content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910060390.4A CN109587044B (en) | 2019-01-22 | 2019-01-22 | Group creation and message interaction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910060390.4A CN109587044B (en) | 2019-01-22 | 2019-01-22 | Group creation and message interaction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587044A true CN109587044A (en) | 2019-04-05 |
CN109587044B CN109587044B (en) | 2021-01-08 |
Family
ID=65917717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910060390.4A Active CN109587044B (en) | 2019-01-22 | 2019-01-22 | Group creation and message interaction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587044B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166577A (en) * | 2019-07-01 | 2019-08-23 | 中国工商银行股份有限公司 | Distributed Application cluster conversation processing system and method |
CN110460510A (en) * | 2019-07-31 | 2019-11-15 | 北京字节跳动网络技术有限公司 | A kind of method, apparatus that establishing multi-conference, electronic equipment and medium |
CN110661789A (en) * | 2019-09-09 | 2020-01-07 | 腾讯科技(深圳)有限公司 | Address resetting method, device, equipment and computer readable storage medium |
CN112261219A (en) * | 2019-07-22 | 2021-01-22 | 腾讯科技(深圳)有限公司 | Information display method and intelligent terminal |
CN112822161A (en) * | 2020-12-29 | 2021-05-18 | 上海掌门科技有限公司 | Method and equipment for realizing conference message synchronization |
CN113079028A (en) * | 2020-01-03 | 2021-07-06 | 阿尔派株式会社 | Electronic device and message notification control method |
CN113098756A (en) * | 2021-03-25 | 2021-07-09 | 深圳市艾酷通信软件有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN113709022A (en) * | 2020-05-22 | 2021-11-26 | 腾讯科技(深圳)有限公司 | Message interaction method, device, equipment and storage medium |
CN113794627A (en) * | 2021-09-29 | 2021-12-14 | 北京字跳网络技术有限公司 | Processing method, processing device, equipment and storage medium of instant messaging group |
CN113973094A (en) * | 2020-07-07 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Message processing method, system and medium |
CN114338761A (en) * | 2021-12-24 | 2022-04-12 | 威艾特科技(深圳)有限公司 | Remote field communication method and storage medium |
CN114911557A (en) * | 2022-04-28 | 2022-08-16 | 北京字跳网络技术有限公司 | Information processing method, device, electronic equipment and storage medium |
CN115242742A (en) * | 2020-09-29 | 2022-10-25 | 支付宝(杭州)信息技术有限公司 | Service control method, device and system |
CN115334027A (en) * | 2022-08-10 | 2022-11-11 | 北京字跳网络技术有限公司 | Information processing method, device, electronic equipment and storage medium |
WO2024007655A1 (en) * | 2022-07-06 | 2024-01-11 | 腾讯科技(深圳)有限公司 | Social processing method and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009670A (en) * | 2007-01-22 | 2007-08-01 | 阿里巴巴公司 | A method and system for implementing the group communication based on the instant communication |
CN101282314A (en) * | 2008-05-23 | 2008-10-08 | 中国移动通信集团北京有限公司 | Group communication method, equipment and system for instant communication |
CN103297325A (en) * | 2013-05-13 | 2013-09-11 | 北京小米科技有限责任公司 | Method, device and equipment for interacting with third-party application in instant messaging system |
WO2017182888A3 (en) * | 2016-04-18 | 2018-03-29 | Elango Allwin Agnel | System and method for assisting user communications using bots |
CN108040004A (en) * | 2018-01-29 | 2018-05-15 | 上海壹账通金融科技有限公司 | Control method, device, equipment and the readable storage medium storing program for executing of virtual robot |
-
2019
- 2019-01-22 CN CN201910060390.4A patent/CN109587044B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009670A (en) * | 2007-01-22 | 2007-08-01 | 阿里巴巴公司 | A method and system for implementing the group communication based on the instant communication |
CN101282314A (en) * | 2008-05-23 | 2008-10-08 | 中国移动通信集团北京有限公司 | Group communication method, equipment and system for instant communication |
CN103297325A (en) * | 2013-05-13 | 2013-09-11 | 北京小米科技有限责任公司 | Method, device and equipment for interacting with third-party application in instant messaging system |
WO2017182888A3 (en) * | 2016-04-18 | 2018-03-29 | Elango Allwin Agnel | System and method for assisting user communications using bots |
CN108040004A (en) * | 2018-01-29 | 2018-05-15 | 上海壹账通金融科技有限公司 | Control method, device, equipment and the readable storage medium storing program for executing of virtual robot |
Non-Patent Citations (1)
Title |
---|
沽名钓誉: ""钉钉群中的机器人"", 《HTTPS://WWW.CNBLOGS.COM/REMEMBERME/P/DINGDING.HTML》 * |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166577B (en) * | 2019-07-01 | 2022-02-08 | 中国工商银行股份有限公司 | Distributed application group session processing system and method |
CN110166577A (en) * | 2019-07-01 | 2019-08-23 | 中国工商银行股份有限公司 | Distributed Application cluster conversation processing system and method |
CN112261219A (en) * | 2019-07-22 | 2021-01-22 | 腾讯科技(深圳)有限公司 | Information display method and intelligent terminal |
CN110460510A (en) * | 2019-07-31 | 2019-11-15 | 北京字节跳动网络技术有限公司 | A kind of method, apparatus that establishing multi-conference, electronic equipment and medium |
CN110460510B (en) * | 2019-07-31 | 2022-05-20 | 北京字节跳动网络技术有限公司 | Method, device, electronic equipment and medium for establishing multi-person session |
CN110661789A (en) * | 2019-09-09 | 2020-01-07 | 腾讯科技(深圳)有限公司 | Address resetting method, device, equipment and computer readable storage medium |
CN110661789B (en) * | 2019-09-09 | 2021-11-02 | 腾讯科技(深圳)有限公司 | Address resetting method, device, equipment and computer readable storage medium |
CN113079028B (en) * | 2020-01-03 | 2023-11-17 | 阿尔派株式会社 | Electronic device and message notification control method |
CN113079028A (en) * | 2020-01-03 | 2021-07-06 | 阿尔派株式会社 | Electronic device and message notification control method |
CN113709022B (en) * | 2020-05-22 | 2024-02-02 | 腾讯科技(深圳)有限公司 | Message interaction method, device, equipment and storage medium |
CN113709022A (en) * | 2020-05-22 | 2021-11-26 | 腾讯科技(深圳)有限公司 | Message interaction method, device, equipment and storage medium |
CN113973094A (en) * | 2020-07-07 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Message processing method, system and medium |
CN113973094B (en) * | 2020-07-07 | 2024-03-15 | 腾讯科技(深圳)有限公司 | Message processing method, system and medium |
CN115242742A (en) * | 2020-09-29 | 2022-10-25 | 支付宝(杭州)信息技术有限公司 | Service control method, device and system |
CN112822161B (en) * | 2020-12-29 | 2022-12-30 | 上海掌门科技有限公司 | Method and equipment for realizing conference message synchronization |
CN112822161A (en) * | 2020-12-29 | 2021-05-18 | 上海掌门科技有限公司 | Method and equipment for realizing conference message synchronization |
CN113098756A (en) * | 2021-03-25 | 2021-07-09 | 深圳市艾酷通信软件有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN113794627A (en) * | 2021-09-29 | 2021-12-14 | 北京字跳网络技术有限公司 | Processing method, processing device, equipment and storage medium of instant messaging group |
CN114338761A (en) * | 2021-12-24 | 2022-04-12 | 威艾特科技(深圳)有限公司 | Remote field communication method and storage medium |
CN114911557A (en) * | 2022-04-28 | 2022-08-16 | 北京字跳网络技术有限公司 | Information processing method, device, electronic equipment and storage medium |
CN114911557B (en) * | 2022-04-28 | 2024-02-02 | 北京字跳网络技术有限公司 | Information processing method, apparatus, electronic device and storage medium |
WO2024007655A1 (en) * | 2022-07-06 | 2024-01-11 | 腾讯科技(深圳)有限公司 | Social processing method and related device |
CN115334027A (en) * | 2022-08-10 | 2022-11-11 | 北京字跳网络技术有限公司 | Information processing method, device, electronic equipment and storage medium |
CN115334027B (en) * | 2022-08-10 | 2024-04-16 | 北京字跳网络技术有限公司 | Information processing method, apparatus, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109587044B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109587044A (en) | Group creating, method for message interaction and device | |
CN110417845A (en) | A kind of method of data synchronization, device and storage medium | |
CA2690731C (en) | Method, system for controlling service access and server | |
WO2021008277A1 (en) | Message management system and method for communication application, device and storage medium | |
CN109246220B (en) | Message pushing system and method | |
CN108886472A (en) | cross-mode communication | |
WO2009074079A1 (en) | An instant communication method and apparatus | |
WO2014176808A1 (en) | Authorization authentication method and apparatus | |
BR112012003248B1 (en) | method and server for instant messaging | |
CN110417723B (en) | Application login method, device, terminal and storage medium | |
CN110635921B (en) | Group-based interaction method, device, equipment and readable medium | |
KR20110126421A (en) | Method and apparatus for providing message conversation corresponding to each of group in messaging service | |
CN110418099A (en) | A kind of audio/video processing method, device and storage medium | |
KR20150021928A (en) | Transmitting initiation details from a mobile device | |
CN108133523A (en) | Door-access control method and device | |
CN113542101B (en) | Method and device for sending and responding help seeking information and storage medium | |
CN102546462B (en) | The method of recommending contact persons, client and system in instant messaging | |
CN103092870A (en) | Method for establishing relational data of contact in network communication system and device for achieving the same | |
WO2021109715A1 (en) | Identity verification system, method and device for communication application, and storage medium | |
CN102638420A (en) | Method, client and system for setting subject bulletin board in instant messaging | |
CN109040331B (en) | Electronic business card processing method and device, computing equipment and storage medium | |
CN103841125A (en) | Heath data sharing method and system | |
KR20130124115A (en) | System for providing chatting service using qr code and method thereof | |
CN107819665A (en) | Communicate based reminding method and device | |
WO2016131264A1 (en) | Method and device for constructing contact information |
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 |