CN105245433B - A kind of method that realizing private chat, RCS AS and system - Google Patents
A kind of method that realizing private chat, RCS AS and system Download PDFInfo
- Publication number
- CN105245433B CN105245433B CN201510543631.2A CN201510543631A CN105245433B CN 105245433 B CN105245433 B CN 105245433B CN 201510543631 A CN201510543631 A CN 201510543631A CN 105245433 B CN105245433 B CN 105245433B
- Authority
- CN
- China
- Prior art keywords
- rcs
- user
- chat
- group
- called subscriber
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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]
- H04L51/046—Interoperability with other network applications or services
-
- 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)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a kind of method for realizing private chat, RCS AS and system, the method for the realization private chat includes:RCS AS receive the group chat message for carrying CSI called subscriber identification collection that calling subscribe sends by the MSRP channels between calling subscribe and RCS AS;It is M chat messages corresponding with M called subscriber to split group chat message according to CSI called subscriber identification collection;Send the corresponding chat messages in M chat messages respectively to M called subscriber.The embodiment of the present invention advantageously reduces the Signalling exchange of RCS AS and user, to improve chat group MSRP channels utilization rate, slow down the performance loss of RCS AS and user.
Description
Technical field
The present invention relates to wireless communication technology fields, and in particular to a kind of method that realizing private chat, RCS AS and system.
Background technology
IP multimedia subsystem (IP Multimedia Subsystem, IMS) is that IP based network provides multimedia service
Universal network framework.Rich communication external member (Rich communication Suit, RCS) based on IMS is a kind of based on increasing
Strong mobile phone local address sheet, integrate voice, the communications such as message, video, content are shared and function are melted
Hop communication service effectively can bundle and integrate existing standardized service (such as 3GPP, OMA, GSMA) and provide abundant lead to
Telecommunications services.Message session trunk protocol (Message Session Relay Protocol, MSRP) defined in RFC4975 is used
In the content for transmitting instant message in the instant messaging IM sessions having built up, information interactive process is completed.
RCS group chat services are mainly used for more people's chats, and RCS application servers (Application Server, AS) are first
The group creating message sent according to calling subscribe establishes chat group, and multiple users are integrated into same chat group, main
User is made to need to send INVITE message to RCS AS, in order to which RCS AS activate chat group, each in chat group
User establishes the MSRP channels for having and being exclusively used in transmission group chat message, the MSRP channels that calling subscribe passes through foundation with RCS AS respectively
Group chat message input by user is sent to RCS AS, and RCS AS can be according to the user list of chat group to all called subscribers
Distribute the group chat message received.
In prior art, if user wishes to conversate with the certain customers in current chat group, it is necessary to again
Create new chat group.Such as in the chat group including multiple users such as user A, user B, user C and user D,
If user A and user B chats, can only be completed by way of re-establishing one-to-one bilateral session at present, if user A to
User B and user's C group chats, at present can only by re-establish a chat group comprising user A, user B and user C come
It completes, either re-establishes bilateral session and still establish chat group, can all consume the session money between user and RCS AS
Source and connection resource, and re-establishing group chat session also needs execution to invite user that group is added, and user is notified to enter group, activates group
The multi-pass operations such as group and Signalling exchange could be completed.
Invention content
The embodiment of the present invention provides a kind of method that realizing private chat, RCS AS and system, to reduce RCS AS and user
Signalling exchange, to improve chat group MSRP channels utilization rate, slow down the performance loss of RCS AS and user.
First aspect of the embodiment of the present invention discloses a kind of method for realizing private chat, including:
RCS AS receive taking for calling subscribe's transmission by the MSRP channels between calling subscribe and the RCS AS
Group chat message with CSI called subscriber identification collection, wherein the letter of the MSRP channels between the calling subscribe and the RCS AS
The corresponding chat groups of chat group ID in road index mark include N number of user, and the CSI called subscriber identification collection includes M quilt
Be the M user identifier of user, the M user identifier be N number of user N number of user identifier in remove the calling subscribe
User identifier except M user identifier, the N is integer more than 2, and the M is positive integer, and the M is less than N-1;
The RCS AS split the group chat message according to the CSI called subscriber identification collection
The M chat messages answered;
The RCS AS send the corresponding chat messages in the M chat messages to the M called subscriber respectively.
In first aspect of the embodiment of the present invention the first possible realization method, the RCS AS are according to the called use
It is M chat messages corresponding with the M called subscriber that family identification sets, which split the group chat message, including:
The RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and user's mark of the calling subscribe
It is private chat group identification collection to know;
The RCS AS according to the address information to prestore and the channel indexes of MSRP channels mark between mapping relations, with
And the M address information that the CSI called subscriber identification obtained is concentrated, determine the corresponding M called use of the M address information
M channel indexes of M MSRP channel between family and the RCS AS identify, wherein the channel indexes mark includes institute
State the user identifier of chat group ID and called subscriber;
The RCS AS are based on chat message, the private chat group identification collection and the M in the group chat message
Channel indexes mark generates the corresponding M chat messages of the M called subscriber.
In conjunction with the first possible realization method of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention
In two kinds of possible realization methods, the RCS AS send the phase in the M chat messages to the M called subscriber respectively
Chat messages are answered, including:
The RCS AS send the M chat messages respectively by the M MSRP channels to the M called subscriber
In corresponding chat messages.
In conjunction with second of possible realization method of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention
In three kinds of possible realization methods, the RCS AS according to the CSI called subscriber identification collection split the group chat message be with it is described
After the corresponding M chat messages of M called subscriber, the RCS AS are called to the M by the M MSRP channels and are used
Before family sends the corresponding chat messages in the M chat messages respectively, the method further includes:
The RCS AS obtain M MSRP channel between the M called subscriber and the RCS AS.
In conjunction with the third possible realization method of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention
In four kinds of possible realization methods, the RCS AS obtain the letters of M MSRP between the M called subscriber and the RCS AS
Road, including:
The RCS AS extract N number of MSRP channels and N number of MSRP letters between N number of user and the RCS AS
Mapping relations list between N number of channel indexes mark in road;
The RCS AS are identified as inquiry foundation with the M channel indexes, inquire the mapping relations list to obtain
M MSRP channel between the M called subscriber and the RCS AS.
In conjunction with the first or second of first aspect of the embodiment of the present invention or first aspect or the third or the 4th kind of possibility
Realization method, in the 5th kind of possible realization method of first aspect of the embodiment of the present invention, the RCS AS are used by caller
MSRP channels between family and the RCS AS receive the group chat for carrying CSI called subscriber identification collection that the calling subscribe sends
Before message, the method further includes:
The RCS AS receive the group's activation request for carrying chat group ID that the calling subscribe sends;
The RCS AS respond group's activation request, after sending response message to the calling subscribe, create simultaneously
The MSRP channels between the calling subscribe and the RCS AS are preserved, and according to the chat group ID and the calling subscribe
User identifier generate the MSRP channels between the calling subscribe and the RCS AS channel indexes mark;
The calling subscribe is removed in N number of user that the RCS AS include to the corresponding chat groups of the chat group ID
Except N-1 user send group activation request respectively;
The RCS AS receive the activation request of group described in each user response in the N-1 user and send
After response message, the MSRP channels between each user and the RCS AS are created, according to the chat group ID
And the user identifier of each user generates the channel of the MSRP channels between each user and the RCS AS
Index mark;
Described in MSRP channels, establishment between the calling subscribe and the RCS AS of the RCS AS based on establishment
Between MSRP channels and the calling subscribe generated and the RCS AS between each user and the RCS AS
The channel rope of MSRP channels between the channel indexes mark of MSRP channels, each described user and the RCS AS of generation
Tendering is known, and N number of channel of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS is created
Mapping relations list between index mark, wherein N number of MSRP channels include the calling subscribe with the RCS AS it
Between MSRP channels and each described user and the RCS AS between MSRP channels.
A kind of RCS AS are disclosed in second aspect of the embodiment of the present invention, including:
First receiving unit is used for receiving the caller by the MSRP channels between calling subscribe and the RCS AS
The group chat message for carrying CSI called subscriber identification collection that family is sent, wherein between the calling subscribe and the RCS AS
The corresponding chat groups of chat group ID in the channel indexes mark of MSRP channels include N number of user, called subscriber's mark
Know the M user identifier that collection includes M called subscriber, the M user identifier is in N number of user identifier of N number of user
The M user identifier in addition to the user identifier of the calling subscribe, the N are the integer more than 2, and the M is positive integer, and
The M is less than N-1;
Split cells is to be called to use with the M for splitting the group chat message according to the CSI called subscriber identification collection
The corresponding M chat messages in family;
Dispatching Unit disappears for sending the corresponding chat in the M chat messages respectively to the M called subscriber
Breath.
In the first possible realization method of second aspect of the embodiment of the present invention, the split cells is specifically used for:
The user identifier for merging M user identifier and the calling subscribe that the CSI called subscriber identification is concentrated is private chat group
Group identification sets;
According to the institute of the mapping relations between the address information to prestore and the channel indexes of MSRP channels mark, and acquisition
M address information for stating CSI called subscriber identification concentration, determines the corresponding M called subscriber of the M address information and the RCS
M channel indexes of M MSRP channel between AS identify, wherein the channel indexes mark includes the chat group ID
With the user identifier of called subscriber;
Based on chat message, the private chat group identification collection and the M channel indexes mark in the group chat message
Know and generates the corresponding M chat messages of the M called subscriber.
In conjunction with the first possible realization method of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention
In second of possible realization method, the Dispatching Unit is specifically used for:
Accordingly chatting in the M chat messages is sent respectively to the M called subscriber by the M MSRP channels
Its message.
In conjunction with second of possible realization method of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention
The third possible realization method in, the RCS AS further include:
Acquiring unit, for the split cells according to the CSI called subscriber identification collection split the group chat message be with
After the corresponding M chat messages of the M called subscriber, the Dispatching Unit is by the M MSRP channels to the M
Before called subscriber sends the corresponding chat messages in the M chat messages respectively, obtain the M called subscriber with it is described
M MSRP channel between RCS AS.
In conjunction with the third possible realization method of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention
In 4th kind of possible realization method, the acquiring unit is specifically used for:
Extract N number of letter of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS
Mapping relations list between road index mark;
It is identified as inquiry foundation with the M channel indexes, it is called to obtain the M to inquire the mapping relations list
M MSRP channel between user and the RCS AS.
The first or second in conjunction with second aspect of the embodiment of the present invention or second aspect or the third or the 4th kind can
The realization method of energy, in the 5th kind of possible realization method of second aspect of the embodiment of the present invention, the RCS AS further include:
Second receiving unit is asked for receiving the group's activation for carrying chat group ID that the calling subscribe sends
It asks;
Channel creation unit is sent for responding group's activation request in the RCS AS to the calling subscribe
After response message, the MSRP channels between the calling subscribe and the RCS AS are created and preserve, and according to the chat
The user identifier of group ID and the calling subscribe generate the letter of the MSRP channels between the calling subscribe and the RCS AS
Road index mark;
The Dispatching Unit is additionally operable to remove institute into N number of user that the corresponding chat groups of the chat group ID include
It states N-1 user except calling subscribe and sends group's activation request respectively;
The channel creation unit, each user being additionally operable in the RCS AS receive the N-1 user ring
Group's activation request is answered after the response message of transmission, establishment is described between each user and the RCS AS
MSRP channels, according to the user identifier of the chat group ID and each user generate each described user with it is described
The channel indexes of MSRP channels between RCS AS identify;
List creating unit, for the calling subscribe based on establishment and the MSRP channels between the RCS AS, wound
MSRP channels and the calling subscribe generated between each described user and the RCS AS for building and the RCS
MSRP channels between the channel indexes mark of MSRP channels between AS, each described user and the RCS AS of generation
Channel indexes mark, create N number of MSRP channels between N number of user and the RCS AS and N number of MSRP channels
N number of channel indexes mark between mapping relations list, wherein N number of MSRP channels include the calling subscribe and institute
State the MSRP channels between RCS AS and the MSRP channels between each described user and the RCS AS.
The third aspect of the embodiment of the present invention discloses a kind of system for realizing private chat, including calling subscribe, RCS AS,
In:
The calling subscribe, for passing through the MSRP channels between the calling subscribe and the RCS AS to the RCS
AS sends the group chat message for carrying CSI called subscriber identification collection, wherein the MSRP between the calling subscribe and the RCS AS
The corresponding chat groups of chat group ID in the channel indexes mark of channel include N number of user, the CSI called subscriber identification collection
Include the M user identifier of M called subscriber, the M user identifier is removes institute in N number of user identifier of N number of user
M user identifier except the user identifier of calling subscribe is stated, the N is the integer more than 2, and the M is positive integer, and described
M is less than N-1;
The RCS AS split the group after receiving the group chat message according to the CSI called subscriber identification collection
Merely message is M chat messages corresponding with the M called subscriber, and sends the M items respectively to the M called subscriber
Corresponding chat messages in chat messages.
In the first possible realization method of the third aspect of the embodiment of the present invention, the RCS AS are according to the called use
Family identification sets split the concrete mode that the group chat message is M chat messages corresponding with the M called subscriber:
The RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and user's mark of the calling subscribe
It is private chat group identification collection to know, the mapping relations between being identified according to the address information to prestore and the channel indexes of MSRP channels,
And the M address information that the CSI called subscriber identification obtained is concentrated, determine that corresponding M of the M address information is called
M channel indexes of M MSRP channel between user and the RCS AS identify, based on the chat letter in the group chat message
Breath, the private chat group identification collection and M channel indexes mark generate the corresponding M items chat of the M called subscriber
Message, wherein the channel indexes mark includes the user identifier of the chat group ID and called subscriber.
In conjunction with the first possible realization method of the third aspect of the embodiment of the present invention, in the third aspect of the embodiment of the present invention
Second of possible realization method in, the RCS AS are sent to the M called subscriber in the M chat messages respectively
The concrete modes of corresponding chat messages be:
The RCS AS send the M chat messages respectively by the M MSRP channels to the M called subscriber
In corresponding chat messages.
In conjunction with second of possible realization method of the third aspect of the embodiment of the present invention, in the third aspect of the embodiment of the present invention
The third possible realization method in, the RCS AS are additionally operable to split the group chat according to the CSI called subscriber identification collection
After message is M chat messages corresponding with the M called subscriber, it is called by the M MSRP channels to the M is a
Before user sends the corresponding chat messages in the M chat messages respectively, the M called subscriber and the RCS are obtained
M MSRP channel between AS.
In conjunction with the third possible realization method of the third aspect of the embodiment of the present invention, in the third aspect of the embodiment of the present invention
In 4th kind of possible realization method, the RCS AS obtain M MSRP between the M called subscriber and the RCS AS
The concrete mode of channel is:
The RCS AS extract N number of MSRP channels and N number of MSRP letters between N number of user and the RCS AS
Mapping relations list between N number of channel indexes mark in road, is identified as inquiry foundation with the M channel indexes, inquires institute
Mapping relations list is stated to obtain M MSRP channel between the M called subscriber and the RCS AS.
In conjunction with the first or second of the third aspect of the embodiment of the present invention or the third aspect or the third or the 4th kind of possibility
Realization method, in the 5th kind of possible realization method of the third aspect of the embodiment of the present invention,
The calling subscribe is additionally operable to send the group's activation request for carrying chat group ID to the RCS AS;
The RCS AS are additionally operable to respond group's activation request, send response message to the calling subscribe, create
And the MSRP channels between the calling subscribe and the RCS AS are preserved, and used according to the chat group ID and the caller
The user identifier at family generates the channel indexes mark of the MSRP channels between the calling subscribe and the RCS AS;It is chatted to described
N-1 user in N number of user that the corresponding chat groups of its group ID include in addition to the calling subscribe sends institute respectively
State group's activation request;The sound for receiving group's activation request described in each user response in the N-1 user and sending
After answering message, create the MSRP channels between each user and the RCS AS, according to the chat group ID and
The user identifier of each user generates the channel rope of the MSRP channels between each user and the RCS AS
Tendering is known;Each user described in MSRP channels, establishment between the calling subscribe and the RCS AS based on establishment
MSRP channels between MSRP channels between the RCS AS and the calling subscribe generated and the RCS AS
The channel indexes of MSRP channels between channel indexes mark, each the described user generated and the RCS AS identify, wound
Build N number of channel indexes mark of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS
Between mapping relations list, wherein N number of MSRP channels include the MSRP between the calling subscribe and the RCS AS
MSRP channels between channel and each described user and the RCS AS.
In the embodiment of the present invention, RCS AS receive caller by the MSRP channels between calling subscribe and RCS AS first and use
The group chat message for carrying CSI called subscriber identification collection that family is sent, secondly, RCS AS split group chat according to CSI called subscriber identification collection
Message is M chat messages corresponding with M called subscriber, and finally, RCS AS send the chat of M items respectively to M called subscriber
Corresponding chat messages in message.Due in the channel indexes mark of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID include N number of user, and CSI called subscriber identification collection includes the M user mark of M called subscriber
Know, M user identifier is M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, and N is more than 2
Integer, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create new chat for calling subscribe and M called subscriber
Group and new MSRP channels, you can the private chat for realizing calling subscribe and M called subscriber advantageously reduces RCS AS and user
Signalling exchange, to improve chat group MSRP channels utilization rate, slow down the performance loss of RCS AS and user.
Description of the drawings
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 of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of network architecture schematic diagram disclosed by the embodiments of the present invention;
Fig. 2 is the structural schematic diagram of RCS AS disclosed by the embodiments of the present invention a kind of;
Fig. 3 is a kind of flow diagram of method for realizing private chat disclosed by the embodiments of the present invention.
Fig. 4 is the flow diagram of another method for realizing private chat disclosed by the embodiments of the present invention;
Fig. 5 is the flow diagram of the method for another realization private chat disclosed by the embodiments of the present invention;
Fig. 6 is the user disclosed by the embodiments of the present invention based in network architecture implementation example chat group shown in FIG. 1
A, the flow diagram of the method for the private chat of user B and user C;
Fig. 7 is a kind of state signal of display screen including example chat group interface disclosed by the embodiments of the present invention
Figure;
Fig. 8 is the structural schematic diagram of RCA AS disclosed by the embodiments of the present invention a kind of;
Fig. 9 is a kind of configuration diagram of system for realizing private chat disclosed by the embodiments of the present invention.
Specific implementation mode
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 describes, it is clear that described embodiment only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, should all belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method that realizing private chat, RCS AS and system, to reduce RCS AS and user
Signalling exchange, to improve chat group MSRP channels utilization rate, slow down the performance loss of RCS AS and user.
Embodiment to facilitate the understanding of the present invention is below first described the network architecture of the embodiment of the present invention.It please join
Fig. 1 is read, Fig. 1 is a kind of network architecture schematic diagram disclosed by the embodiments of the present invention.As shown in Figure 1, the network of the embodiment of the present invention
Framework may include user, wireless base station, IMS solutions control unit Core, RCS AS, wherein above-mentioned user is installation
The user terminal UE for having RCS clients, in RCS group chat service frameworks, the user specifically include calling subscribe in logic and
Called subscriber, above-mentioned calling subscribe refer to the originating end of group chat message, and above-mentioned called subscriber refers to the specified reception of group chat message
End, above-mentioned IMS Core are IMS solution control units, are mainly used for core control and user data stores role, be IMS
User provides the work(such as network authentication, session control, roaming mobile management, loading end service quality QoS and media resource control
Can, it is the VoIP of mobile, fixed fusion and the key component of multimedia solution, which can specifically be exhaled by agency
It is conversation control function (Proxy-Call Session Control Function, P_CSCF), Interrogating CSCF
Functional entitys and the home subscribers such as (Interrogation-CSCF, I_CSCF), serving CSCF (Serving-CSCF, S_CSCF)
Server (Home Subscriber Server, HSS) forms, and wherein I-CSCF connects S_CSCF and HSS, I- by Cx interface
CSCF connects P_CSCF by Mw, and S-CSCF connects P_CSCF by SIP interface, and S_CSCF connects HSS by Cx interface,
S_CSCF connects RCS AS by ISC (SIP) interface.Above-mentioned RCS AS can specifically be to provide the IM of group management function
Server, the RCS AS can directly be connect with user by MSRP interfaces, realize RCS lists/regulation management, personal static number
According to business functions such as update, mandate, chat media, file transmission.Such as in RCS group chat services, RCS AS and chat group
In user establish MSRP channels, and the MSRP transmission group chat message based on foundation.Above-mentioned UE for example may include movement
Mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device
(Mobile Internet Device, MID), intelligent wearable device (such as smartwatch, Intelligent bracelet) each class of electronic devices.
In network architecture shown in Fig. 1, RCS AS are connect by the MSRP channels between calling subscribe and RCS AS first
The group chat message for carrying CSI called subscriber identification collection that calling subscribe sends is received, secondly, RCS AS are according to CSI called subscriber identification collection
Fractionation group chat message is M chat messages corresponding with M called subscriber, and finally, RCS AS are sent respectively to M called subscriber
Corresponding chat messages in M chat messages.Due to the channel indexes of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID in mark include N number of user, and CSI called subscriber identification collection includes the M of M called subscriber
A user identifier, M user identifier are M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, N
For the integer more than 2, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create for calling subscribe and M called subscriber
New chat group and new MSRP channels, you can the private chat for realizing calling subscribe and M called subscriber advantageously reduces RCS
The Signalling exchange of AS and user, to improve chat group MSRP channels utilization rate, slow down the performance of RCS AS and user
Loss.
The RCS AS involved in the embodiment of the present invention are described further below.Referring to Fig. 2, Fig. 2 is the present invention
A kind of structural schematic diagram of RCS AS disclosed in embodiment.As shown in Fig. 2, the RCS AS may include:At least one processor
1001, for example, CPU, at least one network interface 1002, memory 1003, at least one communication bus 1004.Communication bus
1004 for realizing the connection communication between these components.Wherein, network interface 1002 includes wireless interface, further can be with
Including wireline interface, wireless interface (also referred to as RF interfaces) wirelessly provides network interface function, root to RCS AS
According to communication protocol (for example, wireless standard IEEEE802.11a, 802.11b, 802.11g, 802.11n or 802.15.1) and use
The equipment such as family, S_CSCF are communicated, and wireline interface provides network interface by wired mode (for example, Ethernet cable)
Energy.Memory 1003 may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.Memory 1003 optionally can be located remotely from aforementioned place comprising at least one
Manage the storage device of device 1001.
In some embodiments, memory 1003 stores following element, executable modules or data structures, or
Their subset of person or their superset:
Operating system 10031, including various system programs, hardware based for realizing various basic businesses and processing
Task;
Application program 10032, including the various application programs such as equipment control service routine, device identification service program, are used
In the various applied business of realization.
Specifically, processor 1001 executes following operation for calling the program stored in memory 1003:
Above-mentioned processor 1001 receives the calling subscribe by the MSRP channels between calling subscribe and the RCS AS
The group chat message for carrying CSI called subscriber identification collection sent, wherein the MSRP between the calling subscribe and the RCS AS
The corresponding chat groups of chat group ID in the channel indexes mark of channel include N number of user, the CSI called subscriber identification collection
Include the M user identifier of M called subscriber, the M user identifier is removes institute in N number of user identifier of N number of user
M user identifier except the user identifier of calling subscribe is stated, the N is the integer more than 2, and the M is positive integer, and described
M is less than N-1;
Above-mentioned processor 1001 splits the group chat message according to the CSI called subscriber identification collection
The corresponding M chat messages in family;
Above-mentioned processor 1001 sends the corresponding chat in the M chat messages to the M called subscriber and disappears respectively
Breath.
As can be seen that RCS AS shown in Fig. 2 receive master by the MSRP channels between calling subscribe and RCS AS first
It is user's group chat message for carrying CSI called subscriber identification collection sent, secondly, RCS AS are split according to CSI called subscriber identification collection
Group chat message is M chat messages corresponding with M called subscriber, and finally, RCS AS send M items respectively to M called subscriber
Corresponding chat messages in chat messages.Since the channel indexes of the MSRP channels between above-mentioned calling subscribe and RCS AS identify
In the corresponding chat groups of chat group ID include N number of user, CSI called subscriber identification collection includes the M use of M called subscriber
Family identifies, and M user identifier is M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, and N is big
In 2 integer, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create newly for calling subscribe and M called subscriber
Chat group and new MSRP channels, you can realize calling subscribe and M called subscriber private chat, advantageously reduce RCS AS and
The Signalling exchange of user, to improve chat group MSRP channels utilization rate, slow down the performance loss of RCS AS and user.
Optionally, in the embodiment of the present invention, above-mentioned processor 1001 splits the group according to the CSI called subscriber identification collection
Merely message, which is the specific implementation of M chat messages corresponding with the M called subscriber, to be:
Above-mentioned processor 1001 merges the M user identifier and the calling subscribe that the CSI called subscriber identification is concentrated first
User identifier be private chat group identification collection;Secondly, above-mentioned processor 1001 is according to the address information to prestore and MSRP channels
Channel indexes mark between mapping relations, and obtain the CSI called subscriber identification concentrate M address information, determine institute
The M channel indexes mark of M MSRP channel between the corresponding M called subscriber of M address information and the RCS AS is stated,
Wherein, the channel indexes mark includes the user identifier of the chat group ID and called subscriber;Finally, above-mentioned processor
1001 based on chat message, the private chat group identification collection and the M channel indexes mark life in the group chat message
At the corresponding M chat messages of the M called subscriber.
Optionally, in the embodiment of the present invention, above-mentioned processor 1001 sends the M items respectively to the M called subscriber
The specific implementation of corresponding chat messages in chat messages can be:Above-mentioned processor 1001 is believed by the M MSRP
Road sends the corresponding chat messages in the M chat messages to the M called subscriber respectively.
Optionally, in the embodiment of the present invention, above-mentioned processor 1001 according to the CSI called subscriber identification collection described in splitting
It is a to the M by the M MSRP channels after group chat message is M chat messages corresponding with the M called subscriber
Before called subscriber sends the corresponding chat messages in the M chat messages respectively, the M called subscriber can also be obtained
The M MSRP channel between the RCS AS.
Optionally, in the embodiment of the present invention, above-mentioned processor 1001 obtain the M called subscriber and the RCS AS it
Between the specific implementation of M MSRP channel can be:Above-mentioned processor 1001 extracts N number of user and the RCS AS
Between N number of MSRP channels and N number of MSRP channels N number of channel indexes mark between mapping relations list;With the M
A channel indexes are identified as inquiry foundation, inquire the mapping relations list to obtain the M called subscriber and the RCS
M MSRP channel between AS.
Optionally, in the embodiment of the present invention, above-mentioned processor 1001 passes through between calling subscribe and the RCS AS
Before MSRP channels receive the group chat message for carrying CSI called subscriber identification collection that the calling subscribe sends, can also be performed with
Lower operation is to activate above-mentioned chat group and create N number of MSRP channels between N number of user in chat group and RCS AS, tool
Body includes the following steps:
Above-mentioned processor 1001 receives the group's activation request for carrying chat group ID that the calling subscribe sends;
Above-mentioned processor 1001 responds group's activation request, after sending response message to the calling subscribe, wound
The MSRP channels between the calling subscribe and the RCS AS are built and preserve, and according to the chat group ID and the caller
The user identifier of user generates the channel indexes mark of the MSRP channels between the calling subscribe and the RCS AS;
The caller is removed in N number of user that above-mentioned processor 1001 includes to the corresponding chat groups of the chat group ID
N-1 user except user sends group's activation request respectively;
Above-mentioned processor 1001 receives group's activation request described in each user response in the N-1 user and sends out
After the response message sent, the MSRP channels between each user and the RCS AS are created, according to the chat group
The user identifier of group ID and each user generate the MSRP channels between each user and the RCS AS
Channel indexes identify;
Wherein, each above-mentioned user include in above-mentioned N-1 user be first user, second user ...
N-1 user;
Above-mentioned processor 1001 creates the MSRP channels between each user and the RCS AS, is chatted according to described
The user identifier of its group ID and each user generate the MSRP letters between each user and the RCS AS
The specific implementation of the channel indexes mark in road for example may include steps of:
Above-mentioned processor 1001 creates the first MSRP channels between above-mentioned first user and above-mentioned RCS AS, according to upper
The user identifier for stating chat group ID and above-mentioned first user generates the first channel indexes mark of above-mentioned first MSRP channels;
Above-mentioned processor 1001 creates the 2nd MSRP channels between above-mentioned second user and above-mentioned RCS AS, according to upper
The user identifier for stating chat group ID and above-mentioned second user generates the second channel index mark of above-mentioned 2nd MSRP channels;
Above-mentioned processor 1001 repeats the generating process of above-mentioned channel creation and channel indexes mark, until above-mentioned N-1
The N-1 channel indexes mark of N-1 MSRP channel and the N-1 MSRP channel between user and RCS AS has all created
At.
MSRP channels between the calling subscribe and the RCS AS of the above-mentioned processor 1001 based on establishment create
MSRP channels between each described user and the RCS AS and the calling subscribe and the RCS AS that generate it
Between MSRP channels channel indexes mark, generate each described user and the RCS AS between MSRP channels letter
Road index mark creates the N number of of N number of MSRP channels between N number of user and the RCS AS and N number of MSRP channels
Mapping relations list between channel indexes mark, wherein N number of MSRP channels include the calling subscribe and the RCS
The MSRP channels between MSRP channels and each described user and the RCS AS between AS.
The network architecture of the embodiment of the present invention and RCS AS are described above, the present invention is described further below
Method disclosed in embodiment.Referring to Fig. 3, Fig. 3 is disclosed by the embodiments of the present invention a kind of to realize that the flow of the method for private chat is shown
It is intended to.Wherein, method described in Fig. 3 is described from the sides RCS AS.As shown in figure 3, this method may include
Following steps:
S301, RCS AS receive the calling subscribe by the MSRP channels between calling subscribe and the RCS AS and send
The group chat message for carrying CSI called subscriber identification collection, wherein the MSRP channels between the calling subscribe and the RCS AS
Channel indexes mark in the corresponding chat groups of chat group ID include N number of user, the CSI called subscriber identification collection includes M
The M user identifier of a called subscriber, the M user identifier be N number of user N number of user identifier in remove the caller
M user identifier except the user identifier of user, the N are the integer more than 2, and the M is positive integer, and the M is less than
N-1;
In the embodiment of the present invention, above-mentioned CSI called subscriber identification collection is the new field in above-mentioned group chat message, the called use
It can specifically include the user identifier and M address corresponding with M called subscriber letter of M called subscriber in the identification sets of family
Breath.Wherein, above-mentioned user identifier for example can be smart card (Subscriber Identity Module, SIM) card number of UE,
Or international mobile subscriber identity (International Mobile Subscriber Identification Number,
IMSI), alternatively, mobile station identity number (usually said phone number) (Mobile Subscriber International
ISDN/PSTN number, MSISDN) etc..
It is to be called with the M that S302, above-mentioned RCS AS split the group chat message according to the CSI called subscriber identification collection
The corresponding M chat messages of user;
In the embodiment of the present invention, above-mentioned RCS AS identify that group chat message includes new field CSI called subscriber identification first
Then collection integrates according to the CSI called subscriber identification and splits above-mentioned group chat message as M chat messages.
In the specific implementation, above-mentioned RCS AS split the group chat message according to the CSI called subscriber identification collection is and the M
The specific implementation of the corresponding M chat messages of a called subscriber for example can be:
Above-mentioned RCS AS merge the use of M user identifier and the calling subscribe that the CSI called subscriber identification is concentrated first
Family is identified as private chat group identification collection;Secondly, RCS AS are identified according to the address information to prestore and the channel indexes of MSRP channels
Between mapping relations, and M address information that the CSI called subscriber identification that obtains is concentrated determine that the M address is believed
Cease the M channel indexes mark of M MSRP channel between corresponding M called subscriber and the RCS AS, wherein the letter
Road index mark includes the user identifier of the chat group ID and called subscriber;Finally, RCS AS are based on the group chat message
In chat message, the private chat group identification collection and M channel indexes mark generate M called subscriber correspondence
M chat messages.
S303, above-mentioned RCS AS send the corresponding chat in the M chat messages to the M called subscriber and disappear respectively
Breath.
In the embodiment of the present invention, above-mentioned RCS AS are sent to the M called subscriber in the M chat messages respectively
Accordingly the specific implementation of chat messages is:
The RCS AS send the M chat messages respectively by the M MSRP channels to the M called subscriber
In corresponding chat messages.
Method described in implementing Fig. 3, RCS AS are received by the MSRP channels between calling subscribe and RCS AS first
The group chat message for carrying CSI called subscriber identification collection that calling subscribe sends, secondly, RCS AS are torn open according to CSI called subscriber identification collection
It is M chat messages corresponding with M called subscriber to divide group chat message, and finally, RCS AS send M respectively to M called subscriber
Corresponding chat messages in chat messages.Due to the channel indexes mark of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID in knowledge include N number of user, and CSI called subscriber identification collection includes M of M called subscriber
User identifier, M user identifier are M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, and N is
Integer more than 2, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create newly for calling subscribe and M called subscriber
Chat group and new MSRP channels, you can realize calling subscribe and M called subscriber private chat, advantageously reduce RCS AS
With the Signalling exchange of user, to improve chat group MSRP channels utilization rate, slow down the performance damage of RCS AS and user
Consumption.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS split the group chat according to the CSI called subscriber identification collection and disappear
After breath is M chat messages corresponding with the M called subscriber, the RCS AS are by the M MSRP channels to institute
Before stating the corresponding chat messages that M called subscriber is sent respectively in the M chat messages, above-mentioned RCS AS can also be obtained
M MSRP channel between the M called subscriber and the RCS AS.
In the specific implementation, above-mentioned RCS AS obtain M MSRP channel between the M called subscriber and the RCS AS
Specific implementation can be:
Above-mentioned RCS AS extract N number of MSRP channels and N number of MSRP letters between N number of user and the RCS AS
Mapping relations list between N number of channel indexes mark in road;It is identified as inquiry foundation with the M channel indexes, inquires institute
Mapping relations list is stated to obtain M MSRP channel between the M called subscriber and the RCS AS.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS are believed by the MSRP between calling subscribe and the RCS AS
Before road receives the group chat message for carrying CSI called subscriber identification collection that the calling subscribe sends, following operation can also be performed
To activate above-mentioned chat group and create N number of MSRP channels between N number of user in chat group and RCS AS, specifically include
Following steps:
Above-mentioned RCS AS receive the group's activation request for carrying chat group ID that the calling subscribe sends;
The RCS AS respond group's activation request, after sending response message to the calling subscribe, create simultaneously
The MSRP channels between the calling subscribe and the RCS AS are preserved, and according to the chat group ID and the calling subscribe
User identifier generate the MSRP channels between the calling subscribe and the RCS AS channel indexes mark;
The calling subscribe is removed in N number of user that the RCS AS include to the corresponding chat groups of the chat group ID
Except N-1 user send group activation request respectively;
The RCS AS receive the activation request of group described in each user response in the N-1 user and send
After response message, the MSRP channels between each user and the RCS AS are created, according to the chat group ID
And the user identifier of each user generates the channel of the MSRP channels between each user and the RCS AS
Index mark;
Wherein, each above-mentioned user include in above-mentioned N-1 user be first user, second user ...
N-1 user;
Above-mentioned RCS AS create the MSRP channels between each user and the RCS AS, according to the chat group
The user identifier of group ID and each user generate the MSRP channels between each user and the RCS AS
The specific implementation of channel indexes mark for example may include steps of:
RCS AS create the first MSRP channels between above-mentioned first user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned first user generate the first channel indexes mark of above-mentioned first MSRP channels;
RCS AS create the 2nd MSRP channels between above-mentioned second user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned second user generate the second channel index mark of above-mentioned 2nd MSRP channels;
RCS AS repeat the generating process of above-mentioned channel creation and channel indexes mark, until above-mentioned N-1 user and RCS
The N-1 channel indexes mark of N-1 MSRP channel and the N-1 MSRP channel between AS, which all creates, to be completed.
Described in MSRP channels, establishment between the calling subscribe and the RCS AS of the RCS AS based on establishment
Between MSRP channels and the calling subscribe generated and the RCS AS between each user and the RCS AS
The channel rope of MSRP channels between the channel indexes mark of MSRP channels, each described user and the RCS AS of generation
Tendering is known, and N number of channel of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS is created
Mapping relations list between index mark, wherein N number of MSRP channels include the calling subscribe with the RCS AS it
Between MSRP channels and each described user and the RCS AS between MSRP channels.
Referring to Fig. 4, Fig. 4 is the flow diagram of another method for realizing private chat disclosed by the embodiments of the present invention.Its
In, method described in Fig. 4 is described from the sides RCS AS.As shown in figure 4, this method may comprise steps of:
S401, RCS AS receive the calling subscribe by the MSRP channels between calling subscribe and the RCS AS and send
The group chat message for carrying CSI called subscriber identification collection, wherein the MSRP channels between the calling subscribe and the RCS AS
Channel indexes mark in the corresponding chat groups of chat group ID include N number of user, the CSI called subscriber identification collection includes M
The M user identifier of a called subscriber, the M user identifier be N number of user N number of user identifier in remove the caller
M user identifier except the user identifier of user, the N are the integer more than 2, and the M is positive integer, and the M is less than
N-1;
In the embodiment of the present invention, in the embodiment of the present invention, above-mentioned CSI called subscriber identification collection is new in above-mentioned group chat message
Increase field, the CSI called subscriber identification concentrate the user identifier that can specifically include M called subscriber and with the M called subscriber couple
The M address information answered.Wherein, above-mentioned user identifier for example can be the SIM card number or IMSI number of UE, alternatively,
Mobile Subscriber International ISDN Number etc..
S402, above-mentioned RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and the calling subscribe's
User identifier is private chat group identification collection;
S403, above-mentioned RCS AS are closed according to the mapping between the address information to prestore and the channel indexes of MSRP channels mark
It is, and the M address information that the CSI called subscriber identification obtained is concentrated, determines the corresponding M quilt of the M address information
M channel indexes of M MSRP channel between user and the RCS AS are made to identify, wherein the channel indexes mark packet
Include the user identifier of the chat group ID and called subscriber;
S404, above-mentioned RCS AS are based on chat message, the private chat group identification collection and the institute in the group chat message
It states M channel indexes mark and generates the corresponding M chat messages of the M called subscriber.
S405, above-mentioned RCS AS send the corresponding chat in the M chat messages to the M called subscriber and disappear respectively
Breath.
In the embodiment of the present invention, above-mentioned RCS AS are sent to the M called subscriber in the M chat messages respectively
Accordingly the specific implementation of chat messages is:RCS AS are sent out by the M MSRP channels to the M called subscriber respectively
Send the corresponding chat messages in the M chat messages.
By implementing method described in Fig. 4, RCS AS pass through the MSRP channels between calling subscribe and RCS AS first
The group chat message for carrying CSI called subscriber identification collection that calling subscribe sends is received, secondly, RCS AS are according to CSI called subscriber identification
It is M chat messages corresponding with M called subscriber that collection, which splits group chat message, and finally, RCS AS are sent out respectively to M called subscriber
Send the corresponding chat messages in M chat messages.Due to the channel rope of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID during tendering is known include N number of user, and CSI called subscriber identification collection includes M called subscriber
M user identifier, M user identifier are M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, N
For the integer more than 2, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create for calling subscribe and M called subscriber
New chat group and new MSRP channels, you can the private chat for realizing calling subscribe and M called subscriber advantageously reduces RCS
The Signalling exchange of AS and user, to improve chat group MSRP channels utilization rate, slow down the performance of RCS AS and user
Loss.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS split the group chat according to the CSI called subscriber identification collection and disappear
After breath is M chat messages corresponding with the M called subscriber, the RCS AS are by the M MSRP channels to institute
Before stating the corresponding chat messages that M called subscriber is sent respectively in the M chat messages, above-mentioned RCS AS can also be obtained
M MSRP channel between the M called subscriber and the RCS AS.
In the specific implementation, M MSRP channel between the above-mentioned acquisition M called subscriber and the RCS AS is specific
Embodiment for example can be:RCS AS extract N number of MSRP channels and the N between N number of user and the RCS AS
Mapping relations list between N number of channel indexes mark of a MSRP channels;With the M channel indexes be identified as inquiry according to
According to inquiring the mapping relations list to obtain M MSRP channel between the M called subscriber and the RCS AS.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS are believed by the MSRP between calling subscribe and the RCS AS
Before road receives the group chat message for carrying CSI called subscriber identification collection that the calling subscribe sends, following operation can also be performed
To activate above-mentioned chat group and create N number of MSRP channels between N number of user in chat group and RCS AS, specifically include
Following steps:
Above-mentioned RCS AS receive the group's activation request for carrying chat group ID that the calling subscribe sends;
The RCS AS respond group's activation request, after sending response message to the calling subscribe, create simultaneously
The MSRP channels between the calling subscribe and the RCS AS are preserved, and according to the chat group ID and the calling subscribe
User identifier generate the MSRP channels between the calling subscribe and the RCS AS channel indexes mark;
The calling subscribe is removed in N number of user that the RCS AS include to the corresponding chat groups of the chat group ID
Except N-1 user send group activation request respectively;
The RCS AS receive the activation request of group described in each user response in the N-1 user and send
After response message, the MSRP channels between each user and the RCS AS are created, according to the chat group ID
And the user identifier of each user generates the channel of the MSRP channels between each user and the RCS AS
Index mark;
Wherein, each above-mentioned user include in above-mentioned N-1 user be first user, second user ...
N-1 user;
Above-mentioned RCS AS create the MSRP channels between each user and the RCS AS, according to the chat group
The user identifier of group ID and each user generate the MSRP channels between each user and the RCS AS
The specific implementation of channel indexes mark for example may include steps of:
RCS AS create the first MSRP channels between above-mentioned first user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned first user generate the first channel indexes mark of above-mentioned first MSRP channels;
RCS AS create the 2nd MSRP channels between above-mentioned second user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned second user generate the second channel index mark of above-mentioned 2nd MSRP channels;
RCS AS repeat the generating process of above-mentioned channel creation and channel indexes mark, until above-mentioned N-1 user and RCS
The N-1 channel indexes mark of N-1 MSRP channel and the N-1 MSRP channel between AS, which all creates, to be completed.
Described in MSRP channels, establishment between the calling subscribe and the RCS AS of the RCS AS based on establishment
Between MSRP channels and the calling subscribe generated and the RCS AS between each user and the RCS AS
The channel rope of MSRP channels between the channel indexes mark of MSRP channels, each described user and the RCS AS of generation
Tendering is known, and N number of channel of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS is created
Mapping relations list between index mark, wherein N number of MSRP channels include the calling subscribe with the RCS AS it
Between MSRP channels and each described user and the RCS AS between MSRP channels.
Fig. 5 is referred to, Fig. 5 is the flow diagram of the method for another realization private chat disclosed by the embodiments of the present invention.Its
In, method described in Fig. 5 is described from the sides RCS AS.As shown in figure 5, this method may comprise steps of:
S501, RCS AS receive the calling subscribe by the MSRP channels between calling subscribe and the RCS AS and send
The group chat message for carrying CSI called subscriber identification collection, wherein the MSRP channels between the calling subscribe and the RCS AS
Channel indexes mark in the corresponding chat groups of chat group ID include N number of user, the CSI called subscriber identification collection includes M
The M user identifier of a called subscriber, the M user identifier be N number of user N number of user identifier in remove the caller
M user identifier except the user identifier of user, the N are the integer more than 2, and the M is positive integer, and the M is less than
N-1;
S502, above-mentioned RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and the calling subscribe's
User identifier is private chat group identification collection;
S503, above-mentioned RCS AS are closed according to the mapping between the address information to prestore and the channel indexes of MSRP channels mark
It is, and the M address information that the CSI called subscriber identification obtained is concentrated, determines the corresponding M quilt of the M address information
M channel indexes of M MSRP channel between user and the RCS AS are made to identify, wherein the channel indexes mark packet
Include the user identifier of the chat group ID and called subscriber;
S504, above-mentioned RCS AS are based on chat message, the private chat group identification collection and the institute in the group chat message
It states M channel indexes mark and generates the corresponding M chat messages of the M called subscriber.
S505, above-mentioned RCS AS obtain M MSRP channel between the M called subscriber and the RCS AS;
In the embodiment of the present invention, above-mentioned RCS AS obtain M MSRP between the M called subscriber and the RCS AS
The specific implementation of channel can be:Above-mentioned RCS AS extract the letters of N number of MSRP between N number of user and the RCS AS
Mapping relations list between N number of channel indexes of road and N number of MSRP channels mark;It is identified with the M channel indexes
To inquire foundation, the mapping relations list is inquired to obtain M MSRP between the M called subscriber and the RCS AS
Channel.
S506, above-mentioned RCS AS send the M items to the M called subscriber by the M MSRP channels and chat respectively
Corresponding chat messages in its message.
Implement method described in Fig. 5, RCS AS are received by the MSRP channels between calling subscribe and RCS AS first
The group chat message for carrying CSI called subscriber identification collection that calling subscribe sends, secondly, RCS AS are torn open according to CSI called subscriber identification collection
It is M chat messages corresponding with M called subscriber to divide group chat message, and finally, RCS AS send M respectively to M called subscriber
Corresponding chat messages in chat messages.Due to the channel indexes mark of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID in knowledge include N number of user, and CSI called subscriber identification collection includes M of M called subscriber
User identifier, M user identifier are M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, and N is
Integer more than 2, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create newly for calling subscribe and M called subscriber
Chat group and new MSRP channels, you can realize calling subscribe and M called subscriber private chat, advantageously reduce RCS AS
With the Signalling exchange of user, to improve chat group MSRP channels utilization rate, slow down the performance damage of RCS AS and user
Consumption.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS RCS AS pass through between calling subscribe and the RCS AS
Before MSRP channels receive the group chat message for carrying CSI called subscriber identification collection that the calling subscribe sends, can also be performed with
Lower operation is to activate above-mentioned chat group and create N number of MSRP channels between N number of user in chat group and RCS AS, tool
Body includes the following steps:
Above-mentioned RCS AS receive the group's activation request for carrying chat group ID that the calling subscribe sends;
The RCS AS respond group's activation request, after sending response message to the calling subscribe, create simultaneously
The MSRP channels between the calling subscribe and the RCS AS are preserved, and according to the chat group ID and the calling subscribe
User identifier generate the MSRP channels between the calling subscribe and the RCS AS channel indexes mark;
The calling subscribe is removed in N number of user that the RCS AS include to the corresponding chat groups of the chat group ID
Except N-1 user send group activation request respectively;
The RCS AS receive the activation request of group described in each user response in the N-1 user and send
After response message, the MSRP channels between each user and the RCS AS are created, according to the chat group ID
And the user identifier of each user generates the channel of the MSRP channels between each user and the RCS AS
Index mark;
Wherein, each above-mentioned user include in above-mentioned N-1 user be first user, second user ...
N-1 user;
Above-mentioned RCS AS create the MSRP channels between each user and the RCS AS, according to the chat group
The user identifier of group ID and each user generate the MSRP channels between each user and the RCS AS
The specific implementation of channel indexes mark for example may include steps of:
RCS AS create the first MSRP channels between above-mentioned first user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned first user generate the first channel indexes mark of above-mentioned first MSRP channels;
RCS AS create the 2nd MSRP channels between above-mentioned second user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned second user generate the second channel index mark of above-mentioned 2nd MSRP channels;
RCS AS repeat the generating process of above-mentioned channel creation and channel indexes mark, until above-mentioned N-1 user and RCS
The N-1 channel indexes mark of N-1 MSRP channel and the N-1 MSRP channel between AS, which all creates, to be completed.
Described in MSRP channels, establishment between the calling subscribe and the RCS AS of the RCS AS based on establishment
Between MSRP channels and the calling subscribe generated and the RCS AS between each user and the RCS AS
The channel rope of MSRP channels between the channel indexes mark of MSRP channels, each described user and the RCS AS of generation
Tendering is known, and N number of channel of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS is created
Mapping relations list between index mark, wherein N number of MSRP channels include the calling subscribe with the RCS AS it
Between MSRP channels and each described user and the RCS AS between MSRP channels.
To further describe a kind of method for realizing private chat disclosed by the embodiments of the present invention in conjunction with specific example chat group,
Assuming that RCS AS generate chat group ID according to the group creating instruction for carrying user identifier collection received, and in group
It creates in response and chat group ID is returned into group user (including user A, user B, user C and user D), group uses
Family preserves above-mentioned chat group ID.And it is created in above-mentioned RCS AS in above-mentioned chat group between RCS AS and user A
MSRP the channels C and RCS between MSRP channels B, RCS AS and user C between MSRP channels A, RCS AS and user B
MSRP channel D between AS and user D, and be stored with and believe including above-mentioned MSRP channels A, MSRP channel B, MSRP channel C, MSRP
The mapping relations list of road D and channel indexes mark A, channel indexes mark B, channel indexes mark C, channel indexes mark D.
Fig. 6 is referred to, Fig. 6 is that the network architecture shown in FIG. 1 realization above-mentioned example disclosed by the embodiments of the present invention that is based on is chatted
The flow diagram of the method for the private chat of user A, user B and user C in its group.Wherein, method shown in fig. 6 be from
User A, RCS AS and user B, the more sides user C are described.As shown in fig. 6, this method may comprise steps of:
S601, user A send the group chat message for carrying CSI called subscriber identification collection by MSRP channels A to RCS AS.
In the embodiment of the present invention, above-mentioned group chat message is initiated by user A, therefore the realization private chat disclosed in the present embodiment
In the execution flow of method, user A is calling subscribe, and user B, user C are respectively the first called subscriber and the second called subscriber;
The channel indexes mark A of above-mentioned MSRP channels A includes the user identifier userA of chat group ID and user A, above-mentioned called subscriber
Identification sets include the user identifier userB of the first called subscriber and the user identifier userC of the second called subscriber, and with first
Corresponding first address information of called subscriber and the second address information corresponding with the second called subscriber, i.e., above-mentioned group chat message is only
It can be checked by user A, user B and user C, to realize the private chat between user A, user B and user C.
Wherein, the exemplary field of above-mentioned group chat message is as follows.
The above-mentioned CSI called subscriber identification collection that resource-list header field fields in above-mentioned group chat message include, following institute
Show
Above-mentioned field<Entry uri=" sip:userB@huawei.com"cp:Capacity=" to "/>Include using
The family B i.e. user identifier userB of the first called subscriber and address information sip corresponding with the first called subscriber:userB@
huawei.com"cp:Capacity=" to "/;Above-mentioned field<Entry uri=" sip:userC@huawei.com"cp:
Capacity=" to "/>Including the user C i.e. user identifier userC of the second called subscriber and corresponding with the second called subscriber
Address information sip:userC@huawei.com"cp:Capacity=" to "/.
S602, RCS AS receives above-mentioned group chat message, merge user identifier userB that above-mentioned CSI called subscriber identification concentrates,
The user identifier userA of user identifier userC and above-mentioned user A are private chat group identification collection;
S603, RCS AS according to the address information to prestore and the channel indexes of MSRP channels mark between mapping relations,
And the address information that the CSI called subscriber identification obtained is concentrated, determine the channel rope of the MSRP channels B between user B and RCS AS
The channel indexes that the MSRP channels C between B and user C and RCS AS is known in tendering identify C.
S604, RCS AS are based on chat message, above-mentioned private chat group identification collection and the channel rope in above-mentioned group chat message
Tendering knows B and generates corresponding first chat messages of user B, based on the chat message in above-mentioned group chat message, above-mentioned private chat group
Identification sets and channel indexes mark C generate corresponding second chat messages of user C.
MSRP channels A, MSRP channel B, MSRP channel C, MSRP channel D and channel rope that S605, RCS AS extractions prestore
The mapping relations list of A, channel indexes mark B, channel indexes mark C, channel indexes mark D are known in tendering;
S606, RCS AS are inquiry foundation with channel indexes mark B, inquire above-mentioned mapping relations list, obtain channel rope
The corresponding MSRP channels B of B are known in tendering.
S607, RCS AS send the first chat messages by MSRP channels B to user B;
S608, user B receive the first chat messages by MSRP channels B, show the first chat messages on the display screen
In chat message;
S609, user B return to 200OK responses to RCS AS.
S610, RCS AS are inquiry foundation with channel indexes mark C, inquire above-mentioned mapping relations list, obtain channel rope
The corresponding MSRP channels C of C are known in tendering.
S611, RCS AS send the second chat messages by MSRP channels C to user C;
S612, user C receive the second chat messages by MSRP channels C, show the second chat messages on the display screen
In chat message;
S613, user C return to 200OK responses to RCS AS.
As can be seen that implementing method described in Fig. 6, RCS AS pass through the MSRP between calling subscribe and RCS AS first
Channel receives the group chat message for carrying CSI called subscriber identification collection that calling subscribe sends, and secondly, RCS AS are according to called subscriber
It is M chat messages corresponding with M called subscriber that identification sets, which split group chat message, and finally, RCS AS divide to M called subscriber
Corresponding chat messages that Fa Song be in M chat messages.Due to the letter of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID in road index mark include N number of user, and CSI called subscriber identification collection includes M called use
The M user identifier at family, M user identifier are the M user mark in addition to the user identifier of calling subscribe in N number of user identifier
Know, N is the integer more than 2, and M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to be calling subscribe and M called subscriber
Create new chat group and new MSRP channels, you can the private chat for realizing calling subscribe and M called subscriber advantageously reduces
The Signalling exchange of RCS AS and user, to improve chat group MSRP channels utilization rate, slow down RCS AS and user
Performance is lost.
Optionally, in the embodiment of the present invention, above-mentioned user B receives the first chat messages by MSRP channels B, in display screen
After showing the chat message in the first chat messages on curtain, when user B detects that user grasps the selection of above-mentioned chat message
When making, it can also show that the title for the corresponding user of user identifier that above-mentioned private chat group identification is concentrated is (old on the display screen
Lee, Lao Wang, Lao Zhao);User B can also obtain Lao Wang and be directed to the return information that the group chat message is inputted, and be believed based on the reply
Breath and above-mentioned private chat group identification collection, which generate, replys group chat information and sending to RCS AS, to chat the reply by RCS AS
Its message distribution is to user A and user C.
For example, the status diagram for showing screen including example chat group window in conjunction with shown in Fig. 7, it is assumed that
It is " This is a privitate that user B receives the first chat message in the first chat messages of RCS AS distributions first
Message ", user B show first chat message on the display screen;Secondly, when user B detect user for this
When the selection operation of one chat message, displaying includes all users that current private chat group identification is concentrated on above-mentioned display screen
Identify the title (Lao Li, Lao Wang, Lao Zhao) of corresponding user;Again, user B obtains the second chat message input by user
" Hello " generates the second group chat message based on second chat message and sends the second group chat message, RCS AS to RCS AS
The second group chat message is split after chat messages A and chat messages B, to send chat messages A to user A first, user A is received
To after chat messages A, the chat message " Hello " in chat messages A is shown on the display screen.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of RCS AS disclosed by the embodiments of the present invention a kind of.As shown in figure 8, should
RCS AS may include the first receiving unit 801, split cells 802, Dispatching Unit 803, wherein:
Above-mentioned first receiving unit 801, for receiving institute by the MSRP channels between calling subscribe and the RCS AS
State the group chat message for carrying CSI called subscriber identification collection of calling subscribe's transmission, wherein the calling subscribe and the RCS AS
Between MSRP channels channel indexes mark in the corresponding chat groups of chat group ID include N number of user, it is described called
User identifier collection includes the M user identifier of M called subscriber, and the M user identifier is N number of user of N number of user
M user identifier in mark in addition to the user identifier of the calling subscribe, the N are the integer more than 2, and the M is just
Integer, and the M is less than N-1;
In the embodiment of the present invention, above-mentioned CSI called subscriber identification collection is the new field in above-mentioned group chat message, the called use
It can specifically include the user identifier and M address corresponding with M called subscriber letter of M called subscriber in the identification sets of family
Breath.
Above-mentioned split cells 802, for being split according to the CSI called subscriber identification collection, the group chat message is and the M is a
The corresponding M chat messages of called subscriber;
In the embodiment of the present invention, above-mentioned split cells 802 splits the group chat message according to the CSI called subscriber identification collection
Specific implementation mode for M chat messages corresponding with the M called subscriber can be:
Above-mentioned split cells 802 merges the M user identifier that the CSI called subscriber identification is concentrated and the calling subscribe's
User identifier is private chat group identification collection;According to the mapping between the address information to prestore and the channel indexes of MSRP channels mark
Relationship, and M address information that the CSI called subscriber identification that obtains is concentrated, determine that the corresponding M of the M address information is a
M channel indexes of M MSRP channel between called subscriber and the RCS AS identify, wherein the channel indexes mark
Include the user identifier of the chat group ID and called subscriber;Based on the chat message in the group chat message, the private chat
Group identification collection and M channel indexes mark generate the corresponding M chat messages of the M called subscriber.
Above-mentioned Dispatching Unit 803, it is corresponding in the M chat messages for being sent respectively to the M called subscriber
Chat messages.
In the embodiment of the present invention, above-mentioned Dispatching Unit 803 sends the M items chat to the M called subscriber and disappears respectively
The specific implementation of corresponding chat messages in breath is:Above-mentioned Dispatching Unit 803 is by the M MSRP channels to institute
It states M called subscriber and sends corresponding chat messages in the M chat messages respectively.
It is understood that the function of each function module of the RCS AS of the embodiment of the present invention can be implemented according to the above method
Method specific implementation in example, specific implementation process are referred to the associated description of above method embodiment, no longer superfluous herein
It states.
As can be seen that RCS AS shown in Fig. 8 receive master by the MSRP channels between calling subscribe and RCS AS first
It is user's group chat message for carrying CSI called subscriber identification collection sent, secondly, RCS AS are split according to CSI called subscriber identification collection
Group chat message is M chat messages corresponding with M called subscriber, and finally, RCS AS send M items respectively to M called subscriber
Corresponding chat messages in chat messages.Since the channel indexes of the MSRP channels between above-mentioned calling subscribe and RCS AS identify
In the corresponding chat groups of chat group ID include N number of user, CSI called subscriber identification collection includes the M use of M called subscriber
Family identifies, and M user identifier is M user identifier in N number of user identifier in addition to the user identifier of calling subscribe, and N is big
In 2 integer, M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to create newly for calling subscribe and M called subscriber
Chat group and new MSRP channels, you can realize calling subscribe and M called subscriber private chat, advantageously reduce RCS AS and
The Signalling exchange of user, to improve chat group MSRP channels utilization rate, slow down the performance loss of RCS AS and user.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS further include:
Acquiring unit, for the split cells according to the CSI called subscriber identification collection split the group chat message be with
After the corresponding M chat messages of the M called subscriber, the Dispatching Unit is by the M MSRP channels to the M
Before called subscriber sends the corresponding chat messages in the M chat messages respectively, obtain the M called subscriber with it is described
M MSRP channel between RCS AS.
In the specific implementation, above-mentioned acquiring unit is specifically used for:
Extract N number of letter of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS
Mapping relations list between road index mark;It is identified as inquiry foundation with the M channel indexes, inquires the mapping relations
List is to obtain M MSRP channel between the M called subscriber and the RCS AS.
Optionally, in the embodiment of the present invention, above-mentioned RCS AS further include:
The RCS AS further include:
Second receiving unit is asked for receiving the group's activation for carrying chat group ID that the calling subscribe sends
It asks;
Channel creation unit is sent for responding group's activation request in the RCS AS to the calling subscribe
After response message, the MSRP channels between the calling subscribe and the RCS AS are created and preserve, and according to the chat
The user identifier of group ID and the calling subscribe generate the letter of the MSRP channels between the calling subscribe and the RCS AS
Road index mark;
The Dispatching Unit is additionally operable to remove institute into N number of user that the corresponding chat groups of the chat group ID include
It states N-1 user except calling subscribe and sends group's activation request respectively;
The channel creation unit, each user being additionally operable in the RCS AS receive the N-1 user ring
Group's activation request is answered after the response message of transmission, establishment is described between each user and the RCS AS
MSRP channels, according to the user identifier of the chat group ID and each user generate each described user with it is described
The channel indexes of MSRP channels between RCS AS identify;
Wherein, each above-mentioned user include in above-mentioned N-1 user be first user, second user ...
N-1 user;
Above-mentioned channel creation unit creates the MSRP channels between each user and the RCS AS, according to described
The user identifier of chat group ID and each user generate the MSRP between each user and the RCS AS
The specific implementation of the channel indexes mark of channel for example may include steps of:
Channel creation unit creates the first MSRP channels between above-mentioned first user and above-mentioned RCS AS, according to above-mentioned
The user identifier of chat group ID and above-mentioned first user generate the first channel indexes mark of above-mentioned first MSRP channels;
Channel creation unit creates the 2nd MSRP channels between above-mentioned second user and above-mentioned RCS AS, according to above-mentioned
The user identifier of chat group ID and above-mentioned second user generate the second channel index mark of above-mentioned 2nd MSRP channels;
Channel creation unit repeats the generating process of above-mentioned channel creation and channel indexes mark, until above-mentioned N-1 use
The N-1 channel indexes mark of N-1 MSRP channel and the N-1 MSRP channel between family and RCS AS has all created
At.
List creating unit, for the calling subscribe based on establishment and the MSRP channels between the RCS AS, wound
MSRP channels and the calling subscribe generated between each described user and the RCS AS for building and the RCS
MSRP channels between the channel indexes mark of MSRP channels between AS, each described user and the RCS AS of generation
Channel indexes mark, create N number of MSRP channels between N number of user and the RCS AS and N number of MSRP channels
N number of channel indexes mark between mapping relations list, wherein N number of MSRP channels include the calling subscribe and institute
State the MSRP channels between RCS AS and the MSRP channels between each described user and the RCS AS.
Fig. 9 is referred to, Fig. 9 is a kind of configuration diagram of system for realizing private chat disclosed by the embodiments of the present invention, is used for
Execute the method disclosed by the embodiments of the present invention for realizing private chat.As shown in figure 9, the system of the realization private chat include calling subscribe,
RCS AS, wherein:
Above-mentioned calling subscribe, for passing through the MSRP channels between the calling subscribe and the RCS AS to the RCS
AS sends the group chat message for carrying CSI called subscriber identification collection, wherein the MSRP between the calling subscribe and the RCS AS
The corresponding chat groups of chat group ID in the channel indexes mark of channel include N number of user, the CSI called subscriber identification collection
Include the M user identifier of M called subscriber, the M user identifier is removes institute in N number of user identifier of N number of user
M user identifier except the user identifier of calling subscribe is stated, the N is the integer more than 2, and the M is positive integer, and described
M is less than N-1;
Above-mentioned RCS AS split the group after receiving the group chat message according to the CSI called subscriber identification collection
Merely message is M chat messages corresponding with the M called subscriber, and sends the M items respectively to the M called subscriber
Corresponding chat messages in chat messages.
In the embodiment of the present invention, above-mentioned RCS AS according to the CSI called subscriber identification collection split the group chat message for institute
The concrete mode for stating the corresponding M chat messages of M called subscriber is:
The RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and user's mark of the calling subscribe
It is private chat group identification collection to know, the mapping relations between being identified according to the address information to prestore and the channel indexes of MSRP channels,
And the M address information that the CSI called subscriber identification obtained is concentrated, determine that corresponding M of the M address information is called
M channel indexes of M MSRP channel between user and the RCS AS identify, based on the chat letter in the group chat message
Breath, the private chat group identification collection and M channel indexes mark generate the corresponding M items chat of the M called subscriber
Message, wherein the channel indexes mark includes the user identifier of the chat group ID and called subscriber.
Optionally, in the embodiment of the present invention, the RCS AS send the M items chat respectively to the M called subscriber
The concrete mode of corresponding chat messages in message is:
The RCS AS send the M chat messages respectively by the M MSRP channels to the M called subscriber
In corresponding chat messages.
Optionally, in the embodiment of the present invention, the RCS AS are additionally operable to according to described in CSI called subscriber identification collection fractionation
It is a to the M by the M MSRP channels after group chat message is M chat messages corresponding with the M called subscriber
Before called subscriber sends the corresponding chat messages in the M chat messages respectively, obtain the M called subscriber with it is described
M MSRP channel between RCS AS.
Optionally, in the embodiment of the present invention, the RCS AS are obtained between the M called subscriber and the RCS AS
The concrete mode of M MSRP channel is:
The RCS AS extract N number of MSRP channels and N number of MSRP letters between N number of user and the RCS AS
Mapping relations list between N number of channel indexes mark in road, is identified as inquiry foundation with the M channel indexes, inquires institute
Mapping relations list is stated to obtain M MSRP channel between the M called subscriber and the RCS AS.
Optionally, in the embodiment of the present invention,
The calling subscribe is additionally operable to send the group's activation request for carrying chat group ID to the RCS AS;
The RCS AS are additionally operable to respond group's activation request, send response message to the calling subscribe, create
And the MSRP channels between the calling subscribe and the RCS AS are preserved, and used according to the chat group ID and the caller
The user identifier at family generates the channel indexes mark of the MSRP channels between the calling subscribe and the RCS AS;It is chatted to described
N-1 user in N number of user that the corresponding chat groups of its group ID include in addition to the calling subscribe sends institute respectively
State group's activation request;The sound for receiving group's activation request described in each user response in the N-1 user and sending
After answering message, create the MSRP channels between each user and the RCS AS, according to the chat group ID and
The user identifier of each user generates the channel rope of the MSRP channels between each user and the RCS AS
Tendering is known;Each user described in MSRP channels, establishment between the calling subscribe and the RCS AS based on establishment
MSRP channels between MSRP channels between the RCS AS and the calling subscribe generated and the RCS AS
The channel indexes of MSRP channels between channel indexes mark, each the described user generated and the RCS AS identify, wound
Build N number of channel indexes mark of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS
Between mapping relations list, wherein N number of MSRP channels include the MSRP between the calling subscribe and the RCS AS
MSRP channels between channel and each described user and the RCS AS.
Wherein, each above-mentioned user include in above-mentioned N-1 user be first user, second user ...
N-1 user;
Above-mentioned RCS AS create the MSRP channels between each user and the RCS AS, according to the chat group
The user identifier of group ID and each user generate the MSRP channels between each user and the RCS AS
The specific implementation of channel indexes mark for example may include steps of:
RCS AS create the first MSRP channels between above-mentioned first user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned first user generate the first channel indexes mark of above-mentioned first MSRP channels;
RCS AS create the 2nd MSRP channels between above-mentioned second user and above-mentioned RCS AS, according to above-mentioned chat group
The user identifier of group ID and above-mentioned second user generate the second channel index mark of above-mentioned 2nd MSRP channels;
RCS AS repeat the generating process of above-mentioned channel creation and channel indexes mark, until above-mentioned N-1 user and RCS
The N-1 channel indexes mark of N-1 MSRP channel and the N-1 MSRP channel between AS, which all creates, to be completed.
In the system shown in Fig. 9 for realizing private chat, RCS AS are believed by the MSRP between calling subscribe and RCS AS first
Road receives the group chat message for carrying CSI called subscriber identification collection that calling subscribe sends, and secondly, RCS AS are marked according to called subscriber
It is M chat messages corresponding with M called subscriber to know collection to split group chat message, and finally, RCS AS distinguish to M called subscriber
Send the corresponding chat messages in M chat messages.Due to the channel of the MSRP channels between above-mentioned calling subscribe and RCS AS
The corresponding chat groups of chat group ID in index mark include N number of user, and CSI called subscriber identification collection includes M called subscriber
M user identifier, M user identifier is that M user in N number of user identifier in addition to the user identifier of calling subscribe marks
Know, N is the integer more than 2, and M is positive integer, and M is less than N-1, it is seen then that RCS AS are not necessarily to be calling subscribe and M called subscriber
Create new chat group and new MSRP channels, you can the private chat for realizing calling subscribe and M called subscriber advantageously reduces
The Signalling exchange of RCS AS and user, to improve chat group MSRP channels utilization rate, slow down RCS AS and user
Performance is lost.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
Modification or replacement, the range for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.
Claims (16)
1. a kind of method for realizing private chat, which is characterized in that including:
Rich communication external member RCS application server ASs pass through described in the MSRP channels reception between calling subscribe and the RCS AS
The group chat message for carrying CSI called subscriber identification collection that calling subscribe sends, wherein the calling subscribe and the RCS AS it
Between MSRP channels channel indexes mark in the corresponding chat groups of chat group ID include N number of user, the called use
Family identification sets include the M user identifier of M called subscriber, and the M user identifier is that N number of user of N number of user marks
M user identifier in knowledge in addition to the user identifier of the calling subscribe, the N are the integer more than 2, and the M is just whole
Number, and the M is less than N-1;
It is corresponding with the M called subscriber that the RCS AS split the group chat message according to the CSI called subscriber identification collection
M chat messages;
The RCS AS send the corresponding chat messages in the M chat messages to the M called subscriber respectively;
Wherein, the RCS AS split the group chat message according to the CSI called subscriber identification collection and are and the M called subscriber
Corresponding M chat messages, including:
The RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and the user identifier of the calling subscribe is
Private chat group identification collection;
The RCS AS are according to the mapping relations between the address information to prestore and the channel indexes of MSRP channels mark, and obtain
The M address information that the CSI called subscriber identification that takes is concentrated, determine the corresponding M called subscriber of the M address information and
M channel indexes of M MSRP channel between the RCS AS identify, wherein the channel indexes mark includes described chats
The user identifier of its group ID and called subscriber;
The RCS AS are based on chat message, the private chat group identification collection and the M channel in the group chat message
Index mark generates the corresponding M chat messages of the M called subscriber.
2. according to the method described in claim 1, it is characterized in that, the RCS AS are sent respectively to the M called subscriber
Corresponding chat messages in the M chat messages, including:
The RCS AS are sent to the M called subscriber in the M chat messages respectively by the M MSRP channels
Corresponding chat messages.
3. according to the method described in claim 2, it is characterized in that, the RCS AS are split according to the CSI called subscriber identification collection
The group chat message is after M chat messages corresponding with the M called subscriber, the RCS AS passes through the M
Before MSRP channels send the corresponding chat messages in the M chat messages to the M called subscriber respectively, the method
Further include:
The RCS AS obtain M MSRP channel between the M called subscriber and the RCS AS.
4. according to the method described in claim 3, it is characterized in that, the RCS AS obtain the M called subscriber with it is described
M MSRP channel between RCS AS, including:
The RCS AS extract N number of MSRP channels between N number of user and the RCS AS and N number of MSRP channels
Mapping relations list between N number of channel indexes mark;
The RCS AS are identified as inquiry foundation with the M channel indexes, inquire the mapping relations list to obtain the M
M MSRP channel between a called subscriber and the RCS AS.
5. according to claim 1-4 any one of them methods, which is characterized in that the RCS AS by calling subscribe with it is described
Before MSRP channels between RCS AS receive the group chat message for carrying CSI called subscriber identification collection that the calling subscribe sends,
The method further includes:
The RCS AS receive the group's activation request for carrying chat group ID that the calling subscribe sends;
The RCS AS respond group's activation request and create and preserve after sending response message to the calling subscribe
MSRP channels between the calling subscribe and the RCS AS, and according to the use of the chat group ID and the calling subscribe
The channel indexes that family mark generates the MSRP channels between the calling subscribe and the RCS AS identify;
In N number of user that the RCS AS include to the corresponding chat groups of the chat group ID in addition to the calling subscribe
N-1 user send group activation request respectively;
The RCS AS receive group's activation request described in each user response in the N-1 user and the response of transmission
After message, each user in the N-1 user and the MSRP channels between the RCS AS are created, is chatted according to described
The user identifier of its group ID and each user in the N-1 user generate each use in the N-1 user
The channel indexes of MSRP channels between family and the RCS AS identify;
The N-1 of MSRP channels, establishment between the calling subscribe and the RCS AS of the RCS AS based on establishment
MSRP channels between each user and the RCS AS in a user and the calling subscribe that generates with it is described
The channel indexes mark of MSRP channels between RCS AS, each user in the N-1 user generated and the RCS
The channel indexes of MSRP channels between AS identify, create N number of MSRP channels between N number of user and the RCS AS and
Mapping relations list between N number of channel indexes mark of N number of MSRP channels, wherein N number of MSRP channels include institute
State each user in the MSRP channels and the N-1 user between calling subscribe and the RCS AS and the RCS AS
Between MSRP channels.
6. a kind of RCS AS, which is characterized in that including:
First receiving unit, for receiving calling subscribe's hair by the MSRP channels between calling subscribe and the RCS AS
That send carries the group chat message of CSI called subscriber identification collection, wherein the MSRP letters between the calling subscribe and the RCS AS
The corresponding chat groups of chat group ID in the channel indexes mark in road include N number of user, the CSI called subscriber identification Ji Bao
The M user identifier of M called subscriber is included, the M user identifier is described to be removed in N number of user identifier of N number of user
M user identifier except the user identifier of calling subscribe, the N are integer more than 2, and the M is positive integer, and the M
Less than N-1;
Split cells is and the M called subscriber couple for splitting the group chat message according to the CSI called subscriber identification collection
The M chat messages answered;
Dispatching Unit, for sending the corresponding chat messages in the M chat messages respectively to the M called subscriber;
Wherein, the split cells is specifically used for:
The user identifier for merging M user identifier and the calling subscribe that the CSI called subscriber identification is concentrated is marked for private chat group
Know collection;
According to the quilt of the mapping relations between the address information to prestore and the channel indexes of MSRP channels mark, and acquisition
M address information for making user identifier concentrate, determines the corresponding M called subscriber of the M address information and the RCS AS
Between M MSRP channel M channel indexes mark, wherein channel indexes mark include the chat group ID with
The user identifier of called subscriber;
Based on chat message, the private chat group identification collection and the M channel indexes mark life in the group chat message
At the corresponding M chat messages of the M called subscriber.
7. RCS AS according to claim 6, which is characterized in that the Dispatching Unit is specifically used for:
The corresponding chat in the M chat messages is sent respectively by the M MSRP channels to the M called subscriber to disappear
Breath.
8. RCS AS according to claim 7, which is characterized in that the RCS AS further include:
Acquiring unit, for the split cells according to the CSI called subscriber identification collection split the group chat message be with it is described
After the corresponding M chat messages of M called subscriber, the Dispatching Unit is called to the M by the M MSRP channels
Before user sends the corresponding chat messages in the M chat messages respectively, the M called subscriber and the RCS are obtained
M MSRP channel between AS.
9. RCS AS according to claim 8, which is characterized in that the acquiring unit is specifically used for:
Extract N number of channel rope of the N number of MSRP channels and N number of MSRP channels between N number of user and the RCS AS
Mapping relations list between tendering knowledge;
It is identified as inquiry foundation with the M channel indexes, inquires the mapping relations list to obtain the M called subscriber
The M MSRP channel between the RCS AS.
10. according to claim 6-9 any one of them RCS AS, which is characterized in that the RCS AS further include:
Second receiving unit activates request for receiving the group for carrying chat group ID that the calling subscribe sends;
Channel creation unit sends to the calling subscribe and responds for responding group's activation request in the RCS AS
After message, the MSRP channels between the calling subscribe and the RCS AS are created and preserve, and according to the chat group
The user identifier of ID and the calling subscribe generate the channel rope of the MSRP channels between the calling subscribe and the RCS AS
Tendering is known;
The Dispatching Unit is additionally operable to remove the master into N number of user that the corresponding chat groups of the chat group ID include
N-1 user except user is made to send group's activation request respectively;
The channel creation unit, each the user response institute being additionally operable in the RCS AS receive the N-1 user
Group's activation request is stated after the response message of transmission, creates each user in the N-1 user and the RCS
MSRP channels between AS are given birth to according to the user identifier of each user in the chat group ID and the N-1 user
It is identified at the channel indexes of each user in the N-1 user and the MSRP channels between the RCS AS;
List creating unit for the calling subscribe based on establishment and the MSRP channels between the RCS AS, creates
The calling subscribe of the MSRP channels and generation between each user and the RCS AS in the N-1 user
MSRP channels between the RCS AS channel indexes mark, generate the N-1 user in each user and
The channel indexes of MSRP channels between the RCS AS identify, and create N number of between N number of user and the RCS AS
Mapping relations list between N number of channel indexes of MSRP channels and N number of MSRP channels mark, wherein N number of MSRP
Channel include each user in MSRP channels and the N-1 user between the calling subscribe and the RCS AS with
MSRP channels between the RCS AS.
11. a kind of system for realizing private chat, which is characterized in that the system for realizing private chat includes calling subscribe, RCS AS,
In:
The calling subscribe, for being sent out to the RCS AS by the MSRP channels between the calling subscribe and the RCS AS
Send the group chat message for carrying CSI called subscriber identification collection, wherein the MSRP channels between the calling subscribe and the RCS AS
Channel indexes mark in the corresponding chat groups of chat group ID include N number of user, the CSI called subscriber identification collection includes M
The M user identifier of a called subscriber, the M user identifier be N number of user N number of user identifier in remove the caller
M user identifier except the user identifier of user, the N are the integer more than 2, and the M is positive integer, and the M is less than
N-1;
The RCS AS split the group chat according to the CSI called subscriber identification collection and disappear after receiving the group chat message
Breath is M chat messages corresponding with the M called subscriber, and sends the M items chat respectively to the M called subscriber
Corresponding chat messages in message;
Wherein, the RCS AS split the group chat message according to the CSI called subscriber identification collection and are and the M called subscriber
The concrete mode of corresponding M chat messages is:
The RCS AS merge the M user identifier that the CSI called subscriber identification is concentrated and the user identifier of the calling subscribe is
Private chat group identification collection, according to the mapping relations between the address information to prestore and the channel indexes of MSRP channels mark, and
The M address information that the CSI called subscriber identification obtained is concentrated, determines the corresponding M called subscriber of the M address information
M channel indexes of the M MSRP channel between the RCS AS identify, based in the group chat message chat message,
The private chat group identification collection and M channel indexes mark generate the corresponding M items chat of the M called subscriber and disappear
Breath, wherein the channel indexes mark includes the user identifier of the chat group ID and called subscriber.
12. the system according to claim 11 for realizing private chat, which is characterized in that the RCS AS are called to the M
The concrete mode that user sends the corresponding chat messages in the M chat messages respectively is:
The RCS AS are sent to the M called subscriber in the M chat messages respectively by the M MSRP channels
Corresponding chat messages.
13. the system according to claim 12 for realizing private chat, which is characterized in that
The RCS AS are additionally operable to be according to the CSI called subscriber identification collection fractionation group chat message and the M are called use
After the corresponding M chat messages in family, the M items are sent to the M called subscriber by the M MSRP channels respectively and are chatted
Before corresponding chat messages in its message, M MSRP channel between the M called subscriber and the RCS AS is obtained.
14. the system according to claim 13 for realizing private chat, which is characterized in that the RCS AS obtain the M quilt
The concrete mode of M MSRP channel between user and the RCS AS is made to be:
The RCS AS extract N number of MSRP channels between N number of user and the RCS AS and N number of MSRP channels
Mapping relations list between N number of channel indexes mark, is identified as inquiry foundation with the M channel indexes, is reflected described in inquiry
Relation list is penetrated to obtain M MSRP channel between the M called subscriber and the RCS AS.
15. the system for realizing private chat according to claim 11-14 any one of them, which is characterized in that
The calling subscribe is additionally operable to send the group's activation request for carrying chat group ID to the RCS AS;
The RCS AS are additionally operable to respond group's activation request, send response message to the calling subscribe, create and protect
Deposit the MSRP channels between the calling subscribe and the RCS AS, and according to the chat group ID and the calling subscribe
User identifier generates the channel indexes mark of the MSRP channels between the calling subscribe and the RCS AS;To the chat group
N-1 user in N number of user that the corresponding chat groups of group ID include in addition to the calling subscribe sends the group respectively
Group activation request;The response for receiving group's activation request described in each user response in the N-1 user and sending disappears
After breath, each user in the N-1 user and the MSRP channels between the RCS AS are created, according to the chat
The user identifier of group ID and each user in the N-1 user generate each user in the N-1 user
The channel indexes of MSRP channels between the RCS AS identify;The calling subscribe based on establishment and the RCS AS it
Between MSRP channels, establishment the N-1 user in each user and the RCS AS between MSRP channels and
The channel indexes mark of MSRP channels between the calling subscribe and the RCS AS that generate, the N-1 use generated
The channel indexes of the MSRP channels between each user and the RCS AS in family identify, and create N number of user and institute
State the mapping relations row between N number of MSRP channels between RCS AS and N number of channel indexes mark of N number of MSRP channels
Table, wherein N number of MSRP channels include the MSRP channels and the N-1 between the calling subscribe and the RCS AS
The MSRP channels between each user and the RCS AS in user.
16. a kind of computer read/write memory medium, which is characterized in that the computer read/write memory medium is stored with calculating
Machine software product, some instructions that the computer software product includes, with so that a computer equipment perform claim is wanted
Seek the method described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510543631.2A CN105245433B (en) | 2015-08-28 | 2015-08-28 | A kind of method that realizing private chat, RCS AS and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510543631.2A CN105245433B (en) | 2015-08-28 | 2015-08-28 | A kind of method that realizing private chat, RCS AS and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105245433A CN105245433A (en) | 2016-01-13 |
CN105245433B true CN105245433B (en) | 2018-10-19 |
Family
ID=55042941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510543631.2A Active CN105245433B (en) | 2015-08-28 | 2015-08-28 | A kind of method that realizing private chat, RCS AS and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105245433B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102266879B1 (en) * | 2017-04-14 | 2021-06-22 | 삼성전자주식회사 | A system for providing dialog contents |
CN107493229A (en) * | 2017-09-12 | 2017-12-19 | 广东欧珀移动通信有限公司 | Message group sending method, server and the computer-readable storage medium of converged communication |
CN110362257B (en) * | 2018-03-26 | 2022-12-02 | 阿里巴巴集团控股有限公司 | Data processing method, display method and client |
CN109347647A (en) * | 2018-12-21 | 2019-02-15 | 北京云中融信网络科技有限公司 | Group message distribution method and device |
CN114079875B (en) * | 2020-08-19 | 2024-08-02 | 哈尔滨海能达科技有限公司 | Method, device and communication system for realizing private chat initiation in group call |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136919A (en) * | 2010-09-01 | 2011-07-27 | 华为技术有限公司 | Group session realization method and device |
CN102333105A (en) * | 2010-07-14 | 2012-01-25 | 华为技术有限公司 | Business communication method, system, push client terminal and user equipment |
EP2663048A1 (en) * | 2012-05-11 | 2013-11-13 | Telefonaktiebolaget L M Ericsson AB (Publ) | Method and user terminal for supporting provision of capabilities |
CN104348699A (en) * | 2013-07-30 | 2015-02-11 | 华为技术有限公司 | Method and equipment for information interaction |
CN104468145A (en) * | 2014-12-03 | 2015-03-25 | 华为技术有限公司 | Group message processing method and device based on RCS |
-
2015
- 2015-08-28 CN CN201510543631.2A patent/CN105245433B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102333105A (en) * | 2010-07-14 | 2012-01-25 | 华为技术有限公司 | Business communication method, system, push client terminal and user equipment |
CN102136919A (en) * | 2010-09-01 | 2011-07-27 | 华为技术有限公司 | Group session realization method and device |
EP2663048A1 (en) * | 2012-05-11 | 2013-11-13 | Telefonaktiebolaget L M Ericsson AB (Publ) | Method and user terminal for supporting provision of capabilities |
CN104348699A (en) * | 2013-07-30 | 2015-02-11 | 华为技术有限公司 | Method and equipment for information interaction |
CN104468145A (en) * | 2014-12-03 | 2015-03-25 | 华为技术有限公司 | Group message processing method and device based on RCS |
Also Published As
Publication number | Publication date |
---|---|
CN105245433A (en) | 2016-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105245433B (en) | A kind of method that realizing private chat, RCS AS and system | |
CN101159714B (en) | Instant communication method and device | |
CN101345845B (en) | Method for implementing video conference service in IMS surroundings | |
CN104468145B (en) | The treating method and apparatus of group's message based on RCS | |
CN101247364B (en) | Conversation message managing system and method thereof | |
CN102958107B (en) | A kind of method of capability query, communication terminal and application server | |
CN100461778C (en) | Method and system for implementing short message business bifurcation transmission in multimedia subsystem | |
CN102227927B (en) | For the method and apparatus providing communication history | |
CN103517266B (en) | Method for activating mobile terminal on mobile network side and mobile gateway system | |
US20140134978A1 (en) | Non-IMS Rich Communication Suite | |
CN104125221B (en) | IMS (IP (Internet Protocol) multimedia subsystem) terminal equipment multiple soft-terminal resource sharing and application collaborative device and method | |
CN102136919A (en) | Group session realization method and device | |
CN105245493B (en) | Capability query processing in communication network | |
CN112751827B (en) | Application method and system of SIP multi-party session in broadband cluster | |
CN102035813A (en) | End-to-end call realizing method, end-to-end call terminal and system | |
CN105556980A (en) | A method and system for integrating content viewing and communication in immersive social centre session | |
CN101369906A (en) | Conference service implementing method and apparatus | |
CN102223248A (en) | Calling service processing method and calling service processing system | |
CN101110790A (en) | Method for establishing conversation | |
CN101150424B (en) | Method for batch conference member addition after conference service creation | |
CN101578850A (en) | Identifying participants in a conference | |
CN101635672B (en) | Device and method for realizing convergence service session in group mode | |
CN101155335A (en) | Method and system for NGN terminal implementing short message service, NGN short message center | |
CN106162563B (en) | Group system user management method and server | |
KR20090080147A (en) | System and Method for Providing Anonymous Message Using Temporary Identification of Mobile Communication Terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |