Ultra-wideband-based two-end private domain file intercommunication system, method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI YIYING INFORMATION TECH CO LTD
- Filing Date
- 2026-04-27
- Publication Date
- 2026-08-07
AI Technical Summary
造成用户体验感不佳
1.私密性极强,无数据落地风险:超宽带(Ultra-Wide Band,以下简称UWB)私域直连不依赖外部网络,结合AES-256端到端加密、接入白名单机制,非配对设备无法监听、接入;设备无本地持久化物理存储,数据全程不落地传输,从硬件层面规避数据拷贝、落地泄露风险,可满足涉密场景、敏感数据传输的安全需求,相较于传统无线U盘系统,安全等级实现质的提升。
Smart Images

Figure CN122534692A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data transmission and secure communication technology, and more specifically, to a dual-end private domain file exchange system, method, and device based on ultra-wideband. Background Technology
[0002] Currently, file transfer between two physically and network-independent computers primarily relies on the following existing technologies: physical USB flash drive copying, wired direct connection, wireless transmission, and traditional Wireless USB technology. Physical USB flash drive copying is the most widely used method, where users save files to a USB flash drive and repeatedly plug and unplug it between the two computers to complete the data transfer. Wired direct connection involves directly connecting the two computers using a network cable or a specialized USB data cable. Wireless transmission solutions mainly include Bluetooth and WiFi technologies. In addition, there was an earlier version of traditional Wireless USB technology based on UWB, but this technology is now largely obsolete; for example, the Linux kernel has removed support for it.
[0003] However, the aforementioned solutions generally rely on external networks or physical media as transmission intermediaries, making them cumbersome to operate. Whether it's the risk of loss and copying due to the physical carrying of USB drives, or the ease with which Bluetooth and WiFi signals can be eavesdropped and intercepted in open spaces, none of these solutions can meet the high security requirements of classified scenarios or sensitive data transmission. Even wired connections pose a risk of signal leakage in certain electromagnetic environments, resulting in a poor user experience. Summary of the Invention
[0004] To address the aforementioned technical problems, this application discloses a dual-end private domain file exchange system, method, and device based on ultra-wideband (UWB). By integrating UWB peer-to-peer direct connection technology with USB virtualization technology, a dual-end device without local persistent storage is constructed, enabling secure data exchange between two independent computers. Specifically, the technical solution of this application is as follows: In the first aspect, this application discloses a dual-end private domain file interoperability system based on ultra-wideband, comprising two sets of identical and functionally equivalent USB virtual storage devices paired through an encryption unit: A first USB virtual storage device is used to access a first target host and to provide a first virtual USB drive letter with logical mapping to the first target host through USB virtualization technology; The second USB virtual storage device is used to connect to the second target host and provide a logically mapped second virtual USB drive letter to the second target host through USB virtualization technology; The first USB virtual storage device and the second USB virtual storage device have built-in UWB communication units for establishing point-to-point UWB private domain communication links between paired devices. When the first target host writes data to the first virtual USB drive letter, the first USB virtual storage device transmits the data to the second USB virtual storage device in real time via the UWB private domain communication link with encryption; the second USB virtual storage device maps the received data to the second virtual USB drive letter so that it can be read by the second target host.
[0005] In some embodiments, the USB virtual storage device includes: a host control unit; The main control unit is based on the USB Gadget driver architecture, used to simulate a USB mass storage device, and to report the logically mapped virtual USB flash drive information to the connected target host; the virtual USB flash drive information includes at least the drive letter and logical capacity; After recognizing the USB virtual storage device, the target host automatically generates a virtual USB drive letter that corresponds to the virtual USB drive information and can be directly read and written.
[0006] In some implementations, the encryption unit is connected to the main control unit and is used to implement a device pairing and access whitelist mechanism, specifically including the following steps: During the device initialization phase, a shared pairing key is generated by negotiating with the peer device through a key exchange protocol, and the unique identifier of the peer device is recorded in a local whitelist. During the establishment of the UWB private domain communication link, two-way identity authentication is performed on the requesting device based on the pairing key and the whitelist. When the identifier of the peer device exists in the whitelist and the pairing key is verified, an authorization is granted to establish a communication link.
[0007] In some implementations, the encryption unit is further configured to employ a symmetric encryption algorithm to perform end-to-end encryption on all data packets transmitted via the UWB private domain communication link.
[0008] In some implementations, the UWB communication unit is connected to the main control unit and is also used to send a timestamped ranging request frame to the peer device and receive a ranging response frame from the peer device. By calculating the round-trip time of the signal, the real-time physical distance between the local device and the peer device is obtained; so that the main control unit can determine the communication link quality and dynamically adjust the transmission power based on the real-time physical distance.
[0009] In some implementations, the USB virtual storage device further includes: a temporary cache unit connected to the main control unit; The temporary cache unit uses a high-capacity flash memory chip to temporarily cache file data during transmission; it is also used to continue transmitting unfinished data from the point of interruption when the UWB private domain communication link is re-established after an interruption, based on the recorded transmission progress information. The temporary cache unit does not have local persistent storage functionality and only supports logical storage mapping of virtual USB drive letters.
[0010] In some implementations, the USB virtual storage device further includes a power management unit connected to the main control unit; The power management unit establishes a physical connection with the target host via a USB interface, draws power from the target host, and uses a low-dropout linear regulator to power each unit. The power management unit is also used to automatically switch between device wake-up and sleep states.
[0011] Secondly, this application also includes a method for cross-domain private domain file communication based on ultra-broadband, the method being implemented based on the cross-domain private domain file communication system based on ultra-broadband described in any of the above embodiments, and comprising the following steps: The first virtual USB storage device is connected to the first target host, and a first virtual USB drive letter is provided to the first target host through USB virtualization technology; A second virtual USB drive letter is provided to the second target host by connecting a second USB virtual storage device and by providing a logically mapped second virtual USB drive letter to the second target host through USB virtualization technology; The first USB virtual storage device and the second USB virtual storage device have the same structure and equivalent functions. They are paired through an encryption unit and establish a point-to-point UWB private domain communication link through a built-in UWB communication unit. When the first target host writes data to the first virtual USB drive letter, the first USB virtual storage device transmits the data to the second USB virtual storage device in real time via the UWB private domain communication link with encryption; the second USB virtual storage device maps the received data to the second virtual USB drive letter so that it can be read by the second target host.
[0012] In some implementations, the ultra-wideband-based dual-end private domain file interoperability method further includes: Send a timestamped ranging request frame to the peer device and receive a ranging response frame from the peer device. Calculate the round-trip time of the signal to obtain the real-time physical distance between the local device and the peer device. Based on the real-time physical distance, the communication link quality is determined and the transmission power is dynamically adjusted; When the device is detected to be disconnected or to be out of communication range, the UWB private domain communication link is automatically disconnected, and the interrupted transmission is resumed based on the temporary buffer unit when the connection is re-established.
[0013] Thirdly, this application also discloses a USB virtual storage device, which is applicable to the ultra-wideband dual-end private domain file interoperability system described in any of the above embodiments, specifically including: The USB interface is used to establish a physical connection with the target host and draw power from the target host. The main control unit, connected to the USB interface, is used to parse the host's read and write commands and coordinate the work of each module. It implements USB virtualization based on the USB Gadget driver architecture and generates a virtual USB drive letter for the target host that corresponds to the virtual USB drive information and can be directly read and written. An encryption unit is used to enable point-to-point pairing between the target host and the peer host; UWB communication unit, used to establish point-to-point UWB private domain communication links between paired devices; A temporary cache unit is used to support the logical storage mapping of the virtual USB drive letter.
[0014] Compared with the prior art, this application has at least one of the following beneficial effects: 1. Extremely high privacy and no risk of data being stored on the ground: Ultra-Wide Band (UWB) private domain direct connection does not rely on external networks. Combined with AES-256 end-to-end encryption and access whitelist mechanism, unpaired devices cannot listen or access the device. The device has no local persistent physical storage, and the data is transmitted without being stored on the ground. It avoids the risk of data copying and leakage at the hardware level, which can meet the security requirements of confidential scenarios and sensitive data transmission. Compared with traditional wireless USB flash drive systems, the security level has been significantly improved.
[0015] 2. Easy and transparent operation with no additional learning cost: The virtual USB drive letter is completely transparent to the host, and users can read and write directly without installing additional drivers or software, or repeatedly plugging and unplugging physical devices or configuring the network; data is transmitted in real time without the need for storage and forwarding, and the operating experience is exactly the same as that of a local physical USB drive. Compared with existing wireless transmission solutions, the operation complexity is greatly reduced.
[0016] 3. Highly efficient and stable transmission, supporting large file transfer without data loss: UWB communication speed reaches over 40Mbps, latency ≤100 microseconds, supporting real-time transmission of large files without data loss; combined with TF ranging link detection, dynamic power adjustment, and channel switching mechanisms, the packet loss rate is ≤0.1%, with high stability and no noticeable lag; the temporary buffer unit supports breakpoint resumption, avoiding data loss caused by transmission interruption, and the transmission efficiency is improved by more than 10 times compared to wireless technologies such as 433 / 2.4G / Bluetooth.
[0017] 4. Strong compatibility, suitable for all scenarios: It is compatible with mainstream operating systems such as Windows, Linux, and macOS. The USB interface is compatible with various host devices (computers, tablets, etc.) without additional adaptation. As an independent hardware, it does not rely on the host's own wireless module and can be used between hosts that are physically and network independent. Its versatility is far superior to software-level virtual drive solutions.
[0018] 5. Portability, low power consumption and high reliability: The device adopts the form of a mini USB flash drive, which is small in size and light in weight, and can be carried around without additional wiring or carrying other devices, making it suitable for mobile scenarios; it draws power through the USB interface, without the need for an external power supply, and supports a low-power sleep mode, with power consumption ≤5mA when idle; the device has a simple structure, no physical storage module, low failure rate and long service life.
[0019] 6. Advanced architecture with no master-slave intermediary dependency: Both devices are completely peer-to-peer with no master-slave distinction. No hardware intermediaries such as adapters or keyboards are required. Direct point-to-point connection is possible, making deployment flexible. Unlike UWB wireless interface systems with master-slave architecture, it is applicable to a wider range of scenarios (such as confidential computer rooms, mobile offices, and on-site data interaction). Attached Figure Description
[0020] The preferred embodiments will now be described in a clear and easy-to-understand manner, in conjunction with the accompanying drawings, to further explain the above-mentioned characteristics, technical features, advantages, and implementation methods of this application.
[0021] Figure 1 This is a schematic diagram of the structure of the ultra-broadband-based dual-end private domain file communication system of this application; Figure 2 This is a schematic diagram of the structure of the first / second USB virtual storage device of this application; Figure 3 This is a flowchart illustrating the steps of an embodiment of the ultra-wideband dual-end private domain file interoperability method of this application. Detailed Implementation
[0022] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0023] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or sets.
[0024] To keep the drawings concise, each figure only schematically shows the parts relevant to the invention, and these do not represent the actual structure of the product. Furthermore, to facilitate understanding, in some figures, only one of components with the same structure or function is schematically depicted, or only one is labeled. In this document, "one" not only means "only one," but can also mean "more than one."
[0025] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0026] Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the specific implementation methods of this application will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without creative effort.
[0028] In existing technologies, to achieve file transfer between two physically independent and network-independent computers, the following methods are mainly relied upon: First, the physical USB drive copying solution: Users write data from one computer to a physical USB drive, then unplug the USB drive and plug it into a second computer, and then read the data from the USB drive to the second computer. If bidirectional data transfer or updates are required, this process necessitates repeated plugging and unplugging. However, this solution relies on external networks or physical media, making it susceptible to data leaks, eavesdropping, and interception. It fails to meet the security requirements of confidential scenarios and sensitive data transmission, and is also prone to carrying viruses.
[0029] Secondly, there's the wired direct connection solution: this involves directly connecting two computers via a network cable or using a specialized USB cable, with specific software or drivers for data transfer. This solution requires additional cables and is limited by cable length, making it inconvenient and unsuitable for mobile scenarios or when the two computers are far apart. Furthermore, wired connections require finding, carrying, and setting up cables, and are also limited by cable length. Wireless transmission solutions, on the other hand, require users to perform a series of operations such as device discovery, pairing, password entry, and confirmation of reception, failing to provide the convenient experience of plug-and-play or one-click transmission.
[0030] Third, wireless transmission solutions: Bluetooth solutions establish a Bluetooth pairing connection between two computers for file transfer; WiFi solutions rely on wireless routers or self-built WiFi hotspots to exchange data within a local area network via shared folders or specific transfer software. While some wireless solutions eliminate cables, they still require external devices such as routers and Bluetooth adapters, or the target host itself needs to rely on external network devices such as routers. They cannot achieve completely independent private communication, and their signals are easily eavesdropped and intercepted, resulting in insufficient security.
[0031] Fourth, the traditional Wireless USB technology solution: This solution is based on early Ultra-Wide Band (UWB) technology and attempts to achieve wireless USB interfaces. However, its architecture is complex, power consumption is high, and it requires complex protocol stack support. Some wired direct connection solutions and wireless transmission solutions can only be adapted to a single operating system, or require the pre-installation of dedicated drivers, transmission software, or complex network configurations on each target host. Its versatility is seriously lacking, limiting its flexibility in different working environments. It is no longer widely supported by mainstream operating systems.
[0032] The existing technical solutions described above are generally inadequate. To address these technical problems, this application provides comprehensive improvements to similar solutions such as physical USB flash drives, wireless transmission, UWB applications, and virtual drives. This application discloses another embodiment of a dual-end private domain file exchange system based on ultra-wideband technology, specifically including two sets of identical and functionally equivalent USB virtual storage devices paired through an encryption unit: A first USB virtual storage device is used to connect to a first target host and provide a first virtual USB drive letter with logical mapping to the first target host through USB virtualization technology.
[0033] The second USB virtual storage device is used to connect to the second target host and provide a logically mapped second virtual USB drive letter to the second target host through USB virtualization technology.
[0034] Specifically, the system of this application includes: a first USB virtual storage device and a second USB virtual storage device, which have completely identical structures and are completely equal, with no master-slave distinction, unlike existing master-slave wireless communication systems.
[0035] First USB virtual storage device: Connected to the first target host (e.g., computer A), providing a logically mapped virtual USB drive letter A for the first target host. It has no corresponding physical storage medium and supports direct read and write operations by the first target host to drive letter A. Second USB virtual storage device: Connected to the second target host (e.g., computer B), providing a logically mapped virtual USB drive letter B for the second target host. It has no corresponding physical storage medium and supports direct read and write operations by the second target host to drive letter B.
[0036] The first USB virtual storage device and the second USB virtual storage device have built-in UWB communication units for establishing point-to-point UWB private domain communication links between paired devices.
[0037] Specifically, the first and second USB virtual storage devices achieve point-to-point direct connection without intermediaries through the built-in UWB communication module, without relying on any external network / hardware devices such as routers, switches, and adapters, to build an independent private communication link for transmitting file data between the two hosts.
[0038] When the first target host writes data to the first virtual USB drive letter, the first USB virtual storage device transmits the data to the second USB virtual storage device in real time via the UWB private domain communication link with encryption. The second USB virtual storage device maps the received data to the second virtual USB drive letter for reading by the second target host.
[0039] Specifically, two USB virtual storage devices achieve peer-to-peer direct connection through UWB technology, building a private communication link that does not rely on external networks and has no master-slave intermediary. When one host writes data to the virtual USB drive, the data is not stored on the device but is directly transmitted to the other device in real time via the UWB link with encryption. The other host can directly read the data through its own virtual USB drive letter, realizing private and real-time file transfer and sharing between the two hosts.
[0040] This application presents a USB Gadget driver architecture that maps the UWB link to a local logical virtual USB drive letter, completely transparent to the host operating system. Users can directly read and write to it without additional drivers or software. The device has no local persistent physical storage medium, and data is never stored on the ground, thus mitigating the risk of data leakage at the hardware level, unlike existing wireless USB drive systems with physical storage.
[0041] This application provides another embodiment of a dual-end private domain file exchange system based on ultra-wideband, which is based on the above embodiment and is described in the appendix to the specification. Figure 2 As shown, the USB virtual storage device includes: a host control unit.
[0042] The main control unit is based on a USB Gadget driver architecture, used to simulate a USB mass storage device, and to report logically mapped virtual USB drive information to the connected target host. The virtual USB drive information includes at least a drive letter and logical capacity.
[0043] After recognizing the USB virtual storage device, the target host automatically generates a virtual USB drive letter that corresponds to the virtual USB drive information and can be directly read and written.
[0044] Specifically, the main control unit uses a low-power, high-performance main control chip (such as ESP32-S3), which is connected to the USB interface, UWB communication unit, temporary buffer unit, and encryption unit respectively. Its core functions are to parse the host's read and write commands, coordinate the work of each module, and realize data reception, forwarding and buffer management.
[0045] In some implementations, the main control unit is also used to implement USB virtualization based on the USB Gadget driver architecture. Specifically, the main control unit initiates the USB virtualization function, simulating a USB Mass Storage (USBMass Strage) device based on the USB Gadget driver architecture. It reports the logically mapped virtual USB drive information (drive letter, logical capacity, etc.) to the host. The host automatically identifies the device and generates a directly readable and writable virtual USB drive letter. The entire process is transparent to the host operating system, requiring no additional user intervention.
[0046] This application provides another embodiment of a dual-end private domain file communication system based on ultra-wideband, referencing... Figure 2 Based on the above embodiments, the encryption unit, connected to the main control unit, is used to implement a device pairing and access whitelist mechanism, specifically including the following steps: During the device initialization phase, a shared pairing key is generated by negotiating with the peer device through a key exchange protocol, and the unique identifier of the peer device is recorded in a local whitelist.
[0047] During the establishment of the UWB private domain communication link, two-way identity authentication is performed on the requesting device based on the pairing key and the whitelist.
[0048] When the identifier of the peer device exists in the whitelist and the pairing key is verified, an authorization is granted to establish a communication link.
[0049] Specifically, device pairing is supported, allowing only the two paired devices to establish communication, thus improving private domain security.
[0050] In some alternative implementations, the encryption unit establishes a temporary secure channel with the encryption unit of the peer device through the UWB communication unit, and negotiates and generates a shared pairing key on a public channel using a standard key exchange protocol. This key is stored in both the local encryption unit and the peer device's internal non-volatile registers and is not transmitted in plaintext over the UWB link.
[0051] At the same time, the encryption unit reads the unique identifier of the peer device and writes the identifier into a local whitelist. The whitelist is stored inside the encryption unit in a hardware-protected form to prevent external tampering or unauthorized reading, thus completing the pairing.
[0052] When a device initiates a link establishment request, the encryption unit first extracts the peer device identifier carried in the request and compares it with the identifier stored in the local whitelist. If the identifier does not exist, the connection is rejected directly. If the identifier exists, two-way authentication is further performed based on the pre-stored pairing key to authenticate the legitimacy of the local device.
[0053] Only after the identifier exists in the whitelist and both-way key verifications pass will the encryption unit return an authentication success signal to the master control unit, authorizing the master control unit to establish a UWB private domain communication link with the peer device and begin data transmission. If any step fails verification, the encryption unit immediately terminates the link establishment process and rejects any subsequent access requests from that device.
[0054] In other embodiments, the encryption unit is further configured to employ a symmetric encryption algorithm to perform end-to-end encryption on all data packets transmitted via the UWB private domain communication link.
[0055] Specifically, after the sending master unit receives file data from the target host via the USB interface, it transmits the original plaintext data to the encryption unit. The encryption unit uses a pre-negotiated symmetric key with the peer device to convert the plaintext data into ciphertext data according to an encryption algorithm, and then returns the ciphertext data to the master unit. The master unit then sends the ciphertext data out via the UWB communication unit. Optionally, the encryption algorithm is AES-256.
[0056] After receiving the encrypted data, the UWB communication unit of the receiving device transmits it to the local encryption unit. The encryption unit uses the same symmetric key to perform the corresponding decryption algorithm on the encrypted data, restoring the original plaintext data, which is then presented to the virtual USB drive icon of the target host via the main control unit and USB interface. The entire encryption and decryption process is completed internally within the device hardware; the key is not transmitted through the UWB link, thus ensuring end-to-end data confidentiality.
[0057] This application provides another embodiment of a dual-end private domain file communication system based on ultra-wideband (UWB). Building upon the above embodiment, the UWB communication unit supports TF ranging functionality. Specifically, the UWB communication unit is connected to the main control unit and is also used to send a timestamped ranging request frame to the peer device and receive a ranging response frame from the peer device. By calculating the round-trip time of flight (RTF), the real-time physical distance between the local device and the peer device is obtained. This allows the main control unit to determine the communication link quality and dynamically adjust the transmission power based on the real-time physical distance.
[0058] In practice, the UWB communication unit sends a ranging request frame with a timestamp, receives a ranging response frame from the other end, calculates the round-trip time of the signal, and determines the real-time physical distance. Simultaneously, it reports the distance data to the main control unit to assist in link status assessment and communication parameter adjustment.
[0059] Optionally, after receiving ranging data from the UWB communication unit, the main control unit compares it with a preset threshold to determine the current distance range and selects the corresponding transmit power level. Then, it writes the target power parameter into the UWB communication unit's register via control commands, driving the UWB communication unit to adjust the transmit power of its RF front-end. Optionally, as the distance gradually increases, the main control unit synchronously increases the transmit power to maintain link stability. As the distance gradually decreases, the main control unit synchronously decreases the transmit power to reduce power consumption and electromagnetic radiation.
[0060] In some implementations, the UWB communication unit is implemented using a UWB module (such as the DW3000) that supports the IEEE 802.15.4a / z protocol. Specifically, in addition to the basic TF ranging function, the UWB communication unit also has unicast direct connection and dynamic spectrum selection functions to establish a UWB private domain communication link with another USB virtual storage device, enabling high-speed, low-latency, and rootless transmission of file data.
[0061] Optionally, the UWB communication unit supports unicast direct connection. That is, based on a factory-preset pairing code or whitelist identifier, it performs identity verification with the peer device, establishing a one-to-one exclusive communication link only after successful verification. Unpaired devices are rejected. This ensures the closed and private nature of the communication link and prevents unauthorized devices from accessing the network.
[0062] In other implementations, the UWB communication unit supports dynamic spectrum selection. Specifically, the UWB communication unit periodically scans the signal quality of each available frequency band. When interference or bit error rate in the current operating frequency band exceeds a preset threshold, the main control unit controls the UWB communication unit to switch to the candidate frequency band with the best signal quality, and synchronously notifies the peer device to complete the frequency band switch via protocol signaling.
[0063] This application provides another embodiment of a dual-end private domain file interoperability system based on ultra-wideband. Based on the above embodiment, the USB virtual storage device further includes: a temporary cache unit connected to the main control unit.
[0064] The temporary cache unit uses a high-capacity flash memory chip to temporarily cache file data during transmission. It is also used to resume transmission of unfinished data from the point of interruption when the UWB private domain communication link is re-established after an interruption, based on recorded transmission progress information.
[0065] The temporary cache unit does not have local persistent storage functionality and only supports logical storage mapping of virtual USB drive letters.
[0066] Specifically, the temporary cache unit uses a high-capacity flash memory chip (such as a W25Q128 chip with 16GB or more) and is connected to the main control unit. It is only used for temporarily caching file data during transmission, supports resuming interrupted transmissions, and avoids data loss.
[0067] In other implementations, after the sending master control unit receives file data from the target host, it does not immediately forward the data to the UWB communication unit. Instead, it first divides the data into multiple fixed-size data blocks, writes these data blocks into a temporary buffer unit, and records the transmission status (sent, acknowledged, pending transmission) and the current transmission progress pointer for each data block. The master control unit reads the data block to be sent from the temporary buffer unit, encrypts it, and transmits it via UWB. Only when it receives an acknowledgment signal from the peer device does it mark the corresponding data block as acknowledged and allow it to be cleared from the buffer.
[0068] If a transmission interruption occurs, the temporary buffer unit still retains the data blocks that have been written but not yet acknowledged, as well as the current progress record. When the UWB link is re-established, the main control unit first reads the progress information recorded in the temporary buffer unit, locates the first unacknowledged data block from the point of interruption, and continues to read subsequent data blocks for transmission, thereby achieving interrupted transmission resume.
[0069] Meanwhile, since the temporary cache unit uses ordinary flash memory chips instead of special non-volatile storage controllers, the cached data is lost after the device is powered off. It does not have persistent storage capabilities and does not retain any recoverable user data traces in the device. It only serves as a temporary data transfer area during the transmission process to support the logical storage mapping behind the virtual USB drive letter.
[0070] This application provides another embodiment of a dual-end private domain file interoperability system based on ultra-wideband. Based on the above embodiment, the USB virtual storage device further includes a power management unit connected to the main control unit.
[0071] The power management unit establishes a physical connection with the target host via a USB interface, draws power from the target host, and uses a low-dropout linear regulator to power each unit.
[0072] The power management unit is also used to automatically switch between device wake-up and sleep states.
[0073] Specifically, the power management unit is directly connected to the main control unit, obtaining 5V DC power from the target host via the VBUS pin in the USB interface. Internally, the power management unit uses a low-dropout linear regulator (e.g., an AMS1117-3.3V low-dropout linear regulator) to convert the input 5V voltage to a stable 3.3V voltage, which is then supplied to various modules such as the main control unit, UWB communication unit, temporary buffer unit, and encryption unit.
[0074] The USB interface uses a USB 2.0 or higher standard interface (Type-A or Type-C can be selected, and it is compatible with Type-A adapters) to establish a physical connection with the target host, transmit the host's read and write commands and file data, and at the same time draw power from the host to provide operating power for the entire device.
[0075] Optionally, the power management unit connects to the main control unit via a general-purpose input / output interface. The main control unit uses this interface to monitor the operating status of each module and the system load in real time. When the main control unit detects no data transmission or reception activity within a preset time window, it sends a sleep command to the power management unit. Upon receiving the command, the power management unit cuts off or reduces the power supply voltage to non-critical modules such as the UWB communication unit and temporary buffer unit, putting them into a low-power sleep mode to reduce power consumption.
[0076] When the main control unit detects read / write operations on the target host via the USB interface or the UWB communication unit receives a connection request from the peer device, the main control unit immediately sends a wake-up command to the power management unit, which then switches back to the wake-up state.
[0077] Based on the same concept, refer to the attached instruction manual. Figure 3 As shown. This application also discloses a method for cross-domain private file communication based on ultra-wideband. The method is implemented based on the cross-domain private file communication system based on ultra-wideband described in any of the above embodiments, and includes the following steps: S1, the device connects to the first target host via a first USB virtual storage device, and provides a first virtual USB drive letter with logical mapping to the first target host through USB virtualization technology.
[0078] S2, connect to the second target host through the second USB virtual storage device, and provide the second target host with a logically mapped second virtual USB drive letter through USB virtualization technology.
[0079] Specifically, device access and identification: The first and second USB virtual storage devices are inserted into two physically and network-independent target hosts respectively. The devices draw power from the hosts via USB interfaces. The main control unit starts the USB virtualization unit (based on the USB Gadget driver architecture), simulating a USB Mass Strage device, and reports the logically mapped virtual USB drive information (drive letter, logical capacity, etc.) to the hosts. The hosts automatically identify the devices and generate a virtual USB drive letter that can be directly read and written. The entire process is transparent to the host operating system, and no additional operation is required from the user.
[0080] S3, the first USB virtual storage device and the second USB virtual storage device have the same structure and equivalent functions. They are paired through an encryption unit and establish a point-to-point UWB private domain communication link through the built-in UWB communication unit.
[0081] Specifically, UWB link establishment: After the two USB virtual storage devices are started, they automatically search for paired devices via the UWB communication module (pairing is completed before leaving the factory, generating a unique pairing code). After successful pairing, a point-to-point UWB private domain communication link is established. After the link is established, the connection status and communication distance are monitored in real time through the TF ranging function to ensure transmission stability. Unpaired devices cannot search for or access this link, avoiding external interference and data leakage.
[0082] S4, when the first target host writes data to the first virtual USB drive letter, the first USB virtual storage device transmits the data to the second USB virtual storage device in real time via the UWB private domain communication link with encryption. The second USB virtual storage device maps the received data to the second virtual USB drive letter so that it can be read by the second target host.
[0083] Specifically, the writing and transmission process is as follows: When the first target host writes file data to the virtual USB drive A, the host's read / write commands are transmitted to the main control unit of the first device via the USB interface. After parsing the commands, the main control unit converts the file data into a frame format that can be transmitted via UWB (the frame header contains the device identifier and data length, and the frame tail contains a CRC-32 checksum), and performs end-to-end AES-256 encryption through the encryption unit. The encrypted data is then transmitted in real time via a private domain link by the UWB communication module, without any local storage, and sent directly to the second device.
[0084] Reception and Mapping: After receiving data, the UWB communication module of the second device transmits it to the main control unit. The main control unit decrypts and verifies the data (verifying data integrity to avoid packet loss and mistransmission). After successful verification, the data is temporarily cached in the cache unit. Simultaneously, the main control unit maps the data in the cache unit to the virtual USB drive letter B on the second target host through the USB virtualization unit. The second target host can directly read the file data through drive letter B, and the operation method is completely consistent with that of a local physical USB drive.
[0085] In other embodiments, bidirectional transmission is also supported between the first USB virtual storage device and the second USB virtual storage device: specifically, when the second target host writes file data to the virtual USB drive B, the data is transmitted in real time via the UWB private domain link through the same process described above, without local storage. The first target host can directly read the data through drive A, realizing bidirectional, real-time, and storage-free file transfer and sharing. This embodiment will not repeat the description.
[0086] Based on the above embodiments, this application discloses another embodiment of the UWB private domain file interoperability method based on ultra-wideband, which further includes: automatically disconnecting the UWB private domain communication link when the device is detected to be disconnected or the communication distance is exceeded, and resuming the transmission based on the temporary buffer unit when reconnecting.
[0087] Specifically, the main control unit uses the TF ranging function of the UWB module to detect the connection status and communication distance between the two devices in real time, providing a basis for resuming interrupted transmission. Simultaneously, it dynamically adjusts the UWB communication power and time slot allocation to improve transmission stability and power consumption control. When there is no data transmission, the device automatically enters a low-power sleep mode. When a device disconnection is detected (e.g., the host is unplugged, or the communication distance is exceeded), the link is automatically disconnected, and reconnection is achieved based on the temporary buffer unit to resume interrupted transmission.
[0088] Based on the same concept, this application also discloses a USB virtual storage device, which is applicable to the ultra-wideband dual-end private domain file interoperability system described in any of the above embodiments, specifically including: The USB interface is used to establish a physical connection with the target host and draw power from the target host.
[0089] The main control unit, connected to the USB interface, is used to parse the host's read and write commands and coordinate the work of each module. It implements USB virtualization based on the USB Gadget driver architecture and generates a virtual USB drive letter for the target host that corresponds to the virtual USB drive information and can be directly read and written.
[0090] The encryption unit is used to enable point-to-point pairing between the target host and the peer host.
[0091] UWB communication unit is used to establish point-to-point UWB private domain communication links between paired devices.
[0092] A temporary cache unit is used to support the logical storage mapping of the virtual USB drive letter.
[0093] The ultra-wideband-based dual-end private domain file communication system, method and device of this application have the same technical concept, and the technical details of the embodiments of the three are applicable to each other. In order to reduce repetition, they will not be described again here.
[0094] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of program modules is merely an example. In practical applications, the above functions can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program units or modules to complete all or part of the functions described above. The program modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software program unit. Furthermore, the specific names of the program modules are only for easy differentiation and are not intended to limit the scope of protection of this application.
[0095] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0096] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A dual-end private domain file interoperability system based on ultra-wideband, characterized in that, This includes two identical, functionally equivalent USB virtual storage devices that are paired via an encryption unit: A first USB virtual storage device is used to access a first target host and to provide a first virtual USB drive letter with logical mapping to the first target host through USB virtualization technology; The second USB virtual storage device is used to connect to the second target host and provide a logically mapped second virtual USB drive letter to the second target host through USB virtualization technology; The first USB virtual storage device and the second USB virtual storage device have built-in UWB communication units for establishing point-to-point UWB private domain communication links between paired devices. When the first target host writes data to the first virtual USB drive letter, the first USB virtual storage device transmits the data to the second USB virtual storage device in real time via the UWB private domain communication link with encryption; the second USB virtual storage device maps the received data to the second virtual USB drive letter so that it can be read by the second target host.
2. The dual-end private domain file interoperability system based on ultra-wideband as described in claim 1, characterized in that, The USB virtual storage device includes: a host control unit; The main control unit is based on the USB Gadget driver architecture, used to simulate a USB mass storage device, and to report the logically mapped virtual USB flash drive information to the connected target host; the virtual USB flash drive information includes at least the drive letter and logical capacity; After recognizing the USB virtual storage device, the target host automatically generates a virtual USB drive letter that corresponds to the virtual USB drive information and can be directly read and written.
3. The dual-end private domain file interoperability system based on ultra-wideband as described in claim 2, characterized in that, The encryption unit, connected to the main control unit, is used to implement a device pairing and access whitelist mechanism, specifically including the following steps: During the device initialization phase, a shared pairing key is generated by negotiating with the peer device through a key exchange protocol, and the unique identifier of the peer device is recorded in a local whitelist. During the establishment of the UWB private domain communication link, two-way identity authentication is performed on the requesting device based on the pairing key and the whitelist. When the identifier of the peer device exists in the whitelist and the pairing key is verified, an authorization is granted to establish a communication link.
4. The dual-end private domain file interoperability system based on ultra-wideband as described in claim 3, characterized in that, The encryption unit is also used to perform end-to-end encryption processing on all data packets transmitted via the UWB private domain communication link using a symmetric encryption algorithm.
5. The dual-end private domain file interoperability system based on ultra-wideband as described in claim 3, characterized in that, The UWB communication unit is connected to the main control unit and is also used to send a timestamped ranging request frame to the peer device and receive a ranging response frame from the peer device. By calculating the round-trip flight time of the signal, the real-time physical distance between the local device and the peer device is obtained; so that the main control unit can determine the communication link quality and dynamically adjust the transmission power based on the real-time physical distance.
6. The dual-end private domain file interoperability system based on ultra-wideband as described in claim 5, characterized in that, The USB virtual storage device further includes: a temporary cache unit connected to the main control unit; The temporary cache unit uses a high-capacity flash memory chip to temporarily cache file data during transmission; it is also used to continue transmitting unfinished data from the point of interruption when the UWB private domain communication link is re-established after an interruption, based on the recorded transmission progress information. The temporary cache unit does not have local persistent storage functionality and only supports logical storage mapping of virtual USB drive letters.
7. The dual-end private domain file interoperability system based on ultra-wideband as described in claim 2, characterized in that, The USB virtual storage device further includes a power management unit connected to the main control unit; The power management unit establishes a physical connection with the target host via a USB interface, draws power from the target host, and uses a low-dropout linear regulator to power each unit. The power management unit is also used to automatically switch between device wake-up and sleep states.
8. A method for two-way private domain file interoperability based on ultra-wideband, characterized in that, The method is implemented based on the ultra-wideband dual-end private domain file communication system according to any one of claims 1-7, and includes the following steps: The first virtual USB storage device is connected to the first target host, and a first virtual USB drive letter is provided to the first target host through USB virtualization technology; A second virtual USB drive letter is provided to the second target host by connecting a second USB virtual storage device and by providing a logically mapped second virtual USB drive letter to the second target host through USB virtualization technology; The first USB virtual storage device and the second USB virtual storage device have the same structure and equivalent functions. They are paired through an encryption unit and establish a point-to-point UWB private domain communication link through a built-in UWB communication unit. When the first target host writes data to the first virtual USB drive letter, the first USB virtual storage device transmits the data to the second USB virtual storage device in real time via the UWB private domain communication link with encryption; the second USB virtual storage device maps the received data to the second virtual USB drive letter so that it can be read by the second target host.
9. The method for interoperability of private domain files based on ultra-wideband as described in claim 8, characterized in that, Also includes: When the device is detected to be disconnected or to be out of communication range, the UWB private domain communication link is automatically disconnected, and the interrupted transmission is resumed based on the temporary buffer unit when the connection is re-established.
10. A USB virtual storage device, characterized in that, The device is applicable to the ultra-wideband-based dual-end private domain file communication system as described in any one of claims 1 to 7, specifically including: The USB interface is used to establish a physical connection with the target host and draw power from the target host. The main control unit, connected to the USB interface, is used to parse the host's read and write commands and coordinate the work of each module. It implements USB virtualization based on the USBGadget driver architecture and generates a virtual USB drive letter corresponding to the virtual USB drive information for the target host, which can be directly read and written. An encryption unit is used to enable point-to-point pairing between the target host and the peer host; UWB communication unit, used to establish point-to-point UWB private domain communication links between paired devices; A temporary cache unit is used to support the logical storage mapping of the virtual USB drive letter.