Transmission method for USB interface of wireless network device and wireless network device

By adjusting the signal electrical characteristics parameters of the USB 3.0 interface, the electromagnetic interference problem of the USB 3.0 interface to Wi-Fi communication was solved, achieving an improvement in wireless communication quality and a balance in device performance, while avoiding the defects of additional shielding structures and increased size.

CN122269320APending Publication Date: 2026-06-23TP-LINK INT SHENZHEN CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TP-LINK INT SHENZHEN CO LTD
Filing Date
2026-03-23
Publication Date
2026-06-23

Smart Images

  • Figure CN122269320A_ABST
    Figure CN122269320A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a transmission method for a universal serial bus (USB) interface of a wireless network device and the wireless network device. The method comprises: in response to detecting that a USB device connected with the USB interface is communicating with the USB interface in a first transmission mode, gradually adjusting an electrical characteristic parameter of a signal transmitted between the USB interface and the USB device by a predetermined amount, so that the strength of the signal is reduced; monitoring whether the USB device is downgraded from the first transmission mode to a second transmission mode after each adjustment, the first transmission mode being higher than the second transmission mode in terms of transmission speed and power; in response to monitoring that the USB device is downgraded to the second transmission mode, recalling the electrical characteristic parameter by the predetermined amount; and causing the USB interface to communicate with the USB device in the first transmission mode by using the recalled electrical characteristic parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of wireless network devices, and more specifically, to a transmission method for a USB interface of a wireless network device and a wireless network device. Background Technology

[0002] With the rapid development of wireless communication technologies (such as Wi-Fi 5 and Wi-Fi 6), most mainstream mid-to-high-end network devices (e.g., wireless routers, home gateways) integrate Universal Serial Bus (USB) interfaces (e.g., USB 3.0 interfaces) to allow users to connect external devices (e.g., USB flash drives, external hard drives, printers, etc.) and perform high-speed data transfer. For example, when an external hard drive is plugged into a router's USB port, different terminals can access the content stored on the external hard drive by connecting to the router.

[0003] However, USB interfaces (e.g., USB 3.0 interfaces) can interfere with Wi-Fi communication due to frequency band overlap during data transmission. For example, when a USB 3.0 interface performs high-speed data transmission (up to 5 Gbps), its signal base frequency is 2.5 GHz. This base frequency and its harmonics (e.g., 2.4 GHz, 4.8 GHz, etc.) fall within the 2.4 GHz frequency band (2.400 ~ 2.4835 GHz) of Wi-Fi communication, causing it to generate significant electromagnetic interference (EMI) in the 2.4 GHz band, severely affecting the quality and stability of wireless communication.

[0004] Therefore, it is necessary to consider how to reduce the intensity of interference. Summary of the Invention

[0005] In view of the above problems, this disclosure provides a transmission method for a USB interface of a wireless network device and a wireless network device that automatically adjusts the electrical characteristic parameters of the signal transmitted between the USB interface (e.g., USB 3.0 interface) and the USB device, thereby reducing the interference intensity on Wi-Fi communication without degrading the transmission mode.

[0006] One aspect of this disclosure provides a transmission method for a Universal Serial Bus (USB) interface in a wireless network device, comprising: in response to detecting that a USB device connected to the USB interface is communicating with the USB interface in a first transmission mode, progressively adjusting electrical characteristic parameters of a signal transmitted between the USB interface and the USB device by a predetermined amount, such that the signal strength is reduced; monitoring whether the USB device degrades from the first transmission mode to a second transmission mode after each adjustment, wherein the first transmission mode is higher than the second transmission mode in terms of transmission speed and power; in response to detecting that the USB device has degraded to the second transmission mode, reverting the electrical characteristic parameters back to the predetermined amount; and enabling the USB interface to communicate with the USB device in the first transmission mode using the reverted electrical characteristic parameters.

