CN114244485B - 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
CN114244485B
CN114244485B CN202111474088.7A CN202111474088A CN114244485B CN 114244485 B CN114244485 B CN 114244485B CN 202111474088 A CN202111474088 A CN 202111474088A CN 114244485 B CN114244485 B CN 114244485B
Authority
CN
China
Prior art keywords
packet
remote
data
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.)
Active
Application number
CN202111474088.7A
Other languages
Chinese (zh)
Other versions
CN114244485A (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 USB signal remote transmission, which comprises the following steps: s1, a data management device sends an IN packet sent by a local host based on a USB signal to a remote host; s2, when the remote host checks that the CRC of the IN packet is qualified, judging whether the IN packet is synchronously transmitted, if so, executing S3, and if not, executing S4; s3, the remote host sends an IN packet to the remote device, and sends 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; s4, the remote host sends an IN packet to the remote device, judges whether CRC of response data returned by the remote device is qualified, if so, sends the response data to the local host through the data management device, and if not, sends NAK to the local host through the data management device. The remote transmission of IN packets of USB signals between the remote device and the local is achieved.

Description

Data management method for USB signal long-distance transmission
Technical Field
The present disclosure relates to the field of USB technologies, and in particular, to a data management method during remote USB signal transmission.
Background
With the progress of technology, USB technology is approaching to maturity, and USB signals are widely used in many fields.
The USB signal transmission medium is a cable, and in general, the USB signal can only be transmitted in a short distance due to cable loss and USB protocol limitation, thereby affecting the application of long-distance transmission of the USB signal.
Therefore, managing the USB signal to realize the IN packet long-distance transmission of the USB signal between the remote device and the local host is a technical problem to be solved by those skilled IN the art.
Disclosure of Invention
IN view of this, the present application provides a data management method during remote transmission of USB signals, which implements remote transmission of IN packets of USB signals between a remote device and a local device.
The application provides a data management method during remote transmission of USB signals, which is applied to a data management system during remote transmission of USB signals, and the data management system comprises: the remote host is connected with the local host, and is provided with remote equipment;
the management method comprises the following steps:
step S1, the data management device sends an IN packet sent by the local host based on a USB signal to a remote host;
step S2, when the remote host checks that the CRC of the IN packet is qualified, judging whether the IN packet is synchronous transmission, if so, executing step S3, and if not, executing step S4;
step S3, the far-end host sends the IN packet to the far-end equipment, and sends response data returned by the far-end equipment 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 equipment, judges whether CRC of response data returned by the remote equipment is qualified, if so, sends the response data to the local host through the data management device, and otherwise, sends NAK to the local host through the data management device.
Preferably, before the step S1, the method further includes:
and S0, the data management device judges whether the CRC of the IN packet is qualified, if so, the NAK is replied to the local host computer, and then the subsequent steps are executed.
Preferably, in step S3, the response data returned by the remote device is sent to the data management device, so that the data management device forwards the response data to the local host, and specifically includes:
the remote host sends response data returned by the remote device 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 step S4 of sending a NAK to the local host by the data management device further includes:
the remote host resends the IN packet to the remote device;
and when the acquired data returned by the remote device is NAK or STALL, sending the NAK or STALL to the local host through the data management device.
Preferably, in step S4, the sending, by the data management device, the response data to the local host further includes:
the remote host sends an ACK to the remote device.
Preferably, the method further comprises:
step S6, 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 not synchronously transmitted, judging whether CRC corresponding to the OUT packet and the DATA packet is qualified or not, if yes, sending the OUT packet and the DATA packet to the remote host;
step S7, the remote host judges whether CRC corresponding to the OUT packet and the DATA packet is qualified or not, if not, the DATA management device sends DATA errors to the local host, and if yes, the OUT packet and the DATA packet are sent to the remote device;
and S8, when judging that the OUT packet and the DATA packet are not synchronously transmitted, the remote host sends response DATA returned by the remote device to the local host through the DATA management device.
Preferably, the method further comprises:
and S5, 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, no information is returned to the local host.
Preferably, in step S6, it is determined whether the CRCs corresponding to the OUT packet and the DATA packet are qualified, and if yes, the OUT packet and the DATA packet are sent to the remote host, which 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 returned to the local host.
Preferably, the method further comprises:
step S9, when the DATA management device acquires a SETUP packet and a DATA packet which are sent by the local host based on a USB signal, judging 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 host;
step S10, the remote host determines whether the CRC of the SETUP packet and the DATA packet is acceptable, if yes, the SETUP packet and the DATA packet are sent to the remote device, and the ACK sent by the remote device is sent to the local host through the DATA management device.
Preferably, the step S10 specifically includes:
the remote host judges whether the CRC of the SETUP packet and the DATA packet is qualified or not;
if yes, the SETUP packet and the DATA packet are sent to the remote equipment, and ACK sent by the remote equipment is sent to the local host through the DATA management device;
if not, sending a data reacquiring instruction to the local host through the data management device.
From the above technical scheme, the application 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 an IN packet sent by a local host based on a USB signal to a remote host; step S2, when the remote host checks that the CRC of the IN packet is qualified, judging whether the IN packet is synchronously transmitted, if so, executing step S3, and if not, executing step S4; step S3, the far-end host sends an IN packet to the far-end equipment, and sends response data returned by the far-end equipment 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 an IN packet to the remote device, judges whether CRC (cyclic redundancy check) of response data returned by the remote device is qualified, if so, sends the response data to the local host through the data management device, and otherwise, sends NAK to the local host through the data management device. IN the application, through the cooperation of the data management device and the remote host, the remote transmission of the IN packet of the USB signal between the remote equipment and the local is realized.
Drawings
FIG. 1 is a schematic 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 in the remote transmission of USB signals according to the present embodiment;
FIG. 3 is a flowchart of a first embodiment of a data management method for remote transmission of USB signals according to the present embodiment;
FIG. 4 is a flowchart of a second embodiment of a data management method for remote transmission of USB signals according to the present embodiment;
FIG. 5 is a flow chart of the transmission of a SETUP packet in an embodiment of the present application;
fig. 6 is a transmission schematic diagram of a data management device side IN packet IN an embodiment of the present application;
fig. 7 is a schematic diagram illustrating transmission of a far-end host side IN packet according to an embodiment of the present application;
fig. 8 is a transmission schematic diagram of an OUT packet at the data management device side in the embodiment of the present application;
fig. 9 is a schematic diagram illustrating transmission of a far-end host side OUT packet in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data management method during remote transmission of USB signals, which realizes the remote transmission of IN packets of the USB signals between remote equipment and local equipment.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The data management method in the embodiment of the present application is applied to a data management system in the long-distance transmission of USB signals, as shown in fig. 1 and fig. 2, where the data management system in the embodiment includes: the remote host and the data management device during remote transmission of the USB signals are connected, the remote host is provided with remote equipment, the embodiment makes different responses to different transactions, the USB signals of the local host are smoothly transmitted to the remote host, and the remote host transmits the received data to the remote equipment, so that the time of limiting the USB transactions in a protocol is prolonged, and the purpose of long-distance transmission of the USB signals is achieved.
Specifically, the following description is given to a data management method corresponding to the data management system:
referring to fig. 3, fig. 3 is a flowchart of a first embodiment of a data management method for remote transmission of USB signals according to an embodiment of the present application.
The data management method for the long-distance transmission of the USB signal in the embodiment comprises the following steps:
IN step 301, the data management device sends an IN packet sent by the local host based on the USB signal to the remote host.
Step 302, when the remote host checks that the CRC of the IN packet is acceptable, it determines whether the IN packet is synchronous transmission, if yes, step 303 is executed, and if no, step 304 is executed.
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 device, so that the data management device forwards the response data to the local host.
Step 304, the remote host sends an IN packet to the remote device, and judges 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, NAK is sent to the local host through the data management device.
The data management method for the long-distance transmission of the USB signal in the embodiment comprises the following steps: step S1, the data management device sends an IN packet sent by a local host based on a USB signal to a remote host; step S2, when the remote host checks that the CRC of the IN packet is qualified, judging whether the IN packet is synchronously transmitted, if so, executing step S3, and if not, executing step S4; step S3, the far-end host sends an IN packet to the far-end equipment, and sends response data returned by the far-end equipment 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 an IN packet to the remote device, judges whether CRC (cyclic redundancy check) of response data returned by the remote device is qualified, if so, sends the response data to the local host through the data management device, and otherwise, sends NAK to the local host through the data management device. IN the application, through the cooperation of the data management device and the remote host, the remote transmission of the IN packet of the USB signal between the remote equipment and the local is realized.
The foregoing is a first embodiment of a data management method for remote transmission of USB signals provided in the embodiments of the present application, and the following is a second embodiment of a data management method for remote transmission of USB signals provided in the embodiments of the present application.
Referring to fig. 4, a flowchart of an embodiment of a data management method during remote transmission of USB signals in an embodiment of the present application is shown.
The data management method for the long-distance transmission of the USB signal in the embodiment comprises the following steps:
step 401, the data management device determines whether the CRC of the IN packet is acceptable, if yes, returns NAK to the local host, and then executes the subsequent steps.
IN step 402, the data management device sends an IN packet sent by the local host based on the USB signal to the remote host.
Step 403, when the remote host checks that the CRC of the IN packet is acceptable, it determines whether the IN packet is synchronous transmission, if yes, step 404 is executed, and if no, step 405 is executed.
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 device, so that the data management device forwards the response data to the local host.
Specifically, in step 404 in this embodiment, response data returned by the remote device is sent to the data management apparatus, so that the data management apparatus forwards the response data to the local host, and specifically includes:
the remote host sends the response data returned by the remote device to the data management device;
when the data management device receives the IN packet sent by the local host again, the response data is returned to the local host.
Step 405, the remote host sends an IN packet to the remote device, and determines whether the CRC of the response data returned by the remote device is acceptable, 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.
Specifically, the sending of 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;
when the acquired data returned by the remote device is NAK or STALL, the NAK or STALL is sent to the local host through the data management device.
Further, in step 405, the sending the response data to the local host through the data management device further includes:
the remote host sends an ACK to the remote device.
Step 406, when the DATA management device determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are synchronously transmitted, no information is returned to the local host.
Step 407, when the DATA management device determines that the OUT packet and the DATA packet sent by the local host based on the USB signal are not synchronously transmitted, determining whether CRCs corresponding to the OUT packet and the DATA packet are qualified, if yes, sending the OUT packet and the DATA packet to the remote host.
Specifically, in step 407, it is determined whether the CRCs corresponding to the OUT packet and the DATA packet are qualified, and if yes, the OUT packet and the DATA packet are sent to the remote host, which specifically includes:
judging whether CRC corresponding to the OUT packet and the DATA packet is qualified or not;
if yes, sending the OUT packet and the DATA packet to a remote host;
if not, the OUT packet and the DATA packet are not forwarded to the remote host, and no information is returned to the local host.
Step 408, the remote host determines whether the CRCs corresponding to the OUT packet and the DATA packet are acceptable, if not, the remote host sends a DATA error to the local host through the DATA management device, and if so, the OUT packet and the DATA packet are sent to the remote device.
In step 409, when the remote host determines that the OUT packet and the DATA packet are not synchronous transmission, the remote host sends response DATA returned by the remote device to the local host through the DATA management device.
As can be seen from the descriptions of steps 406 to 409, in this embodiment, the remote transmission of the OUT packet of the USB signal between the remote device and the local device is also achieved through the cooperation of the data management device and the remote host.
Step 410, when the DATA management device obtains the SETUP packet and the DATA packet sent by the local host based on the USB signal, it is determined whether the CRC of the SETUP packet and the DATA packet is acceptable, if yes, the SETUP packet and the DATA packet are sent to the remote host.
In step 411, the remote host determines whether the CRC of the SETUP packet and the DATA packet is acceptable, if yes, the SETUP packet and the DATA packet are sent to the remote device, and the ACK sent by the remote device is sent to the local host through the DATA management device.
Specifically, step 411 specifically includes:
the step S10 specifically includes:
the remote host judges whether CRC of the SETUP packet and the DATA packet is qualified or not;
if yes, the SETUP packet and the DATA packet are sent to the remote equipment, and ACK sent by the remote equipment is sent to the local host through the DATA management device;
if not, sending a data reacquiring instruction to the local host through the data management device.
As can be seen from the descriptions of steps 410 to 411, in this embodiment, the remote transmission of the SETUP packet of the USB signal between the remote device and the local device is also achieved through the cooperation of the data management device and the remote host.
For ease of understanding, the SETUP transaction, the OUT transaction, and the IN transaction described above are respectively described for each side IN the management system IN this embodiment as follows:
1) SETUP transaction:
as shown in fig. 5, in the SETUP transaction, the DATA management device receives the SETUP packet and the DATA packet of the local host, checks whether the CRC is correct, and when the CRC is incorrect, does not reply to the local host, and does not forward to the remote host; when the CRC is correct, after receiving the DATA DATA, replying an 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 when the CRC is wrong, the local host is required to retransmit; and when the CRC is correct, sending data to the remote equipment, receiving ACK replied by the remote equipment to the data management device, and discarding the data management device after receiving the ACK.
2) IN transaction:
as shown IN fig. 6, the data management device receives the IN packet of the local host, determines whether the IN packet is synchronous transmission, and if the IN packet is synchronous transmission, replies the information to the local host if the information returned by the remote host is received, and if the information is not received, does not return any information to the local host; and when the data returned by the remote host is received, the received data returned by the remote host is forwarded to the local host, the local host waits for an ACK (acknowledgement) to be replied, if the data is not replied, the next IN packet is waited for to retransmit the data, and if the data is replied, the data is discarded and not forwarded to the remote host.
As shown IN fig. 7, the remote host receives the IN packet forwarded by the data management device, checks the CRC, and returns the CRC error to the local host to request retransmission; and after the CRC is correct, buffering, judging whether synchronous transmission is performed, if so, forwarding the IN packet to the remote equipment, waiting for the remote equipment to return the data packet, directly forwarding the data packet to the data management device without overtime, and informing the data management device of overtime. When asynchronous transmission is carried out, forwarding an IN packet to a remote device, waiting for the remote device to return a data packet, judging whether the returned data packet CRC is correct, forwarding the data packet CRC to a data management device and returning ACK to the remote device, wherein the CRC is incorrect, returning NAK and retransmitting the IN packet to the remote device; if the remote device returns a NAK or STALL, the NAK or STALL is forwarded directly to the data management device.
3) OUT transaction:
as shown in fig. 8, the DATA management device receives the OUT packet and the DATA packet of the local host, determines whether the transmission is synchronous, and does not return any information to the local host when the transmission is synchronous; during asynchronous transmission, checking whether CRC is wrong or not, and not forwarding OUT packets and DATA packets to a remote host or replying to a local host; when the CRC is correct, the DATA management device returns NAK to the local host after receiving the DATA packet, transmits the OUT packet and the DATA packet to the remote host, waits for the remote host to return DATA, and when the remote host returns DATA, the local host OUT packet and the DATA packet are received again, and after receiving the DATA packet, the DATA returned by the remote host is forwarded to the local host.
As shown in fig. 9, the remote host receives the OUT packet and the DATA packet forwarded by the DATA management device, checks the CRC, and when the CRC is wrong, feeds back to the local, and requests retransmission; and after the CRC is correct, buffering, 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 when asynchronous transmission is carried out, waiting for the remote equipment to return the data packet, directly forwarding the data packet to the data management device, and if the data return is not received after timeout, returning NAK to the data management device. If the device is unplugged, an ERROR is returned to the data management device.
The data management method for the long-distance transmission of the USB signal in the embodiment comprises the following steps: step S1, the data management device sends an IN packet sent by a local host based on a USB signal to a remote host; step S2, when the remote host checks that the CRC of the IN packet is qualified, judging whether the IN packet is synchronously transmitted, if so, executing step S3, and if not, executing step S4; step S3, the far-end host sends an IN packet to the far-end equipment, and sends response data returned by the far-end equipment 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 an IN packet to the remote device, judges whether CRC (cyclic redundancy check) of response data returned by the remote device is qualified, if so, sends the response data to the local host through the data management device, and otherwise, sends NAK to the local host through the data management device. IN the application, through the cooperation of the data management device and the remote host, the remote transmission of USB signal packets (IN packets, OUT packets and SETUP packets) between the remote device and the local is realized.
The terms "first," "second," "third," "fourth," and the like in the description of the present application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be capable of operation in sequences other than those illustrated or described herein, for example. 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 this application, "at least one" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). 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 merely for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. A data management method for long-distance transmission of USB signals, the data management system being applied to long-distance transmission of USB signals, the data management system comprising: the remote host is connected with the local host, and is provided with remote equipment;
the management method comprises the following steps:
step S1, the data management device sends an IN packet sent by the local host based on a USB signal to a remote host;
step S2, when the remote host checks that the CRC of the IN packet is qualified, judging whether the IN packet is synchronous transmission, if so, executing step S3, and if not, executing step S4;
step S3, the far-end host sends the IN packet to the far-end equipment, and sends response data returned by the far-end equipment 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 equipment, judges whether CRC of response data returned by the remote equipment is qualified, if so, sends the response data to the local host through the data management device, and otherwise, sends NAK to the local host through the data management device.
2. The method for data management in remote transmission of USB signals according to claim 1, wherein step S1 is preceded by the further steps of:
and S0, the data management device receives the IN packet of the local host, judges whether the IN packet is synchronous transmission or not, if yes, judges whether the CRC of the IN packet is qualified, and if yes, returns NAK to the local host and then executes the subsequent steps.
3. The method according to claim 1, wherein the step S3 of sending the reply data returned by the remote device to the data management device, so that the data management device forwards the reply data to the local host, specifically includes:
the remote host sends response data returned by the remote device 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 according to claim 1, wherein the step S4 of sending NAK to the local host by 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 device is NAK or STALL, sending the NAK or STALL to the local host through the data management device.
5. The method according to claim 1, wherein the step S4 of transmitting the response data to the local host through the data management device, further comprises:
the remote host sends an ACK to the remote device.
6. The method for data management in remote transmission of USB signals according to claim 1, further comprising:
step S6, 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 not synchronously transmitted, judging whether CRC corresponding to the OUT packet and the DATA packet is qualified or not, if yes, sending the OUT packet and the DATA packet to the remote host;
step S7, the remote host judges whether CRC corresponding to the OUT packet and the DATA packet is qualified or not, if not, the DATA management device sends DATA errors to the local host, and if yes, the OUT packet and the DATA packet are sent to the remote device;
and S8, when judging that the OUT packet and the DATA packet are not synchronously transmitted, the remote host sends response DATA returned by the remote device to the local host through the DATA management device.
7. The method for data management in remote transmission of USB signals according to claim 6, further comprising:
and S5, 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, no information is returned to the local host.
8. The method of claim 6, wherein in step S6, it is determined whether the CRCs corresponding to the OUT packet and the DATA packet are acceptable, and if yes, the OUT packet and the DATA packet are sent to the remote host, and the method 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 returned to the local host.
9. The method for data management in remote 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 which are sent by the local host based on a USB signal, judging 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 host;
step S10, the remote host determines whether the CRC of the SETUP packet and the DATA packet is acceptable, if yes, the SETUP packet and the DATA packet are sent to the remote device, and the ACK sent by the remote device is sent to the local host through the DATA management device.
10. The method for data management in remote transmission of USB signals according to claim 9, wherein step S10 specifically includes:
the remote host judges whether the CRC of the SETUP packet and the DATA packet is qualified or not;
if yes, the SETUP packet and the DATA packet are sent to the remote equipment, and ACK sent by the remote equipment is sent to the local host through the DATA management device;
if not, sending a data reacquiring 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 CN114244485A (en) 2022-03-25
CN114244485B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (7)

* 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
GB0517543D0 (en) * 2005-08-27 2005-10-05 Amulet Electronics Ltd Usb extender
US7418524B2 (en) * 2005-12-06 2008-08-26 Avocent Corporation Universal serial bus (USB) extension
CN100590588C (en) * 2006-09-29 2010-02-17 联想(北京)有限公司 Method and system for commutation from USB/PCIe to VGA/DVI
US10037297B2 (en) * 2015-12-30 2018-07-31 Aten International Co., Ltd. Method of extending range of USB transmission for isochronous transfer
CN108366129B (en) * 2018-03-08 2019-05-07 北京淳中科技股份有限公司 USB data transmission method, device and USB are from device adapter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN114244485A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US5245616A (en) Technique for acknowledging packets
EP0464014A2 (en) Communications systems using a fault tolerant protocol
EP1441473B1 (en) Efficient polled frame exchange on a shared-communications channel
CN111629368B (en) Communication method of earphone and charging box, earphone and readable storage medium
WO2013091536A1 (en) Data transmission method, relevant node and system based on multi-channel
CN111711609A (en) Protocol design method in serial port communication
US7995517B2 (en) System and method for transmitting units of messages in a mobile communication system
CN115994048A (en) Chip, communication method, system and storage medium
CN110913431A (en) Data wireless transmission method and device, computer equipment and storage medium
CN114244485B (en) Data management method for USB signal long-distance transmission
CA2010809A1 (en) Technique for acknowledging packets
EP1225741B1 (en) High speed interconnection for embedded systems within a computer network
US8225161B2 (en) Retransmissions of data using increased data rate
EP1427127A2 (en) Communication control method, communication system and communication apparatus that can improve throughput
JPH1070523A (en) Method and equipment for packet transmission
CN111756734A (en) Internal interconnection communication interface and protocol of frequency converter
JP2000312201A (en) Communication equipment and error control method
CN110851116A (en) Embedded system message interaction middleware
JP3148733B2 (en) Signal processing device and signal processing system
CN111417116B (en) Communication method and system adapted through ATT, read-write and exception handling
US9154269B2 (en) Method for operating a remote procedure call handler in a client and a server and computer system comprising the same
CN116260675A (en) System and method for solving SPI master-slave switching interaction
KR101460183B1 (en) System and Method for Message Service with Reliability
JPH09326782A (en) Serial communication method
CN115955729A (en) Simple link message transmission method and system

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