Unlock instant, AI-driven research and patent intelligence for your innovation.

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

A data writing and computer program technology, applied in the field of communication, can solve problems such as long page loading time and complex HTML pages, and achieve the effect of reducing memory pressure and machine burden

Active Publication Date: 2022-03-18
SHANGHAI BILIBILI TECH CO LTD
View PDF0 Cites 0 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, device and computer-readable storage medium
  • Data writing method, system, device and computer-readable storage medium
  • Data writing method, system, 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-S104, 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 HTTP, HTTPS, FTP, SMTP, TELNET and other protocols, 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 receiving window size of a receiving 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 receiving window size is updated based on the...

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

An embodiment of the present application provides a data writing method, the data writing method includes: monitoring whether there is data to be sent; if there is data to be sent, obtaining a flow control parameter; according to the flow control parameter and a preset threshold , controlling to write the data to be sent into the buffer area of ​​the protocol stack, wherein the preset threshold is a preset ratio between the size of the free area in the buffer area of ​​the protocol stack and the flow control parameter. The technical solution provided by this embodiment can determine whether to write the data to be sent into the buffer area of ​​the protocol stack.

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 low-latency Internet transport layer protocol based on UDP. It has many advantages, such as reducing connection delay, avoiding head-of-line blocking, multiple Multiplexing, etc. [0003] The QUIC protocol implements flow control at the stream level and conn...

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 Patents(China)
IPC IPC(8): H04L47/12H04L47/19H04L47/27H04L47/30H04L47/50H04L47/625
CPCH04L47/12H04L47/196H04L47/27H04L47/30H04L47/50H04L47/625H04L47/122H04L47/626
Inventor 王盛周全蔡尚志
Owner SHANGHAI BILIBILI TECH CO LTD