[0007] Another aspect of this disclosure provides a wireless network device including a Universal Serial Bus (USB) interface and a host control chip. The USB interface is configured to connect to a USB device, and the host control chip is configured to perform the following operations: in response to detecting that the USB device is communicating with the USB interface in a first transmission mode, progressively adjusting the electrical characteristic parameters of the signal transmitted between the USB interface and the USB device by a predetermined amount, such that the signal strength is reduced; monitoring whether the USB device degrades from the first transmission mode to a second transmission mode after each adjustment, the first transmission mode being higher in terms of transmission speed and power than the second transmission mode; in response to detecting that the USB device has degraded to the second transmission mode, reverting the electrical characteristic parameters back to the predetermined amount; and enabling the USB interface to communicate with the USB device in the first transmission mode using the reverted electrical characteristic parameters. Attached Figure Description

[0008] The aspects, features, and advantages of this disclosure will become clearer and more readily understood from the following description of embodiments in conjunction with the accompanying drawings. The drawings are provided to offer a further understanding of the embodiments of this disclosure and form part of the specification. The drawings, together with the embodiments of this disclosure, are used to explain this disclosure but do not constitute a limitation thereof. In the drawings:

[0009] Figure 1 A schematic diagram illustrating an application scenario 100 of a wireless network device according to various embodiments of the present disclosure is shown.

[0010] Figure 2 A flowchart illustrating a transmission method for a USB interface of a wireless network device according to various embodiments of the present disclosure is shown.

[0011] Figure 3 A schematic diagram of an example wireless network device according to various embodiments of the present disclosure is shown.

[0012] Figure 4 A schematic diagram of another example wireless network device according to various embodiments of the present disclosure is shown.

[0013] Figure 5 Example block diagrams of wireless network devices according to various embodiments of the present disclosure are shown. Detailed Implementation

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

[0015] Furthermore, the technical features involved in the different embodiments of this disclosure described below can be combined with each other as long as they do not conflict with each other.

[0016] The terms “exemplary” and / or “example” are used herein to mean “serving as an example, instance, or illustration.” Any aspect described herein as “exemplary” and / or “example” is not necessarily to be construed as superior to or better than other aspects. Similarly, the term “aspects of this disclosure” does not require that all aspects of this disclosure include the features, advantages, or modes of operation discussed.

[0017] USB interfaces supporting ultra-high-speed transfer modes (e.g., the ultra-high-speed transfer mode defined by the USB 3.0 standard protocol) significantly improve transmission efficiency with external devices due to their ultra-high transfer rates (e.g., 5Gbps). This enables large file transfers, real-time media streaming, and rapid data synchronization between devices, thereby expanding the application scenarios of network devices and improving the user experience. However, such USB interfaces (e.g., USB 3.0 interfaces) can significantly impact the quality and stability of wireless communication (e.g., wireless communication in the 2.4GHz band).

[0018] To address the electromagnetic interference (EMI) generated by USB interfaces (e.g., USB 3.0 interfaces) on wireless communications (e.g., wireless communications in the 2.4 GHz band), a shielding structure can typically be installed at the USB interface (e.g., USB interfaces with built-in shielding). However, the effectiveness of the shielding structure is limited; it usually only suppresses EMI near the USB interface and cannot cover the entire USB signal path within the network device (including the traces from the host chip to the USB interface). In reality, EMI can be generated and propagated along the entire USB signal path. Therefore, shielding structures at the USB interface often cannot completely solve the interference problem, and the shielding structure increases material and manufacturing costs.

[0019] In addition, increasing the spatial distance between the antenna and the USB interface can reduce electromagnetic interference to the wireless communication module by utilizing the characteristic that electromagnetic radiation attenuates with distance. However, increasing the spatial distance between the antenna and the USB interface will increase the overall size of the wireless network device, which is not conducive to the compact design of the device, and is also limited by the size and layout of the wireless network device casing.

[0020] Based on this, this disclosure proposes to automatically adjust the electrical characteristic parameters of the signal (which may be simply referred to as the USB signal) transmitted between the USB interface (e.g., USB 3.0 interface) and the USB device, so as to minimize the interference intensity of the USB signal on wireless communication without affecting the communication between the USB interface and the USB device in the ultra-high speed transmission mode.

[0021] Figure 1 A schematic diagram of an application scenario 100 of a network device 110 according to various embodiments of the present disclosure is shown.

