Method and system for transmitting voices based on TCP in VoIP

A voice and middleware technology, applied in the field of communication, can solve the problems of NAT and firewall traversal, single network environment, traversal, etc.

Inactive Publication Date: 2016-06-22
BEIJING UNIV OF POSTS & TELECOMM
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] However, the disadvantage of this method is: the typical application of this solution is to put a proxy behind the firewall, and the proxy needs to be assigned a public IP address
[0014] In the actual network scenario that generally includes NAT, firewalls always appear together. In this case, none of the aforementioned technolog

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 system for transmitting voices based on TCP in VoIP
  • Method and system for transmitting voices based on TCP in VoIP
  • Method and system for transmitting voices based on TCP in VoIP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] like figure 1 As shown, the present invention provides a method for transmitting voice based on TCP in VoIP, wherein the SIP terminal uses a middleware unit to send and receive data, wherein: when sending data, step S1 is included: the middleware unit The data is encoded with self-identification boundary, and the encoded data is transmitted to the opposite end SIP terminal through TCP; when receiving the data, steps are included: the middleware unit decodes the self-identification boundary to the data received from TCP, and the The decoded data is passed to the SIP terminal.

[0054] It can be seen that the present invention uses the API provided by the middleware unit to send and receive signaling and voice data. Specifically: when using the API provided by the middleware unit to send data, the middleware unit provides middleware_sendmsg for the SIP terminal as The interface for sending data. When the SIP terminal needs to send signaling and voice data to the peer SIP...

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 and a system for transmitting voices based on the TCP in the VoIP, wherein an SIP terminal sends and receives data by means of a middleware unit. The data sending process comprises the steps of encoding a self-recognition boundary of data by the middleware unit, and sending the encoded data to an opposite-site SIP terminal through the TCP transmission. The data receiving process comprises the steps of decoding the self-recognition boundary of data received through the TCP transmission by the middleware unit, and sending the decoded data to the SIP terminal. According to the technical scheme of the invention, the TCP protocol stack is optimized, and the real-time transmission effect of voice data is improved. Meanwhile, the voice transmission is conducted based on the optimized TCP protocol to traverse a firewall. During the transmission process of voice data, the middleware unit is adopted cooperatively. Therefore, the self-recognition of the TCP data boundary is realized. The transmission effect of voice data is further improved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and system for transmitting voice based on TCP in VoIP. Background technique [0002] Network Address Translation / Firewall Traversal (NAT / FT, Network Address Translation / Firewall Traversal) is a technology that ensures normal communication between a host behind a NAT device and an external host. [0003] Due to the shortage of IPv4 addresses and network security issues, most enterprise users set up NAT / NAPT devices at the network egress to establish a private IP Network address and port to communicate with external hosts. Session Initiation Protocol (SIP, SessionInitiationProtocol) is a text-based application layer protocol. The IP address information related to session establishment is transmitted in the data packet, but NAT processes the protocol layer below TCP / IP and cannot parse the SIP data of the application layer. packet, unable to complete the normal SIP...

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
IPC IPC(8): H04L29/06H04M7/00
CPCH04L63/029H04M7/006H04L65/1104
Inventor 双锴苏森徐鹏王玉龙孟椿智
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products