WO2018072426A1 - Data transmission method and apparatus, mobile telephone, and data card - Google Patents

Data transmission method and apparatus, mobile telephone, and data card Download PDF

Info

Publication number
WO2018072426A1
WO2018072426A1 PCT/CN2017/082763 CN2017082763W WO2018072426A1 WO 2018072426 A1 WO2018072426 A1 WO 2018072426A1 CN 2017082763 W CN2017082763 W CN 2017082763W WO 2018072426 A1 WO2018072426 A1 WO 2018072426A1
Authority
WO
WIPO (PCT)
Prior art keywords
data transmission
radio frequency
usb interface
usb
protocol
Prior art date
Application number
PCT/CN2017/082763
Other languages
French (fr)
Chinese (zh)
Inventor
邓庆田
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018072426A1 publication Critical patent/WO2018072426A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/336Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • This embodiment relates to the field of communications, and in particular, to a data transmission method and apparatus, a mobile phone, and a data card.
  • USB2.0 can not fully meet the requirements of terminal performance, and needs to use the USB3.0 interface, but USB3.0 has a natural defect, which is to interfere with the LTE frequency band.
  • USB2.0 There is no complete data mode switching scheme in the related art, or a single method using USB2.0 or USB3.0.
  • the data transmission mode adopted by the terminal is single, and only one transmission mode exists, so that If you only use USB2.0, you can't meet the higher performance requirements of the terminal rate; if you only use USB3.0, you can't avoid the interference of USB3.0 to the frequency band.
  • the embodiment provides a data transmission method and device, a mobile phone, and a data card to solve at least the problem that the transmission rate caused by using a single USB transmission mode in the related art is low or the frequency band interference is easily generated during data transmission.
  • a data transmission method including:
  • the first device is connected to the second device by using a universal serial bus USB interface; detecting current wireless radio frequency information of the first device; selecting a data transmission mode of the USB interface according to the wireless radio frequency information, and selecting, according to the selected data
  • the transmission mode performs data transmission, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • the data transmission manner includes: using USB2.0 for data transmission and use. USB3.0 for data transmission.
  • detecting the radio frequency information currently used by the first device includes at least one of: detecting a radio frequency transmission rate of the first device; detecting a signal state of the first device; detecting that the first device is The communication protocol used for RF transmission.
  • detecting a signal state of the first device includes: detecting a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR; according to the RSRP and/or The SINR gets the signal state.
  • the communication protocol comprises: a long term evolution LTE protocol, a bandwidth code division multiple access WCDMA protocol, a code division multiple access CDMA protocol, a time division multiple access TD-SCDMA protocol, and a global mobile communication system GSM protocol.
  • selecting a data transmission manner of the USB interface according to the radio frequency information includes: selecting a data transmission manner of the USB interface according to the radio frequency transmission rate and/or the signal state, where The data transmission method includes one of the following: USB3.0, USB2.0.
  • selecting a data transmission manner of the USB interface according to the radio frequency information includes: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD- The SCDMA protocol and the GSM protocol are selected as the data transmission mode of the USB interface.
  • the communication protocol is the LTE protocol
  • USB2.0 is selected as the data transmission mode of the USB interface
  • USB3.0 is selected as the data transmission mode of the USB interface.
  • selecting a data transmission manner of the USB interface according to the radio frequency information includes: starting a timer when the signal state is lower than a second preset threshold, When the time that is lower than the second preset threshold reaches the set value, USB2.0 is selected as the data transmission mode of the USB interface.
  • the first device includes one of the following: a mobile phone, a data card.
  • a data transmission apparatus for use in a first device, a package
  • the connection module is configured to be connected to the second device through the universal serial bus USB interface;
  • the detecting module is configured to detect the current wireless radio frequency information of the first device;
  • a selection module configured to select a data transmission manner of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission manner, where different frequency spectrums of the USB interface corresponding to the data transmission manner are The range is different.
  • the data transmission manner includes: using USB2.0 for data transmission and using USB3.0 for data transmission.
  • the detecting module further includes: a first detecting unit configured to detect a radio frequency transmission rate of the first device; a second detecting unit configured to detect a signal state of the first device; and a third detecting unit, setting To detect the communication protocol used by the first device during radio frequency transmission.
  • the second detecting unit is further configured to: detect a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR; according to the RSRP and/or Said SINR gives the signal state.
  • RSRP reference signal received power
  • SINR signal to interference plus noise ratio
  • the selecting module further includes: a first selecting unit, configured to select a data transmission manner of the USB interface according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface includes the following One: USB3.0, USB2.0.
  • the selecting module further includes: a second selecting unit, configured to: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD-SCDMA protocol, GSM protocol
  • the USB2.0 is selected as the data transmission mode of the USB interface
  • the third selection unit is configured to determine whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold when the communication protocol is the LTE protocol.
  • USB2.0 is selected as the data transmission mode of the USB interface
  • USB3.0 is selected as the data transmission mode of the USB interface.
  • the selecting module further includes: a fourth selecting unit, configured to start a timer when the signal state is lower than a second preset threshold, and continue to be lower than the first When the time of the preset threshold reaches the set value, USB2.0 is selected as the data transmission mode of the USB interface.
  • a mobile phone including: a detecting circuit configured to detect current radio frequency information of the mobile phone, wherein the mobile phone is connected to a second device through a universal serial bus USB interface; The data transmission mode of the USB interface is selected according to the wireless radio frequency information, and the data transmission is performed according to the selected data transmission mode, wherein the spectrum ranges of the USB interfaces corresponding to different data transmission modes are different.
  • a data card including: a detecting circuit configured to detect current radio frequency information of the data card, wherein the data card is connected to the second device through a universal serial bus USB interface; a selection circuit, configured to select a data transmission mode of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission mode, wherein a spectrum of the USB interface corresponding to the data transmission mode is different The range is different.
  • a data transmission system including: a first device, a second device, and a universal serial bus USB interface, the first device further includes: a connection module, configured to pass through the USB interface
  • the detecting device is configured to detect the current radio frequency information of the first device
  • the selecting module is configured to select a data transmission mode of the USB interface according to the radio frequency information, where the data is The transmission mode is set to characterize the spectral range of the USB interface.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the first device is connected to the second device through a universal serial bus USB interface;
  • the data transmission mode of the USB interface is selected according to the radio frequency information of the first device, the interference of the USB transmission to the radio frequency band can be avoided, and the high-rate transmission mode can also be adopted when the condition permits.
  • Data transmission can solve related The problem of low transmission rate caused by using a single USB transmission method in technology or frequency band interference during data transmission is easy. The data is transmitted at a high rate without causing interference in the air interface band, which improves the user experience.
  • FIG. 1 is a flow chart of a data transmission method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of a data transmission device according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a mobile phone according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a data card according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a data transmission system according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a spectrum of a USB 3.0 according to an embodiment of the present invention.
  • Figure 7 is a schematic diagram of a device module in accordance with the embodiment of the present invention.
  • FIG. 8 is a flowchart of a USB connection power-on process mode according to the embodiment of the present invention.
  • FIG. 9 is a flowchart of a signal state priority power-on process mode according to an embodiment of the present invention.
  • Figure 10 is an alternative schematic diagram of a device module in accordance with the present embodiment of the present invention.
  • FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 the first device is connected to the second device by using a Universal Serial Bus (USB) interface;
  • USB Universal Serial Bus
  • Step S104 detecting current radio frequency information of the first device
  • Step S106 Select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • the data transmission mode of the USB interface is selected according to the radio frequency information of the first device, the interference of the USB transmission to the radio frequency band can be avoided, and the high-rate transmission mode can also be used when the condition permits.
  • the data transmission can solve the problem that the transmission rate caused by using a single USB transmission mode in the related art is low or the frequency band interference is easily generated during data transmission.
  • the data is transmitted at a high rate without causing interference in the air interface band, which improves the user experience.
  • the execution body of the foregoing steps may be a mobile phone, a data card, or the like, but is not limited thereto.
  • the data transmission method includes: using USB2.0 for data transmission and using USB3.0 for data transmission.
  • USB interfaces include but are not limited to support: USB1.0, USB2.0, USB3.0, etc.
  • detecting the radio frequency information currently used by the first device includes at least one of the following:
  • the communication protocol may be, but is not limited to, 2G, 3G, 4G, 5G, etc., such as Long-Term Evolution (LTE) protocol, and Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, Referred to as WCDMA protocol, Code Division Multiple Access (CDMA) protocol, time division synchronous code division multiple access (Time Division-Synchronous Code Division Multiple Access (referred to as TD-SCDMA) protocol, Global System for Mobile Communication (GSM) protocol.
  • LTE Long-Term Evolution
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • TD-SCDMA time division synchronous code division multiple access
  • GSM Global System for Mobile Communication
  • detecting a signal state of the first device includes:
  • the data transmission mode of the USB interface is selected according to the radio frequency information, and the data transmission mode of the USB interface is selected according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface is included.
  • USB3.0, USB2.0 specifically, when the RF transmission rate is greater than a specific value, and/or when the signal state is greater than a specific value, USB3.0 is selected as the data transmission mode of the USB interface;
  • USB2.0 is selected as the data transmission mode of the USB interface.
  • the selection may be performed manually or automatically.
  • the data transmission mode of the USB interface is selected according to the radio frequency information, including: When the signal state is lower than the fourth preset threshold, the timer is started, and when the time is lower than the fourth preset threshold, the USB2.0 is selected as the data transmission mode of the USB interface.
  • selecting a data transmission manner of the USB interface according to the radio frequency information includes: when the communication protocol is one of the following: WCDMA protocol, CDMA protocol, TD -SCDMA protocol, GSM protocol, select USB2.0 as the data transmission mode of the USB interface; when the communication protocol is LTE protocol, determine whether the current radio frequency transmission rate of the LTE protocol is less than the first preset threshold, when the judgment result is yes, Select USB2.0 as the data transmission mode of the USB interface. When the judgment result is no, select USB3.0 as the data transmission mode of the USB interface.
  • the method includes: starting a timer when the signal state is lower than a second preset threshold, and selecting USB2.0 as the USB interface when a time that is lower than the second preset threshold reaches a set value Data transmission method.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a data transmission device a physical device, and a system are provided to implement the foregoing embodiments and preferred embodiments, which are not described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention, which is applied to a first device, as shown in FIG. 2, the device includes:
  • connection module 20 is configured to be connected to the second device through a universal serial bus USB interface
  • the detecting module 22 is configured to detect current radio frequency information of the first device
  • the selection module 24 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • the data transmission mode includes: using USB2.0 for data transmission and using USB3.0 for data transmission
  • the USB interface includes but not limited to support: USB1.0, USB2.0, USB3.0, and the like.
  • the detecting module further includes: a first detecting unit configured to detect a radio frequency transmission rate of the first device; a second detecting unit configured to detect a signal state of the first device; and a third detecting unit configured to detect the first The communication protocol used by the device during RF transmission.
  • the second detecting unit is further configured to: detect a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR; and obtain a signal state according to the RSRP and/or the SINR.
  • RSRP reference signal received power
  • SINR signal to interference plus noise ratio
  • the selecting module further includes: a first selecting unit, configured to select a data transmission manner of the USB interface according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface includes the following One: USB3.0, USB2.0.
  • the selecting module further includes: a second selecting unit, configured to: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD-SCDMA protocol, GSM protocol
  • the USB2.0 is selected as the data transmission mode of the USB interface
  • the third selection unit is configured to determine whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold when the communication protocol is the LTE protocol.
  • USB2.0 is selected as the data transmission mode of the USB interface
  • USB3.0 is selected as the data transmission mode of the USB interface.
  • the selecting module further includes: a fourth selecting unit, configured to start the timer when the signal state is lower than the second preset threshold, and continue to be lower than the first When the time of the preset threshold reaches the set value, USB2.0 is selected as the data transmission mode of the USB interface.
  • FIG. 3 is a structural block diagram of a mobile phone according to an embodiment of the present invention. As shown in FIG. 3, the mobile phone includes:
  • the detecting circuit 30 is configured to detect current radio frequency information of the mobile phone, where the mobile phone is connected to the second device through a universal serial bus USB interface;
  • the selection circuit 32 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • the data card includes:
  • the detecting circuit 40 is configured to detect current radio frequency information of the data card, wherein the data card is connected to the second device through a universal serial bus USB interface;
  • the selection circuit 42 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • FIG. 5 is a structural block diagram of a data transmission system according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a first device 50, a second device 52, and a universal serial bus USB interface 54,
  • the first device 50 further includes:
  • connection module 502 is configured to be connected to the second device through the USB interface
  • the detecting module 504 is configured to detect current radio frequency information of the first device
  • the selection module 506 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • the embodiment provides an access method, system and device for changing a data transmission mode by detecting a signal state, which can solve the problem that the data cannot be normally transmitted and the rate is low under the medium weak signal in the process of USB3.0 wireless access.
  • the problem is to better meet the data transmission performance requirements of USB3.0 wireless terminal equipment.
  • the wireless terminal device supports USB2.0 and USB3.0 data transmission modes, and can realize the terminal device as a slave device in USB2.0 and USB3.0 under the condition that the USB3.0 cable and the host USB3.0 are unchanged. Switching between
  • the wireless terminal device supports signal strength detection and frequency interference detection, and according to the detection, according to the theoretical value of the wireless transmission rate, measures the current frequency interference, and sets the current device data transmission mode;
  • the wireless terminal can select a corresponding data transmission mode according to the wireless radio frequency band, and when the frequency band scan selects the 3G or 2G mode as the networking mode, select USB2.0 as the data transmission mode;
  • the wireless terminal can select a corresponding data transmission mode according to the radio frequency band.
  • the band scan is selected in the LTE mode, and the current theoretical value of the LTE mode is not more than 300 M, the USB 2.0 is selected as the data transmission mode.
  • the wireless terminal can select a corresponding data transmission mode according to the radio frequency band.
  • the band scan is selected in the LTE mode, and the highest theoretical value in the currently selected LTE mode does not exceed 300 M, the USB 2.0 is selected as the data transmission mode;
  • the wireless terminal can select a corresponding data transmission mode according to the radio frequency band.
  • the band scanning is selected in the LTE mode, the current theoretical value of the LTE band mode is more than 300M.
  • the default is to select USB 3.0 as the data.
  • the wireless terminal can select a corresponding data transmission mode according to the radio frequency band.
  • the band scanning is selected in the LTE mode, the current theoretical value of the LTE mode is more than 300 M.
  • the USB 2.0 is selected as the data transmission by default. mode;
  • the device when the initial LTE is in a strong signal, the highest theoretical value of the LTE mode exceeds 300M and the USB 3.0 mode is selected, when the signal strength is weak, and the medium-weak signal is reached, the rate transmission performance is degraded, and the internal identification module provides The identification mechanism notifies the user of this status, allowing the user to select whether to switch to the USB 2.0 data transmission mode; if the user does not make a selection to switch to the USB 2.0 mode, when the signal continues to weaken, the data transmission is interrupted, and a certain time is reached, the device automatically Switch to USB 2.0 mode;
  • the device switches to the 3G or other LTE frequency bands during use.
  • the theoretical value rate is lower than 300M
  • the device continues to save in the USB 3.0 transmission mode; if the signal strength is weak and the medium weak signal is reached, the rate transmission performance is degraded, and the internal identification module provides an identification mechanism to notify the user of this status, and let the user select whether to switch.
  • the wireless terminal device switches to the USB2.0M mode; if the user does not make a selection to switch to the USB 2.0 mode, when the signal continues to weaken and the data transmission is interrupted, the device reaches a certain time, and the device automatically Switch to USB 2.0 mode;
  • Embodiments of the present invention provide an access method, system, and apparatus for changing a data transmission manner by detecting a signal state, where the same device performs between modes while USB 2.0 and USB 3.0 are not replacing the USB data line. Dynamic switching ensures maximum wireless terminal data transmission performance and avoids spectrum interference of USB3.0. Under the strong signal and high-speed LTE products, the performance of USB3.0 is fully utilized.
  • USB is an abbreviation of English Universal Serial Bus, and its Chinese abbreviation is "through string", which is an external bus standard for standardizing the connection and communication between a computer and an external device. It is an interface technology applied in the PC field.
  • the USB interface supports plug-and-play and hot-swap capabilities of the device.
  • USB was jointly proposed by Intel, Compaq, IBM, Microsoft and other companies at the end of 1994.
  • USB has experienced three major versions of USB1.1USB2.0USB3.0 upgrade, and the transfer rate has been greatly improved, from 12MBPS to 480MBPS. Up to now, the newer specification USB3.0 has reached 5Gbps.
  • USB supports hot swap and can safely connect or disconnect USB devices for true plug and play.
  • Wireless networking devices using USB interfaces are widely used, for example, wireless USB wifi network cards, data cards, and currently widely used smartphones.
  • USB 2.0 uses four pins, power and ground, and the remaining two wires are responsible for transmitting signals, which are transmitted as differential signals. Compared with the transmission method in which one signal is grounded, the differential signal transmits signals on two wires at the same time, and the signals have the same amplitude and opposite phases.
  • the first is that the anti-interference ability is good, because the external electromagnetic interference acts on the two wires at the same time (common mode noise), and the values after the subtraction are unchanged; The opposite phase of the signal, the electromagnetic fields generated by the two wires cancel each other out, and the external electromagnetic interference is small; in addition, because the two wires are alternately used as the judgment basis instead of the voltage judgment, it is less susceptible to the temperature change of the part. The impact; finally, the voltage change amplitude of the differential signal can be made smaller, reducing the power consumption of the device.
  • USB 2.0 transmission speed is 480Mbps, so the differential signal must be 240MHz, USB 3.0 is based on USB 2.0 and then add 5 lines, 4 lines respectively form 2 pairs of differential signal transmission, providing full duplex transmission Capability, the remaining one is used as a shield for the entire wire and grounding.
  • the frequency of the differential signal has also increased, from 240MHz to 2.5GHz, to reach 5Gbps bandwidth.
  • the RSRP Reference Signal Receiving Power
  • Received Signal Strength Indication The received signal strength indication, an optional part of the wireless transmission layer, used to determine the link quality and whether to increase the broadcast transmission strength. Simply understand even the signal strength.
  • SINR Signal to Interference plus Noise Ratio
  • Noise and Interference are two.
  • the general Noise is a wide band of noise, mainly determined and generated by the thermal performance of the receiver.
  • Interference refers to interference, such as signals from other systems, whose spectrum is much narrower than Noise.
  • SINR Signal/(Interference+Noise);
  • S measured power of the useful signal, the main signals and channels of interest include: RS, PDSCH;
  • I The power of the measured signal or channel interference signal, including the interference of other cells in the system, and the interference of different systems:
  • N Low noise, related to the specific measurement bandwidth and receiver noise figure.
  • FIG. 6 is a USB3 according to an embodiment of the present invention.
  • the spectrum diagram of 0, from Figure 6, shows that the bandwidth of the data frequency interference is very wide, from DC to 5G.
  • This kind of noise radiation has a wide range of effects, such as USB3.0 interface, USB3.0HOST device, USB 3.0DEVICE device, and USB 3.0 cable will be affected.
  • USB3.0 devices can affect the signal-to-noise ratio of wireless devices and reduce the sensitivity of wireless antenna reception.
  • USB3.0 The speed of USB3.0 can reach 5Gbit/s.
  • the spectrum of USB3.0 is wide, and frequency interference will occur at the clock signal frequency. Rate spectrum interference is available from DC to 5GHz.
  • the model of its data spectrogram is similar to a sine function (sinc)
  • the RF signal generated by USB3.0 will affect the signal-to-noise ratio of nearby communication terminals, which is the SINR value.
  • FIG. 7 is a schematic diagram of a device module according to the embodiment of the present invention, including:
  • Module one S101 a data signal state acquisition module of the wireless communication terminal
  • Module 2 S102 (not shown in FIG. 7): a USB channel transmission conversion module of the wireless communication terminal;
  • Module 3 S103 a transmission mode main control module of the wireless communication terminal
  • the wireless communication terminal in this embodiment may be a wireless data product or device, and the example device may be part of other wireless terminal devices. It can be a wireless data card, a mobile phone, or other wireless networking device that uses USB to transmit data, or is part of a wireless networking device.
  • the module S101 provides a state for acquiring a wireless communication network, for example, acquiring a network state of the current network, a frequency band selected by the air interface, and status information of the current wireless air interface RSRP and SINR;
  • the function of the S102 module is to first support the dynamic switching of the data transmission mode of USB2.0 and USB3.0, and the second to complete the data transmission of the wireless data to the PC or to the other USB HOST receiving end;
  • the function of the S103 module acquires the networking state information of the wireless network according to S101, and realizes dynamic control of S102. This module is also the core part of the device.
  • the device itself supports the dynamic switching between the USB2.0 and USB3.0 connection states, and the USB HOST device connected thereto supports USB2.0 and USB3.0.
  • the device and other USB HOST device cables use a physical cable that supports USB3.0;
  • the S101 module has been acquiring the wireless state information of the device since the device is powered on, and the S103 main control module is powered on earlier than the S102 module.
  • the wireless networking terminal device used by the subordinates can support 2G/3G/4G, and the 4G can support 100M, 150M, 300M, And a variety of modes above 300M, this device is referred to herein as a wireless device.
  • USB connection power supply power-on process mode switching example
  • the only power supply interface of the wireless device is a USB 3.0 cable
  • FIG. 8 is a flowchart of a USB connection power-on process mode according to the embodiment of the present invention, including:
  • the wireless device defaults to one of the three modes of 2G/3G/4G (the theoretical downlink rate is less than 300M 4G).
  • the main control module detects one of the above networking states and sets the USB data transmission module to USB2. 0 mode;
  • the wireless device is set to the network mode in which the downlink theoretical data value of the frequency band is greater than 300M by default.
  • the S101 detection module detects the above state, and detects that the current state is above the C midpoint, and the main control module sets the USB data according to the networking state information acquired by S101.
  • the transmission mode is USB3.0 mode;
  • the wireless device is set to a bandwidth mode with a theoretical transmission data value greater than 300M by default.
  • the S101 detection module detects the above state, and detects that the current state is at a midpoint or a midpoint.
  • the main control module sets the USB according to the network state information acquired by S101.
  • the data transmission mode is USB3.0 mode;
  • the above power-on process is a control flow of a power-on process that provides power supply through a USB interface.
  • FIG. 9 is a flowchart of a signal state priority power-on process mode according to an embodiment of the present invention.
  • the wireless device starts up and runs before the USB 3.0 cable is connected, and the operation mode selects a judgment condition, and the signal state takes precedence:
  • the main control module acquires the detection state of the current detection module, and selects and controls the data transmission mode of the USB according to the detected state. The judgment is based on the signal system but the signal state. Make good or bad choices;
  • the acquired signal state is above C, and the control module sets the data transmission mode to USB3.0 mode;
  • the main control module sets the data transmission mode to the USB2.0 mode
  • the networking state of the wireless device will also change.
  • the data transmission mode will also be set according to the selection of the main control module.
  • Such changes in the state of the network are also normal. For example, changes in the networked users of the base station, movement of the location of the wireless device, selection of different standards by the wireless device user according to their own needs, etc., may cause changes in the signal state of the wireless device.
  • the change of the current state is in the case where the USB connection mode has been determined, and the selection of the signal state for the USB connection mode depends not only on the main control module but also on the participation of the wireless device user.
  • USB mode connection After the USB mode connection is established, a data connection has been established between the wireless device and the USB HOST host. If the unlimited device switches between USB 2.0 and USB 3.0, the normally connected data is directly disconnected. If the USB HOST user is making important data connections, it will cause serious problems such as data loss. For example, if the signal is degraded and the rate is degraded, it does not affect the normal use of the user. For the user, the rate is not a high priority, as long as the connection state is maintained. In this case, USB3.0 and USB2.0 cannot be used. Switching between actions.
  • USB2.0 and USB3.0 requires the choice of the main control module and the user to make a suitable choice.
  • FIG. 10 is a schematic diagram of an optional device module according to the embodiment of the present invention.
  • an additional communication module and user communication notification and setting module which is referred to as a user communication setting module, is added.
  • the function of this module is to realize the communication between the main control module and the user.
  • the communication method of this module can be in various forms, but it is not limited to the following types. The purpose is to realize the main control module and use. User communication.
  • the wireless device can have a touch and display screen, and the main control module can establish communication with the touch and display screens.
  • the main control module can be displayed on the screen, allowing the user to do Select and then notify the master module;
  • Method 2 In the USB HOST host, develop client software to establish communication with the main control module of the wireless device. When it is necessary to make USB2.0 and USB3.0 switching control, the user client software notifies the main control module to make select.
  • the current wireless device is in one of 2G/3G/3G/4G (the theoretical downlink rate is less than 300M 4G), and is in the USB2.0 connection mode.
  • the user communication setting module Firstly, the main control module is notified to switch the wireless frequency band mode to a frequency band mode higher than the theoretical value greater than 300M, and the main control module checks that the current signal state is in the A or B state, and switches the USB mode to the USB3.0 mode; the main control module checks Until the current signal state is in the C state or the following state, it remains in the current USB 2.0 state;
  • the wireless device is currently in the USB3.0 connection mode, and the main control module detects that the current signal state is in the C or C state.
  • the main control module notifies the user of the communication setting module, and informs the current module status, if a better downlink is needed.
  • the rate can be switched to the USB2.0 mode. If the user makes a selection switch, the main control module notifies the USB module to switch to the USB2.0 mode; if the user does not make a selection, the current USB 3.0 connection state is maintained;
  • the main control module If the signal state further deteriorates until the network data connection cannot be realized, the main control module starts the timer, and the time when the continuous data cannot be connected reaches the set value, and at the same time, the mode switching instruction of the user is not received, the main control module will The USB mode is switched to the USB 2.0 state. If a switch command is received during the timing, it will switch directly to USB2.0 mode and cancel the timer.
  • the setting value of the above timer is set by the wireless device according to the application requirement, and the value can also be set by the user communication setting module, and the user can cancel the setting value at any time;
  • Scenario 3 The wireless device is currently in the strong signal of LTE, and when the highest theoretical value of the selected LTE mode exceeds 300M, the data transmission mode is selected in the USB 3.0 mode.
  • the user sets the module through the user communication, and the wireless frequency band is switched to the 3G or other LTE frequency bands (the theoretical value rate value is lower than 300M). If the signal strength is strong, the device continues to save in the USB 3.0 transmission mode; if the signal is degraded, the rate is transmitted. If the performance is degraded, it will enter the processing flow of scenario 2.
  • a wireless terminal device an LTE data card device supports 3G, and two CA modes of LTE BAND3BAND7 and BAND3+BAND7, BAND3BAND7 can reach 300M in the respective 20M bandwidth, and also supports BAND3+BAND7+BAND8 three CA. mode.
  • BAND3+BAND7+BAND8 in the case of strong signals, the maximum speed of USB2.0 can only reach 340M, while in the case of USB3.0, the downlink can reach more than 440M (the theoretical limit of 450M of LTE 3CA)
  • 440M the theoretical limit of 450M of LTE 3CA
  • BAND3+BAND7 two CAs have a SINR value of 30 in the case of strong signal-72dBm, and the downlink rate of USB3.0 and USB2.0 mode tests are around 298Mbit/s, and there is basically no difference in the downlink rate.
  • the signal strength is reduced to -90dBm through the attenuator.
  • the SINR value reaches 24
  • the downlink rate is only 114Mbit/s
  • the USB2.0 is connected
  • the SINR value reaches 26
  • the downlink rate is 290Mbit/s.
  • the above LTE data card is powered by USB, and the data card can obtain information such as the wireless network connection state, for example, obtaining frequency band selection, signal strength, noise ratio, etc., and supporting hardware and software USB2.0 and USB3.0 USB modes. , and switching between the two modes.
  • the data card is inserted into the PC, data transmission with the PC is realized in the form of a USB network card.
  • Install the client software on the PC to control the device, such as setting up VPN, dial-up networking, etc.
  • the USB data transmission mode is controlled, the current connection mode can be obtained, and Set the USB data transfer mode.
  • the networking mode is preferentially set to LTE, followed by 3G.
  • the LTE data card is taken as an example to illustrate several of the working processes:
  • the data card is inserted into the USB port of the PC supporting USB3.0.
  • the data card After inserting, the data card is powered on and the internal system is booted.
  • the startup timing of several modules used in the device of the present invention is as follows: a signal acquisition module, a main control module, and a USB module;
  • the main control module After the main control module starts, it will always receive the parameter information transmitted by the signal acquisition module.
  • the main control module realizes the selection of the startup mode of the USB module according to the parameter information; the specific implementation refers to the USB connection power supply process mode switching instance;
  • USB module mode is determined, the USB physical layer is powered on according to the selected mode, and the enumeration process is started, and the USB network card device is reported;
  • the UI on the PC is started, the dial-up networking action is completed, and the mode state of the USB can be obtained at the same time;
  • the user can implement the selection control of the USB mode through the client software of the UI software, and the mode state selection embodiment in the process of changing the state of the reference signal state
  • This embodiment solves the interference of USB3.0 to the LTE frequency band, and fully utilizes the performance of USB3.0.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the first device is connected to the second device by using a universal serial bus USB interface.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes, according to the stored program code in the storage medium, the first device is connected to the second device by using a universal serial bus USB interface;
  • the processor performs, according to the stored program code in the storage medium, detecting the current radio frequency information of the first device;
  • the processor performs, according to the stored program code in the storage medium, performing a data transmission manner of selecting the USB interface according to the wireless radio frequency information, and performing data transmission according to the selected data transmission manner,
  • the spectrum range of the USB interface corresponding to different data transmission modes is different.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the data transmission method and device, the mobile phone, and the data card provided by the embodiment have the following beneficial effects: since the data transmission mode of the USB interface is selected according to the radio frequency information of the first device, it can be avoided.
  • USB transmission interferes with the radio frequency band, and can also transmit data at a high rate transmission mode when conditions permit. It can solve the problem that the transmission rate caused by using a single USB transmission mode in the related art is low or the frequency band interference is easily generated during data transmission. The problem.
  • the data is transmitted at a high rate without causing interference in the air interface band, which improves the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided in the embodiment of the present invention are a data transmission method and apparatus, a mobile telephone, and a data card, the method comprising: a first device being connected to a second device by means of a universal serial bus USB interface; detecting current wireless radio frequency information of the first device; selecting a data transmission mode of the USB interface on the basis of the wireless radio frequency information, and implementing data transmission on the basis of the selected data transmission mode, the frequency spectrum ranges of the USB interface corresponding to different data transmission modes being different. The present invention solves the problem in the prior art of the low transmission rate or the ease of frequency band interference being produced during data transmission when using a single USB transmission mode.

Description

数据传输方法及装置、手机、数据卡Data transmission method and device, mobile phone, data card 技术领域Technical field
本实施例涉及通信领域,具体而言,涉及一种数据传输方法及装置、手机、数据卡。This embodiment relates to the field of communications, and in particular, to a data transmission method and apparatus, a mobile phone, and a data card.
背景技术Background technique
相关技术中,数据的输出主要通过USB方式,通过USB接口来传输。USB2.0已经不能够完全满足终端性能的要求,需要使用USB3.0的接口,但是USB3.0有个天然缺陷,就是对LTE的频带产生干扰。In the related art, the output of data is mainly transmitted through a USB interface through a USB interface. USB2.0 can not fully meet the requirements of terminal performance, and needs to use the USB3.0 interface, but USB3.0 has a natural defect, which is to interfere with the LTE frequency band.
相关技术中还没有完整的数据模式切换方案,还是单一的使用USB2.0或者USB3.0一种方式,相关技术中终端所采用的数据传输模式单一,只存在一种传输模式,这样就导致,如果只是用USB2.0,无法满足终端速率上更高性能的要求;如果只是用USB3.0,无法避免USB3.0对频带的干扰。There is no complete data mode switching scheme in the related art, or a single method using USB2.0 or USB3.0. In the related art, the data transmission mode adopted by the terminal is single, and only one transmission mode exists, so that If you only use USB2.0, you can't meet the higher performance requirements of the terminal rate; if you only use USB3.0, you can't avoid the interference of USB3.0 to the frequency band.
针对相关技术中存在的上述问题,目前尚未发现有效的解决方案。In view of the above problems in the related art, no effective solution has been found yet.
发明内容Summary of the invention
本实施例提供了一种数据传输方法及装置、手机、数据卡,以至少解决相关技术中使用单一USB传输方式时引起的传输速率低或者数据传输时容易产生频段干扰的问题。The embodiment provides a data transmission method and device, a mobile phone, and a data card to solve at least the problem that the transmission rate caused by using a single USB transmission mode in the related art is low or the frequency band interference is easily generated during data transmission.
根据一个实施例,提供了一种数据传输方法,包括:According to an embodiment, a data transmission method is provided, including:
第一设备通过通用串行总线USB接口与第二设备连接;检测所述第一设备当前的无线射频信息;根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。The first device is connected to the second device by using a universal serial bus USB interface; detecting current wireless radio frequency information of the first device; selecting a data transmission mode of the USB interface according to the wireless radio frequency information, and selecting, according to the selected data The transmission mode performs data transmission, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
可选地,,所述数据传输方式包括:使用USB2.0进行数据传输和使用 USB3.0进行数据传输。Optionally, the data transmission manner includes: using USB2.0 for data transmission and use. USB3.0 for data transmission.
可选地,检测所述第一设备当前使用的无线射频信息包括以下至少之一:检测所述第一设备的射频传输速率;检测所述第一设备的信号状态;检测所述第一设备在射频传输时所使用的通信协议。Optionally, detecting the radio frequency information currently used by the first device includes at least one of: detecting a radio frequency transmission rate of the first device; detecting a signal state of the first device; detecting that the first device is The communication protocol used for RF transmission.
可选地,检测所述第一设备的信号状态包括:检测所述第一设备的无线空口的参考信号接收功率RSRP,和/或,信号与干扰加噪声比SINR;根据所述RSRP和/或所述SINR得到所述信号状态。Optionally, detecting a signal state of the first device includes: detecting a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR; according to the RSRP and/or The SINR gets the signal state.
可选地,所述通信协议包括:长期演进LTE协议、带宽码分多址WCDMA协议、码分多址CDMA协议、时分多址TD-SCDMA协议、全球移动通信系统GSM协议。Optionally, the communication protocol comprises: a long term evolution LTE protocol, a bandwidth code division multiple access WCDMA protocol, a code division multiple access CDMA protocol, a time division multiple access TD-SCDMA protocol, and a global mobile communication system GSM protocol.
可选地,根据所述无线射频信息选择所述USB接口的数据传输方式包括:根据所述射频传输速率和/或所述信号状态选择所述USB接口的数据传输方式,其中,述USB接口的数据传输方式包括以下之一:USB3.0、USB2.0。Optionally, selecting a data transmission manner of the USB interface according to the radio frequency information includes: selecting a data transmission manner of the USB interface according to the radio frequency transmission rate and/or the signal state, where The data transmission method includes one of the following: USB3.0, USB2.0.
可选地,在所述无线射频信息为通信协议时,根据所述无线射频信息选择所述USB接口的数据传输方式包括:在所述通信协议为以下之一时:WCDMA协议、CDMA协议、TD-SCDMA协议、GSM协议,选择USB2.0作为所述USB接口的数据传输方式;在所述通信协议为LTE协议时,判断所述LTE协议的当前射频传输速率是否小于第一预设阈值,在判断结果为是时,选择USB2.0作为所述USB接口的数据传输方式,在判断结果为否时,选择USB3.0作为所述USB接口的数据传输方式。Optionally, when the radio frequency information is a communication protocol, selecting a data transmission manner of the USB interface according to the radio frequency information includes: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD- The SCDMA protocol and the GSM protocol are selected as the data transmission mode of the USB interface. When the communication protocol is the LTE protocol, it is determined whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold. When the result is YES, USB2.0 is selected as the data transmission mode of the USB interface, and when the determination result is no, USB3.0 is selected as the data transmission mode of the USB interface.
可选地,在所述无线射频信息为信号状态时,根据所述无线射频信息选择所述USB接口的数据传输方式包括:在所述信号状态低于第二预设阈值时,启动定时器,在持续低于所述第二预设阈值的时间达到设定值时,选择USB2.0作为所述USB接口的数据传输方式。Optionally, when the radio frequency information is in a signal state, selecting a data transmission manner of the USB interface according to the radio frequency information includes: starting a timer when the signal state is lower than a second preset threshold, When the time that is lower than the second preset threshold reaches the set value, USB2.0 is selected as the data transmission mode of the USB interface.
可选地,所述第一设备包括以下之一:手机、数据卡。Optionally, the first device includes one of the following: a mobile phone, a data card.
根据另一个实施例,提供了一种数据传输装置,应用在第一设备,包 括:连接模块,设置为通过通用串行总线USB接口与第二设备连接;检测模块,设置为检测所述第一设备当前的无线射频信息;According to another embodiment, a data transmission apparatus is provided for use in a first device, a package The connection module is configured to be connected to the second device through the universal serial bus USB interface; the detecting module is configured to detect the current wireless radio frequency information of the first device;
选择模块,设置为根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。a selection module, configured to select a data transmission manner of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission manner, where different frequency spectrums of the USB interface corresponding to the data transmission manner are The range is different.
可选地,所述数据传输方式包括:使用USB2.0进行数据传输和使用USB3.0进行数据传输。Optionally, the data transmission manner includes: using USB2.0 for data transmission and using USB3.0 for data transmission.
可选地,检测模块还包括:第一检测单元,设置为检测所述第一设备的射频传输速率;第二检测单元,设置为检测所述第一设备的信号状态;第三检测单元,设置为检测所述第一设备在射频传输时所使用的通信协议。Optionally, the detecting module further includes: a first detecting unit configured to detect a radio frequency transmission rate of the first device; a second detecting unit configured to detect a signal state of the first device; and a third detecting unit, setting To detect the communication protocol used by the first device during radio frequency transmission.
可选地,所述第二检测单元还设置为:检测所述第一设备的无线空口的参考信号接收功率RSRP,和/或,信号与干扰加噪声比SINR;根据所述RSRP和/或所述SINR得到所述信号状态。Optionally, the second detecting unit is further configured to: detect a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR; according to the RSRP and/or Said SINR gives the signal state.
可选地,选择模块还包括:第一选择单元,设置为根据所述射频传输速率和/或所述信号状态选择所述USB接口的数据传输方式,其中,述USB接口的数据传输方式包括以下之一:USB3.0、USB2.0。Optionally, the selecting module further includes: a first selecting unit, configured to select a data transmission manner of the USB interface according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface includes the following One: USB3.0, USB2.0.
可选地,在所述无线射频信息为通信协议时,选择模块还包括:第二选择单元,设置为在所述通信协议为以下之一时:WCDMA协议、CDMA协议、TD-SCDMA协议、GSM协议,选择USB2.0作为所述USB接口的数据传输方式;第三选择单元,设置为在所述通信协议为LTE协议时,判断所述LTE协议的当前射频传输速率是否小于第一预设阈值,在判断结果为是时,选择USB2.0作为所述USB接口的数据传输方式,在判断结果为否时,选择USB3.0作为所述USB接口的数据传输方式。Optionally, when the radio frequency information is a communication protocol, the selecting module further includes: a second selecting unit, configured to: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD-SCDMA protocol, GSM protocol The USB2.0 is selected as the data transmission mode of the USB interface, and the third selection unit is configured to determine whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold when the communication protocol is the LTE protocol. When the determination result is yes, USB2.0 is selected as the data transmission mode of the USB interface, and when the determination result is no, USB3.0 is selected as the data transmission mode of the USB interface.
可选地,在所述无线射频信息为信号状态时,选择模块还包括:第四选择单元,设置为在所述信号状态低于第二预设阈值时,启动定时器,在持续低于第二预设阈值的时间达到设定值时,选择USB2.0作为所述USB接口的数据传输方式。 Optionally, when the radio frequency information is in a signal state, the selecting module further includes: a fourth selecting unit, configured to start a timer when the signal state is lower than a second preset threshold, and continue to be lower than the first When the time of the preset threshold reaches the set value, USB2.0 is selected as the data transmission mode of the USB interface.
根据又一个实施例,提供了一种手机,包括:检测电路,设置为检测所述手机当前的无线射频信息,其中,所述手机通过通用串行总线USB接口与第二设备连接;选择电路,设置为根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。According to still another embodiment, a mobile phone is provided, including: a detecting circuit configured to detect current radio frequency information of the mobile phone, wherein the mobile phone is connected to a second device through a universal serial bus USB interface; The data transmission mode of the USB interface is selected according to the wireless radio frequency information, and the data transmission is performed according to the selected data transmission mode, wherein the spectrum ranges of the USB interfaces corresponding to different data transmission modes are different.
根据又一个实施例,提供了一种数据卡,包括:检测电路,设置为检测所述数据卡当前的无线射频信息,其中,所述数据卡通过通用串行总线USB接口与第二设备连接;选择电路,设置为根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。According to still another embodiment, a data card is provided, including: a detecting circuit configured to detect current radio frequency information of the data card, wherein the data card is connected to the second device through a universal serial bus USB interface; a selection circuit, configured to select a data transmission mode of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission mode, wherein a spectrum of the USB interface corresponding to the data transmission mode is different The range is different.
根据又一个实施例,提供了一种数据传输系统,包括:第一设备、第二设备、通用串行总线USB接口,所述第一设备还包括:连接模块,设置为通过所述USB接口与所述第二设备连接;检测模块,设置为检测所述第一设备当前的无线射频信息;选择模块,设置为根据所述无线射频信息选择所述USB接口的数据传输方式,其中,所述数据传输方式设置为表征所述USB接口的频谱范围。According to still another embodiment, a data transmission system is provided, including: a first device, a second device, and a universal serial bus USB interface, the first device further includes: a connection module, configured to pass through the USB interface The detecting device is configured to detect the current radio frequency information of the first device, and the selecting module is configured to select a data transmission mode of the USB interface according to the radio frequency information, where the data is The transmission mode is set to characterize the spectral range of the USB interface.
根据又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to yet another embodiment, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
第一设备通过通用串行总线USB接口与第二设备连接;The first device is connected to the second device through a universal serial bus USB interface;
检测所述第一设备当前的无线射频信息;Detecting current radio frequency information of the first device;
根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。Determining, according to the radio frequency information, a data transmission manner of the USB interface, and performing data transmission according to the selected data transmission manner, where different frequency ranges of the USB interface corresponding to the data transmission manner are different.
通过本发明,由于USB接口的数据传输方式是依据第一设备的无线射频信息来选择的,因此可以避免USB传输对无线射频频带的干扰,同时也能在条件允许时采用高速率的传输方式进行数据传输,可以解决相关 技术中使用单一USB传输方式时引起的传输速率低或者数据传输时容易产生频段干扰的问题。在高速率传输数据的同时又不会产生空口频段的干扰,提升了用户体验。Through the invention, since the data transmission mode of the USB interface is selected according to the radio frequency information of the first device, the interference of the USB transmission to the radio frequency band can be avoided, and the high-rate transmission mode can also be adopted when the condition permits. Data transmission can solve related The problem of low transmission rate caused by using a single USB transmission method in technology or frequency band interference during data transmission is easy. The data is transmitted at a high rate without causing interference in the air interface band, which improves the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的数据传输方法的流程图;1 is a flow chart of a data transmission method according to an embodiment of the present invention;
图2是根据本发明实施例的数据传输装置的结构框图;2 is a block diagram showing the structure of a data transmission device according to an embodiment of the present invention;
图3是根据本发明实施例的手机的结构框图;3 is a structural block diagram of a mobile phone according to an embodiment of the present invention;
图4是根据本发明实施例的数据卡的结构框图;4 is a structural block diagram of a data card according to an embodiment of the present invention;
图5是根据本发明实施例的数据传输系统的结构框图;FIG. 5 is a structural block diagram of a data transmission system according to an embodiment of the present invention; FIG.
图6是根据与本发明实施例相关的USB3.0的频谱示意图;6 is a schematic diagram of a spectrum of a USB 3.0 according to an embodiment of the present invention;
图7是根据本发明本实施例的装置模块示意图;Figure 7 is a schematic diagram of a device module in accordance with the embodiment of the present invention;
图8是根据本发明本实施例的USB连接供电上电过程模式的流程图;FIG. 8 is a flowchart of a USB connection power-on process mode according to the embodiment of the present invention; FIG.
图9是根据本发明实施例的信号状态优先上电过程模式的流程图;9 is a flowchart of a signal state priority power-on process mode according to an embodiment of the present invention;
图10是根据本发明本实施例的装置模块可选示意图。Figure 10 is an alternative schematic diagram of a device module in accordance with the present embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1 Example 1
在本实施例中提供了一种数据传输方法,图1是根据本发明实施例的数据传输方法的流程图,如图1所示,该流程包括如下步骤:A data transmission method is provided in this embodiment. FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,第一设备通过通用串行总线(Universal Serial Bus,简称为USB)接口与第二设备连接;Step S102, the first device is connected to the second device by using a Universal Serial Bus (USB) interface;
步骤S104,检测第一设备当前的无线射频信息;Step S104, detecting current radio frequency information of the first device;
步骤S106,根据无线射频信息选择USB接口的数据传输方式并根据选择的数据传输方式进行数据传输,其中,不同数据传输方式所对应的USB接口的频谱范围不同。Step S106: Select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
通过上述步骤,由于USB接口的数据传输方式是依据第一设备的无线射频信息来选择的,因此可以避免USB传输对无线射频频带的干扰,同时也能在条件允许时采用高速率的传输方式进行数据传输,可以解决相关技术中使用单一USB传输方式时引起的传输速率低或者数据传输时容易产生频段干扰的问题。在高速率传输数据的同时又不会产生空口频段的干扰,提升了用户体验。Through the above steps, since the data transmission mode of the USB interface is selected according to the radio frequency information of the first device, the interference of the USB transmission to the radio frequency band can be avoided, and the high-rate transmission mode can also be used when the condition permits. The data transmission can solve the problem that the transmission rate caused by using a single USB transmission mode in the related art is low or the frequency band interference is easily generated during data transmission. The data is transmitted at a high rate without causing interference in the air interface band, which improves the user experience.
可选地,上述步骤的执行主体可以为手机,数据卡,等,但不限于此。Optionally, the execution body of the foregoing steps may be a mobile phone, a data card, or the like, but is not limited thereto.
可选的,数据传输方式包括:使用USB2.0进行数据传输和使用USB3.0进行数据传输。USB接口包括但不限于支持:USB1.0,USB2.0,,USB3.0等。Optionally, the data transmission method includes: using USB2.0 for data transmission and using USB3.0 for data transmission. USB interfaces include but are not limited to support: USB1.0, USB2.0, USB3.0, etc.
可选的,检测第一设备当前使用的无线射频信息包括以下至少之一:Optionally, detecting the radio frequency information currently used by the first device includes at least one of the following:
检测第一设备的射频传输速率;Detecting a radio frequency transmission rate of the first device;
检测第一设备的信号状态;Detecting a signal state of the first device;
检测第一设备在射频传输时所使用的通信协议。可选的,通信协议可以但不限于为2G,3G,4G,5G等,如:长期演进(Long-Term Evolution,简称为LTE)协议、宽带码分多址接入(Wideband Code Division Multiple Access,简称为WCDMA)协议、码分多址(Code Division Multiple Access,简称为CDMA)协议、时分同步码分多址接入(Time Division-Synchronous  Code Division Multiple Access,简称为TD-SCDMA)协议、全球移动通信(Global system for Mobile Communication,简称为GSM)协议。Detecting the communication protocol used by the first device during radio frequency transmission. Optionally, the communication protocol may be, but is not limited to, 2G, 3G, 4G, 5G, etc., such as Long-Term Evolution (LTE) protocol, and Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, Referred to as WCDMA protocol, Code Division Multiple Access (CDMA) protocol, time division synchronous code division multiple access (Time Division-Synchronous Code Division Multiple Access (referred to as TD-SCDMA) protocol, Global System for Mobile Communication (GSM) protocol.
在根据本发明实施例的可选实施方式中,检测第一设备的信号状态包括:In an optional implementation manner of the embodiment of the present invention, detecting a signal state of the first device includes:
S11,检测第一设备的无线空口的参考信号接收功率RSRP,和/或,信号与干扰加噪声比SINR;S11, detecting a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR;
S12,根据RSRP和/或SINR得到信号状态。S12, obtaining a signal state according to RSRP and/or SINR.
可选的,根据无线射频信息选择USB接口的数据传输方式包括:根据所述射频传输速率和/或所述信号状态选择所述USB接口的数据传输方式,其中,述USB接口的数据传输方式包括以下之一:USB3.0、USB2.0,具体的,在射频传输速率大于特定值,和/或,信号状态大于特定值时,选择USB3.0作为USB接口的数据传输方式;在射频传输速率小于或等于特定值时,和/或,信号状态小于或等于特定值时,选择USB2.0作为USB接口的数据传输方式。Optionally, the data transmission mode of the USB interface is selected according to the radio frequency information, and the data transmission mode of the USB interface is selected according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface is included. One of the following: USB3.0, USB2.0, specifically, when the RF transmission rate is greater than a specific value, and/or when the signal state is greater than a specific value, USB3.0 is selected as the data transmission mode of the USB interface; When less than or equal to a specific value, and/or when the signal state is less than or equal to a specific value, USB2.0 is selected as the data transmission mode of the USB interface.
可选的,可以通过手动和自动的方式来进行选择,在通过设备自动实现选择的可选实施方案中,在无线射频信息为信号状态时,根据无线射频信息选择USB接口的数据传输方式包括:在信号状态低于第四预设阈值时,启动定时器,在持续低于第四预设阈值的时间达到设定值时,选择USB2.0作为USB接口的数据传输方式。Optionally, the selection may be performed manually or automatically. In an optional implementation that is automatically implemented by the device, when the radio frequency information is in a signal state, the data transmission mode of the USB interface is selected according to the radio frequency information, including: When the signal state is lower than the fourth preset threshold, the timer is started, and when the time is lower than the fourth preset threshold, the USB2.0 is selected as the data transmission mode of the USB interface.
在根据本发明实施例的可选实施方式中,在无线射频信息为通信协议时,根据无线射频信息选择USB接口的数据传输方式包括:在通信协议为以下之一时:WCDMA协议、CDMA协议、TD-SCDMA协议、GSM协议,选择USB2.0作为USB接口的数据传输方式;在通信协议为LTE协议时,判断LTE协议的当前射频传输速率是否小于第一预设阈值,在判断结果为是时,选择USB2.0作为USB接口的数据传输方式,在判断结果为否时,选择USB3.0作为USB接口的数据传输方式。在所述无线射频信息为信号状态时,根据所述无线射频信息选择所述USB接口的数据传输 方式包括:在所述信号状态低于第二预设阈值时,启动定时器,在持续低于所述第二预设阈值的时间达到设定值时,选择USB2.0作为所述USB接口的数据传输方式。In an optional implementation manner of the embodiment of the present invention, when the radio frequency information is a communication protocol, selecting a data transmission manner of the USB interface according to the radio frequency information includes: when the communication protocol is one of the following: WCDMA protocol, CDMA protocol, TD -SCDMA protocol, GSM protocol, select USB2.0 as the data transmission mode of the USB interface; when the communication protocol is LTE protocol, determine whether the current radio frequency transmission rate of the LTE protocol is less than the first preset threshold, when the judgment result is yes, Select USB2.0 as the data transmission mode of the USB interface. When the judgment result is no, select USB3.0 as the data transmission mode of the USB interface. Selecting, according to the wireless radio frequency information, data transmission of the USB interface when the radio frequency information is a signal state The method includes: starting a timer when the signal state is lower than a second preset threshold, and selecting USB2.0 as the USB interface when a time that is lower than the second preset threshold reaches a set value Data transmission method.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种数据传输装置、实体设备、系统,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a data transmission device, a physical device, and a system are provided to implement the foregoing embodiments and preferred embodiments, which are not described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的数据传输装置的结构框图,应用在第一设备,如图2所示,该装置包括:2 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention, which is applied to a first device, as shown in FIG. 2, the device includes:
连接模块20,设置为通过通用串行总线USB接口与第二设备连接;The connection module 20 is configured to be connected to the second device through a universal serial bus USB interface;
检测模块22,设置为检测第一设备当前的无线射频信息;The detecting module 22 is configured to detect current radio frequency information of the first device;
选择模块24,设置为根据无线射频信息选择USB接口的数据传输方式并根据选择的数据传输方式进行数据传输,其中,不同数据传输方式所对应的USB接口的频谱范围不同。The selection module 24 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
可选的,数据传输方式包括:使用USB2.0进行数据传输和使用USB3.0进行数据传输,USB接口包括但不限于支持:USB1.0,USB2.0,,USB3.0等。 Optionally, the data transmission mode includes: using USB2.0 for data transmission and using USB3.0 for data transmission, and the USB interface includes but not limited to support: USB1.0, USB2.0, USB3.0, and the like.
可选的,检测模块还包括:第一检测单元,设置为检测第一设备的射频传输速率;第二检测单元,设置为检测第一设备的信号状态;第三检测单元,设置为检测第一设备在射频传输时所使用的通信协议。Optionally, the detecting module further includes: a first detecting unit configured to detect a radio frequency transmission rate of the first device; a second detecting unit configured to detect a signal state of the first device; and a third detecting unit configured to detect the first The communication protocol used by the device during RF transmission.
可选的,第二检测单元还设置为:检测第一设备的无线空口的参考信号接收功率RSRP,和/或,信号与干扰加噪声比SINR;根据RSRP和/或SINR得到信号状态。Optionally, the second detecting unit is further configured to: detect a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR; and obtain a signal state according to the RSRP and/or the SINR.
可选的,选择模块还包括:第一选择单元,设置为根据所述射频传输速率和/或所述信号状态选择所述USB接口的数据传输方式,其中,述USB接口的数据传输方式包括以下之一:USB3.0、USB2.0。Optionally, the selecting module further includes: a first selecting unit, configured to select a data transmission manner of the USB interface according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface includes the following One: USB3.0, USB2.0.
可选的,在所述无线射频信息为通信协议时,选择模块还包括:第二选择单元,设置为在所述通信协议为以下之一时:WCDMA协议、CDMA协议、TD-SCDMA协议、GSM协议,选择USB2.0作为所述USB接口的数据传输方式;第三选择单元,设置为在所述通信协议为LTE协议时,判断所述LTE协议的当前射频传输速率是否小于第一预设阈值,在判断结果为是时,选择USB2.0作为所述USB接口的数据传输方式,在判断结果为否时,选择USB3.0作为所述USB接口的数据传输方式。Optionally, when the radio frequency information is a communication protocol, the selecting module further includes: a second selecting unit, configured to: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD-SCDMA protocol, GSM protocol The USB2.0 is selected as the data transmission mode of the USB interface, and the third selection unit is configured to determine whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold when the communication protocol is the LTE protocol. When the determination result is yes, USB2.0 is selected as the data transmission mode of the USB interface, and when the determination result is no, USB3.0 is selected as the data transmission mode of the USB interface.
可选的,在所述无线射频信息为信号状态时,选择模块还包括:第四选择单元,设置为在所述信号状态低于第二预设阈值时,启动定时器,在持续低于第二预设阈值的时间达到设定值时,选择USB2.0作为所述USB接口的数据传输方式。Optionally, when the radio frequency information is in a signal state, the selecting module further includes: a fourth selecting unit, configured to start the timer when the signal state is lower than the second preset threshold, and continue to be lower than the first When the time of the preset threshold reaches the set value, USB2.0 is selected as the data transmission mode of the USB interface.
图3是根据本发明实施例的手机的结构框图,如图3所示,该手机包括:FIG. 3 is a structural block diagram of a mobile phone according to an embodiment of the present invention. As shown in FIG. 3, the mobile phone includes:
检测电路30,设置为检测所述手机当前的无线射频信息,其中,所述手机通过通用串行总线USB接口与第二设备连接;The detecting circuit 30 is configured to detect current radio frequency information of the mobile phone, where the mobile phone is connected to the second device through a universal serial bus USB interface;
选择电路32,设置为根据无线射频信息选择USB接口的数据传输方式并根据选择的数据传输方式进行数据传输,其中,不同数据传输方式所对应的USB接口的频谱范围不同。 The selection circuit 32 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
图4是根据本发明实施例的数据卡的结构框图,如图4所示,该数据卡包括:4 is a structural block diagram of a data card according to an embodiment of the present invention. As shown in FIG. 4, the data card includes:
检测电路40,设置为检测所述数据卡当前的无线射频信息,其中,所述数据卡通过通用串行总线USB接口与第二设备连接;The detecting circuit 40 is configured to detect current radio frequency information of the data card, wherein the data card is connected to the second device through a universal serial bus USB interface;
选择电路42,设置为根据无线射频信息选择USB接口的数据传输方式并根据选择的数据传输方式进行数据传输,其中,不同数据传输方式所对应的USB接口的频谱范围不同。The selection circuit 42 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
图5是根据本发明实施例的数据传输系统的结构框图,如图5所示,包括:第一设备50、第二设备52、通用串行总线USB接口54,FIG. 5 is a structural block diagram of a data transmission system according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a first device 50, a second device 52, and a universal serial bus USB interface 54,
第一设备50还包括:The first device 50 further includes:
连接模块502,设置为通过USB接口与第二设备连接;The connection module 502 is configured to be connected to the second device through the USB interface;
检测模块504,设置为检测第一设备当前的无线射频信息;The detecting module 504 is configured to detect current radio frequency information of the first device;
选择模块506,设置为根据无线射频信息选择USB接口的数据传输方式并根据选择的数据传输方式进行数据传输,其中,不同数据传输方式所对应的USB接口的频谱范围不同。The selection module 506 is configured to select a data transmission mode of the USB interface according to the radio frequency information and perform data transmission according to the selected data transmission mode, wherein the spectrum range of the USB interface corresponding to different data transmission modes is different.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
本实施例提供了一种通过检测信号状态改变数据传输方式的接入方法、系统及装置,可以解决USB3.0无线接入的过程中,在中弱信号下实现数据无法正常传输和速率低下的问题,更好地满足USB3.0无线终端设备数据传输性能需求。包括:The embodiment provides an access method, system and device for changing a data transmission mode by detecting a signal state, which can solve the problem that the data cannot be normally transmitted and the rate is low under the medium weak signal in the process of USB3.0 wireless access. The problem is to better meet the data transmission performance requirements of USB3.0 wireless terminal equipment. include:
无线终端设备支持USB2.0和USB3.0两种数据传输方式,并且能够在USB3.0连接线和主机USB3.0不变情况下,实现终端设备作为从设备在USB2.0和USB3.0之间的切换; The wireless terminal device supports USB2.0 and USB3.0 data transmission modes, and can realize the terminal device as a slave device in USB2.0 and USB3.0 under the condition that the USB3.0 cable and the host USB3.0 are unchanged. Switching between
无线终端设备支持信号强度检测和频扰检测,并且根据这种检测结合根据无线传输速率理论值,测算当前频扰,对当前设备数据传输模式进行设置;The wireless terminal device supports signal strength detection and frequency interference detection, and according to the detection, according to the theoretical value of the wireless transmission rate, measures the current frequency interference, and sets the current device data transmission mode;
无线终端能够根据无线射频频段选择对应的数据传输模式,当频段扫描选择在3G或者2G模式作为联网方式时,选择USB2.0作为数据的传输模式;The wireless terminal can select a corresponding data transmission mode according to the wireless radio frequency band, and when the frequency band scan selects the 3G or 2G mode as the networking mode, select USB2.0 as the data transmission mode;
无线终端能够根据无线射频频段选择对应的数据传输模式,当频段扫描选择在LTE模式,当前选择LTE模式最高理论值不超过300M时,选择USB2.0作为数据的传输模式;The wireless terminal can select a corresponding data transmission mode according to the radio frequency band. When the band scan is selected in the LTE mode, and the current theoretical value of the LTE mode is not more than 300 M, the USB 2.0 is selected as the data transmission mode.
无线终端能够根据无线射频频段选择对应的数据传输模式,当频段扫描选择在LTE模式,当前选择的LTE模式下最高理论值不超过300M时,选择USB2.0作为数据的传输模式;The wireless terminal can select a corresponding data transmission mode according to the radio frequency band. When the band scan is selected in the LTE mode, and the highest theoretical value in the currently selected LTE mode does not exceed 300 M, the USB 2.0 is selected as the data transmission mode;
无线终端能够根据无线射频频段选择对应的数据传输模式,当频段扫描选择在LTE模式,当前选择LTE频段模式最高理论值超过300M时,此时信号强度在强信号时,默认选择USB 3.0作为数据的传输模式;The wireless terminal can select a corresponding data transmission mode according to the radio frequency band. When the band scanning is selected in the LTE mode, the current theoretical value of the LTE band mode is more than 300M. When the signal strength is strong, the default is to select USB 3.0 as the data. Transmission mode
无线终端能够根据无线射频频段选择对应的数据传输模式,当频段扫描选择在LTE模式,当前选择LTE模式最高理论值超过300M时,此时信号强度在中弱信号时,默认选择USB 2.0作为数据传输模式;The wireless terminal can select a corresponding data transmission mode according to the radio frequency band. When the band scanning is selected in the LTE mode, the current theoretical value of the LTE mode is more than 300 M. When the signal strength is in the middle weak signal, the USB 2.0 is selected as the data transmission by default. mode;
设备上电使用过程中,初始LTE在强信号,LTE模式最高理论值超过300M时且选择在USB 3.0模式时,当信号强度变弱,达到中弱信号时,速率传输性能下降,内部识别模块提供识别机制,将此状态通知用户,让用户选择是否切换到USB 2.0数据传输模式;如果用户没有做出选择切换到USB 2.0模式,当信号继续变弱,数据传输中断时,达到一定时间,设备自动切换到USB 2.0模式;During the power-on operation of the device, when the initial LTE is in a strong signal, the highest theoretical value of the LTE mode exceeds 300M and the USB 3.0 mode is selected, when the signal strength is weak, and the medium-weak signal is reached, the rate transmission performance is degraded, and the internal identification module provides The identification mechanism notifies the user of this status, allowing the user to select whether to switch to the USB 2.0 data transmission mode; if the user does not make a selection to switch to the USB 2.0 mode, when the signal continues to weaken, the data transmission is interrupted, and a certain time is reached, the device automatically Switch to USB 2.0 mode;
设备上电使用过程中,初始LTE在强信号,选择的LTE模式最高理论值超过300M时,且数据传输模式选择在USB 3.0模式时,设备在使用过程中,频段切换到3G或者LTE其他频段(理论值速率值低于300M时), 如果信号强度强,设备继续保存在USB 3.0的传输模式;如果信号强度变弱,达到中弱信号时,速率传输性能下降,内部识别模块提供识别机制,将此状态通知用户,让用户选择是否切换到USB 2.0数据传输模式,如果选择切换,无线终端设备切换到USB2.0M模式;如果用户没有做出选择切换到USB 2.0模式,当信号继续变弱,数据传输中断时,达到一定时间,设备自动切换到USB 2.0模式;During the power-on operation of the device, when the initial LTE is in a strong signal, the highest theoretical value of the selected LTE mode exceeds 300M, and the data transmission mode is selected in the USB 3.0 mode, the device switches to the 3G or other LTE frequency bands during use. When the theoretical value rate is lower than 300M), If the signal strength is strong, the device continues to save in the USB 3.0 transmission mode; if the signal strength is weak and the medium weak signal is reached, the rate transmission performance is degraded, and the internal identification module provides an identification mechanism to notify the user of this status, and let the user select whether to switch. To the USB 2.0 data transmission mode, if the switch is selected, the wireless terminal device switches to the USB2.0M mode; if the user does not make a selection to switch to the USB 2.0 mode, when the signal continues to weaken and the data transmission is interrupted, the device reaches a certain time, and the device automatically Switch to USB 2.0 mode;
本发明实施例提供一种通过检测信号状态改变数据传输方式的接入方法、系统及装置,在同一设备在USB2.0和USB3.0在不替换USB数据线的情况下,在模式之间进行动态切换,最大限度充分保证无线终端数据的传输性能,避免USB3.0的频谱干扰,在强信号和高速LTE产品下,充分利用USB3.0的性能。Embodiments of the present invention provide an access method, system, and apparatus for changing a data transmission manner by detecting a signal state, where the same device performs between modes while USB 2.0 and USB 3.0 are not replacing the USB data line. Dynamic switching ensures maximum wireless terminal data transmission performance and avoids spectrum interference of USB3.0. Under the strong signal and high-speed LTE products, the performance of USB3.0 is fully utilized.
本申请中,USB是英文Universal Serial Bus(通用串行总线)的缩写,而其中文简称为“通串线”,是一个外部总线标准,用于规范电脑与外部设备的连接和通讯。是应用在PC领域的接口技术。USB接口支持设备的即插即用和热插拔功能。USB是在1994年底由英特尔、康柏、IBM、Microsoft等多家公司联合提出的。USB经历USB1.1USB2.0USB3.0三个大的版本升级,传输速率也伴随着极大的提升,由12MBPS到480MBPS,到目前比较新的规范USB3.0已经达到5Gbps。In the present application, USB is an abbreviation of English Universal Serial Bus, and its Chinese abbreviation is "through string", which is an external bus standard for standardizing the connection and communication between a computer and an external device. It is an interface technology applied in the PC field. The USB interface supports plug-and-play and hot-swap capabilities of the device. USB was jointly proposed by Intel, Compaq, IBM, Microsoft and other companies at the end of 1994. USB has experienced three major versions of USB1.1USB2.0USB3.0 upgrade, and the transfer rate has been greatly improved, from 12MBPS to 480MBPS. Up to now, the newer specification USB3.0 has reached 5Gbps.
USB一个显著优点就是支持热插拔,可以安全地连接或断开USB设备,达到真正的即插即用。使用USB接口的无线联网设备广泛应用,例如,无线USB wifi网卡,数据卡,以及目前广泛使用的智能手机等等。A significant advantage of USB is that it supports hot swap and can safely connect or disconnect USB devices for true plug and play. Wireless networking devices using USB interfaces are widely used, for example, wireless USB wifi network cards, data cards, and currently widely used smartphones.
USB 2.0使用4根引脚,电源和接地两个信号,剩下的2条线材负责传输讯号,采用称做差动讯号的方式传输。与1根讯号1根接地的传输方式比较,差动讯号同时在2根导线上传递讯号,讯号振幅相同、相位相反。USB 2.0 uses four pins, power and ground, and the remaining two wires are responsible for transmitting signals, which are transmitted as differential signals. Compared with the transmission method in which one signal is grounded, the differential signal transmits signals on two wires at the same time, and the signals have the same amplitude and opposite phases.
这么做有4大好处,首先就是抗干扰能力佳,因为外来的电磁干扰同时作用在2条导线上(共模噪声),两者相减之后的值不变;其次因传递 相位相反的讯号,2条导线产生的电磁场相互抵消,对外电磁干扰小;再者则是因为以2条导线正负号交替作为判断依据,而非采用电压判断,因此比较不容易受到零件温度变化影响;最后就是差动讯号的电压改变幅度可以做到比较小,降低装置耗电量。There are four major advantages to doing this. The first is that the anti-interference ability is good, because the external electromagnetic interference acts on the two wires at the same time (common mode noise), and the values after the subtraction are unchanged; The opposite phase of the signal, the electromagnetic fields generated by the two wires cancel each other out, and the external electromagnetic interference is small; in addition, because the two wires are alternately used as the judgment basis instead of the voltage judgment, it is less susceptible to the temperature change of the part. The impact; finally, the voltage change amplitude of the differential signal can be made smaller, reducing the power consumption of the device.
USB 2.0传输速度为480Mbps,所以差动讯号必须为240MHz,USB 3.0则是以USB 2.0为基础再往上新增5条线,4条线分别组成2对差动讯号传,提供全双工传输能力,剩下的1条作为整条导线的遮蔽以及接地。差动讯号运作频率上也有所增加,从240MHz大幅提升至2.5GHz,才能达到5Gbps的带宽。USB 2.0 transmission speed is 480Mbps, so the differential signal must be 240MHz, USB 3.0 is based on USB 2.0 and then add 5 lines, 4 lines respectively form 2 pairs of differential signal transmission, providing full duplex transmission Capability, the remaining one is used as a shield for the entire wire and grounding. The frequency of the differential signal has also increased, from 240MHz to 2.5GHz, to reach 5Gbps bandwidth.
在本实施例中,RSRP(Reference Signal Receiving Power,参考信号接收功率),在LTE网络中可以代表无线信号强度的关键参数以及物理层测量需求之一。Received Signal Strength Indication接收的信号强度指示,无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度。简单理解即使信号强度。SINR:(Signal to Interference plus Noise Ratio,信号与干扰加噪声比)是指接收到的有用信(噪声和干扰)的强度的比值,可以简单的理解为“信噪比”,Noise和Interference是两个不同的概念,一般Noise是指频带很宽的噪声,主要由接收机的热性能决定和产生。而Interference,顾名思义,指的是干扰,例如来自其他系统的信号,其频谱也比Noise窄很多。In this embodiment, the RSRP (Reference Signal Receiving Power) can represent one of the key parameters of the wireless signal strength and the physical layer measurement requirement in the LTE network. Received Signal Strength Indication The received signal strength indication, an optional part of the wireless transmission layer, used to determine the link quality and whether to increase the broadcast transmission strength. Simply understand even the signal strength. SINR: (Signal to Interference plus Noise Ratio) is the ratio of the strength of the received useful signal (noise and interference), which can be simply understood as “signal to noise ratio”. Noise and Interference are two. A different concept, the general Noise is a wide band of noise, mainly determined and generated by the thermal performance of the receiver. Interference, as the name implies, refers to interference, such as signals from other systems, whose spectrum is much narrower than Noise.
通常表达方式如下:Usually expressed as follows:
SINR=Signal/(Interference+Noise);SINR=Signal/(Interference+Noise);
S:测量到的有用信号的功率,主要关注的信号和信道包括:RS、PDSCH;S: measured power of the useful signal, the main signals and channels of interest include: RS, PDSCH;
I:测量到的信号或信道干扰信号的功率,包括本系统其他小区的干扰,以及异系统的干扰:I: The power of the measured signal or channel interference signal, including the interference of other cells in the system, and the interference of different systems:
N:低噪,与具体测量带宽和接收机噪声系数有关。 N: Low noise, related to the specific measurement bandwidth and receiver noise figure.
USB3.0如果要达到5Gbit/s速率,USB3.0频谱广泛,在时钟信号频率会产生频扰,这种频扰可以被建模显示出来,图6是根据与本发明实施例相关的USB3.0的频谱示意图,从图6可以看出数据频扰的带宽非常广,从直流到5G都有影响。这种噪声辐射影响非常广,USB3.0接口,USB3.0HOST设备,USB 3.0DEVICE设备,已经USB 3.0的连接线都会受到影响。当一个无线设备操作的带宽在这个范围之内时,他们射频信号就会受到干扰。USB3.0的设备能够影响无线设备的信噪比,降低无线天线的接收的灵敏度。最终,影响这种无线设备的吞吐率。USB3.0的速率可以达到5Gbit/s的速率,USB3.0的频谱广泛,在时钟信号频率会产生频扰。速率频谱干扰从直流到5GHz都会有。它的数据频谱图的模型类似于一个正弦函数(sinc)If USB 3.0 is to reach a 5 Gbit/s rate, the USB 3.0 spectrum is extensive, and frequency interference occurs at the clock signal frequency. This frequency interference can be modeled and displayed. FIG. 6 is a USB3 according to an embodiment of the present invention. The spectrum diagram of 0, from Figure 6, shows that the bandwidth of the data frequency interference is very wide, from DC to 5G. This kind of noise radiation has a wide range of effects, such as USB3.0 interface, USB3.0HOST device, USB 3.0DEVICE device, and USB 3.0 cable will be affected. When a wireless device operates within this range, its RF signal is subject to interference. USB3.0 devices can affect the signal-to-noise ratio of wireless devices and reduce the sensitivity of wireless antenna reception. Ultimately, it affects the throughput of such wireless devices. The speed of USB3.0 can reach 5Gbit/s. The spectrum of USB3.0 is wide, and frequency interference will occur at the clock signal frequency. Rate spectrum interference is available from DC to 5GHz. The model of its data spectrogram is similar to a sine function (sinc)
简单讲就是,USB3.0产生的射频信号会影响附近通信终端的信噪比,就是SINR值的大小。RSRP越小,SINR就越大,就会影响通信终端的速率,甚至停止通信。Simply put, the RF signal generated by USB3.0 will affect the signal-to-noise ratio of nearby communication terminals, which is the SINR value. The smaller the RSRP, the larger the SINR, which affects the rate of the communication terminal and even stops communication.
随着技术的发展,运营商无线网络的建设和布局,无线联网业务的越来越广泛,终端的使用日益普及。对速率的要求也是越来越高,不可避免要使用USB3.0接口的无线设备。虽然现在已经有些屏蔽方法,例如,使用USB接口的连接线更长,添加更多的屏蔽罩等方法,这样做是有一定作用的。但是,当无线设备的信号比较弱时,USB3.0的频扰直接影响设备,特别是无线上网设备,数据通信直接就会断开。With the development of technology, the construction and layout of operators' wireless networks, wireless networking services are becoming more and more widespread, and the use of terminals is becoming increasingly popular. The rate requirement is also getting higher and higher, and it is inevitable to use a wireless device with a USB 3.0 interface. Although there are some shielding methods, for example, the use of a USB interface cable is longer, adding more shields and other methods, this is useful. However, when the signal of the wireless device is relatively weak, the frequency interference of the USB3.0 directly affects the device, especially the wireless Internet access device, and the data communication is directly disconnected.
本实施例提供了一种无线通信终端改变数据传输方式的一种方法,本实施例介绍此装置的模块组成,图7是根据本发明本实施例的装置模块示意图,包括:The present embodiment provides a method for changing a data transmission mode of a wireless communication terminal. This embodiment describes a module component of the device. FIG. 7 is a schematic diagram of a device module according to the embodiment of the present invention, including:
模块一S101:无线通信终端的数据信号状态获取模块;Module one S101: a data signal state acquisition module of the wireless communication terminal;
模块二S102(图7中未示出):无线通信终端的USB通道传输转换模块;Module 2 S102 (not shown in FIG. 7): a USB channel transmission conversion module of the wireless communication terminal;
模块三S103:无线通信终端的传输模式主控模块; Module 3 S103: a transmission mode main control module of the wireless communication terminal;
本实施例中的无线通信终端可以是无线数据产品或者装置,本实例装置可以是其他无线终端设备的一部分。可以是无线数据卡,也可以是手机,也可以是其他利用USB传输数据的无线联网设备,或者是无线联网装置的一部分。The wireless communication terminal in this embodiment may be a wireless data product or device, and the example device may be part of other wireless terminal devices. It can be a wireless data card, a mobile phone, or other wireless networking device that uses USB to transmit data, or is part of a wireless networking device.
本实施例提供的是数据通路模式切换的基本模块。因此模块S101,提供获取无线通信网络的状态,例如:获取当前网络的联网状态,空口选择的频段,以及当前的无线空口RSRP和SINR的状态值等信息;This embodiment provides a basic module for data path mode switching. Therefore, the module S101 provides a state for acquiring a wireless communication network, for example, acquiring a network state of the current network, a frequency band selected by the air interface, and status information of the current wireless air interface RSRP and SINR;
S102模块的作用,第一支持USB2.0和USB3.0的数据传输模式的动态切换,第二完成无线数据到PC或者说到其他USB HOST接收端的数据传输;The function of the S102 module is to first support the dynamic switching of the data transmission mode of USB2.0 and USB3.0, and the second to complete the data transmission of the wireless data to the PC or to the other USB HOST receiving end;
S103模块的作用,根据S101获取到无线网络的联网状态信息,实现对S102的动态控制,本模块也是本装置的核心部分。The function of the S103 module acquires the networking state information of the wireless network according to S101, and realizes dynamic control of S102. This module is also the core part of the device.
在此需要进一步说明,本装置使用的前提条件,本装置自身支持USB2.0和USB3.0两种从设备连接状态的动态切换,并且与其连接的USB HOST设备支持USB2.0和USB3.0两种主模式,本装置与其他USB HOST设备连接线使用支持USB3.0的物理连接线;It is necessary to further explain the preconditions for the use of the device. The device itself supports the dynamic switching between the USB2.0 and USB3.0 connection states, and the USB HOST device connected thereto supports USB2.0 and USB3.0. In the main mode, the device and other USB HOST device cables use a physical cable that supports USB3.0;
为进一步说明,信号强度的大小和噪声比大小,以下举例说明信号状态大致范围,定义为A/B/C/D/E五种不同状态:To further illustrate the magnitude of the signal strength and the noise ratio, the following is an example of the approximate range of signal states, defined as five different states: A/B/C/D/E:
A极好点:RSRP>-85dBm SINR>25A very good point: RSRP>-85dBm SINR>25
B好点:RSRP=-85~-95dBm SINR:16-25B good point: RSRP=-85~-95dBm SINR: 16-25
C中点:RSRP=-95~-105dBm SINR:11-15C midpoint: RSRP=-95~-105dBm SINR: 11-15
D差点:RSRP=-105~-115dBm SINR:3-10D difference: RSRP=-105~-115dBm SINR: 3-10
E极差点:RSRP<-115dB SINR<3E pole difference: RSRP<-115dB SINR<3
在此进一步说明,S101模块,在装置上电起就一直在获取装置的无线状态信息,S103主控制模块上电启动时机早于S102模块。It is further explained that the S101 module has been acquiring the wireless state information of the device since the device is powered on, and the S103 main control module is powered on earlier than the S102 module.
为进一步说明本装置的实施过程,继续举实例说明,下属举例使用的无线联网终端装置,可以支持2G/3G/4G,4G能够支持100M,150M,300M, 以及高于300M等多种模式,此装置本文简称无线装置。To further illustrate the implementation process of the device, continue to illustrate the example, the wireless networking terminal device used by the subordinates can support 2G/3G/4G, and the 4G can support 100M, 150M, 300M, And a variety of modes above 300M, this device is referred to herein as a wireless device.
为更好说明无线装置的使用方法,下文将在不同的场景予以实例说明。To better illustrate the use of wireless devices, the following examples will be illustrated in different scenarios.
USB连接供电上电过程模式切换实例施:USB connection power supply power-on process mode switching example:
本实例是无线装置的唯一供电接口是USB 3.0连接线;In this example, the only power supply interface of the wireless device is a USB 3.0 cable;
模式切换条件网络制式和信号状态:Mode switching conditions network standard and signal status:
无线装置上电过程,可以举例以下不同的场景:图8是根据本发明本实施例的USB连接供电上电过程模式的流程图,包括:For the wireless device power-on process, the following different scenarios are illustrated: FIG. 8 is a flowchart of a USB connection power-on process mode according to the embodiment of the present invention, including:
无线装置默认设置成2G/3G/4G(理论下行速率小于300M的4G)三种模式之一的其中一种联网状态,主控制模块检测到上述联网状态之一,设置USB数据传输模块为USB2.0模式;The wireless device defaults to one of the three modes of 2G/3G/4G (the theoretical downlink rate is less than 300M 4G). The main control module detects one of the above networking states and sets the USB data transmission module to USB2. 0 mode;
无线装置默认设置成频段理论下行数据值大于300M的联网模式,S101检测模块检测到上述状态,并且检测到当前处于C中点以上状态,主控模块根据S101获取到的联网状态信息,设置USB数据传输模式为USB3.0模式;The wireless device is set to the network mode in which the downlink theoretical data value of the frequency band is greater than 300M by default. The S101 detection module detects the above state, and detects that the current state is above the C midpoint, and the main control module sets the USB data according to the networking state information acquired by S101. The transmission mode is USB3.0 mode;
无线装置默认设置成理论传输数据值大于300M的带宽模式,S101检测模块检测到上述状态,并且检测到当前处于中点或者中点以下状态,主控模块根据S101获取到的联网状态信息,设置USB数据传输模式为USB3.0模式;The wireless device is set to a bandwidth mode with a theoretical transmission data value greater than 300M by default. The S101 detection module detects the above state, and detects that the current state is at a midpoint or a midpoint. The main control module sets the USB according to the network state information acquired by S101. The data transmission mode is USB3.0 mode;
上述上电过程是以USB接口提供供电的上电流程的控制流程。The above power-on process is a control flow of a power-on process that provides power supply through a USB interface.
信号状态优先上电过程模式切换实例施:Signal state priority power-on process mode switching example:
图9是根据本发明实施例的信号状态优先上电过程模式的流程图,本实例中无线装置在USB 3.0连接线接入前上电启动运行,运行模式选择判断条件,信号状态优先:FIG. 9 is a flowchart of a signal state priority power-on process mode according to an embodiment of the present invention. In this example, the wireless device starts up and runs before the USB 3.0 cable is connected, and the operation mode selects a judgment condition, and the signal state takes precedence:
USB 3.0连接线接入无线装置时,主控模块获取到当前检测模块的检测状态,根据检测到的状态对USB的数据传输模式进行选择控制,此时判断依据不是信号制式,而是信号状态的好坏做出选择; When the USB 3.0 cable is connected to the wireless device, the main control module acquires the detection state of the current detection module, and selects and controls the data transmission mode of the USB according to the detected state. The judgment is based on the signal system but the signal state. Make good or bad choices;
获取到的信号状态在C以上,控制模块设置数据传输模式为USB3.0模式;The acquired signal state is above C, and the control module sets the data transmission mode to USB3.0 mode;
获取到的信号状态在C以及以下时,主控模块将数据传输模式设置为USB2.0模式;When the acquired signal state is C and below, the main control module sets the data transmission mode to the USB2.0 mode;
信号状态变化过程中的模式状态选择实施例:Mode state selection during signal state change:
在设备上电并且数据模块模式设定之后,无线装置的联网状态也会也会方式变化,当信号状态发生变化时,数据传输模式也会根据主控模块的选择做出相应的设置。After the device is powered on and the data module mode is set, the networking state of the wireless device will also change. When the signal state changes, the data transmission mode will also be set according to the selection of the main control module.
这种联网状态的变化也是正常的,例如:基站联网用户的变化,无线装置位置的移动,无线装置用户根据自己需要选择不同的制式等等,都有可能导致无线装置的信号状态发生变化。Such changes in the state of the network are also normal. For example, changes in the networked users of the base station, movement of the location of the wireless device, selection of different standards by the wireless device user according to their own needs, etc., may cause changes in the signal state of the wireless device.
当前状态的变化处于USB连接模式已经确定情况下,信号状态对于USB连接模式的选择,不仅仅取决于主控模块,还需要无线装置用户的参与。The change of the current state is in the case where the USB connection mode has been determined, and the selection of the signal state for the USB connection mode depends not only on the main control module but also on the participation of the wireless device user.
原因如下,在USB模式连接建立之后,无线装置和USB HOST主机之间已经建立数据连接,如果无限装置在USB2.0和USB3.0之间进行切换,就会导致正常连接的数据直接断开,如果USB HOST用户在进行重要数据连接,导致数据的丢失等严重问题。比如,信号变差,速率下降,并没有影响用户的正常使用,对用户来讲,速率不是高优先级,只要保持连接状态就可以,这种情况下,是不能USB3.0和USB2.0之间进行切换动作的。The reason is as follows. After the USB mode connection is established, a data connection has been established between the wireless device and the USB HOST host. If the unlimited device switches between USB 2.0 and USB 3.0, the normally connected data is directly disconnected. If the USB HOST user is making important data connections, it will cause serious problems such as data loss. For example, if the signal is degraded and the rate is degraded, it does not affect the normal use of the user. For the user, the rate is not a high priority, as long as the connection state is maintained. In this case, USB3.0 and USB2.0 cannot be used. Switching between actions.
所以,USB2.0和USB3.0之间的切换,需要主控模块和用户的选择做出合适的选择。Therefore, the switch between USB2.0 and USB3.0 requires the choice of the main control module and the user to make a suitable choice.
图10是根据本发明本实施例的装置模块可选示意图,在原来三个模块的基础上,增加主控模块与用户通信告知和设置模块,简称用户通信设置模块。此模块的作用,就是实现主控模块与用户的通信。此模块的通信方式可以有多种形式,但不局限于以下几种,目的就是实现主控模块与用 户的通信。FIG. 10 is a schematic diagram of an optional device module according to the embodiment of the present invention. On the basis of the original three modules, an additional communication module and user communication notification and setting module, which is referred to as a user communication setting module, is added. The function of this module is to realize the communication between the main control module and the user. The communication method of this module can be in various forms, but it is not limited to the following types. The purpose is to realize the main control module and use. User communication.
例如:方法一,无线装置可以有触摸和显示屏幕,主控模块可以与触摸和显示屏幕建立通信,当需要在USB2.0和3.0进行切换时,主控模块可以在屏幕显示出来,让用户做出选择,然后通知到主控模块;For example, in the first method, the wireless device can have a touch and display screen, and the main control module can establish communication with the touch and display screens. When it is required to switch between USB2.0 and 3.0, the main control module can be displayed on the screen, allowing the user to do Select and then notify the master module;
方法二,在USB HOST主机,开发客户端软件,建立与无线装置的主控模块的通信,当需要做出USB2.0和USB3.0的切换控制时,用户客户端软件通知主控模块做出选择。Method 2: In the USB HOST host, develop client software to establish communication with the main control module of the wireless device. When it is necessary to make USB2.0 and USB3.0 switching control, the user client software notifies the main control module to make select.
为了更好的说明,信号状态变化对模式选择的影响,下面举实例进行在不用应用场景下进一步说明:To better illustrate the impact of signal state changes on mode selection, the following examples are further illustrated in the no-application scenario:
场景一,当前无线装置在2G/3G/3G/4G(理论下行速率小于300M的4G)之一,并且处于USB2.0的连接模式,如果用户需要获取更高的下行传输速率,用户通信设置模块首先通知主控模块,将无线频段模式切换到高于理论值大于300M的频段模式,主控模块检查到当前信号状态处于A或者B状态,将USB模式切换到USB3.0模式;主控模块检查到当前信号状态处于C状态或者以下状态,则保持在当前USB2.0的状态; Scenario 1, the current wireless device is in one of 2G/3G/3G/4G (the theoretical downlink rate is less than 300M 4G), and is in the USB2.0 connection mode. If the user needs to obtain a higher downlink transmission rate, the user communication setting module Firstly, the main control module is notified to switch the wireless frequency band mode to a frequency band mode higher than the theoretical value greater than 300M, and the main control module checks that the current signal state is in the A or B state, and switches the USB mode to the USB3.0 mode; the main control module checks Until the current signal state is in the C state or the following state, it remains in the current USB 2.0 state;
场景二,无线装置当前处于USB3.0的连接模式,主控模块检测到当前信号状态处于C或者C以下状态,主控模块通知用户通信设置模块,告知当前模块状态,如果需要获取更好的下行速率,可以切换到USB2.0模式,如果用户做出选择切换,主控模块通知USB模块,切换到USB2.0模式;如果用户没有做出选择,则保持当前的USB3.0的连接状态;In scenario 2, the wireless device is currently in the USB3.0 connection mode, and the main control module detects that the current signal state is in the C or C state. The main control module notifies the user of the communication setting module, and informs the current module status, if a better downlink is needed. The rate can be switched to the USB2.0 mode. If the user makes a selection switch, the main control module notifies the USB module to switch to the USB2.0 mode; if the user does not make a selection, the current USB 3.0 connection state is maintained;
如果信号状态进一步变差,直至无法实现网络数据连接,主控模块启动定时器,连续无法连接数据的时间达到设定值时,同时在此期间没有收到用户的模式切换指令,主控模块将USB模式切换到USB2.0状态。如果在定时期间收到切换指令,则直接切换到USB2.0模式,同时取消定时器。If the signal state further deteriorates until the network data connection cannot be realized, the main control module starts the timer, and the time when the continuous data cannot be connected reaches the set value, and at the same time, the mode switching instruction of the user is not received, the main control module will The USB mode is switched to the USB 2.0 state. If a switch command is received during the timing, it will switch directly to USB2.0 mode and cancel the timer.
说明,上述定时器的设定值,是无线装置根据应用需要设定的,这个值得也可以通过用户通信设置模块让用户设置,用户也可以随时取消此设定值; The setting value of the above timer is set by the wireless device according to the application requirement, and the value can also be set by the user communication setting module, and the user can cancel the setting value at any time;
场景三,无线装置当前处于LTE在强信号,并且选择的LTE模式最高理论值超过300M时,数据传输模式选择在USB 3.0模式时。用户通过用户通信设置模块,无线频段切换到3G或者LTE其他频段(理论值速率值低于300M的频段),如果信号强度强,设备继续保存在USB 3.0的传输模式;如果信号变差,速率传输性能下降,就会进入场景二的处理流程。Scenario 3: The wireless device is currently in the strong signal of LTE, and when the highest theoretical value of the selected LTE mode exceeds 300M, the data transmission mode is selected in the USB 3.0 mode. The user sets the module through the user communication, and the wireless frequency band is switched to the 3G or other LTE frequency bands (the theoretical value rate value is lower than 300M). If the signal strength is strong, the device continues to save in the USB 3.0 transmission mode; if the signal is degraded, the rate is transmitted. If the performance is degraded, it will enter the processing flow of scenario 2.
具体无线终端设备实实施例:Specific wireless terminal equipment embodiment:
例如,无线终端设备,某一LTE数据卡设备支持3G,和LTE BAND3BAND7以及BAND3+BAND7的两CA模式,BAND3BAND7在各自20M带宽情况,CA速率可以到达300M,同时也支持BAND3+BAND7+BAND8三CA模式。在实验室环境下,BAND3+BAND7+BAND8在强信号情况下,USB2.0的最高速率只能达到340M,而在USB3.0情况下,下行可以达到440M以上(LTE 3CA的理论极限值450M),上述结果说明,USB2.0是无法满足LTE在超过300M的极限值要求的,要获取更高的下行速率只能选择USB3.0模式。For example, a wireless terminal device, an LTE data card device supports 3G, and two CA modes of LTE BAND3BAND7 and BAND3+BAND7, BAND3BAND7 can reach 300M in the respective 20M bandwidth, and also supports BAND3+BAND7+BAND8 three CA. mode. In the laboratory environment, BAND3+BAND7+BAND8 in the case of strong signals, the maximum speed of USB2.0 can only reach 340M, while in the case of USB3.0, the downlink can reach more than 440M (the theoretical limit of 450M of LTE 3CA) The above results show that USB2.0 cannot meet the limit value of LTE exceeding 300M. To obtain a higher downlink rate, only USB3.0 mode can be selected.
BAND3+BAND7两CA在强信号-72dBm情况下,SINR值达到30,USB3.0和USB2.0模式测试等到的下行速率都在298Mbit/s左右,下行速率值基本没有差异。在实验室通过衰减器,将信号强度降低到-90dBm,USB3.0连接时,SINR值到达24,下行速率只有114Mbit/s,USB2.0连接,SINR值达到26,下行速率在290Mbit/s。BAND3+BAND7 two CAs have a SINR value of 30 in the case of strong signal-72dBm, and the downlink rate of USB3.0 and USB2.0 mode tests are around 298Mbit/s, and there is basically no difference in the downlink rate. In the laboratory, the signal strength is reduced to -90dBm through the attenuator. When the USB3.0 is connected, the SINR value reaches 24, the downlink rate is only 114Mbit/s, the USB2.0 is connected, the SINR value reaches 26, and the downlink rate is 290Mbit/s.
两CA的测试结果表明,在中弱信号下,USB2.0下行速率反而好于USB3.0的下行速率。The test results of the two CAs show that under the medium weak signal, the USB2.0 downlink rate is better than the USB3.0 downlink rate.
上述LTE数据卡,采用USB供电,数据卡内部可以获取无线网络联网状态等信息,例如获取频段选择,信号强度,噪声比等值,同时支持硬件和软件USB2.0和USB3.0两种USB模式,以及两种模式的切换。此数据卡插入PC机时,以USB网卡形式实现与PC机的数据传输。在PC机安装客户端软件,实现对设备的控制,比如设置VPN,拨号联网等动作,本例添USB数据传输模式的控制,能够获取当前的连接模式,以及可以 设置USB的数据传输模式。The above LTE data card is powered by USB, and the data card can obtain information such as the wireless network connection state, for example, obtaining frequency band selection, signal strength, noise ratio, etc., and supporting hardware and software USB2.0 and USB3.0 USB modes. , and switching between the two modes. When the data card is inserted into the PC, data transmission with the PC is realized in the form of a USB network card. Install the client software on the PC to control the device, such as setting up VPN, dial-up networking, etc. In this example, the USB data transmission mode is controlled, the current connection mode can be obtained, and Set the USB data transfer mode.
通常情况下,LTE数据卡如果支持多种无线频段模式,为了获得更好的下行速率,联网模式优先设置成LTE,其次是3G。Generally, if the LTE data card supports multiple radio frequency bands, in order to obtain a better downlink rate, the networking mode is preferentially set to LTE, followed by 3G.
为更好说明用例交互和USB模式切换过程,以LTE数据卡为实例说明其中的几个工作过程:In order to better illustrate the use case interaction and USB mode switching process, the LTE data card is taken as an example to illustrate several of the working processes:
1.数据卡插入支持USB3.0的PC机USB口1. The data card is inserted into the USB port of the PC supporting USB3.0.
2.插入后,数据卡上电,内部系统启动2. After inserting, the data card is powered on and the internal system is booted.
3.本发明装置用到的几个模块启动时序如下:信号获取模块,主控模块,USB模块;3. The startup timing of several modules used in the device of the present invention is as follows: a signal acquisition module, a main control module, and a USB module;
4.主控模块启动后一直都会收到信号获取模块传递过来的参数信息,主控模块根据参数信息实现对USB模块的启动模式选择;具体的实现参考USB连接供电上电过程模式切换实例施;4. After the main control module starts, it will always receive the parameter information transmitted by the signal acquisition module. The main control module realizes the selection of the startup mode of the USB module according to the parameter information; the specific implementation refers to the USB connection power supply process mode switching instance;
5.USB模块模式确定之后,按照选定的模式USB物理层上电,开始枚举过程,上报USB网卡设备;5. After the USB module mode is determined, the USB physical layer is powered on according to the selected mode, and the enumeration process is started, and the USB network card device is reported;
6.PC机上的UI启动,完成拨号联网动作,同时能够获取到USB的模式状态;6. The UI on the PC is started, the dial-up networking action is completed, and the mode state of the USB can be obtained at the same time;
7.在用户使用的过程中,如果联网状态发生变化,用户可以通过UI软件的客户端软件实现对USB模式的选择控制,具体流程参考信号状态变化过程中的模式状态选择实施例7. In the process of user use, if the network status changes, the user can implement the selection control of the USB mode through the client software of the UI software, and the mode state selection embodiment in the process of changing the state of the reference signal state
本实施例解决了USB3.0对LTE频段的干扰,又充分利用USB3.0的性能。This embodiment solves the interference of USB3.0 to the LTE frequency band, and fully utilizes the performance of USB3.0.
实施例4Example 4
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,第一设备通过通用串行总线USB接口与第二设备连接;S1. The first device is connected to the second device by using a universal serial bus USB interface.
S2,检测第一设备当前的无线射频信息; S2. Detecting current radio frequency information of the first device.
S3,根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。S3, selecting a data transmission mode of the USB interface according to the wireless radio frequency information, and performing data transmission according to the selected data transmission manner, wherein a spectrum range of the USB interface corresponding to different data transmission manners is different.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行第一设备通过通用串行总线USB接口与第二设备连接;Optionally, in this embodiment, the processor executes, according to the stored program code in the storage medium, the first device is connected to the second device by using a universal serial bus USB interface;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行检测第一设备当前的无线射频信息;Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, detecting the current radio frequency information of the first device;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。Optionally, in this embodiment, the processor performs, according to the stored program code in the storage medium, performing a data transmission manner of selecting the USB interface according to the wireless radio frequency information, and performing data transmission according to the selected data transmission manner, The spectrum range of the USB interface corresponding to different data transmission modes is different.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精 神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Where in the essence of the invention Any modifications, equivalent substitutions, improvements, etc. made within the principles of God and the principles are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本实施例提供的一种数据传输方法及装置、手机、数据卡,具有以下有益效果:由于USB接口的数据传输方式是依据第一设备的无线射频信息来选择的,因此可以避免USB传输对无线射频频带的干扰,同时也能在条件允许时采用高速率的传输方式进行数据传输,可以解决相关技术中使用单一USB传输方式时引起的传输速率低或者数据传输时容易产生频段干扰的问题。在高速率传输数据的同时又不会产生空口频段的干扰,提升了用户体验。 As described above, the data transmission method and device, the mobile phone, and the data card provided by the embodiment have the following beneficial effects: since the data transmission mode of the USB interface is selected according to the radio frequency information of the first device, it can be avoided. USB transmission interferes with the radio frequency band, and can also transmit data at a high rate transmission mode when conditions permit. It can solve the problem that the transmission rate caused by using a single USB transmission mode in the related art is low or the frequency band interference is easily generated during data transmission. The problem. The data is transmitted at a high rate without causing interference in the air interface band, which improves the user experience.

Claims (18)

  1. 一种数据传输方法,包括:A data transmission method includes:
    第一设备通过通用串行总线USB接口与第二设备连接;The first device is connected to the second device through a universal serial bus USB interface;
    检测所述第一设备当前的无线射频信息;Detecting current radio frequency information of the first device;
    根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。Determining, according to the radio frequency information, a data transmission manner of the USB interface, and performing data transmission according to the selected data transmission manner, where different frequency ranges of the USB interface corresponding to the data transmission manner are different.
  2. 根据权利要求1所述的方法,其中,所述数据传输方式包括:使用USB2.0进行数据传输和使用USB3.0进行数据传输。The method of claim 1, wherein the data transmission method comprises: data transmission using USB 2.0 and data transmission using USB 3.0.
  3. 根据权利要求1所述的方法,其中,检测所述第一设备当前的无线射频信息包括以下至少之一:The method according to claim 1, wherein detecting the current radio frequency information of the first device comprises at least one of the following:
    检测所述第一设备的射频传输速率;Detecting a radio frequency transmission rate of the first device;
    检测所述第一设备的信号状态;Detecting a signal state of the first device;
    检测所述第一设备在射频传输时所使用的通信协议。Detecting a communication protocol used by the first device in radio frequency transmission.
  4. 根据权利要求3所述的方法,其中,检测所述第一设备的信号状态包括:The method of claim 3, wherein detecting a signal state of the first device comprises:
    检测所述第一设备的无线空口的参考信号接收功率RSRP,和/或,信号与干扰加噪声比SINR;Detecting a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR;
    根据所述RSRP和/或所述SINR得到所述信号状态。The signal state is obtained based on the RSRP and/or the SINR.
  5. 根据权利要求3所述的方法,其中,所述通信协议包括:长期演进LTE协议、带宽码分多址WCDMA协议、码分多址CDMA协议、时分多址TD-SCDMA协议、全球移动通信系统GSM协议。The method according to claim 3, wherein said communication protocol comprises: Long Term Evolution LTE protocol, bandwidth code division multiple access WCDMA protocol, code division multiple access CDMA protocol, time division multiple access TD-SCDMA protocol, global mobile communication system GSM protocol.
  6. 根据权利要求3所述的方法,其中,根据所述无线射频信息 选择所述USB接口的数据传输方式包括:The method of claim 3, wherein the radio frequency information is based on Selecting the data transmission mode of the USB interface includes:
    根据所述射频传输速率和/或所述信号状态选择所述USB接口的数据传输方式,其中,述USB接口的数据传输方式包括以下之一:USB3.0、USB2.0。The data transmission mode of the USB interface is selected according to the radio frequency transmission rate and/or the signal state, wherein the data transmission mode of the USB interface includes one of the following: USB3.0, USB2.0.
  7. 根据权利要求5所述的方法,其中,在所述无线射频信息为通信协议时,根据所述无线射频信息选择所述USB接口的数据传输方式包括:The method according to claim 5, wherein when the radio frequency information is a communication protocol, selecting a data transmission manner of the USB interface according to the radio frequency information comprises:
    在所述通信协议为以下之一时:WCDMA协议、CDMA协议、TD-SCDMA协议、GSM协议,选择USB2.0作为所述USB接口的数据传输方式;When the communication protocol is one of the following: WCDMA protocol, CDMA protocol, TD-SCDMA protocol, GSM protocol, and USB2.0 is selected as the data transmission mode of the USB interface;
    在所述通信协议为LTE协议时,判断所述LTE协议的当前射频传输速率是否小于第一预设阈值,在判断结果为是时,选择USB2.0作为所述USB接口的数据传输方式,在判断结果为否时,选择USB3.0作为所述USB接口的数据传输方式。When the communication protocol is the LTE protocol, determining whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold, and when the determination result is yes, selecting USB2.0 as the data transmission mode of the USB interface, When the determination result is no, USB 3.0 is selected as the data transmission mode of the USB interface.
  8. 根据权利要求1所述的方法,其中,在所述无线射频信息为信号状态时,根据所述无线射频信息选择所述USB接口的数据传输方式包括:The method according to claim 1, wherein when the radio frequency information is in a signal state, selecting a data transmission manner of the USB interface according to the radio frequency information comprises:
    在所述信号状态低于第二预设阈值时,启动定时器,在持续低于所述第二预设阈值的时间达到设定值时,选择USB2.0作为所述USB接口的数据传输方式。When the signal state is lower than the second preset threshold, the timer is started, and when the time is lower than the second preset threshold, the USB2.0 is selected as the data transmission mode of the USB interface. .
  9. 根据权利要求1至8任意一项所述的方法,其中,所述第一设备包括以下之一:手机、数据卡。The method according to any one of claims 1 to 8, wherein the first device comprises one of: a mobile phone, a data card.
  10. 一种数据传输装置,应用在第一设备,包括:A data transmission device, applied to a first device, comprising:
    连接模块,设置为通过通用串行总线USB接口与第二设备连接; a connection module, configured to be connected to the second device through a universal serial bus USB interface;
    检测模块,设置为检测所述第一设备当前的无线射频信息;a detecting module, configured to detect current radio frequency information of the first device;
    选择模块,设置为根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。a selection module, configured to select a data transmission manner of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission manner, where different frequency spectrums of the USB interface corresponding to the data transmission manner are The range is different.
  11. 根据权利要求10所述的装置,其中,所述数据传输方式包括:使用USB2.0进行数据传输和使用USB3.0进行数据传输。The apparatus according to claim 10, wherein said data transmission mode comprises: data transmission using USB 2.0 and data transmission using USB 3.0.
  12. 根据权利要求10所述的装置,其中,检测模块还包括:The apparatus of claim 10, wherein the detecting module further comprises:
    第一检测单元,设置为检测所述第一设备的射频传输速率;a first detecting unit, configured to detect a radio frequency transmission rate of the first device;
    第二检测单元,设置为检测所述第一设备的信号状态;a second detecting unit, configured to detect a signal state of the first device;
    第三检测单元,设置为检测所述第一设备在射频传输时所使用的通信协议。The third detecting unit is configured to detect a communication protocol used by the first device during radio frequency transmission.
  13. 根据权利要求12所述的装置,其中,所述第二检测单元还设置为:The apparatus according to claim 12, wherein said second detecting unit is further configured to:
    检测所述第一设备的无线空口的参考信号接收功率RSRP,和/或,信号与干扰加噪声比SINR;Detecting a reference signal received power RSRP of the wireless air interface of the first device, and/or a signal to interference plus noise ratio SINR;
    根据所述RSRP和/或所述SINR得到所述信号状态。The signal state is obtained based on the RSRP and/or the SINR.
  14. 根据权利要求12所述的装置,其中,选择模块还包括:The apparatus of claim 12, wherein the selecting module further comprises:
    第一选择单元,设置为根据所述射频传输速率和/或所述信号状态选择所述USB接口的数据传输方式,其中,述USB接口的数据传输方式包括以下之一:USB3.0、USB2.0。The first selection unit is configured to select a data transmission mode of the USB interface according to the radio frequency transmission rate and/or the signal state, where the data transmission manner of the USB interface includes one of the following: USB3.0, USB2. 0.
  15. 根据权利要求12所述的装置,其中,在所述无线射频信息为通信协议时,选择模块还包括: The apparatus according to claim 12, wherein when the radio frequency information is a communication protocol, the selecting module further comprises:
    第二选择单元,设置为在所述通信协议为以下之一时:WCDMA协议、CDMA协议、TD-SCDMA协议、GSM协议,选择USB2.0作为所述USB接口的数据传输方式;a second selecting unit, configured to: when the communication protocol is one of: WCDMA protocol, CDMA protocol, TD-SCDMA protocol, GSM protocol, select USB2.0 as the data transmission mode of the USB interface;
    第三选择单元,设置为在所述通信协议为LTE协议时,判断所述LTE协议的当前射频传输速率是否小于第一预设阈值,在判断结果为是时,选择USB2.0作为所述USB接口的数据传输方式,在判断结果为否时,选择USB3.0作为所述USB接口的数据传输方式。a third selecting unit, configured to determine, when the communication protocol is the LTE protocol, whether the current radio frequency transmission rate of the LTE protocol is less than a first preset threshold, and when the determination result is yes, select USB2.0 as the USB The data transmission mode of the interface, when the judgment result is no, selects USB3.0 as the data transmission mode of the USB interface.
  16. 根据权利要求10所述的装置,其中,在所述无线射频信息为信号状态时,选择模块还包括:The apparatus according to claim 10, wherein when the radio frequency information is in a signal state, the selecting module further comprises:
    第四选择单元,设置为在所述信号状态低于第二预设阈值时,启动定时器,在持续低于第二预设阈值的时间达到设定值时,选择USB2.0作为所述USB接口的数据传输方式。a fourth selecting unit, configured to start a timer when the signal state is lower than a second preset threshold, and select USB2.0 as the USB when a time lower than a second preset threshold reaches a set value The data transmission mode of the interface.
  17. 一种手机,包括:A mobile phone comprising:
    检测电路,设置为检测所述手机当前的无线射频信息,其中,所述手机通过通用串行总线USB接口与第二设备连接;a detecting circuit configured to detect current radio frequency information of the mobile phone, wherein the mobile phone is connected to the second device through a universal serial bus USB interface;
    选择电路,设置为根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。a selection circuit, configured to select a data transmission mode of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission mode, wherein a spectrum of the USB interface corresponding to the data transmission mode is different The range is different.
  18. 一种数据卡,包括:A data card that includes:
    检测电路,设置为检测所述数据卡当前的无线射频信息,其中,所述数据卡通过通用串行总线USB接口与第二设备连接;a detecting circuit configured to detect current radio frequency information of the data card, wherein the data card is connected to the second device through a universal serial bus USB interface;
    选择电路,设置为根据所述无线射频信息选择所述USB接口的数据传输方式并根据所述选择的数据传输方式进行数据传输,其中,不同所述数据传输方式所对应的所述USB接口的频谱范围不同。 a selection circuit, configured to select a data transmission mode of the USB interface according to the wireless radio frequency information, and perform data transmission according to the selected data transmission mode, wherein a spectrum of the USB interface corresponding to the data transmission mode is different The range is different.
PCT/CN2017/082763 2016-10-17 2017-05-02 Data transmission method and apparatus, mobile telephone, and data card WO2018072426A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610903724.6A CN107959545A (en) 2016-10-17 2016-10-17 Data transmission method and device, mobile phone, data card
CN201610903724.6 2016-10-17

Publications (1)

Publication Number Publication Date
WO2018072426A1 true WO2018072426A1 (en) 2018-04-26

Family

ID=61953295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082763 WO2018072426A1 (en) 2016-10-17 2017-05-02 Data transmission method and apparatus, mobile telephone, and data card

Country Status (2)

Country Link
CN (1) CN107959545A (en)
WO (1) WO2018072426A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835372A (en) * 2019-04-18 2020-10-27 北京小米移动软件有限公司 Radio frequency circuit and wireless communication equipment
CN112702083A (en) * 2020-12-24 2021-04-23 维沃移动通信有限公司 Electronic device and communication method
CN114297108A (en) * 2021-12-16 2022-04-08 深圳市格安电子有限公司 Multifunctional multi-protocol interface converter

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753385A (en) * 2018-07-24 2020-02-04 中国电信股份有限公司 Method for installing narrow-band Internet of things terminal and narrow-band Internet of things terminal
CN110768732A (en) * 2018-07-26 2020-02-07 深圳金中熠科技有限公司 Method for reducing mutual interference of wireless 2.4GHz signal and USB3.0 signal by router
CN109586808B (en) * 2018-12-25 2021-04-27 深圳市普威技术有限公司 Device for preventing USB3.0 equipment from interfering WIFI module
CN109743141B (en) * 2019-02-21 2021-10-22 维沃移动通信有限公司 Data transmission adjusting method and terminal equipment
CN111723039A (en) * 2020-06-16 2020-09-29 Oppo广东移动通信有限公司 Electronic device
CN114697735B (en) * 2020-12-25 2023-11-07 广州视源电子科技股份有限公司 Interconnection screen projection method and device and interaction panel
CN112764773B (en) * 2020-12-31 2024-06-21 北京谊安医疗系统股份有限公司 Embedded software upgrading method
CN114844524B (en) * 2021-02-02 2024-02-06 海能达通信股份有限公司 Communication control method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741825A (en) * 2008-11-17 2010-06-16 联想(北京)有限公司 Method and equipment for switching between wireless USB interface and wired USB interface
US20120011286A1 (en) * 2010-07-09 2012-01-12 Sae Magnetics (H.K.) Ltd. Optical communication module, universal serial bus cable with the same and processing method of data transfer thereof
CN105893311A (en) * 2016-03-28 2016-08-24 青岛海信电器股份有限公司 Universal serial bus interface drive configuration method and device
CN105893295A (en) * 2016-04-22 2016-08-24 福州瑞芯微电子股份有限公司 Multiplexing system based on USB 3.0 port

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013159312A1 (en) * 2012-04-26 2013-10-31 Hewlett-Packard Development Company, L.P. Decreasing usb interference to adjacent wireless device
CN104102603B (en) * 2013-04-09 2017-03-29 瑞昱半导体股份有限公司 Universal serial bus networks interface controller and its operation mode switching method
CN104821995B (en) * 2015-05-27 2017-06-06 广东欧珀移动通信有限公司 A kind of data transfer management method and device
CN105812018A (en) * 2016-03-11 2016-07-27 珠海市魅族科技有限公司 Transmission mode switching method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741825A (en) * 2008-11-17 2010-06-16 联想(北京)有限公司 Method and equipment for switching between wireless USB interface and wired USB interface
US20120011286A1 (en) * 2010-07-09 2012-01-12 Sae Magnetics (H.K.) Ltd. Optical communication module, universal serial bus cable with the same and processing method of data transfer thereof
CN105893311A (en) * 2016-03-28 2016-08-24 青岛海信电器股份有限公司 Universal serial bus interface drive configuration method and device
CN105893295A (en) * 2016-04-22 2016-08-24 福州瑞芯微电子股份有限公司 Multiplexing system based on USB 3.0 port

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835372A (en) * 2019-04-18 2020-10-27 北京小米移动软件有限公司 Radio frequency circuit and wireless communication equipment
CN111835372B (en) * 2019-04-18 2023-06-30 北京小米移动软件有限公司 Radio frequency circuit and wireless communication equipment
CN112702083A (en) * 2020-12-24 2021-04-23 维沃移动通信有限公司 Electronic device and communication method
CN114297108A (en) * 2021-12-16 2022-04-08 深圳市格安电子有限公司 Multifunctional multi-protocol interface converter
CN114297108B (en) * 2021-12-16 2024-05-14 深圳市格安电子有限公司 Multifunctional multi-protocol interface converter

Also Published As

Publication number Publication date
CN107959545A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
WO2018072426A1 (en) Data transmission method and apparatus, mobile telephone, and data card
EP3861806B1 (en) Method for positioning reference design
JP7084499B2 (en) Methods and equipment for selecting resources
TWI400919B (en) Method and apparatus for antenna allocation on a multi-radio platform
EP3742803B1 (en) Cell reselection method and device
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
JP2023511144A (en) Antenna routing method and related equipment
CN108141291B (en) Method for testing a low power Radio Frequency (RF) data packet signal transceiver
EP3515100B1 (en) Communications method and device
JP2024511789A (en) Transmission direction determination method, equipment, terminal and network side equipment
JP6949119B2 (en) Receive node, transmit node, and transmission method
WO2022242556A1 (en) Method for determining measurement gap, and terminal and network-side device
CN112911665B (en) Connection method of access point and electronic equipment
CN111771402B (en) Communication method and device
CN108337718B (en) Wireless network scanning method and device, terminal equipment and storage medium
WO2024012337A1 (en) Positioning reference signal (prs) measurement methods, terminal, and network side device
CN114760719B (en) Method, apparatus, device and storage medium for discovering and connecting to soft access device
CN113923686B (en) Auxiliary information processing method, auxiliary information sending method and related equipment
WO2024017242A1 (en) Measurement gap conflict processing method and apparatus, terminal, and network side device
WO2024061261A1 (en) Resource configuration method and apparatus, and terminal and network-side device
WO2023011535A1 (en) Low mobility state determination method and apparatus, terminal, and network side device
WO2024037401A1 (en) Gap configuration method and apparatus, and terminal and network-side device
WO2022214024A1 (en) Information acquisition method and apparatus, information configuration method and apparatus, communication device
RU2801165C1 (en) Method for probing multi-channel devices and communication device
WO2024140555A1 (en) Transmission method for positioning reference signal resource, and communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17862713

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17862713

Country of ref document: EP

Kind code of ref document: A1