[0022] In application scenario 100, the wireless network device 110 (e.g., a router) is equipped with a USB interface 120 (e.g., a USB 3.0 interface) for connecting external USB devices. The network device 110 (e.g., the router) may internally house a main control chip (not shown) serving as the control and processing center. The USB interface 120 can be connected to the main control chip of the network device 110 via internal signal lines (e.g., high-speed differential signal lines) to form a USB signal link. The network device 110 (e.g., the router) may also internally house a wireless communication module (e.g., a Wi-Fi module supporting the 2.4 GHz band) for enabling wireless data interaction with terminal devices (e.g., mobile phones, laptops, smart home devices, etc.). USB devices 130 (such as external hard drives, printers, 4G / 5G USB network cards, cameras, etc.) can be connected to the USB interface 120.

[0023] USB interfaces typically come in many types, such as USB 3.0, USB 2.0, and USB 1.0, each differing in transmission speed, technical features, and application scenarios. USB 3.0 supports SuperSpeed ​​transmission mode, also known as a high-speed USB interface, with a theoretical transmission rate of 5Gbps, approximately 10 times faster than USB 2.0.

[0024] When USB device 130 is not connected to USB interface 120, USB interface 120 is in a listening state, ready to respond to USB device access. When USB device 130 is connected to USB interface 120, USB interface 120 senses the USB device access through its detection pins. Then, USB device 130 can interact with the host control chip through USB interface 120, enabling the host control chip to recognize USB device 130, for example, recognizing USB device 130 as a USB 3.0 device. The host control chip establishes a high-speed bidirectional communication link with the USB 3.0 device through dedicated ultra-high-speed differential signal pairs (TX+ / TX− and RX+ / RX−) in USB interface 120 to achieve ultra-high-speed differential signal transmission.

[0025] Figure 2 A flowchart of a transmission method 200 for a USB interface of a wireless network device according to various embodiments of the present disclosure is shown.

[0026] When USB devices (e.g., such as...) Figure 1 The USB device 130 shown is connected to a USB 3.0 interface (e.g., as shown). Figure 1 When using the USB interface 120 shown, wireless network devices (such as...) Figure 1 The main control chip of the wireless network device 110 (shown) detects the access of the USB device and detects the transmission mode of the USB device. For example, if the USB device's transmission mode is detected as the first transmission mode (i.e., the ultra-high-speed transmission mode defined by the USB 3.0 standard protocol), then the USB device is identified as a USB 3.0 device. Or, for example, if the USB device's transmission mode is detected as the second transmission mode (i.e., the high-speed transmission mode defined by the USB 2.0 standard protocol), then the USB device is identified as a USB 2.0 device, or a USB device of another level.

[0027] like Figure 2 As shown, in step 210, in response to detecting that a USB device connected to a USB interface (e.g., a USB 3.0 interface) is communicating with the USB interface in a first transmission mode (i.e., ultra-high-speed transmission mode), the electrical characteristic parameters of the signal (e.g., differential signal) transmitted between the USB interface and the USB device can be gradually adjusted by a predetermined amount, so that the strength of the signal is reduced.

[0028] In one embodiment, the electrical characteristic parameter may include voltage amplitude. A predetermined amount may be set to a value within, for example, the range of 30 to 50 mV, such as 50 mV. Those skilled in the art will understand that this range is not limited to 30 to 50 mV. When the electrical characteristic parameter is voltage amplitude, the voltage amplitude of the signal is gradually adjusted by decreasing the voltage amplitude by a predetermined amount each time, thereby reducing the overall strength of the signal. Assuming the voltage amplitude of the signal is 1000 mV by default, the voltage amplitude is reduced by a predetermined amount of 50 mV to 1000-50=950 mV. Then, the voltage amplitude is further reduced by a predetermined amount of 50 mV to 900 mV, and so on, until a degradation from the first transmission mode to the second transmission mode is detected.

