Intelligent self-adaptive power supply and encrypted data transmission USB device and method

By using an intelligent adaptive power supply module and an encrypted data transmission module, the problems of USB power supply mismatch and low data transmission security are solved, realizing intelligent adaptive power supply and secure and reliable data transmission, thereby improving device compatibility and data security.

CN122174249APending Publication Date: 2026-06-09BEIJING CATHAY INTERNET INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING CATHAY INTERNET INFORMATION TECH CO LTD
Filing Date
2026-02-09
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

The existing USB technology suffers from power supply mismatch and low data transmission security, which can lead to devices not performing to their full potential or being damaged. Data transmission is also vulnerable to theft or tampering, especially when transmitting sensitive information.

Method used

It adopts an intelligent adaptive power supply module and an encrypted data transmission module, including voltage and current detection, power supply strategy decision-making, adjustable power output, data encryption and decryption, security key management, and device authentication, to achieve intelligent adaptive power supply and secure and reliable data transmission.

Benefits of technology

It enables dynamic adjustment of power supply parameters according to equipment requirements, improving power supply compatibility and security, and enhances data transmission security and efficiency through hybrid encryption algorithms and multi-factor authentication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122174249A_ABST
    Figure CN122174249A_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent self-adapting power supply and encrypted data transmission USB device and method, it is related to USB technical field, including USB device, USB device is provided with USB equipment interface plug and several USB interfaces, USB device is composed of intelligent power supply module, encrypted data transmission module, equipment identification and connection management module and central control module;Intelligent power supply module includes voltage current detection unit, power supply strategy decision unit and adjustable power output unit;Encrypted data transmission module includes data encryption unit, data decryption unit and security key management unit;Equipment identification and connection management module includes equipment identity authentication unit and connection state monitoring unit;Through intelligent self-adapting power supply technology and hybrid encryption and multi-factor identity authentication data security transmission mechanism, the problems existing in the prior art can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of USB technology, specifically to a USB device and method for intelligent adaptive power supply and encrypted data transmission. Background Technology

[0002] Currently, USB interfaces are widely used in electronic devices for data transmission and power supply, such as industrial control systems, computers, mobile storage devices, and smart terminals—all of which require USB interfaces for data exchange and power supply. However, traditional USB has significant shortcomings in power supply technology and data transmission security, as detailed below: (1) Existing USB power supply technology is inadequate. Due to the vast differences in power requirements among different devices, ranging from low-power sensors to high-power external hard drives, the existing USB power supply standard is relatively uniform and cannot dynamically adjust power supply parameters according to the actual needs of the powered device. When the power supply of the power supply device and the powered device are mismatched, it may result in the powered device not being able to fully perform, or even damage the device. For example, a high-power device connected to a low-power USB port may frequently crash or fail to start normally due to insufficient power supply; a low-power device connected to a high-power USB port may face the risk of overvoltage, affecting the lifespan of the device.

[0003] (2) Problems with the security of existing USB data transmission. Traditional USB interfaces lack effective security mechanisms for data transmission. Data is transmitted in plaintext, making it vulnerable to theft or tampering by malicious programs. This is especially true in scenarios involving sensitive information such as personal privacy, corporate secrets, and financial transaction data, where the data security risk is extremely high. Once data is stolen or tampered with, it will cause serious losses to users. Furthermore, existing USB interfaces lack a robust authentication mechanism, failing to ensure the legitimacy of connected devices. Unauthorized devices may easily access the system and obtain or damage data.

[0004] Therefore, in view of this, the present invention proposes a USB device and method with intelligent adaptive power supply and encrypted data transmission to make up for and improve the deficiencies of the prior art. Summary of the Invention

