CN110875914A - Method and device for transmitting messages based on shared session link - Google Patents

Method and device for transmitting messages based on shared session link Download PDF

Info

Publication number
CN110875914A
CN110875914A CN201811022727.4A CN201811022727A CN110875914A CN 110875914 A CN110875914 A CN 110875914A CN 201811022727 A CN201811022727 A CN 201811022727A CN 110875914 A CN110875914 A CN 110875914A
Authority
CN
China
Prior art keywords
message
terminal
session link
shared session
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811022727.4A
Other languages
Chinese (zh)
Other versions
CN110875914B (en
Inventor
李家姿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811022727.4A priority Critical patent/CN110875914B/en
Publication of CN110875914A publication Critical patent/CN110875914A/en
Application granted granted Critical
Publication of CN110875914B publication Critical patent/CN110875914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Abstract

The application discloses a method and a device for transmitting messages based on a shared session link, wherein the method comprises the following steps: the first instant message server receives the message sent by the sending terminal through a sharing session link between the first instant message server and the sending terminal, and determines the type of the first instant message. And the instant message server determines whether the sending terminal has the capability of transmitting messages based on the shared session link according to the registration information of the sending terminal. The user terminal can send or receive point-to-point text messages or group chat messages to a plurality of user terminals or a plurality of group chat message servers through a shared session link with the instant message server to which the user terminal belongs. By the method and the device, the number of the session links can be reduced when the user terminal keeps multiparty communication, network resources are saved, and the processing capability of the terminal on the instant messages is improved.

Description

Method and device for transmitting messages based on shared session link
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting a message based on a shared session link.
Background
With the development of IP Multimedia System (IMS), Instant Messaging (IM) plays an increasingly important role in communication services. The instant message transmission among the terminals is mainly realized through a Session Initiation Protocol (SIP) and a Message Session Relay Protocol (MSRP), a data channel is established through the MSRP, specific data is transmitted, and the Control of the MSRP channel, such as establishment, maintenance, revocation and the like, is realized through the SIP.
In the prior art, the instant message includes a point-to-point service and a group chat service, the point-to-point service mainly uses an independent (standby) mode, that is, each message is sent independently, a long link session does not need to be established, the group chat service mainly uses a session (session) mode, and an MSRP link based on an SIP needs to be established between the terminal and the instant message server. If the message is smaller than a set value (for example, smaller than 900Bit), a paging Mode (Pager Mode) is adopted for sending, and long-link sending is not required to be established; if the Message is larger than or equal to the set value, a Large text Mode (Large Message Mode) is adopted for sending, and the terminal and the instant Message server need to perform media negotiation and then send the Message through the MSRP.
In an independent mode, the terminal judges the content size of the sent message, and further selects whether to establish a long connection session, so that the processing performance of the terminal on the instant message is reduced; in the session mode, if the terminal and the instant message server maintain a plurality of group chat services, a plurality of MSRP session links based on the SIP need to be established, which causes a waste of session link resources.
With the wide application of the instant message service in daily life, how to improve the transmission utilization rate of the point-to-point text message, reduce the number of session connections, and improve the processing capability of the terminal to the instant message is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a method and a device for transmitting messages based on a shared session link, which are used for sending or receiving point-to-point text messages and group chat messages between a terminal and an instant message server to which the terminal belongs through the shared session link, so that the number of the session links is reduced, network resources are saved, and the processing capacity of the terminal on instant messages is improved.
In a first aspect, a method for transmitting messages based on a shared session link is provided, including: a first instant message server receives a message sent by a sending terminal through a sharing session link between the first instant message server and the sending terminal; if the message is a point-to-point text message and the receiving terminal of the point-to-point text message belongs to the first message server, the first instant message server sends the message to the receiving terminal of the message; or converting the message into a message format transmitted between instant message servers, and sending the message with the converted format to a second instant message server, wherein the second instant message server is an instant message server to which a receiving terminal of the message belongs; and if the message is a group chat message, the first instant message server converts the message into a message format transmitted between the group chat message servers and sends the message after format conversion to the group chat server.
Optionally, the message is a point-to-point text message, and the message transmitted on the shared session link is an MSRP protocol point-to-point text message; the first instant message server converting the message to a message format for transmission between instant message servers, comprising: the first instant message server respectively converts a sender indication field, a session identification field and a service type indication field in the MSRP protocol point-to-point text message into the sender indication field, the session identification field and the service type indication field in the SIP protocol message; or the message is a group chat message, and the message transmitted in the shared session link is an MSRP protocol group chat message; the first instant message server converting the message into a message format for transmission between group chat message servers, comprising: and the first instant message server respectively converts the receiver indication field, the session identification field and the service type indication field in the MSRP protocol group chat message into the receiver indication field, the session identification field and the service type indication field in the SIP protocol group chat message.
Optionally, before the first instant message server receives the message sent by the sending terminal through a shared session link with the sending terminal, the method further includes: the first instant message server receives a request for establishing a shared session link sent by the sending terminal, determines that the sending terminal has the capability of transmitting messages based on the shared session link, and negotiates with the sending terminal to establish the shared session link; or the first instant message server determines that the sending terminal has the capability of transmitting messages based on the shared session link, then sends a command of creating the shared session link to the sending terminal, and negotiates with the sending terminal to create the shared session link.
Optionally, the sending, by the first instant message server, the message to the receiving terminal of the message includes: if the first instant message server determines that a shared session link does not exist between the first instant message server and a receiving terminal of the message, the first instant message server determines whether the receiving terminal has the capability of transmitting the message based on the shared session link, if so, the first instant message server sends a command of creating the shared session link to the receiving terminal, and negotiates with the receiving terminal to create the shared session link. Otherwise, the message is sent to the receiving terminal of the message through the SIP protocol.
Optionally, if the first instant message server does not transmit the message through the shared session link with the sending terminal within a set long time, the shared session link with the sending terminal is deleted.
Optionally, the first instant message server receives a registration request of the sending terminal, and registers the sending terminal, where the registration request carries indication information of whether the sending terminal has a capability of transmitting a message based on a shared session link.
In a second aspect, a method for generic message based on shared session link is provided, which includes: the second instant message server receives the message from the first instant message server or the group chat message server; the second instant message server converting the message to a message format for transmission over a shared session link; and the second instant message server sends the message after format conversion to a receiving terminal of the message through a sharing session link between the second instant message server and the receiving terminal.
Optionally, the message is a point-to-point text message, and the message transmitted on the shared session link is an MSRP protocol point-to-point text message; the second instant message server converting the message to a message format for transmission over a shared session link, comprising: the second instant message server respectively converts a sender indication field, a session identification field and a service type indication field in the SIP protocol message into the sender indication field, the session identification field and the service type indication field in the MSRP protocol point-to-point text message; or the second message is a group chat message, and the message transmitted in the shared session link is an MSRP protocol group chat message; the second instant message server converting the message to a message format for transmission over a shared session link, comprising: and the second instant message server respectively converts the receiver indication field, the session identification field and the service type indication field in the SIP protocol message into the receiver indication field, the session identification field and the service type indication field in the MSRP protocol group chat message.
Optionally, before the second instant message server sends the format-converted message to the receiving terminal through a shared session link with the receiving terminal of the message, the method further includes: and the second instant message server determines that the receiving terminal of the message has the capability of transmitting the message based on the shared session link, sends a request for creating the shared session link to the receiving terminal, and negotiates with the receiving terminal to create the shared session link.
Optionally, if the second instant message server does not transmit the message through the shared session link with the receiving terminal within a set long time, the shared session link with the receiving terminal is deleted.
Optionally, the second instant message server receives a registration request of the receiving terminal, and registers the receiving terminal, where the registration request carries indication information of whether the receiving terminal has a capability of transmitting a message based on a shared session link.
In a third aspect, an instant messaging server is provided, comprising: the system comprises a first receiving unit, a first sending unit, a second receiving unit, a second sending unit, an uplink message processing unit and a downlink message processing unit.
Optionally, the first receiving unit is configured to receive a message sent by a sending terminal through a shared session link between an instant messaging server and the sending terminal, where the message includes a peer-to-peer text message or a group chat message.
Optionally, the uplink message processing unit is configured to determine a type of the first instant message; if the message is a point-to-point text message and the receiving terminal of the point-to-point text message belongs to the instant message server, the message is sent to a downlink message processing unit, or the message is converted into a message format transmitted between instant message servers, and the message after format conversion is sent to a second sending unit; and if the message is a group chat message, converting the message into a message format transmitted between the group chat message servers, and sending the message to the second sending unit.
Optionally, the downlink message processing unit is configured to send the message from the uplink message processing unit to the first sending unit.
Optionally, the first sending unit sends the message to the receiving terminal of the message through a shared session link with the receiving terminal of the message.
Optionally, the second sending unit is configured to send the point-to-point text message from the uplink message processing unit to a second instant message server, where the second instant message server is an instant message server to which a receiving terminal of the point-to-point text message belongs; and the group chat server is used for sending the group chat message from the uplink message processing unit to the group chat server.
Optionally, the second receiving unit is configured to receive a message from another instant message server or a group chat message server.
Optionally, the downlink message processing unit is configured to convert the message received by the second receiving unit into a message format for transmission on a shared session link, and send the message after format conversion to the first sending unit.
Optionally, the first sending unit is further configured to send the message from the downlink message processing unit to a receiving terminal of the message through a shared session link with the receiving terminal.
Optionally, the first receiving unit is further configured to receive a request for creating a shared session link sent by the sending terminal; the instant message server further comprises: a shared session link processing unit, configured to, before the first receiving unit receives, through a shared session link with a sending terminal, a message sent by the sending terminal, determine, according to a request for creating a shared session link sent by the sending terminal, that the sending terminal has a capability of transmitting a message based on the shared session link, and negotiate with the sending terminal to create the shared session link; or before the first receiving unit receives the message sent by the sending terminal through a shared session link between the first receiving unit and the sending terminal, and the sending terminal is determined to have the capability of transmitting the message based on the shared session link, a command of creating the shared session link is sent to the sending terminal, and the shared session link is created through negotiation with the sending terminal.
Optionally, the instant message server further comprises: a shared session link processing unit, configured to determine, before the first sending unit sends the message to the receiving terminal of the message through a shared session link with the receiving terminal of the message, that there is no shared session link with the receiving terminal of the message, determine whether the receiving terminal has a capability of transmitting the message based on the shared session link, and if so, send a command to create the shared session link to the receiving terminal, and negotiate with the receiving terminal to create the shared session link.
Optionally, the instant message server further comprises: a shared session link processing unit configured to delete a shared session link with the transmission terminal if it is determined that the message is not transmitted through the shared session link with the transmission terminal within a set long time; and/or deleting the shared session link with the receiving terminal if the message is not transmitted through the shared session link with the receiving terminal within the set long time.
In a fourth aspect, a communication apparatus is provided, including: a processor, a memory, and a communication interface; the memory to store computer instructions; the processor is configured to execute the computer instructions to implement the method of any of the first aspect.
In a fifth aspect, a communication apparatus is provided, including: a processor, a memory, and a communication interface; the memory to store computer instructions; the processor is configured to execute the computer instructions to implement the method of any of the second aspects.
In a sixth aspect, there is provided a computer readable storage medium having stored thereon computer instructions for execution by a processor of a method according to any one of the above first aspects.
In a seventh aspect, a computer-readable storage medium is provided, the storage medium storing computer instructions for execution by a processor of the method according to any one of the above second aspects.
According to the above-mentioned embodiments of the present application, in the uplink direction, both the point-to-point text message and the group chat message sent by the sending terminal to the receiving terminal can be transmitted through the shared session link between the sending terminal and the instant message server, and in the downlink direction, the instant message server can send the point-to-point text message and the group chat message to be sent to the receiving terminal through the shared session link between the sending terminal and the receiving terminal (wherein, the group chat message can include messages of different group chat services), since both the point-to-point text message and the group chat message can be transmitted through the shared session link between the terminal and the instant message server, there is no need to establish different session links for different group chat services, the number of session links can be reduced when the user maintains multi-party communication (such as performing multiple group chat services), network resources are saved, and the processing capacity of the terminal on the instant messages is improved.
Drawings
FIG. 1 is a diagram of a network architecture in an embodiment of the present application;
FIG. 2 is a flow chart of registration in an embodiment of the present application;
fig. 3a is a flowchart of a method for transmitting a point-to-point text message between terminals belonging to the same instant message server according to an embodiment of the present application;
fig. 3b is a signaling interaction flow diagram of point-to-point text message transmission between two terminals belonging to the same instant message server in the embodiment of the present application;
fig. 4a is a flowchart of a method for transmitting a point-to-point text message between terminals belonging to different instant message servers according to an embodiment of the present application;
FIG. 4b is an interaction flow diagram of point-to-point text message transmission between two terminals belonging to different instant message servers in the embodiment of the present application;
fig. 5 is a flowchart illustrating a link release between a terminal and an instant message server according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an instant message server according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
It should be noted that the terms "first" and "second" in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided by the embodiments of the present application may be executed in a terminal, such as a mobile terminal (e.g., a mobile phone, a tablet computer, etc.), a computer terminal, or a similar computing device. The terminal in the embodiment of the application can send or receive the instant message. An Instant message Server (IM AS) responsible for receiving a message submitted by a sending terminal or sending the message to a receiving terminal, sending the message according to a receiver address, targeting an Instant message Server or a group chat Server to which the terminal or the terminal belongs, and converting the format of the received or sent message into a format suitable for transmission on a corresponding session link; the Group Chat Server (GC AS) receives a message sent by the instant message Server, queries a corresponding Group member according to the Group ID, and sends the message to the instant message Server to which the Group member belongs.
Fig. 1 illustrates a network architecture suitable for use with embodiments of the present application. As shown in the network architecture diagram of fig. 1, terminal 1 and terminal 2 belong to an instant message server 1, and terminal 2 and terminal 3 belong to an instant message server 2. The instant message server 1 and the instant message server 2 are connected to the group chat server 1.
Instant messages, such as point-to-point text messages, group chat messages and the like, can be transmitted between the terminal and the instant message server to which the terminal belongs. If the sending terminal and the receiving terminal of the instant message are not in the same IMS (IP multimedia subsystem) domain or belong to the same instant message server, the instant message to which the sending terminal belongs may send the instant message to the instant message server to which the receiving terminal belongs, so as to send the instant message to the receiving terminal. And if the interactive instant message is the group chat message, the instant message server sends the group chat message to the group chat server for processing.
The instant message server, the instant message server and the group chat server can transmit the instant message through the SIP protocol.
In the embodiment of the application, instant messages such as point-to-point text messages and group chat messages can be transmitted between the terminal and the instant message server through the established session link, wherein group chat messages of different group chat services (such as group chat messages of different groups) can be transmitted through the session link.
For convenience of description, in the embodiments of the present application, a session link having the above characteristics is referred to as a shared session link. Alternatively, the session link may be a session link based on the MSRP protocol, referred to as a shared MSRP session link, and accordingly, messages transmitted over the shared MSRP session link are referred to as MSRP protocol messages. In the following embodiments, the MSRP sharing session link is taken as an example for description.
Optionally, the MSRP protocol message and the important header field in the SIP message need to be kept corresponding, and may be extended based on the structure of the MSRP protocol message body to obtain the MSRP protocol message in the embodiment of the present application. Table 1 exemplarily shows extension fields. A field X-From in the MSRP protocol message corresponds to a From field in an SIP header field and represents a message sender, for a group chat downlink message, a uniform resource identifier of a corresponding group is filled in the X-From, and an isfocus parameter is carried so that a terminal can identify the message as a group chat message; a field X-To in the MSRP protocol message corresponds To a To in an SIP header field and represents a message receiver, for the group chat message, the information of a first group member is filled in the X-To, and the information of other group members is packaged in a bronze drum receiving terminal list mode; a field X-Conv in the shared MSRP message corresponds to a conversion-ID in the SIP header field and represents a session ID; the field X-Type in the MSRP protocol message corresponds to the indication of Accept-Contact in the SIP header field, and the simplified character string is used for indicating the Type of the message.
Table 1: sharing header parameters of corresponding SIP messages in MSRP messages
Figure BDA0001787485550000091
Specifically, the meaning represented by the simplified character string in the important header field X-Type in the MSRP protocol message is shown in table 2, where the MSRP protocol message may simultaneously carry a plurality of simplified character strings; "spaced apart" means.
Table 2: reduced string description in X-Type
Figure BDA0001787485550000092
Figure BDA0001787485550000101
According to the network architecture shown in fig. 1, a shared session link (such as a shared MSRP link) may be established between the terminal and the instant messaging server. In specific implementation, the terminal having the capability of transmitting the message based on the shared session link can establish the shared session link with the instant message server, and the server can determine whether the terminal has the capability of transmitting the message based on the shared session link according to the related information of the terminal.
Alternatively, the terminal may transmit its own capability information to the instant message server at the time of registration.
Fig. 2 is a flowchart of registration provided in an embodiment of the present application, and includes:
s201, the terminal sends a registration request (REGISTER) to the instant message server to which the terminal belongs, wherein the registration request carries the indication information of whether the terminal has the capability of transmitting messages based on the shared session link.
In specific implementation, the registration request is an SIP message, where the SIP message includes a feature tag field, and the field may carry a tag as shown in table 3, so as to identify that the terminal has the capability of transmitting information based on the shared session link.
Table 3: label indicating shared session link capability
Figure BDA0001787485550000102
S202, the instant message server receives the registration request, registers the terminal, and may further return a registration response (e.g. 200 message) to the terminal.
The instant message server stores the information that the terminal has the capability of sharing the session link, so that when the instant message server receives a session establishment request initiated by the terminal, whether the terminal has the capability of transmitting messages based on the shared session link is determined according to the registration information maintained during the registration of the terminal, thereby determining whether the shared session link can be established with the terminal.
As shown in fig. 3a, an embodiment of the present application provides a flowchart of a transmission method based on a shared session link, where the flowchart describes that a sending terminal belonging to the same instant message server sends a point-to-point text message to a receiving terminal, where a terminal a serves as the sending terminal and sends a point-to-point text message to a terminal B serving as the receiving terminal. The method comprises the following steps:
s301: the instant message server receives the instant message sent by the terminal A through a sharing session link between the instant message server and the terminal A;
s302: the instant message server determines the type of the instant message. In the process, the instant message server determines that the instant message is a point-to-point text message;
s303: the instant message server sends the instant message to the receiving terminal of the message through the shared session link with terminal B.
Optionally, before the terminal a sends the message, if the shared session link is not established with the instant message server, the terminal may initiate an establishment procedure of the shared session link. Specifically, the sending terminal may send a session establishment request to the instant message server, and after receiving the request, the instant message server may determine whether the terminal has a capability of transmitting messages based on the shared session link, and if so, establish the shared session link with the terminal.
Optionally, the shared session link between terminal a and the instant message server may also be established initiated by the instant message server. In a possible scenario, after receiving a message sent by another terminal to a terminal a serving as a message receiver, an instant message server determines that a shared session link is not established with the terminal a, and queries whether the terminal a has a capability of transmitting the message based on the shared session link, and if the determination is yes, establishes the shared session link with the terminal a.
Optionally, before sending the message to the terminal B through the shared session link between the instant message server and the terminal B, if the shared session link is not established with the terminal B, the instant message server queries whether the terminal B has a capability of transmitting the message based on the shared session link, and if the determination is yes, the instant message server establishes the shared session link with the terminal.
According to the above flow, in a possible scenario, if the shared session link cannot be established between the terminal a and the instant message server, the terminal a sends the point-to-point text message to the instant message server through the SIP protocol. In another possible scenario, if the shared session link cannot be established between terminal B and the instant message server, the instant message server sends a point-to-point text message to terminal B through the SIP protocol.
Fig. 3b shows a corresponding message interaction flow according to the flow shown in fig. 3a described above. In the process, the terminal a and the terminal B belong to the same instant message server, and the terminal a and the terminal B have the capability of transmitting messages based on a shared session link.
The interaction process comprises the following steps:
s310: the terminal A sends an INVITE message to the instant message server to which the terminal A belongs, and the INVITE message carries the link establishment information (including IP addresses, ports and the like) between the terminal A and the instant message server and the address of the destination terminal.
S311: after receiving the INVITE message, the instant message server queries the registration information of the terminal B, and determines that the terminal B has the capability of transmitting messages based on the shared session link, so that a route is selected according to the address of the destination terminal, and the INVITE message is sent to the terminal B to request the establishment of the shared MSRP session link, wherein the shared MSRP session link carries the link establishment information (including an IP address, a port and the like) between the instant message server and the terminal B.
S312: the instant message server returns a 200OK message to the terminal A, wherein the message carries the self link establishment information (including IP address, port and the like); the instant message server also determines that terminal a has the capability to transmit messages based on the shared session link according to the registration information of terminal a.
S313: the terminal A receives the 200OK message and returns an ACK message to the instant message server to confirm the receipt of the 200OK message.
S314: terminal a and the instant message server create a shared MSRP session link MSRP1 according to the negotiated link establishment information.
S315: and the terminal B receives the INVITE message and returns a 200OK message carrying the link establishment information (including an IP address, a port and the like) of the terminal B.
S316: the instant message server receives the 200OK message and returns an ACK message to the terminal B.
S317: and the terminal B and the instant message server establish a link according to the negotiated link establishment information to share the MSRP session link MSRP 2.
S318: the instant message server receives the instant message sent by the terminal A through the shared MSRP1 link, and the receiving terminal of the instant message is the terminal B. The instant message may comprise a point-to-point text message or a group chat message, in this example, the instant message is a point-to-point text message.
S319: the instant message server sends the instant message sent by terminal a to terminal B over the shared MSRP2 link.
It should be noted that S318 to S319 may be executed plural times. When terminal a needs to send an instant message to terminal B, the instant message may be transmitted based on the established shared session link.
As shown in fig. 4a, an embodiment of the present application provides a flowchart of a shared session based link transmission method, where the flowchart describes, by way of example, that a terminal belonging to a different instant message server interacts with a point-to-point text message, where a terminal a serves as a sending terminal and sends the point-to-point text message to a terminal B serving as a receiving terminal. Terminal a belongs to an instant message server 1 and terminal B belongs to an instant message server 2.
The method comprises the following steps:
s401: the instant message server 1 receives the instant message sent by the terminal A through a sharing session link between the instant message server and the terminal A;
s402: the instant message server 1 determines the type of the instant message. In this flow, the instant message server determines that the instant message is a point-to-point text message.
S403: the instant message server 1 determines that the receiving terminal of the instant message belongs to the instant message server 2, converts the instant message into an SIP protocol message format, and transmits the SIP protocol message format to the instant message server 2.
In the step, when the message format is converted, the instant message server respectively converts a sender indication field, a session identification field and a service type indication field in the MSRP point-to-point text message received from the shared MSRP session link into the sender indication field, the session identification field and the service type indication field of the SIP protocol point-to-point text message. The correspondence between the header field parameters of the MSRP protocol point-to-point text message (referred to as MSRP protocol point-to-point text message in the embodiment of the present application) transmitted on the shared MSRP session link and the header field parameters of the point-to-point text message in the SIP protocol is shown in table 1 and table 2.
S404: the instant message server 2 converts the instant message into a message format for transmission over the shared session link and sends the instant message to terminal B over the shared session link with terminal B.
In the step, when the message format is converted, the instant message server respectively converts the sender indication field, the session identification field and the service type indication field in the point-to-point text message based on the SIP protocol into the sender indication field, the session identification field and the service type indication field in the point-to-point text message based on the MSRP protocol. The corresponding relationship between the header field parameter of the MSRP protocol point-to-point text message and the header field parameter of the SIP protocol point-to-point text message can be seen in table 1 and table 2.
Alternatively, before the terminal a sends the message, if the shared session link is not established with the instant message server 1, the terminal may initiate the establishment process of the shared session link. Specific implementations can be found in the foregoing examples.
Optionally, the shared session link between the terminal a and the instant message server 1 may also be established by the instant message server 1. Specific implementations can be found in the foregoing examples.
Optionally, before sending the instant message to the terminal B through the shared session link with the terminal B, if the shared session link is not established with the terminal B, the instant message server 2 queries whether the terminal B has the capability of transmitting messages based on the shared session link, and if the shared session link is determined to be the capability of transmitting messages based on the shared session link, the instant message server establishes the shared session link with the terminal B.
According to the above flow, in a possible scenario, if the shared session link cannot be established between the terminal a and the instant message server 1, the terminal a sends the point-to-point text message to the instant message server through the SIP protocol. In another possible scenario, if the shared session link cannot be established between terminal B and the instant message server 2, the instant message server sends a point-to-point text message to terminal B through the SIP protocol.
Fig. 4b shows an interactive process of point-to-point text message transmission between two terminals belonging to different instant message servers, according to the process shown in fig. 4a, the interactive process includes:
s410 to S412: terminal a sends INVITE message to its home instant message server 1, and instant message server 1 returns response to terminal a.
S413: the instant message server 1 creates a shared session link MSRP1 according to the registration information of the terminal a and the link establishment information (including IP address, port, etc.) carried when interacting with the terminal a.
S414: an instant message sent by terminal a to the instant message server 1 over the shared session link MSRP1 is received by terminal B.
S415: the instant message server 1 carries on the format conversion to the instant message received, and send the instant message to the instant message server 2 that the receiving terminal B belongs to through SIP protocol;
s416 to S418: after receiving the instant message sent by the sending terminal a, the instant message service 2 sends INVITE to the receiving terminal B, and the terminal B returns a response to the instant message server 2.
S419: the instant message server 2 creates a shared session link MSRP2 according to the registration information of the terminal B and the link establishment information (including IP address, port, etc.) carried when interacting with the terminal B.
S420: the instant message server 2 performs format conversion on the received instant message and sends the format-converted instant message to the terminal B through the shared session link MSRP 2.
It should be noted that S414 and S420 may be executed multiple times. When terminal a needs to send an instant message to terminal B, the instant message may be transmitted based on the established shared session link.
In some other embodiments of the present application, if the instant message sent by the sending terminal is a group chat message, the following two cases may be included:
case 1: sending terminal and receiving terminal of group chat message belong to same instant message server
In this case, the instant message server receives a group chat message transmitted from the transmitting terminal through a shared session link with the transmitting terminal, converts the format of the group chat message into a message that can be transmitted between the instant message server and the group chat server, and transmits the format-converted instant message to the group chat server. And the group chat server receives the group chat message, distributes and processes the group chat message and sends the group chat message to the group chat message server. The instant message server performs format conversion on the received group chat message, converts the format conversion into a group chat message which can be transmitted in a shared session link, and transmits the format-converted group chat message to a receiving terminal of the group chat message through the shared session link between the instant message server and the receiving terminal.
Case 1: sending terminal and receiving terminal of group chat message belong to different instant message servers
In this case, the instant message server to which the sending terminal belongs receives the group chat message sent by the sending terminal through the shared session link with the sending terminal, converts the format of the group chat message into a message that can be transmitted between the instant message server and the group chat server, and sends the format-converted instant message to the group chat server. And the group chat server receives the group chat message, distributes and processes the group chat message, and sends the group chat message to a group chat message server to which the receiving terminal belongs. And the instant message server to which the receiving terminal belongs performs format conversion on the received group chat message, converts the format conversion into the group chat message which can be transmitted in the shared session link, and sends the format-converted group chat message to the receiving terminal of the group chat message through the shared session link between the receiving terminal and the receiving terminal.
In the above embodiment, the process of converting the message format of the instant message may be referred to in the foregoing embodiment, and is not repeated here.
According to the embodiments of the present application, since the point-to-point text message and the group chat message may be transmitted through the shared session link, and the group chat messages of different group chat services may be transmitted through the shared session link, when one terminal performs a plurality of group chat services (for example, group chat messages are interacted with members of a plurality of groups) at the same time, it is not necessary to create a session link for each group chat service, and the group chat messages of the plurality of group chat services may be interacted directly through the shared session link between the terminal and the home instant message server, so that when the user terminal maintains multiparty communication, the number of session links may be reduced, network resources may be saved, and the processing capability of the instant terminal on the messages may be improved.
It should be noted that, in the current practical application, the instant MESSAGE is divided into a small text MESSAGE and a large text MESSAGE, the small text MESSAGE means that the MESSAGE content is less than 900 bytes (that is, the set value is 900 bits), and a paging Mode (Pager Mode) is usually adopted to send or receive by using the MESSAGE Mode in the SIP; a Large text Message refers to a Message content equal to or greater than 900 bytes, and is typically sent or received over a MARP link using Large text Mode (Large Message Mode).
In some embodiments of the present application, if the instant MESSAGE is a small text MESSAGE and the terminal and the instant MESSAGE server to which the terminal belongs do not establish a shared session link, the small text MESSAGE is transmitted in a MESSAGE manner; if the instant message is a small text message and the sharing session link is established between the terminal and the instant message server to which the terminal belongs, the small text message is transmitted through the established sharing session link. And if the instant message is a large text message, transmitting the instant message through the shared session link under the condition that the shared session link is already established or can be established.
Optionally, if the instant message server does not transmit the instant message through the shared session link with the terminal belonging to the instant message server for a set long time, the shared session link is released.
Fig. 5 exemplarily shows a releasing flow of a link between a terminal and an instant message server, including:
s501: and the instant message server determines that the instant message transmission is not carried out between the terminal and the sharing session link within a set long time, and sends a sharing session link release request to the terminal.
In this step, in some scenarios, if the instant message server does not send the instant message to the terminal through the shared session link with the terminal or through the shared session link within a set long time, the instant message server sends a request for releasing the shared session link to the terminal.
The method comprises the steps that an idle timeout time such as 120 seconds is preset by an instant message server for a long time, and if the instant message server detects that the instant message is not transmitted through a sharing session link for more than 120 seconds, a sharing session link release request is sent to a terminal.
S502: the terminal receives the request for releasing the shared session link and returns a response to the instant message server so as to release the shared session link with the instant message server.
Based on the same technical concept, the embodiment of the present application further provides an instant message server, and the instant message server can implement the functions implemented by the instant message server side in the embodiments of the present application.
As shown in fig. 6, an embodiment of the present application provides an instant message server. The instant message server 600 includes: a first receiving unit 601, a first transmitting unit 602, a second receiving unit 603, a second transmitting unit 604, an uplink message processing unit 605 and a downlink message processing unit 606.
The first receiving unit 601: the system comprises a server and a sending terminal, and is used for receiving a message sent by the sending terminal through a shared session link between the instant message server and the sending terminal, wherein the message comprises a point-to-point text message or a group chat message.
The first sending unit 602: sending the message to a receiving terminal of the message through a shared session link with the receiving terminal of the message; the first sending unit 602 is further configured to send the message from the downlink message processing unit 606 to a receiving terminal of the message through a shared session link with the receiving terminal.
A second receiving unit 603, configured to receive a message from another instant message server or a group chat message server.
A second sending unit 604, configured to send the point-to-point text message from the uplink message processing unit 705 to a second instant message server, where the second instant message server is an instant message server to which a receiving terminal of the point-to-point text message belongs; and configured to send the group chat message from the uplink message processing unit 605 to a group chat server.
The uplink message processing unit 605: means for determining a type of the first instant message; if the message is a point-to-point text message and the receiving terminal of the point-to-point text message belongs to the instant message server, the message is sent to a downlink message processing unit 606, or the message is converted into a message format transmitted between instant message servers, and the message after format conversion is sent to a second sending unit 604; if the message is a group chat message, the message is converted into a message format transmitted between group chat message servers, and is sent to the second sending unit 604.
The downlink message processing unit 606: for sending the message from the uplink message processing unit 605 to the first sending unit 602. The downlink message processing unit 606 is configured to convert the message received by the second receiving unit 603 into a message format for transmission on a shared interchange link, and send the message after format conversion to the first sending unit 602.
Optionally, the first receiving unit 601 is further configured to receive a request for creating a shared session link, where the request is sent by the sending terminal. The instant message server 600 further includes: a shared session link processing unit, configured to, before the first receiving unit 602 receives, through a shared session link with a sending terminal, a message sent by the sending terminal, determine, according to a request for creating a shared session link sent by the sending terminal, that the sending terminal has a capability of transmitting a message based on the shared session link, and negotiate with the sending terminal to create the shared session link; or, before the first receiving unit 602 receives the message sent by the sending terminal through the shared session link with the sending terminal, and determines that the sending terminal has the capability of transmitting the message based on the shared session link, then sends a command for creating the shared session link to the sending terminal, and negotiates with the sending terminal to create the shared session link.
Optionally, the instant message server 600 further includes: a shared session link processing unit 607, configured to determine, before the first sending unit 601 sends the message to the receiving terminal of the message through a shared session link with the receiving terminal of the message, that there is no shared session link with the receiving terminal of the message, determine whether the receiving terminal has a capability of transmitting the message based on a shared interchange link, if so, send a command to create a shared session link to the receiving terminal, and negotiate with the receiving terminal to create the shared session link.
Optionally, the instant message server further includes: a shared session link processing unit 607 configured to delete the shared session link with the transmission terminal if it is determined that the message is not transmitted through the shared session link with the transmission terminal for the set long time; and/or deleting the shared session link with the receiving terminal if the message is not transmitted through the shared session link with the receiving terminal within the set long time.
Based on the same technical concept, the embodiment of the present application further provides a communication device, which can implement the process executed by the instant message server in the foregoing embodiment.
Fig. 7 shows a schematic structural diagram of the terminal 700 provided by the embodiment of the present disclosure, that is, shows another schematic structural diagram of the client device 700. Referring to fig. 7, the communication device 700 includes a processor 701, a memory 702, and optionally a communication interface 703. The processor 701 may also be a controller. The processor 701 is configured to enable the terminal to perform the functions involved in the aforementioned procedures. A memory 702 is used for coupling with the processor 701 and holds the necessary program instructions and data for the terminal. The processor 701, the memory 702 and the communication interface 703 are connected, the memory 702 is used for storing instructions, and the processor 701 is used for executing the instructions stored in the memory 702 to complete the steps of the client device executing the corresponding functions in the above method.
In the embodiment of the present application, for concepts, explanations, detailed descriptions, and other steps related to the instant message server 600 and the communication device 700 and related to the technical solutions provided in the embodiments of the present disclosure, please refer to the description of the foregoing methods or the descriptions related to these contents in other embodiments, which are not described herein again.
It should be noted that the processor referred to in the embodiments of the present disclosure may be a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic devices, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. Wherein the memory may be integrated in the processor or may be provided separately from the processor.
Embodiments of the present application further provide a computer-readable storage medium for storing instructions that, when executed, perform any one of the methods related to the foregoing terminal.
It should be noted that the logical sequence illustrated in the flowchart of the figure can be performed in a computer system such as a set of computer executable instructions and that, although a logical sequence is illustrated in the flowchart, in some cases, the steps shown or described can be performed in a different order than presented herein.
According to the above-mentioned embodiments of the present application, in the uplink direction, both the point-to-point text message and the group chat message sent by the sending terminal to the receiving terminal can be transmitted through the shared session link between the sending terminal and the instant message server, and in the downlink direction, the instant message server can send the point-to-point text message and the group chat message to be sent to the receiving terminal through the shared session link between the sending terminal and the receiving terminal (wherein, the group chat message can include messages of different group chat services), since both the point-to-point text message and the group chat message can be transmitted through the shared session link between the terminal and the instant message server, there is no need to establish different session links for different group chat services, the number of session links can be reduced when the user maintains multi-party communication (such as performing multiple group chat services), network resources are saved, and the processing capacity of the terminal on the instant messages is improved.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (19)

1. A method for transmitting messages over a shared session link, comprising:
a first instant message server receives a message sent by a sending terminal through a sharing session link between the first instant message server and the sending terminal;
if the message is a point-to-point text message and the receiving terminal of the point-to-point text message belongs to the first message server, the first instant message server sends the message to the receiving terminal of the message; or converting the message into a message format transmitted between instant message servers, and sending the message with the converted format to a second instant message server, wherein the second instant message server is an instant message server to which a receiving terminal of the message belongs;
and if the message is a group chat message, the first instant message server converts the message into a message format transmitted between the group chat message servers and sends the message after format conversion to the group chat server.
2. The method of claim 1, wherein the message is a point-to-point text message, and the message for transmission over the shared session link is a MSRP protocol point-to-point text message; the first instant message server converting the message to a message format for transmission between instant message servers, comprising: the first instant message server respectively converts a sender indication field, a session identification field and a service type indication field in the MSRP protocol point-to-point text message into the sender indication field, the session identification field and the service type indication field in the SIP protocol message; alternatively, the first and second electrodes may be,
the message is a group chat message, and the message transmitted in the shared session link is an MSRP protocol group chat message; the first instant message server converting the message into a message format for transmission between group chat message servers, comprising: and the first instant message server respectively converts the receiver indication field, the session identification field and the service type indication field in the MSRP protocol group chat message into the receiver indication field, the session identification field and the service type indication field in the SIP protocol group chat message.
3. The method of claim 1, wherein before the first instant message server receives the message sent by the sending terminal through the shared session link with the sending terminal, further comprising:
the first instant message server receives a request for establishing a shared session link sent by the sending terminal, determines that the sending terminal has the capability of transmitting messages based on the shared session link, and negotiates with the sending terminal to establish the shared session link; or
And the first instant message server determines that the sending terminal has the capability of transmitting messages based on the shared session link, sends a command of creating the shared session link to the sending terminal, and negotiates with the sending terminal to create the shared session link.
4. The method of claim 1, wherein the first instant message server sending the message to a receiving terminal of the message, comprising:
if the first instant message server determines that a shared session link does not exist between the first instant message server and a receiving terminal of the message, determining whether the receiving terminal has the capability of transmitting the message based on the shared session link, if so, sending a command of creating the shared session link to the receiving terminal, and negotiating with the receiving terminal to create the shared session link; otherwise, the message is sent to the receiving terminal of the message through the SIP protocol.
5. The method of claim 1, further comprising:
and if the first instant message server does not transmit the message through the sharing session link between the first instant message server and the sending terminal within a set long time, deleting the sharing session link between the first instant message server and the sending terminal.
6. The method of claim 1, further comprising:
and the first instant message server receives a registration request of the sending terminal and registers the sending terminal, wherein the registration request carries indication information of whether the sending terminal has the capability of transmitting messages based on a shared session link.
7. A method for transmitting messages over a shared session link, comprising:
the second instant message server receives the message from the first instant message server or the group chat message server;
the second instant message server converting the message to a message format for transmission over a shared session link;
and the second instant message server sends the message after format conversion to a receiving terminal of the message through a sharing session link between the second instant message server and the receiving terminal.
8. The method of claim 7, wherein the message is a point-to-point text message, and the message for transmission over the shared session link is a MSRP protocol point-to-point text message; the second instant message server converting the message to a message format for transmission over a shared session link, comprising: the second instant message server respectively converts a sender indication field, a session identification field and a service type indication field in the SIP protocol message into the sender indication field, the session identification field and the service type indication field in the MSRP protocol point-to-point text message; alternatively, the first and second electrodes may be,
the second message is a group chat message, and the message transmitted in the shared session link is an MSRP protocol group chat message; the second instant message server converting the message to a message format for transmission over a shared session link, comprising: and the second instant message server respectively converts the receiver indication field, the session identification field and the service type indication field in the SIP protocol message into the receiver indication field, the session identification field and the service type indication field in the MSRP protocol group chat message.
9. The method of claim 6, wherein before the second instant message server sends the format-converted message to the receiving terminal over a shared session link with the receiving terminal of the message, further comprising:
and the second instant message server determines that the receiving terminal of the message has the capability of transmitting the message based on the shared session link, sends a request for creating the shared session link to the receiving terminal, and negotiates with the receiving terminal to create the shared session link.
10. The method of claim 7, further comprising:
and if the second instant message server does not transmit the message through the sharing session link between the second instant message server and the receiving terminal within a set long time, deleting the sharing session link between the second instant message server and the receiving terminal.
11. The method of claim 7, further comprising:
and the second instant message server receives a registration request of the receiving terminal and registers the receiving terminal, wherein the registration request carries indication information of whether the receiving terminal has the capability of transmitting messages based on a shared session link.
12. An instant messaging server, comprising: the system comprises a first receiving unit, a first sending unit, a second receiving unit, a second sending unit, an uplink message processing unit and a downlink message processing unit;
the first receiving unit is configured to receive a message sent by a sending terminal through a shared session link between an instant messaging server and the sending terminal, where the message includes a point-to-point text message or a group chat message;
the uplink message processing unit is used for determining the type of the first instant message; if the message is a point-to-point text message and the receiving terminal of the point-to-point text message belongs to the instant message server, the message is sent to a downlink message processing unit, or the message is converted into a message format transmitted between instant message servers, and the message after format conversion is sent to a second sending unit; if the message is a group chat message, converting the message into a message format transmitted between group chat message servers, and sending the message to the second sending unit;
the downlink message processing unit is configured to send the message from the uplink message processing unit to the first sending unit;
the first sending unit is used for sending the message to the receiving terminal of the message through a shared session link between the first sending unit and the receiving terminal of the message;
the second sending unit is configured to send the point-to-point text message from the uplink message processing unit to a second instant message server, where the second instant message server is an instant message server to which a receiving terminal of the point-to-point text message belongs; the group chat server is used for sending the group chat message from the uplink message processing unit to the group chat server;
the second receiving unit is used for receiving messages from other instant message servers or group chat message servers;
the downlink message processing unit is configured to convert the message received by the second receiving unit into a message format for transmission on a shared session link, and send the message after format conversion to the first sending unit;
the first sending unit is further configured to send the message from the downlink message processing unit to the receiving terminal through a shared session link with the receiving terminal of the message.
13. The instant message server of claim 12 wherein:
the first receiving unit is further configured to receive a request for creating a shared session link sent by the sending terminal;
the instant message server further comprises:
a shared session link processing unit, configured to, before the first receiving unit receives, through a shared session link with a sending terminal, a message sent by the sending terminal, determine, according to a request for creating a shared session link sent by the sending terminal, that the sending terminal has a capability of transmitting a message based on the shared session link, and negotiate with the sending terminal to create the shared session link; or before the first receiving unit receives the message sent by the sending terminal through a shared session link between the first receiving unit and the sending terminal, and the sending terminal is determined to have the capability of transmitting the message based on the shared session link, a command of creating the shared session link is sent to the sending terminal, and the shared session link is created through negotiation with the sending terminal.
14. The instant message server of claim 12, wherein the instant message server further comprises:
a shared session link processing unit, configured to determine, before the first sending unit sends the message to the receiving terminal of the message through a shared session link with the receiving terminal of the message, that there is no shared session link with the receiving terminal of the message, determine whether the receiving terminal has a capability of transmitting the message based on the shared session link, and if so, send a command to create the shared session link to the receiving terminal, and negotiate with the receiving terminal to create the shared session link.
15. The instant message server of claim 12, wherein the instant message server further comprises:
a shared session link processing unit configured to delete a shared session link with the transmission terminal if it is determined that the message is not transmitted through the shared session link with the transmission terminal within a set long time; and/or deleting the shared session link with the receiving terminal if the message is not transmitted through the shared session link with the receiving terminal within the set long time.
16. A communications apparatus, comprising: a processor, a memory, and a communication interface;
the memory to store computer instructions;
the processor for executing the computer instructions to implement the method of any one of claims 1 to 6.
17. A communications apparatus, comprising: a processor, a memory, and a communication interface;
the memory to store computer instructions;
the processor for executing the computer instructions to implement the method of any one of claims 7 to 11.
18. A computer-readable storage medium, characterized in that the storage medium stores computer instructions which, when executed by a processor, implement the method of any of claims 1 to 6.
19. A computer-readable storage medium, characterized in that the storage medium stores computer instructions which, when executed by a processor, implement the method of any of claims 7 to 11.
CN201811022727.4A 2018-09-03 2018-09-03 Method and device for transmitting messages based on shared session link Active CN110875914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811022727.4A CN110875914B (en) 2018-09-03 2018-09-03 Method and device for transmitting messages based on shared session link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811022727.4A CN110875914B (en) 2018-09-03 2018-09-03 Method and device for transmitting messages based on shared session link

Publications (2)

Publication Number Publication Date
CN110875914A true CN110875914A (en) 2020-03-10
CN110875914B CN110875914B (en) 2022-06-07

Family

ID=69716127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811022727.4A Active CN110875914B (en) 2018-09-03 2018-09-03 Method and device for transmitting messages based on shared session link

Country Status (1)

Country Link
CN (1) CN110875914B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098864A (en) * 2021-03-31 2021-07-09 杭州海康威视系统技术有限公司 Data transmission system
CN114173001A (en) * 2020-09-10 2022-03-11 中国移动通信有限公司研究院 Method and device for transmitting converged communication messages
CN114679436A (en) * 2022-05-27 2022-06-28 武汉中科通达高新技术股份有限公司 Session management method, server and computer readable storage medium
WO2023124674A1 (en) * 2021-12-27 2023-07-06 中兴通讯股份有限公司 Media channel configuration method and apparatus, electronic device, and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863176A (en) * 2006-03-03 2006-11-15 华为技术有限公司 System and method for packaging transmission message in message conversation trunking protocol
CN101087269A (en) * 2006-06-09 2007-12-12 华为技术有限公司 Method and system for transmitting message service data
CN101374118A (en) * 2007-08-23 2009-02-25 华为技术有限公司 Information interconnect method, system and apparatus
WO2009140874A1 (en) * 2008-05-20 2009-11-26 华为技术有限公司 Method and device for group-transmitting ims instant messages
CA2801172A1 (en) * 2010-06-10 2011-12-15 Research In Motion Limited Method and system to release internet protocol (ip) multimedia subsystem (ims) session initiation protocol (sip), ip-connectivity access network (ip-can) and radio access network (ran) networking resources when ip television (iptv) session is paused
US20120166626A1 (en) * 2010-12-28 2012-06-28 Shambhu Dayal Rai Updating Traffic Rate for MSRP Sessions
CN106487644A (en) * 2015-08-28 2017-03-08 中国移动通信集团公司 A kind of communication means and system
CN106878141A (en) * 2015-12-11 2017-06-20 北京信威通信技术股份有限公司 A kind of instant communicating method based on msrp agreements
CN108156069A (en) * 2017-12-26 2018-06-12 中兴通讯股份有限公司 A kind of integration message system and message treatment method
US20180167345A1 (en) * 2016-12-08 2018-06-14 T-Mobile Usa, Inc. Msrp/http file transfer
CN108234294A (en) * 2017-12-29 2018-06-29 中兴通讯股份有限公司 Method for message transmission, device, storage medium and electronic device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863176A (en) * 2006-03-03 2006-11-15 华为技术有限公司 System and method for packaging transmission message in message conversation trunking protocol
CN101087269A (en) * 2006-06-09 2007-12-12 华为技术有限公司 Method and system for transmitting message service data
CN101374118A (en) * 2007-08-23 2009-02-25 华为技术有限公司 Information interconnect method, system and apparatus
WO2009140874A1 (en) * 2008-05-20 2009-11-26 华为技术有限公司 Method and device for group-transmitting ims instant messages
CA2801172A1 (en) * 2010-06-10 2011-12-15 Research In Motion Limited Method and system to release internet protocol (ip) multimedia subsystem (ims) session initiation protocol (sip), ip-connectivity access network (ip-can) and radio access network (ran) networking resources when ip television (iptv) session is paused
US20120166626A1 (en) * 2010-12-28 2012-06-28 Shambhu Dayal Rai Updating Traffic Rate for MSRP Sessions
CN106487644A (en) * 2015-08-28 2017-03-08 中国移动通信集团公司 A kind of communication means and system
CN106878141A (en) * 2015-12-11 2017-06-20 北京信威通信技术股份有限公司 A kind of instant communicating method based on msrp agreements
US20180167345A1 (en) * 2016-12-08 2018-06-14 T-Mobile Usa, Inc. Msrp/http file transfer
CN108156069A (en) * 2017-12-26 2018-06-12 中兴通讯股份有限公司 A kind of integration message system and message treatment method
CN108234294A (en) * 2017-12-29 2018-06-29 中兴通讯股份有限公司 Method for message transmission, device, storage medium and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱海楠等: "基于MSRP的离线消息服务系统的研究与设计", 《计算机系统应用》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173001A (en) * 2020-09-10 2022-03-11 中国移动通信有限公司研究院 Method and device for transmitting converged communication messages
CN114173001B (en) * 2020-09-10 2023-07-21 中国移动通信有限公司研究院 Method and device for converged communication message transmission and computer readable storage medium
CN113098864A (en) * 2021-03-31 2021-07-09 杭州海康威视系统技术有限公司 Data transmission system
WO2023124674A1 (en) * 2021-12-27 2023-07-06 中兴通讯股份有限公司 Media channel configuration method and apparatus, electronic device, and storage medium
CN114679436A (en) * 2022-05-27 2022-06-28 武汉中科通达高新技术股份有限公司 Session management method, server and computer readable storage medium

Also Published As

Publication number Publication date
CN110875914B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN110875914B (en) Method and device for transmitting messages based on shared session link
US7904521B2 (en) Method for transferring chat messages by establishing chat room data transfer channel
CN110213652B (en) Audio and video data transmission method and device and storage medium
US20100077057A1 (en) File Transfer in Conference Services
US20070070988A1 (en) Method For Transmitting Deferred Messages
CN101605138A (en) Document transmission method and terminal
US8014775B2 (en) Method and system for implementing messaging services and a message application server
KR20040007625A (en) System and method for reducing information communicated between universal mobile telecommunication system multimedia capable units
EP1678886B1 (en) Method and devices for relayed peer-to-peer communications between terminals in mobile networks
WO2007041937A1 (en) A method for sending and receiving the off-line message, a client apparatus, a server and a system
CN111092802B (en) Message interaction method, sending equipment and receiving equipment
WO2013077594A1 (en) Device and recording medium for transferring file by using http during chatting
EP3235189B1 (en) Negotiation of message chunk size for message session relay protocol session
JP2010124063A (en) Apparatus, method and program for connection control
KR101038736B1 (en) Session based communication
KR20090058610A (en) System and method for providing instatnt message service in ims
EP2408157A1 (en) Method and system for transmitting large message mode converged ip messages
CN116846959A (en) Message receiving and transmitting method and device based on MQTT protocol
CN110856213A (en) Method and device for switching data transmission modes, storage medium and electronic equipment
CN110071925B (en) Data transmission method and corresponding server and computer readable storage medium
CN109120578B (en) Method and device for realizing link connection processing
CN108337215B (en) File transmission method, system and device and electronic equipment
CN104901929A (en) Recording method, call control manager and recording system
KR20060084327A (en) Method for transmitting data in multimedia system
CN103475567B (en) Data transmission method, device, equipment and system

Legal Events

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