[0029] In another embodiment, the electrical characteristic parameter may include the de-emphasis ratio. A predetermined amount may be set to a value within, for example, the range of 0.1 to 0.2 dB, such as 0.2 dB. Those skilled in the art will understand that this range is not limited to 0.1 to 0.2 dB. De-emphasis processing of the signal is performed to recover the signal after it has been pre-emphasized at the transmitting end; in other words, de-emphasis processing uses a low-pass filter to attenuate the high-frequency components of the signal. For example, the de-emphasis ratio (dB) = 20 × (Voltage amplitude after de-emphasis processing / Voltage amplitude of the main signal). The de-emphasis ratio is typically negative (e.g., -3.5 dB, -6 dB, etc.). With the electrical characteristic parameter set to the de-emphasis ratio, the de-emphasis ratio of the signal is gradually adjusted by increasing it by a predetermined amount each time to reduce the intensity of the high-frequency components of the signal. The larger the de-emphasis ratio, the more the high-frequency components of the signal are attenuated. Assuming the default de-emphasis ratio of the signal is -3.5 dB, the de-emphasis ratio of -3.5 dB is increased by a predetermined amount of 0.2 dB to -3.5 - 0.2 = -3.7 dB. Then, the de-emphasis ratio of -3.7 dB is continued to be increased by a predetermined amount of 0.2 dB to -3.9 dB, and so on, until a degradation from the first transmission mode to the second transmission mode is detected.

[0030] In another embodiment, the electrical characteristic parameter may include the voltage slew rate (which may be simply referred to as slew rate (SR)). The slew rate is the maximum rate of change of voltage per unit time, i.e., SR = ΔVout / Δt. Reducing the slew rate slows down the rate of change of signal edges (i.e., slows down the rising and falling edges), thereby suppressing high-frequency components. A predetermined amount may be set, for example, 0.1 V / ns. Those skilled in the art will understand that the value of the predetermined amount is not limited thereto. When the electrical characteristic parameter is the voltage slew rate, gradually adjusting the slew rate of the signal reduces the slew rate by a predetermined amount each time in order to reduce the intensity of the high-frequency components of the signal. Assuming that the default slew rate of the signal is 1 V / ns, the slew rate of 1 V / ns is reduced by a predetermined amount of 0.1 V / ns to 1 - 0.1 = 0.9 V / ns, and then the slew rate of 0.9 V / ns is further reduced by a predetermined amount of 0.1 V / ns to 0.8 V / ns, and so on, until a degradation from the first transmission mode to the second transmission mode is detected.

[0031] Whether the electrical characteristic parameters are voltage amplitude, deemphasis ratio, or slew rate, the purpose of adjusting these parameters is to reduce signal strength (e.g., the overall signal strength or the strength of high-frequency components), thereby reducing the electromagnetic radiation intensity of the signal (i.e., interference intensity). Furthermore, electrical characteristic parameters are not limited to voltage amplitude, deemphasis ratio, and slew rate; other parameters that can affect interference intensity can also be used.

[0032] To avoid indiscriminately reducing signal strength and causing severe signal quality degradation, thus failing to meet the transmission requirements associated with the first transmission mode (e.g., the USB 3.0 standard protocol) and resulting in transmission mode degradation (i.e., downgrading from the first transmission mode to the second transmission mode), in step 220, it is possible to monitor whether the USB device has downgraded from the first transmission mode to the second transmission mode after each adjustment, where the first transmission mode is superior in terms of transmission speed and power. For example, the first transmission mode may include the Ultra High Speed ​​transmission mode defined by the USB 3.0 standard protocol, and the second transmission mode may include the High Speed ​​transmission mode defined by the USB 2.0 standard protocol. For example, monitoring is conducted each time the voltage amplitude is reduced by a predetermined amount, or each time the de-emphasis ratio is increased by a predetermined amount, to determine whether the first transmission mode has downgraded to the second transmission mode, for example, when the signal strength is attenuated to the point where it can no longer meet the transmission requirements associated with the first transmission mode (e.g., the USB 3.0 standard protocol). For example, when the signal voltage amplitude is reduced to the point where it no longer meets the transmission requirements associated with the first transmission mode (e.g., the USB 3.0 standard protocol specifies that the voltage amplitude must not be less than 850 mV). For example, the main control chip of a wireless network device can identify whether a USB device is still a USB 3.0 device. This can be achieved, for instance, by identifying the number of active differential pairs (e.g., USB 3.0 devices typically have 3 pairs of differential lines active, while USB 2.0 devices typically have 1 pair), thereby identifying whether the first transmission mode has degraded to a second transmission mode. For example, each time electrical characteristic parameters are adjusted, the USB device can provide link status information to the network device's main control chip so that the chip can identify whether the USB device is still a USB 3.0 device. Link status information can represent whether the signal quality meets the transmission requirements associated with the first transmission mode (e.g., the USB 3.0 standard protocol), i.e., whether the transmission mode will be degraded. Those skilled in the art will understand that other methods can also be used to identify whether the first transmission mode has degraded to a second transmission mode, and this is not a limitation.