[0005] To address the aforementioned technical problems, this invention provides a USB device and method for intelligent adaptive power supply and encrypted data transmission, thereby resolving the issues of power supply mismatch and low data transmission security in existing USB technologies, and achieving intelligent adaptive power supply and secure and reliable data transmission.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: a USB device and method for intelligent adaptive power supply and encrypted data transmission, comprising a USB device, wherein the USB device is provided with a USB device interface plug and a plurality of USB interfaces, and the USB device is composed of an intelligent power supply module, an encrypted data transmission module, a device identification and connection management module and a central control module. The intelligent power supply module includes a voltage and current detection unit, a power supply strategy decision unit, and an adjustable power output unit. The encrypted data transmission module includes a data encryption unit, a data decryption unit, and a security key management unit; The device identification and connection management module includes a device authentication unit and a connection status monitoring unit; The central control module is used to coordinate and manage the intelligent power supply module, the encrypted data transmission module, and the device identification and connection management module, and to make decisions and processes according to preset logic and algorithms.

[0007] Preferably, in the intelligent power supply module... The voltage and current detection unit is used to monitor the access voltage and current of the USB interface in real time through voltage and current sensors, and to obtain the power supply demand information of the powered device by transmitting detection signals on the data pins, and send it to the power supply strategy decision unit. The power supply strategy decision unit is used to obtain the power supply demand information of the powered equipment, and at the same time communicate with the power supply equipment to obtain the power supply capacity of the power supply equipment. Combining the power supply capacity of the power supply equipment, it uses preset algorithms and models to formulate the optimal power supply strategy and sends it to the adjustable power output unit. The adjustable power output unit is used to obtain the optimal power supply strategy and uses power conversion technology to adjust the output voltage and current.

[0008] Preferably, in the encrypted data transmission module... The data encryption unit is used to encrypt the data to be transmitted before the data is sent. The data decryption unit is used to decrypt the received encrypted data at the data receiving end; The security key management unit is used to store keys in a protected area using key storage technology.

[0009] Preferably, in the device identification and connection management module... The device authentication unit is used to authenticate the connected device by exchanging authentication information on the data pins when the device is connected, and to use multi-factor authentication technology to authenticate the connected device. The connection status monitoring unit is used to monitor the connection status of the USB interface in real time.

[0010] A method for a USB device with intelligent adaptive power supply and encrypted data transmission includes the following steps: S1, Connection Establishment Phase: When a USB device connects to an external device through the interface, the device authentication unit of the device identification and connection management module starts working. The two devices exchange authentication information and perform multi-factor authentication. Only devices that pass the authentication can proceed to the next stage of power supply negotiation and data transmission preparation. S2, Power Supply Negotiation Phase: The voltage and current detection unit detects the power supply parameters and requirements of the power supply equipment and the power receiving equipment in real time. The power supply strategy decision unit communicates and negotiates with the power supply equipment based on the detected information and in combination with the preset algorithm and model to determine the final power supply scheme, including parameters such as output voltage, current and power. The adjustable power output unit adjusts the output voltage and current according to the negotiation results to provide appropriate power to the power receiving equipment. S3, Data Encryption and Transmission Phase: The data encryption unit uses a dynamic hybrid encryption algorithm to encrypt the data to be transmitted. It combines the advantages of symmetric encryption algorithms (such as AES) and asymmetric encryption algorithms (such as RSA), and introduces time factors and random factors. The encryption strategy is dynamically adjusted according to factors such as the sensitivity of the data, the transmission environment and time, so that the key and encryption method are different each time. Finally, the original data is converted into ciphertext data, which increases the complexity and security of encryption. The system calculates the checksum of the data in real time and transmits the checksum and encrypted data to the other device through the data pin of the USB interface. During the transmission, the connection status monitoring unit monitors the connection status in real time to ensure the reliability of data transmission. S4, Data Decryption and Reception Stage: The data decryption unit first verifies and validates the received data at the receiving end to ensure its integrity. Then, it decrypts the received encrypted data using a hybrid encryption algorithm. First, it uses an asymmetric encryption algorithm to decrypt the key of the symmetric encryption algorithm, and then uses the symmetric encryption algorithm to decrypt the original data. After obtaining the original data, the receiver can perform corresponding processing and applications.

[0011] Compared with the prior art, the beneficial effects of the present invention are: (1) The present invention proposes intelligent adaptive power supply technology, which adds an intelligent power supply module to the USB device, realizing real-time detection and intelligent adaptive power supply of the power supply demand of the powered device. Compared with the existing technology, it is no longer limited to a fixed power supply standard, and can dynamically adjust the power supply parameters according to the actual needs of different devices. At the same time, it considers the power supply capacity of the power supply device and formulates the optimal power supply strategy, which improves the compatibility, efficiency and security of power supply.

[0012] (2) This invention proposes a data security transmission mechanism that combines hybrid encryption and multi-factor authentication. The encrypted data transmission module adopts a hybrid encryption algorithm, which combines the advantages of symmetric encryption and asymmetric encryption to improve the security and efficiency of data encryption. At the same time, a verification mechanism is introduced to ensure the integrity of the data. Meanwhile, the device identification and connection management module adopts multi-factor authentication technology to strictly authenticate the connected devices, ensuring that only legitimate devices can transmit data, which greatly enhances the security of data transmission. Attached Figure Description

[0013] Figure 1 This is a schematic diagram of the overall structure of a preferred embodiment of the present invention; Figure 2 This is a flowchart of the method shown in this invention; The numbers on the map are: 1. USB device; 2. Intelligent power supply module; 3. Encrypted data transmission module; 4. Device identification and connection management module; 5. Central control module; 6. Voltage and current detection unit; 7. Power supply strategy decision unit; 8. Adjustable power output unit; 9. Data encryption unit; 10. Data decryption unit; 11. Security key management unit; 12. Device authentication unit; 13. Connection status monitoring unit; 14. USB device interface plug; 15. USB interface. Detailed Implementation

[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0015] Embodiments of the present invention: Please refer to Figures 1 to 2 As shown, a USB device with intelligent adaptive power supply and encrypted data transmission includes a USB device 1, which is provided with a USB device interface plug 14 and several USB interfaces 15. The USB device 1 is composed of an intelligent power supply module 2, an encrypted data transmission module 3, a device identification and connection management module 4, and a central control module 5. The intelligent power supply module 2 includes a voltage and current detection unit 6, a power supply strategy decision unit 7, and an adjustable power output unit 8; The encrypted data transmission module 3 includes a data encryption unit 9, a data decryption unit 10, and a security key management unit 11; The device identification and connection management module 4 includes a device authentication unit 12 and a connection status monitoring unit 13; The central control module 5, as the core of the entire USB device 1, is responsible for coordinating and managing the work of the intelligent power supply module 2, the encrypted data transmission module 3, and the device identification and connection management module 4. By receiving information from each module and making decisions and processing according to preset logic and algorithms, it ensures the normal operation of the USB device 1 and the secure transmission of data.

[0016] Furthermore, the voltage and current detection unit 6 employs high-precision voltage and current sensors to monitor the input voltage and current of the USB interface 15 in real time, as well as the actual operating voltage and current requirements of the powered device. By transmitting specific detection signals on the data pins, it obtains detailed power supply requirements information of the powered device, such as maximum power and operating voltage range.

[0017] Furthermore, the power supply strategy decision unit 7, based on the information obtained by the voltage and current detection unit 6 and combined with the power supply capacity of the power supply equipment (obtained through communication with the power supply equipment), uses a preset algorithm and model to formulate the optimal power supply strategy. This algorithm takes into account factors such as power supply efficiency, equipment compatibility and safety, to ensure that stable and appropriate power is provided to the powered equipment.

[0018] Furthermore, the adjustable power output unit 8, based on the power supply strategy determined by the power supply strategy decision unit 7, employs advanced power conversion technology, such as switching power supply technology, to precisely adjust the output voltage and current. This unit has a fast response capability and can adjust the power supply parameters in a short time according to changes in equipment requirements to ensure the normal operation of the equipment.

