USB encoding adjustment method, device and system

By adjusting the USB encoding method, the USB encoding is optimized according to WiFi and LTE parameters, the interference problem of USB data transmission on WiFi and LTE communication is solved, and a good communication status is achieved.

CN115426679BActive Publication Date: 2025-08-22SHANGHAI LIANHONG TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211072205.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-02
Publication Date
2025-08-22
Estimated Expiration
2042-09-02

AI Technical Summary

Technical Problem

The USB data transmission process interferes with WiFi communication and LTE communication, affecting the reception sensitivity.

Method used

According to the WiFi parameters and LTE parameters of the smart device, the USB encoding method is adjusted, including NRZ encoding method, PAM4 encoding method and PAM16 encoding method. By determining whether the WiFi power, frequency band, LTE power, frequency band, frequency band exceed the threshold or is within a specific range, USB encoding is optimized to reduce interference.

Benefits of technology

It effectively reduces the interference of USB data transmission on WiFi communication and LTE communication, and maintains a good communication state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426679B_ABST
    Figure CN115426679B_ABST
Patent Text Reader

Abstract

This application provides a method, device, and system for adjusting a USB encoding mode. The method includes obtaining at least one of a smart device's WiFi parameters and LTE parameters, where the WiFi parameters include WiFi power and WiFi frequency band, and the LTE parameters include LTE power and LTE frequency band; and adjusting the smart device's USB encoding mode based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. By determining the smart device's WiFi parameters and LTE parameters, the method adjusts the smart device's USB encoding mode based on the smart device's WiFi usage requirements and the LTE network's environmental conditions, ensuring that WiFi or LTE communication maintains a good communication state. This addresses the prior art issue of USB data transmission interfering with WiFi and LTE communications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and more specifically, to a method, device, computer-readable storage medium, processor, and system for adjusting a USB encoding method. Background Art

[0002] Most electronic devices currently have USB (Universal Serial Bus) 3.0 and WiFi (Wireless Fidelity) functions. Electronic devices can connect to slave devices through the USB interface for high-speed data transmission, and can also use the WiFi function to send and receive wireless signals. 2.4GHz wireless communication is more commonly used. To solve the problem of EMI (Electromagnetic Interference), the USB protocol generally requires USB to use SSC (Spread Spectrum Clock) technology, which expands the USB spectrum in the 2.5GHz band to close to 2.4GHz. The signal is not completely distributed in 2.4GHz, thereby interfering with 2.4GHz wireless communication and LTE (Long Term Evolution) communication in the 2.4GHz band, affecting the receiving sensitivity of the 2.4GHz wireless network. This problem can be solved by reducing the operating speed of the USB, but it affects the speed of the USB interface.

[0003] Therefore, there is an urgent need for a method to solve the interference caused by the USB data transmission process on WiFi communication and LTE communication.

[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country to those skilled in the art. Summary of the Invention

[0005] The main purpose of this application is to provide a method, device, computer-readable storage medium, processor and system for adjusting the USB encoding method to solve the problem in the prior art that the USB data transmission process interferes with WiFi communication and LTE communication.

[0006] To achieve the above-mentioned objectives, according to one aspect of the present application, a method for adjusting a USB encoding mode is provided, comprising: obtaining at least one of a WiFi parameter and an LTE parameter of a smart device, wherein the smart device is a device supporting USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, the WiFi parameters including WiFi power and a WiFi frequency band, and the LTE parameters including an LTE power and an LTE frequency band; adjusting the USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range.

[0007] Optionally, the encoding mode includes at least one of the following: NRZ encoding mode, PAM4 encoding mode and PAM16 encoding mode.

[0008] Optionally, obtaining the WiFi parameters includes: when the smart device has a WiFi connection with other devices and there is no LTE communication between the smart device and the base station, obtaining the WiFi power and the WiFi frequency band; obtaining the LTE parameters includes: when the smart device has LTE communication with the base station and there is no WiFi connection between the smart device and the other devices, obtaining the LTE power and the LTE frequency band; obtaining the WiFi parameters and the LTE parameters includes: when the smart device has a WiFi connection with the other devices and there is LTE communication between the smart device and the base station, obtaining the WiFi power, the WiFi frequency band, the LTE power and the LTE frequency band.

[0009] Optionally, the USB encoding mode of the smart device is adjusted according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range, including: when the smart device has a WiFi connection with other devices, determining whether the WiFi power is greater than the first threshold; when the WiFi power is less than the first threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; when the WiFi power is greater than or equal to the first threshold, adjusting the USB encoding mode of the smart device according to whether the WiFi frequency band is within the first predetermined range or the second predetermined range.

[0010] Optionally, adjusting the USB encoding mode of the smart device according to whether the WiFi frequency band is within the first predetermined range or the second predetermined range includes: when the WiFi frequency band is within the first predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; when the WiFi frequency band is within the second predetermined range, adjusting the USB encoding mode of the smart device to the NRZ encoding mode.

[0011] Optionally, the USB encoding mode of the smart device is adjusted according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range, including: when the smart device has LTE communication with a base station and the smart device has no WiFi connection with other devices, determining whether the LTE power is greater than the second threshold; when the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; when the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; when the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; when the LTE frequency band is within the fourth predetermined range, adjusting the USB encoding mode of the smart device to one of the NRZ encoding mode and the PAM16 encoding mode.

[0012] Optionally, adjusting the USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range, includes: when the smart device has a WiFi connection with another device and the smart device has LTE communication with a base station, determining whether the WiFi power is greater than the first threshold and whether the WiFi frequency band is within the first predetermined range or the second predetermined range; when the WiFi power is less than the first threshold, or when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range, adjusting the USB encoding mode of the smart device according to at least one of the following: whether the LTE parameter is greater than the second threshold and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the first predetermined range, adjusting the USB encoding mode of the smart device according to at least one of the following: whether the LTE parameter is greater than the second threshold and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range.

[0013] Optionally, when the WiFi power is less than the first threshold, or the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range, the USB encoding mode of the smart device is adjusted according to at least one of the following: whether the LTE parameter is greater than the second threshold, whether the LTE frequency band is within the third predetermined range or the fourth predetermined range, including: when the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; when the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; when the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; when the LTE frequency band is within the fourth predetermined range, adjusting the USB encoding mode of the smart device to one of the NRZ encoding mode and the PAM16 encoding mode.

[0014] Optionally, when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the first predetermined range, the USB encoding mode of the smart device is adjusted according to at least one of the following: whether the LTE parameter is greater than the second threshold, whether the LTE frequency band is within the third predetermined range or the fourth predetermined range, including: when the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; when the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; when the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; when the LTE frequency band is within the fourth predetermined range, adjusting the USB encoding mode of the smart device to the PAM16 encoding mode.

[0015] According to another aspect of the present application, a device for adjusting a USB encoding mode is provided, comprising an acquisition unit and an adjustment unit, wherein the acquisition unit is configured to acquire at least one of a WiFi parameter and an LTE parameter of a smart device, the smart device being a device supporting USB data transmission and having at least one of the following functions: a WiFi function and an LTE network function, the WiFi parameters including WiFi power and a WiFi frequency band, and the LTE parameters including LTE power and an LTE frequency band; the adjustment unit is configured to adjust the USB encoding mode of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range.

[0016] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is run, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for adjusting the USB encoding mode.

[0017] According to another aspect of the present application, a processor is provided, which is used to run a program, wherein the program executes any one of the methods for adjusting the USB encoding mode when running.

[0018] According to another aspect of the present application, a USB encoding mode adjustment system is provided, comprising a controller and a smart device, wherein the controller is used to execute any one of the USB encoding mode adjustment methods; and the smart device is electrically connected to the controller.

[0019] Applying the technical solution of the present application, in a method for adjusting a USB encoding mode, first, at least one of a WiFi parameter and an LTE parameter of a smart device is obtained. The smart device is a device that supports USB data transmission and has at least one of the following functions: WiFi function and LTE network function. The WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band. Then, the USB encoding mode of the smart device is adjusted based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. By determining the WiFi parameters and LTE parameters of the smart device, the method can determine the WiFi usage requirements of the smart device and the environmental conditions of the LTE network. The USB encoding mode of the smart device is then adjusted based on the WiFi usage requirements and the environmental conditions of the LTE network, thereby maintaining a good communication state for WiFi or LTE communication, thereby resolving the problem of interference caused by USB data transmission on WiFi and LTE communications in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:

[0021] Figure 1 A flowchart of a method for adjusting a USB encoding method according to an embodiment of the present application is shown;

[0022] Figure 2 A schematic diagram of a device for adjusting a USB encoding method according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element or intervening elements may be present. Moreover, in the specification and claims, when it is described that an element is "connected to" another element, the element may be "directly connected to" the other element or "connected to" the other element through a third element.

[0027] As mentioned in the background technology, the USB data transmission process in the prior art interferes with WiFi communication and LTE communication. In order to solve the above problem, in a typical embodiment of the present application, a method, device, computer-readable storage medium, processor and system for adjusting the USB encoding method are provided.

[0028] According to an embodiment of the present application, a method for adjusting a USB encoding mode is provided.

[0029] Figure 1 FIG. 1 is a flow chart of a method for adjusting the USB encoding method according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:

[0030] Step S101, obtaining at least one of a WiFi parameter and an LTE parameter of a smart device, wherein the smart device is a device that supports USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, wherein the WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band;

[0031] Step S102, adjusting the USB encoding method of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range.

[0032] In the above-mentioned USB encoding mode adjustment method, at least one of WiFi parameters and LTE parameters of a smart device is first obtained. The smart device is a device that supports USB data transmission and has at least one of the following functions: WiFi function and LTE network function. The WiFi parameters include WiFi power and WiFi frequency band, and the LTE parameters include LTE power and LTE frequency band. Then, the USB encoding mode of the smart device is adjusted based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. By determining the WiFi parameters and LTE parameters of the smart device, the method can determine the WiFi usage requirements of the smart device and the environmental conditions of the LTE network. The USB encoding mode of the smart device is then adjusted based on the WiFi usage requirements and the environmental conditions of the LTE network, thereby maintaining a good communication state for WiFi or LTE communication. This solves the problem of interference caused by USB data transmission on WiFi and LTE communications in the prior art.

[0033] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0034] In actual applications, the USB 3.0 protocol generally requires USB to use SSC technology, which expands the USB 3.0 spectrum in the 2.5 GHz band to close to 2.4 GHz. The signal is not completely distributed in the 2.4 GHz band, which causes interference between LTE and WiFi communications in the 2.4 GHz band.