[0033] If it is detected that the first transmission mode has not degraded to the second transmission mode (i.e., the transmission requirements associated with the first transmission mode are still met (e.g., the USB 3.0 standard protocol)), the electrical characteristic parameters can continue to be adjusted by a predetermined amount. If it is detected that the first transmission mode has degraded to the second transmission mode (i.e., the transmission requirements associated with the first transmission mode are no longer met (e.g., the USB 3.0 standard protocol)), the operation of step S230 can be performed.

[0034] In step S230, in response to detecting that the USB device has degraded to a second transmission mode, the electrical characteristic parameters can be reverted by a predetermined amount. For example, when the electrical characteristic parameters (e.g., from a voltage amplitude of 1000 mV) are gradually adjusted to a first value (e.g., a voltage amplitude of 800 mV), and a degrade from the first transmission mode to the second transmission mode is detected, the first value can be reverted by a predetermined amount (e.g., 50 mV) to the second value (e.g., a voltage amplitude of 850 mV). At this time, the transmission requirements associated with the first transmission mode (e.g., the USB 3.0 standard protocol) can be met.

[0035] In step S240, the USB interface can communicate with the USB device in the first transmission mode using the callback-reset electrical characteristic parameters (e.g., the second value). For example, communication is maintained under the callback-reset electrical characteristic parameters (e.g., the second value). In this case, the transmission mode is not degraded, and the signal strength (i.e., interference strength) is reduced as much as possible.

[0036] Since adjusting the electrical characteristic parameters to (e.g., to a first value) causes the first transmission mode to degrade to the second transmission mode, after the electrical characteristic parameters are reverted (e.g., from the first value to the second value), it is necessary to renegotiate to upgrade the second transmission mode back to the first transmission mode. For example, after reverting the electrical characteristic parameters by a predetermined amount, the USB interface can be restarted via an enable signal sent by the main control chip of the wireless network device, causing the USB device to switch back from the second transmission mode to the first transmission mode (i.e., renegotiate back to the first transmission mode).

[0037] For example, such as Figure 3 and Figure 4 As shown, the main control chip can control the USB power supply unit (e.g., as shown) via an enable signal. Figure 3 The USB power supply unit 313 shown or as shown Figure 4 The USB power supply unit 413 shown controls the power supply to the USB 3.0 interface (e.g., as shown). Figure 3 The USB interface 312 shown or as shown Figure 4 The power supply to the USB interface 412 (shown) is disconnected and then turned on to restart the USB interface. When the enable signal indicates that it is off, the USB power supply unit (e.g., as shown) is turned off. Figure 3 The USB power supply unit 313 shown or as shown Figure 4 The USB power supply unit 413 shown does not power a USB 3.0 interface (e.g., such as...). Figure 3 The USB interface 312 shown or as shown Figure 4 The USB interface 412 shown is powered (i.e., the USB 3.0 interface is turned off). When the enable signal indicates that it is on, the USB power supply unit (e.g., as shown) is powered on. Figure 3 The USB power supply unit 313 shown or as shown Figure 4 The USB power supply unit 413 shown supports a USB 3.0 interface (e.g., such as...). Figure 3 The USB interface 312 shown or as shown Figure 4 The USB interface 412 shown is powered (i.e., the USB 3.0 interface is enabled). The enable signal can be, for example, a general purpose input / output (GPIO) signal, which is output to the USB power supply unit through the GPIO pin of the host control chip.

