Supercharge Your Innovation With Domain-Expert AI Agents!

Data transmission method and device and computer equipment

A technology for transmitting data and data packets, applied in the live broadcast field, can solve problems such as crashes, memory overflow at the receiving end, uncontrollable transmission traffic, etc.

Inactive Publication Date: 2018-01-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a data transmission method, device and computer equipment, which are used to solve the problem of uncontrollable transmission traffic in the prior art during data transmission during the live broadcast process, if the sending end The rate of sending data packets is too fast, resulting in memory overflow at the receiving end and technical problems of process crashes

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
  • Data transmission method and device and computer equipment
  • Data transmission method and device and computer equipment
  • Data transmission method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] This embodiment provides a method for transmitting data, such as figure 1 As shown, the method includes:

[0055] S101, loading from the current live broadcast room to the interactive live broadcast room; collecting live interactive data packets in the interactive live broadcast room;

[0056] In this step, when the user wants to interact with the host, he must communicate with the host. The user needs to send a request to the host. After the host receives the request, the host and the user will enter the same interactive live broadcast room. In this example, the interactive live broadcast room is different from the live broadcast room where the host is currently live broadcasting, and the interactive live broadcast room in this embodiment may be a microphone-connected room.

[0057]Specifically, based on the microphone-connection request, by calling the loading library function LoadLibrary of the Windows operating system, the douyuInterActive.dll is used as a paramete...

Embodiment 2

[0086] Corresponding to Embodiment 1, this embodiment also provides a device for transmitting data, such as figure 2 As shown, the device includes: a loading unit 21, an acquisition unit 22, a first judgment unit 23, a fragmentation unit 24 and a transmission unit 25; wherein,

[0087] When the user wants to interact with the host, he must communicate with the host. The user needs to send a request to the host. After the host receives the request, the host and the user will enter the same interactive live broadcast room. The interactive live broadcast room is different from the live broadcast room where the host is currently live broadcasting, and the interactive live broadcast room in this embodiment may be a co-mic room.

[0088] Specifically, see image 3 , the loading unit 21 includes: a first acquisition unit 31 and a loading subunit 32, the loading subunit 32 uses the douyuInterActive. The parameters of the service module are used to load the Lianmai service module douy...

Embodiment 3

[0117] This embodiment also provides a computer device for transmitting data, such as Figure 5 As shown, the computer device includes: a radio frequency (Radio Frequency, RF) circuit 310, a memory 320, an input unit 330, a display unit 340, an audio circuit 350, a WiFi module 360, a processor 370, and a power supply 380 and other components. Those skilled in the art can understand that, Figure 5 The structure of the computer device shown in the computer device does not constitute a limitation to the computer device, and may include more or less components than those shown in the illustration, or combine some components, or arrange different components.

[0118] Combine below Figure 5 A detailed introduction to each component of computer equipment:

[0119] The RF circuit 310 can be used for receiving and sending signals, especially, after receiving the downlink information of the base station, the processor 350 processes it. Generally, the RF circuit 310 includes, but 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 provides a data transmission method and device and computer equipment. The method comprises the steps of: loading to an interactive live broadcasting room from a current live broadcasting room; acquiring a live broadcasting interactive data packet in the interactive live broadcasting room; determining whether a size of the data packet exceeds a capacity value of a MTU (Maximum Transmission Unit); if the size of the data packet exceeds the capacity value of the MTU, carrying out fragmentation on the data packet to form each fragment of data packet; and determining whether an idledata window exists in a pre-established data window queue, and if the idle data window exists, transmitting a current fragment of data packet. Therefore, whether the idle data window exists is determined before the fragments of data packets are transmitted, if the idle data window exists, the current fragment of data packet can transmitted, and if no idle data window exists, the current fragment of data packet cannot be transmitted, so that in the data packet sending process, a sending rate of the data packet can be controlled, and phenomena of memory overflow and process crash of a receivingside, which are caused by a case that the receiving side processes the data packet too late, are avoided.

Description

technical field [0001] The invention belongs to the field of live broadcast technology, and in particular relates to a data transmission method, device and computer equipment. Background technique [0002] With the full rise of the live broadcast industry, the broadcast mode of live broadcast has become more and more popular among the public, and more and more live broadcast content has also joined the anchor industry. [0003] In the current live broadcast software, when transmitting data during the live broadcast process, because the transmission flow is uncontrollable, if the rate at which the sending end sends data packets is too fast, the receiving end will not be able to process the data packets in time, which will cause memory overflow at the receiving end , the process crashes. Contents of the invention [0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a data transmission method, device and computer equipme...

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 Applications(China)
IPC IPC(8): H04N21/2187H04N21/262H04N21/2662H04N21/433H04N21/643H04N21/845
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More