CN106776417A - A kind of USB mode control method and device - Google Patents

A kind of USB mode control method and device Download PDF

Info

Publication number
CN106776417A
CN106776417A CN201510818310.9A CN201510818310A CN106776417A CN 106776417 A CN106776417 A CN 106776417A CN 201510818310 A CN201510818310 A CN 201510818310A CN 106776417 A CN106776417 A CN 106776417A
Authority
CN
China
Prior art keywords
usb interface
terminal device
pattern
interface pattern
judged result
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510818310.9A
Other languages
Chinese (zh)
Inventor
郭春燕
赵雪亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software Co Ltd
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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201510818310.9A priority Critical patent/CN106776417A/en
Priority to PCT/CN2016/074281 priority patent/WO2017088308A1/en
Publication of CN106776417A publication Critical patent/CN106776417A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/10Program control for peripheral devices
    • 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/40Bus structure
    • G06F13/4004Coupling between buses
    • 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/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of USB mode control method, the method includes:Whether the wireless working condition for obtaining terminal device meets pre-conditioned judged result;USB interface according to judged result control terminal equipment is operated in the first USB interface pattern or secondary USB interface pattern;Wherein, transmission rate of the transmission rate of the first USB interface pattern more than secondary USB interface pattern.The present invention further simultaneously discloses a kind of USB mode control device.

Description

A kind of USB mode control method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of USB mode control method And device.
Background technology
USB (Universal Serial Bus, USB) is an external bus standard, for advising Model computer is connected and communicate with external equipment.The development for many years of USB standard experience, has been present various Version, such as USB1.0, USB2.0 and USB3.0 version.Wherein, USB3.0 is by Intel company (Intel) and leading company together hand in hand issue the new specifications of USB.USB3.0 is provided and decupled The transmission speed of USB2.0 and the energy-saving efficiency of Geng Gao, can be widely used for the high-speed transfer of various terminal equipment; And while more low energy consumption is realized, USB3.0 possesses protocol efficiency higher;USB3.0 also has downward The versions such as compatibility feature, backward compatible USB2.0/1.0.Therefore, digital Age need high speed performance and can In the case that huge data transfers are realized in the interconnection leaned on, USB3.0 can well tackle this challenge, together When USB3.0 can also lift the charge efficiency of terminal device, so as to improve the Experience Degree of user.At present USB3.0 interfaces are mainly used in personal computer (Personal Computer, PC), mobile hard disk, USB The terminal device such as flash disk and card reader.
But USB3.0 is while above-mentioned advantage is brought, corresponding problem, such as use of USB3.0 are there is also Aerial download (Over The Air, OTA) performance of terminal device can be influenceed, that is, influences the whole machine spoke of equipment Penetrate performance.The OTA parameters for embodying the OTA performances are broadly divided into two classes:Receive parameter and emission parameter. Emission parameter includes total radiation power (Total Radiated Power, TRP), and the parameter is by whole spoke Penetrating the transmission power of sphere carries out Line Integral and is averaged to obtain;Near-earth horizontal line partial radiation power (Near Horizon Partial Radiated Power, NHPRP), the parameter is reflected in antenna near the H faces of equipment Transmission power situation.Receive parameter include isotropic sensitivity (Total Isotropic Sensitivity, TIS), the parameter is reflected in the situation of whole radiation sphere equipment receiving sensitivity;Nearly level is local each to same Property sensitiveness (Near Horizon Partial Isotropic Sensitivity, the NHPIS) parameter reflection equipment exist The situation of the receiving sensitivity of antenna near H faces.
Specifically, as shown in Figure 1A, Figure 1A shows that the USB interface in data card does not transmit data In the case of, for the wireless signal of different frequency range, the TIS parameters that correlation standard data card should reach Standard value (i.e. the TIS parameter standard values of the correlation standard in Figure 1A), actual OTA tests are obtained , the TIS parameter values for being operated in the data card of USB3.0 interface modes (i.e. USB3.0 TIS in Figure 1A Parameter value), TIS ginsengs that actual OTA tests are obtained, data card being operated in USB2.0 interface modes Numerical value (i.e. USB2.0 TIS parameter values in Figure 1A), and the TIS parameter standard values are obtained with the test TIS parameter values between difference.The TIS of the first difference, i.e. correlation standard is also show in Figure 1A The difference of parameter standard value and USB2.0 TIS parameter values;Also show the second difference, i.e. correlation standard TIS parameter standard values and USB3.0 TIS parameter values difference.
Wherein, data card refers to be applied to computer and set using the terminal that mobile communication technology accesses internet It is standby.Specifically, client identification module (Subscriber Identity Module, SIM) is provided with data card, That is SIM, data card is to access internet by SIM.Correlation standard shown by Figure 1A The unit of TIS parameter standard values, USB2.0 TIS parameter values and USB3.0 TIS parameter values be decibel (decibel, dB).Above-mentioned OTA testing tools are:Data card+notebook with USB2.0 interfaces Computer, the data card+notebook computer with USB3.0 interfaces;Above-mentioned OTA tests darkroom is:Carry out The 3D darkrooms of OTA tests.It is dark in the 3D of free space by the TIS parameter values shown in Figure 1A Room, and in the case that USB interface does not transmit data, the TIS of the data card of USB3.0 interface modes is operated in, TIS compared to the data card for being operated in USB2.0 interface modes have dropped 4.5~9.7dB, not meet correlation The TIS standards that standard specifies;And in the different frequency range wireless signal of above-mentioned test, TIS is in Long Term Evolution It is most notable that 5th frequency range (Long Term Evolution Band5, LTE Band5) declines, the LTE Band5 Frequency bandwidth (Band width, BW) is 10MHz.Seen from the above description, USB3.0 interface modes Use have impact on terminal device receive wireless signal performance, cause use USB3.0 interface modes end The OTA parameter values of end equipment do not meet relevant criterion.
And it can be seen from the information that Intel aspects are announced, the spread processing of USB3.0 causes its frequency spectrum from 0Hz 5GHz is covered always;Through measurement, USB3.0 interface modes are operated in the USB interface of terminal device During transmission data, terminal device can increase noise on the wireless signal of 0~5GHz frequency ranges, and in 2.4GHz The noise of about 20dB can be increased on the wireless signal of frequency range, the radio frequency to 2.4GHz frequency range wireless signals is caused Interference, this interference can reduce the receiving sensitivity of terminal device, that is, reduce the TIS of terminal device, and then Reduce the visits of terminal device, it is sufficient to influence the use of terminal device 2.4GHz wireless signals, such as The use of 2.4GHz WiFi functions, 2.4GHz Bluetooth functions are used;But the jamming power of USB3.0 Can decline with the rising of signal frequency, such as 2.4GHz frequency ranges interference-to-noise ratio 5GHz frequency ranges interference Noise is higher by about 20dB or so.Seen from the above description, the use of USB3.0 interface modes have impact on terminal Equipment receives the performance of 2.4GHz wireless signals, causes to use the terminal device of USB3.0 interface modes possible 2.4GHz wireless signals cannot be used.
The mode that prior art solves the above problems is usually, and the antenna for increasing terminal device connects with USB3.0 Mouthful absolute distance, or the USB3.0 interfaces of terminal device are carried out shielding processing to mitigate above-mentioned interference. But aforesaid way is only applicable to section terminating equipment, such as PC equidimension is and right than larger terminal device In the smaller terminal device of mobile phone equidimension and do not apply to.
In sum, the use of USB3.0 interface modes can influence the OTA performances of terminal device, and existing Technology can only solve the above mentioned problem of section terminating equipment presence, reduce the Experience Degree of user.
The content of the invention
In view of this, the embodiment of the present invention expect to provide a kind of USB mode control method and Device, to control influence of the use of hi-speed USB interface pattern to terminal device OTA performances.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The embodiment of the invention discloses a kind of USB mode control method, methods described includes:
Whether the wireless working condition for obtaining terminal device meets pre-conditioned judged result;
The general-purpose serial bus USB interfaces of the terminal device are controlled the according to the judged result One USB interface pattern or secondary USB interface pattern;
Wherein, the transmission rate of the first USB interface pattern is more than the secondary USB interface pattern Transmission rate.
Further, whether the wireless working condition for obtaining terminal device meets pre-conditioned judged result, Specially:
When terminal device uses mobile network signals, whether the signal receiving velocity for obtaining terminal device is more than The judged result of predetermined threshold value;Or,
When terminal device uses wireless signal, whether the wireless signal working frequency for obtaining terminal device is pre- If the judged result of frequency range.
Further, it is described when terminal device uses wireless signal, obtain the wireless signal work of terminal device Whether frequency is the judged result for presetting frequency range, specially:
When terminal device uses Wireless Fidelity signal access network, obtaining terminal device Wireless Fidelity signal is The no judged result for being operated in the first default frequency range;Or,
After terminal device is registered to mobile network signals, obtain whether terminal device mobile network signals work In the judged result of the second default frequency range.
Further, the USB interface of the control terminal device be operated in the first USB interface pattern or Secondary USB interface pattern, including:
By way of the USB interface of re-enumeration terminal device, by the work of the USB interface of terminal device Operation mode is from secondary USB interface pattern switching to the first USB interface pattern;Or,
By way of the USB interface of re-enumeration terminal device, by the work of the USB interface of terminal device Operation mode is from the first USB interface pattern switching to secondary USB interface pattern.
Further, the USB interface of the control terminal device be operated in the first USB interface pattern or Secondary USB interface pattern, including:
The state of the USB interface current transmission data according to terminal device, by the USB interface of terminal device Mode of operation from secondary USB interface pattern switching to the first USB interface pattern;Or,
The state of the USB interface current transmission data according to terminal device, by the USB interface of terminal device Mode of operation from the first USB interface pattern switching to secondary USB interface pattern.
The embodiment of the invention also discloses a kind of USB mode control device, described device bag Include:
Whether acquisition module, the wireless working condition for obtaining terminal device meets pre-conditioned judgement knot Really;
Control module, the general-purpose serial bus USB for controlling the terminal device according to the judged result Interfaces are in the first USB interface pattern or secondary USB interface pattern;
Wherein, the transmission rate of the first USB interface pattern is more than the secondary USB interface pattern Transmission rate.
Further, the acquisition module, specifically for when terminal device uses mobile network signals, obtaining Whether the signal receiving velocity of terminal device is more than the judged result of predetermined threshold value;Or, make in terminal device When using wireless signal, whether the wireless signal working frequency for obtaining terminal device is the judged result for presetting frequency range.
Further, the acquisition module, specifically for using Wireless Fidelity signal access network in terminal device When, obtain the judged result whether terminal device Wireless Fidelity signal is operated in the first default frequency range;Or, After terminal device is registered to mobile network signals, obtain whether terminal device mobile network signals are operated in the The judged result of two default frequency ranges.
Further, the control module, specifically for the side of the USB interface by re-enumeration terminal device Formula, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to a USB Interface modes;Or, by way of the USB interface of re-enumeration terminal device, by terminal device The mode of operation of USB interface is from the first USB interface pattern switching to secondary USB interface pattern.
Further, the control module, specifically for the USB interface current transmission data according to terminal device State, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to first USB interface pattern;Or, the state of the USB interface current transmission data according to terminal device will be eventually The mode of operation of the USB interface of end equipment is from the first USB interface pattern switching to secondary USB interface pattern.
A kind of USB mode control method provided in an embodiment of the present invention and device, obtain eventually Whether the wireless working condition of end equipment meets pre-conditioned judged result;According to judged result control terminal The USB interface of equipment is operated in the first USB interface pattern or secondary USB interface pattern;Wherein, first Transmission rate of the transmission rate of USB interface pattern more than secondary USB interface pattern.In this way, according to end The mode of operation of the wireless working state control terminal device USB interface of end equipment, can realize control at a high speed Influence of the use of USB interface pattern to terminal device OTA performances so that be configured with hi-speed USB interface The OTA parameters of terminal device meet relevant criterion, and cause that the terminal for being configured with hi-speed USB interface sets It is standby to use 2.4GHz wireless signals, improve the Experience Degree of user.
Brief description of the drawings
Figure 1A is the related parameter values of OTA tests in correlation technique;
Figure 1B is a kind of flow of USB mode control method provided in an embodiment of the present invention Schematic diagram;
Fig. 2 is that a kind of structure of USB mode control device provided in an embodiment of the present invention is shown It is intended to;
A kind of knot of USB mode control device specific embodiment that Fig. 3 is provided for the present invention Structure schematic diagram;
A kind of USB mode control method specific embodiment one that Fig. 4 is provided for the present invention Schematic flow sheet;
A kind of USB mode control method specific embodiment two that Fig. 5 is provided for the present invention Schematic flow sheet;
A kind of USB mode control method specific embodiment three that Fig. 6 is provided for the present invention Schematic flow sheet.
Specific embodiment
In embodiments of the present invention, whether the wireless working condition of terminal device acquisition terminal device meets default The judged result of condition;Terminal device is operated in first according to the USB interface of judged result control terminal equipment USB interface pattern or secondary USB interface pattern;Wherein, the transmission rate of the first USB interface pattern is big In the transmission rate of secondary USB interface pattern.
Below in conjunction with the accompanying drawings and specific embodiment, the present invention is described in more detail.
Figure 1B is a kind of flow of USB mode control method provided in an embodiment of the present invention Schematic diagram, as shown in Figure 1B, the method includes:
Step 101:Whether the wireless working condition for obtaining terminal device meets pre-conditioned judged result.
It should be noted that, the wireless working condition of the terminal device refers to use wireless signal in terminal device When, the working condition of terminal device.
Specifically, the implementation of this step can be mode one, mode two or mode three.
Mode one, this step can be that, when terminal device uses mobile network signals, terminal device is obtained Whether the signal receiving velocity of terminal device is more than the judged result of predetermined threshold value.
It should be noted that, in mode one, the wireless working condition of the terminal device is specially and is set in terminal During for using mobile network signals, terminal device currently receives the rate conditions of mobile network signals.The end The signal receiving velocity of end equipment refers to the speed that terminal device receives mobile network signals.
Specifically, described when terminal device uses mobile network signals, terminal device obtains terminal device Whether signal receiving velocity is more than the judged result step of predetermined threshold value, and implementation process can be to be set in terminal For when carrying out data service using mobile network signals, terminal device judges whether its signal receiving velocity is more than Predetermined threshold value;Terminal device obtain judged result, the judged result for terminal device signal receiving velocity not More than predetermined threshold value, or for the signal receiving velocity of terminal device is more than predetermined threshold value.I.e. in terminal device During using mobile network signals, whether terminal device directly judges its signal receiving velocity more than predetermined threshold value.
Specifically, described when terminal device uses mobile network signals, terminal device obtains terminal device letter Number receiving velocity whether more than predetermined threshold value judged result step, implementation process or can be, in terminal When equipment carries out data service using mobile network signals, terminal device timing judges whether it is operated in carrier wave Polymerization (Carrier Aggregation, CA) pattern;When terminal device does not operate in carrier aggregation mode, I.e. when terminal device is operated in single carrier mode, it is default that terminal device judges that its signal receiving velocity is not more than Threshold value;When terminal device is operated in carrier aggregation mode, whether terminal device judges its signal receiving velocity More than predetermined threshold value;Terminal device obtains judged result, and the judged result receives speed for the signal of terminal device Rate is not more than predetermined threshold value, or for the signal receiving velocity of terminal device is more than predetermined threshold value.I.e. terminal sets It is standby whether not judge its signal receiving velocity directly more than predetermined threshold value, but first determine whether whether it is operated in Carrier aggregation mode, so as to avoid when terminal device does not operate in carrier aggregation mode, terminal device is also needed Judge its signal receiving velocity whether more than predetermined threshold value.
If terminal device is data card, said process can be to be using mobile network signals in data card When user provides service on net, data card timing judges whether it is operated in carrier aggregation mode;In data card When not operating in carrier aggregation mode, i.e., when data card is operated in single carrier mode, data card judges its signal Receiving velocity is not more than predetermined threshold value;When data card is operated in carrier aggregation mode, data card judges that it is believed Whether number receiving velocity is more than predetermined threshold value;Data card obtains judged result, and the judged result is data card Signal receiving velocity is not more than predetermined threshold value, or for the signal receiving velocity of data card is more than predetermined threshold value. Certainly, the terminal device can also be miscellaneous equipment, such as mobile phone, here only be specific by taking data card as an example Illustrate down said process.
It should be noted that, the terminal device can by reading the carrier mode relevant parameter of its memory storage, To judge whether it is operated in carrier aggregation mode.The terminal device can be by reading the shifting of its memory storage Whether network signal receiving velocity relevant parameter is moved to judge its signal receiving velocity more than predetermined threshold value.
Wherein, the predetermined threshold value can be carried out according to the maximum data transfer rate of secondary USB interface pattern Set.The secondary USB interface pattern can refer to the interface modes of USB2.0 and following version, such as USB2.0 interface modes or USB1.0 interface modes.USB2.0 interfaces are specifically as follows in the present embodiment Pattern.If being obtained by actual measurement, the USB interface of terminal device is operated in USB2.0 interface modes When, the maximum data transfer rate of the USB interface is 320Mbps, then the predetermined threshold value is that may be configured as 320Mbps.So that terminal device can be known by this step 101, its current signal receives speed Whether rate is more than the maximum data transfer rate of USB2.0 interface modes.
Wherein, the mobile network signals can be that make use of the second generation, the third generation, forth generation or more The mobile network signals of mobile communication technology, i.e. mobile network signals can be 2G (Generation), 3G Or the mobile network signals such as 4G.
Mode two, this step can be that, when terminal device uses wireless signal, terminal device obtains terminal Whether the wireless signal working frequency of equipment is the judged result for presetting frequency range.
It should be noted that, in mode two, the wireless working condition of the terminal device is specially and is set in terminal It is standby using wireless signal when, the frequency state of wireless signal that terminal device is currently received or launched.The end The wireless signal working frequency of end equipment refers to the frequency of the current wireless signal for receiving or launching of terminal device.
Specifically, described when terminal device uses wireless signal, terminal device obtains the wireless of terminal device Whether signal working frequency is the judged result step for presetting frequency range, and implementation can be mode I or mode Ⅱ。
Mode I, described when terminal device uses wireless signal, terminal device obtains the wireless of terminal device Whether signal working frequency is the judged result for presetting frequency range, and Ke Yiwei uses Wireless Fidelity in terminal device During (Wireless Fidelity, WiFi) signal access network, terminal device obtain its WiFi signal whether work Make the judged result in the first default frequency range.
Specifically, described when terminal device uses WiFi signal access network, terminal device obtains its WiFi Whether signal is operated in the judged result of the first default frequency range, can include, WiFi is passed through in terminal device When signal uses cable network, terminal device timing judges whether the WiFi signal is operated in the first default frequency Section;Terminal device obtains judged result, and the judged result is pre- for the WiFi signal of terminal device is operated in first If frequency range, or for the WiFi signal of terminal device does not operate in the first default frequency range.Such as pass through in mobile phone When WiFi signal uses cable network, mobile phone timing judges whether the WiFi signal is operated in 2.4GHz;Hand Machine obtains judged result, and the judged result is operated in 2.4GHz, or is mobile phone for the WiFi signal of mobile phone WiFi signal do not operate in 2.4GHz.
It should be noted that, the terminal device can by reading the WiFi signal relevant parameter of its memory storage, To judge whether the WiFi signal is operated in the first default frequency range.
Wherein, the described first default frequency range can be carried out according to the most strong jamming frequency range of the first USB interface pattern Set.The first USB interface pattern can refer to the interface modes of USB3.0 and above version, such as USB3.0 interface modes or USB3.1 interface modes.USB3.0 interfaces are specifically as follows in the present embodiment Pattern.If the first USB interface pattern is USB3.0 interface modes, and obtains terminal by actual measurement When the USB interface of equipment is operated in USB3.0 interface modes, the wireless signal interference to 2.4GHz frequency ranges Most strong, so as to influence the use of terminal device 2.4GHz wireless signals, then the first default frequency range can set It is set to 2.4GHz.So that terminal device can know that whether is its WiFi signal by this step 101 It is operated in the most strong jamming frequency range of the first USB interface pattern.
Mode II, described when terminal device uses wireless signal, terminal device obtains the wireless of terminal device Whether signal working frequency is the judged result for presetting frequency range, and Ke Yiwei is registered to mobile network in terminal device After network signal, terminal device obtains the judged result whether its mobile network signals is operated in the second default frequency range.
Specifically, described after terminal device is registered to mobile network signals, terminal device obtains its mobile network Whether network signal is operated in the judged result step of the second default frequency range, and implementation process can be to be set in terminal For after being registered to mobile network signals, terminal device judges whether its mobile network signals is operated in second and presets Frequency range;Terminal device obtains judged result, and the judged result is operated in for the mobile network signals of terminal device Second default frequency range, or for the mobile network signals of terminal device do not operate in the second default frequency range.Exist After terminal device is registered to mobile network signals, terminal device directly judges whether its mobile network signals works In the second default frequency range.
Specifically, described after terminal device is registered to mobile network signals, terminal device obtains its mobile network Whether network signal is operated in the judged result step of the second default frequency range, implementation process or can be, at end After end equipment is registered to mobile network signals, terminal device periodic monitor its registration mobile network signals whether Belong to the mobile network signals of 3G and the above;The shifting of 3G and the above is not belonging in the mobile network signals of registration During dynamic network signal, terminal device judges that its mobile network signals does not operate in the second default frequency range;In registration Mobile network signals when belonging to the mobile network signals of 3G and the above, terminal device judges its mobile network Whether signal is operated in the second default frequency range;Terminal device obtains judged result, and the judged result sets for terminal Standby mobile network signals are operated in the second default frequency range, or are the non-work of the mobile network signals of terminal device Make in the second default frequency range.
Such as after terminal device is registered to mobile network signals, terminal device periodic monitor its registration mobile network Network signal, if belong to the mobile network signals of 3G and the above;It is not belonging in the mobile network signals of registration During the mobile network signals of 3G and the above, terminal device judges that its mobile network signals does not operate in 2.3GHz To 2.5GHz frequency ranges;When the mobile network signals of registration belong to the mobile network signals of 3G and the above, eventually End equipment judges whether its mobile network signals is operated in 2.3GHz to 2.5GHz frequency ranges;Terminal device is obtained Judged result, the judged result is operated in 2.3GHz to 2.5GHz frequently for the mobile network signals of terminal device Section, or for the mobile network signals of terminal device do not operate in 2.3GHz to 2.5GHz frequency ranges.
Wherein, the described second default frequency range can according to the most strong jamming frequency range of the first USB interface pattern, and Mobile network signals working frequency range is configured.If the first USB interface pattern is USB3.0 interface modes, And when being operated in USB3.0 interface modes by actual measurement acquisition terminal device, to the nothing of 2.4GHz frequency ranges The interference of line signal is most strong, so as to influence the use of terminal device 2.4GHz wireless signals;And mobile network believes Number working frequency range include:2.3GHz to 2.5GHz frequency ranges, the working frequency range covers 2.4GHz, then should Second default frequency range is that may be configured as 2.3GHz to 2.5GHz.So that terminal device can be by this step Rapid 101 know, whether the working frequency range of its mobile network signals covers the most capable and experienced of the first USB interface pattern Scrambling section.
It should be noted that, whether the wireless signal working frequency that the terminal device obtains terminal device is default The implementation of the judged result step of frequency range, in addition to mode I or mode II described above, or also Can be other manner, such as terminal device obtains whether its Bluetooth signal working frequency is 2.4GHz.
Mode three, this step can include that, when terminal device uses mobile network signals, terminal device is obtained Whether the signal receiving velocity for taking terminal device is more than the judged result of predetermined threshold value;It is signal in judged result When receiving velocity is more than predetermined threshold value, whether the mobile network signals that terminal device obtains terminal device are operated in The judged result of the second default frequency range.
Wherein, the setting up procedure of predetermined threshold value described herein is identical with the setting up procedure of predetermined threshold value in mode one. Described herein second presets the setting up procedure of frequency range and the setting up procedure phase of the second default frequency range in mode two Together.So that terminal device can be known by this step 101, whether its signal receiving velocity is more than the Whether the maximum data transfer rate of two USB interface patterns, and its working frequency range of mobile network signals covers The most strong jamming frequency range of the first USB interface pattern.
Specifically, the judged result that the terminal device is obtained is that the signal receiving velocity of terminal device is little In predetermined threshold value;Or, the signal receiving velocity of terminal device is more than predetermined threshold value, and the mobile network believes The second default frequency range number is not operated in;Or, the signal receiving velocity of terminal device is more than predetermined threshold value, and The mobile network signals are operated in the second default frequency range.
Step 102:USB interface according to judged result control terminal equipment is operated in the first USB interface Pattern or secondary USB interface pattern.
Wherein, transmission of the transmission rate of the first USB interface pattern more than secondary USB interface pattern Speed.
Specifically, this step can be, the judged result control terminal that terminal device is obtained according to step 101 The USB interface of equipment is operated in the first USB interface pattern or secondary USB interface pattern.In this way, according to The mode of operation of the wireless working state control terminal device USB interface of terminal device, can realize control at a high speed Influence of the use of USB interface pattern to terminal device OTA performances so that be configured with hi-speed USB interface The OTA parameters of terminal device meet relevant criterion, and cause that the terminal for being configured with hi-speed USB interface sets It is standby to use 2.4GHz wireless signals, improve the Experience Degree of user.
Specifically, the implementation of this step can be, mode one, mode two, mode three or mode four.
Mode one, this step can include, pre- for the signal receiving velocity of terminal device is more than in judged result If during threshold value, the USB interface of terminal device control terminal equipment is operated in the first USB interface pattern; Judged result for the signal receiving velocity of terminal device be not more than predetermined threshold value when, terminal device control terminal sets Standby USB interface is operated in secondary USB interface pattern.I.e. in the maximum data of secondary USB interface pattern Transmission rate, when being unsatisfactory for the signal receiving velocity of terminal device, terminal device controls its USB interface to work In the first USB interface pattern;In the maximum data transfer rate of secondary USB interface pattern, terminal is met During the signal receiving velocity of equipment, terminal device controls its USB interface to be operated in secondary USB interface pattern. So that terminal device can not in real time be in hi-speed USB interface pattern, hi-speed USB interface is controlled Influence of the use of pattern to terminal device OTA performances so that the terminal for being configured with hi-speed USB interface sets Standby OTA parameters meet relevant criterion;Terminal device has been taken into account to a certain extent to hi-speed USB interface Requirement of the use and relevant criterion of pattern to the OTA parameters of terminal device.
Such as by taking data card as an example, in the maximum data transfer rate of USB2.0 interface modes, data are unsatisfactory for During the signal receiving velocity of card, data card is that can control its USB interface to be operated in USB3.0 interface modes; In the maximum data transfer rate of USB2.0 interface modes, when meeting the signal receiving velocity of data card, number Its USB interface is can control according to card and is operated in USB2.0 interface modes.So that data card can be with unreal When be in USB3.0 interface modes, control the use of USB3.0 interface modes to data card OTA performances Influence so that the OTA parameters for being configured with the data card of USB3.0 interfaces meet relevant criterion;Certain Data card has been taken into account in degree to the use of USB3.0 interface modes and relevant criterion to the OTA of terminal device The requirement of parameter.
Mode two, this step can include, in judged result for the WiFi signal of terminal device does not operate in the During one default frequency range, the USB interface of terminal device control terminal equipment is operated in the first USB interface pattern; When judged result is operated in the first default frequency range for the WiFi signal of terminal device, terminal device control terminal The USB interface of equipment is operated in secondary USB interface pattern.WiFi signal i.e. in terminal device does not work In the most strong jamming frequency range of the first USB interface pattern, terminal device controls its USB interface to be operated in One USB interface pattern;The most capable and experienced of the first USB interface pattern is operated in the WiFi signal of terminal device During scrambling section, terminal device controls its USB interface to be operated in secondary USB interface pattern.So that eventually End equipment can not in real time be in hi-speed USB interface pattern, control the use of hi-speed USB interface pattern Influence to terminal device OTA performances so that the terminal device for being configured with hi-speed USB interface can be used The WiFi signal of 2.4GHz frequency ranges;Terminal device has been taken into account to a certain extent to hi-speed USB interface pattern And the use of the WiFi signal to 2.4GHz frequency ranges.
Such as by taking mobile phone as an example, when the WiFi signal of mobile phone does not operate in 2.4GHz frequency ranges, mobile phone is controllable Make its USB interface and be operated in USB3.0 interface modes;2.4GHz is operated in the WiFi signal of mobile phone frequently Duan Shi, mobile phone is that can control its USB interface to be operated in USB2.0 interface modes.So that mobile phone can be with USB3.0 interface modes are not in real time, control the use of USB3.0 interface modes to mobile phone OTA The influence of energy so that being configured with the mobile phone of USB3.0 interfaces can use the WiFi signal of 2.4GHz frequency ranges; Mobile phone has been taken into account to a certain extent to USB3.0 interface modes and to the WiFi signal of 2.4GHz frequency ranges Use.
Mode three, this step can include, in judged result for the mobile network signals of terminal device do not work In the second default frequency range, the USB interface of terminal device control terminal equipment is operated in the first USB interface Pattern;When judged result is operated in the second default frequency range for the mobile network signals of terminal device, terminal sets The USB interface of standby control terminal equipment is operated in secondary USB interface pattern.I.e. in the movement of terminal device The working frequency range of network signal, when not covering the most strong jamming frequency range of the first USB interface pattern, terminal device Its USB interface is controlled to be operated in the first USB interface pattern;In the work of the mobile network signals of terminal device Make frequency range, when covering the most strong jamming frequency range of the first USB interface pattern, terminal device controls its USB Interfaces are in secondary USB interface pattern.So that terminal device can not in real time be in high speed USB Interface modes, control influence of the use of hi-speed USB interface pattern to terminal device OTA performances, make The terminal device of hi-speed USB interface must be configured with can use the mobile network signals of 2.4GHz frequency ranges; Terminal device has been taken into account to a certain extent to hi-speed USB interface pattern and the mobile network to 2.4GHz frequency ranges The use of signal.
Such as by taking mobile phone as an example, in the working frequency range of the mobile network signals of mobile phone, 2.4GHz frequency ranges are not covered When, mobile phone control its USB interface is operated in USB3.0 interface modes;In the mobile network signals of mobile phone Working frequency range, when covering 2.4GHz frequency ranges, mobile phone control its USB interface is operated in USB2.0 interfaces Pattern.So that mobile phone can not in real time be in USB3.0 interface modes, USB3.0 interface moulds are controlled Influence of the use of formula to mobile phone OTA performances so that the mobile phone for being configured with USB3.0 interfaces can be used The mobile network signals of 2.4GHz frequency ranges, it is to avoid because the use of USB3.0 interface modes causes the mobile network Network signal weaker or interruption, influence mobile communication quality;Mobile phone has been taken into account to a certain extent to USB3.0 The use of interface modes and the mobile network signals to 2.4GHz frequency ranges.
Mode four, this step can include, pre- for the signal receiving velocity of terminal device is more than in judged result If threshold value, and the mobile network signals are not when operating in the second default frequency range, terminal device control terminal equipment USB interface be operated in the first USB interface pattern;In judged result for the signal of terminal device receives speed When rate is not more than predetermined threshold value, or the signal receiving velocity that judged result is terminal device is more than predetermined threshold value, And the mobile network signals are when being operated in the second default frequency range, the USB interface of terminal device control terminal equipment It is operated in secondary USB interface pattern.I.e. in the maximum data transfer rate of secondary USB interface pattern, no Meet the signal receiving velocity of terminal device, and the mobile network signals working frequency range, do not cover a USB During the most strong jamming frequency range of interface modes, terminal device controls its USB interface to be operated in the first USB interface Pattern;In the maximum data transfer rate of secondary USB interface pattern, the signal for meeting terminal device receives speed During rate, or in the maximum data transfer rate of secondary USB interface pattern, it is unsatisfactory for the signal of terminal device Receiving velocity, and the mobile network signals working frequency range, cover the most capable and experienced of the first USB interface pattern During scrambling section, terminal device controls its USB interface to be operated in secondary USB interface pattern.
So that terminal device can not in real time be in hi-speed USB interface pattern, high speed USB is controlled Influence of the use of interface modes to terminal device OTA performances so that be configured with the end of hi-speed USB interface The OTA parameters of end equipment meet relevant criterion, and cause that the terminal device for being configured with hi-speed USB interface can To use the mobile network signals of 2.4GHz frequency ranges;Terminal device has been taken into account to a certain extent to high speed USB Interface modes, the use to the mobile network signals of 2.4GHz frequency ranges, and relevant criterion is to terminal device The requirement of OTA parameters.
Such as by taking mobile phone as an example, in the maximum data transfer rate of USB2.0 interface modes, mobile phone is unsatisfactory for Signal receiving velocity, and the mobile network signals working frequency range, when not covering 2.4GHz frequency ranges, mobile phone Its USB interface is controlled to be operated in USB3.0 interface modes;Passed in the maximum data of USB2.0 interface modes Defeated speed, when meeting the signal receiving velocity of mobile phone, or in the maximum data biography of USB2.0 interface modes Defeated speed, is unsatisfactory for the signal receiving velocity of mobile phone, and the mobile network signals working frequency range, cover During 2.4GHz frequency ranges, mobile phone control its USB interface is operated in USB2.0 interface modes.So that mobile phone USB3.0 interface modes can not be in real time in, the use of USB3.0 interface modes is controlled to mobile phone OTA The influence of performance so that the OTA parameters for being configured with the mobile phone of USB3.0 interfaces meet relevant criterion, and make The mobile phone of USB3.0 interfaces must be configured with can use the mobile network signals of 2.4GHz frequency ranges;In certain journey Mobile phone has been taken into account on degree to USB3.0 interface modes, the use to the mobile network signals of 2.4GHz frequency ranges, And requirement of the relevant criterion to the OTA parameters of mobile phone.
It should be noted that, the USB interface of the control terminal equipment in this step 102 is operated in first USB interface pattern, can include, terminal device judges whether its USB interface is currently operated in the 2nd USB Interface modes;When USB interface is currently operating in secondary USB interface pattern, terminal device is by its USB The mode of operation of interface is from secondary USB interface pattern switching to the first USB interface pattern;In USB interface Secondary USB interface pattern currently is not operated in, when being operated in the first USB interface pattern, terminal device is not Perform the pattern operation of switching USB interface.
It should be noted that, the USB interface of the control terminal equipment in this step 102 is operated in second USB interface pattern, can include, terminal device judges whether its USB interface is currently operated in a USB Interface modes;When USB interface is currently operating in the first USB interface pattern, terminal device is by its USB The mode of operation of interface is from the first USB interface pattern switching to secondary USB interface pattern;In USB interface The first USB interface pattern currently is not operated in, when being operated in secondary USB interface pattern, terminal device is not Perform the pattern operation of switching USB interface.
Wherein, the terminal device can judge its USB by reading the USB relevant informations that reported Whether interface is currently operated in the first USB interface pattern or secondary USB interface pattern.It is described to have reported USB relevant informations refer to that first terminal equipment is carried out to pass through its USB interface with second terminal equipment Data transfer, the relevant information of itself USB for actively being reported to second terminal equipment.The related letters of the USB Breath at least includes selected USB interface pattern information, can also include the identification information and type of USB interface Number information etc..The USB relevant informations for reporting rear first terminal equipment to have been reported in its memory storage, first eventually The USB interface of end equipment is operated in the USB interface pattern selected in the USB relevant informations.
It should be noted that, in order to ensure the correctness of the data transmitted by terminal device USB interface, this step The USB interface of the control terminal equipment in rapid 102 is operated in the first USB interface pattern or second USB interface pattern, can include, USB interface current transmission data of the terminal device according to terminal device State, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to first USB interface pattern;Or, shape of the terminal device according to the USB interface current transmission data of terminal device State, by the mode of operation of the USB interface of terminal device from the first USB interface pattern switching to the 2nd USB Interface modes.
Specifically, the USB interface of the control terminal equipment is operated in the first USB interface pattern, can be with Including terminal device judges whether its USB interface is currently operated in secondary USB interface pattern;In USB Interface does not operate in secondary USB interface pattern currently, and when being operated in the first USB interface pattern, terminal sets It is standby not perform the pattern operation of switching USB interface;Secondary USB interface pattern is currently operating in USB interface When, terminal device judges whether its USB interface currently transmits data;Do not exist currently in USB interface Transmission data when, terminal device by the mode of operation of its USB interface from secondary USB interface pattern switching to First USB interface pattern;When USB interface currently transmits data, terminal device is returned and performs institute State and judge whether its USB interface currently transmits data.
Specifically, the USB interface of the control terminal equipment is operated in secondary USB interface pattern, can be with Including terminal device judges whether its USB interface is currently operated in the first USB interface pattern;In USB Interface does not operate in the first USB interface pattern currently, and when being operated in secondary USB interface pattern, terminal sets It is standby not perform the pattern operation of switching USB interface;The first USB interface pattern is currently operating in USB interface When, terminal device judges whether its USB interface currently transmits data;Do not exist currently in USB interface Transmission data when, terminal device by the mode of operation of its USB interface from the first USB interface pattern switching to Secondary USB interface pattern;When USB interface currently transmits data, terminal device is returned and performs institute State and judge whether its USB interface currently transmits data.
It should be noted that, the USB interface of the control terminal equipment in this step 102 is operated in first USB interface pattern or secondary USB interface pattern, can include, terminal device passes through re-enumeration terminal The mode of the USB interface of equipment, by the mode of operation of the USB interface of terminal device from secondary USB interface Pattern switching is to the first USB interface pattern;Or, the USB that terminal device passes through re-enumeration terminal device The mode of interface, by the mode of operation of the USB interface of terminal device from the first USB interface pattern switching to Secondary USB interface pattern.Specifically, the mode of the USB interface of the re-enumeration terminal device is Again the mode of selected USB interface pattern information is reported.So that the USB interface of terminal device can To be operated in again selected USB interface pattern.It should be noted that, the present embodiment is only to be in the above described manner Example, specifically illustrates the realization of USB interface mode of operation switching, it is of course also possible to use in the prior art Other manner realize the switching of the USB interface mode of operation.
Wherein, the terminal device can be the terminal devices such as data card or mobile phone.
In order to realize the above method, the invention discloses a kind of USB mode control device.
Fig. 2 is that a kind of structure of USB mode control device provided in an embodiment of the present invention is shown It is intended to, as shown in Fig. 2 the USB mode control device includes:
Acquisition module 201, whether the wireless working condition for obtaining terminal device meets pre-conditioned is sentenced Disconnected result;
Control module 202, the USB interface work for controlling the terminal device according to the judged result In the first USB interface pattern or secondary USB interface pattern;
Wherein, the transmission rate of the first USB interface pattern is more than the secondary USB interface pattern Transmission rate.
Further, acquisition module 201, specifically for when terminal device uses mobile network signals, obtaining Whether the signal receiving velocity of terminal device is more than the judged result of predetermined threshold value;Or, make in terminal device When using wireless signal, whether the wireless signal working frequency for obtaining terminal device is the judged result for presetting frequency range.
Further, acquisition module 201, specifically for using Wireless Fidelity signal access network in terminal device When, obtain the judged result whether terminal device Wireless Fidelity signal is operated in the first default frequency range;Or, After terminal device is registered to mobile network signals, obtain whether terminal device mobile network signals are operated in the The judged result of two default frequency ranges.
Further, control module 202, specifically for the side of the USB interface by re-enumeration terminal device Formula, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to a USB Interface modes;Or, by way of the USB interface of re-enumeration terminal device, by terminal device The mode of operation of USB interface is from the first USB interface pattern switching to secondary USB interface pattern.
Further, control module 202, specifically for the USB interface current transmission data according to terminal device State, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to first USB interface pattern;Or, the state of the USB interface current transmission data according to terminal device will be eventually The mode of operation of the USB interface of end equipment is from the first USB interface pattern switching to secondary USB interface pattern.
In actual applications, the acquisition module 201, control module 202 can be by terminals Central processor (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field-programmable gate array Row (Field Programmable Gate Array, FPGA) etc. are realized.
A kind of knot of USB mode control device specific embodiment that Fig. 3 is provided for the present invention Structure schematic diagram, as shown in figure 3, specifically including:Acquisition module and control module 202;Wherein, mould is obtained Block includes mobile network signals monitoring modular 301 and WiFi signal monitoring modular 302;
Mobile network signals monitoring modular 301, for when terminal device uses mobile network signals, obtaining Whether the signal receiving velocity of terminal device is more than the judged result of predetermined threshold value;Or, for being set in terminal For after being registered to mobile network signals, whether acquisition terminal device mobile network signals are operated in the second default frequency The judged result of section.
WiFi signal monitoring modular 302, for terminal device use Wireless Fidelity signal access network when, Obtain the judged result whether terminal device Wireless Fidelity signal is operated in the first default frequency range.
Control module 202, the USB for controlling the terminal device according to the judged result USB interface is operated in the first USB interface pattern or secondary USB interface pattern;
Wherein, the transmission rate of the first USB interface pattern is more than the secondary USB interface pattern Transmission rate.
Further, the control module 202, specifically for the USB interface by re-enumeration terminal device Mode, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to first USB interface pattern;Or,
By way of the USB interface of re-enumeration terminal device, by the work of the USB interface of terminal device Operation mode is from the first USB interface pattern switching to secondary USB interface pattern.
Further, the control module 202, specifically for the USB interface current transmission according to terminal device The state of data, by the mode of operation of the USB interface of terminal device from secondary USB interface pattern switching to First USB interface pattern;Or,
The state of the USB interface current transmission data according to terminal device, by the USB interface of terminal device Mode of operation from the first USB interface pattern switching to secondary USB interface pattern.
In actual applications, the mobile network signals monitoring modular 301, WiFi signal monitoring modular 302, Control module 202 can by the central processing unit (Central Processing Unit, CPU) in terminal, Microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) Deng realization.
A kind of USB mode control method specific embodiment one that Fig. 4 is provided for the present invention Schematic flow sheet, as shown in figure 4, specific steps include:
Step 401:When terminal device carries out data service using mobile network signals, timing judges terminal Whether equipment is operated in carrier aggregation mode.When terminal device is operated in carrier aggregation mode, step is performed 402, otherwise, perform step 403.
Step 402:Judge the signal receiving velocity of terminal device whether more than predetermined threshold value.In terminal device Signal receiving velocity be more than predetermined threshold value when, perform step 404, otherwise, perform step 403.
Wherein, the predetermined threshold value can be carried out according to the maximum data transfer rate of USB2.0 interface modes Set.If being obtained by actual measurement, the USB interface of terminal device is operated in USB2.0 interface modes When, the maximum data transfer rate of the USB interface is 320Mbps, then the predetermined threshold value is that may be configured as 320Mbps。
Step 403:Judge whether the USB interface of terminal device is currently operated in USB3.0 interface modes, When USB interface is currently operating in USB3.0 interface modes, by the Working mould of the USB interface of terminal device Formula switches to USB2.0 interface modes;Otherwise, the pattern operation of switching USB interface is not performed.
Step 404:Judge whether the USB interface of terminal device is currently operated in USB2.0 interface modes, When USB interface is currently operating in USB2.0 interface modes, by the Working mould of the USB interface of terminal device Formula switches to USB3.0 interface modes;Otherwise, the pattern operation of switching USB interface is not performed.
A kind of USB mode control method specific embodiment two that Fig. 5 is provided for the present invention Schematic flow sheet, as shown in figure 5, specific steps include:
Step 501:When terminal device uses cable network by WiFi signal, the WiFi is regularly judged Whether signal is operated in 2.4GHz.When WiFi signal is operated in 2.4GHz, step 502 is performed, otherwise, Perform step 503.
Step 502:Judge whether the USB interface of terminal device is currently operated in USB3.0 interface modes, When USB interface is currently operating in USB3.0 interface modes, by the Working mould of the USB interface of terminal device Formula switches to USB2.0 interface modes;Otherwise, the pattern operation of switching USB interface is not performed.
Step 503:Judge whether the USB interface of terminal device is currently operated in USB2.0 interface modes, When USB interface is currently operating in USB2.0 interface modes, by the Working mould of the USB interface of terminal device Formula switches to USB3.0 interface modes;Otherwise, the pattern operation of switching USB interface is not performed.
A kind of USB mode control method specific embodiment three that Fig. 6 is provided for the present invention Schematic flow sheet, as shown in fig. 6, specific steps include:
Step 601:After terminal device is registered to mobile network signals, the registration of periodic monitor terminal device Whether mobile network signals belong to the mobile network signals of 3G and the above.In the mobile network signals category of registration When the mobile network signals of 3G and the above, step 602 is performed, otherwise, perform step 604.
Step 602:Judge whether the mobile network signals of terminal device registration are operated in the second default frequency range. When mobile network signals are operated in the second default frequency range, step 603 is performed, otherwise, perform step 604.
Wherein, the described second default frequency range can according to the most strong jamming frequency range of USB3.0 interface modes, and Mobile network signals working frequency range is configured.Terminal device is such as obtained by actual measurement and is operated in USB3.0 During interface modes, the wireless signal interference to 2.4GHz frequency ranges is most strong, so as to influence terminal device 2.4GHz The use of wireless signal;And the working frequency range of mobile network signals includes:2.3GHz to 2.5GHz frequency ranges, The working frequency range covers 2.4GHz, then the second default frequency range is that may be configured as 2.3GHz to 2.5GHz.
Step 603:Judge whether the USB interface of terminal device is currently operated in USB3.0 interface modes, When USB interface is currently operating in USB3.0 interface modes, by the Working mould of the USB interface of terminal device Formula switches to USB2.0 interface modes;Otherwise, the pattern operation of switching USB interface is not performed.
Step 604:Judge whether the USB interface of terminal device is currently operated in USB2.0 interface modes, When USB interface is currently operating in USB2.0 interface modes, by the Working mould of the USB interface of terminal device Formula switches to USB3.0 interface modes;Otherwise, the pattern operation of switching USB interface is not performed.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for ability For the technical staff in domain, the present invention can have various modifications and variations, and protection scope of the present invention is with right It is required that being defined.