[0019] Furthermore, the data encryption unit 9 encrypts the data to be transmitted before it is sent. The encryption process is implemented at the hardware level through a self-developed encryption chip, which improves the security and efficiency of encryption.

[0020] Furthermore, the data decryption unit 10 is located at the data receiving end and performs decryption processing on the received encrypted data. The decryption process is also performed at the hardware level to ensure the security and integrity of the data.

[0021] Furthermore, the security key management unit 11 is responsible for generating, storing, and managing the keys required for encryption and decryption. By employing secure key storage technology, such as a hardware security module (HSM), the keys are stored in a protected area to prevent them from being stolen or tampered with. At the same time, the unit also has key update and rotation functions to update the keys regularly and improve the security of data transmission.

[0022] Furthermore, when the device is connected, the device authentication unit 12 authenticates the connected device by exchanging specific authentication information on the data pin, such as digital certificates, biometric information (such as fingerprints, facial recognition data, etc., which are compared with the built-in sensors or stored biometric templates). Only devices that have been authenticated can establish a connection and transmit data. The authentication process uses multi-factor authentication technology to improve the accuracy and security of authentication.

[0023] Furthermore, the connection status monitoring unit 13 can monitor the connection status of the USB interface 15 in real time, including whether the connection is normal, data transmission rate, and other information. When a connection abnormality is detected, such as disconnection or data transmission error, it will report to the central control module 5 in a timely manner so that corresponding measures can be taken, such as reconnection or data retransmission.

[0024] A method for a USB device with intelligent adaptive power supply and encrypted data transmission includes the following steps: S1, Connection Establishment Phase; Connect to an external device via USB interface 15 to exchange authentication information between the two devices and perform multi-factor authentication. S2, Power Supply Negotiation Phase; The system monitors the power supply parameters and demands of both the power supply and receiving equipment in real time. Based on the detected information, and combined with preset algorithms and models, it communicates and negotiates with the power supply equipment to determine the power supply scheme. Based on the negotiation results, it adjusts the output voltage and current. S3, Data Encryption and Transmission Stage; The data to be transmitted is encrypted using a dynamic hybrid encryption algorithm. It combines symmetric and asymmetric encryption algorithms, introduces time and random factors, and dynamically adjusts the encryption strategy according to the sensitivity of the data, the transmission environment and time factors to convert the original data into ciphertext data. The checksum of the data is calculated in real time, and the checksum and encrypted data are transmitted to the other device through the data pin of USB interface 15. S4, Data Decryption and Reception Stage: The received data is verified and validated. The received encrypted data is decrypted using a hybrid encryption algorithm. The key of the symmetric encryption algorithm is decrypted using an asymmetric encryption algorithm, and the original data is decrypted using a symmetric encryption algorithm and sent to the recipient.

[0025] like Figure 1As shown, the USB device 1 in this embodiment consists of a USB device interface plug 14, several USB interfaces 15, and multiple functional modules. The USB device interface plug 14 is inserted into the USB port of the computer, and the USB interfaces 15 are used for data and power transmission with external devices. The functional modules include an intelligent power supply module 2, an encrypted data transmission module 3, a device identification and connection management module 4, and a central control module 5.

[0026] (1) Intelligent power supply module 2: The voltage and current detection unit 6 uses high-precision voltage and current sensor chips to accurately measure the voltage and current values ​​of power supply and power receiving equipment. Taking the AD7998 from Analog Devices (ADI) as an example, the specific implementation is as follows: The voltage sensor uses a resistor divider network to proportionally reduce the high voltage to the range that the AD7998 can measure. The AD7998 converts the analog voltage signal into a digital signal. The current sensor directly measures the current passing through the wire and outputs a voltage signal proportional to the current. Similarly, the AD7998 converts the voltage signal into a digital signal and transmits these digital signals to the MCU in real time. The power supply strategy decision unit 7 hardware is based on a high-performance microcontroller (MCU), such as the STM32 series. By writing specific programs, the power supply strategy decision algorithm is implemented. The MCU exchanges information with the power supply equipment through a specific communication protocol to determine the final power supply scheme. The adjustable power output unit 8 uses a programmable DC-DC converter chip. By adjusting the voltage of its feedback pin, the output voltage and current are controlled. The output voltage and current are precisely adjusted according to the control signal of the MCU.

