# US 2024/0406223 A1 · WebRTC COMMUNICATION METHOD AND SYSTEM

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0406223 A1
- Document ID: US20240406223A1
- Status: Published application
- Kind: A1
- Application number: 18/691,744
- Filed: 2022-06-14
- Published: 2024-12-05
- Earliest claimed: 2021-09-15
- Assignees: Shanghai Bilibili Technology Co., Ltd.
- Applicants: Shanghai Bilibili Technology Co., Ltd.
- Inventors: Qiuran TIAN; Jianqiang DING; Guoshuai BAI
- Web page: https://patentgrep.com/patent/US20240406223A1

## CPC

- H04L 65/1069: Session establishment or de-establishment
- H04L 65/1108: Web based protocols, e.g. webRTC
- Y02D 30/70: in wireless communication networks
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

The present application discloses a WebRTC communication method. The method includes acquiring first device information of a calling terminal device and second device information of a called terminal device; determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a connection; and in response to determining that there is the nonessential information, establishing a WebRTC connection between the calling terminal device and the called terminal device with the nonessential information being excluded and implementing communications between the calling terminal device and the called terminal device. According to the technical solution disclosed in the present application, a network bandwidth and performance consumption of a signaling server can be reduced by over 30%, without affecting a success rate of establishing the WebRTC connection between the two terminal devices.

## Claims

### Claim 1

A method of implementing Web real-time communications (WebRTC), comprising:
acquiring first device information of a calling terminal device and second device information of a called terminal device;
determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a WebRTC connection between the calling terminal device and the called terminal device; and
in response to determining that there is the nonessential information, excluding the nonessential information from being collected and transmitted by the calling terminal device and the called terminal device to a signaling server, establishing the WebRTC connection between the calling terminal device and the called terminal device with the nonessential information being excluded, and implementing WebRTC communications between the calling terminal device and the called terminal device.

### Claim 2 (depends on 1)

The method according to claim 1,
wherein the first device information comprises a first public network IP address of the calling terminal device, and the second device information comprises a second public network IP address of the called terminal device; and
wherein the determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a WebRTC connection between the calling terminal device and the called terminal device further comprises:
determining whether the first public network IP address is the same as the second public network IP address, and
determining information related to a host type of Internet connectivity establishment (ICE) candidate as the nonessential information in response to determining that the first public network IP address is different from the second public network IP address.

### Claim 3 (depends on 1)

The method according to claim 1, wherein Internet connectivity establishment (ICE) candidates comprise a host type of ICE candidate and a non-host type of ICE candidate, and wherein the establishing the WebRTC connections between the calling terminal device and the called terminal device with the nonessential information being excluded further comprises:
establishing the WebRTC connection between the calling terminal device and the called terminal device using information related to the non-host type of ICE candidate in response to determining that a first public network IP address of the calling terminal device is different from a second public network IP address of the called terminal device.

### Claim 4 (depends on 1)

The method according to claim 1, wherein Internet connectivity establishment (ICE) candidates comprise a host type of ICE candidate and a non-host type of ICE candidate, and wherein the method further comprises:
in response to determining that the first public network IP address is the same as the second public network IP address, establishing the WebRTC connection between the calling terminal device and the called terminal device using information related to the ICE candidates.

### Claim at position 5

-8. (canceled)

### Claim 9

A computer device, comprising a memory and a processor, wherein computer-readable instructions are stored on the memory and executable by the processor, and wherein the computer-readable instructions, when executed by the processor, cause the processor to implement operations comprising:
acquiring first device information of a calling terminal device and second device information of a called terminal device;
determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a Web real-time communications (WebRTC) connection between the calling terminal device and the called terminal device; and
in response to determining that there is the nonessential information, excluding the nonessential information from being collected and transmitted by the calling terminal device and the called terminal device to a signaling server, establishing the WebRTC connection between the calling terminal device and the called terminal device with the nonessential information being excluded, and implementing WebRTC communications between the calling terminal device and the called terminal device.

### Claim 10 (depends on 9)

The computer device according to claim 9,
wherein the first device information comprises a first public network IP address of the calling terminal device, and the second device information comprises a second public network IP address of the called terminal device; and
wherein the determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a WebRTC connection between the calling terminal device and the called terminal device further comprises:
determining whether the first public network IP address is the same as the second public network IP address, and
determining information related to a host type of Internet connectivity establishment (ICE) candidate as the nonessential information in response to determining that the first public network IP address is different from the second public network IP address.

### Claim 11 (depends on 9)

The computer device according to claim 9, wherein Internet connectivity establishment (ICE) candidates comprise a host type of ICE candidate and a non-host type of ICE candidate, and wherein the establishing the WebRTC connections between the calling terminal device and the called terminal device with the nonessential information being excluded further comprises:
establishing the WebRTC connection between the calling terminal device and the called terminal device using information related to the non-host type of ICE candidate in response to determining that a first public network IP address of the calling terminal device is different from a second public network IP address of the called terminal device.

### Claim 12 (depends on 9)

The computer device according to claim 9, wherein Internet connectivity establishment (ICE) candidates comprise a host type of ICE candidate and a non-host type of ICE candidate, and wherein the operations further comprise:
in response to determining that the first public network IP address is the same as the second public network IP address, establishing the WebRTC connection between the calling terminal device and the called terminal device using information related to the ICE candidates.

### Claim 13

A non-transitory computer-readable storage medium, storing computer-readable instructions stored thereon, wherein the computer-readable instructions upon execution by at least one processor cause the at least one processor to perform operations comprising:
acquiring first device information of a calling terminal device and second device information of a called terminal device;
determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a Web real-time communications (WebRTC) connection between the calling terminal device and the called terminal device; and
in response to determining that there is the nonessential information, excluding the nonessential information from being collected and transmitted by the calling terminal device and the called terminal device to a signaling server, establishing the WebRTC connection between the calling terminal device and the called terminal device with the nonessential information being excluded, and implementing WebRTC communications between the calling terminal device and the called terminal device.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13,
wherein the first device information comprises a first public network IP address of the calling terminal device, and the second device information comprises a second public network IP address of the called terminal device; and
wherein the determining, based on the first device information and the second device information, whether there is nonessential information with respect to establishing a WebRTC connection between the calling terminal device and the called terminal device further comprises:
determining whether the first public network IP address is the same as the second public network IP address, and
determining information related to a host type of Internet connectivity establishment (ICE) candidate as the nonessential information in response to determining that the first public network IP address is different from the second public network IP address.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein Internet connectivity establishment (ICE) candidates comprise a host type of ICE candidate and a non-host type of ICE candidate, and wherein the establishing the WebRTC connections between the calling terminal device and the called terminal device with the nonessential information being excluded further comprises:
establishing the WebRTC connection between the calling terminal device and the called terminal device using information related to the non-host type of ICE candidate in response to determining that a first public network IP address of the calling terminal device is different from a second public network IP address of the called terminal device.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein Internet connectivity establishment (ICE) candidates comprise a host type of ICE candidate and a non-host type of ICE candidate, and wherein the operations further comprise:
in response to determining that the first public network IP address is the same as the second public network IP address,
establishing the WebRTC connection between the calling terminal device and the called terminal device using information related to the ICE candidates.

### Claim at position 14

-20. (canceled)
