Session establishment method, router, and session system

A technology for session establishment and session system, applied in the field of communication, which can solve the problem that the client cannot communicate normally.

Active Publication Date: 2018-12-21
上海联虹技术有限公司
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method for establishing a session, a router and a session system to solve the technical problem that the clients cannot co

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
  • Session establishment method, router, and session system
  • Session establishment method, router, and session system
  • Session establishment method, router, and session system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] combine Figure 1 to Figure 4 Shown, a kind of session establishment method of preferred embodiment of the present invention, SIP server is in intranet; Router opens SIP ALG (Application Layer Gateways, application layer gateway) function, and is provided with SIP port or DMZ (Demilitarized Zone) for SIP server ,quarantine area);

[0039] The session establishment method includes the following steps:

[0040] S101. When the router receives the INVITE message sent between the clients, it obtains the source IP address and the first IP address of the INVITE message; wherein, the first IP address is used in the INVITE message The IP address for establishing the new media stream connection;

[0041] In step S101, the process of the router receiving the INVITE message transmitted between the clients is specifically: when the calling client initiates a session request, the calling client sends the INVITE message, and the INVITE message forwarded to the called client through t...

Embodiment 2

[0067] Such as Figure 5 As shown, in order to solve the same technical problem, the present invention also provides a kind of router, and SIP server is in intranet; Described router is provided with SIP port or DMZ (Demilitarized Zone, isolated area) for SIP server;

[0068] The router includes a receiving unit 11, an extracting unit 12 and a processing unit 13;

[0069] The receiving unit 11 is configured to receive INVITE messages and 200OK messages transmitted between clients;

[0070] The extracting unit 12 is configured to obtain the source IP address and the first IP address of the received INVITE message; wherein, the first IP address is used to establish a new media stream connection in the INVITE message IP address;

[0071] And obtaining the source IP address and the second IP address of the received 200OK message; wherein, the second IP address is the IP address used to establish a new media stream connection in the 200OK message;

[0072] The processing unit 13...

Embodiment 3

[0087] Such as Figure 6 As shown, in order to solve the same technical problem, the present invention also provides a session establishment system, including a SIP server, a calling client, a called client and the router described in Embodiment 2, the SIP server in the intranet ;

[0088] The calling client sends an INVITE message, which is forwarded to the called client via the SIP server and the router;

[0089] The called client sends a 200 OK message, which is forwarded to the calling client after passing through the SIP server and the router.

[0090] Wherein, the calling client can be set on an internal network or an external network; in addition, the called client can be set on an internal network or an external network. Such as Figure 6 As shown, in one of the specific application scenarios, the SIP server and client C are on the same intranet, and client A and client B are on the external network; it can be understood that when client A calls client B, Client A ...

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 relates to the technical field of communication and discloses a session establishment method, a router and a session system. The session establishment method comprises the following steps: when the router receives an INVITE message transmitted between clients, the router obtains a source IP address and a first IP address of the INVITE message. When the source IP address and the firstIP address of the INVITE message are in the same network segment, NAT ALG processing is performed. The router obtains the source IP address and the second IP address of the 200 OK message when receiving the 200 OK message transmitted between the clients. When the source IP address and the second IP address of the 200 OK packet are in the same network segment, NAT ALG processing is performed. Thesession establishment method of the invention enables the session to be established between the internal network client and the external network client, between the internal network client and the external network client and between the external network clients when the SIP server is in the internal network, and the communication is normal, so as to improve the convenience of the communication.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for establishing a session, a router and a session system. Background technique [0002] SIP (Session Initiation Protocol, Session Initiation Protocol) is a text-based application layer control protocol for creating, modifying and releasing sessions of one or more participants, and the participants of the session can pass multicast, mesh Unicast or a mix of both for communication. Since SIP does not define the type of session that needs to be established, but only defines how to manage the session, it has high flexibility, so SIP is widely used in interactive games, music and video on demand, and voice, video and WEB (World Wide Web , World Wide Web) conferences, etc. [0003] In a common SIP communication network, the SIP server is generally set on an external network, and the calling client can communicate with the called client through the SIP server on the ex...

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): H04L12/741H04L29/12H04L45/74
CPCH04L45/74H04L61/2503H04L61/2564
Inventor 朱海明
Owner 上海联虹技术有限公司
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