Method and system for realizing U disk data transmission based on UWB communication
By acquiring the characteristic parameters of the USB flash drive and identifying the UWB hardware identifier, the wireless channel environment is dynamically divided, and the USB flash drive data transmission scheme is optimized. This solves the problem of limited transmission distance and speed of USB flash drives and realizes stable and reliable long-distance data exchange.
Patent Information
- Application Number
- CN202511043080.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-28
- Publication Date
- 2025-10-28
AI Technical Summary
Data transfer via USB flash drives is limited by physical interface protocols and contact stability. Transmission distance is restricted by cables. Traditional wireless solutions have high power consumption, low speed, and lack precise spatial positioning capabilities, making them unable to meet the needs of long-distance data exchange across devices.
By acquiring the device characteristic parameters of the target USB flash drive, identifying the UWB hardware identification code, analyzing the communication spectrum range, dynamically dividing the wireless channel environment, detecting the channel interference intensity, calculating the transmission error threshold and data retransmission count, determining the data attenuation threshold and equalization compensation index, and optimizing the data packet transmission scheme.
It improves the data transfer distance, speed, and scenario adaptability of USB flash drives, ensuring the stability and reliability of transmission and adapting to transmission needs in complex environments.
Smart Images

Figure CN120848805A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method and system for data transmission via USB flash drive based on UWB communication, belonging to the field of data transmission technology. Background Technology
[0002] A USB flash drive is a portable data storage device that connects to a host device via a USB interface and uses flash memory chips as the storage medium. Its transmission performance is limited by the physical interface protocol and contact stability.
[0003] Currently, data transfer on USB flash drives mainly relies on wired USB protocols (such as USB 3.0 / 3.1), which has the following shortcomings: First, physical plugging and unplugging can easily lead to interface wear or poor contact, especially in scenarios with frequent plugging and unplugging, resulting in decreased reliability; second, the transmission distance is limited by the cable length (usually no more than 3 meters), which cannot meet the needs of long-distance data exchange across devices; third, traditional wireless alternatives (such as Wi-Fi Direct or Bluetooth) have problems such as high power consumption, low speed (Bluetooth 4.0's theoretical peak is only 24Mbps) and protocol complexity. For example, when transferring large files, Wi-Fi requires manual pairing and is susceptible to network interference, while Bluetooth suffers from significant transmission delays due to insufficient bandwidth. In addition, the above technologies lack precise spatial positioning capabilities, cannot achieve directional transmission in multi-device environments, and do not fully utilize the nanosecond-level pulse anti-interference characteristics of ultra-wideband (UWB). Therefore, a USB flash drive data transfer method based on UWB communication is needed to improve the data transfer distance, speed, and scenario adaptability of USB flash drives. Summary of the Invention
[0004] This invention provides a method and system for USB flash drive data transmission based on UWB communication, the main purpose of which is to improve the data transmission distance, speed and scenario adaptability of USB flash drive.
[0005] To achieve the above objectives, this invention provides a method for data transfer via USB flash drive based on UWB communication, comprising: Obtain the device characteristic parameters corresponding to the target USB flash drive, identify the UWB hardware identification code in the device characteristic parameters, analyze the communication spectrum range corresponding to the UWB hardware identification code, and dynamically divide the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and the preset device scanning protocol to obtain the set of accessible frequency bands. The channel interference intensity corresponding to each frequency band in the set of accessible frequency bands is detected, the UWB pulse fluctuation characteristics corresponding to the channel interference intensity are analyzed, the transmission error threshold corresponding to the UWB pulse fluctuation characteristics is analyzed, and the number of data retransmissions corresponding to the transmission error threshold is calculated. Based on the number of data retransmissions, the data attenuation threshold of the target USB flash drive during data transmission is determined, the transmission delay component corresponding to the data attenuation threshold is analyzed, and the balance compensation index corresponding to the target USB flash drive is calculated based on the transmission delay component. Based on the balance compensation index, the symbol synchronization path of the target USB flash drive during data packet transmission is determined, the phase deviation tolerance corresponding to the symbol synchronization path is queried, and the data transfer status corresponding to the file data in the target USB flash drive is determined based on the phase deviation tolerance. Based on the data transfer status, the file write characteristics corresponding to the file to be transferred in the target USB flash drive are queried. Based on the file write characteristics, anti-interference adjustment is performed on the file to be transferred to obtain an anti-interference transmission data stream. The idle time slots in the anti-interference transmission data stream are optimized to generate a data transmission scheme for the target USB flash drive regarding UWB communication.
[0006] Optionally, the step of dynamically dividing the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and a preset device scanning protocol to obtain a set of accessible frequency bands includes: Identify the channel spectrum characteristics within the communication spectrum range; Based on the channel spectrum characteristics and a preset device scanning protocol, the wireless channel environment is scanned for frequency bands to obtain a candidate frequency band set. Analyze the frequency band correlation characteristics of the candidate frequency band set; Based on the frequency band association characteristics, the candidate frequency band set is dynamically divided to obtain an accessible frequency band set.
[0007] Optionally, detecting the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands includes: Identify the channel identifier parameters corresponding to each frequency band in the set of accessible frequency bands; Scan the real-time spectrum waveform corresponding to the channel identifier parameters; Analyze the interference intensity characteristics corresponding to the real-time spectrum waveform; Extract the peak statistical values corresponding to the interference intensity features; Based on the peak statistics, the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands is detected.
[0008] Optionally, the step of analyzing the transmission error threshold corresponding to the UWB pulse fluctuation characteristics and calculating the number of data retransmissions corresponding to the transmission error threshold includes: Identify the pulse deviation timing in the UMB pulse fluctuation characteristics; Analyze the fault-tolerant code identifier corresponding to the pulse deviation timing; Based on the fault-tolerant coding identifier, query the error reference base value in the preset error comparison table; Analyze the data transmission index corresponding to the bit error reference base value; Based on the data transmission index, analyze the transmission error threshold corresponding to the UWB pulse fluctuation characteristics; The number of data retransmissions corresponding to the transmission error threshold is calculated using the following formula:
[0009] in, This indicates the number of data retransmissions corresponding to the transmission error threshold. This indicates the total number of available frequency bands. This indicates the index of the number of available frequency bands. Indicates the average amount of data transmitted. This represents the transmission error threshold for the i-th accessible frequency band. This represents the channel interference intensity coefficient for the i-th accessible frequency band.
[0010] Optionally, determining the data attenuation threshold of the target USB flash drive during data transmission based on the number of data retransmissions includes: Analyze the transmission risk level corresponding to the number of data retransmissions; Analyze the risk tier values corresponding to the transmission risk level; Based on the risk tier value, query the channel transmission quality of the target USB flash drive during data transmission; Identify the quality attenuation baseline in the channel transmission quality; Based on the aforementioned quality attenuation baseline, the data attenuation threshold of the target USB flash drive during data transmission is determined.
[0011] Optionally, calculating the equalization compensation index corresponding to the target USB flash drive based on the transmission delay component includes: Identify the delay fluctuation characteristics corresponding to the transmission delay components; The time delay fluctuation characteristics are quantized to obtain quantized fluctuation parameters; Determine the compensation benchmark value corresponding to the quantified fluctuation parameter; Extract the compensation adjustment factor from the compensation benchmark value; Based on the aforementioned compensation adjustment factor, the equilibrium compensation index corresponding to the target USB flash drive is calculated using the following formula:
[0012] in, This represents the equilibrium compensation index corresponding to the target USB flash drive. This represents the compensation adjustment factor. Represents a proportionality constant. Represents the time delay weighting constant. Indicates the standard deviation of delay spread. Indicates the duration of the symbol. Indicates system bandwidth. Indicates the reference bandwidth.
[0013] Optionally, determining the symbol synchronization path of the target USB flash drive during data packet transmission based on the balance compensation index includes: Analyze the compensation synchronization timing corresponding to the equilibrium compensation index; Query the time deviation range corresponding to the compensation synchronization timing; Based on the time deviation range, screen the symbol path sequence corresponding to the data packets in the target USB flash drive; Analyze the path stability weights corresponding to the symbol path sequence; Based on the path stability weight, the symbol synchronization path of the target USB flash drive during data packet transmission is determined.
[0014] Optionally, determining the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance includes: Extract the tolerance error index from the phase deviation tolerance; Based on the aforementioned error tolerance index, collect the synchronization timing parameters corresponding to the file data in the target USB flash drive; Analyze the transfer correlation strength between the synchronization timing parameters; Based on the transfer association strength, the data transfer status corresponding to the file data in the target USB drive is determined.
[0015] Optionally, querying the file write characteristics corresponding to the file to be transferred in the target USB drive based on the data transfer status includes: Identify the file transfer stage corresponding to the data transfer status; Query the write performance standard corresponding to the file transfer stage; Based on the write performance standard, classify the file write level corresponding to the file to be transferred in the target USB flash drive; Analyze the write rate index corresponding to the file write level; Based on the write rate index, query the file write characteristics corresponding to the file to be transferred in the target USB flash drive.
[0016] To address the aforementioned problems, this invention also provides a USB flash drive data transfer system based on UWB communication, the system comprising: The dynamic partitioning module is used to obtain the device feature parameters corresponding to the target USB flash drive, identify the UWB hardware identification code in the device feature parameters, analyze the communication spectrum range corresponding to the UWB hardware identification code, and dynamically partition the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and a preset device scanning protocol to obtain a set of accessible frequency bands. The retransmission count calculation module is used to detect the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands, analyze the UWB pulse fluctuation characteristics corresponding to the channel interference intensity, analyze the transmission error threshold corresponding to the UWB pulse fluctuation characteristics, and calculate the number of data retransmissions corresponding to the transmission error threshold. The compensation index calculation module is used to determine the data attenuation threshold of the target USB flash drive during data transmission based on the number of data retransmissions, analyze the transmission delay component corresponding to the data attenuation threshold, and calculate the balance compensation index corresponding to the target USB flash drive based on the transmission delay component. The transfer status determination module is used to determine the symbol synchronization path of the target USB flash drive during data packet transmission based on the balance compensation index, query the phase deviation tolerance corresponding to the symbol synchronization path, and determine the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance. The scheme generation module is used to query the file write characteristics corresponding to the file to be transferred in the target USB flash drive based on the data transfer status, perform anti-interference adjustment on the file to be transferred based on the file write characteristics, obtain an anti-interference transmission data stream, and optimize the idle time slots in the anti-interference transmission data stream to generate a data transmission scheme for the target USB flash drive regarding UWB communication.
[0017] Compared to the problems described in the background technology, this invention, by acquiring the device characteristic parameters corresponding to the target USB flash drive and identifying the UWB hardware identifier code in the device characteristic parameters, can accurately locate the unique communication identifier of the corresponding device, providing a core basis for subsequent communication spectrum analysis based on UWB technology; simultaneously, it can quickly associate the device's basic UWB communication attributes, improving the efficiency and reliability of the overall communication link establishment; by detecting the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands, this invention can accurately grasp the real-time interference status of different frequency bands, identify high-quality frequency bands with less interference, and prioritize the stability of data transmission; it can also avoid strong interference frequency bands in advance, reducing transmission errors caused by interference and improving the reliability and efficiency of overall data transmission; furthermore, based on the number of data retransmissions, this invention determines the data attenuation threshold of the target USB flash drive during data transmission, accurately controlling the quality loss accumulated by multiple retransmissions, and laying a solid foundation for data integrity; proactively... This invention adapts to different transmission environments, flexibly adjusting attenuation tolerance based on retransmission conditions to ensure transmission efficiency, facilitate early optimization of transmission strategies, and improve the stability and reliability of USB flash drive data transmission. Furthermore, based on the balanced compensation index, this invention determines the symbol synchronization path of the target USB flash drive during data packet transmission, accurately adapting to differences in transmission environments and optimizing symbol alignment accuracy. By associating path characteristics with the index, it reduces transmission errors caused by synchronization deviations. It can also dynamically adjust synchronization strategies to improve data transmission timing consistency, ensuring the stability and reliability of USB flash drive transmission in complex scenarios. Finally, based on the data transfer state, this invention queries the file writing characteristics corresponding to the file to be transmitted in the target USB flash drive, accurately matching file characteristics with the current transmission environment, providing an adaptation basis for write operations. It can also proactively grasp key file writing attributes, avoiding transmission anomalies caused by feature mismatches, and lay the foundation for subsequent write strategy adjustments, improving the stability and efficiency of USB flash drive file writing. Therefore, the USB flash drive data transmission method and system based on UWB communication provided by this invention can improve the data transmission distance, rate, and scenario adaptability of USB flash drives. Attached Figure Description
[0018] Figure 1 This is a flowchart illustrating a method for transmitting data via USB flash drive based on UWB communication, as provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of a data state transition architecture in a method for transmitting data from a USB flash drive based on UWB communication, provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of a module for implementing a USB flash drive data transmission system based on UWB communication, provided as an embodiment of the present invention.
[0019] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0021] This application provides a method for data transfer via USB flash drive based on UWB communication. The executing entity of this method includes, but is not limited to, at least one electronic device that can be configured to execute the method provided in this application, such as a server or a terminal. In other words, the method for data transfer via USB flash drive based on UWB communication can be executed by software or hardware installed on a terminal device or a server device. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.
[0022] Reference Figure 1 The diagram shown is a flowchart illustrating a method for transmitting data from a USB flash drive based on UWB communication, according to an embodiment of the present invention. In this embodiment, the method for transmitting data from a USB flash drive based on UWB communication includes: S1. Obtain the device characteristic parameters corresponding to the target USB flash drive, identify the UWB hardware identification code in the device characteristic parameters, analyze the communication spectrum range corresponding to the UWB hardware identification code, and dynamically divide the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and the preset device scanning protocol to obtain the set of accessible frequency bands.
[0023] This invention obtains the device characteristic parameters corresponding to the target USB flash drive and identifies the UWB hardware identification code in the device characteristic parameters, which can accurately locate the unique communication identifier of the corresponding device, providing a core basis for subsequent communication spectrum analysis based on UWB technology; at the same time, it can quickly associate the device's basic UWB communication attributes, improving the efficiency and reliability of the overall communication link establishment.
[0024] The target USB flash drive refers to a portable storage device with UWB communication capabilities that needs to perform data transfer operations. It integrates a UWB communication module to achieve wireless data interaction, unlike traditional USB flash drives that rely on a USB interface. For example, a certain model of the target USB flash drive has a built-in UWB chip, supports communication in the 3.1-6.5GHz frequency band, has a storage capacity of 256GB, and can establish wireless connections with other devices and transfer files via UWB signals. The device characteristic parameters refer to a set of parameters describing the hardware and communication attributes of the target USB flash drive, covering information such as device model, UWB module model, communication spectrum range, storage capacity, maximum transmission rate, and hardware interface type. These are key criteria for identifying the device's identity and communication capabilities. For example, the device characteristic parameters of a certain target USB flash drive include: model UWB-U200, UWB module DW3000, communication spectrum 4.7-6.5GHz, storage capacity 512GB, and a maximum UWB transmission rate of 800Mbps. These parameters can be used to analyze its... Communication compatibility; the UWB hardware identifier code refers to the hardware code assigned by the UWB chip manufacturer to uniquely identify the UWB communication module of the target USB flash drive. It is globally unique and used to accurately identify the device in the UWB communication network. It is typically a fixed-length binary or hexadecimal code. For example, the UWB hardware identifier code of a target USB flash drive might be 0x5A3C7E912F4D6B80, a total of 64 bits, containing information such as the manufacturer code, chip model, and production serial number. It can serve as a "digital ID card" for the device to communicate in the UWB channel. Optionally, obtaining the device characteristic parameters corresponding to the target USB flash drive can be achieved through operating system command-line tools, such as using the Linux `lsusb` command to obtain USB device descriptor information, thereby obtaining the device characteristic parameters. Identifying the UWB hardware identifier code in the device characteristic parameters can be achieved through text parsing algorithms, such as using Python's `re` module to match specific identifier fields using regular expressions, thereby obtaining the UWB hardware identifier code.
[0025] Furthermore, by analyzing the communication spectrum range corresponding to the UWB hardware identifier, this invention can accurately pinpoint the device's dedicated communication frequency band interval, providing a clear basis for subsequent channel environment allocation; at the same time, it can understand the device's spectrum characteristics in advance, avoiding conflicts with other devices in frequency band usage, and also provide basic parameters for the selection of frequency bands for subsequent data transmission schemes, improving the adaptability and stability of the transmission channel.
[0026] The communication spectrum range refers to the specific frequency range within which the UWB communication module of the target USB flash drive can transmit and receive wireless signals. This range is determined by relevant technical standards and hardware design, and directly affects the device's communication distance, anti-interference capability, and data transmission rate. For example, the communication spectrum range corresponding to the UWB hardware identifier of a target USB flash drive is 3.1GHz to 5.8GHz. The 3.1GHz-4.8GHz band is mainly used for short-distance high-speed transmission, while the 4.8GHz-5.8GHz band is suitable for stable communication over slightly longer distances. The division of different sub-bands can adapt to the transmission requirements in different scenarios. Optionally, the analysis of the communication spectrum range corresponding to the UWB hardware identifier can be achieved by measuring with a spectrum analyzer, such as using a Keysight N9020B MXA signal analyzer to scan the transmission frequency band of the UWB device to obtain the communication spectrum range.
[0027] Furthermore, based on the communication spectrum range and a preset device scanning protocol, this invention dynamically divides the wireless channel environment where the target USB flash drive is located to obtain a set of accessible frequency bands. This allows for the precise selection of frequency band intervals where the device can communicate stably, providing effective channel resources for subsequent transmission. Simultaneously, by dynamically adjusting to adapt to real-time channel changes, it enhances the adaptability to complex wireless environments. It also reduces invalid frequency band occupation, optimizes channel resource allocation, and lays the foundation for efficient and low-interference data transmission.
[0028] The preset device scanning protocol refers to a set of rules and procedures pre-defined to achieve efficient detection of the wireless environment in which the target USB flash drive is located. It covers scanning frequency, channel detection duration, signal strength threshold, and device response mechanism, etc., to standardize the scanning process and ensure the accuracy of the acquired information. For example, a protocol specifies a scanning frequency of 5 times per second, a detection duration of 100 milliseconds for each potential channel, and marks a detected signal strength higher than -85dBm as a valid signal. Simultaneously, it stipulates that the device must return response information within 200 milliseconds. The wireless channel environment refers to the surrounding wireless signal distribution status when the target USB flash drive is conducting UWB communication, including factors such as the signal frequency, strength, interference type, and channel occupancy of other wireless devices (such as Wi-Fi routers, Bluetooth devices, etc.) in the area. For example, the wireless channel environment in which a target USB flash drive is located... There are three Wi-Fi signals operating in the 2.4GHz band (with strengths of -70dBm, -78dBm, and -82dBm, respectively) and two Bluetooth signals (operating at 2.45GHz with a strength of -80dBm). There are also sporadic pulse interference signals within the available UWB frequency bands. The set of accessible frequency bands refers to the combination of frequency bands that can be safely and stably used by the target USB flash drive, determined by analyzing the frequency band correlation characteristics and dynamically dividing the candidate frequency band set. These frequency bands achieve an optimal balance between frequency resource allocation and anti-interference performance. For example, after dynamically dividing the candidate frequency band set, the set of accessible frequency bands is {3.3-3.6GHz, 5.7-6.1GHz}, where 3.3-3.6GHz is used for control signal transmission and 5.7-6.1GHz is used for data signal transmission, minimizing interference between the two frequency bands.
[0029] As an embodiment of the present invention, the step of dynamically dividing the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and a preset device scanning protocol to obtain an accessible frequency band set includes: identifying channel spectrum characteristics within the communication spectrum range; performing frequency band scanning on the wireless channel environment based on the channel spectrum characteristics and a preset device scanning protocol to obtain a candidate frequency band set; analyzing the frequency band correlation characteristics in the candidate frequency band set; and dynamically dividing the candidate frequency band set based on the frequency band correlation characteristics to obtain an accessible frequency band set.
[0030] The channel spectrum characteristics refer to a set of parameters used to describe the physical characteristics of each frequency band within the communication spectrum range, including indicators such as center frequency, bandwidth, power spectral density, noise floor, and spectral flatness. These reflect the communication quality and availability of the frequency band. For example, a communication spectrum range is 3.1-6.5GHz, where the 4.2-4.8GHz band has a center frequency of 4.5GHz, a bandwidth of 600MHz, a power spectral density of -90dBm / MHz, a noise floor of -105dBm, and a spectral flatness of ±1.5dB. These characteristics can be used to evaluate whether the frequency band is suitable for data transmission. The candidate frequency band set refers to the set of frequency bands initially selected for communication after scanning the wireless channel environment using a preset scanning protocol. It includes multiple frequency band intervals that meet basic signal quality requirements. For example, after scanning within the 3.1-6.5GHz spectrum range... Three candidate frequency bands were obtained: 3.3-3.6GHz (signal strength -85dBm), 4.5-4.9GHz (signal strength -82dBm), and 5.7-6.1GHz (signal strength -88dBm). The signal strength of these frequency bands is higher than the preset threshold of -90dBm. The frequency band correlation characteristics refer to the inherent connections and dependencies between the frequency bands in the candidate frequency band set in terms of frequency distribution, signal characteristics, and interference sources. These include the frequency spacing between frequency bands, the probability of co-channel interference, and the interference coupling degree of adjacent frequency bands. For example, the frequency spacing between the candidate frequency bands 4.5-4.9GHz and 5.7-6.1GHz is 1.2GHz, and the probability of co-channel interference is low. However, the coupling degree of the 4.5-4.9GHz band due to interference from nearby Wi-Fi devices is 0.3 (out of 1.0), while the coupling degree of the 5.7-6.1GHz band is only 0.1.
[0031] Furthermore, the identification of channel spectrum characteristics within the communication spectrum range can be achieved through spectrum feature extraction algorithms, such as using wavelet transform to decompose the spectrum signal and obtain the energy distribution of each sub-band, thereby obtaining channel spectrum characteristics; the frequency band scanning of the wireless channel environment can be achieved through spectrum sensing technology, such as using a cognitive radio system to perform energy-detection broadband scanning, thereby obtaining a candidate frequency band set; the analysis of frequency band correlation characteristics in the candidate frequency band set can be achieved through correlation analysis methods, such as using the Pearson correlation coefficient to calculate the degree of inter-band interference, thereby obtaining frequency band correlation characteristics; the dynamic partitioning of the candidate frequency band set can be achieved through dynamic spectrum allocation algorithms, such as using a game theory-based optimal bidding strategy to partition available frequency band resources, thereby obtaining a set of accessible frequency bands.
[0032] S2. Detect the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands, analyze the UWB pulse fluctuation characteristics corresponding to the channel interference intensity, analyze the transmission error threshold corresponding to the UWB pulse fluctuation characteristics, and calculate the number of data retransmissions corresponding to the transmission error threshold.
[0033] This invention can accurately grasp the real-time interference status of different frequency bands by detecting the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands. It can identify high-quality frequency bands with less interference and prioritize the stability of data transmission. It can also avoid strong interference frequency bands in advance, reduce transmission errors caused by interference, and improve the overall reliability and efficiency of data transmission.
[0034] The channel interference intensity refers to the degree of influence of interference signals on normal communication signals within the accessible frequency band. It is a quantitative indicator calculated based on peak statistics and interference intensity characteristics, and directly reflects the communication quality of the frequency band. For example, if the channel interference intensity of a certain frequency band is calculated to be 65 (out of 100, the higher the value, the more severe the interference), it indicates that there is moderate interference in the frequency band, and the transmission parameters need to be adjusted to ensure communication stability.
[0035] As an embodiment of the present invention, the detection of the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands includes: identifying the channel identification parameters corresponding to each frequency band in the set of accessible frequency bands; scanning the real-time spectrum waveform corresponding to the channel identification parameters; analyzing the interference intensity characteristics corresponding to the real-time spectrum waveform; extracting the peak statistical values corresponding to the interference intensity characteristics; and detecting the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands based on the peak statistical values.
[0036] The channel identification parameters refer to the characteristic parameters used to uniquely identify each frequency band in the set of accessible frequency bands, including the frequency band number, center frequency, bandwidth range, and channel number. These are the basic identifiers for distinguishing different frequency bands and performing targeted scanning. For example, the channel identification parameters for a certain accessible frequency band are: number F03, center frequency 5.2GHz, bandwidth 500MHz, and channel number 149. These parameters allow for precise location and scanning of that specific frequency band. The real-time spectrum waveform refers to the dynamic curve of signal strength changing with frequency within the accessible frequency band during real-time scanning. It reflects the signal energy distribution and interference signal fluctuations at different frequency points within the band. For example, in the real-time spectrum waveform obtained from scanning the 5.2-5.7GHz frequency band, there is a peak interference of -75dBm at 5.3GHz, and the signal strength near 5.5GHz stabilizes at -85dBm. The overall waveform shows three obvious interference spikes. Interference intensity characteristics refer to the characteristic parameters extracted from real-time spectrum waveforms that reflect the strength and distribution pattern of interference signals. These include interference peak intensity, interference duration, interference frequency distribution density, and interference signal bandwidth. For example, the interference intensity characteristics of a certain frequency band are: maximum interference peak value -68dBm, single interference duration 12ms, interference frequency distribution density of 0.8 times / MHz in the 5.2-5.3GHz range, and average interference signal bandwidth of 40MHz. Peak statistics refer to the quantitative indicators obtained after statistical analysis of the interference peak values in the interference intensity characteristics. These include peak occurrence frequency, mean peak intensity, peak intensity variance, and the difference between the maximum and minimum peak values. These are used to assess the stability and severity of interference. For example, the peak statistics of a certain frequency band are: peak occurrence frequency 2.5 times / second, mean peak intensity -72dBm, variance 5dB, and the difference between the maximum peak value -65dBm and the minimum peak value -78dBm is 13dB.
[0037] Furthermore, the identification of channel identification parameters corresponding to each frequency band in the set of accessible frequency bands can be achieved through digital signal processing techniques, such as using MATLAB's Signal Processing Toolbox to analyze the center frequency and bandwidth of the frequency bands to obtain the channel identification parameters; the scanning of the real-time spectrum waveform corresponding to the channel identification parameters can be achieved through a real-time spectrum analyzer, such as using a Rohde & Schwarz FSW spectrum analyzer for high-precision spectrum capture to obtain the real-time spectrum waveform; the analysis of the interference intensity characteristics corresponding to the real-time spectrum waveform can be achieved through power spectral density analysis methods, such as using the Welch method to calculate the power spectrum distribution characteristics of each frequency band to obtain the interference intensity characteristics; the extraction of peak statistics corresponding to the interference intensity characteristics can be achieved through extreme value detection algorithms, such as using the sliding window method to detect local maximum values of the spectrum waveform to obtain peak statistics; the detection of channel interference intensity corresponding to each frequency band in the set of accessible frequency bands can be achieved through signal-to-noise ratio measurement methods, such as using an adaptive threshold method to calculate the signal-to-noise power ratio to obtain the channel interference intensity.
[0038] This invention analyzes the UWB pulse fluctuation characteristics corresponding to the channel interference intensity, enabling in-depth analysis of the specific impact patterns of interference on UWB pulse signals. It can identify the source and type of interference through fluctuation characteristics, helping to optimize anti-interference strategies in a targeted manner. It can also provide direction for pulse signal adjustment during data transmission, improving the stability of UWB communication in complex interference environments.
[0039] The UWB pulse fluctuation characteristics refer to the dynamic changes in amplitude, phase, pulse width, and repetition frequency of the nanosecond-level pulse signal sent by the UWB communication module of the target USB flash drive under the influence of channel interference. These changes directly reflect the degree of interference on the pulse signal. For example, in a certain frequency band with an interference intensity of 65, the amplitude of the UWB pulse fluctuates from the normal -30dBm to -38dBm, the phase shift reaches a maximum of 5 degrees, the pulse width increases from 1.2ns to 1.5ns, and the repetition frequency fluctuates by ±5MHz from 100MHz. These characteristics can quantify the specific impact of interference on the signal. Optionally, the analysis of the UWB pulse fluctuation characteristics corresponding to the channel interference intensity can be achieved by time-domain reflectometry, such as using a Tektronix DPO70000 series oscilloscope to capture nanosecond-level pulse waveform distortion, thereby obtaining the UWB pulse fluctuation characteristics.
[0040] Furthermore, by analyzing the transmission error threshold corresponding to the UWB pulse fluctuation characteristics and calculating the number of data retransmissions corresponding to the transmission error threshold, this invention can accurately define the acceptable upper limit of transmission errors and set a clear standard for the reliability of data transmission. At the same time, by matching the error threshold with the number of retransmissions, unnecessary retransmissions can be reduced while ensuring data integrity, providing a basis for subsequent transmission parameter adjustments and improving the adaptability of UWB communication in fluctuating environments.
[0041] The transmission error threshold refers to the maximum permissible bit error rate (BER) determined based on pulse fluctuation characteristics during UWB data transmission. It is a crucial indicator of data transmission accuracy. Exceeding this threshold necessitates initiating a data retransmission mechanism to ensure information integrity. For example, when the UWB pulse amplitude fluctuation range is ±8dBm and the maximum phase offset is 6 degrees, the corresponding transmission error threshold is set as follows: This means that no more than 12 error bits are allowed per million data bits transmitted. If the actual bit error rate exceeds this value, the system will automatically trigger a retransmission process. The number of data retransmissions refers to the average number of times data that has failed to be transmitted or has exceeded the bit error rate limit is retransmitted to meet the bit error requirements under the constraint of the bit error threshold. For example, in multi-band UWB transmission, considering the situation of each frequency band, it is calculated that an average of 2.3 retransmissions are required. This guides the retransmission strategy and balances transmission efficiency and accuracy.
[0042] As an embodiment of the present invention, the step of analyzing the transmission error threshold corresponding to the UWB pulse fluctuation characteristics includes: identifying the pulse deviation timing in the UWB pulse fluctuation characteristics; parsing the fault-tolerant coding identifier corresponding to the pulse deviation timing; querying the error reference base value in a preset error lookup table based on the fault-tolerant coding identifier; parsing the data transmission index corresponding to the error reference base value; and analyzing the transmission error threshold corresponding to the UWB pulse fluctuation characteristics based on the data transmission index.
[0043] The pulse deviation timing refers to the dynamic change record of UWB pulses deviating from the ideal transmission time sequence during transmission. It includes information such as the time offset of each pulse, the duration of the offset, the time node of the offset occurrence, and the offset trend, reflecting the degree of timing disorder after pulse interference. For example, the deviation timing of a certain pulse sequence is: the 5th pulse offsets by 1.2ns (occurring at 1.3ms), lasting 0.5ns; the 12th pulse offsets by 0.8ns (occurring at 3.7ms), lasting 0.3ns, exhibiting an overall characteristic of occasional small-amplitude offsets. The fault-tolerant coding identifier is a unique identifier used to mark the fault-tolerant coding type used in the data transmission of the target USB flash drive. This includes information such as encoding method (e.g., CRC, convolutional code, Turbo code), encoding length, and error correction capability level. It serves as a key index for querying the error rate reference base value. For example, in a transmission scenario using convolutional codes (constraint length 7), with an error correction capability of 4 bits per frame, the corresponding error-tolerant coding identifier is "Conv-7-4". This identifier can be used to locate the associated parameters in a preset lookup table. The error rate reference base value refers to the baseline bit error rate value associated with a specific error-tolerant coding identifier in the preset error rate lookup table. It is based on statistical analysis of a large amount of experimental data and represents the basic bit error rate level of this encoding method under ideal conditions. For example, the error rate reference base value corresponding to the error-tolerant coding identifier "Conv-7-4" is... This means that, under no significant interference, the theoretical bit error rate (BER) of this encoding is approximately 3.2 errors per megabit. The data transmission index is a comprehensive quantitative indicator that adjusts the BER reference base value based on parameters such as transmission rate, signal strength, and transmission distance. It reflects the impact of the actual transmission environment on the BER. For example, when the transmission rate is 600 Mbps, the signal strength is -80 dBm, and the transmission distance is 8 meters, the calculated data transmission index is 1.4, indicating that the actual environment will increase the BER by 40% from the reference base value. The transmission error threshold is the maximum allowable BER threshold obtained after adjusting the BER reference base value based on the data transmission index. It is the core basis for determining whether a retransmission mechanism needs to be initiated. For example, the BER reference base value... After correction by a data transmission index of 1.4, the transmission error threshold is: This means that data retransmission needs to be triggered when the actual bit error rate exceeds this value.
[0044] Furthermore, the identification of pulse deviation timing in the UWB pulse fluctuation characteristics can be achieved through time series analysis methods, such as using a dynamic time warping algorithm to align the ideal pulse with the actual pulse sequence to obtain the pulse deviation timing; the parsing of the fault-tolerant coding identifier corresponding to the pulse deviation timing can be achieved through a decoding algorithm, such as using a Viterbi decoder to process the pulse position modulation signal to obtain the fault-tolerant coding identifier; the querying of the error reference base value in the preset error reference table can be achieved through a hash lookup method, such as using a hash index built based on CRC checksum to quickly retrieve error data to obtain the error reference base value; the parsing of the data transmission index corresponding to the error reference base value can be achieved through regression analysis methods, such as using a linear regression model to fit the relationship curve between the error rate and transmission quality to obtain the data transmission index; the analysis of the transmission error threshold corresponding to the UWB pulse fluctuation characteristics can be achieved through statistical process control methods, such as using the 3σ principle to calculate the upper limit of pulse distortion rate control to obtain the transmission error threshold.
[0045] In another embodiment of the present invention, the number of data retransmissions corresponding to the transmission error threshold can be calculated by the following formula:
[0046] in, This indicates the number of data retransmissions corresponding to the transmission error threshold. This indicates the total number of available frequency bands. This indicates the index of the number of available frequency bands. Indicates the average amount of data transmitted. This represents the transmission error threshold for the i-th accessible frequency band. This represents the channel interference intensity coefficient for the i-th accessible frequency band.
[0047] In detail, the accessible frequency bands refer to the set of radio frequency bands in UWB communication where devices can communicate normally and comply with frequency band usage specifications (such as frequency band licensing, interference adaptation, etc.). For example, assuming a UWB device can stably use three frequency bands (2.4GHz, 5.1GHz, 6.8GHz) in a certain scenario, then N=3, and i can take values of 1, 2, and 3, corresponding to these three frequency bands respectively, used to distinguish the transmission characteristics of different frequency bands. The average data transmission volume refers to the average amount of data (such as the number of bits, the number of data packets, etc.) transmitted per unit time on the accessible frequency bands, reflecting the average load level of data transmission. For example, statistically, a certain UWB system transmits an average of 1000 data packets per second on the accessible frequency bands, each data packet containing 1000 bits. The average data transmission volume P, if expressed in bits per second, is... Bits per second (bps) is used to quantify the impact of transmission load on retransmissions. The transmission error threshold refers to the maximum allowable error level (e.g., upper limit of bit error rate, upper limit of the number of errors) for data transmission in the i-th accessible frequency band. If this threshold is exceeded, retransmission is required. For example, for the first frequency band (i=1), if transmitting 10,000 bits of data, a maximum of 5 bit errors are allowed, i.e., a bit error rate of 0.05%. If expressed as a bit error rate, it would be 0.0005, used to determine whether a retransmission is triggered. The channel interference strength coefficient refers to a quantitative indicator of the degree of channel interference in the i-th accessible frequency band. The larger the value, the stronger the interference. Interference may come from co-channel devices, environmental noise, etc. For example, in the second frequency band (i=2), the channel interference strength coefficient is measured by an interference detection device. =0.8 (assuming the coefficient range is 0-1, where 1 represents strong interference), used to reflect the impact of interference on transmission errors and retransmissions.
[0048] S3. Based on the number of data retransmissions, determine the data attenuation threshold of the target USB flash drive during data transmission, analyze the transmission delay component corresponding to the data attenuation threshold, and calculate the equalization compensation index corresponding to the target USB flash drive based on the transmission delay component.
[0049] Based on the number of data retransmissions, this invention determines the data attenuation threshold of the target USB flash drive during data transmission, which can accurately control the quality loss accumulated by multiple retransmissions and build a solid foundation for data integrity; it can dynamically adapt to the transmission environment, flexibly adjust the attenuation tolerance according to the retransmission situation, ensure transmission efficiency, help optimize the transmission strategy in advance, and improve the stability and reliability of USB flash drive data transmission.
[0050] The data attenuation threshold refers to the maximum critical value that can be allowed for data integrity and performance degradation during the transmission of data from the target USB flash drive, determined in conjunction with the quality attenuation baseline. When data is affected by retransmission, channel interference, etc., and the bit error rate exceeds 1% or the transmission rate decreases by 20%, error correction and adjustment strategies need to be adopted when the threshold is reached. For example, if the bit error rate is set to 1.5% as the threshold, the optimization process will be triggered when this value is reached during data transmission.
[0051] As an embodiment of the present invention, determining the data attenuation threshold of the target USB flash drive during data transmission based on the number of data retransmissions includes: analyzing the transmission risk level corresponding to the number of data retransmissions; parsing the risk grading value corresponding to the transmission risk level; querying the channel transmission quality of the target USB flash drive during data transmission based on the risk grading value; identifying the quality attenuation baseline in the channel transmission quality; and determining the data attenuation threshold of the target USB flash drive during data transmission based on the quality attenuation baseline.
[0052] The transmission risk level refers to the qualitative classification of risks such as data transmission failure and errors of the target USB flash drive based on the number of data retransmissions. By statistically analyzing the historical failure probabilities under different retransmission counts, levels such as "low risk (retransmissions ≤ 2 times), medium risk (3 ≤ retransmissions ≤ 5 times), and high risk (retransmissions > 5 times)" are assigned to intuitively determine transmission stability. For example, if a USB flash drive experiences 3 retransmissions in a single transmission, it corresponds to a "medium risk" level, indicating a need to monitor transmission quality. The risk tier value refers to a numerical identifier assigned to each level to quantify the transmission risk level. It is set based on the degree of impact and probability of occurrence of the risk level, allowing for calculation and comparison of risk. For example, low risk corresponds to tier values 1-3, medium risk 4-6, and high risk 7-10. If the transmission risk level is "medium risk," its risk tier value can be set to 5 for subsequent correlation analysis. The channel quality is queried. Channel transmission quality refers to the comprehensive performance of the channel in terms of bandwidth, latency, and noise during data transmission from the target USB flash drive. It reflects whether the data can be transmitted efficiently and accurately. It is evaluated by real-time monitoring of channel parameters, such as bandwidth utilization of 90%, latency of 2ms, and noise power of -70dBm, and is classified as "good", "average", or "poor" to provide a basis for determining the attenuation threshold. The quality attenuation baseline refers to the benchmark line at which the channel transmission quality degrades due to factors such as data transmission duration and retransmission operations. It is based on a large number of experiments and statistics on the attenuation threshold of channel quality from "good" to "requiring intervention" under different transmission scenarios. For example, if the initial channel quality is "good", after multiple retransmissions, when the bandwidth utilization reaches 95% and the latency increases to 5ms, the quality attenuation baseline is triggered, indicating that data attenuation needs to be controlled.
[0053] Furthermore, the analysis of the transmission risk level corresponding to the number of data retransmissions can be achieved through a risk matrix assessment method, such as constructing a mapping table between the number of retransmissions and the risk level using the ISO 31000 standard to obtain the transmission risk level; the parsing of the risk rank value corresponding to the transmission risk level can be achieved through a fuzzy logic algorithm, such as using the Mamdani fuzzy inference system to process the risk level membership function to obtain the risk rank value; the query of the channel transmission quality of the target USB flash drive during data transmission can be achieved through a bit error rate test method, such as using a BERTscope bit error rate analyzer to measure signal integrity parameters to obtain the channel transmission quality; the identification of the quality attenuation baseline in the channel transmission quality can be achieved through a baseline extraction algorithm, such as using a moving average method to smooth the transmission quality time series data to obtain the quality attenuation baseline; the determination of the data attenuation threshold of the target USB flash drive during data transmission can be achieved through a statistical analysis method, such as calculating the outlier boundary of the transmission quality data based on the box plot method to obtain the data attenuation threshold.
[0054] This invention analyzes the transmission delay components corresponding to the data attenuation threshold, enabling precise decomposition of the delay composition and clarifying the impact path of attenuation on transmission time. It can optimize transmission scheduling based on component differences, reduce unnecessary delay accumulation, improve the timeliness and stability of data transmission to the target USB flash drive, and ensure efficient data flow.
[0055] The transmission delay component refers to the delay caused solely by factors related to the data attenuation threshold (such as signal attenuation and channel interference) during the data transmission process of the target USB flash drive. It is a subdivision of the total transmission delay. For example, when the data attenuation threshold is a certain value, signal attenuation increases the transmission delay by 0.3ms (attenuation-induced delay), and channel interference adds an additional 0.2ms (also an attenuation-related delay component). These independent delay components together constitute the transmission delay component, which is used to accurately analyze the impact of attenuation on the delay. Optionally, the analysis of the transmission delay component corresponding to the data attenuation threshold can be achieved through a delay decomposition algorithm, such as using Kalman filtering technology to separate the propagation delay and processing delay components to obtain the transmission delay component.
[0056] Furthermore, based on the transmission delay components, the present invention calculates the equalization compensation index corresponding to the target USB flash drive, which can accurately quantify the impact of delay on transmission and provide a quantitative basis for compensation strategies; the index can balance the influence of different delay components, reducing transmission deviations caused by uneven delay; and it can also dynamically adapt to changes in the transmission environment, improve the stability and efficiency of USB flash drive data transmission, and ensure the timing consistency of data transmission.
[0057] The Balanced Compensation Index (BCI) is a core indicator used to quantify the compensation required by a target USB flash drive to offset the impact of transmission delay components and achieve balanced transmission, after comprehensively considering factors such as compensation adjustment factors, latency characteristics, and bandwidth. For example, a BCI of 5.2 means that to achieve a balanced transmission effect, it is necessary to operate according to the compensation strategy corresponding to this index (such as adjusting signal gain, timing, etc.). The larger the value, the more significant the compensation requirement.
[0058] As an embodiment of the present invention, the step of calculating the balance compensation index corresponding to the target USB flash drive based on the transmission delay component includes: identifying the delay fluctuation characteristics corresponding to the transmission delay component; performing feature quantization on the delay fluctuation characteristics to obtain quantized fluctuation parameters; determining the compensation benchmark value corresponding to the quantized fluctuation parameters; extracting the compensation adjustment factor from the compensation benchmark value; and calculating the balance compensation index corresponding to the target USB flash drive based on the compensation adjustment factor.
[0059] The latency fluctuation characteristics refer to the dynamic fluctuation patterns of the transmission latency component as a function of time, data volume, or channel environment. These characteristics include latency fluctuation amplitude, fluctuation frequency, fluctuation period, and the number of sudden fluctuations, reflecting the instability of the latency. For example, in a certain transmission scenario, the latency component fluctuates between 1.2 and 2.8 ms, with a sudden peak occurring every 5 seconds (up to 3.5 ms), and a fluctuation frequency of 0.3 times / second. These characteristics reflect the dynamic trend of latency changes. The quantized fluctuation parameters refer to the parameters obtained after numerical processing of the latency fluctuation characteristics. The obtained quantitative indicators, including maximum fluctuation amplitude, average fluctuation value, fluctuation standard deviation, and fluctuation duration percentage, are used to accurately describe the strength and pattern of fluctuations. For example, after quantification, the parameters of a certain time delay fluctuation are: maximum fluctuation amplitude 2.3ms, average fluctuation value 0.8ms, fluctuation standard deviation 0.5ms, and fluctuation duration accounting for 15% of the total transmission time. These parameters can be directly used for subsequent compensation calculations. The compensation benchmark value refers to the benchmark value set based on the quantified fluctuation parameters to measure the compensation strength. It is based on historical transmission data and preset compensation... The initial compensation reference value determined by the compensation strategy reflects the basic compensation requirement for delay fluctuations. For example, for the maximum fluctuation amplitude of 2.3ms in the quantified fluctuation parameters, the compensation benchmark value is set to 1.8ms as the starting point for subsequent adjustments to the compensation intensity. The compensation adjustment factor is a coefficient that dynamically corrects the compensation benchmark value based on the real-time transmission environment (such as channel interference intensity and data attenuation). Its value is positively correlated with environmental changes (the worse the environment, the larger the factor), and is used to optimize the accuracy of compensation. For example, when the channel interference intensity coefficient is 0.7, the compensation adjustment factor is set to 1.3, that is, the actual compensation value is 1.3 times the benchmark value, in order to enhance the compensation effect for delay fluctuations under strong interference. The equalization compensation index is a comprehensive index calculated by the compensation benchmark value and the compensation adjustment factor, which measures the ability to compensate for transmission delay components. The higher the value, the stronger the compensation intensity, and is used to guide the parameter configuration of compensation modules such as equalizers. For example, the compensation benchmark value of 1.8ms multiplied by the adjustment factor of 1.3 yields an equalization compensation index of 2.34, and the equalizer compensation parameter is set to 2.34ms to offset the impact of delay fluctuations.
[0060] Furthermore, the identification of the latency fluctuation characteristics corresponding to the transmission latency components can be achieved through time series decomposition algorithms, such as using the STL seasonal decomposition method to extract the trend and periodic terms of the latency data, thereby obtaining the latency fluctuation characteristics; the feature quantification of the latency fluctuation characteristics can be achieved through statistical feature extraction methods, such as calculating the standard deviation and kurtosis coefficient of the latency data as quantification indicators, thereby obtaining the quantified fluctuation parameters; the determination of the compensation benchmark value corresponding to the quantified fluctuation parameters can be achieved through an adaptive threshold algorithm, such as calculating the moving percentile of the latency data based on a dynamic sliding window, thereby obtaining the compensation benchmark value; the extraction of the compensation adjustment factor from the compensation benchmark value can be achieved through factor decomposition methods, such as using principal component analysis to reduce the dimensionality of multi-dimensional compensation parameters, thereby obtaining the compensation adjustment factor; the calculation of the equilibrium compensation index corresponding to the target USB flash drive can be achieved through the following formula.
[0061] In another embodiment of the present invention, the equilibrium compensation index corresponding to the target USB flash drive can be calculated based on the compensation adjustment factor using the following formula:
[0062] in, This represents the equilibrium compensation index corresponding to the target USB flash drive. This represents the compensation adjustment factor. Represents a proportionality constant. Represents the time delay weighting constant. This represents the standard deviation of delay spread (unit: seconds). Indicates the duration of the symbol (unit: seconds). Indicates system bandwidth (unit: Hz). Indicates the reference bandwidth (unit: Hz).
[0063] Specifically, the compensation adjustment factor refers to a coefficient that flexibly adjusts the compensation level based on dynamic changes in the transmission environment (such as channel interference intensity and data attenuation). For example, in an environment with low interference, The initial constant is set to 1.2. When channel interference is strong (e.g., interference strength coefficient reaches 0.8), δ is adjusted to 2.5 to adapt to compensation requirements under different environments, making BCI more consistent with actual transmission scenarios. The proportional constant refers to a fixed coefficient used to establish the basic proportional relationship between each parameter and BCI in the formula. It is determined by the underlying characteristics of the system (e.g., hardware architecture, basic transmission protocol) and is generally determined through a large number of experimental tests. For example, the K value of a certain UWB transmission system is 3.0 after testing, which ensures that each variable in the formula affects the BCI calculation result in a reasonable proportion and maintains the stability of the compensation logic. The delay weight constant refers to a coefficient that highlights the importance of delay characteristics in balanced compensation. The larger the value, the stronger the impact of delay on BCI. If the system is sensitive to delay (e.g., high-frequency transaction data transmission), the weight will be affected. Set to 1.5; for high latency tolerance (such as slow file transfers), γ is set to 0.8 to differentiate the weight of latency factors in different business scenarios; the latency spread standard deviation refers to a statistical measure describing the degree of fluctuation of the transmission latency component around the mean, reflecting the degree of latency instability. For example, if the average latency of 100 transmissions is 0.5ms, the calculated... A value of 0.1ms indicates that the latency fluctuates between 0.4 and 0.6ms; if Increasing it to 0.2ms indicates more severe delay fluctuations, which will cause changes in the delay-related components of the BCI, requiring adjustment and compensation. The symbol duration refers to the length of time a single transmitted symbol occupies in the channel; it is a fundamental time parameter for UWB signal transmission. For example, when a UWB system transmits a symbol... Set as The duration of a symbol (s, 1 nanosecond) affects the relative proportion of delay spread. The smaller, the same The greater the relative impact of time delay fluctuations, the more it changes the formula. This value affects BCI; the system bandwidth refers to the width of the frequency range available to the UWB transmission system where the target USB flash drive is located, reflecting the frequency resource capability of the system for transmitting data. For example, a certain UWB system supports an actual bandwidth B of 500MHz. The larger the bandwidth, the higher the theoretical transmission rate, but it will also affect the latency characteristics due to multipath effects, etc. The formula compares the actual bandwidth B with the reference bandwidth to reflect the impact of the actual bandwidth on compensation; the reference bandwidth refers to the standard bandwidth used as a benchmark, used to normalize the comparison with the actual bandwidth (B) of the system to eliminate the impact of bandwidth magnitude differences on BCI calculation. It is usually set according to industry standards or system design requirements, such as setting For a bandwidth of 100MHz, when the actual system bandwidth B is 500MHz, B / =5, this ratio reflects the ratio of the actual bandwidth to the reference.
[0064] S4. Based on the balance compensation index, determine the symbol synchronization path of the target USB flash drive during data packet transmission, query the phase deviation tolerance corresponding to the symbol synchronization path, and determine the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance.
[0065] Based on the balanced compensation index, this invention determines the symbol synchronization path of the target USB flash drive during data packet transmission, which can accurately adapt to differences in transmission environment and optimize symbol alignment accuracy; by associating the path characteristics of the index, it reduces transmission errors caused by synchronization deviation; and it can also dynamically adjust the synchronization strategy to improve the consistency of data transmission timing and ensure the transmission stability and reliability of the USB flash drive in complex scenarios.
[0066] The symbol synchronization path refers to the transmission path that is most conducive to symbol synchronization selected from the symbol path sequence based on the path stability weight. It can minimize time deviation and ensure accurate symbol alignment under compensated synchronization timing. For example, comparing path 1 (weight 0.8) and path 2 (weight 0.6), path 1 is selected as the symbol synchronization path. With its low deviation and high stability characteristics, the symbol synchronization accuracy of data packet transmission is improved.
[0067] As an embodiment of the present invention, determining the symbol synchronization path of the target USB flash drive during data packet transmission based on the balance compensation index includes: analyzing the compensation synchronization timing corresponding to the balance compensation index; querying the time deviation range corresponding to the compensation synchronization timing; screening the symbol path sequence corresponding to the data packets in the target USB flash drive based on the time deviation range; parsing the path stability weight corresponding to the symbol path sequence; and determining the symbol synchronization path of the target USB flash drive during data packet transmission based on the path stability weight.
[0068] The compensation synchronization timing refers to the planned execution time sequence of compensation operations based on the equalization compensation index to offset transmission deviations and achieve symbol synchronization. It includes time parameters such as compensation trigger time, duration, and interval period, reflecting the timing adaptation relationship between compensation and symbol transmission. For example, when the equalization compensation index is 3.5, the compensation synchronization timing is set as follows: compensation is triggered every 2ms, with each compensation lasting 0.5ms, executed at the 1ms and 3ms of symbol transmission, ensuring that compensation matches the rhythm of symbol transmission. The time deviation range refers to the deviation range between the actual and ideal symbol transmission times, statistically estimated based on the compensation synchronization timing. It reflects the degree of time fluctuation in symbol transmission and is used to screen stable symbol paths. For example, analysis shows that the time deviation range corresponding to the compensation synchronization timing is [-0.3ms, 0.3ms], meaning that the symbol transmission time is at most 0.3ms earlier or later than the ideal time. Beyond this range, the path... The stability is questionable. The symbol path sequence refers to the ordered set of physical or logical paths traversed by symbols during data packet transmission in the target USB flash drive. It includes the starting point, nodes, ending point, and transmission order of the path. Different paths correspond to different transmission characteristics. For example, the target USB flash drive has 3 symbol paths, with path sequences as follows: Path 1 (chip → antenna A → channel → receiver) and Path 2 (chip → antenna B → relay → channel → receiver). The difference in transmission links affects the symbol synchronization effect of each path. The path stability weight is a quantitative indicator for the stability of each path in the symbol path sequence. It comprehensively considers factors such as path time deviation, interference intensity, and bit error rate. The higher the weight, the more stable the path. For example, Path 1 has a small time deviation (0.1ms) and an interference intensity coefficient of 0.2, so the calculated path stability weight is 0.8; Path 2 has a time deviation of 0.2ms and an interference intensity coefficient of 0.3, so the weight is 0.6. The path stability can be directly compared through the weight.
[0069] Furthermore, what methods, tools, or algorithms can be used to analyze the compensation synchronization timing corresponding to the equilibrium compensation index, such as: (and provide examples of the methods, tools, or algorithms that can be implemented, remembering that the final result is the compensation synchronization timing); what methods, tools, or algorithms can be used to query the time deviation range corresponding to the compensation synchronization timing, such as: (and provide examples of the methods, tools, or algorithms that can be implemented, remembering that the final result is the time deviation range); what methods, tools, or algorithms can be used to screen the symbol path sequence corresponding to the data packets in the target USB flash drive, such as: (and provide examples of the methods, tools, or algorithms that can be implemented, remembering that the final result is the symbol path sequence); what methods, tools, or algorithms can be used to parse the path stability weight corresponding to the symbol path sequence, such as: (and provide examples of the methods, tools, or algorithms that can be implemented, remembering that the final result is the path stability weight); what methods, tools, or algorithms can be used to determine the symbol synchronization path of the target USB flash drive during data packet transmission, such as: (and provide examples of the methods, tools, or algorithms that can be implemented, remembering that the final result is the symbol synchronization path).
[0070] This invention can clarify the tolerance boundary of the path to phase fluctuations by querying the phase deviation tolerance corresponding to the symbol synchronization path, thus ensuring the stability of symbol synchronization; it can also quantify the impact of phase interference through tolerance, providing a basis for optimizing transmission parameters; and it can also predict the risk of phase exceeding the limit in advance, helping to dynamically adjust the compensation strategy and improve the reliability of target USB flash drive data packet transmission.
[0071] The phase deviation tolerance refers to the maximum phase offset that the target USB flash drive can tolerate on the symbol synchronization path. Exceeding this threshold will lead to symbol demodulation errors or a decrease in transmission performance. It is a key indicator for measuring the path's resistance to phase interference. For example, the symbol synchronization path of a certain UWB system uses BPSK modulation, and its phase deviation tolerance is set to ±45°. This means that when the phase offset of the received signal is within this range, the system can still correctly demodulate the symbol. If the measured phase deviation reaches 50°, exceeding the tolerance, a phase compensation mechanism or a switch to a backup path is required to maintain transmission reliability. Optionally, the phase deviation tolerance corresponding to the symbol synchronization path can be queried using a lookup table matching method, such as indexing the current modulation parameters based on a pre-stored modulation method-tolerance mapping table to obtain the phase deviation tolerance.
[0072] Furthermore, based on the phase deviation tolerance, this invention determines the data transfer status corresponding to the file data in the target USB flash drive, accurately judging whether the data transfer process is in a stable range, providing a clear basis for secure data transmission; it can dynamically monitor the changing trend of the transfer status and promptly warn of potential transmission risks; it can also optimize the data transfer strategy through status quantification results, improving the efficiency and reliability of USB flash drive file data transfer.
[0073] The data transfer status refers to the classification description of the state of the target USB flash drive file data during the transmission process based on the transfer association strength. It includes stable state (normal parameter association, reliable transmission), warning state (abnormal parameter association but not exceeding the limit), and fault state (severely abnormal parameter association, transmission interrupted). For example, when the transfer association strength exceeds a preset threshold (such as 0.7), the data transfer status is determined to be "warning state", and the transmission parameters need to be adjusted to avoid errors.
[0074] As an embodiment of the present invention, determining the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance includes: extracting the tolerance error index from the phase deviation tolerance; collecting the synchronization timing parameters corresponding to the file data in the target USB flash drive based on the tolerance error index; analyzing the transfer correlation strength between the synchronization timing parameters; and determining the data transfer status corresponding to the file data in the target USB flash drive based on the transfer correlation strength.
[0075] The error tolerance index refers to the metric implicit in the phase deviation tolerance, used to quantify the probability of transmission errors caused when the phase offset exceeds the tolerance range. It is typically expressed as the bit error rate (BER) or symbol error rate (SER), reflecting the system's reliability under critical phase deviation. For example, when the phase deviation tolerance is ±45°, the error tolerance index might be... (i.e., a bit error rate of 0.1%) means that when the phase offset is within this range, an average of 1 error bit is allowed for every 1000 bits of data transmitted. The synchronization timing parameters refer to the time characteristic parameters related to symbol synchronization during file data transmission in the target USB flash drive, including symbol period, clock offset, frame start time, and time interval between adjacent symbols, which are used to describe the timing pattern of data transmission. For example, the synchronization timing parameters for a certain file data transmission are: symbol period 10ns, clock offset ±0.2ns, and frame start time alignment accuracy ±1ns. These parameters together affect the accuracy of symbol synchronization. The transfer correlation strength refers to the degree of interdependence and influence between synchronization timing parameters. It is quantified by statistically analyzing the correlation coefficient or conditional probability between parameters, reflecting the linkage effect of parameter changes on the overall synchronization performance. For example, analysis shows that the correlation strength between the fluctuation of the symbol period (parameter A) and the clock offset (parameter B) is 0.8 (range 0-1), indicating that for every 1% change in A, there is an 80% probability that B will change accordingly. This strong correlation will significantly affect the data transfer state.
[0076] Furthermore, the extraction of the tolerance error index from the phase deviation tolerance can be achieved through error function calculation methods, such as using the complementary error function erfc() to quantify the probability of the phase deviation exceeding the tolerance, thereby obtaining the tolerance error index; the acquisition of the synchronization timing parameters corresponding to the file data in the target USB flash drive can be achieved through logic analyzer capture methods, such as using Saleae Logic Pro 16 to acquire the USB data packet clock synchronization signal, thereby obtaining the synchronization timing parameters; the analysis of the transition correlation strength between the synchronization timing parameters can be achieved through mutual information calculation algorithms, such as using Kullback-Leibler divergence to measure the statistical dependence between timing parameters, thereby obtaining the transition correlation strength; the determination of the data transition state corresponding to the file data in the target USB flash drive can be achieved through a hidden Markov model, such as training the state transition matrix of the timing parameters based on the Baum-Welch algorithm, thereby obtaining the data transition state.
[0077] Specifically, for a more intuitive understanding of the state transition logic in the data transmission process of this solution, please refer to [reference needed]. Figure 2 State transition diagram. Figure 2 As the core state framework of the target USB flash drive data interaction system, it clearly presents the complete link from the initial state to various operation states: the initial state starts from "state 0" and dynamically changes according to the instructions and operation results; "state 1" focuses on the read operation process, "state 2" corresponds to the write operation process, and "state 3" is associated with complex interactions such as instruction pre-reading; the transition between states is triggered by conditions such as "write operation instruction" and "read completed". It is an abstract refinement of the instruction-state logic in USB flash drive data transmission. It should be noted that in actual scenarios, the complexity of state triggering (such as state jumps under multiple concurrent instructions) and the diversity of exception handling (state rollback when operation fails) are far greater than what is shown in the diagram. This architecture is only a concise display of the core logic to provide an intuitive reference for understanding the state management ideas of USB flash drive data transmission.
[0078] S5. Based on the data transfer status, query the file write characteristics corresponding to the file to be transferred in the target USB flash drive. Based on the file write characteristics, perform anti-interference adjustment on the file to be transferred to obtain an anti-interference transmission data stream. Optimize the idle time slots in the anti-interference transmission data stream to generate a data transmission scheme for the target USB flash drive regarding UWB communication.
[0079] Based on the data transfer status, this invention queries the file writing characteristics corresponding to the file to be transferred in the target USB flash drive, which can accurately match the file characteristics with the current transmission environment, providing an adaptation basis for the write operation; it can grasp the key attributes of file writing in advance, avoiding transmission anomalies caused by feature mismatch; it can also lay the foundation for subsequent writing strategy adjustments, improving the stability and efficiency of USB flash drive file writing.
[0080] The file to be transferred refers to a file stored on or to be written to the target USB drive that has not yet completed the full transfer process from the source to the destination. It includes attributes such as file size, format, data structure, and transfer priority, and must follow the transfer rules corresponding to the data transfer status. For example, a target USB drive contains a file named "Document1.pdf" with a size of 2.5MB, a PDF format, a data block checksum of 0x3F7A, and a transfer priority set to "high." Currently, only 30% of the transfer progress has been completed, and the transfer needs to continue when the data transfer status is "stable" to ensure integrity. The file write characteristics refer to the inherent attributes of the file to be transferred when written to the target USB drive, related to the write operation. These include the file's sector allocation method, data block size, write checksum method, and continuous / discrete write mode, determined by the file type, size, and write level. For example, a video file with a "high" write level has the following write characteristics: continuous sector allocation (4MB per block), CRC32 checksum, continuous streaming write mode, and a single block write interval ≤2ms to ensure transmission continuity.
[0081] As an embodiment of the present invention, the step of querying the file write characteristics corresponding to the file to be transferred in the target USB flash drive based on the data transfer status includes: identifying the file transfer stage corresponding to the data transfer status; querying the write performance standard corresponding to the file transfer stage; classifying the file write level corresponding to the file to be transferred in the target USB flash drive according to the write performance standard; analyzing the write rate index corresponding to the file write level; and querying the file write characteristics corresponding to the file to be transferred in the target USB flash drive based on the write rate index.
[0082] The file transfer stage refers to the segmented transfer process of the file to be transferred in the target USB drive, divided according to the data transfer status. It covers the entire process from initialization to completion of writing, including the initial verification stage, data block transfer stage, verification and error correction stage, and final confirmation stage. For example, if the current data transfer status of a file to be transferred is "partially completed," the corresponding file transfer stage is the "data block transfer stage." At this point, 8 data blocks (out of 20) have been transferred, and the 9th data block (512KB) is being written. The write performance standard refers to the quantitative indicators set for different file transfer stages to measure the efficiency and accuracy of file write operations, including the lower limit of write rate, data verification pass rate, and upper limit of block write latency. These are used to standardize the write quality at each stage. For example, the write performance standard for the "data block transfer stage" is: write rate ≥ 15MB / s, data verification pass rate ≥ 99.9%, single block write latency ≤ 5ms. If the actual write rate is 12MB / s, an acceleration mechanism needs to be triggered to achieve the desired result. The file write level refers to the classification of write requirements for files to be transferred based on write performance standards, reflecting the differences in file requirements for write efficiency and stability. It is typically divided into three levels: high, medium, and low. For example, a 100MB video file to be transferred, due to its high requirement for continuity, needs a write performance standard of ≥20MB / s and a latency of ≤3ms, corresponding to a "high" file write level. A 1MB text file corresponds to "low," with a standard of ≥5MB / s. The write rate index is a standardized quantitative indicator of file write rate based on the file write level, calculated by combining the rate requirements in the write performance standard with the actual transmission capacity. The value range is typically 0-10, with higher values indicating higher required write rates. For example, the "high" write level corresponds to a standard of 20MB / s, while the actual transmission environment supports 25MB / s, resulting in a write rate index of 8.5; the "low" level corresponds to a standard of 5MB / s, while the actual supported rate is 8MB / s, resulting in an index of 3.2.
[0083] Furthermore, identifying the file transfer stage corresponding to the data transfer state can be achieved through state machine analysis methods, such as using the Mealy state machine model to parse the USB protocol state transition diagram to obtain the file transfer stage; querying the write performance standard corresponding to the file transfer stage can be achieved through database retrieval methods, such as extracting the benchmark performance parameters of each transfer stage from the USB-IF standard documentation library to obtain the write performance standard; classifying the file write levels corresponding to the files to be transferred in the target USB flash drive can be achieved through cluster analysis methods, such as using the K-means algorithm to group files according to file size and type features to obtain the file write levels; analyzing the write rate index corresponding to the file write level can be achieved through regression prediction methods, such as establishing a random forest model to predict the transfer rate of files of different levels to obtain the write rate index; querying the file write features corresponding to the files to be transferred in the target USB flash drive can be achieved through feature extraction methods, such as using Python's os module to statistically analyze file fragmentation rate and cluster size distribution to obtain the file write features.
[0084] Based on the file writing characteristics, this invention performs anti-interference adjustments on the file to be transmitted to obtain an anti-interference transmission data stream. This enables the generated anti-interference transmission data stream to accurately adapt to the inherent attributes of the file, enhancing its transmission stability in complex environments. It can also specifically strengthen weak transmission links of the file to improve the fault tolerance of the data stream and ensure that the file to be transmitted reaches the target USB drive efficiently and reliably during the transmission process.
[0085] The anti-interference transmission data stream refers to the data stream formed by adjusting the write characteristics of the file to be transmitted through methods such as adding redundant check codes, adopting frequency hopping transmission mode, and optimizing the data frame structure. This anti-interference adjustment can reduce transmission errors caused by interference in complex electromagnetic environments and ensure data integrity. For example, the anti-interference transmission data stream of a video file uses a structure of adding 32 bytes of CRC check code every 1024 bytes, transmitting in 2.4GHz and 5GHz frequency hopping modes, with a frame interval of 0.5ms. In an environment with an interference intensity of -75dBm, the bit error rate can be controlled within [a certain range]. To ensure reliable file transmission, optionally, the anti-interference adjustment of the file to be transmitted can be achieved through forward error correction coding, such as using the Reed-Solomon coding algorithm to add redundant check bits to the file data, thereby obtaining an anti-interference transmission data stream.
[0086] Furthermore, by optimizing the idle time slots in the anti-interference transmission data stream to generate a data transmission scheme for the target USB flash drive regarding UWB communication, the present invention can improve the utilization rate of time slot resources and reduce transmission redundancy time consumption; by adjusting the time slots, the anti-interference adaptability of the data stream is enhanced to adapt to the characteristics of UWB communication; and resource allocation and anti-interference strategies can be integrated to improve the overall efficiency of USB flash drive data transmission.
[0087] The idle time slots refer to time segments in the time-series structure of the anti-interference transmission data stream that are not occupied by data transmission and are used to separate valid data frames or reserve time. Their duration and distribution affect transmission efficiency and anti-interference capability. For example, in a UWB communication anti-interference data stream using a time-division multiplexing mechanism, each transmission cycle is 10ms, with 8ms used for data frame transmission and the remaining 2ms as idle time slots, distributed at the end of each cycle. This avoids inter-frame interference and reserves buffer time for burst data transmission. If these time slots are too long (e.g., exceeding 3ms), transmission resources will be wasted. The data transmission scheme refers to a complete transmission strategy developed for the UWB communication scenario of the target USB flash drive, comprehensively considering the characteristics of the anti-interference transmission data stream, the optimization results of idle time slots, and UWB technical parameters (such as bandwidth and transmission distance), covering time slot division. The scheme includes configuration, modulation method, error correction mechanism, and rate control. For example, the UWB data transmission scheme of a target USB flash drive specifies: compressing the idle time slot from 2ms to 1ms, using pulse position modulation (PPM), using RS(255,239) error correction code, achieving a transmission rate of 100Mbps in a 500MHz bandwidth, and automatically switching to frequency hopping mode when the interference intensity exceeds -80dBm to ensure stable data transmission within 10 meters. Optionally, the optimization of the idle time slot in the anti-interference transmission data stream can be achieved through a dynamic time slot allocation algorithm, such as using TDMA (Time Division Multiple Access) technology to dynamically adjust the transmission time slot length of each node to obtain the idle time slot. The generation of the UWB communication data transmission scheme of the target USB flash drive can be achieved through a protocol stack configuration method, such as using the IEEE 802.15.4a standard protocol stack to configure the UWB physical layer parameters to obtain the data transmission scheme.
[0088] Compared to the problems described in the background technology, this invention, by acquiring the device characteristic parameters corresponding to the target USB flash drive and identifying the UWB hardware identifier code in the device characteristic parameters, can accurately locate the unique communication identifier of the corresponding device, providing a core basis for subsequent communication spectrum analysis based on UWB technology; simultaneously, it can quickly associate the device's basic UWB communication attributes, improving the efficiency and reliability of the overall communication link establishment; by detecting the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands, this invention can accurately grasp the real-time interference status of different frequency bands, identify high-quality frequency bands with less interference, and prioritize the stability of data transmission; it can also avoid strong interference frequency bands in advance, reducing transmission errors caused by interference and improving the reliability and efficiency of overall data transmission; furthermore, based on the number of data retransmissions, this invention determines the data attenuation threshold of the target USB flash drive during data transmission, accurately controlling the quality loss accumulated by multiple retransmissions, and laying a solid foundation for data integrity; proactively... This invention adapts to different transmission environments, flexibly adjusting attenuation tolerance based on retransmission conditions to ensure transmission efficiency, facilitate early optimization of transmission strategies, and improve the stability and reliability of USB flash drive data transmission. Furthermore, based on the balanced compensation index, this invention determines the symbol synchronization path of the target USB flash drive during data packet transmission, accurately adapting to differences in transmission environments and optimizing symbol alignment accuracy. By associating path characteristics with the index, it reduces transmission errors caused by synchronization deviations. It can also dynamically adjust synchronization strategies to improve data transmission timing consistency, ensuring the stability and reliability of USB flash drive transmission in complex scenarios. Finally, based on the data transfer state, this invention queries the file writing characteristics corresponding to the file to be transmitted in the target USB flash drive, accurately matching file characteristics with the current transmission environment, providing an adaptation basis for write operations. It can also proactively grasp key file writing attributes, avoiding transmission anomalies caused by feature mismatches, and lay the foundation for subsequent write strategy adjustments, improving the stability and efficiency of USB flash drive file writing. Therefore, the USB flash drive data transmission method and system based on UWB communication provided by this invention can improve the data transmission distance, rate, and scenario adaptability of USB flash drives.
[0089] like Figure 3 The diagram shown is a functional block diagram of a USB flash drive data transmission system based on UWB communication according to the present invention.
[0090] The UWB communication-based USB flash drive data transfer system 200 described in this invention can be installed in an electronic device. Depending on the functions implemented, the UWB communication-based USB flash drive data transfer system may include a dynamic partitioning module 201, a retransmission count calculation module 202, a compensation index calculation module 203, a transfer state determination module 204, and a scheme generation module 205. The modules described in this invention can also be called units, referring to a series of computer program segments that can be executed by the processor of an electronic device and perform a fixed function, stored in the memory of the electronic device.
[0091] In this embodiment of the invention, the functions of each module / unit are as follows: The dynamic partitioning module 201 is used to obtain the device feature parameters corresponding to the target USB flash drive, identify the UWB hardware identification code in the device feature parameters, analyze the communication spectrum range corresponding to the UWB hardware identification code, and dynamically partition the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and a preset device scanning protocol to obtain a set of accessible frequency bands. The retransmission count calculation module 202 is used to detect the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands, analyze the UWB pulse fluctuation characteristics corresponding to the channel interference intensity, analyze the transmission error threshold corresponding to the UWB pulse fluctuation characteristics, and calculate the number of data retransmissions corresponding to the transmission error threshold. The compensation index calculation module 203 is used to determine the data attenuation threshold of the target USB flash drive during data transmission based on the number of data retransmissions, analyze the transmission delay component corresponding to the data attenuation threshold, and calculate the balance compensation index corresponding to the target USB flash drive based on the transmission delay component. The transfer status determination module 204 is used to determine the symbol synchronization path of the target USB flash drive during data packet transmission based on the balance compensation index, query the phase deviation tolerance corresponding to the symbol synchronization path, and determine the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance. The scheme generation module 205 is used to query the file write characteristics corresponding to the file to be transferred in the target USB flash drive based on the data transfer status, perform anti-interference adjustment on the file to be transferred based on the file write characteristics, obtain an anti-interference transmission data stream, and optimize the idle time slots in the anti-interference transmission data stream to generate a data transmission scheme for the target USB flash drive regarding UWB communication.
[0092] In detail, the modules in the UWB-based USB flash drive data transmission system 200 described in this embodiment of the invention employ the same methods as described above. Figure 1This method uses the same technique as the one described above for transferring data from a USB flash drive based on UWB communication, and can produce the same technical effect, so it will not be repeated here.
[0093] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. In the above multiple embodiments, each embodiment can be combined with each other or independent. Deleting any one of them will not affect the technical implementation of other embodiments. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for data transfer via USB flash drive based on UWB communication, characterized in that, The method includes: Obtain the device characteristic parameters corresponding to the target USB flash drive, identify the UWB hardware identification code in the device characteristic parameters, analyze the communication spectrum range corresponding to the UWB hardware identification code, and dynamically divide the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and the preset device scanning protocol to obtain the set of accessible frequency bands. The channel interference intensity corresponding to each frequency band in the set of accessible frequency bands is detected, the UWB pulse fluctuation characteristics corresponding to the channel interference intensity are analyzed, the transmission error threshold corresponding to the UWB pulse fluctuation characteristics is analyzed, and the number of data retransmissions corresponding to the transmission error threshold is calculated. Based on the number of data retransmissions, the data attenuation threshold of the target USB flash drive during data transmission is determined, the transmission delay component corresponding to the data attenuation threshold is analyzed, and the balance compensation index corresponding to the target USB flash drive is calculated based on the transmission delay component. Based on the balance compensation index, the symbol synchronization path of the target USB flash drive during data packet transmission is determined, the phase deviation tolerance corresponding to the symbol synchronization path is queried, and the data transfer status corresponding to the file data in the target USB flash drive is determined based on the phase deviation tolerance. Based on the data transfer status, the file write characteristics corresponding to the file to be transferred in the target USB flash drive are queried. Based on the file write characteristics, anti-interference adjustment is performed on the file to be transferred to obtain an anti-interference transmission data stream. The idle time slots in the anti-interference transmission data stream are optimized to generate a data transmission scheme for the target USB flash drive regarding UWB communication.
2. The method for USB flash drive data transmission based on UWB communication as described in claim 1, characterized in that, The method involves dynamically dividing the wireless channel environment of the target USB flash drive based on the communication spectrum range and a preset device scanning protocol to obtain a set of accessible frequency bands, including: Identify the channel spectrum characteristics within the communication spectrum range; Based on the channel spectrum characteristics and a preset device scanning protocol, the wireless channel environment is scanned for frequency bands to obtain a candidate frequency band set. Analyze the frequency band correlation characteristics of the candidate frequency band set; Based on the frequency band association characteristics, the candidate frequency band set is dynamically divided to obtain an accessible frequency band set.
3. The method for USB flash drive data transmission based on UWB communication as described in claim 1, characterized in that, The detection of the channel interference strength corresponding to each frequency band in the set of accessible frequency bands includes: Identify the channel identifier parameters corresponding to each frequency band in the set of accessible frequency bands; Scan the real-time spectrum waveform corresponding to the channel identifier parameters; Analyze the interference intensity characteristics corresponding to the real-time spectrum waveform; Extract the peak statistical values corresponding to the interference intensity features; Based on the peak statistics, the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands is detected.
4. The method for USB flash drive data transmission based on UWB communication as described in claim 1, characterized in that, The analysis of the transmission error threshold corresponding to the UWB pulse fluctuation characteristics and the calculation of the data retransmission number corresponding to the transmission error threshold include: Identify the pulse deviation timing in the UMB pulse fluctuation characteristics; Analyze the fault-tolerant code identifier corresponding to the pulse deviation timing; Based on the fault-tolerant coding identifier, query the error reference base value in the preset error comparison table; Analyze the data transmission index corresponding to the bit error reference base value; Based on the data transmission index, analyze the transmission error threshold corresponding to the UWB pulse fluctuation characteristics; The number of data retransmissions corresponding to the transmission error threshold is calculated using the following formula: in, This indicates the number of data retransmissions corresponding to the transmission error threshold. This indicates the total number of available frequency bands. This indicates the index of the number of available frequency bands. Indicates the average amount of data transmitted. This represents the transmission error threshold for the i-th accessible frequency band. This represents the channel interference intensity coefficient for the i-th accessible frequency band.
5. The method for USB flash drive data transmission based on UWB communication as described in claim 1, characterized in that, Determining the data attenuation threshold of the target USB flash drive during data transmission based on the number of data retransmissions includes: Analyze the transmission risk level corresponding to the number of data retransmissions; Analyze the risk tier values corresponding to the transmission risk level; Based on the risk tier value, query the channel transmission quality of the target USB flash drive during data transmission; Identify the quality attenuation baseline in the channel transmission quality; Based on the quality attenuation baseline, the data attenuation threshold of the target USB flash drive during data transmission is determined.
6. The method for data transmission via USB flash drive based on UWB communication as described in claim 1, characterized in that, The step of calculating the equalization compensation index corresponding to the target USB flash drive based on the transmission delay component includes: Identify the delay fluctuation characteristics corresponding to the transmission delay components; The time delay fluctuation characteristics are quantized to obtain quantized fluctuation parameters; Determine the compensation benchmark value corresponding to the quantified fluctuation parameter; Extract the compensation adjustment factor from the compensation benchmark value; Based on the aforementioned compensation adjustment factor, the equilibrium compensation index corresponding to the target USB flash drive is calculated using the following formula: in, This represents the equilibrium compensation index corresponding to the target USB flash drive. This represents the compensation adjustment factor. Represents a proportionality constant. Represents the time delay weighting constant. Indicates the standard deviation of delay spread. Indicates the duration of the symbol. Indicates system bandwidth. Indicates the reference bandwidth.
7. The method for data transmission via USB flash drive based on UWB communication as described in claim 1, characterized in that, The step of determining the symbol synchronization path of the target USB flash drive during data packet transmission based on the balance compensation index includes: Analyze the compensation synchronization timing corresponding to the equilibrium compensation index; Query the time deviation range corresponding to the compensation synchronization timing; Based on the time deviation range, screen the symbol path sequence corresponding to the data packets in the target USB flash drive; Analyze the path stability weights corresponding to the symbol path sequence; Based on the path stability weight, the symbol synchronization path of the target USB flash drive during data packet transmission is determined.
8. A method for transmitting data via USB flash drive based on UWB communication as described in claim 1, characterized in that, The step of determining the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance includes: Extract the tolerance error index from the phase deviation tolerance; Based on the aforementioned error tolerance index, collect the synchronization timing parameters corresponding to the file data in the target USB flash drive; Analyze the transfer correlation strength between the synchronization timing parameters; Based on the transfer association strength, the data transfer status corresponding to the file data in the target USB flash drive is determined.
9. A method for transmitting data via USB flash drive based on UWB communication as described in claim 1, characterized in that, The step of querying the file write characteristics corresponding to the file to be transferred in the target USB drive based on the data transfer status includes: Identify the file transfer stage corresponding to the data transfer status; Query the write performance standard corresponding to the file transfer stage; Based on the write performance standard, classify the file write level corresponding to the file to be transferred in the target USB flash drive; Analyze the write rate index corresponding to the file write level; Based on the write rate index, query the file write characteristics corresponding to the file to be transferred in the target USB flash drive.
10. A USB flash drive data transfer system based on UWB communication, characterized in that, The system includes: The dynamic partitioning module is used to obtain the device feature parameters corresponding to the target USB flash drive, identify the UWB hardware identification code in the device feature parameters, analyze the communication spectrum range corresponding to the UWB hardware identification code, and dynamically partition the wireless channel environment where the target USB flash drive is located based on the communication spectrum range and a preset device scanning protocol to obtain a set of accessible frequency bands. The retransmission count calculation module is used to detect the channel interference intensity corresponding to each frequency band in the set of accessible frequency bands, analyze the UWB pulse fluctuation characteristics corresponding to the channel interference intensity, analyze the transmission error threshold corresponding to the UWB pulse fluctuation characteristics, and calculate the number of data retransmissions corresponding to the transmission error threshold. The compensation index calculation module is used to determine the data attenuation threshold of the target USB flash drive during data transmission based on the number of data retransmissions, analyze the transmission delay component corresponding to the data attenuation threshold, and calculate the balance compensation index corresponding to the target USB flash drive based on the transmission delay component. The transfer status determination module is used to determine the symbol synchronization path of the target USB flash drive during data packet transmission based on the balance compensation index, query the phase deviation tolerance corresponding to the symbol synchronization path, and determine the data transfer status corresponding to the file data in the target USB flash drive based on the phase deviation tolerance. The scheme generation module is used to query the file write characteristics corresponding to the file to be transferred in the target USB flash drive based on the data transfer status, perform anti-interference adjustment on the file to be transferred based on the file write characteristics, obtain an anti-interference transmission data stream, and optimize the idle time slots in the anti-interference transmission data stream to generate a data transmission scheme for the target USB flash drive regarding UWB communication.