[0035] In one embodiment of the present application, the above-mentioned encoding method includes at least one of the following: NRZ encoding method, PAM4 encoding method and PAM16 encoding method.

[0036] In practical applications, PAM4 encoding reduces the USB baud rate to 1.25G, while PAM16 encoding reduces it to 625M. PAM4 encoding introduces delays during the encoding and forwarding process, shortening the signal's transmission distance. However, when Wi-Fi devices are in close proximity to these smart devices, NRZ encoding can be used to eliminate the delay introduced by USB encoding and forwarding.

[0037] In another embodiment of the present application, obtaining the WiFi parameters includes: obtaining the WiFi power and the WiFi frequency band when the smart device has a WiFi connection with other devices and the smart device does not have LTE communication with the base station; obtaining the LTE parameters includes: obtaining the LTE power and the LTE frequency band when the smart device has LTE communication with the base station and the smart device does not have a WiFi connection with the other devices; obtaining the WiFi parameters and the LTE parameters includes: obtaining the WiFi power, the WiFi frequency band, the LTE power, and the LTE frequency band when the smart device has a WiFi connection with the other devices and the smart device has LTE communication with the base station. The WiFi usage requirements of the smart device can be determined based on the WiFi power and WiFi frequency band of the smart device, and the environmental conditions of the LTE network can be determined based on the LTE power and LTE frequency band of the smart device. The WiFi power and WiFi frequency band can be obtained when the smart device has a WiFi connection with other devices, and the LTE power and LTE frequency band can be obtained when the smart device has LTE communication with the base station.

[0038] In the absence of LTE communication, only the impact of the USB encoding scheme on WiFi transmission needs to be considered. To determine the WiFi transmission rate of the smart device and thereby adjust the USB encoding scheme (which does not affect the rate) based on the WiFi transmission rate, in another embodiment of the present application, the USB encoding scheme of the smart device is adjusted based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. The method includes: when the smart device is connected to another device via WiFi, determining whether the WiFi power is greater than the first threshold; if the WiFi power is less than the first threshold, adjusting the USB encoding scheme of the smart device to the NRZ encoding scheme; and when the WiFi power is greater than or equal to the first threshold, adjusting the USB encoding scheme of the smart device based on whether the WiFi frequency band is within the first predetermined range or the second predetermined range.

[0039] Specifically, when the WiFi power is less than the first threshold, it indicates that there is a WiFi communication device relatively close to the smart device, and the USB interference with the WiFi transmission is relatively small. The USB encoding method of the smart device can be adjusted to NRZ encoding. When the WiFi power is greater than the first threshold, it indicates that there is a WiFi communication device relatively far away from the smart device. In this case, the WiFi transmission rate of the smart device is relatively low. If interfered with by the USB, the WiFi transmission rate will be further reduced. Therefore, it is necessary to determine the WiFi frequency band at this time to confirm whether the WiFi communication will be interfered with by the USB.

[0040] In another embodiment of the present application, adjusting the USB encoding mode of the smart device based on whether the WiFi frequency band is within the first predetermined range or the second predetermined range includes: adjusting the USB encoding mode of the smart device to the PAM4 encoding mode when the WiFi frequency band is within the first predetermined range; and adjusting the USB encoding mode of the smart device to the NRZ encoding mode when the WiFi frequency band is within the second predetermined range. The WiFi frequency band can further reduce interference from USB to WiFi transmission.

[0041] Specifically, the USB protocol generally requires that the USB adopt SSC technology to expand the USB spectrum in the 2.5GHz frequency band to approach 2.4GHz. The above-mentioned first predetermined range may include 2.4GHz. When the WiFi frequency band is 2.4GHz, the USB encoding method of the above-mentioned smart device is adjusted to the above-mentioned PAM4 encoding method, and the USB baud rate is changed to avoid the WiFi interference frequency band of 2.4GHz, thereby ensuring normal WiFi communication. The above-mentioned second predetermined range may include 5GHz. When the WiFi frequency band is 5GHz, USB will not interfere with it, so the encoding method is adjusted to NRZ encoding.

[0042] In the absence of a WiFi connection, only the impact of the USB encoding method on LTE transmission needs to be considered. In order to determine the LTE communication rate of the smart device, and thereby adjust the USB encoding method that does not affect its rate according to the LTE communication rate, in another embodiment of the present application, the USB encoding method of the smart device is adjusted according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within the first predetermined range or the second predetermined range, and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range, including: when the smart device has LTE communication with the base station and there is no WiFi between the smart device and other devices, If the LTE power is greater than the second threshold, the smart device determines whether the LTE power is greater than the second threshold. If the LTE power is less than the second threshold, the USB encoding mode of the smart device is adjusted to the NRZ encoding mode. If the LTE power is greater than or equal to the second threshold, the smart device determines whether the LTE frequency band is within the third predetermined range or the fourth predetermined range. If the LTE frequency band is within the third predetermined range, the USB encoding mode of the smart device is adjusted to the PAM4 encoding mode. If the LTE frequency band is within the fourth predetermined range, the USB encoding mode of the smart device is adjusted to one of the NRZ encoding mode and the PAM16 encoding mode. To further reduce the impact of USB transmission on LTE communication, the USB encoding mode is adjusted according to the LTE frequency band.

