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

Data writing method and 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, complex process, reducing system performance, etc., to reduce the number of copies, improve performance, and simplify the data copy process.

Active Publication Date: 2019-04-30
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 4 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
  • Data writing method and device, electronic equipment and storage medium
  • Data writing method and device, electronic equipment and storage medium
  • Data writing method and 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 invention discloses a data writing method and device, electronic equipment and a storage medium. The method comprises the steps that in all to-be-written data in a user space, one piece of targetto-be-written data is acquired, and the memory length of the target to-be-written data is determined; comparing the memory length with a preset length threshold value; if the memory length is smallerthan the preset length threshold value, writing the target to-be-written data into a data buffer area; and writing the data in the data buffer area into a socket cache of a kernel space. According tothe embodiment of the invention, the data copying process of writing the data of the user space into the kernel space can be simplified, the copying frequency is reduced, and the system performance isimproved.

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 Applications(China)
IPC IPC(8): G06F3/06G06F9/54H04L29/06
CPCH04L69/162G06F3/0604G06F3/0656G06F3/0679G06F9/547
Inventor 方明
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD