CN114244485A - Data management method for USB signal long-distance transmission - Google Patents

Data management method for USB signal long-distance transmission Download PDF

Info

Publication number
CN114244485A
CN114244485A CN202111474088.7A CN202111474088A CN114244485A CN 114244485 A CN114244485 A CN 114244485A CN 202111474088 A CN202111474088 A CN 202111474088A CN 114244485 A CN114244485 A CN 114244485A
Authority
CN
China
Prior art keywords
packet
data
remote
data management
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111474088.7A
Other languages
Chinese (zh)
Other versions
CN114244485B (en
Inventor
卢伟军
伍健庭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Group Co Ltd
Original Assignee
Vtron Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vtron Group Co Ltd filed Critical Vtron Group Co Ltd
Priority to CN202111474088.7A priority Critical patent/CN114244485B/en
Publication of CN114244485A publication Critical patent/CN114244485A/en
Application granted granted Critical
Publication of CN114244485B publication Critical patent/CN114244485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • H04L5/0055Physical resource allocation for ACK/NACK
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application discloses a data management method during remote transmission of USB signals, which comprises the following steps: s1, the data management device sends the IN packet sent by the local host based on the USB signal to the remote host; s2, when the CRC of the IN packet is verified to be qualified, the remote host judges whether the IN packet is synchronous transmission, if so, S3 is executed, and if not, S4 is executed; s3, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management device, so that the data management device forwards the response data to the local host; and S4, the remote host sends the IN packet to the remote device, and judges whether the CRC of the response data returned by the remote device is qualified, if so, the response data is sent to the local host through the data management device, and otherwise, the NAK is sent to the local host through the data management device. The remote transmission of the IN packet of the USB signal between the remote device and the local is realized.

Description

Data management method for USB signal long-distance transmission
Technical Field
The application relates to the technical field of USB, in particular to a data management method during remote transmission of USB signals.
Background
With the progress of the technology, the USB technology is mature, and USB signals are widely used in many fields.
The USB signal transmission medium is a cable, and generally, due to cable loss, USB protocol limitation, and other reasons, the USB signal can only be transmitted in a short distance, which further affects the application of USB signal transmission in a long distance.
Therefore, it is an urgent technical problem for those skilled IN the art to manage USB signals to realize IN packet long-distance transmission of USB signals between a remote device and a local host.
Disclosure of Invention
IN view of this, the present application provides a data management method for USB signal long-distance transmission, which realizes long-distance transmission of IN packets of USB signals between a remote device and a local device.
The application provides a data management method during USB signal remote transmission, is applied to a data management system during USB signal remote transmission, and the data management system comprises: the remote host computer and the data management device when the USB signal is transmitted in a long distance, and the data management device is connected with the local host computer, and the remote host computer is provided with remote equipment;
the management method comprises the following steps:
step S1, the data management apparatus sends the IN packet sent by the local host based on the USB signal to the remote host;
step S2, when checking that the CRC of the IN packet is qualified, the remote host determines whether the IN packet is a synchronous transmission, if yes, performs step S3, and if no, performs step S4;
step S3, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management apparatus, so that the data management apparatus forwards the response data to the local host;
step S4, the remote host sends the IN packet to the remote device, and determines whether CRC of response data returned by the remote device is qualified, if yes, the response data is sent to the local host through the data management device, otherwise, NAK is sent to the local host through the data management device.
Preferably, the step S1 is preceded by:
step S0, the data management apparatus determines whether the CRC of the IN packet is qualified, and if so, returns a NAK to the local host and then executes the subsequent steps.
Preferably, the sending, in step S3, the response data returned by the remote device to the data management apparatus, so that the data management apparatus forwards the response data to the local host, specifically includes:
the remote host sends the response data returned by the remote equipment to the data management device;
and when the data management device receives the IN packet sent by the local host again, returning the response data to the local host.
Preferably, the sending a NAK to the local host by the data management device in step S4 further includes:
the remote host resends the IN packet to the remote device;
and when the acquired data returned by the remote equipment is NAK or STALL, sending the NAK or STALL to the local host through the data management device.
Preferably, the step S4 is to send the response data to the local host through the data management apparatus, further including:
and the remote host sends ACK to the remote equipment.
Preferably, the method further comprises:
step S6, when the DATA management apparatus determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are not synchronous transmission, determining whether CRC corresponding to the OUT packet and the DATA packet is qualified, and if yes, sending the OUT packet and the DATA packet to the remote host;
step S7, the remote host determines whether CRC corresponding to the OUT packet and the DATA packet is qualified, if not, sends a DATA error to the local host through the DATA management apparatus, and if so, sends the OUT packet and the DATA packet to the remote device;
step S8, when the remote host determines that the OUT packet and the DATA packet are not in synchronous transmission, sending response DATA returned by the remote device to the local host through the DATA management apparatus.
Preferably, the method further comprises:
step S5, when the DATA management apparatus determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are synchronous transmission, not returning any information to the local host.
Preferably, the determining in step S6 whether the CRC corresponding to the OUT packet and the DATA packet is qualified or not, and if yes, sending the OUT packet and the DATA packet to the remote host specifically includes:
judging whether CRC corresponding to the OUT packet and the DATA packet is qualified or not;
if yes, the OUT packet and the DATA packet are sent to the remote host;
if not, the OUT packet and the DATA packet are not forwarded to the remote host, and no information is replied to the local host.
Preferably, the method further comprises:
step S9, when the DATA management device acquires a SETUP packet and a DATA packet sent by the local host based on a USB signal, judging whether CRC of the SETUP packet and the DATA packet is qualified, if so, sending the SETUP packet and the DATA packet to the remote host;
step S10, the remote host determines whether the CRC of the SETUP packet and the DATA packet is qualified, and if yes, sends the SETUP packet and the DATA packet to the remote device, and sends the ACK sent by the remote device to the local host through the DATA management apparatus.
Preferably, the step S10 specifically includes:
the remote host judges whether CRC of the SETUP packet and the DATA packet is qualified;
if yes, sending the SETUP packet and the DATA packet to the remote equipment, and sending an ACK (acknowledgement) sent by the remote equipment to the local host through the DATA management device;
and if not, sending a data reacquisition instruction to the local host through the data management device.
According to the technical scheme, the method has the following advantages:
the application provides a data management method during remote transmission of USB signals, which comprises the following steps: step S1, the data management device sends the IN packet sent by the local host based on the USB signal to the remote host; step S2, when checking that the CRC of the IN packet is qualified, the remote host determines whether the IN packet is a synchronous transmission, if yes, performs step S3, and if no, performs step S4; step S3, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management device, so that the data management device forwards the response data to the local host; and step S4, the remote host sends the IN packet to the remote device, and judges whether the CRC of the response data returned by the remote device is qualified, if so, the response data is sent to the local host through the data management device, otherwise, the NAK is sent to the local host through the data management device. According to the method and the device, the data management device is matched with the remote host, so that the remote transmission of the IN packet of the USB signal between the remote device and the local device is realized.
Drawings
FIG. 1 is a schematic structural diagram of a data management system for remote transmission of USB signals according to the present embodiment;
FIG. 2 is a communication connection diagram of the data management system during long-distance USB signal transmission according to the present embodiment;
fig. 3 is a schematic flowchart illustrating a data management method for long-distance USB signal transmission according to a first embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a second embodiment of a data management method for remote USB transmission according to the present invention;
FIG. 5 is a flow chart of the transmission of a SETUP packet in the embodiment of the present application;
FIG. 6 is a diagram illustrating the transmission of IN packets from the data management device side according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating transmission of a remote host side IN packet according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating the transmission of OUT packets from the data management device side in an embodiment of the present application;
fig. 9 is a schematic diagram illustrating transmission of a remote host-side OUT packet in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data management method for USB signal long-distance transmission, which realizes the long-distance transmission of IN packets of USB signals between remote equipment and the local equipment.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In an embodiment of the present application, a data management method for USB signal long-distance transmission is applied to a data management system for USB signal long-distance transmission, as shown in fig. 1 and fig. 2, the data management system in the embodiment includes: the embodiment makes different responses aiming at different transactions, so that the USB signal of the local host is smoothly transmitted to the remote host, and then the remote host issues the received data to the remote equipment, so that the time of limiting the USB transaction on the protocol is prolonged, and the purpose of transmitting the USB signal in a long distance is achieved.
Specifically, the data management method corresponding to the data management system is explained as follows:
referring to fig. 3, fig. 3 is a flowchart illustrating a data management method for remote USB signal transmission according to a first embodiment of the present disclosure.
In this embodiment, a method for managing data during remote transmission of USB signals includes:
step 301, the data management device sends the IN packet sent by the local host based on the USB signal to the remote host.
Step 302, when checking that the CRC of the IN packet is qualified, the remote host determines whether the IN packet is a synchronous transmission, if so, performs step 303, and if not, performs step 304.
Step 303, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management apparatus, so that the data management apparatus forwards the response data to the local host.
And step 304, the remote host sends the IN packet to the remote device, and judges whether the CRC of the response data returned by the remote device is qualified, if so, the response data is sent to the local host through the data management device, and otherwise, the NAK is sent to the local host through the data management device.
The data management method during the long-distance transmission of the USB signal in the embodiment comprises the following steps: step S1, the data management device sends the IN packet sent by the local host based on the USB signal to the remote host; step S2, when checking that the CRC of the IN packet is qualified, the remote host determines whether the IN packet is a synchronous transmission, if yes, performs step S3, and if no, performs step S4; step S3, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management device, so that the data management device forwards the response data to the local host; and step S4, the remote host sends the IN packet to the remote device, and judges whether the CRC of the response data returned by the remote device is qualified, if so, the response data is sent to the local host through the data management device, otherwise, the NAK is sent to the local host through the data management device. According to the method and the device, the data management device is matched with the remote host, so that the remote transmission of the IN packet of the USB signal between the remote device and the local device is realized.
The foregoing is a first embodiment of a method for managing data during USB signal long-distance transmission provided in the embodiments of the present application, and the following is a second embodiment of the method for managing data during USB signal long-distance transmission provided in the embodiments of the present application.
Referring to fig. 4, a flow chart of an embodiment of a data management method for USB signal long-distance transmission according to the present application is shown.
In this embodiment, a method for managing data during remote transmission of USB signals includes:
step 401, the data management device determines whether the CRC of the IN packet is qualified, and if so, returns a NAK to the local host and then executes the subsequent steps.
Step 402, the data management device sends the IN packet sent by the local host based on the USB signal to the remote host.
IN step 403, when the CRC of the IN packet is verified to be qualified, the remote host determines whether the IN packet is IN synchronous transmission, if so, performs step 404, and if not, performs step 405.
Step 404, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management apparatus, so that the data management apparatus forwards the response data to the local host.
Specifically, in step 404 in this embodiment, sending the response data returned by the remote device to the data management apparatus, so that the data management apparatus forwards the response data to the local host, specifically including:
the remote host sends the response data returned by the remote equipment to the data management device;
when the data management apparatus receives the IN packet transmitted by the local host again, the response data is returned to the local host.
Step 405, the remote host sends the IN packet to the remote device, and determines whether the CRC of the response data returned by the remote device is qualified, if yes, the response data is sent to the local host through the data management device, otherwise, the data management device sends the NAK to the local host.
Specifically, the sending a NAK to the local host by the data management device in step 405 further includes:
the remote host resends the IN packet to the remote device;
and when the acquired data returned by the remote equipment is NAK or STALL, sending the NAK or STALL to the local host through the data management device.
Further, the sending the response data to the local host through the data management device in step 405 further includes:
the remote host sends an ACK to the remote device.
And step 406, when the DATA management device judges that the OUT packet and the DATA packet sent by the local host based on the USB signal are synchronously transmitted, not returning any information to the local host.
Step 407, when the DATA management apparatus determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are not synchronous transmission, determine whether CRC corresponding to the OUT packet and the DATA packet is qualified, and if yes, send the OUT packet and the DATA packet to the remote host.
Specifically, the step 407 of determining whether CRCs corresponding to the OUT packet and the DATA packet are qualified, and if yes, sending the OUT packet and the DATA packet to the remote host, specifically includes:
judging whether CRC corresponding to the OUT packet and the DATA packet is qualified or not;
if so, sending the OUT packet and the DATA packet to the remote host;
if not, the OUT packet and the DATA packet are not forwarded to the remote host, and no information is replied to the local host.
And step 408, the remote host judges whether the CRC corresponding to the OUT packet and the DATA packet is qualified, if not, the DATA management device sends a DATA error to the local host, and if so, the OUT packet and the DATA packet are sent to the remote equipment.
And 409, when judging that the OUT packet and the DATA packet are not synchronous transmission, the remote host sends response DATA returned by the remote equipment to the local host through the DATA management device.
As can be known from the descriptions of step 406 to step 409, in this embodiment, through cooperation between the data management apparatus and the remote host, remote transmission of OUT packets of USB signals between the remote device and the local device is also achieved.
And step 410, when the DATA management device acquires the SETUP packet and the DATA packet sent by the local host based on the USB signal, judging whether the CRC of the SETUP packet and the CRC of the DATA packet are qualified, and if so, sending the SETUP packet and the DATA packet to the remote host.
Step 411, the remote host determines whether the CRC of the SETUP packet and the DATA packet is qualified, and if yes, sends the SETUP packet and the DATA packet to the remote device, and sends the ACK sent by the remote device to the local host through the DATA management apparatus.
Specifically, step 411 specifically includes:
step S10 specifically includes:
the remote host judges whether CRC of the SETUP packet and the DATA packet is qualified;
if yes, sending the SETUP packet and the DATA packet to the remote equipment, and sending the ACK sent by the remote equipment to the local host through the DATA management device;
if not, sending a data reacquisition instruction to the local host through the data management device.
As can be seen from the descriptions of step 410 to step 411, in this embodiment, through cooperation between the data management apparatus and the remote host, remote transmission of the SETUP packet of the USB signal between the remote device and the local device is also implemented.
For ease of understanding, the SETUP transaction, OUT transaction, and IN transaction described above are described IN this embodiment for each side of the management system as follows:
1) SETUP transaction:
as shown in fig. 5, in the SETUP transaction, the DATA management apparatus receives the SETUP packet and the DATA packet of the local host, checks whether the CRC is correct, and does not reply to the local host or forward to the remote host when the CRC is wrong; when CRC is correct, after receiving DATA DATA, replying ACK to the local host, and forwarding the SETUP packet and the DATA packet DATA to the remote host; the remote host receives the data transmitted locally, checks CRC, and requires the local host to retransmit when the CRC is wrong; and when the CRC is correct, sending the data to the remote equipment, receiving the ACK replied by the remote equipment to the data management device, and discarding the ACK received by the data management device.
2) IN transaction:
as shown IN fig. 6, the data management apparatus receives the IN packet of the local host, determines whether the IN packet is synchronous transmission, and if the IN packet is synchronous transmission, returns the information to the local host if the IN packet receives the information returned by the remote host, and if the IN packet does not have the information, does not return any information to the local host; and when receiving the data returned by the remote host, when receiving the IN packet of the local host again, forwarding the received data returned by the remote host to the local host, waiting for the local host to reply ACK, if not, waiting for the next IN packet, retransmitting the data, and if replying, discarding and not forwarding the data to the remote host.
As shown IN fig. 7, the remote host receives the IN packet forwarded by the data management device, checks CRC and CRC error, feeds back to the local host, and requests retransmission; and caching after the CRC is correct, judging whether synchronous transmission is performed or not, forwarding the IN packet to the remote equipment, waiting for the return of the data packet by the remote equipment, directly forwarding the data packet to the data management device without overtime, and informing the data management device of overtime. During asynchronous transmission, the IN packet is forwarded to the remote equipment, the remote equipment waits for the return of the data packet, whether the CRC of the returned data packet is correct or not is judged, if the CRC is correct, the data packet is forwarded to the data management device, ACK is returned to the remote equipment, if the CRC is incorrect, NAK is returned, and the IN packet is retransmitted to the remote equipment; if NAK or STALL is returned by the remote device, the NAK or STALL is directly forwarded to the data management device.
3) OUT transaction:
as shown in fig. 8, the DATA management apparatus receives the OUT packet and the DATA packet of the local host, determines whether the transmission is synchronous transmission, and does not return any information to the local host when the transmission is synchronous transmission; when asynchronous transmission is carried OUT, whether CRC is wrong or not is checked, the CRC is wrong, the OUT packet and the DATA packet are not forwarded to a remote host, and a local host is not replied; when CRC is correct, the DATA management device returns NAK to the local host after receiving the DATA packet, transmits an OUT packet and the DATA packet to the remote host, waits for the DATA returned by the remote host, and forwards the DATA returned by the remote host to the local host after receiving the DATA packet when receiving the DATA returned by the remote host and receiving the OUT packet and the DATA packet of the local host again.
As shown in fig. 9, the remote host receives the OUT packet and the DATA packet forwarded by the DATA management device, checks CRC, and feeds back to the local to request retransmission when CRC is incorrect; and caching after the CRC is correct, forwarding the OUT packet and the DATA packet to the remote equipment, judging whether synchronous transmission is performed or not, and ending the transaction. And during asynchronous transmission, waiting for a data packet returned by the remote equipment, directly forwarding the data packet to the data management device, and returning NAK to the data management device if the data return is not received after timeout. If the device is unplugged, an ERROR is replied to the data management apparatus.
The data management method during the long-distance transmission of the USB signal in the embodiment comprises the following steps: step S1, the data management device sends the IN packet sent by the local host based on the USB signal to the remote host; step S2, when checking that the CRC of the IN packet is qualified, the remote host determines whether the IN packet is a synchronous transmission, if yes, performs step S3, and if no, performs step S4; step S3, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management device, so that the data management device forwards the response data to the local host; and step S4, the remote host sends the IN packet to the remote device, and judges whether the CRC of the response data returned by the remote device is qualified, if so, the response data is sent to the local host through the data management device, otherwise, the NAK is sent to the local host through the data management device. According to the method and the device, the data management device is matched with the remote host, so that the remote transmission of the USB signal packets (the IN packet, the OUT packet and the SETUP packet) between the remote device and the local device is realized.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A data management method for USB signal long distance transmission is characterized in that the method is applied to a data management system for USB signal long distance transmission, and the data management system comprises: the remote host computer and the data management device when the USB signal is transmitted in a long distance, and the data management device is connected with the local host computer, and the remote host computer is provided with remote equipment;
the management method comprises the following steps:
step S1, the data management apparatus sends the IN packet sent by the local host based on the USB signal to the remote host;
step S2, when checking that the CRC of the IN packet is qualified, the remote host determines whether the IN packet is a synchronous transmission, if yes, performs step S3, and if no, performs step S4;
step S3, the remote host sends the IN packet to the remote device, and sends the response data returned by the remote device to the data management apparatus, so that the data management apparatus forwards the response data to the local host;
step S4, the remote host sends the IN packet to the remote device, and determines whether CRC of response data returned by the remote device is qualified, if yes, the response data is sent to the local host through the data management device, otherwise, NAK is sent to the local host through the data management device.
2. The method for managing data during long-distance transmission of USB signals according to claim 1, wherein said step S1 is preceded by the steps of:
step S0, the data management apparatus determines whether the CRC of the IN packet is qualified, and if so, returns a NAK to the local host and then executes the subsequent steps.
3. The method for managing data during USB signal long-distance transmission according to claim 1, wherein the sending of the response data returned by the remote device to the data management apparatus in step S3 enables the data management apparatus to forward the response data to the local host, specifically includes:
the remote host sends the response data returned by the remote equipment to the data management device;
and when the data management device receives the IN packet sent by the local host again, returning the response data to the local host.
4. The method for managing data during long-distance transmission of USB signals according to claim 1, wherein the step S4 of sending NAK to the local host through the data management device further comprises:
the remote host resends the IN packet to the remote device;
and when the acquired data returned by the remote equipment is NAK or STALL, sending the NAK or STALL to the local host through the data management device.
5. The method for managing data during USB signal long-distance transmission according to claim 1, wherein step S4 is executed to send the response data to the local host through the data management device, further comprising:
and the remote host sends ACK to the remote equipment.
6. The method for managing data during long-distance transmission of USB signals according to claim 1, further comprising:
step S6, when the DATA management apparatus determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are not synchronous transmission, determining whether CRC corresponding to the OUT packet and the DATA packet is qualified, and if yes, sending the OUT packet and the DATA packet to the remote host;
step S7, the remote host determines whether CRC corresponding to the OUT packet and the DATA packet is qualified, if not, sends a DATA error to the local host through the DATA management apparatus, and if so, sends the OUT packet and the DATA packet to the remote device;
step S8, when the remote host determines that the OUT packet and the DATA packet are not in synchronous transmission, sending response DATA returned by the remote device to the local host through the DATA management apparatus.
7. The method for managing data during long-distance transmission of USB signals according to claim 6, further comprising:
step S5, when the DATA management apparatus determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are synchronous transmission, not returning any information to the local host.
8. The method for managing DATA during USB signal long-distance transmission according to claim 6, wherein the step S6 of determining whether the CRC corresponding to the OUT packet and the DATA packet is qualified, and if so, sending the OUT packet and the DATA packet to the remote host, specifically includes:
judging whether CRC corresponding to the OUT packet and the DATA packet is qualified or not;
if yes, the OUT packet and the DATA packet are sent to the remote host;
if not, the OUT packet and the DATA packet are not forwarded to the remote host, and no information is replied to the local host.
9. The method for managing data during long-distance transmission of USB signals according to claim 1, further comprising:
step S9, when the DATA management device acquires a SETUP packet and a DATA packet sent by the local host based on a USB signal, judging whether CRC of the SETUP packet and the DATA packet is qualified, if so, sending the SETUP packet and the DATA packet to the remote host;
step S10, the remote host determines whether the CRC of the SETUP packet and the DATA packet is qualified, and if yes, sends the SETUP packet and the DATA packet to the remote device, and sends the ACK sent by the remote device to the local host through the DATA management apparatus.
10. The method for managing data during USB signal long-distance transmission according to claim 9, wherein the step S10 specifically includes:
the remote host judges whether CRC of the SETUP packet and the DATA packet is qualified;
if yes, sending the SETUP packet and the DATA packet to the remote equipment, and sending an ACK (acknowledgement) sent by the remote equipment to the local host through the DATA management device;
and if not, sending a data reacquisition instruction to the local host through the data management device.
CN202111474088.7A 2021-12-03 2021-12-03 Data management method for USB signal long-distance transmission Active CN114244485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111474088.7A CN114244485B (en) 2021-12-03 2021-12-03 Data management method for USB signal long-distance transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111474088.7A CN114244485B (en) 2021-12-03 2021-12-03 Data management method for USB signal long-distance transmission

Publications (2)

Publication Number Publication Date
CN114244485A true CN114244485A (en) 2022-03-25
CN114244485B CN114244485B (en) 2023-06-09

Family

ID=80753236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111474088.7A Active CN114244485B (en) 2021-12-03 2021-12-03 Data management method for USB signal long-distance transmission

Country Status (1)

Country Link
CN (1) CN114244485B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000067103A1 (en) * 1999-04-30 2000-11-09 Daniel Kelvin Jackson Method and apparatus for extending communications over usb
GB2429613A (en) * 2005-08-27 2007-02-28 Amulet Electronics Ltd Universal Serial Bus extender
US20070239900A1 (en) * 2005-12-06 2007-10-11 Avocent Corporation Universal serial bus (USB) extension
US7346728B1 (en) * 2005-04-18 2008-03-18 Intel Corporation Method and apparatus for a hub capable of being self-powered for use in a USB-compliant system
CN101154151A (en) * 2006-09-29 2008-04-02 联想(北京)有限公司 Method and system for commutation from USB/PCIe to VGA/DVI
CN101238686A (en) * 2005-08-09 2008-08-06 三星电子株式会社 Flow control method in wireless usb communication, and wireless USB device and wireless USB host using the same
CN103810127A (en) * 2012-11-13 2014-05-21 深圳市中兴微电子技术有限公司 Data transmission control method and controller for USB (universal serial bus) low-speed device
US20170192922A1 (en) * 2015-12-30 2017-07-06 Aten International Co., Ltd. Method of extending range of usb transmission for isochronous transfer
CN108366129A (en) * 2018-03-08 2018-08-03 北京淳中科技股份有限公司 USB data transmission method, device and USB adapter

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000067103A1 (en) * 1999-04-30 2000-11-09 Daniel Kelvin Jackson Method and apparatus for extending communications over usb
US7346728B1 (en) * 2005-04-18 2008-03-18 Intel Corporation Method and apparatus for a hub capable of being self-powered for use in a USB-compliant system
CN101238686A (en) * 2005-08-09 2008-08-06 三星电子株式会社 Flow control method in wireless usb communication, and wireless USB device and wireless USB host using the same
GB2429613A (en) * 2005-08-27 2007-02-28 Amulet Electronics Ltd Universal Serial Bus extender
US20070239900A1 (en) * 2005-12-06 2007-10-11 Avocent Corporation Universal serial bus (USB) extension
CN101154151A (en) * 2006-09-29 2008-04-02 联想(北京)有限公司 Method and system for commutation from USB/PCIe to VGA/DVI
CN103810127A (en) * 2012-11-13 2014-05-21 深圳市中兴微电子技术有限公司 Data transmission control method and controller for USB (universal serial bus) low-speed device
US20170192922A1 (en) * 2015-12-30 2017-07-06 Aten International Co., Ltd. Method of extending range of usb transmission for isochronous transfer
CN108366129A (en) * 2018-03-08 2018-08-03 北京淳中科技股份有限公司 USB data transmission method, device and USB adapter

Also Published As

Publication number Publication date
CN114244485B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US5245616A (en) Technique for acknowledging packets
US5432798A (en) Data communication method and system
EP0464014A2 (en) Communications systems using a fault tolerant protocol
US20140122956A1 (en) Apparatus and method for retransmitting message in message transmission system
CN111629368B (en) Communication method of earphone and charging box, earphone and readable storage medium
CN111711609A (en) Protocol design method in serial port communication
EP1626518B1 (en) Method for reporting reception result of packets in mobile communication system
CN115994048B (en) Chip, communication method, system and storage medium
JP3000911B2 (en) Automatic setting of optimal number of frames waiting for retransmission of automatic retransmission protocol in mobile facsimile communication
CN101369879A (en) Method and apparatus for requesting data retransmission
US7995517B2 (en) System and method for transmitting units of messages in a mobile communication system
CN101944983B (en) Method and system for transmitting and receiving management message in communication network
CN110913431A (en) Data wireless transmission method and device, computer equipment and storage medium
CA2010809A1 (en) Technique for acknowledging packets
CN114244485B (en) Data management method for USB signal long-distance transmission
EP1427127A2 (en) Communication control method, communication system and communication apparatus that can improve throughput
JPH1070523A (en) Method and equipment for packet transmission
CN112187408B (en) Data processing method, system, device, storage medium and processor
JP3428883B2 (en) Data communication method and data communication device
CN103078722B (en) A kind of method and device of request data retransmission
KR100344979B1 (en) Discard procedure for service data unit in radio link control
CN111756734A (en) Internal interconnection communication interface and protocol of frequency converter
CN111130705A (en) Method and equipment for sending data packet
JP2000312201A (en) Communication equipment and error control method
KR101460183B1 (en) System and Method for Message Service with Reliability

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant