# US 2015/0106438 A1 · Real Time Communication Method, Terminal Device, Real Time Communication Server and Real Time Communication System

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

- Number: US 2015/0106438 A1
- Document ID: US20150106438A1
- Status: Published application
- Kind: A1
- Application number: 14/576,037
- Filed: 2014-12-18
- Published: 2015-04-16
- Earliest claimed: 2012-07-30
- Assignees: Huawei Device Co., Ltd.
- Applicants: Huawei Device Co., Ltd.
- Inventors: Shunan Fan; Wenmei Gao; Xiaoqiang Lv; Yahui Wang
- Web page: https://patentgrep.com/patent/US20150106438A1

## CPC

- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 12/1818: {Conference organisation arrangements, e.g. handling schedules, setting up parameters needed by nodes to attend a conference, booking network resources, notifying involved parties}
- H04L 65/1059: End-user terminal functionalities specially adapted for real-time communication
- H04L 65/1073: Registration or de-registration
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention provides a real time communication method, a terminal device, an RTC server and an RTC system. The method includes: receiving, by a first terminal, call request information that is sent by another terminal to the first terminal and forwarded by an RTC server and, where the call request information carries a unique identifier of a WEB-based RTC application of a terminal sending the call request information; and determining, by the first terminal, whether to accept a call request according to the unique identifier of the WEB RTC of the terminal sending the call request information, if yes, sending request information for opening the WEB-based RTC application to the RTC server, and after receiving information of the WEB-based RTC application returned by the RTC server, communicating, by using the WEB-based RTC application, with the terminal sending the call request information.

## Claims

### Claim 1

A real time communication method, wherein the method comprises:
receiving, by a first terminal, call request information that is sent by another terminal to the first terminal and forwarded by a real time communication RTC server, wherein the call request information carries a unique identifier of a WEB-based RTC application of the terminal sending the call request information; and
determining, by the first terminal according to the unique identifier of the WEB-based RTC application of the terminal sending the call request information, whether to accept a call request, and if it is determined that the call request needs to be accepted, sending request information for opening the WEB-based RTC application to the RTC server, and after receiving information of the WEB-based RTC application returned by the RTC server, communicating, by using the WEB-based RTC application, with the terminal sending the call request information.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before the receiving, by a first terminal, call request information that is sent by another terminal to the first terminal and forwarded by an RTC server, the method further comprises:
sending, by the first terminal to the real time communication RTC server, request information for registering an offline service, wherein the information carries a unique identifier of a WEB-based RTC application, so that after receiving the request information for registering an offline service, the RTC server enables an offline mode for the WEB-based RTC application corresponding to the unique identifier, and feeds back success response information to the first terminal; and
closing, by the first terminal, the WEB-based RTC application after receiving the success response information fed back by the RTC server.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the request information for opening the WEB-based RTC application further carries a type of a WEB-based RTC application selected by a user, so that after receiving the request information for opening the WEB-based RTC application, the RTC server returns a WEB-based RTC application with a same type as the WEB-based RTC application.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the call request information further carries identification information of a browser engine of the terminal sending the call request information; and
the receiving, by the first terminal, call request information sent by the RTC server comprises:
parsing, by a monitoring client of the first terminal, the call request information after receiving the call request information sent by the RTC server, determining, according to the identification information of the browser engine in the call request information, that the call request information is information sent to a browser engine, and sending the call request information to a browser engine of the first terminal.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the call request information further carries Session Description Protocol Offer SDP Offer information for session negotiation; and
the sending, by the first terminal, request information for opening the WEB-based RTC application to the RTC server, and after receiving information of the WEB-based RTC application returned by the RTC server, communicating, by using the WEB-based RTC application, with the terminal sending the call request information specifically comprises:
sending, by the first terminal, the request information for opening the WEB-based RTC application to the RTC server through the browser engine, and after receiving the information of the WEB-based RTC application returned by the RTC server, sending the SDP Offer information in the call request information to the WEB-based RTC application, generating SDP Answer information according to the SDP Offer information by using the WEB-based RTC application, sending the SDP Answer information to the browser engine by using the WEB-based RTC application, and sending the SDP Answer information to the RTC server through the browser engine, so that the RTC server sends the SDP Answer information to the browser engine of the terminal sending the call request information, so as to establish a communication channel for starting communication.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the call request information further carries Session Description Protocol Offer SDP Offer information for session negotiation; and
the sending, by the first terminal, request information for opening the WEB-based RTC application to the RTC server, and after receiving information of the WEB-based RTC application returned by the RTC server, communicating, by using the WEB-based RTC application, with the terminal sending the call request information specifically comprises:
sending, by the first terminal, the request information for opening the WEB-based RTC application to the RTC server, wherein the request information for opening the WEB-based RTC application carries SDP Answer information, so that after receiving the request information for opening the WEB-based RTC application, the RTC server returns the information of the WEB-based RTC application to the first terminal, and sends the SDP Answer information in the request information for opening the WEB-based RTC application to the browser engine of the terminal sending the call request information, so as to establish a communication channel; and
receiving, by the first terminal, the information of the WEB-based RTC application returned by the RTC server, and communicating, by using the WEB-based RTC application, with the terminal sending the call request information.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the sending, by the first terminal, request information for opening the WEB-based RTC application to the RTC server, and after receiving information of the WEB-based RTC application returned by the RTC server, communicating, by using the WEB-based RTC application, with the terminal sending the call request information specifically comprises:
sending, by the first terminal through the browser engine, the request information for opening the WEB-based RTC application to the RTC server; and after receiving the information of the WEB-based RTC application and SDP Offer information that are returned by the RTC server, generating SDP Answer information according to the SDP Offer information by using the WEB-based RTC application, sending the SDP Answer information to the browser engine by using the WEB-based RTC application, and sending the SDP Answer information to the RTC server through the browser engine, so that the RTC server sends the SDP Answer information to the browser engine of the terminal sending the call request information, so as to establish a communication channel for starting communication.