[0043] Specifically, when the LTE power is less than the second threshold, it indicates that the smart device is relatively close to the base station. Adjusting the USB encoding method to NRZ will not increase USB communication latency. When the LTE power is greater than or equal to the second threshold, the impact of the LTE frequency band must also be considered. The third predetermined range may include 2.4 GHz. If the LTE operating frequency band is at 2.4 GHz, the USB encoding method of NRZ will interfere with it. Adjusting the USB encoding method to PAM4 and reducing the baud rate to 1.25 GHz can reduce interference. The fourth predetermined range may include 1 GHz. If the LTE operating frequency band is at 1 GHz, it is close to 1.25 GHz and susceptible to interference. Therefore, adjusting the USB encoding method to PAM16 and reducing the baud rate to 625 MHz, or adjusting the USB encoding method to NRZ, can reduce interference.

[0044] In another embodiment of the present application, adjusting the USB encoding mode of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range includes: when the smart device has a WiFi connection with another device and the smart device has LTE communication with a base station, determining whether the WiFi power is greater than the first threshold and whether the WiFi frequency band is within the first predetermined range or the second predetermined range; when the WiFi power is less than the first threshold, or when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range, adjusting the USB encoding mode of the smart device based on at least one of the following: whether the LTE parameter is greater than the second threshold and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; and when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the first predetermined range, adjusting the USB encoding mode of the smart device based on at least one of the following: whether the LTE parameter is greater than the second threshold and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range. When both WiFi connection and LTE communication exist, both WiFi parameters and LTE parameters need to be considered to minimize the impact of USB transmission on WiFi transmission and LTE transmission.

[0045] To further reduce interference caused by USB transmission on WiFi transmission and LTE transmission, in another embodiment of the present application, when the WiFi power is less than the first threshold, or when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range, the USB encoding mode of the smart device is adjusted based on at least one of the following: whether the LTE parameter is greater than the second threshold, and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range. The adjustment includes: when the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; when the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; when the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; and when the LTE frequency band is within the fourth predetermined range, adjusting the USB encoding mode of the smart device to one of the NRZ encoding mode and the PAM16 encoding mode.

[0046] In order to further reduce the interference caused by USB transmission on WiFi transmission and LTE transmission, in another embodiment of the present application, when the above-mentioned WiFi power is greater than or equal to the above-mentioned first threshold and the above-mentioned WiFi frequency band is within the above-mentioned first predetermined range, the USB encoding mode of the above-mentioned smart device is adjusted according to at least one of the following: whether the above-mentioned LTE parameter is greater than the above-mentioned second threshold, whether the above-mentioned LTE frequency band is within the above-mentioned third predetermined range or the above-mentioned fourth predetermined range, including: when the above-mentioned LTE power is less than the above-mentioned second threshold, adjusting the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM4 encoding mode; when the above-mentioned LTE power is greater than or equal to the above-mentioned second threshold, determining whether the above-mentioned LTE frequency band is within the above-mentioned third predetermined range or the above-mentioned fourth predetermined range; when the above-mentioned LTE frequency band is within the above-mentioned third predetermined range, adjusting the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM4 encoding mode; when the above-mentioned LTE frequency band is within the above-mentioned third predetermined range, adjusting the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM16 encoding mode.

[0047] The present application also provides an apparatus for adjusting a USB encoding method. It should be noted that the apparatus for adjusting a USB encoding method according to the present application can be used to execute the method for adjusting a USB encoding method according to the present application. The apparatus for adjusting a USB encoding method according to the present application is described below.

[0048] Figure 2 Schematic diagram of a device for adjusting the USB encoding method according to an embodiment of the present application. Figure 2 As shown, the device includes:

[0049] an acquiring unit 10, configured to acquire at least one of a WiFi parameter and an LTE parameter of a smart device, wherein the smart device is a device that supports USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, wherein the WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band;

[0050] The adjustment unit 20 is configured to adjust the USB encoding method of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range.

[0051] In the above-mentioned USB encoding mode adjustment device, the acquisition unit acquires at least one of WiFi parameters and LTE parameters of a smart device. The smart device supports USB data transmission and has at least one of the following functions: WiFi function and LTE network function. The WiFi parameters include WiFi power and WiFi frequency band, and the LTE parameters include LTE power and LTE frequency band. The adjustment unit adjusts the USB encoding mode of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. By determining the WiFi parameters and LTE parameters of the smart device, the device can determine the WiFi usage requirements of the smart device and the environmental conditions of the LTE network. The device then adjusts the USB encoding mode of the smart device based on the WiFi usage requirements and the environmental conditions of the LTE network, thereby maintaining a good communication state for WiFi or LTE communication. This solves the problem of interference between WiFi and LTE communications caused by USB data transmission in the prior art.