Claims (10)

1. a kind of USB mode control method, it is characterised in that methods described includes:
Whether the wireless working condition for obtaining terminal device meets pre-conditioned judged result;
The general-purpose serial bus USB interfaces of the terminal device are controlled the according to the judged result One USB interface pattern or secondary USB interface pattern;
Wherein, the transmission rate of the first USB interface pattern is more than the secondary USB interface pattern Transmission rate.
2. method according to claim 1, it is characterised in that the wireless work of the acquisition terminal device Make whether state meets pre-conditioned judged result, specially:
When terminal device uses mobile network signals, whether the signal receiving velocity for obtaining terminal device is more than The judged result of predetermined threshold value;Or,
When terminal device uses wireless signal, whether the wireless signal working frequency for obtaining terminal device is pre- If the judged result of frequency range.
3. method according to claim 2, it is characterised in that described to use wireless communication in terminal device Number when, obtain terminal device wireless signal working frequency whether be default frequency range judged result, specially:
When terminal device uses Wireless Fidelity signal access network, obtaining terminal device Wireless Fidelity signal is The no judged result for being operated in the first default frequency range;Or,
After terminal device is registered to mobile network signals, obtain whether terminal device mobile network signals work In the judged result of the second default frequency range.
4. method according to claim 1, it is characterised in that the control terminal device USB interface is operated in the first USB interface pattern or secondary USB interface pattern, including:
By way of the USB interface of re-enumeration terminal device, by the work of the USB interface of terminal device Operation mode is from secondary USB interface pattern switching to the first USB interface pattern;Or,
By way of the USB interface of re-enumeration terminal device, by the work of the USB interface of terminal device Operation mode is from the first USB interface pattern switching to secondary USB interface pattern.
5. method according to claim 1, it is characterised in that the control terminal device USB interface is operated in the first USB interface pattern or secondary USB interface pattern, including:
The state of the USB interface current transmission data according to terminal device, by the USB interface of terminal device Mode of operation from secondary USB interface pattern switching to the first USB interface pattern;Or,
The state of the USB interface current transmission data according to terminal device, by the USB interface of terminal device Mode of operation from the first USB interface pattern switching to secondary USB interface pattern.
6. a kind of USB mode control device, it is characterised in that described device includes:
Whether acquisition module, the wireless working condition for obtaining terminal device meets pre-conditioned judgement knot Really;
Control module, the general-purpose serial bus USB for controlling the terminal device according to the judged result Interfaces are in the first USB interface pattern or secondary USB interface pattern;
Wherein, the transmission rate of the first USB interface pattern is more than the secondary USB interface pattern Transmission rate.
7. device according to claim 6, it is characterised in that the acquisition module, specifically for When terminal device uses mobile network signals, whether the signal receiving velocity of terminal device is obtained more than default threshold The judged result of value;Or, when terminal device uses wireless signal, obtain the wireless signal of terminal device Whether working frequency is the judged result for presetting frequency range.
8. device according to claim 7, it is characterised in that the acquisition module, specifically for When terminal device uses Wireless Fidelity signal access network, obtain whether terminal device Wireless Fidelity signal works In the judged result of the first default frequency range;Or, after terminal device is registered to mobile network signals, obtain Whether terminal device mobile network signals are operated in the judged result of the second default frequency range.
9. device according to claim 6, it is characterised in that the control module, specifically for logical The mode of the USB interface of re-enumeration terminal device is crossed, by the mode of operation of the USB interface of terminal device From secondary USB interface pattern switching to the first USB interface pattern;Or, set by re-enumeration terminal The mode of standby USB interface, by the mode of operation of the USB interface of terminal device from the first USB interface mould Formula switches to secondary USB interface pattern.
10. device according to claim 6, it is characterised in that the control module, specifically for The state of the USB interface current transmission data according to terminal device, by the work of the USB interface of terminal device Operation mode is from secondary USB interface pattern switching to the first USB interface pattern;Or, according to terminal device USB interface current transmission data state, by the mode of operation of the USB interface of terminal device from first USB interface pattern switching is to secondary USB interface pattern.
CN201510818310.9A 2015-11-23 2015-11-23 A kind of USB mode control method and device Pending CN106776417A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510818310.9A CN106776417A (en) 2015-11-23 2015-11-23 A kind of USB mode control method and device
PCT/CN2016/074281 WO2017088308A1 (en) 2015-11-23 2016-02-22 Universal serial bus interface mode controlling method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510818310.9A CN106776417A (en) 2015-11-23 2015-11-23 A kind of USB mode control method and device