[0027] (2) Encrypted data transmission module 3: The data encryption unit 9 and the data decryption unit 10 use a self-developed encryption chip to achieve hardware acceleration of the dynamic hybrid encryption algorithm; The security key management unit 11 employs a hardware security module (HSM) to ensure the secure storage and management of keys.

[0028] (3) Device identification and connection management module 4: The device authentication unit 12 uses an integrated security chip that supports multiple encryption algorithms and security protocols. Specifically, it uses biometric identification devices such as fingerprint recognition sensors or facial recognition cameras, combined with digital certificate technology, to achieve multi-factor authentication. The connection status monitoring unit 13 monitors the connection status in real time by detecting parameters such as the pin status and data transmission error rate of the USB interface 15.

[0029] (4) Central control module 5: A high-performance MCU, such as the ARM Cortex-M7 series, is selected as the core control unit to coordinate and manage the work of various modules. The MCU implements functions such as connection establishment, power supply negotiation, data encryption and transmission, and data decryption and reception by writing corresponding programs.

[0030] like Figure 2 The diagram shown is a flowchart of the method in this embodiment, which includes four stages, as detailed below: S1, Connection Establishment Phase: The device authentication unit 12 loads a list of legitimate device identifiers, digital certificates, and biometric templates into the security chip. When the USB device 1 is connected to an external device, the MCU controls the device authentication unit 12 to send an authentication request to the powered device. The powered device responds to the request and sends hardware identifiers, digital certificates, and biometric information (if any) in sequence. It exchanges authentication information with the connected device through the data pin. Both devices perform fingerprint or facial recognition comparison and verify the validity of the digital certificate. If all verification factors pass, the powered device is considered legitimate and allowed to proceed to the next power supply negotiation stage. Otherwise, the connection is re-established. After the connection is established, the connection status monitoring unit 13 monitors the USB connection status in real time through interrupts and timers. When a connection abnormality is detected, the connection status monitoring unit 13 immediately records the abnormal information and sends an alarm signal to the MCU. The MCU takes corresponding measures according to the type and severity of the abnormality, such as restarting the authentication process or cutting off the power supply.

[0031] S2, Power Supply Negotiation Phase: The voltage and current detection unit 6 starts working, and the MCU continuously receives and reads data from the sensor chip to obtain the power supply parameters of the power supply equipment and the powered equipment. It also analyzes the power supply demand of the powered equipment in real time. The power supply strategy decision unit 7 communicates and negotiates with the power supply equipment according to the information obtained and a preset algorithm. When a change in power supply demand is detected, the MCU immediately starts the power supply strategy decision algorithm, re-formulates the power supply scheme, and sends the new power supply scheme to the adjustable power output unit 8. It also monitors in real time whether the output voltage and current reach the expected values. If not, the MCU will further adjust the control signal until the output meets the requirements. At the same time, the MCU will feed back the current power supply status to the central control module 5 for unified management and monitoring. The specific steps of the power supply strategy decision algorithm are as follows: (1) Data collection and analysis: The MCU receives real-time data from the voltage and current detection unit 6, and at the same time obtains the maximum power supply capacity information of the power supply equipment (such as maximum output voltage, current and power) through the communication interface (such as I2C or SPI). The MCU stores and analyzes these data to establish a power supply demand model for the powered equipment. (2) Strategy formulation: Based on the preset algorithm and model, the MCU comprehensively considers the actual needs of the powered equipment and the power supply capacity of the power supply equipment to formulate the optimal power supply strategy. For example, the fuzzy control algorithm is used to dynamically adjust the power supply parameters according to the deviation of voltage, current and power and the rate of change of deviation. The fuzzy control algorithm fuzzifies the input variables (voltage deviation, current deviation, etc.) into fuzzy sets, obtains the fuzzy set of output variables (adjusted voltage and current values) through fuzzy inference rules, and then obtains the accurate output value after defuzzification. (3) Communication negotiation: The MCU communicates and negotiates with the power supply device through the USB communication protocol, sends the formulated power supply scheme (including parameters such as output voltage, current and power) to the power supply device, and waits for the confirmation feedback from the power supply device.