### Claim 8

A real time communication method, wherein the method comprises:
sending, by a real time communication RTC server after receiving call request information sent by another terminal to a first terminal, the call request information to the first terminal, wherein the call request information carries a unique identifier of a WEB-based RTC application of the terminal sending the call request information; and
returning, by the RTC server, information of the WEB-based RTC application to the first terminal after receiving request information that is used for opening the WEB-based RTC application and sent by the first terminal, so that after receiving the information of the WEB-based RTC application returned by the RTC server, the first terminal communicates, by using the WEB-based RTC application, with the terminal sending the call request information.

### Claim 9 (depends on 8)

The method according to claim 8, wherein before the step of receiving, by the RTC server, call request information sent by another terminal to a first terminal, the method further comprises:
enabling, by the RTC server after receiving request information for registering an offline service sent by the first terminal, an offline mode for a WEB-based RTC application corresponding to a unique identifier of the WEB-based RTC application in the information, and feeding back success response information to the first terminal, so that the first terminal closes the WEB-based RTC application after receiving the success response information fed back by the RTC server.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the enabling, by the RTC server after receiving request information for registering an offline service, an offline mode for a WEB-based RTC application corresponding to a unique identifier specifically comprises:
after receiving the request information for registering an offline service, determining, by the RTC server according to the unique identifier of the WEB-based RTC application carried in the request information for registering an offline service, whether the WEB-based RTC application corresponding to the unique identifier has permission to request registration of the offline service, and if yes, enabling the offline mode for the WEB-based RTC application corresponding to the unique identifier.

### Claim 11

A terminal device, wherein the terminal device comprises:
an information receiving unit, configured to receive call request information that is sent by another terminal to the terminal device and forwarded by a real time communication RTC server, wherein the call request information carries a unique identifier of a WEB-based RTC application of the terminal sending the call request information; and
a processing unit, configured to determine, according to the unique identifier of the WEB-based RTC application of the terminal sending the call request information, whether to accept a call request, wherein the unique identifier is carried in the call request information received by the information receiving unit; if it is determined that the call request needs to be accepted, send request information for opening the WEB-based RTC application to the RTC server; and after receiving information of the WEB-based RTC application returned by the RTC server, communicate, by using the WEB-based RTC application, with the terminal sending the call request information.

### Claim 12 (depends on 11)

The terminal device according to claim 11, further comprising:
an information sending unit, configured to send, to the real time communication RTC server, request information for registering an offline service, wherein the information carries a unique identifier of a WEB-based RTC application, so that after receiving the request information for registering an offline service, the RTC server enables an offline mode for the WEB-based RTC application corresponding to the unique identifier, and feeds back success response information to the first terminal; and
a closing unit, configured to close the WEB-based RTC application after the success response information fed back by the RTC server is received.