[0038] In one embodiment, such as Figure 3 As shown, the signal strength can be reduced by the main control chip 311 of the wireless network device by adjusting the power of the output drive circuit of the USB interface. For example, by programming the physical layer registers of the main control chip, the power of the drive circuit of its transmit driver can be adjusted, thereby changing the voltage amplitude of the signal. Similarly, the deemphasis ratio can also be adjusted by programming the physical layer registers of the main control chip. Using the main control chip, all parameters can be adjusted through the registers configured in the main control chip, without the need for additional adjustment devices, making it simple and convenient.

[0039] In another embodiment, such as Figure 4 As shown, the signal strength can be reduced by adjusting the attenuation amount (e.g., 0.5dB, 1dB, 2dB, etc.) of the programmable attenuation circuit 430 located on the transmission path from the USB interface to the USB device, controlled by the main control chip 411 of the wireless network device. The programmable attenuation circuit can be an analog circuit module capable of adjusting the signal attenuation amount as needed. The attenuation amount can be adjusted via the GPIO signal output from the GPIO pin of the main control chip. Programmable attenuation circuits typically support setting the attenuation amount in steps of 0.1dB, 0.05dB, or even smaller, enabling fine-tuning of the signal strength and thus achieving intelligent control of the signal strength in a digital and high-precision manner.

[0040] Figure 3 A schematic diagram of an example wireless network device 310 according to various embodiments of the present disclosure is shown. Figure 3 As shown, the wireless network device 310 may include a main control chip 311 and a USB interface 312 (e.g., a USB 3.0 interface). The USB interface 312 can be configured to connect to the USB device 320. The main control chip 311 can be configured to perform the operations described in steps S210 to S240 above. For more details, please refer to the information on... Figure 2 The above description will not be repeated here.

[0041] The wireless network device 310 may also include a USB power supply unit 313, which can be configured to restart the USB interface 312 based on an enable signal received from the host control chip 311, so that the USB device 320 switches from the second transmission mode back to the first transmission mode.

[0042] Figure 4 A schematic diagram of another example wireless network device 410 according to various embodiments of the present disclosure is shown. Figure 4 As shown, the wireless network device 410 may include a main control chip 411 and a USB interface 412 (e.g., a USB 3.0 interface). The USB interface 412 can be configured to connect to the USB device 420. The main control chip 411 can be configured to perform the operations described in steps S210 to S240 above. For more details, please refer to the information on... Figure 2 The above description will not be repeated here.

[0043] The wireless network device 410 may also include a USB power supply unit 413, which can be configured to restart the USB interface 412 based on an enable signal received from the host control chip 411, so that the USB device 420 switches from the second transmission mode back to the first transmission mode.

[0044] also, Figure 4 and Figure 3 The difference is that, Figure 4 The wireless network device 410 may also include a programmable attenuation circuit 414. The programmable attenuation circuit 414 can be configured on the transmission path from the USB interface to the USB device, for example, within the USB interface itself. The attenuation level can be adjusted via a GPIO signal output from the GPIO pin of the main control chip 411.

[0045] Figure 5 Example block diagrams of wireless network devices 500 according to various embodiments of the present disclosure are shown.

[0046] like Figure 5 As shown, the wireless network device 500 may include a processor 510 and a memory 520. The processor 510 is communicatively coupled to the memory 520 and is configured to perform the methods described above.

[0047] A set of computer program instructions stored in memory, when executed by a processor, performs any step of the above method, including: in response to detecting that a USB device connected to the USB interface is communicating with the USB interface in a first transmission mode, progressively adjusting the electrical characteristic parameters of the signal transmitted between the USB interface and the USB device by a predetermined amount, such that the signal strength is reduced; monitoring whether the USB device degrades from the first transmission mode to a second transmission mode after each adjustment, the first transmission mode being higher in terms of transmission speed and power than the second transmission mode; in response to detecting that the USB device has degraded to the second transmission mode, reverting the electrical characteristic parameters back to the predetermined amount; and enabling the USB interface to communicate with the USB device in the first transmission mode using the reverted electrical characteristic parameters. The above relates to... Figure 2 The details described in the method shown also apply here.

