A session establishment method, router and session system

A session establishment and router technology, applied in the field of communication, can solve problems such as the failure of the client to communicate normally

Active Publication Date: 2021-08-06
上海联虹技术有限公司
View PDF10 Cites 0 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 communicate normally when the SIP server and one of the clients are on the internal network and the other client is on the external network. To improve the convenience of communication

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
  • A session establishment method, router and session system
  • A session establishment method, router and session system
  • A 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 Image 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 Image 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 is...

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 field of communication technology, and discloses a session establishment method, a router and a session system. The session establishment method includes: when the router receives an INVITE message transmitted between clients, obtains the source IP address and the first IP address of the INVITE message One IP address; when the source IP address of the INVITE message is on the same network segment as the first IP address, NAT ALG processing is performed; when the router receives the 200 OK message transmitted between the clients, it obtains the source of the 200 OK message IP address and second IP address; when the source IP address of the 200 OK message and the second IP address are in the same network segment, perform NAT ALG processing. The session establishment method of the present invention makes when the SIP server is in the internal network, sessions can be established between the internal network client and the external network client, between the internal network clients, and between the external network clients, and normal communication is improved. Ease of 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
Patent Type & Authority Patents(China)
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