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

A data writing method, device, electronic equipment and storage medium

A data writing and data technology, applied in the field of data processing, can solve the problems of increasing system copy loss, complicated process, and reducing system performance, so as to reduce the number of copies, improve performance, and simplify the data copy process.

Active Publication Date: 2022-04-29
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The disadvantage of the existing technology is that there are multiple copies in the process of writing user space data to the kernel space, the process is complicated, the copy loss of the system is increased, and the system performance is reduced

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
  • A data writing method, device, electronic equipment and storage medium
  • A data writing method, device, electronic equipment and storage medium
  • A data writing method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present disclosure, but not to limit the present disclosure. In addition, it should be noted that, for the convenience of description, only some structures related to the present disclosure are shown in the drawings but not all structures.

[0057] figure 1It is a flow chart of a data writing method provided by an embodiment of the present disclosure. This embodiment is applicable to the case of data writing. The method can be executed by a data writing device, and the device can use software and / or hardware Realized in a manner, the apparatus can be configured in an electronic device, such as a terminal device or a server. Such as figure 1 As shown, the method may include the following steps:

[0058] Step 101. Obtain a target data to be writt...

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 disclosure discloses a data writing method, device, electronic equipment and storage medium. Wherein, the method includes: obtaining a target data to be written in all the data to be written in the user space, and determining the memory length of the target data to be written; comparing the memory length with a preset length threshold size; if the memory length is less than the preset length threshold, write the target data to be written into the data buffer; write the data in the data buffer to the socket of the kernel space cache. The embodiment of the present disclosure can simplify the data copy process of writing the data in the user space to the kernel space, reduce the number of copies, and improve the performance of the system.

Description

technical field [0001] Embodiments of the present disclosure relate to data processing technologies, and in particular, to a data writing method, device, electronic device, and storage medium. Background technique [0002] Remote Procedure Call (Remote Procedure Call, RPC) is a service model of a Client / Server (Client / Server, C / S) architecture. RPC means that a machine (client) can call a function or method (collectively referred to as a service) on another machine (server) by passing parameters and get the returned result. In an actual large-scale distributed system, different services are often implemented in different languages, so a general RPC system will provide a cross-language procedure call function. For example, a piece of client code implemented in C++ can remotely call a service implemented in Java on the server side. A complete RPC system is mainly divided into three levels: service layer (service), including RPC interface definition and implementation; protoc...

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): G06F3/06G06F9/54H04L69/16
CPCH04L69/162G06F3/0604G06F3/0656G06F3/0679G06F9/547
Inventor 方明
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD