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

A method and electronic device for processing I/O request

An electronic device and request packet technology, applied in the field of communications, can solve problems such as disk damage and failure of storage device protection software.

Active Publication Date: 2016-11-30
LENOVO (BEIJING) LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These methods may lead to the failure of the storage device protection software based on IO redirection, which may cause damage to the disk

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
  • A method and electronic device for processing I/O request
  • A method and electronic device for processing I/O request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] First, an I / O request generated by an application program is obtained, the I / O request is converted into an I / O request packet, and information about the I / O request packet is obtained.

[0051] The first driver in the electronic device receives the I / O request packet, obtains the I / O request packet information, judges whether the operation corresponding to the I / O request is a write operation, and obtains the first judgment result, The first judgment result in the embodiment of the present invention indicates that the operation corresponding to the I / O request is a write operation.

[0052] The first processing is performed on the I / O request packet, and the manner of the first processing in the embodiment of the present invention is to record the information of the I / O request packet into a list.

[0053] After recording, the I / O request packet is passed on. The second driver in the electronic device receives an I / O request packet, and judges whether the I / O request ...

Embodiment 2

[0056] First, an I / O request generated by an application program is obtained, the I / O request is converted into an I / O request packet, and information about the I / O request packet is obtained.

[0057] The first driver in the electronic device receives the I / O request packet, obtains the I / O request packet information, judges whether the operation corresponding to the I / O request is a write operation, and obtains the first judgment result, The first judgment result in the embodiment of the present invention indicates that the operation corresponding to the I / O request is a write operation.

[0058] The first processing is performed on the I / O request packet. In the embodiment of the present invention, the first processing is performed by setting the value of the first element in the I / O request packet to a first specific value.

[0059] After recording, the I / O request packet is passed on. The second driver in the electronic device receives an I / O request packet, and judges w...

Embodiment 3

[0062] First, an I / O request generated by an application program is obtained, the I / O request is converted into an I / O request packet, and information about the I / O request packet is obtained.

[0063] The first driver in the electronic device receives the I / O request packet, obtains the I / O request packet information, judges whether the operation corresponding to the I / O request is a write operation, and obtains the first judgment result, The first judgment result in the embodiment of the present invention indicates that the operation corresponding to the I / O request is not a write operation. Then the subsequent processing may not be performed.

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 method for processing I / O requests, which is used for protecting disks. The method includes: obtaining an I / O request generated by an application program, and obtaining an I / O request packet information based on the I / O request; when the first driver obtains the I / O request packet information, judging the Whether the operation corresponding to the I / O request is the first operation; when it is indicated that the operation corresponding to the I / O request is the first operation, perform the first processing on the I / O request packet information; in the When the second driver in the electronic device obtains the I / O request packet information, it is judged whether the I / O request packet information is the I / O request packet information after the first processing; When the O request packet information is the I / O request packet information after the first processing, the operation corresponding to the I / O request is executed by the second driver. The invention also discloses electronic equipment for realizing the method.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and electronic equipment for processing I / O requests. Background technique [0002] The storage device protection software based on I / O (input output) redirection may be penetrated. For example, the application layer / driver layer can bypass the storage device protection software by directly sending SCSI (Small Computer System Interface, small computer system interface) instructions, Or the driver layer can also directly call the Dispatch (scheduling) function of the driver object by obtaining the driver object of the DISK (disk), and can also bypass the storage device protection software. These methods may lead to failure of the storage device protection software based on IO redirection, and may cause damage to the disk. Contents of the invention [0003] Embodiments of the present invention provide a method for processing an I / O request and an electronic device for protecti...

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): G06F3/06
Inventor 易鸿斌
Owner LENOVO (BEIJING) LTD