### Claim 13 (depends on 11)

The terminal device according to claim 11, wherein the request information for opening the WEB-based RTC application further carries a type of a WEB-based RTC application selected by a user, so that after receiving the request information for opening the WEB-based RTC application, the RTC server returns a WEB-based RTC application with a same type as the WEB-based RTC application.

### Claim 14 (depends on 11)

The terminal device according to claim 11, wherein the call request information further carries identification information of a browser engine of the terminal sending the call request information; and
the information receiving unit is specifically configured to receive, through a monitoring client of the terminal device, the call request information sent by the RTC server, parse the call request information, determine, according to the identification information of the browser engine in the call request information, that the call request information is information sent to a browser engine, and send the call request information to a browser engine of the first terminal.

### Claim 15 (depends on 11)

The terminal device according to claim 11, wherein the call request information further carries Session Description Protocol Offer SDP Offer information for session negotiation; and
the processing unit is specifically configured to send request information for opening the WEB-based RTC application to the RTC server through the browser engine of the terminal device, and after receiving the information of the WEB-based RTC application returned by the RTC server, send the SDP Offer information in the call request information to the WEB-based RTC application, generate SDP Answer information according to the SDP Offer information by using the WEB-based RTC application, send the SDP Answer information to the browser engine by using the WEB-based RTC application, and send the SDP Answer information to the RTC server through the browser engine, so that the RTC server sends the SDP Answer information to the browser engine of the terminal sending the call request information, so as to establish a communication channel for starting communication.

### Claim 16 (depends on 11)

The terminal device according to claim 11, wherein the call request information further carries Session Description Protocol Offer SDP Offer information for session negotiation; and
the processing unit is specifically configured to send request information for opening the WEB-based RTC application to the RTC server through the browser engine of the terminal device, wherein the request information for opening the WEB-based RTC application carries SDP Answer information, so that the RTC server returns the information of the WEB-based RTC application to the first terminal after receiving the request information for opening the WEB-based RTC application, and sends the SDP Answer information in the request information for opening the WEB-based RTC application to the browser engine of the terminal sending the call request information, so as to establish a communication channel; and after receiving the information of the WEB-based RTC application returned by the RTC server, communicate, by using the WEB-based RTC application, with the terminal sending the call request information.

### Claim 17 (depends on 11)

The terminal device according to claim 11, wherein the processing unit is specifically configured to send request information for opening the WEB-based RTC application to the RTC server through the browser engine of the terminal device, and after receiving the information of the WEB-based RTC application and SDP Offer information that are returned by the RTC server, generate SDP Answer information according to the SDP Offer information by using the WEB-based RTC application, send the SDP Answer information to the browser engine by using the WEB-based RTC application, and send the SDP Answer information to the RTC server through the browser engine, so that the RTC server sends the SDP Answer information to the browser engine of the terminal sending the call request information to establish a communication channel for starting communication.

### Claim 18

A real time communication RTC server, wherein the RTC server comprises:
a first sending unit, configured to, after call request information sent by another terminal to a first terminal is received, send the call request information to the first terminal, wherein the call request information carries a unique identifier of a WEB-based RTC application of the terminal sending the call request information; and
a second sending unit, configured to, after request information that is used for opening the WEB-based RTC application and sent by the first terminal is received, return information of the WEB-based RTC application to the first terminal, so that after receiving the information of the WEB-based RTC application returned by the RTC server, the first terminal communicates, by using the WEB-based RTC application, with the terminal sending the call request information.

### Claim 19 (depends on 18)

The RTC server according to claim 18, wherein the RTC server further comprises:
an enabling unit, configured to, after request information for registering an offline service sent by the first terminal is received, enable an offline mode for a WEB-based RTC application corresponding to a unique identifier of the WEB-based RTC application in the information, and feed back success response information to the first terminal, so that after receiving the success response information fed back by the RTC server, the first terminal closes the WEB-based RTC application.

### Claim 20 (depends on 19)

The RTC server according to claim 19, wherein the enabling unit is specifically configured to, after the request information for registering an offline service is received, determine, according to the unique identifier of the WEB-based RTC application carried in the request information for registering an offline service, whether the WEB-based RTC application corresponding to the unique identifier has permission to request registration of the offline service, and if yes, enable the offline mode for the WEB-based RTC application corresponding to the unique identifier.
