Method for processing operating instructions from computer and interface device

A technology of operation instructions and interface equipment, which is applied in the field of operation instruction processing, can solve problems such as manual conversion, and achieve the effect of smooth conversion of storage medium combinations

Active Publication Date: 2012-02-22
ZTE CORP
View PDF3 Cites 1 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
  • Method for processing operating instructions from computer and interface device
  • Method for processing operating instructions from computer and interface device
  • Method for processing operating instructions from computer and 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 a message to the operating system 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 indicate that there i...

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 operating instructions from a computer and an interface device. The method is applied to the communication interface device comprising a communication interface protocol stack module and at least one storage function module, wherein the communication interface protocol stack module is connected with the computer, and the storage function modules are connected with the communication interface protocol stack module. The communication interface protocol stack module is used for receiving a first operating instruction given by an operating system of the computer, the first operating instruction is used for operating one or a plurality of storage media of at least one storage medium or operating the storage function modules, the first operating instruction is processed to obtain a second operating instruction, and based on the second operating instruction, one or a plurality of the storage media or storage medium states corresponding to the storage media can be operated.

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 Applications(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