Publications (1)

Publication Number Publication Date
CN106776417A true CN106776417A (en) 2017-05-31

Family

ID=58763921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510818310.9A Pending CN106776417A (en) 2015-11-23 2015-11-23 A kind of USB mode control method and device

Country Status (2)

Country Link
CN (1) CN106776417A (en)
WO (1) WO2017088308A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092986A (en) * 2017-12-27 2018-05-29 北京传嘉科技有限公司 The data transmission method and device of mobile terminal
WO2018225624A1 (en) * 2017-06-06 2018-12-13 キヤノン株式会社 Wireless communication device and control method therefor
CN109257081A (en) * 2018-09-03 2019-01-22 珠海格力电器股份有限公司 Communication control method and device of terminal, storage medium and terminal
CN109426644A (en) * 2017-08-31 2019-03-05 西安中兴新软件有限责任公司 A kind of rate adjusting method and device, equipment of USB data transmission
JP2019102917A (en) * 2017-11-30 2019-06-24 キヤノン株式会社 Wireless communication device and control method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7140470B2 (en) * 2017-06-06 2022-09-21 キヤノン株式会社 Wireless communication device and its control method
CN108418714A (en) * 2018-02-24 2018-08-17 上海康斐信息技术有限公司 A kind of method and apparatus preventing USB3.0 interference wireless networks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315881A (en) * 2010-07-09 2012-01-11 新科实业有限公司 Optical communication module, universal serial bus cable with the same and processing method of data transfer thereof
CN102523634A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Data card for wireless Internet access and method for improving wireless receiving sensitivity
US20140244852A1 (en) * 2013-02-27 2014-08-28 Ralink Technology Corp. Method of Reducing Mutual Interference between Universal Serial Bus (USB) data transmission and wireless data transmission
CN104079415A (en) * 2013-03-27 2014-10-01 瑞昱半导体股份有限公司 Network device and connection detection method thereof
CN104102603A (en) * 2013-04-09 2014-10-15 瑞昱半导体股份有限公司 USB (Universal Serial Bus) network interface controller and operation mode switching method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997956A (en) * 2009-08-17 2011-03-30 联想(北京)有限公司 Method for switching work mode of mobile terminal and mobile terminal
CN101661445A (en) * 2009-09-04 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Connection switching method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315881A (en) * 2010-07-09 2012-01-11 新科实业有限公司 Optical communication module, universal serial bus cable with the same and processing method of data transfer thereof
CN102523634A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Data card for wireless Internet access and method for improving wireless receiving sensitivity
US20140244852A1 (en) * 2013-02-27 2014-08-28 Ralink Technology Corp. Method of Reducing Mutual Interference between Universal Serial Bus (USB) data transmission and wireless data transmission
CN104079415A (en) * 2013-03-27 2014-10-01 瑞昱半导体股份有限公司 Network device and connection detection method thereof
CN104102603A (en) * 2013-04-09 2014-10-15 瑞昱半导体股份有限公司 USB (Universal Serial Bus) network interface controller and operation mode switching method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王琼 编著: "《单片机原理及应用 (第二版)》", 30 June 2013 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018225624A1 (en) * 2017-06-06 2018-12-13 キヤノン株式会社 Wireless communication device and control method therefor
US11539391B2 (en) 2017-06-06 2022-12-27 Canon Kabushiki Kaisha Wireless communication apparatus and control method therefor
CN109426644A (en) * 2017-08-31 2019-03-05 西安中兴新软件有限责任公司 A kind of rate adjusting method and device, equipment of USB data transmission
JP2019102917A (en) * 2017-11-30 2019-06-24 キヤノン株式会社 Wireless communication device and control method thereof
JP7130366B2 (en) 2017-11-30 2022-09-05 キヤノン株式会社 Communication device and its control method
CN108092986A (en) * 2017-12-27 2018-05-29 北京传嘉科技有限公司 The data transmission method and device of mobile terminal
CN109257081A (en) * 2018-09-03 2019-01-22 珠海格力电器股份有限公司 Communication control method and device of terminal, storage medium and terminal
CN109257081B (en) * 2018-09-03 2020-06-30 珠海格力电器股份有限公司 Communication control method and device of terminal, storage medium and terminal

