Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network block equipment connection method and device, equipment and readable storage medium

A technology of network block devices and connection methods, applied in the field of network block device connection methods, devices and readable storage media, and devices, can solve the problems of not being able to fully utilize the processing performance of Rbd devices

Active Publication Date: 2019-09-20
PING AN TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a connection method, device, device and readable storage medium of a network block device, aiming to solve the problem of sequentially reading multiple io requests from a port-to-structure socket in the prior art, which cannot fully utilize Rbd Technical issues with device handling performance

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
  • Network block equipment connection method and device, equipment and readable storage medium
  • Network block equipment connection method and device, equipment and readable storage medium
  • Network block equipment connection method and device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0059] The present invention provides a network block device connection method. In the first embodiment of the network block device connection method of the present invention, refer to figure 1 , the connection method of the network block device is applied to the Ceph client in the Ceph distributed system, and the connection method of the network block device includes:

[0060] Step S10, when detecting that the rbd-nbd process starts, obtain the number of core CPUs of the Ceph client, determine and generate a first number of port pair structure sockets according to the number of the core CPUs, wherein the sockets are connected to network blocks The nbd device and the rbd-nbd process;

[0061] Step S20, if multiple io requests of the Ceph client are detected, sending the first number of sockets to the target nbd devic...

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 network block equipment connection method and device, equipment and a readable storage medium. The method comprises the following steps: when it is detected that a rbd-nbd process is started, the number of core CPUs of the Ceph client side is obtained so as to determine and generate a first number of port pair structure socket, wherein the socket connects the network block nbd device and the rbd-nbd process; if a plurality of io requests of the Ceph client are detected, a first number of sockets are sent to target nbd equipment pointed by the io requests according to the io requests, so that a first connection between the target nbd device and the rbd-nbd process is established;; and the plurality of io requests is forwarded to a Ceph cluster based on the first connection to obtain processing data. The technical problem that the processing performance of Rbd equipment cannot be fully exerted in the prior art is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a connection method, device, device and readable storage medium of network block devices. Background technique [0002] The Ceph distributed system includes the Ceph client and the Ceph cluster. The Ceph client includes the network block device (network block device). A block device, where the Ceph client can select a created nbd device locally and connect to the rbd device of the Ceph cluster through the preset nbd protocol. Specifically, the rbd device can be understood as a storage volume in the Ceph cluster , it should be noted that in the Ceph distributed system, reading and writing on the Ceph client nbd device needs to be converted into reading and writing to the rbd device in the Ceph cluster. After the reading and writing of the rbd device in the Ceph cluster is completed, obtain the rbd device The read and write content of the Ceph client nbd device is returned to th...

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): H04L29/06H04L29/08
CPCH04L69/162H04L67/141
Inventor 王新
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products