WO2008074256A1 - Procédé et appareil de communication utilisés pour commander la connexion de la couche transport - Google Patents
Procédé et appareil de communication utilisés pour commander la connexion de la couche transport Download PDFInfo
- Publication number
- WO2008074256A1 WO2008074256A1 PCT/CN2007/071249 CN2007071249W WO2008074256A1 WO 2008074256 A1 WO2008074256 A1 WO 2008074256A1 CN 2007071249 W CN2007071249 W CN 2007071249W WO 2008074256 A1 WO2008074256 A1 WO 2008074256A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transport layer
- layer connection
- connection
- client
- message
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
Definitions
- the present invention belongs to the field of electrical communication technologies, and in particular, to a method and a communication device for controlling connection of a transmission layer.
- the MRCPv2 Media Resource Control Protocol Version 2
- MRCPv2 Media Resource Control Protocol Version 2
- SIP Session Initiation Protocol
- TCP Transmission Control Protocol
- TLS Transmission Layer Security
- the current MRCPv2 draft extends the attributes of the transport layer connection of the session in the a row of the SDP. By setting the attribute value to be new or existing, it indicates whether the transport layer connection of the new session is newly created or shared with the existing session. A transport layer connection.
- MRCPv2 does not specify how the server and client handle when the transport layer connection is abnormally interrupted.
- the strategy adopted by the prior art is to release all upper layer services on the transport layer connection when the transport layer connection is abnormally interrupted. There will be many sessions on a transport layer connection. If these transports are released after interrupting the transport layer connection, it will have a great impact on the user.
- Embodiments of the present invention provide a method for controlling a connection of a transport layer and a communication device, which can implement control over the lifetime of a transport layer connection where a session is located.
- the embodiment of the invention discloses a method for controlling a connection of a transport layer, comprising: negotiating a lifetime attribute of a transport layer connection and establishing a transport layer connection, wherein a lifetime attribute of the transport layer connection is temporary or permanent; At the end of a session on the connection, the lifetime attribute of the negotiated transport layer connection is determined, and if it is temporary, the transport layer connection is removed; if it is permanent, the transport layer connection is maintained.
- the embodiment of the invention discloses a computer readable medium, characterized in that software for implementing a control layer connection method is stored, and when executed, the software comprises the following steps: negotiating a lifetime attribute of a transport layer connection and establishing a transport layer Connection, the lifetime attribute of the transport layer connection is temporary or permanent; when a session on the transport layer connection ends, determining the negotiated lifetime attribute of the transport layer connection, if it is temporary, then removing the Said transport layer connection; if permanent, the transport layer connection is maintained.
- the technical solution of the embodiment of the present invention it can be seen that, at the end of a session, by determining whether the pre-negotiated transport layer connection lifetime attribute is temporary, and when the connection lifetime attribute is temporary, the transmission is removed. Layer connection; if it is permanent, it will not be removed.
- different services can meet the lifetime requirements.
- the application scenario of the voice control resource on the MRCP server is temporarily set by setting the lifetime attribute of the transport layer connection.
- the session is removed at the end of a session, the number of transport layer connections on the server side can be saved, and the server is avoided.
- the number of connections on the transport layer is insufficient, other users cannot access the server, which saves the transport layer resources and improves user satisfaction.
- the lifetime attribute of the transport layer connection is set to be permanent, which avoids the impact on the service performance caused by the frequent establishment and teardown of the connection between the client and the server.
- the lifetime attribute of the transport layer connection is set to be permanent, which avoids the impact on the service performance caused by the frequent establishment and teardown of the connection between the client and the server.
- FIG. 1 is a schematic structural diagram of a system in a scenario application according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a system in another scenario application according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a process of controlling a connection of a transport layer according to an embodiment of the present invention
- FIG. 7 is still another working flowchart of controlling connection of a transport layer in an embodiment of the present invention.
- FIG. 8 is a partial flow chart of the operation when the existing transport layer connection is shared by the tongue in the embodiment of the present invention. detailed description
- An embodiment of the present invention provides a method for controlling a connection of a transport layer: by pre-negotiating a lifetime of a transport layer connection where a session is located, and when a session ends, determining that the lifetime of the pre-negotiated transport layer connection is temporary It is still permanent. If it is temporary, remove the transport layer connection; if it is permanent, it will not be removed. According to different application scenarios, different lifetimes are negotiated, which can avoid conflicts of different tongues, save transmission layer resources, and improve transmission performance. Embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
- Step 301 The client sends a SIP request INVITE to the server, requesting to create a new one.
- the transport layer connects and sets the lifetime attribute of the transport layer connection to be temporary.
- Step 302 The server accepts the request sent by the client and the set transport layer connection attribute information, and sends a 200 OK message to respond.
- Step 305 The client sends a BYE message to the server to tear down the session.
- Step 306 The server responds to the 200 OK message to tear down the session.
- Step 307 After receiving the 200 OK message sent by the server in step 306, the client determines whether the lifetime of the transport layer connection is temporary or permanent, and finds that the lifetime of the pre-negotiated transport layer connection is temporary and actively dismantles. The transport layer is connected.
- the method for controlling the connection of the transport layer in the embodiment of the present invention is as follows. Referring to FIG. 1
- Step 401 The client sends a SIP request INVITE to the server, requests to create a new transport layer connection and sets the lifetime attribute of the transport layer connection to be permanent.
- Step 402 The server accepts the request sent by the client and the set transport layer connection attribute information, and sends a 200 OK message to respond.
- Step 405 When the client wants to tear down the session, the BYE message is sent to the server.
- Step 407 After receiving the response message in step 406, the client determines whether the lifetime attribute of the transport layer connection is temporary or permanent, and finds that the lifetime attribute of the pre-negotiated transport layer connection is permanent, and the transmission is maintained. Layer connection.
- the present invention can control the transport layer connection by the following method, referring to FIG.
- Step 501 The client sends a SIP request INVITE to the server, requesting to share the existing transport layer connection.
- the transport layer connection attribute is set to be existing in the SDP to share the transport layer connection with other sessions.
- the client can negotiate and establish a new transport layer connection according to the steps shown in the first embodiment and the second embodiment, and details are not described herein.
- the transport layer connection attribute negotiated between the client and the server is existing, that is, the new session uses the connection established by another session, then when the new tongue ends, the connection used by the new session cannot be removed, otherwise Other sessions have an impact.
- Step 601 The client sends a SIP request INVITE to the server, where the transport layer connection is set to be newly created in the SDP, the lifetime attribute is temporary, and the reliability attribute is update.
- Step 603 The client and the server create a transport layer connection according to the negotiated transport layer connection attribute.
- Step 604 Transfer the MRCP message on the created transport layer connection.
- Step 605 The server detects that the transport layer connection is abnormally interrupted, keeps the upper layer service of the connection, and waits for the client to re-establish the connection, and the waiting time is 10 seconds.
- Step 606 The client sends a SIP request INVITE to the server, where the transport layer connection is set to be newly created in the SIP message content SDP, and the lifetime attribute is temporary, and the reliability attribute is update.
- Step 607 The server accepts the request and responds to the 200 OK message, where the transmission layer connection is set to be newly created in the SDP, the lifetime attribute is temporary, and the reliability attribute is update.
- Step 609 Transfer the MRCP message on the newly created transport layer connection.
- Step 610 The client sends a BYE message to the server to tear down the session.
- Step 611 The server responds with a 200 OK message, and the session is removed.
- Step 612 After receiving the 200 OK message sent by the server in step 611, the client determines whether the lifetime of the transport layer connection is temporary or permanent, and discovers the survival of the pre-negotiated transport layer connection. The period is temporary, and the transport layer connection is actively removed.
- the method shown in FIG. 2 is taken as an example to describe in detail the method for controlling the connection of the transport layer of the present invention. Referring to Figure 7, the following is a specific process.
- Step 701 The client sends a SIP request INVITE to the server, where the transport layer connection is set to be newly created in the SDP, the lifetime attribute is permanent, and the reliability attribute is update.
- Step 702 The server accepts the request, and responds to the 200 OK message to the client, where the transport layer connection is set to be newly created in the SDP, the lifetime attribute is permanent, and the reliability attribute is updated, indicating that the session is a newly created transmission.
- the layer connection is made, and the transport layer connection is a permanent connection across sessions. If the connection is abnormally interrupted, the client re-establishes a new connection. At this point, the client and server negotiate the completion of the properties of the transport layer connection.
- Step 703 The client and the server create a transport layer connection according to the negotiated transport layer connection attribute.
- Step 705 The server detects that the transport layer connection is abnormally interrupted, keeps the upper layer service of the connection, and waits for the client to re-establish the connection, and the waiting time is 30 seconds.
- the waiting time should not be too long, and it should not be too short to give the client enough time to re-establish the connection. Therefore, the recommended waiting time is 5 to 30 seconds.
- the wait time is not excluded from the recommended range and is preferably set according to the wishes of both the client and the server. For example, the client may actively tear down the session in 5 seconds, while the server can wait for 10 seconds.
- Step 706 The client sends a SIP request INVITE to the server, where the transport layer connection is set to be newly created in the SIP message content SDP, and the lifetime attribute is permanent, and the reliability attribute is update.
- Step 707 The server accepts the request and responds to the 200 OK message, where the transport layer connection is set to be newly created in the SDP, the lifetime attribute is permanent, and the reliability attribute is update.
- Step 708 The client and the server establish a new connection according to the negotiated transport layer connection attribute. Pick up.
- Step 709 Transfer the MRCP message on the newly created transport layer connection.
- Step 710 Send a BYE message to the server to tear down the session.
- Step 712 After receiving the response message in step 711, the client determines whether the lifetime of the transport layer connection is temporary or permanent, and finds that the lifetime of the pre-negotiated transport layer connection is permanent, and the transport layer connection is maintained. .
- the reliability attribute of the transport layer connection where the session is located may also be set to be empty, so that when the connection is established, if the connection is abnormally interrupted during the service execution, the server And the client destroys all business instances that use this connection.
- the client and the server negotiate a new transport layer connection. Since the server does not rush to release the upper layer service of the transport layer connection after the transmission layer connection is abnormally interrupted, and the client can re-initiate the establishment of a new transport layer connection, the impact of the abnormality of the transport layer connection on the user is minimized.
- This method can significantly improve transmission performance especially when there are many sessions sharing a single connection.
- the removal of the transport layer connection may also be initiated by the server.
- Step 803 The server accepts the request and returns a response message 200 OK message.
- Step 805 The client shares the original transport layer connection session to send a SIP request, and re-requests the shared transport layer connection.
- Step 806 The server accepts the request and returns a response message.
- the server receives the message and selects a new transport layer connection as the shared connection according to the used resources and unused resources of the stored transport layer connection. Because the new transport layer connection property is permanent, it can be shared, and only one session-controlled MRCP message runs. According to the resource configuration policy, a relatively idle transport layer connection should be selected, so select a new transport layer connection.
- Step 807 The client and the server transmit the MRCP message on the newly established transport layer connection.
- Step 808 A session sharing the connection of the transport layer ends, and the client sends a BYE message to remove the tongue.
- Step 809 The server responds with a 200 OK message, and the session is removed.
- Embodiments of the present invention also provide a communication device that can improve transmission performance by controlling connection of a transport layer.
- the device includes: a first determining unit, a first storage unit, a first sending unit, and a receiving unit, where:
- a first storage unit configured to store the negotiated first parameter; the first parameter, indicating whether the transport layer connection lifetime attribute is temporary or permanent;
- a receiving unit configured to receive a message, and notify the first determining unit when receiving the message that the session ends;
- the first determining unit when receiving the message of ending the session, determines whether the transport layer connection lifetime attribute represented by the first parameter in the storage unit is temporary or permanent, and sends the determination result to the sending unit;
- the first sending unit sends a message to remove the transport layer connection when the first parameter is temporary.
- the communication device further includes: a detecting unit, a service processing unit, a second determining unit, a second sending unit, and a second storage unit, wherein: the second storage unit is configured to store the negotiated a second parameter; the second parameter is set to update, indicating that when the connection of the transport layer is abnormally interrupted, the upper layer service on the transport layer connection is selected and a new transport layer connection is re-established; the second parameter When set to empty, it means to release the upper layer service on the transport layer connection when the transport layer connection is abnormally interrupted; a detecting unit, configured to detect whether the connection of the transport layer is abnormally interrupted, and send the detection result to the second determining unit;
- a service processing unit configured to: when the detection result is abnormally interrupted, if the received second parameter is an update, store the transport layer connection upper layer service in the second storage unit; if the received second parameter is Empty, releasing the upper layer service on the transport layer connection;
- the second sending unit sends a message to renegotiate and establish a new transport layer connection when the second parameter is an update.
- the time when the second storage unit is configured to save the upper layer service may be configured according to the actual situation.
- the communication device in the embodiment of the present invention further includes a timing unit, and after the set time, the service processing unit releases the transmission in the storage unit.
- the upper layer service on the layer connection may be configured according to the actual situation.
- the MRCP message may be transmitted over one or more MRCP channels, at which point the transport layer connection is bound to the MRCP channel of the multiple sessions on it.
- the original transport layer connection is interrupted and a new transport layer connection is established, if the transport layer connection and the MRCP channel binding relationship are not updated, the MRCP message will still be connected with the original transport layer. Since the original has been interrupted, Therefore, it must fail.
- the client and the server perform SIP message interaction to explain how the two parties complete the negotiation of the transport layer connection attribute.
- SIP protocol and other protocols using SDP are also available.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
La présente invention concerne un procédé et un appareil de communication qui sont utilisés pour commander la connexion de la couche transport. Par la négociation de la durée effective de la connexion de la couche transport d'une session précédente, lorsqu'un session quelconque réalisée dans la couche transport est terminée, on estime si la durée effective de la connexion de la couche transport négociée auparavant est éphémère ou permanente et s'il elle est éphémère, la connexion de la couche transport est libérée et si elle est permanente, la connexion de la couche transport n'est pas libérée.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610167856.3 | 2006-12-20 | ||
CN 200610167856 CN101207631A (zh) | 2006-12-20 | 2006-12-20 | 一种控制传输层连接的方法和通信装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008074256A1 true WO2008074256A1 (fr) | 2008-06-26 |
Family
ID=39536004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/071249 WO2008074256A1 (fr) | 2006-12-20 | 2007-12-17 | Procédé et appareil de communication utilisés pour commander la connexion de la couche transport |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101207631A (fr) |
WO (1) | WO2008074256A1 (fr) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149376A (zh) * | 1994-05-27 | 1997-05-07 | 英国电讯公司 | 电信系统中的连接释放 |
CN1353913A (zh) * | 1999-06-04 | 2002-06-12 | 诺基亚公司 | 释放无线通信网络中的连接 |
US20060174012A1 (en) * | 2005-02-01 | 2006-08-03 | Fujitsu Limited | Relay method, relay apparatus, and computer product |
CN1870584A (zh) * | 2005-09-02 | 2006-11-29 | 华为技术有限公司 | 一种虚交换系统中的用户连接管理方法和装置 |
-
2006
- 2006-12-20 CN CN 200610167856 patent/CN101207631A/zh active Pending
-
2007
- 2007-12-17 WO PCT/CN2007/071249 patent/WO2008074256A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1149376A (zh) * | 1994-05-27 | 1997-05-07 | 英国电讯公司 | 电信系统中的连接释放 |
CN1353913A (zh) * | 1999-06-04 | 2002-06-12 | 诺基亚公司 | 释放无线通信网络中的连接 |
US20060174012A1 (en) * | 2005-02-01 | 2006-08-03 | Fujitsu Limited | Relay method, relay apparatus, and computer product |
CN1870584A (zh) * | 2005-09-02 | 2006-11-29 | 华为技术有限公司 | 一种虚交换系统中的用户连接管理方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN101207631A (zh) | 2008-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9692834B2 (en) | Multimodal conversation transfer | |
JP5026964B2 (ja) | マルチメディア通信システムにおいて異なったサービスを提供する方法および装置 | |
US8244258B2 (en) | VoIP communication control method and access point apparatus | |
US8788682B2 (en) | Communication device, and method, in an internet protocol network, of controlling a communication device | |
US20090016339A1 (en) | Apparatus, method, and computer program product for relaying messages | |
US7984159B2 (en) | Apparatus, method, and terminal apparatus for maintaining connection | |
US20080071914A1 (en) | Session control system | |
WO2015180570A1 (fr) | Procédé d'établissement d'un canal de données et dispositif de communications | |
WO2014110855A1 (fr) | Procédé et terminaux de transmission de données | |
WO2010025676A1 (fr) | Procédé, dispositif et système de communication d’un média de diffusion en flux | |
WO2007019777A1 (fr) | Méthode d’établissement de session et nœud de contrôle de session | |
TW200841670A (en) | Method and apparatus for media independent handover | |
WO2009094940A1 (fr) | Appareil et procédé de renégociation de capacités multimédias | |
CN101453446B (zh) | 一种建立mrcp控制与承载通道的方法、装置与系统 | |
US8566458B2 (en) | Communication device and response method thereof | |
US9380131B2 (en) | Communication apparatus, communication method and program | |
WO2010028591A1 (fr) | Procédé et système de réalisation d'enregistrement dans un terminal client et entité de contrôle d'enregistrement | |
WO2007124662A1 (fr) | Procédé, système, dispositif d'abonnement, dispositif d'information de commande centrale d'abonnement | |
WO2008074256A1 (fr) | Procédé et appareil de communication utilisés pour commander la connexion de la couche transport | |
WO2011054318A1 (fr) | Procede, dispositif et systeme de negociation de sessions multimedia | |
US7489633B2 (en) | Method and apparatus for differential link bring-up for MoIP on the Internet | |
WO2009026757A1 (fr) | Système de gestion d'appels, procédé appliqué à des terminaux ims et terminal ims | |
CN115052056A (zh) | 工业控制通信方法、装置、设备及存储介质 | |
JP2012090025A (ja) | 通信装置 | |
US8930567B2 (en) | Communication apparatus, communication method, and storage medium therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07846075 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07846075 Country of ref document: EP Kind code of ref document: A1 |