[0052] In actual applications, the USB 3.0 protocol generally requires USB to use SSC technology, which expands the USB 3.0 spectrum in the 2.5 GHz band to close to 2.4 GHz. The signal is not completely distributed in the 2.4 GHz band, which causes interference between LTE and WiFi communications in the 2.4 GHz band.

[0053] In one embodiment of the present application, the above-mentioned encoding method includes at least one of the following: NRZ encoding method, PAM4 encoding method and PAM16 encoding method.

[0054] In practical applications, PAM4 encoding reduces the USB baud rate to 1.25G, while PAM16 encoding reduces it to 625M. PAM4 encoding introduces delays during the encoding and forwarding process, shortening the signal's transmission distance. However, when Wi-Fi devices are in close proximity to these smart devices, NRZ encoding can be used to eliminate the delay introduced by USB encoding and forwarding.

[0055] In another embodiment of the present application, the acquisition unit includes a first acquisition module, a second acquisition module, and a third acquisition module, wherein the first acquisition module is configured to acquire the WiFi power and the WiFi frequency band when the smart device is connected to another device via WiFi and the smart device is not in LTE communication with the base station; the second acquisition module is configured to acquire the LTE power and the LTE frequency band when the smart device is in LTE communication with the base station and the smart device is not in WiFi connection with the other device; and the third acquisition module is configured to acquire the WiFi power, the WiFi frequency band, the LTE power, and the LTE frequency band when the smart device is connected to the other device and the smart device is in LTE communication with the base station. The WiFi usage requirement of the smart device can be determined based on the WiFi power and WiFi frequency band of the smart device, and the environmental status of the LTE network can be determined based on the LTE power and LTE frequency band of the smart device. The WiFi power and WiFi frequency band can be acquired when the smart device is connected to another device via WiFi, and the LTE power and LTE frequency band can be acquired when the intelligent device is in LTE communication with the base station.

[0056] In the absence of LTE communication, only the impact of the USB encoding method on WiFi transmission needs to be considered. In order to determine the WiFi transmission rate of the smart device and adjust the USB encoding method that does not affect its rate according to the WiFi transmission rate, in another embodiment of the present application, the above-mentioned adjustment unit includes a first determination module, a first adjustment module and a second adjustment module, wherein the above-mentioned first determination module is used to determine whether the above-mentioned WiFi power is greater than the above-mentioned first threshold when the above-mentioned smart device has a WiFi connection with other devices; the above-mentioned first adjustment module is used to adjust the USB encoding method of the above-mentioned smart device to the above-mentioned NRZ encoding method when the above-mentioned WiFi power is less than the above-mentioned first threshold; the above-mentioned second adjustment module is used to adjust the USB encoding method of the above-mentioned smart device according to whether the above-mentioned WiFi frequency band is within the above-mentioned first predetermined range or the above-mentioned second predetermined range when the above-mentioned WiFi power is greater than or equal to the above-mentioned first threshold.

[0057] Specifically, when the WiFi power is less than the first threshold, it indicates that there is a WiFi communication device relatively close to the smart device, and the USB interference with the WiFi transmission is relatively small. The USB encoding method of the smart device can be adjusted to NRZ encoding. When the WiFi power is greater than the first threshold, it indicates that there is a WiFi communication device relatively far away from the smart device. In this case, the WiFi transmission rate of the smart device is relatively low. If interfered with by the USB, the WiFi transmission rate will be further reduced. Therefore, it is necessary to determine the WiFi frequency band at this time to confirm whether the WiFi communication will be interfered with by the USB.

[0058] In another embodiment of the present application, the second adjustment module includes a first adjustment submodule and a second adjustment submodule. The first adjustment submodule is configured to adjust the USB encoding mode of the smart device to the PAM4 encoding mode when the WiFi frequency band is within the first predetermined range; and the second adjustment submodule is configured to adjust the USB encoding mode of the smart device to the NRZ encoding mode when the WiFi frequency band is within the second predetermined range. The use of the WiFi frequency band can further reduce interference from USB to WiFi transmission.

[0059] Specifically, the USB protocol generally requires that the USB adopt SSC technology to expand the USB spectrum in the 2.5GHz frequency band to approach 2.4GHz. The above-mentioned first predetermined range may include 2.4GHz. When the WiFi frequency band is 2.4GHz, the USB encoding method of the above-mentioned smart device is adjusted to the above-mentioned PAM4 encoding method, and the USB baud rate is changed to avoid the WiFi interference frequency band of 2.4GHz, thereby ensuring normal WiFi communication. The above-mentioned second predetermined range may include 5GHz. When the WiFi frequency band is 5GHz, USB will not interfere with it, so the encoding method is adjusted to NRZ encoding.

