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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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: ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
