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

Method and device for realizing request by using virtio drive and storage medium

A storage medium and storage unit technology, which is applied in the direction of program control device, software deployment, program control design, etc., can solve problems such as user business impact, and achieve the effect of avoiding serious impact and quickly and automatically recovering

Active Publication Date: 2019-07-05
UCLOUD TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this can have a serious impact on user business

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 and device for realizing request by using virtio drive and storage medium
  • Method and device for realizing request by using virtio drive and storage medium
  • Method and device for realizing request by using virtio drive and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0033] figure 1 It is a structural diagram of an apparatus 1 for implementing a request by using a virtio driver according to an embodiment of the present invention. The device 1 includes a receiving unit 10 , an information generating and storing unit 11 , an information acquiring unit 12 , a retrieving unit 13 , and an indicating unit 14 . The device 1 is, for example, the backend driver part of the virtio driver.

[0034] figure 2 It is a flow chart of a method for implementing a request using a virtio driver according to an embodiment of the present invention, such as figure 2 As shown, in the receiving step S20, the receiving unit 10 receives one or more requests, and the descriptor corresponding to each request is recorded into the available ring driven by virtio.

[0035] In the virtio driver, the front-end driver part sends one or more re...

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 provides a method and a device for realizing a request by using virtio drive and a storage medium. The method comprises: a receiving step of receiving one or more requests; an information generation and storage step: when each request is processed, generating processing information of a corresponding descriptor, obtaining one or more pieces of processing information of one or more descriptors, and storing the processing information; an information obtaining step of obtaining one or more pieces of stored processing information after the processing of the one or more requests is interrupted; a retrieval step, retrieving unprocessed descriptors from the one or more descriptors according to the one or more pieces of processing information, and extracting the current ring index ofthe available ring according to the respective processing information of the unprocessed descriptors; and an instruction step of instructing to process a request corresponding to the unprocessed descriptor in the one or more requests, and instructing to process the request corresponding to the descriptor in the available ring from the next ring index of the current ring index.

Description

technical field [0001] The invention relates to a method, a device and a storage medium for realizing a request by using a virtio driver. Background technique [0002] The Virtio driver is a commonly used driver in the current virtualization environment. The driver is used to send I / O requests in the virtual machine to the back-end storage system. The virtio driver is divided into two parts. The front-end driver part is in the guest operating system (guest os) in the virtual machine, and the back-end driver part is in the host machine. Usually, the front-end driver part sends I / O requests to the back-end driver. The end driver part is processed. [0003] In the actual production environment, the back-end driver part often corresponds to the access end of the complex storage system, has complex business logic, and often requires version upgrades or unexpected crashes. Currently when this happens, recovery is done by restarting the virtual machine. However, this will seriou...

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): G06F9/455G06F8/65
CPCG06F8/65G06F9/45558G06F2009/45579
Inventor 王宏辉刘尧
Owner UCLOUD TECH 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