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

Partition identification method, device, device and storage medium of network block device

A network block device and identification method technology, which is applied to the network block device partition identification method, equipment and storage media, and device fields, to achieve the effect of avoiding time limit and flexible partition identification time

Active Publication Date: 2022-04-19
PING AN TECH (SHENZHEN) CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If this time is missed, manual intervention is required to read the partition of the network device, that is, the partition identification of the current network block device will be limited by time, how to more flexibly identify the partition of the network block device has become a technical problem to be solved urgently

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
  • Partition identification method, device, device and storage medium of network block device
  • Partition identification method, device, device and storage medium of network block device
  • Partition identification method, device, device and storage medium of network block device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0048] Such as figure 1 as shown, figure 1 It is a terminal of the hardware operating environment involved in the solution of the embodiment of the present invention (also called a client or a partition identification device of a network block device, wherein the partition identification device of a network block device may be composed of a separate network block device partition identification device, It can also be formed by a combination of other devices and the partition identification device of the network block device) Structural schematic diagram.

[0049]The terminal in the embodiment of the present invention can be a fixed terminal or a mobile terminal, such as an intelligent air conditioner with a networking function, an intelligent light, an intelligent power supply, an intelligent speaker, an automatic dr...

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 partition identification method of a network block device, comprising: when the client detects that the rbd-nbd process starts, the kernel of the client sends a network block device creation instruction to the network block device driver; when the network block device is created , the rbd‑nbd process establishes a connection between the network block device and the mirror device in the preset storage cluster to perform network block device protocol docking; when the network block device protocol docking is completed, a partition identification thread is created in the rbd‑nbd process; The partition identification instruction is triggered by the partition identification thread, and the scanning operation is performed according to the partition identification instruction, and the partition information of the network block device is obtained and output. The invention also discloses a partition identification device, device and storage medium of the network block device. The present invention effectively avoids the time limit of partition identification, making the partition identification time more flexible.

Description

technical field [0001] The invention relates to the field of network block devices, in particular to a partition identification method, device, device and storage medium of network block devices. Background technique [0002] A network block device (nbd device for short) is a block device widely used in Linux systems. [0003] According to the current network block device protocol, I / O requests (abbreviation for input / output (input / output)) can only be performed after the network block device and the mirror device in the storage cluster are connected through the network block device protocol. The premise of network block device protocol docking is that the network block device is ready, and the partition information of the network block device will be read before the network block device is ready. If this time is missed, manual intervention is required to read the partition of the network device, that is, the partition identification of the current network block device will...

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/4401
CPCG06F9/4416G06F9/4411
Inventor 王新
Owner PING AN TECH (SHENZHEN) CO LTD