[0032] S3, Data Encryption and Transmission Phase: The data encryption unit 9 encrypts the data to be transmitted. The MCU calls the interface of the encryption chip and sends the original data to the encryption chip. After the encryption chip completes the hybrid encryption, it returns the encrypted data to the MCU. The MCU controls the data pin to transmit the encrypted data to the other device according to the USB communication protocol. During the transmission process, the connection status monitoring unit 13 monitors the connection status in real time. If an abnormality is found, the MCU takes corresponding measures, such as retransmitting the data. Taking an industrial control system as an example, when sensitive data (such as production parameters, control commands, etc.) needs to be transmitted through the USB interface 15, the security key management unit 11 generates a dynamic encryption key based on the current system time and randomly generated factors, and saves the encryption key using a secure key storage technology, such as a hardware security module (HSM), to store the key in a protected area to prevent the key from being stolen or tampered with. At the same time, the security key management unit 11 also has key update and rotation functions to update the key regularly and improve the security of data transmission. Next, the data encryption unit 9 first uses a high-strength asymmetric encryption algorithm (such as RSA algorithm) to encrypt the key of the symmetric encryption algorithm to obtain the encrypted key. Then, it uses a high-efficiency symmetric encryption algorithm (such as AES algorithm) to encrypt the sensitive data to obtain the encrypted data. A verification mechanism is introduced during the encryption process. The system calculates the checksum of the data in real time and transmits the checksum and the encrypted data together to the target device through the USB interface 15.

[0033] S4, Data Decryption and Reception Stage: At the receiving end, the data decryption unit 10 first verifies and checks the received data to ensure its integrity. Then, it decrypts the received encrypted data. The MCU sends the encrypted data to the decryption chip. After the decryption chip completes the decryption, it returns the original data to the MCU. After obtaining the original data, the receiving MCU can perform corresponding processing and applications, such as storing it in a storage device or displaying it on the screen. Taking an industrial control system as an example, at the receiving end of the target device, the data decryption unit 10 decrypts the received encrypted data (i.e., ciphertext data). First, it uses the private key of the asymmetric encryption algorithm to decrypt the encrypted key to obtain the key of the symmetric encryption algorithm. Then, it uses the key to decrypt the encrypted data and finally recovers the original data.

[0034] Through the collaborative work of the aforementioned units, a complete and secure data encryption and transmission system is formed, encompassing data encryption, key management, encryption implementation, data transmission, and data decryption. This system ensures the security and reliability of data during transmission. Furthermore, the encryption process is implemented at the hardware level, utilizing a self-developed encryption chip to complete the encryption operation. This approach not only enhances encryption security but also improves encryption efficiency. Therefore, this application, through its innovative intelligent adaptive power supply technology and hybrid encryption and multi-factor authentication data security transmission mechanism, can effectively solve the problems existing in current USB technology.

[0035] The size of the interval and threshold is set to facilitate comparison. The size of the threshold depends on the amount of sample data and the number of bases set by those skilled in the art for each set of sample data; as long as it does not affect the ratio between the parameter and the quantized value.