[0060] In the absence of a WiFi connection, it is only necessary to consider the impact of the USB encoding method on LTE transmission. In order to determine the LTE communication rate of the smart device, the USB encoding method that does not affect its rate is adjusted according to the LTE communication rate. In another embodiment of the present application, the second adjustment unit includes a second determination module, a third adjustment module, a fourth adjustment module, a fourth determination module and a fifth adjustment module, wherein the second determination submodule is used to determine whether the LTE power is greater than the second threshold when there is LTE communication between the smart device and the base station and there is no WiFi connection between the smart device and other devices; the third adjustment module is used to determine whether the LTE power is greater than the second threshold when the LTE power is less than the second threshold; When the second threshold is reached, the USB encoding scheme of the smart device is adjusted to the NRZ encoding scheme. The third determination module is configured to determine whether the LTE frequency band is within the third predetermined range or the fourth predetermined range when the LTE power is greater than or equal to the second threshold. The fourth adjustment module is configured to adjust the USB encoding scheme of the smart device to the PAM4 encoding scheme when the LTE frequency band is within the third predetermined range. The fifth adjustment module is configured to adjust the USB encoding scheme of the smart device to one of the NRZ encoding scheme and the PAM16 encoding scheme when the LTE frequency band is within the fourth predetermined range. To further reduce the impact of USB transmission on LTE communication, the USB encoding scheme is adjusted based on the LTE frequency band.

[0061] Specifically, when the LTE power is less than the second threshold, it indicates that the smart device is relatively close to the base station. Adjusting the USB encoding method to NRZ will not increase USB communication latency. When the LTE power is greater than or equal to the second threshold, the impact of the LTE frequency band must also be considered. The third predetermined range may include 2.4 GHz. If the LTE operating frequency band is at 2.4 GHz, the USB encoding method of NRZ will interfere with it. Adjusting the USB encoding method to PAM4 and reducing the baud rate to 1.25 GHz can reduce interference. The fourth predetermined range may include 1 GHz. If the LTE operating frequency band is at 1 GHz, it is close to 1.25 GHz and susceptible to interference. Therefore, adjusting the USB encoding method to PAM16 and reducing the baud rate to 625 MHz, or adjusting the USB encoding method to NRZ, can reduce interference.

[0062] In another embodiment of the present application, the adjustment unit includes a fourth determination module, a sixth adjustment module, and a seventh adjustment module, wherein the fourth determination module is configured to determine whether the WiFi power is greater than the first threshold and whether the WiFi frequency band is within the first predetermined range or the second predetermined range when the smart device has a WiFi connection with another device and the smart device has LTE communication with a base station; the sixth adjustment module is configured to adjust the USB encoding method of the smart device based on at least one of the following when the WiFi power is less than the first threshold, or when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range: whether the LTE parameter is greater than the second threshold, whether the LTE frequency band is within the third predetermined range, or whether the LTE frequency band is within the fourth predetermined range; and the seventh adjustment module is configured to adjust the USB encoding method of the smart device based on at least one of the following when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the first predetermined range: whether the LTE parameter is greater than the second threshold, whether the LTE frequency band is within the third predetermined range, or whether the LTE frequency band is within the fourth predetermined range. When both WiFi connection and LTE communication exist, both WiFi parameters and LTE parameters need to be considered to minimize the impact of USB transmission on WiFi transmission and LTE transmission.

[0063] In order to further reduce the interference caused by USB transmission to WiFi transmission and LTE transmission, in another embodiment of the present application, the above-mentioned sixth adjustment module includes a third adjustment submodule, a first determination submodule, a fourth adjustment submodule and a fifth adjustment submodule, wherein the above-mentioned third adjustment submodule is used to adjust the USB encoding mode of the above-mentioned smart device to the above-mentioned NRZ encoding mode when the above-mentioned LTE power is less than the above-mentioned second threshold; the above-mentioned first determination submodule is used to determine whether the above-mentioned LTE frequency band is within the above-mentioned third predetermined range or the above-mentioned fourth predetermined range when the above-mentioned LTE power is greater than or equal to the above-mentioned second threshold; the above-mentioned fourth adjustment subunit is used to adjust the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM4 encoding mode when the above-mentioned LTE frequency band is within the above-mentioned third predetermined range; the above-mentioned fifth adjustment subunit is used to adjust the USB encoding mode of the above-mentioned smart device to one of the above-mentioned NRZ encoding mode and the above-mentioned PAM16 encoding mode when the above-mentioned LTE frequency band is within the above-mentioned fourth predetermined range.

[0064] In order to further reduce the interference caused by USB transmission to WiFi transmission and LTE transmission, in another embodiment of the present application, the above-mentioned seventh adjustment module includes a sixth adjustment submodule, a second determination submodule, a seventh adjustment submodule and an eighth adjustment submodule, wherein the above-mentioned sixth adjustment submodule is used to adjust the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM4 encoding mode when the above-mentioned LTE power is less than the above-mentioned second threshold; the above-mentioned second determination submodule is used to determine whether the above-mentioned LTE frequency band is within the above-mentioned third predetermined range or the above-mentioned fourth predetermined range when the above-mentioned LTE power is greater than or equal to the above-mentioned second threshold; the above-mentioned seventh adjustment submodule is used to adjust the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM4 encoding mode when the above-mentioned LTE frequency band is within the above-mentioned third predetermined range; and the above-mentioned eighth adjustment submodule is used to adjust the USB encoding mode of the above-mentioned smart device to the above-mentioned PAM16 encoding mode when the above-mentioned LTE frequency band is within the above-mentioned fourth predetermined range.

