Data writing method, system and device and computer readable storage medium

A data writing and data technology, applied in the field of communication, can solve the problems of complex HTML pages and long page loading times.

Active Publication Date: 2020-10-27
SHANGHAI BILIBILI TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with images, videos and other multimedia content, increased multimedia content means that HTML pages are becoming more complex, making page load times longer than ever before

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 writing method, system and device and computer readable storage medium
  • Data writing method, system and device and computer readable storage medium
  • Data writing method, system and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] figure 2 A flowchart of a data writing method according to Embodiment 1 of the present application is schematically shown. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. An exemplary description is given below taking the computer device 2 as the execution subject.

[0051] Such as figure 2 As shown, the data writing method may include steps S100-S108, wherein:

[0052] Step S100, monitoring whether there is data to be sent.

[0053] Exemplary: monitoring whether the application program 2A generates data to be sent, the data to be sent can be a request message or a response message, and the data to be sent can be used to carry video, audio, text, pictures and other data content.

[0054] Exemplarily, the application program 2A may be an application layer program based on HTTP, HTTPS, FTP, SMTP, TELNET and other protocols, such as a Web browser program.

[0055] Step S102, if there is the data...

Embodiment 2

[0088] Figure 5 A flowchart of a data writing method according to Embodiment 2 of the present application is schematically shown. The data writing method may include steps S400-S410, wherein:

[0089] Step S400, monitoring whether there is data to be sent.

[0090] Specifically: monitor whether the application program generates data to be sent, and the data to be sent may be a request message or a response message. The application program may be an application layer program based on protocols such as HTTP, HTTPS, FTP, SMTP, TELNET, etc., such as a Web browser program.

[0091] Step S402, if there is the data to be sent, obtain flow control parameters.

[0092] In an exemplary embodiment, the flow control parameter includes a congestion window size of a congestion window of the data receiving end.

[0093] In an exemplary embodiment, when the computer device 2 communicates with the data receiving end 4 based on the QUIC protocol, the congestion window size is updated based...

Embodiment 3

[0120] Figure 9 A flow chart of the data writing method according to Embodiment 3 of the present application is schematically shown. The data writing method may include steps S600-S602, wherein:

[0121] Step S600, receiving a query instruction from an application program.

[0122] The application program is at the application layer, and the query instruction is an instruction for the application program to call a specified API in the transport layer to request the transport layer to feed back specified flow control parameters to the application program.

[0123] specific:

[0124]When the application program of the application layer generates data to be sent, the data to be sent needs to be written into the protocol stack cache area; and the data to be sent is read from the protocol stack cache area by the protocol stack of the transport layer, and the The read data to be sent is encapsulated into one or more data packets (eg, TCP data packets, QUIC data packets, etc.), a...

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 embodiment of the invention provides a data writing method. The data writing method comprises the steps of monitoring whether to-be-sent data exist or not; if the to-be-sent data exist, obtaininga flow control parameter; and according to the flow control parameter and a preset threshold, controlling to write the to-be-sent data into a protocol stack cache region, the preset threshold being apreset ratio between the size of an idle region in the protocol stack cache region and the flow control parameter. According to the technical scheme provided by the embodiment of the invention, whether the to-be-sent data are written into the protocol stack cache region or not can be determined.

Description

technical field [0001] The embodiments of the present application relate to the technical field of communications, and in particular, to a data writing method, system, device, and computer-readable storage medium. Background technique [0002] The HTTP protocol based on TCP is the most widely used network protocol on the Internet, and is used to transmit Hypertext Markup Language (HTML) documents from servers to computer devices. However, increased multimedia content means that HTML pages are becoming more complex, along with images, videos, and other multimedia content, making page load times longer than ever. In the above background, the QUIC (QUIC UDP Internet Connections) transport protocol was proposed, which is a UDP-based low-latency Internet transport layer protocol, which has many advantages, such as reducing connection delay, avoiding queue head blocking, multiple Multiplexing, etc. [0003] The QUIC protocol implements flow control at the stream level and connec...

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): H04L12/801H04L12/807H04L12/835H04L12/863H04L47/27H04L47/30
CPCH04L47/12H04L47/196H04L47/27H04L47/30H04L47/50H04L47/625H04L47/122H04L47/626
Inventor 王盛周全蔡尚志
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products