Method for processing live-streaming interaction video and server
Abstract
A method for processing a live-streaming interaction video comprises sending a data transmission request to a first anchor terminal and a second anchor terminal in response to a response message from the first anchor terminal; receiving first live-streaming data, first interaction information, second live-streaming data and second interaction information; acquiring target live-streaming data by fusing the first live-streaming data, the first interaction information, the second live-streaming data with the second interaction information; and sending the target live-streaming data to multiple audience terminals.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for processing a live-streaming interaction video, executable by a server, the method comprising:
sending a data transmission request to a first anchor terminal and a second anchor terminal in response to a response message from the first anchor terminal, wherein the response message is intended to response to an interaction connection request that is sent from the second anchor terminal; receiving first live-streaming data, first interaction information, second live-streaming data and second interaction information over preset video stream transmission lines, wherein the first live-streaming data is live-streaming data corresponding to the first anchor terminal during live-streaming in a first live-streaming room, the first interaction information is interaction information posted by a first audience account in the first live-streaming room, the second live-streaming data is live-streaming data corresponding to the second anchor terminal during live-streaming in a second live-streaming room, and the second interaction information is interaction information posted by a second audience account in the second live-streaming room; acquiring target live-streaming data by fusing the first live-streaming data, the first interaction information, the second live-streaming data with the second interaction information; and sending the target live-streaming data to multiple audience terminals, wherein the multiple audience terminals comprise a terminal corresponding to the first audience account and a terminal corresponding to the second audience account.
2 . The method according to claim 1 , wherein said acquiring the target live-streaming data by fusing the first live-streaming data, the first interaction information, the second live-streaming data with the second interaction information comprises:
acquiring first audio and video data and second audio and video data by decoding the first live-streaming data and the second live-streaming data, respectively; acquiring target audio and video data based on the first audio and video data and the second audio and video data; and acquiring the target live-streaming data by fusing the target audio and video data, the first interaction information, and the second interaction information.
3 . The method according to claim 2 , said acquiring the target audio and video data based on the first audio and video data and the second audio and video data comprises:
acquiring fused audio and video data by fusing the first audio and video data with the second audio and video data; and acquiring the target audio and video data by encoding the fused audio and video data.
4 . The method according to claim 1 , wherein said sending the target live-streaming data to the multiple audience terminals comprises:
sending the target live-streaming data to a content distribution network; superimposing, over the content distribution network, the target live-streaming data into original live-streaming data of the first anchor terminal and the second anchor terminal respectively; and sending the superimposed target live-streaming data to the multiple audience terminals.
5 . The method according to claim 4 , further comprising:
receiving a live-streaming watching request from a target terminal, wherein the target terminal is a terminal corresponding to an audience account newly entering the first live-streaming room or the second live-streaming room; and sending the live-streaming watching request to the content distribution network, and sending the target live-streaming data to the target terminal over the content distribution network.
6 . The method according to claim 1 , said receiving the first live-streaming data, the first interaction information, the second live-streaming data and the second interaction information over preset video stream transmission lines comprises:
determining a first transmission line corresponding to the first anchor terminal and a second transmission line corresponding to the second anchor terminal from the preset video stream transmission lines; receiving the first live-streaming data and the first interaction information over the first transmission line; and receiving the second live-streaming data and the second interaction information over the second transmission line.
7 . The method according to claim 1 , wherein the first live-streaming data further carries first anchor information and first audience information of the first audience account in the first live-streaming room, and the second live-streaming data further carries second anchor information and second audience information of the second audience account in the second live-streaming room; and
the method further comprises: sending the first anchor information, the first audience information, the second anchor information and the second audience information to the multiple audience terminals, and displaying the first anchor information, the first audience information, the first interaction information, the second anchor information, the second audience information and the second interaction information in response to the multiple audience terminals displaying a live-streaming interaction video corresponding to the target live-streaming data.
8 . The method according to claim 1 , wherein the preset video stream transmission lines are private user datagram protocol (UDP) lines.
9 . The method according to claim 8 , further comprising:
determining target private UDP lines that are idle or currently have transmission data less than a preset threshold from preset private UDP lines; and determining the preset video stream transmission lines from the target private UDP lines.
10 . A method for processing a live-streaming interaction video, executable by an audience terminal, the method comprising:
sending a live-streaming watching request to a server, wherein the live-streaming watching request is configured to instruct the server to acquire target live-streaming data, wherein the target live-streaming data is acquired by fusing first live-streaming data, first interaction information, second live-streaming data and second interaction information received over preset video stream transmission lines by the server, wherein the first live-streaming data is live-streaming data corresponding to a first anchor terminal during live-streaming in a first live-streaming room, the first interaction information is interaction information posted by a first audience account in the first live-streaming room, the second live-streaming data is live-streaming data corresponding to a second anchor terminal during live-streaming in a second live-streaming room, the second interaction information is interaction information posted by a second audience account in the second live-streaming room, and the audience terminal is a terminal corresponding to the first audience account or the second audience account; receiving the target live-streaming data from the server; and displaying a live-streaming interaction video corresponding to the target live-streaming data, and displaying the first interaction information and the second interaction information.
11 . The method according to claim 10 , wherein the first live-streaming data further carries first anchor information and first audience information of the first audience account in the first live-streaming room, and the second live-streaming data further carries second anchor information and second audience information of the second audience account in the second live-streaming room;
the method further comprises: receiving and displaying the first anchor information, the first audience information, the second anchor information and the second audience information sent by the server.
12 . A server, comprising:
a processor; and a memory configured to store at least one instruction executable by the processor, wherein the processor, when loading and executing the at least one instruction, is caused to perform: sending a data transmission request to a first anchor terminal and a second anchor terminal in response to a response message from the first anchor terminal, wherein the response message is intended to response to an interaction connection request that is sent from the second anchor terminal; receiving first live-streaming data, first interaction information, second live-streaming data and second interaction information over preset video stream transmission lines, wherein the first live-streaming data is live-streaming data corresponding to the first anchor terminal during live-streaming in a first live-streaming room, the first interaction information is interaction information posted by a first audience account in the first live-streaming room, the second live-streaming data is live-streaming data corresponding to the second anchor terminal during live-streaming in a second live-streaming room and the second interaction information is interaction information posted by a second audience account in the second live-streaming room; acquiring target live-streaming data by fusing the first live-streaming data, the first interaction information, the second live-streaming data with the second interaction information; and sending the target live-streaming data to multiple audience terminals, wherein the multiple audience terminals comprise a terminal corresponding to the first audience account and a terminal corresponding to the second audience account.
13 . The server according to claim 12 , wherein the processor, when loading and executing the at least one instruction, is caused to perform:
acquiring first audio and video data and second audio and video data by decoding the first live-streaming data and the second live-streaming data respectively; acquiring target audio and video data based on the first audio and video data and the second audio and video data; and acquiring the target live-streaming data by fusing the target audio and video data, the first interaction information with the second interaction information.
14 . The server according to claim 13 , wherein the processor, when loading and executing the at least one instruction, is caused to perform:
acquiring fused audio and video data by fusing the first audio and video data with the second audio and video data; and acquiring the target audio and video data by encoding the fused audio and video data.
15 . The server according to claim 12 , wherein the processor, when loading and executing the at least one instruction, is caused to perform:
sending the target live-streaming data to a content distribution network; superimposing, over the content distribution network, the target live-streaming data into original live-streaming data of the first anchor terminal and the second anchor terminal respectively; and sending the superimposed target live-streaming data to the multiple audience terminals.
16 . The server according to claim 15 , wherein the processor, when loading and executing the at least one instruction, is caused to perform:
receiving a live-streaming watching request from a target terminal, wherein the target terminal is a terminal corresponding to an audience account newly entering the first live-streaming room or the second live-streaming room; and sending the live-streaming watching request to the content distribution network, and sending the target live-streaming data to the target terminal over the content distribution network.
17 . The server according to claim 12 , wherein the processor, when loading and executing the at least one instruction, is caused to perform:
determining a first transmission line corresponding to the first anchor terminal and a second transmission line corresponding to the second anchor terminal from the preset video stream transmission lines; receiving the first live-streaming data and the first interaction information over the first transmission line; and receiving the second live-streaming data and the second interaction information over the second transmission line.
18 . The server according to claim 12 , wherein the first live-streaming data further carries first anchor information and first audience information of the first audience account in the first live-streaming room, and the second live-streaming data further carries second anchor information and second audience information of the second audience account in the second live-streaming room; and
the processor, when loading and executing the at least one instruction, is caused to perform: sending the first anchor information, the first audience information, the second anchor information and the second audience information to the multiple audience terminals, and displaying the first anchor information, the first audience information, the first interaction information, the second anchor information, the second audience information and the second interaction information in response to the multiple audience terminals displaying a live-streaming interaction video corresponding to the target live-streaming data.
19 . The server according to claim 12 , wherein the preset video stream transmission lines are private user datagram protocol (UDP) lines.
20 . The server according to claim 19 , wherein the processor, when loading and executing the at least one instruction, is caused to perform:
determining target private UDP lines that are idle or currently have transmission data less than a preset threshold from preset private UDP lines; and determining the preset video stream transmission lines from the target private UDP lines.Join the waitlist — get patent alerts
Track US2022312049A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.