Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection

A technology of communication connection and receiving source, applied in the direction of error prevention/detection, electrical components, transmission system, etc. using the return channel, which can solve problems such as inability to identify, inflexible use, and error in receiving data packets at the opposite end.

Active Publication Date: 2013-11-20
DATANG MOBILE COMM EQUIP CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 1. It is not flexible to use, and it needs to modify the TCP\IP protocol stack of the upper layer application to realize it. When the TCP / IP protocol stack used is the protocol stack of the operating system, it may also be necessary to recompile the kernel to complete the addition of the Shim Layer;
[0010] 2. Unable to send and receive Socket data of TCP protocol in non-blocking mode
This is mainly because the Shim Layer is application-driven, that is, when the application requests an action in blocking mode on the Socket, such as Connect or Recv, it needs to be replaced by the corresponding function of the SCTP protocol through the Shim Layer, and returns Its execution result; but when the non-blocking mode is used, the corresponding replacement cannot be performed through Select or Poll polling, that is, Select or Poll cannot identify whether it is a real SCTP protocol socket or an upper layer application that uses the Shim Layer layer to simulate the TCP protocol
[0011] 3. Since the Shim Layer is independent, it should be adapted to any upper-layer application. However, the TCP protocol data is in a stream format, and each sending and receiving message may not be complete, while the SCTP protocol is a message-oriented protocol. Every time The sending and receiving data boundaries are complete. If no processing is done at the Shim Layer layer, incomplete TCP data packets may be transmitted on the SCTP protocol, resulting in receiving errors at the peer end.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection
  • Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection
  • Method and device for intercommunicating TCP (Transmission Control Protocol) connection with SCTP (Stream Control Transmission Protocol) connection

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0233] refer to Figure 6 The signaling flow chart of an example of a TCP application using the Diameter protocol sending three consecutive Diameter messages (Diameter_A, Diameter_B, Diameter_C) is shown. Because the sending time interval is very short, Diameter_A and Diameter_B may be encapsulated in a TCP The packet TCP-Diameter A-DiameterB is sent, and Diameter_C is encapsulated and sent in the second TCP packet TCP-Diameter C.

[0234] After the TCP connection and SCTP connection interworking conversion program of the present invention receives the first TCP message TCP-Diameter A-DiameterB sent by the TCP host, it cannot directly send its payload Diameter_A and Diameter_B to the SCTP host as a Diameter message, Instead, they are parsed and sent separately, that is, according to the message format of the Diameter protocol, TCP-Diameter A-Diameter B is parsed into SCTP-Diameter A and SCTP-Diameter B; and then sent to the SCTP host. After receiving the second TCP message TC...

example 2

[0237] refer to Figure 7 The signaling flow chart of the example of signaling communication between two TCP hosts and two SCTP hosts is shown. In this example, TCP host 1 and SCTP host 1 use the Diameter protocol for communication, and TCP host 2 and SCTP host 2 Use the SIP protocol to communicate with each other. The embodiment of the present invention performs protocol analysis for each communication link, that is, the Diameter analysis method is used for the upper layer application of the Diameter protocol, and the SIP analysis method is used for the SIP protocol.

[0238] Specifically, when the TCP connection and SCTP connection interworking conversion program of the present invention receives the Diameter message TCP-Diameter A sent by the TCP host 1, it parses TCP-Diameter A into SCTP-Diameter A according to the message format of the Diameter protocol , and then sent to the SCTP host 1; when the TCP connection and SCTP connection interworking conversion program of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for intercommunicating a TCP (Transmission Control Protocol) connection with an SCTP (Stream Control Transmission Protocol) connection, which comprises the steps of: receiving a request for establishing a communication connection with a target end, wherein the request is initiated by a source end and carries address information of the source end and the target end, one end of the source end and the target end is a TCP host machine and the other end of the source end and the target end is an SCTP host machine; initiating a communication connection establishing process of the target end according to the address information of the source end and the target end; and when the communication connection of the target end is established, initiating a communication connection establishing request aiming at the source end for continuing the communication connection establishing process of the source end. According to the invention, on the basis of any correction on traditional upper layer application and operating system thereof and any limit on the use of the upper layer application, the correctness and the reliability of upper layer application signaling transmission are enhanced.

Description

technical field [0001] The invention relates to the technical field of signaling communication, in particular to a method for intercommunication between a TCP connection and an SCTP connection and a device for intercommunication between a TCP connection and an SCTP connection. Background technique [0002] In the past 20 years, as a reliable data transmission method, TCP has provided many application services, but with the multi-service of IP network, especially the development of VolP, TCP has many limitations, such as for VolP signaling and asynchronous transaction-based application processing. In order to adapt to the development trend of the IP network becoming the core network of telecom operations, the Signaling Transmission Working Group (SIGTRAN) of the IETF has been researching and formulating a new generation of transmission protocols for the IP network, and defined the Stream Control Transmission Protocol (SCTP, Stream Control Transmission Protocol). SCTP is a c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L1/16H04L29/06
Inventor 贺保国弋景峰
Owner DATANG MOBILE COMM EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products