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

Method for writing data into storage device and storage device

A storage device and data writing technology, which is applied to multi-program devices, inter-program communication, program control devices, etc., can solve the problems of waste of storage device processor resources, etc.

Active Publication Date: 2019-02-19
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when data is written into the storage device, the network card first allocates the receiving buffer in advance, and after the above pre-allocation process is completed, the network card receives the RPC message sent by the NAS client, and writes the data part of the RPC message into the receiving buffer, and then notify the processor to copy the data part in the receiving buffer to the memory according to the pre-allocated memory address for the data part, that is, every time an RPC message is received, there is a process of data copying, and the The process of data copying usually consumes 30%-40% of processor resources
In addition, if all RPC messages include multiple RPC messages, multiple data copy processes are required, thus causing a serious waste of processor resources of the storage device

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
  • Method for writing data into storage device and storage device
  • Method for writing data into storage device and storage device
  • Method for writing data into storage device and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] In order to facilitate the understanding of the embodiments of the present invention, further explanations will be given below with specific embodiments in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the present invention.

[0038] The method for writing data into a storage device prov...

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

A method for writing data into a storage device and a storage device. The storage device comprises a network card, a memory and a processor. The method executed by a network card comprises: receiving a remote procedure call (RPC) message, the RPC message comprising attribute information and data to be written into a storage device (S210); parsing the RPC message according to the attribute information so as to obtain the data (S220); receiving an address allocation message sent by a processor, the address allocation message comprising a memory address pre-allocated by the processor for the data (S230); and writing the data into the memory according to the memory address (S240). Thus, repeated copying of a data part in a storage device can be avoided, and accordingly the purpose of saving processor resources of the storage device is achieved.

Description

technical field [0001] The invention relates to the field of mobile communication, in particular to a method for writing data into a storage device and the storage device. Background technique [0002] Storage devices in the network often have the function of storing data, such as network attached storage (NetworkAttached Storage, NAS), which includes: network card, processor and memory, and the device that accesses the data stored in NAS is called NAS client, NAS The client communicates with the NAS based on the Remote Procedure Call Protocol (RPC) protocol. The RPC protocol is a protocol that requests services from a remote computer program through the network without knowing the underlying network technology. In the OSI network communication model, RPC spans the transport layer and the application layer. RPC makes it easier to develop applications including network distributed multiprogramming. [0003] In the prior art, when data is written into the storage device, the...

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): G06F9/54
CPCG06F9/44
Inventor 罗先强邱军严华兵
Owner HUAWEI TECH CO LTD