[0048] Examples of processor 510 include microprocessors, microcontrollers, DSPs, FPGAs, PLDs, state machines, gated logic, discrete hardware circuits, and other suitable hardware configured to perform various functionalities throughout the present disclosure.

[0049] Processor 510 can execute software. Whether referred to as software, firmware, middleware, microcode, hardware description language, or other terms, software should be broadly interpreted to mean instructions, instruction sets, code, code segments, program code, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, execution threads, procedures, functions, etc. Software can reside on memory 520.

[0050] Memory 520 may be a non-transitory computer-readable medium. As examples, non-transitory computer-readable media include magnetic storage devices (e.g., hard disks, floppy disks, magnetic stripes), optical disks (e.g., compact discs (CDs) or digital versatile discs (DVDs)), smart cards, flash memory devices (e.g., cards, sticks, or key drives), random access memory (RAM), read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), registers, removable disks, and any other suitable medium for storing software and / or instructions that can be accessed and read by a computer. Memory 520 may reside in processor 510, be external to processor 510, or be distributed across multiple entities including processor 510. Memory 520 may be embodied in a computer program product. For example, a computer program product may include a computer-readable medium in encapsulation material. Those skilled in the art will recognize how the functionality described herein can be implemented depending on the specific application and the overall design constraints imposed on the system as a whole.

[0051] Additionally, according to another embodiment of this disclosure, a computer program product for generating alarm content is disclosed. As an example, the computer program product includes a non-transitory computer-readable storage medium having program instructions embodied therein, and the program instructions are executable by a processor. When executed, the program instructions cause the processor to perform one or more of the processes described above, and details are omitted herein for brevity.

[0052] The above description, with reference to the accompanying drawings, outlines a transmission method for a USB interface in a wireless network device according to embodiments of the present disclosure. The present disclosure achieves an optimal balance between wireless performance and data transmission rate by dynamically adjusting the electrical characteristic parameters of the signal. Furthermore, the present disclosure renegotiation with the USB device by controlling the USB interface to restart via a main control chip. The main control chip then automatically identifies and adjusts internally to quickly restore the ultra-high-speed transmission mode, significantly reducing the control overhead and complexity of the main control chip and improving system response speed and robustness. Moreover, it eliminates the need for additional shielding structures and does not affect the external dimensions of the network device, thereby saving material and manufacturing costs.

[0053] Unless otherwise expressly stated, expressions such as “according to,” “based on,” “depending on,” etc., as used in this disclosure do not mean “according to only,” “based on only,” or “depending on only.” In other words, in this disclosure, such expressions generally mean “at least according to,” “at least based on,” or “at least depending on.”

[0054] Any references to elements in this disclosure, such as the names "first," "second," etc., are not intended to comprehensively limit the number or order of these elements. These expressions may be used in this disclosure as a convenient way to distinguish two or more units. Therefore, references to the first unit and the second unit do not imply that only two units may be used, or that the first unit must precede the second unit in some form.

[0055] As used in this disclosure, the term "determine" can include a variety of operations. For example, "determine," calculation, operation, processing, derivation, investigation, search (e.g., searching in a table, database, or other data structure), and ascertainment are all considered "determine." Additionally, "determine" also refers to receiving (e.g., receiving information), sending (e.g., sending information), inputting, outputting, and accessing (e.g., accessing data in memory). Furthermore, "determine" can also refer to parsing, selecting, picking, building, and comparing. In other words, several actions can be considered "determine."

[0056] As used in this disclosure, terms such as “connection,” “coupling,” or any variation thereof refer to any direct or indirect connection or combination between two or more units, which may include situations where one or more intermediate units exist between two units that are “connected” or “coupled” to each other. The coupling or connection between units may be physical or logical, or a combination of both. As used in this disclosure, two units may be considered electrically connected by means of one or more wires, cables, and / or printing, and as numerous non-limiting and non-exhaustive examples, may be “connected” or “coupled” to each other by means of electromagnetic energy in the radio frequency region, microwave region, and / or light (visible and invisible) region, etc.

