CN106878141A - A kind of instant communicating method based on msrp agreements - Google Patents
A kind of instant communicating method based on msrp agreements Download PDFInfo
- Publication number
- CN106878141A CN106878141A CN201510918825.6A CN201510918825A CN106878141A CN 106878141 A CN106878141 A CN 106878141A CN 201510918825 A CN201510918825 A CN 201510918825A CN 106878141 A CN106878141 A CN 106878141A
- Authority
- CN
- China
- Prior art keywords
- client
- service end
- msrp
- instant
- message
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/58—Message adaptation for wireless communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
Abstract
The present invention proposes a kind of instant communicating method based on msrp agreements, including:Notify that upper layer application TCP connections have built up without the msrp requests and response of message body by interaction between client and service end;Multiple instant messaging sessions share same TCP connections, and different instant messaging sessions are distinguished according to path attributes.The present invention can significantly reduce the expense of msrp protocol stacks management tcp connections.
Description
Technical field
The present invention relates to wireless communication field, more particularly to a kind of instant communicating method based on msrp agreements.
Background technology
The instant communicating method for being currently based on msrp agreements is usually to carry sdp messages to msrp by sip message
Passage is held consultation using new ip and port, sets up the msrp passages based on tcp agreements, is communicated.
This existing method is required for setting up new tcp and connect when each instant communication session sets up msrp passages
Consult IP and port, increased the expense of msrp agreement internal memories, also increase the negative of service end and client
Load.
The content of the invention
The present invention proposes the instant communicating method based on msrp agreements after a kind of improvement, it is possible to reduce service
End and the Internet resources and the expense of memory source of client.The method includes:
Ask and respond come come on notifying without the msrp of message body by interaction between client and service end
Layer has built up using TCP connections;
Multiple instant messaging sessions share same TCP connection, distinguish different instant according to path attributes
Message session.
Preferably, when needing to carry out new instant messaging session between the client and the service end,
Methods described includes step in detail below:
A, judges whether TCP connections have been set up between the client and the service end, if set up
Step c is then directly entered, otherwise into step b;
B, sets up a TCP connection between the client and the service end;
C, the client and the service end are that the new instant messaging session is consulted using sip signalings
Path attributes;
D, is connected by the TCP set up between the client and the service end, the client hair
The msrp sent without message body is asked to the service end, and the service end returns to response after receiving;
E, the client and the service end start the new instant messaging session, described new instant
The path attributes that the instant message of message session is consulted using step c.
Preferably, the client is LTE cluster client terminals.
Instant communicating method based on msrp agreements of the invention distinguishes different sessions using path attributes,
So as to realize the purpose of the shared tcp connections of multiple sessions.The present invention TCP connection it is already present in the case of,
Client only sends the msrp requests without message body, and waiting for server response can be significantly reduced
The expense of msrp protocol stacks management tcp connections.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing
Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, retouch below
Accompanying drawing in stating is some embodiments of the present invention, for those of ordinary skill in the art, is not being paid
On the premise of creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that
Described embodiment is a part of embodiment of the invention, rather than whole embodiments;It should be noted that
In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made
Every other embodiment, belong to the scope of protection of the invention.
Basic thought of the invention is:The msrp for only not carrying any message content by sending is asked and rung
Upper layer application TCP should be notified to connect it has been established that so as to the actual TCP foundation of application shielding bottom
Process.When existing tcp is connected between client and service end, being used if different sessions are shared should
TCP is connected, then the different instant messaging sessions in TCP connections are distinguished according to path attributes.
When needing to carry out instant messaging session between client and service end, present invention method is used
Flow shown in Fig. 1, concretely comprises the following steps:
101, judge whether TCP connections have been set up between client and service end, it is direct if having set up
Into step 103, otherwise into step 102.
102, a TCP connection is set up between the client and the service end, consult instant messaging
The parameter of needs:IP, port, agreement etc., client will carry out instant message interaction using these attributes.
103, client and service end are that the instant messaging session that will start consults path using sip signalings
Attribute.
104, connected by the TCP for having set up, client sends to service end and does not carry any message content
Msrp request and instant messaging session session id, the msrp request be only used for notify service end, visitor
Family end establishes TCP connections with service end.
105, service end returns to respective response to msrp requests.
106, client receives the response that service end is asked the msrp for not carrying any message content, it is believed that
Client has built up successfully to the TCP channel of service end.Then client and service end start instant message
Session, the path that the instant message From-Path and To-Path of the session will be consulted using step 103 belongs to
Property, it is used to distinguish other instant messaging sessions having built up.
Embodiment of the present invention explanation by taking the instant messaging of the digital dispatching system of SDC-LTE technology private networks as an example
How the present invention specifically realizes.The digital dispatching system includes following network element device:Group service control centre
(SDC), dispatching desk (DCS), base station, terminal.It is built between dispatching desk and group service control centre
Vertical TCP connections, present dispatching desk needs to send an instant message, specific steps to a certain terminal user
It is as follows:
(1) after scheduler administrator logs in dispatching desk, transmission is clicked on immediately after selecting new user 9280000004
Message, can send INVITE and ask to SDC first, consult path attributes.
(2) SDC can send response 200OK, the msrp for notifying dispatching desk SDC to be used after receiving request
The path attributes of instant message.
(3) SIP signaling ACKs are sent after dispatching desk is received, is then connected by already present tcp, to
SDC sends the msrp requests without message content.
(4) SDC receives the request, sends msrp responses.
(5) after dispatching desk receives response, it is believed that the success of tcp link sharings, start to send message to SDC
Content.
(6) after SDC receives message content, forwarded to user 9280000004, and sound is sent to dispatching desk
Ying represent and receive message.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can
To be completed by the related hardware of programmed instruction, foregoing program can be stored in an embodied on computer readable and deposit
In storage media, the program upon execution, performs the step of including above method embodiment;And foregoing storage
Medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than it is limited
System;Although being described in detail to the present invention with reference to the foregoing embodiments, one of ordinary skill in the art
It should be understood that:It can still modify to the technical scheme described in foregoing embodiments, or to it
Middle some technical characteristics carry out equivalent;And these modifications or replacement, do not make appropriate technical solution
Essence departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (3)
1. a kind of instant communicating method based on msrp agreements, it is characterised in that methods described includes:
Ask and respond come come on notifying without the msrp of message body by interaction between client and service end
Layer has built up using TCP connections;
Multiple instant messaging sessions share same TCP connection, distinguish different instant according to path attributes
Message session.
2. method according to claim 1, it is characterised in that when the client and the service
When needing to carry out new instant messaging session between end, methods described includes step in detail below:
A, judges whether TCP connections have been set up between the client and the service end, if set up
Step c is then directly entered, otherwise into step b;
B, sets up a TCP connection between the client and the service end;
C, the client and the service end are that the new instant messaging session is consulted using sip signalings
Path attributes;
D, is connected by the TCP set up between the client and the service end, the client hair
The msrp sent without message body is asked to the service end, and the service end returns to response after receiving;
E, the client and the service end start the new instant messaging session, described new instant
The path attributes that the instant message of message session is consulted using step c.
3. method according to claim 1 and 2, it is characterised in that
The client is LTE cluster client terminals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510918825.6A CN106878141A (en) | 2015-12-11 | 2015-12-11 | A kind of instant communicating method based on msrp agreements |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510918825.6A CN106878141A (en) | 2015-12-11 | 2015-12-11 | A kind of instant communicating method based on msrp agreements |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106878141A true CN106878141A (en) | 2017-06-20 |
Family
ID=59178001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510918825.6A Withdrawn CN106878141A (en) | 2015-12-11 | 2015-12-11 | A kind of instant communicating method based on msrp agreements |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106878141A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120578A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | A kind of method and device for realizing link connection processing |
CN110875914A (en) * | 2018-09-03 | 2020-03-10 | 中国移动通信有限公司研究院 | Method and device for transmitting messages based on shared session link |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794675A (en) * | 2005-08-10 | 2006-06-28 | 华为技术有限公司 | Method of establishing instant data transmission channel to realize instant message transmission |
CN1852125A (en) * | 2005-08-17 | 2006-10-25 | 华为技术有限公司 | Method for expanding one-to-one conversation to multi-to-multi conversation |
CN101080041A (en) * | 2007-03-13 | 2007-11-28 | 中兴通讯股份有限公司 | A method for establishing communication service connection in communication system |
US20110145407A1 (en) * | 2009-12-15 | 2011-06-16 | Victor Pascual Avila | Methods, systems, and computer readable media for communicating media server capabilities and status information between media servers and a media resource broker |
-
2015
- 2015-12-11 CN CN201510918825.6A patent/CN106878141A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794675A (en) * | 2005-08-10 | 2006-06-28 | 华为技术有限公司 | Method of establishing instant data transmission channel to realize instant message transmission |
CN1852125A (en) * | 2005-08-17 | 2006-10-25 | 华为技术有限公司 | Method for expanding one-to-one conversation to multi-to-multi conversation |
CN101080041A (en) * | 2007-03-13 | 2007-11-28 | 中兴通讯股份有限公司 | A method for establishing communication service connection in communication system |
US20110145407A1 (en) * | 2009-12-15 | 2011-06-16 | Victor Pascual Avila | Methods, systems, and computer readable media for communicating media server capabilities and status information between media servers and a media resource broker |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120578A (en) * | 2017-06-23 | 2019-01-01 | 中兴通讯股份有限公司 | A kind of method and device for realizing link connection processing |
CN109120578B (en) * | 2017-06-23 | 2022-10-11 | 中兴通讯股份有限公司 | Method and device for realizing link connection processing |
CN110875914A (en) * | 2018-09-03 | 2020-03-10 | 中国移动通信有限公司研究院 | Method and device for transmitting messages based on shared session link |
CN110875914B (en) * | 2018-09-03 | 2022-06-07 | 中国移动通信有限公司研究院 | Method and device for transmitting messages based on shared session link |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8300772B2 (en) | Method and apparatus for emergency call processing | |
US9602553B2 (en) | Method, apparatus, and system for implementing VOIP call in cloud computing environment | |
WO2021082715A1 (en) | Direct communication processing method, device, relay terminal, and remote terminal | |
KR20120019474A (en) | System and methods for integrating short message service messaging with contact center applications | |
US10129412B1 (en) | Establishing and maintaining a VOIP call | |
CN109428854A (en) | It is a kind of based on wide and narrow strip fusion call processing method, apparatus and system | |
JP5678198B2 (en) | Mobile Internet service realization method, gateway, proxy and system | |
WO2013185655A1 (en) | Method and device for distributing mobile attendant call | |
CN110933180A (en) | Communication establishing method and device, load equipment and storage medium | |
CN113014847B (en) | Method and system for realizing audio and video communication based on hybrid cloud architecture | |
CN103379096B (en) | Internet and carrier network business sharing method, service side and web gateway | |
KR20150074005A (en) | Calling an unready terminal | |
CN104410982B (en) | Terminal polymerization and reconstructing method in a kind of Wireless Heterogeneous Networks | |
CN110662179B (en) | Call processing method and device based on LTE broadband trunking system | |
JP2017510116A (en) | Method and server for enabling a first user to automatically detect a second user's social network identifier and the respective status of this second user in those social networks | |
CN106412861A (en) | Short message distribution method and system | |
CN108616823B (en) | Method and system for adding group calling to dispatching desk | |
CN107682472A (en) | IPv4 and IPv6 interoperability methods, apparatus and system based on RTSP reverse proxys | |
EP1868341A1 (en) | A method and system for determining the central controlling server | |
CN103684970B (en) | The transmission method of media data flow and thin terminal | |
CN107222846A (en) | A kind of equipment of the core network and its cluster communication method | |
US20150264182A1 (en) | Voice over long term evolution - called party status | |
CN106878141A (en) | A kind of instant communicating method based on msrp agreements | |
WO2017185934A1 (en) | Management device and method for managing device | |
CN104639509B (en) | A kind of method for processing business and equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170620 |