# US 11,444,992 B2 · Method and apparatus for communication processing

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

- Number: US 11,444,992 B2
- Document ID: US11444992B2
- Status: Granted
- Kind: B2
- Application number: 17/412,844
- Filed: 2021-08-26
- Published: 2022-02-03
- Granted: 2022-09-13
- Earliest claimed: 2020-02-07
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Chunxiang Wei
- Web page: https://patentgrep.com/patent/US11444992B2

## CPC

- H04L 65/4038: with floor control
- H04L 12/1813: {for computer conferences, e.g. chat rooms (instant messaging H04L51/04; protocols for multimedia communication H04L65/1101; arrangements for multi-party communication H04L65/403; telephonic conference arrangements H04M3/56; television conference systems H04N7/15)}
- H04L 12/1827: {Network arrangements for conference optimisation or adaptation}
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 65/1069: Session establishment or de-establishment
- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and an apparatus for communication processing, a terminal, a server, and a storage medium are provided. The method includes: acquiring a first request, in which the first request is configured to request to turn on a microphone and collect audio; sending a second request to a server, in which the second request is configured to request a configuration document required for microphone-connecting and stream-pushing and the configuration document is configured to provide a setting item required for microphone-connecting and stream-pushing; receiving the configuration document returned from the server; parsing the configuration document, turning on the microphone based on the setting item, collecting the audio and implementing the stream-pushing.

## Claims

### Claim 1

A method for communication processing, applicable in a client, comprising:
acquiring a first request, wherein the first request is configured to request to turn on a microphone and collect audio;
establishing a transmission control protocol (TCP) connection with a server;
sending a second request to the server, wherein the second request is configured to request a configuration document required for microphone-connecting and stream-pushing, and the configuration document is configured to provide a setting item required for microphone-connecting and stream-pushing;
receiving the configuration document returned from the server;
turning off the TCP connection with the server;
parsing the configuration document;
turning on the microphone based on the setting item; and
collecting the audio and implementing the stream-pushing, wherein the second request is an HTTP request, and the configuration document is returned by the server as a response to the HTTP request.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
sending a third request to the server based on a success of the stream-pushing, wherein the third request is configured to inform the server of a success of the microphone-connecting.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
re-establishing the TCP connection with the server, and sending the third request to the server through the re-established TCP connection.

### Claim 4 (depends on 1)

The method of claim 1, wherein the configuration document comprises an IP address for the stream-pushing, an audio sample rate, a code format and a code rate.

### Claim 5 (depends on 2)

The method of claim 2, said sending a third request to the server comprising:
sending the third request to the server in response to indication information sent by the server, wherein the indication information is configured to indicate that the server does not receive any stream-pushing data within a time period.

### Claim 6 (depends on 2)

The method of claim 2, said sending a third request to the server comprising:
sending the third request to the server in response to not acquiring any data to be pushed within a time period.

### Claim 7

A method for communication processing, applicable in a server, comprising:
establishing a transmission control protocol (TCP) connection with a client;
receiving a first request sent by the client, wherein the first request is configured to request a configuration document required for microphone-connecting and stream-pushing;
acquiring the configuration document based on the first request, wherein the configuration document is configured to provide a setting item required by the client for microphone-connecting and stream-pushing;
sending the configuration document to the client as a response to the first request; and
turning off the TCP connection with the client,
wherein the first request is an HTTP request, and the configuration document is returned by the server as a response to the HTTP request.

### Claim 8 (depends on 7)

The method of claim 7, said acquiring the configuration document based on the first request comprising:
sending a second request to a streaming media data center based on the first request, wherein the second request is configured to request the configuration document from the streaming media data center; and
receiving the configuration document returned by the streaming media data center.

### Claim 9 (depends on 8)

The method of claim 8, wherein the configuration document is generated by the streaming media data center based on a system load.

### Claim 10 (depends on 7)

The method of claim 7, wherein the configuration document comprises an IP address for the stream-pushing, an audio sample rate, a code format and a code rate.

### Claim 11

An apparatus for communication processing, applicable in a client, comprising:
a processor; and
a memory configured to store instructions executable by the processor;
wherein the processor is configured to execute the instructions to perform the following operations:
acquiring a first request, wherein the first request is configured to request to turn on a microphone and collect audio;
establishing a transmission control protocol (TCP) connection with a server;
sending a second request to the server, wherein the second request is configured to request a configuration document required for microphone-connecting and stream-pushing, and the configuration document is configured to provide a setting item required for microphone-connecting and stream-pushing;
receiving the configuration document returned from the server;
turning off the TCP connection with the server;
parsing the configuration document;
turning on the microphone based on the setting item; and
collecting the audio and implementing the stream-pushing,
wherein the second request is an HTTP request, and the configuration document is returned by the server as a response to the HTTP request.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the processor is further configured to perform the following operation:
sending a third request to the server based on a success of the stream-pushing, wherein the third request is configured to inform the server of a success of the microphone-connecting.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the processor is further configured to perform the following operations:
re-establishing the TCP connection with the server, and sending the third request to the server through the re-established TCP connection.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the configuration document comprises an IP address for the stream-pushing, an audio sample rate, a code format and a code rate.

### Claim 15 (depends on 12)

The apparatus of claim 12, said sending a third request to the server comprising:
sending the third request to the server in response to indication information sent by the server, wherein the indication information is configured to indicate that the server does not receive any stream-pushing data within a time period.

### Claim 16 (depends on 12)

The apparatus of claim 12, said sending a third request to the server comprising:
sending the third request to the server in response to not acquiring any data to be pushed within a time period.