[0036] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation. In the two embodiments provided in this application, it should be understood that the disclosed apparatus and system can be implemented in other ways; for example, the apparatus embodiments described above are merely illustrative, and the division of modules is merely a logical functional division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed; furthermore, the coupling or direct coupling or communication connection between the shown or discussed mutuals can be through some interfaces, and the indirect coupling or communication connection between the apparatus or modules can be electrical, mechanical or other forms. The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A USB device with intelligent adaptive power supply and encrypted data transmission, comprising a USB device (1), wherein the USB device (1) is provided with a USB device interface plug (14) and a plurality of USB ports (15), characterized in that, The USB device (1) consists of an intelligent power supply module (2), an encrypted data transmission module (3), a device identification and connection management module (4), and a central control module (5); The intelligent power supply module (2) includes a voltage and current detection unit (6), a power supply strategy decision unit (7), and an adjustable power output unit (8). The encrypted data transmission module (3) includes a data encryption unit (9), a data decryption unit (10), and a security key management unit (11). The device identification and connection management module (4) includes a device authentication unit (12) and a connection status monitoring unit (13). The central control module (5) is used to coordinate and manage the intelligent power supply module (2), the encrypted data transmission module (3) and the device identification and connection management module (4), and to make decisions and processes according to preset logic and algorithms.

2. The USB device with intelligent adaptive power supply and encrypted data transmission according to claim 1, characterized in that, In the intelligent power supply module (2), The voltage and current detection unit (6) is used to monitor the access voltage and current of the USB interface (15) in real time through voltage and current sensors, and obtain the power supply demand information of the powered device by transmitting detection signals on the data pin, and send it to the power supply strategy decision unit (7). The power supply strategy decision unit (7) is used to obtain the power supply demand information of the power receiving equipment, and at the same time communicate with the power supply equipment to obtain the power supply capacity of the power supply equipment. Combining the power supply capacity of the power supply equipment, it uses preset algorithms and models to formulate the optimal power supply strategy and sends it to the adjustable power output unit (8). The adjustable power output unit (8) is used to obtain the optimal power supply strategy and to adjust the output voltage and current by using power conversion technology.

3. The USB device with intelligent adaptive power supply and encrypted data transmission according to claim 2, characterized in that, In the encrypted data transmission module (3), The data encryption unit (9) is used to encrypt the data to be transmitted before the data is sent. The data decryption unit (10) is used to decrypt the received encrypted data at the data receiving end; The security key management unit (11) is used to store the key in a protected area using key storage technology.

4. The USB device with intelligent adaptive power supply and encrypted data transmission according to claim 3, characterized in that, In the device identification and connection management module (4), The device authentication unit (12) is used to authenticate the connected device by exchanging authentication information on the data pins when the device is connected, and to use multi-factor authentication technology to authenticate the connected device. The connection status monitoring unit (13) is used to monitor the connection status of the USB interface (15) in real time.

5. A method for a USB device with intelligent adaptive power supply and encrypted data transmission, applied to the USB device with intelligent adaptive power supply and encrypted data transmission as described in any one of claims 1-4, characterized in that, Includes the following steps: S1, Connection Establishment Phase; S2, Power Supply Negotiation Phase; S3, Data Encryption and Transmission Stage; S4, Data Decryption and Reception Stage.

6. The method for a USB device with intelligent adaptive power supply and encrypted data transmission according to claim 5, characterized in that, In S1, the device is connected to an external device via a USB interface (15) to exchange authentication information between the two devices and perform multi-factor authentication. In S2, the power supply parameters and requirements of the power supply equipment and the power receiving equipment are detected in real time. Based on the detected information, combined with the preset algorithm and model, the power supply equipment is communicated and negotiated to determine the power supply scheme. Based on the negotiation results, the output voltage and current are adjusted. In S3, a dynamic hybrid encryption algorithm is used to encrypt the data to be transmitted. It combines symmetric and asymmetric encryption algorithms, introduces time and random factors, and dynamically adjusts the encryption strategy according to the sensitivity of the data, the transmission environment and time factors to convert the original data into ciphertext data. The checksum of the data is calculated in real time, and the checksum and encrypted data are transmitted to the other device through the data pin of the USB interface (15). In S4, the received data is checked and verified, the received encrypted data is decrypted, a hybrid encryption algorithm is used, the key of the symmetric encryption algorithm is decrypted using the asymmetric encryption algorithm, and the original data is decrypted using the symmetric encryption algorithm and sent to the receiver.