A method of processing operation instructions from a computer and an interface device

An operation instruction and computer technology, applied in the field of operation instruction processing, can solve the problems of manual conversion and achieve the effect of smooth conversion of storage medium combination

Active Publication Date: 2017-08-25
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method for processing operation instructions from a computer and an interface device, which are used to solve the problem in the prior art that because there is only a single storage medium in the USB device, when different storage media need to be used, Technical issue requiring manual conversion

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 of processing operation instructions from a computer and an interface device
  • A method of processing operation instructions from a computer and an interface device
  • A method of processing operation instructions from a computer and an interface device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] see image 3 , when the first operation instruction is a load / unload instruction, a method for processing an operation instruction from a computer, specifically comprising:

[0082] Step 3101, obtain the loading / unloading instruction through the USB protocol stack module.

[0083] Step 3102, process the loading / unloading instruction to obtain a second operation instruction, where the second operation instruction is the loading / unloading instruction.

[0084] Step 3103, based on the loading / unloading instruction, operate on the storage medium status bit corresponding to the storage medium.

[0085] In the specific implementation process, step 3103 is specifically:

[0086] Based on the load / unload instruction, modify the first value of the media status flag bit to a second value. Wherein, the first value and the second value are used to identify whether the storage medium is in the loading or unloading state. Specifically, the first value can be 0, and 0 can be used at ...

Embodiment 2

[0095] see Figure 4 , when the first operation instruction is a computer interface instruction for dynamically adjusting the arrangement order of the storage medium:

[0096] Step 4101, acquiring the computer interface instruction for dynamically adjusting the arrangement order of the storage medium.

[0097] Processing the computer interface instructions for dynamically adjusting the arrangement order of the storage media to obtain a second operation instruction, specifically:

[0098] Step 41021, judging the first logical unit number in the computer interface instruction for dynamically adjusting the arrangement order of storage media or the computer interface instruction for realizing the combination of single or multiple different types of storage media and the storage function module Whether the second logical unit numbers are the same, wherein the first logical unit number and the second logical unit number correspond to the same storage medium.

[0099] Step 41022, w...

Embodiment 3

[0111] When the first operation instruction is a computer interface instruction for realizing the combination of a single or multiple different types of storage media, before step 202 of the second embodiment, it includes: obtaining a standard USB query instruction issued by the operating system, If the computer interface instruction for implementing a combination of single or multiple different types of storage media accesses a storage medium, return a message to the operating system that there is only one storage medium in the USB device, if the A computer interface instruction for realizing a combination of single or multiple different types of storage media accesses multiple storage media, then returns to the operating system a message that there are multiple storage media in the USB device, in this embodiment, the remaining steps Same as embodiment two.

[0112] In the specific implementation process, the message can be a number, and 0 can be used to represent a storage m...

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

Disclosed are a method for processing operation instructions from a computer, and an interface device, applied in a communication interface device. The device includes a communication interface protocol stack module connected to a computer, and at least one storage function module connected to the communication interface protocol stack module. The method includes: receiving a first operation instruction sent by the operating system of the computer via the communication interface protocol stack module, wherein the first operation instruction is used for performing operations on one or more storage function module units of the at least one storage function module; processing the first operation instruction to obtain a second operation instruction; and performing operations on the storage medium state bits corresponding to the one or more storage function module units of the at least one storage function module based on the second operation instruction.

Description

technical field [0001] The invention relates to the field of operation instruction processing, in particular to a method for processing operation instructions from a computer and an interface device. Background technique [0002] USB large-capacity storage medium has been widely accepted and loved by users because of its convenience and small size. The most common USB large-capacity storage medium is a disk device, such as our common U disk, USB mobile hard disk, etc., which provide users with the function of storing and transferring files; another common device is CDROM, which is generally used as The installation program of the user terminal used to place the USB device, the electronic manual, and other practical tools and documents provided by the manufacturer to the customer. [0003] Such as figure 1 As shown, in the prior art, the operating system includes a USB mass storage medium control module 101 and a USB bus 102, and the USB device includes a storage function m...

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/30G06F9/312
CPCG06F3/0604G06F3/0659G06F3/0685
Inventor 林兵魏巍
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products