[0057] When the terms “comprising,” “including,” and variations thereof are used in this disclosure or claims, these terms are open-ended, just like the term “having.” Furthermore, the term “or” as used in this disclosure or claims is not an exclusive “or.”

[0058] Those skilled in the art will understand that many changes and / or modifications can be made to the present disclosure shown in the specific embodiments without departing from the spirit or scope of the present disclosure as broadly described. Therefore, the embodiments are to be considered illustrative rather than restrictive in all respects.

Claims

1. A transmission method for a Universal Serial Bus (USB) interface in a wireless network device, comprising: In response to detecting that a USB device connected to the USB interface is communicating with the USB interface in a first transmission mode, the electrical characteristic parameters of the signal transmitted between the USB interface and the USB device are gradually adjusted by a predetermined amount, so that the strength of the signal is reduced. After each adjustment, the USB device is monitored to see if it degrades from the first transmission mode to the second transmission mode, where the first transmission mode is higher in terms of transmission speed and power. In response to detecting that the USB device has degraded to the second transmission mode, the electrical characteristic parameters are reverted to the predetermined amount; as well as The USB interface is enabled to communicate with the USB device in the first transmission mode using the electrical characteristic parameters after the callback.

2. The method of claim 1, wherein, The wireless communication of the wireless network device includes communication using the 2.4G frequency band, the USB interface includes a USB 3.0 interface, the first transmission mode includes the ultra-high-speed transmission mode defined by the USB 3.0 standard protocol, and the second transmission mode includes the high-speed transmission mode defined by the USB 2.0 standard protocol.

3. The method of claim 1, wherein, The electrical characteristic parameters include voltage amplitude, and the gradual adjustment of the electrical characteristic parameters according to a predetermined amount includes: The voltage amplitude is reduced by the predetermined amount each time.

4. The method of claim 1, wherein, The electrical characteristic parameters include the weight reduction ratio, and the gradual adjustment of the electrical characteristic parameters according to a predetermined amount includes: The deweighting ratio is increased by the predetermined amount each time.

5. The method according to claim 1, wherein, The electrical characteristic parameters include the voltage slew rate, and the gradual adjustment of the electrical characteristic parameters by a predetermined amount includes: The voltage slew rate is reduced by the predetermined amount each time.

6. The method according to claim 1, wherein, The signal strength is reduced in the following ways: Adjust the power of the output drive circuit of the USB interface; or The programmable attenuation circuit, which is set on the transmission path from the USB interface to the USB device, adjusts the attenuation amount.

7. The method according to claim 1, further comprising: After the electrical characteristic parameters are reverted to the predetermined amount, the USB interface is restarted by the enable signal sent by the main control chip of the wireless network device, so that the USB device switches from the second transmission mode back to the first transmission mode.

8. A wireless network device, comprising a Universal Serial Bus (USB) interface and a host control chip, wherein the USB interface is configured to connect to a USB device, and the host control chip is configured to perform the following operations: In response to detecting that the USB device is communicating with the USB interface in a first transmission mode, the electrical characteristic parameters of the signal transmitted between the USB interface and the USB device are gradually adjusted by a predetermined amount, so that the strength of the signal is reduced; After each adjustment, the USB device is monitored to see if it degrades from the first transmission mode to the second transmission mode, where the first transmission mode is higher in terms of transmission speed and power. In response to detecting that the USB device has degraded to the second transmission mode, the electrical characteristic parameters are reverted to the predetermined amount; as well as The USB interface is enabled to communicate with the USB device in the first transmission mode using the electrical characteristic parameters after the callback.

9. The wireless network device according to claim 8, wherein, The signal strength is reduced in the following ways: The main control chip adjusts the power of the output drive circuit of the USB interface; or The main control chip controls a programmable attenuation circuit located on the transmission path from the USB interface to the USB device to adjust the attenuation amount. The programmable attenuation circuit is included in the wireless network device.

10. The wireless network device according to claim 8, wherein, The wireless network device further includes a USB power supply unit, which is configured to restart the USB interface based on an enable signal received from the main control chip, thereby causing the USB device to switch from the second transmission mode back to the first transmission mode.