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

Method, device and storage medium for realizing request by using virtio driver

A storage medium and storage unit technology, applied in program control devices, program control design, instruments, etc., and can solve problems such as user business impact

Active Publication Date: 2021-05-04
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, device and storage medium for realizing request by using virtio driver
  • Method, device and storage medium for realizing request by using virtio driver

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The embodiments of the present invention will be described in detail below with reference to 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, a back-end drive part of a virtio drive.

[0034] figure 2 is a flowchart of a method for implementing a request by 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 in the available ring of the virtio driver.

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

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, a device and a storage medium for realizing a request by using a virtio driver. The method includes: a receiving step, receiving one or more requests; an information generating and storing step, when each request is processed, generating processing information of a corresponding descriptor, and obtaining one or more descriptors of one or more descriptors Process information and store it; information acquisition step, after the processing of one or more requests is interrupted, obtain one or more stored processing information; retrieval step, according to one or more processing information, from one or more descriptions The unprocessed descriptor is retrieved from the unprocessed descriptor, and the current ring index of the available ring is taken out according to the respective processing information of the unprocessed descriptor; the instruction step indicates to process the request corresponding to the unprocessed descriptor among one or more requests, And indicate to start processing 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 present 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 in the guest operating system (guest os) in the virtual machine, and the back-end driver part on the host machine, usually the front-end driver part sends I / O requests to the backend. The end drive part handles it. [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 needs to be upgraded or crashed unexpectedly. Currently, when this happens, recovery is performed by restarting the virtual machine. However, this will have a 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 Patents(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