Unlock instant, AI-driven research and patent intelligence for your innovation.
Detection method of nonstandard USB protocol compatibility
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A technology of protocol compatibility and detection method, which is applied in the field of non-standard USB protocol compatibility detection, can solve problems such as loss of response and abnormal operation of equipment, and achieve the effect of improving robustness and preventing abnormalities of USB equipment
Active Publication Date: 2014-12-10
FEITIAN TECHNOLOGIES
View PDF5 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0003] The purpose of the present invention is to overcome the defects of the prior art, in order to solve the problem that the USB device cannot work normally or even loses response due to the request of the non-standard USB protocol, and proposes a working method of a non-standard USB protocol compatibility detection tool
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0045] The embodiment of the present invention provides a non-standard USB protocol compatibility detection method, see figure 1 , the method is implemented by the test platform running a test program, specifically comprising the following steps:
[0046] Step 101: Find the device to be tested, determine whether the device to be tested is found, if yes, record the Hub (hub) driver endpoint where the device to be tested is located, and perform step 102, otherwise it will prompt that the device to be tested is not found, and end;
[0047] Specifically, see figure 2 , the searching for the device to be tested specifically includes:
[0048] Step a: Find the USB HCD (USB host controller), and judge whether there are undetected USB HCDs, if yes, execute step b, otherwise, the process of finding the device to be tested ends;
[0049] Step b: Find the Root Hub (root hub) corresponding to the current USB HCD, and judge whether there are undetected Root Hubs, if yes, execute step c,...
Embodiment 2
[0138] The embodiment of the present invention provides a non-standard USB protocol compatibility detection method, see image 3, the method is implemented by a detection tool running a detection program, specifically comprising the following steps:
[0139] Step 201: Find the device to be tested, judge whether the device to be tested is found, if so, record the Hub driver endpoint where the device to be tested is located, and perform step 202, otherwise prompt that the device to be tested is not found, and end;
[0140] Specifically, in this embodiment, the process of finding the device to be tested is the same as that in Embodiment 1, and will not be repeated here;
[0141] Preferably, after finding the device to be tested, it also includes: recording the path of the device to be tested and the information of each device on the path;
[0142] Step 202: read configuration information;
[0143] Specifically, the configuration information also includes a test request packet; ...
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
Login to View More
Abstract
The invention discloses a detection method of nonstandard USB (Universal Serial Bus) protocol compatibility, and belongs to the field of computers. The method comprises the following steps: looking up to-be-tested equipment, reading configuration information, when satisfying the condition of sending a test request packet, invoking a preset function to send the test request packet to the Hub driving end wherein the to-be-tested equipment in and judging whether the function invoking is successful or not, if the function invoking is not successful, checking whether the reason of the unsuccessfulness is a mistake produced due to the improper process of the equipment, if the function invoking is successful, checking whether the returned data of the to-be-tested equipment is legal or not, generating corresponding error code according to the check result and recording corresponding information, and checking whether the to-be-tested equipment loses response, if yes, finishing the test, and if no, continuing the test. The method has the benefits that the method can discover the problem and the defect related to the equipment in advance through the detection, then prevents the caused problem of USB equipment abnormality due to the sending of the nonstandard USB protocol request by software or a drive, and can improve the robustness of the USB equipment.
Description
technical field [0001] The invention relates to the computer field, in particular to a non-standard USB protocol compatibility detection method. Background technique [0002] USB devices often fail to work or even lose response because they receive non-standard USB protocol requests sent by some software or drivers. In the prior art, USB devices are tested for compatibility, but there is no corresponding detection method for the problems caused by the above-mentioned USB devices receiving non-standard USB protocol requests. Contents of the invention [0003] The purpose of the present invention is to overcome the defects of the prior art, in order to solve the problem that the USB device cannot work normally or even loses response due to the request of the non-standard USB protocol, and proposes a working method of a non-standard USB protocol compatibility detection tool. [0004] The inventive method is realized by the following technical solutions: [0005] A non-stand...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.