Also Published As

Publication number Publication date
WO2017088308A1 (en) 2017-06-01

Similar Documents

Publication Publication Date Title
CN106776417A (en) A kind of USB mode control method and device
CN108282166B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
CN103493546B (en) A system and method for acquiring network data
CN201490337U (en) Monopole radio-frequency antenna
CN101938819B (en) System and method for controlling power consumption of mobile terminal
CN106374959A (en) Circuit, transmission system and method for determining proximity of an object
CN108966242B (en) Coverage estimation method and device for narrow-band Internet of things
CN110637479A (en) Mobile communication based on altitude position status
CN101667680A (en) Monopole radio frequency antenna
US20220330075A1 (en) Radio resource management measurement method and apparatus
Catarinucci et al. Performance analysis of passive UHF RFID tags with GNU-radio
KR20220120668A (en) How to choose an antenna and related products
Wu et al. Review of the EMC Aspects of Internet of Things
CN108233956B (en) Mutual interference processing method, device, storage medium and electronic equipment coexists in antenna
CN115668792A (en) UE adaptive beam management method and device
CN116830766A (en) Communication method and communication device
CN113595580B (en) Wireless communication method, electronic device, antenna and tuning device
CN108076474A (en) Transmission device, transmission method and transmission system
TW202127937A (en) Transmit power of wireless communication
CN110798882B (en) Method and device for improving uplink performance and user terminal
WO2024041044A1 (en) Control method and apparatus for terminal antenna
CN116669095A (en) Communication method and device based on 5G and distributed deployment
Radhi et al. SDR-based intelligent cooperative spectrum sensing for cognitive radio systems
CN104467881A (en) Communication device and relevant signal receiving device thereof
US11304192B2 (en) Output power based on communication bands

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531