Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data transmission method and data transmission server

A data transmission method and data transmission technology, which are applied in the field of computer-readable storage media and data transmission, and can solve problems such as large consumption of kernel resources

Pending Publication Date: 2021-04-09
SHANGHAI BILIBILI TECH CO LTD
View PDF11 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This application also relates to a data transmission server, a computing device, and a computer-readable storage medium, so as to solve the problem of excessive consumption of kernel resources in the prior art

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 data transmission server
  • Data transmission method and data transmission server
  • Data transmission method and data transmission server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0026] Terms used in one or more embodiments of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of th...

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 a data transmission server. The data transmission method comprises the following steps: creating a main thread and at least two task threads; determining a target task thread through the main thread according to a data packet corresponding to a data transmission task under the condition that the data transmission task for the client is detected; sending the data packet to the target task thread, wherein the target task thread is any task thread in the at least two task threads; receiving a data packet sent by the main thread through the target task thread; determining a first file descriptor corresponding to a client according to the data packet; and communicating with the client through the first file descriptor to perform data transmission. Thus, through communication between the file descriptor and the client, excessive resources do not need to be copied to the kernel, less kernel resources can be utilized, an efficient data transmission method is realized, and kernel resource consumption of the server is reduced.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a data transmission method. The present application also relates to a data transmission server, a computing device, and a computer-readable storage medium. Background technique [0002] With the rapid development of Internet technology, various data transmission protocols have emerged. UDP (User Datagram Protocol, User Datagram Protocol) is a protocol at the transport layer, and its function is to add the most basic services on the datagram service of IP (Internet Protocol, Internet Protocol): multiplexing and demultiplexing and error detection. UDP has the advantages that TCP does not have. UDP has no connection, and there is no delay required to establish a connection in time; in terms of space, TCP needs to maintain the connection state in the end system, which requires a certain amount of overhead. This connection load includes receiving and sending buffers. ...

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): G06F9/50H04L29/06
CPCG06F9/5038G06F9/5055H04L67/01H04L67/06G06F2209/5018G06F2209/508G06F9/5027
Inventor 申小静崔红磊郑翰超胡彪王昊
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products