[0065] The USB encoding mode adjustment device includes a processor and a memory. The acquisition unit and the adjustment unit are stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.

[0066] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be set, and by adjusting the core parameters, the problem of USB data transmission interfering with WiFi and LTE communications in the prior art is solved.

[0067] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0068] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is executed, the device containing the computer-readable storage medium is controlled to execute the USB encoding adjustment method.

[0069] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for adjusting the USB encoding mode is executed when the program is run.

[0070] An embodiment of the present invention provides a device, comprising a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:

[0071] Step S101, obtaining at least one of a WiFi parameter and an LTE parameter of a smart device, wherein the smart device is a device that supports USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, wherein the WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band;

[0072] Step S102, adjusting the USB encoding method of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range.

[0073] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0074] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:

[0075] Step S101, obtaining at least one of a WiFi parameter and an LTE parameter of a smart device, wherein the smart device is a device that supports USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, wherein the WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band;

[0076] Step S102, adjusting the USB encoding method of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range.

[0077] According to another aspect of the present application, a USB encoding mode adjustment system is provided, comprising a controller and a smart device, wherein the controller is used to execute any one of the USB encoding mode adjustment methods; and the smart device is electrically connected to the controller.

[0078] The above-mentioned USB encoding mode adjustment system includes a controller and a smart device, and the above-mentioned controller is used to execute any of the above-mentioned USB encoding mode adjustment methods. The method can determine the usage requirements of the smart device's WiFi and the environmental conditions of the LTE network by determining the WiFi parameters and LTE parameters of the smart device. The USB encoding mode of the smart device is adjusted according to the usage requirements of the smart device's WiFi and the environmental conditions of the LTE network, so that the WiFi communication or LTE communication maintains a good communication state, thereby solving the problem in the prior art that the USB data transmission process interferes with the WiFi communication and LTE communication.

[0079] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0080] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0081] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0083] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0084] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0085] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0086] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0087] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0088] 1) In the method for adjusting the USB encoding mode of the present application, first, at least one of WiFi parameters and LTE parameters of a smart device is obtained. The smart device is a device that supports USB data transmission and has at least one of the following functions: WiFi function and LTE network function. The WiFi parameters include WiFi power and WiFi frequency band, and the LTE parameters include LTE power and LTE frequency band. Then, the USB encoding mode of the smart device is adjusted based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. By determining the WiFi parameters and LTE parameters of the smart device, the method can determine the WiFi usage requirements of the smart device and the environmental conditions of the LTE network. The USB encoding mode of the smart device is then adjusted based on the WiFi usage requirements and the environmental conditions of the LTE network, thereby maintaining a good communication state for WiFi or LTE communication. This solves the problem of interference between the USB data transmission process and WiFi and LTE communications in the prior art.

[0089] 2) In the USB encoding mode adjustment device of the present application, the acquisition unit acquires at least one of WiFi parameters and LTE parameters of a smart device, wherein the smart device supports USB data transmission and has at least one of the following functions: WiFi function and LTE network function. The WiFi parameters include WiFi power and WiFi frequency band, and the LTE parameters include LTE power and LTE frequency band. The adjustment unit adjusts the USB encoding mode of the smart device based on at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range. By determining the WiFi parameters and LTE parameters of the smart device, the device can determine the WiFi usage requirements of the smart device and the environmental conditions of the LTE network, thereby adjusting the USB encoding mode of the smart device based on the WiFi usage requirements and the environmental conditions of the LTE network, thereby maintaining a good communication state for WiFi communication or LTE communication, thereby resolving the problem in the prior art of USB data transmission interfering with WiFi communication and LTE communication.

[0090] 3) The USB encoding method adjustment system of the present application includes a controller and a smart device, and the controller is used to execute any of the above-mentioned USB encoding method adjustment methods. The method can determine the usage requirements of the smart device WiFi and the environmental conditions of the LTE network by determining the WiFi parameters and LTE parameters of the smart device, thereby adjusting the USB encoding method of the smart device according to the usage requirements of the smart device WiFi and the environmental conditions of the LTE network, so that the WiFi communication or LTE communication maintains a good communication state, thereby solving the problem in the prior art that the USB data transmission process interferes with the WiFi communication and LTE communication.

[0091] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A method for adjusting a USB encoding mode, characterized in that: include: Obtain at least one of a WiFi parameter and an LTE parameter of a smart device, where the smart device is a device that supports USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, where the WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band; Adjusting the USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range; The obtaining of the WiFi parameters includes: obtaining the WiFi power and the WiFi frequency band when the smart device is connected to another device via WiFi and there is no LTE communication between the smart device and a base station; Acquiring the LTE parameters includes: acquiring the LTE power and the LTE frequency band when there is LTE communication between the smart device and the base station and there is no WiFi connection between the smart device and the other device; Obtaining the WiFi parameters and the LTE parameters includes: when the smart device has a WiFi connection with the other device and the smart device has LTE communication with the base station, obtaining the WiFi power, the WiFi frequency band, the LTE power, and the LTE frequency band.

2. The method according to claim 1, characterized in that The encoding method includes at least one of the following: NRZ encoding method, PAM4 encoding method and PAM16 encoding method.

3. The method according to claim 2, characterized in that Adjusting the USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range, includes: When the smart device is connected to another device via WiFi, determining whether the WiFi power is greater than the first threshold; When the WiFi power is less than the first threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; When the WiFi power is greater than or equal to the first threshold, the USB encoding mode of the smart device is adjusted according to whether the WiFi frequency band is within the first predetermined range or the second predetermined range.

4. The method according to claim 3, characterized in that Adjusting the USB encoding mode of the smart device according to whether the WiFi frequency band is within the first predetermined range or the second predetermined range includes: When the WiFi frequency band is within the first predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; When the WiFi frequency band is within the second predetermined range, the USB encoding mode of the smart device is adjusted to the NRZ encoding mode.

5. The method according to claim 2, characterized in that Adjusting the USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range, includes: When there is LTE communication between the smart device and the base station and there is no WiFi connection between the smart device and other devices, determining whether the LTE power is greater than the second threshold; When the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; When the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within a third predetermined range or a fourth predetermined range; When the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; When the LTE frequency band is within the fourth predetermined range, the encoding mode of the USB of the smart device is adjusted to one of the NRZ encoding mode and the PAM16 encoding mode.

6. The method according to claim 2, characterized in that Adjusting the USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE parameter is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range, includes: When the smart device is connected to another device via WiFi and the smart device is in LTE communication with a base station, determining whether the WiFi power is greater than the first threshold and whether the WiFi frequency band is within the first predetermined range or the second predetermined range; When the WiFi power is less than the first threshold, or when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range, adjusting the USB encoding mode of the smart device according to at least one of the following: whether the LTE parameter is greater than the second threshold, and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range; When the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the first predetermined range, the USB encoding method of the smart device is adjusted based on at least one of the following: whether the LTE parameter is greater than the second threshold, and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range.

7. The method according to claim 6, characterized in that When the WiFi power is less than the first threshold, or when the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the second predetermined range, adjusting the USB encoding mode of the smart device according to at least one of the following: whether the LTE parameter is greater than the second threshold and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range, includes: When the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the NRZ encoding mode; When the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within a third predetermined range or a fourth predetermined range; When the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; When the LTE frequency band is within the fourth predetermined range, the encoding mode of the USB of the smart device is adjusted to one of the NRZ encoding mode and the PAM16 encoding mode.

8. The method according to claim 6, characterized in that When the WiFi power is greater than or equal to the first threshold and the WiFi frequency band is within the first predetermined range, adjusting the USB encoding mode of the smart device according to at least one of the following: whether the LTE parameter is greater than the second threshold and whether the LTE frequency band is within the third predetermined range or the fourth predetermined range, includes: When the LTE power is less than the second threshold, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; When the LTE power is greater than or equal to the second threshold, determining whether the LTE frequency band is within a third predetermined range or a fourth predetermined range; When the LTE frequency band is within the third predetermined range, adjusting the USB encoding mode of the smart device to the PAM4 encoding mode; When the LTE frequency band is within the fourth predetermined range, the USB encoding mode of the smart device is adjusted to the PAM16 encoding mode.

9. A device for adjusting a USB encoding method, characterized in that: include: an acquiring unit, configured to acquire at least one of a WiFi parameter and an LTE parameter of a smart device, wherein the smart device is a device supporting USB data transmission and has at least one of the following functions: a WiFi function and an LTE network function, wherein the WiFi parameter includes WiFi power and WiFi frequency band, and the LTE parameter includes LTE power and LTE frequency band; an adjusting unit, configured to adjust a USB encoding mode of the smart device according to at least one of the following: whether the WiFi power is greater than a first threshold, whether the LTE power is greater than a second threshold, whether the WiFi frequency band is within a first predetermined range or a second predetermined range, and whether the LTE frequency band is within a third predetermined range or a fourth predetermined range; The acquisition unit includes a first acquisition module, a second acquisition module and a third acquisition module. The first acquisition module is configured to acquire the WiFi power and the WiFi frequency band when there is a WiFi connection between the smart device and other devices and there is no LTE communication between the smart device and the base station; The second acquisition module is configured to acquire the LTE power and the LTE frequency band when there is LTE communication between the smart device and the base station and there is no WiFi connection between the smart device and the other device; The third acquisition module is used to obtain the WiFi power, the WiFi frequency band, the LTE power, and the LTE frequency band when the smart device has a WiFi connection with the other device and the smart device has an LTE communication with the base station.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the USB encoding mode adjustment method according to any one of claims 1 to 8.

11. A USB encoding adjustment system, characterized in that: include: A controller, configured to execute the USB encoding mode adjustment method according to any one of claims 1 to 8; The smart device is electrically connected to the controller.

Citation Information

Patent Citations

  • Portable video conference terminal adopting adaptive network coding method and implementation method

    CN102724474A