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

A virtual transmission method based on multiple usb interrupt endpoints

A technology of endpoints and transmission packets, applied in the USB field, can solve the problems of unguaranteed real-time transmission, unguaranteed data integrity, large amount of transmitted data, etc., so as to improve transmission utilization, strong practicability, and data Easy to transfer effects

Active Publication Date: 2022-07-22
NANJING QINHENG MICROELECTRONICS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are four existing USB data transmission methods: control transmission: used to configure the device when the peripheral is connected for the first time, and can exchange a small amount of data with the device after the enumeration is completed; The data is accurate, but the real-time performance of the transmission cannot be guaranteed; synchronous transmission: the advantage is that the transmission data volume is large and the real-time performance is high, but the data integrity cannot be guaranteed; interrupt transmission: the advantage is high real-time performance, and the transmitted data is accurate Correct, but the amount of transmitted data is relatively small
However, some of the existing devices require not only a large amount of data to be transmitted, but also high real-time transmission and accurate data transmission. At present, there is no transmission method that can satisfy both requirements.

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 virtual transmission method based on multiple usb interrupt endpoints

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] like figure 1 As shown, a virtual transmission method based on multiple USB interrupt endpoints includes a virtual sending method based on multiple USB interrupt endpoints and a virtual receiving method based on multiple USB interrupt endpoints.

[0041] 1. A virtual transmission method based on multiple USB interrupt endpoints, including the following steps:

[0042] Set four USB interrupt endpoints, and can also be set to other numbers as needed, but there are at least two; the endpoint numbers of the four USB interrupt endpoints are endpoint 1, endpoint 2, endpoint 3, endpoint 4; set the USB interrupt query The service interval (the service interval, that is, the minimum time interval for the interrupt query that the device can allow) is 125us, and 125us is the minimum value allowed by the specification, so as to improve the data transmission speed; the one USB interrupt endpoint is uploaded within the service interval of the interrupt query. The length of the data ...

Embodiment 2

[0059] The difference between the second embodiment and the first embodiment is that the N+1 th USB interrupt endpoint is further included, and the N+1 th USB interrupt endpoint is used for transmitting data length information.

[0060] The data length information may be the total length information of the target data, or may be the length information of the virtual USB interrupt transmission packet transmitted each time.

[0061] When the data length information is the total length information of the target data, it is enough to transmit at least once, and then calculate the number of times to be transmitted according to the total length information of the target data. All data is split and transmitted.

[0062] When the data length information is the length information of the virtual USB interrupt transmission packet transmitted this time, and when the length information is not EnpSize*N, the target data is all split and transmitted, which includes the following two cases: ...

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 virtual transmission method based on multiple USB interrupt endpoints, including a sending method and a receiving method. A multi-channel parallelized transmission mechanism is used to transmit target data, and the target data is divided into virtual USB interrupt transmission packets. Interrupt the endpoint for the transfer. Compared with the traditional batch transmission mode, the real-time performance can be guaranteed; compared with the traditional interrupt transmission mode, the invention can also meet the requirements of large amount of transmitted data, that is, it can meet the requirements of large amount of transmitted data, The requirements of high real-time and accurate, fully improve the utilization rate of USB data transmission, make USB data transmission more convenient, and can be applied in more occasions.

Description

technical field [0001] The invention belongs to the technical field of USB, and in particular relates to a virtual transmission method based on multiple USB interrupt endpoints. Background technique [0002] At present, USB products have been widely used, bringing great convenience to people's lives. There are four existing USB data transmission methods: control transmission: used to configure the device when the peripheral is connected for the first time, after the enumeration is completed, a small amount of data can be exchanged with the device; batch transmission: the advantage is that the amount of data transmitted is large and the transmission The data is accurate, but the real-time transmission cannot be guaranteed; synchronous transmission: the advantage is that the amount of data transmitted is large and the real-time is high, but the data integrity cannot be guaranteed; interrupted transmission: the advantage is high real-time and accurate data transmission Correct...

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): H04L67/568H04L67/5651G06F13/42
CPCG06F13/4282G06F2213/0042H04L67/5651H04L67/568
Inventor 王春华
Owner NANJING QINHENG MICROELECTRONICS CO LTD