CN109743141A - A kind of method of adjustment and terminal device of data transmission - Google Patents
A kind of method of adjustment and terminal device of data transmission Download PDFInfo
- Publication number
- CN109743141A CN109743141A CN201910129160.9A CN201910129160A CN109743141A CN 109743141 A CN109743141 A CN 109743141A CN 201910129160 A CN201910129160 A CN 201910129160A CN 109743141 A CN109743141 A CN 109743141A
- Authority
- CN
- China
- Prior art keywords
- signal strength
- numerical value
- threshold
- strength information
- information
- 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.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides the methods of adjustment and terminal device of a kind of transmission of data, solve the problems, such as how to reduce the interference that USB data transmission transmits radio communication.The method of adjustment of the embodiment of the present invention includes: to obtain RF signal strength information in the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission;In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to first signal strength threshold.The embodiment of the present invention is by being adjusted USB driving capability grade, influence of the USB data transmission to radio frequency data transmission can be further decreased compared with the existing technology, guarantee certain rf communication signal intensity, and then guarantee the transmission rate of radio communication, meets the transmission demand of user.
Description
Technical field
The method of adjustment and terminal device transmitted the present invention relates to field of communication technology more particularly to a kind of data.
Background technique
Universal serial bus (Universal Serial Bus, USB) transmission is one of the major way of data transmission, is moved
The devices such as dynamic terminal (mobile phone, PAD, laptop etc.), router, data card, smart television, vehicle-mounted internet system are all adopted
With USB data transmission mode, convenient data transmission experience is provided for user.Meanwhile it all being supported on these terminals or device
Radio communication function (supports global system for mobile communications gsm protocol, CDMA CDMA agreement, TD SDMA TD-
At least one of SCDMA agreement, wideband code division multiple access WCDMA agreement, long term evolution LTE protocol), it is mutual that network is provided for user
Experience even.
When USB data transmission and radio communication scene exist simultaneously, USB data transmission can generate radio frequency band interference letter
Radio communication number is interfered with, reduces radio communication quality, while USB data transmission also will receive the interference of rf communication signal and lead
Cause the decline of USB data transmission rate.
A kind of existing method is in specific standard such as gsm protocol, CDMA agreement, TD-SCDMA agreement or WCDMA
Agreement uses the transmission mode of USB2.0, because the radio frequency interference that USB2.0 low rate generates is small compared with USB3.0.It is strong in LTE protocol
Signal uses the transmission mode of USB3.0, and USB2.0 is used in LTE protocol weak signal, avoids the interference of USB3.0 transmission mode
LTE protocol communication is had an impact.
The above method has the disadvantage that the transmission of USB2.0 and USB3.0 data all can generate interference to radio frequency band, i.e.,
Make to be limited to USB2.0 agreement and is still difficult to avoid that USB data transmission to gsm protocol, CDMA agreement, TD-SCDMA agreement, WCDMA
Agreement, LTE protocol radio communication interference, only annoyance level opposite may weaken.
Summary of the invention
The embodiment of the present invention provides the method for adjustment and terminal device of a kind of data transmission, to solve how to reduce USB number
The problem of interference radio communication transmitted according to transmission.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal device, packet the embodiment of the invention provides a kind of method of adjustment of data transmission
It includes:
In the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission, RF signal strength is obtained
Information;
In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, adjustment is current
USB driving capability grade, until the corresponding numerical value of RF signal strength information is more than or equal to the first signal strength threshold
Value.
Second aspect, the embodiment of the invention also provides a kind of terminal devices, comprising:
First obtains module, is used in the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission,
Obtain RF signal strength information;
The first adjustment module is used in the corresponding numerical value of the RF signal strength information less than the first signal strength threshold
In the case where, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to institute
State the first signal strength threshold.
The third aspect the embodiment of the invention also provides a kind of terminal device, including processor, memory and is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing the method for adjustment of data transmission as described above.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Computer program is stored on storage media, the computer program realizes the tune of data transmission as described above when being executed by processor
The step of adjusting method.
The embodiment of the present invention has the advantages that
The above-mentioned technical proposal of the embodiment of the present invention is carrying out the transmission of general-purpose serial bus USB data and rf data biography
In the case where defeated, RF signal strength information is obtained;In the corresponding numerical value of the RF signal strength information less than the first signal
In the case where intensity threshold, adjust current USB driving capability grade, until the corresponding numerical value of RF signal strength information be greater than or
Person is equal to first signal strength threshold.The embodiment of the present invention is by being adjusted USB driving capability grade, relative to existing
There is technology that can further decrease influence of the USB data transmission to radio frequency data transmission, guarantees that certain rf communication signal is strong
Degree, and then guarantee the transmission rate of radio communication, meet the transmission demand of user.
Detailed description of the invention
Fig. 1 is one of the flow diagram of method of adjustment that the data of the embodiment of the present invention are transmitted;
Fig. 2 is the two of the flow diagram for the method for adjustment that the data of the embodiment of the present invention are transmitted;
Fig. 3 is one of the module diagram of terminal device provided in an embodiment of the present invention;
Fig. 4 is the two of the module diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, the flow diagram of the method for adjustment for the data transmission of the embodiment of the present invention.It should scheme to have below
Body illustrates the implementation process of this method.
It should be noted that the method for adjustment of data transmission provided in an embodiment of the present invention, is applied to terminal device, the end
Radio frequency data transmission and the transmission of USU data are supported while being carried out to end equipment.
Wherein, the method for adjustment of data transmission may comprise steps of:
Step 101: in the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission, obtaining radio frequency
Signal strength information.
Above-mentioned USB data transmission refers to that terminal device and other equipment (such as computer) establish connection by USB interface, and
Carried out data transmission by USB interface.
Above-mentioned radio frequency data transmission refers to that Radio-Frequency Wireless Communication transmits, such as based on gsm protocol, CDMA agreement, TD-
The wireless communication transmissions of at least one of SCDMA agreement, WCDMA agreement and LTE protocol agreement.
Above-mentioned RF signal strength information includes: Reference Signal Received Power RSRP and/or signal and interference-to-noise ratio
SINR.The RF signal strength information of the embodiment of the present invention can reflect the communications status between terminal device and base station, higher
RF signal strength can guarantee faster wireless communication transmissions rate and handling capacity.Conversely, wireless communication transmissions rate and gulping down
The amount of spitting can reduce, and influence the web experience of terminal device.
Terminal device simultaneously carry out USB data transmission and radio frequency data transmission in the case where, obtain RSRP and/or
Whether SINR judges current radio communication by the larger of usb communication in order to subsequent according to the RF signal strength information
Interference.
Step 102: in the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold,
Current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to first letter
Number intensity threshold.
Here, when the corresponding numerical value of RF signal strength information is less than above-mentioned first signal strength threshold, show radio frequency
The rate of data transmission is too low, is not able to satisfy the transmission needs of user, influences whether the online experience of user.I.e. usb data passes
It is defeated that biggish interference is caused to radio frequency data transmission.
And when the corresponding numerical value of RF signal strength information is more than or equal to the first signal strength threshold, show radio frequency
The rate of data transmission can satisfy the transmission demand of user, i.e. transmission speed of the rate of radio frequency data transmission greater than user demand
Rate, specifically, the difference of the transmission rate of the quantity and user demand of radio frequency data transmission is the first numerical value at this time.
In addition, in the embodiment of the present invention, USB driving capability grade can according to signal voltage amplitude, driving current intensity,
Time span etc. of the rise and fall between is divided into different brackets.
In the embodiment of the present invention, in the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission, obtain
Take RF signal strength information;The case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold
Under, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to described first
Signal strength threshold.The embodiment of the present invention, compared with the existing technology can be into one by being adjusted to USB driving capability grade
Step reduces influence of the USB data transmission to radio frequency data transmission, guarantees certain rf communication signal intensity, and then guarantee radio frequency
The transmission rate of communication meets the transmission demand of user.
Further, above-mentioned acquisition RF signal strength information, comprising:
Obtain the target radio frequency communication information;Obtain target USB driving capability corresponding with the target radio frequency communication information
Grade;It is the target USB driving capability grade by USB driving capability level adjustment;After being spaced preset time, radio frequency letter is obtained
Number strength information.
In the embodiment of the present invention, above-mentioned target radio frequency information may include in communication standard, communications band and communication channel
At least one of.Communication instruction includes: at least one in GSM, CDMA, TD-SCDMA and WCDMA.
And target radio frequency communication information pass corresponding with USU driving capability grade is previously stored in the embodiment of the present invention
System.After obtaining the target radio frequency communication information, according to the corresponding relationship, mesh corresponding with the target radio frequency communication information is found
USB driving capability grade is marked, and is the target USB driving capability grade by USB driving capability level adjustment, finally, interval
After preset time (refreshing of the target radio frequency communication information), then obtain RF signal strength information.At this point, the radiofrequency signal obtained is strong
Information is spent, is RF signal strength information when carrying out USB data transmission under target USB driving capability grade.
Further, the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold
Under, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to described first
Signal strength threshold, comprising:
In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, USB is reduced
Driving capability grade;After being spaced preset time, RF signal strength information is reacquired;In the RF signal strength of reacquisition
In the case that the corresponding numerical value of information is less than the first signal strength threshold, continue to reduce USB driving capability grade, until radio frequency is believed
Number corresponding numerical value of strength information is more than or equal to first signal strength threshold.
Specifically, reduce USB driving capability grade method include reduce signal voltage amplitude, reduce driving current it is strong
At least one of time between degree and the rising edge and failing edge that increase signal.
Here, in the case where the corresponding numerical value of RF signal strength information is less than the first signal strength threshold, according to pre-
Fixed number value reduces USB driving capability grade, such as the predetermined value is 1, then current USB driving capability grade is reduced by 1 grade,
L-1 grades are reduced to by L grades, and after the preset time after being reduced to L-1 grades, reacquire RF signal strength information, and
Whether continue to judge the corresponding numerical value of RF signal strength information less than the first signal strength threshold, if so, reduce by 1 grade again,
L-2 grades are adjusted to, the step of obtaining RF signal strength signal is then proceeded to, is recycled with this, until the radio frequency obtained
The corresponding numerical value of signal strength information is more than or equal to the first signal strength threshold.
Wherein, USB driving capability lower grade, lower to the interference of radio communication, and L is positive number.
Further, after acquisition RF signal strength information, further includes:
It is more than or equal to the first signal strength threshold in the corresponding numerical value of the RF signal strength information, and is greater than the
In the case where binary signal intensity threshold, USB driving capability grade is increased, the second signal intensity threshold is greater than first letter
Number intensity threshold;
After being spaced preset time, RF signal strength information is reacquired;
In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, adjustment is current
USB driving capability grade, so that the corresponding numerical value of RF signal strength information is more than or equal to the first signal strength threshold
It is worth and is less than or equal to the second signal intensity threshold.
In the embodiment of the present invention, it is more than or equal to second signal intensity threshold in the corresponding numerical value of RF signal strength information
When value, show that the rate of radio frequency data transmission can fully meet the transmission demand of user, and has certain more than needed, i.e. radio frequency number
It is second value according to the difference between the rate of transmission and the transmission rate of user demand, and second value is greater than above-mentioned first number
Value, at this point, the driving capability grade of USB transmission data-signal can be increased, suitably to promote the anti-interference of USB transmission data-signal
Ability.I.e. in the case where the corresponding numerical value of the RF signal strength information is greater than second signal intensity threshold, increases USB and drive
Kinetic force grade, such as level-one is improved, and after improving level-one USB driving capability grade and interval preset time, reacquire
RF signal strength information, and the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold
Under, current USB driving capability grade is adjusted, so that the corresponding numerical value of RF signal strength information is maintained at the first signal strength threshold
Between value and second signal intensity threshold.
Wherein, increase USB driving capability grade method include improve signal voltage amplitude and increase driving current it is strong
At least one of degree.
It, can the first target radio frequency communication information according to the pre-stored data and USU driving capability grade in the embodiment of the present invention
Corresponding relationship carries out adjustment by a relatively large margin to USB driving capability grade, then corresponding further according to RF signal strength information
Relationship between numerical value and the first signal strength threshold and second signal intensity threshold is finely adjusted USB driving capability grade,
Under the premise of largely reducing the interference that USB data transmission transmits radio communication data, guarantee USB transmission data letter
Number anti-interference ability.
Further, after acquisition RF signal strength information, further includes:
The corresponding numerical value of the RF signal strength information be more than or equal to the first signal strength threshold, and be less than or
In the case that person is equal to second signal intensity threshold, saves and update current USB driving capability grade and communicate letter with target radio frequency
The corresponding relationship of breath, the second signal intensity threshold are greater than first signal strength threshold.
Here, it is more than or equal to the first signal strength threshold in the corresponding numerical value of RF signal strength information, and is less than
Or it is communicated equal to saving and updating current USB driving capability grade in the case where second signal intensity threshold with target radio frequency
The corresponding relationship of information updates the corresponding pass between the pre-stored target radio frequency communication information and USB driving capability grade
System.
It is illustrated below with reference to a specific embodiment come the method for adjustment of the data transmission to the embodiment of the present invention.
As shown in Figure 2, comprising:
Step 201: terminal device is detected connection is established by USB interface with other equipment after, open USB data transmission
Mode.
Step 202: obtaining the target radio frequency communication information, and obtain current USB driving capability grade D.
Step 203: in relation table according to the pre-stored data, obtaining USB corresponding with the target radio frequency communication information and drive energy
Power grade M.
Here, the target radio frequency communication information and USB according to corresponding relationship storage are preserved in pre-stored relation table
Driving capability grade.
Step 204: being M by USB driving capability level adjustment.
Step 205: after the preset time of interval, terminal device obtains RF signal strength information.
Step 206: judging the corresponding numerical value of RF signal strength information whether less than the first signal strength threshold.
In the embodiment of the present invention, the first different signal strength thresholds can be set according to the different target radio frequency communication informations
Value.
Step 207:, will in the case where the corresponding numerical value of RF signal strength information is less than the first signal strength threshold
USB driving capability grade reduces level-one, and jumps to step 205.
Step 208: being more than or equal to the feelings of the first signal strength threshold in the corresponding numerical value of RF signal strength information
Under condition, judge whether the corresponding numerical value of RF signal strength information is greater than second signal intensity threshold.
Wherein, second signal intensity threshold is greater than the first signal strength threshold.
Step 209: when the corresponding numerical value of RF signal strength information is greater than second signal intensity threshold, increasing USB and drive
Kinetic force grade level-one, and jump to step 205.
Step 210: when the corresponding numerical value of RF signal strength information is less than or equal to second signal intensity threshold, obtaining
Take current the target radio frequency communication information and USB driving capability grade.
Step 211: saving the corresponding relationship of current the target radio frequency communication information and USB driving capability grade, and update
Into pre-stored relation table.
The method of adjustment of the data transmission of the embodiment of the present invention, is carrying out the transmission of general-purpose serial bus USB data and radio frequency
In the case that data are transmitted, RF signal strength information is obtained;In the corresponding numerical value of the RF signal strength information less than
In the case where one signal strength threshold, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information
More than or equal to first signal strength threshold.The embodiment of the present invention is by being adjusted USB driving capability grade, phase
Influence of the USB data transmission to radio frequency data transmission can be further decreased for the prior art, guarantee certain radio communication
Signal strength, and then guarantee the transmission rate of radio communication, meet the transmission demand of user.
Separately, it is preferable that in the embodiment of the present invention, current USB driving capability grade is being adjusted, until RF signal strength is believed
Corresponding numerical value is ceased more than or equal to after first signal strength threshold, can also further decrease usb protocol, for example,
It is reduced to USB2.0 agreement from USB3.0 agreement, effectively to avoid USB transmission to the interference problem of radio communication frequency range, simultaneously to the greatest extent
Possible guarantee USB transmission data rate, can farthest reduce the mutual interference effect of USB data transmission and radio communication,
Improve user experience.
As shown in figure 3, the embodiment of the invention also provides a kind of terminal devices 300, comprising:
First obtains module 301, for the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission
Under, obtain RF signal strength information;
The first adjustment module 302 is used in the corresponding numerical value of the RF signal strength information less than the first signal strength
In the case where threshold value, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is greater than or waits
In first signal strength threshold.
The terminal device of the embodiment of the present invention, as shown in figure 4, the first acquisition module 301 includes:
First acquisition submodule 3011, for obtaining the target radio frequency communication information;
Second acquisition submodule 3012 drives energy for obtaining target USB corresponding with the target radio frequency communication information
Power grade;
The first adjustment submodule 3013, for being described target USB driving capability etc. by USB driving capability level adjustment
Grade;
Third acquisition submodule 3014 obtains RF signal strength information after being spaced preset time;
Wherein, the target radio frequency communication information includes at least one in communication standard, communications band and communication channel.
The terminal device of the embodiment of the present invention, the first adjustment module 302 include:
Second adjustment submodule 3021, for strong less than the first signal in the corresponding numerical value of the RF signal strength information
In the case where spending threshold value, USB driving capability grade is reduced;
4th acquisition submodule 3022 reacquires RF signal strength information after being spaced preset time;
Third adjusting submodule 3023, for the corresponding numerical value of RF signal strength information in reacquisition less than first
In the case where signal strength threshold, continue to reduce USB driving capability grade, until the corresponding numerical value of RF signal strength information is big
In or equal to first signal strength threshold.
The terminal device of the embodiment of the present invention, further includes:
Second adjustment module 303, for being more than or equal to first in the corresponding numerical value of the RF signal strength information
Signal strength threshold, and greater than in the case where second signal intensity threshold, increase USB driving capability grade, the second signal
Intensity threshold is greater than first signal strength threshold;
Second obtains module 304, after being spaced preset time, reacquires RF signal strength information;
Third adjusts module 305, is used in the corresponding numerical value of the RF signal strength information less than the first signal strength
In the case where threshold value, current USB driving capability grade is adjusted, so that the corresponding numerical value of RF signal strength information is greater than or waits
In first signal strength threshold and it is less than or equal to the second signal intensity threshold.
The terminal device of the embodiment of the present invention, further includes:
4th adjustment module 306, for being more than or equal to first in the corresponding numerical value of the RF signal strength information
Signal strength threshold, and less than or equal in the case where second signal intensity threshold, it saves and updates current USB driving capability
The corresponding relationship of grade and the target radio frequency communication information, the second signal intensity threshold are greater than the first signal strength threshold
Value.
The terminal device of the embodiment of the present invention is carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission
In the case of, obtain RF signal strength information;In the corresponding numerical value of the RF signal strength information less than the first signal strength
In the case where threshold value, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is greater than or waits
In first signal strength threshold.The embodiment of the present invention is by being adjusted USB driving capability grade, relative to existing skill
Art can further decrease influence of the USB data transmission to radio frequency data transmission, guarantee certain rf communication signal intensity, into
And guarantee the transmission rate of radio communication, meet the transmission demand of user.
A kind of hardware structural diagram of Fig. 5 terminal of each embodiment to realize the present invention, the terminal 500 include but not
It is limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit
506, the components such as user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511.This field
Technical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 5, and terminal may include than illustrating more
More or less component perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal includes
But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission
Under, obtain RF signal strength information;In the corresponding numerical value of the RF signal strength information less than the first signal strength threshold
In the case where, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to institute
State the first signal strength threshold.
The processor can be realized each process of the method for adjustment embodiment of above-mentioned data transmission, and can reach identical
Technical effect, to avoid repeating, which is not described herein again.
The above-mentioned technical proposal of the embodiment of the present invention is carrying out the transmission of general-purpose serial bus USB data and rf data biography
In the case where defeated, RF signal strength information is obtained;In the corresponding numerical value of the RF signal strength information less than the first signal
In the case where intensity threshold, adjust current USB driving capability grade, until the corresponding numerical value of RF signal strength information be greater than or
Person is equal to first signal strength threshold.The embodiment of the present invention is by being adjusted USB driving capability grade, relative to existing
There is technology that can further decrease influence of the USB data transmission to radio frequency data transmission, guarantees that certain rf communication signal is strong
Degree, and then guarantee the transmission rate of radio communication, meet the transmission demand of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 500 executes.Sound
Frequency output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 5061, and proximity sensor can close display panel when terminal 500 is moved in one's ear
5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 505 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 507 include touch panel 5071 and other
Input equipment 5072.Touch panel 5071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 5071 or near touch panel 5071
Operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receives processor 510
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.
Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 5071 and display panel 5061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 508 is the interface that external device (ED) is connect with terminal 500.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 500 or can be used for terminal 500 and external device (ED) it
Between transmit data.
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 509, and call and be stored in memory 509
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 510 may include one
Or multiple processing units;Preferably, processor 510 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 510.
Terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 can be with
It is logically contiguous by power-supply management system and processor 510, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor, and memory is stored in memory
Computer program that is upper and can running on the processor, the computer program realize that above-mentioned data pass when being executed by processor
Each process of defeated method of adjustment embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of the method for adjustment embodiment of above-mentioned data transmission when being executed by processor
Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of method of adjustment of data transmission, is applied to terminal device characterized by comprising
In the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission, RF signal strength information is obtained;
In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, current USB is adjusted
Driving capability grade, until the corresponding numerical value of RF signal strength information is more than or equal to first signal strength threshold.
2. the method for adjustment of data transmission according to claim 1, which is characterized in that the acquisition RF signal strength letter
Breath, comprising:
Obtain the target radio frequency communication information;
Obtain target USB driving capability grade corresponding with the target radio frequency communication information;
It is the target USB driving capability grade by USB driving capability level adjustment;
After being spaced preset time, RF signal strength information is obtained;
Wherein, the target radio frequency communication information includes at least one in communication standard, communications band and communication channel.
3. the method for adjustment of data transmission according to claim 1 or 2, which is characterized in that in the RF signal strength
In the case that the corresponding numerical value of information is less than the first signal strength threshold, current USB driving capability grade is adjusted, until radio frequency is believed
Number corresponding numerical value of strength information is more than or equal to first signal strength threshold, comprising:
In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, USB driving is reduced
Ability rating;
After being spaced preset time, RF signal strength information is reacquired;
In the case where the corresponding numerical value of RF signal strength information of reacquisition is less than the first signal strength threshold, continue to drop
Low USB driving capability grade, until the corresponding numerical value of RF signal strength information is more than or equal to first signal strength
Threshold value.
4. the method for adjustment of data according to claim 2 transmission, which is characterized in that obtain RF signal strength information it
Afterwards, further includes:
It is more than or equal to the first signal strength threshold in the corresponding numerical value of the RF signal strength information, and is greater than the second letter
In the case where number intensity threshold, USB driving capability grade is increased, it is strong that the second signal intensity threshold is greater than first signal
Spend threshold value;
After being spaced preset time, RF signal strength information is reacquired;
In the case where the corresponding numerical value of the RF signal strength information is less than the first signal strength threshold, current USB is adjusted
Driving capability grade, so that the corresponding numerical value of RF signal strength information is more than or equal to first signal strength threshold simultaneously
Less than or equal to the second signal intensity threshold.
5. the method for adjustment of data according to claim 2 transmission, which is characterized in that obtain RF signal strength information it
Afterwards, further includes:
It is more than or equal to the first signal strength threshold in the corresponding numerical value of the RF signal strength information, and is less than or waits
In the case where second signal intensity threshold, saves and update current USB driving capability grade and the target radio frequency communication information
Corresponding relationship, the second signal intensity threshold are greater than first signal strength threshold.
6. a kind of terminal device characterized by comprising
First obtains module, for obtaining in the case where carrying out the transmission of general-purpose serial bus USB data and radio frequency data transmission
RF signal strength information;
The first adjustment module, in feelings of the corresponding numerical value of the RF signal strength information less than the first signal strength threshold
Under condition, current USB driving capability grade is adjusted, until the corresponding numerical value of RF signal strength information is more than or equal to described the
One signal strength threshold.
7. terminal device according to claim 6, which is characterized in that described first, which obtains module, includes:
First acquisition submodule, for obtaining the target radio frequency communication information;
Second acquisition submodule, for obtaining target USB driving capability grade corresponding with the target radio frequency communication information;
The first adjustment submodule, for being the target USB driving capability grade by USB driving capability level adjustment;
Third acquisition submodule obtains RF signal strength information after being spaced preset time;
Wherein, the target radio frequency communication information includes at least one in communication standard, communications band and communication channel.
8. terminal device according to claim 6 or 7, which is characterized in that the first adjustment module includes:
Second adjustment submodule, in the corresponding numerical value of the RF signal strength information less than the first signal strength threshold
In the case of, reduce USB driving capability grade;
4th acquisition submodule reacquires RF signal strength information after being spaced preset time;
Third adjusting submodule, for the corresponding numerical value of RF signal strength information in reacquisition less than the first signal strength
In the case where threshold value, continue to reduce USB driving capability grade, until the corresponding numerical value of RF signal strength information is greater than or waits
In first signal strength threshold.
9. terminal device according to claim 7, which is characterized in that further include:
Second adjustment module, for being more than or equal to the first signal strength in the corresponding numerical value of the RF signal strength information
Threshold value, and greater than in the case where second signal intensity threshold, increase USB driving capability grade, the second signal intensity threshold
Greater than first signal strength threshold;
Second obtains module, after being spaced preset time, reacquires RF signal strength information;
Third adjusts module, in feelings of the corresponding numerical value of the RF signal strength information less than the first signal strength threshold
Under condition, current USB driving capability grade is adjusted, so that the corresponding numerical value of RF signal strength information is more than or equal to described the
One signal strength threshold is simultaneously less than or equal to the second signal intensity threshold.
10. terminal device according to claim 7, which is characterized in that further include:
4th adjustment module, for being more than or equal to the first signal strength in the corresponding numerical value of the RF signal strength information
Threshold value, and less than or equal in the case where second signal intensity threshold, it saves and updates current USB driving capability grade and mesh
The corresponding relationship of radio communication information is marked, the second signal intensity threshold is greater than first signal strength threshold.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in data transmission method of adjustment the step of.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the adjustment that the data as described in any one of claims 1 to 5 are transmitted when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910129160.9A CN109743141B (en) | 2019-02-21 | 2019-02-21 | Data transmission adjusting method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910129160.9A CN109743141B (en) | 2019-02-21 | 2019-02-21 | Data transmission adjusting method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109743141A true CN109743141A (en) | 2019-05-10 |
CN109743141B CN109743141B (en) | 2021-10-22 |
Family
ID=66367995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910129160.9A Active CN109743141B (en) | 2019-02-21 | 2019-02-21 | Data transmission adjusting method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743141B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381544A (en) * | 2019-06-27 | 2019-10-25 | 维沃移动通信有限公司 | A kind of data transfer control method, device and terminal device |
CN111711460A (en) * | 2020-06-16 | 2020-09-25 | Oppo广东移动通信有限公司 | USB working mode processing method and device, storage medium and electronic equipment |
CN111723039A (en) * | 2020-06-16 | 2020-09-29 | Oppo广东移动通信有限公司 | Electronic device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040165680A1 (en) * | 2003-02-24 | 2004-08-26 | Kroeger Brian William | Coherent AM demodulator using a weighted LSB/USB sum for interference mitigation |
US20080279298A1 (en) * | 2007-05-10 | 2008-11-13 | Comsys Communication & Signal Processing Ltd. | Multiple-input multiple-output (mimo) detector incorporating efficient signal point search |
CN102763098A (en) * | 2009-12-14 | 2012-10-31 | 思杰***有限公司 | Methods and systems for communicating between trusted and non-trusted virtual machines |
WO2013159312A1 (en) * | 2012-04-26 | 2013-10-31 | Hewlett-Packard Development Company, L.P. | Decreasing usb interference to adjacent wireless device |
CN104821995A (en) * | 2015-05-27 | 2015-08-05 | 广东欧珀移动通信有限公司 | Data transmission management method and device thereof |
CN105827271A (en) * | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Mobile communication method and mobile communication device |
CN105893311A (en) * | 2016-03-28 | 2016-08-24 | 青岛海信电器股份有限公司 | Universal serial bus interface drive configuration method and device |
CN107070727A (en) * | 2017-05-23 | 2017-08-18 | 上海斐讯数据通信技术有限公司 | The USB mode switching method and system of a kind of router |
CN107959545A (en) * | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | Data transmission method and device, mobile phone, data card |
CN108009059A (en) * | 2017-11-27 | 2018-05-08 | 上海斐讯数据通信技术有限公司 | The USB function detecting methods and system of a kind of router |
-
2019
- 2019-02-21 CN CN201910129160.9A patent/CN109743141B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040165680A1 (en) * | 2003-02-24 | 2004-08-26 | Kroeger Brian William | Coherent AM demodulator using a weighted LSB/USB sum for interference mitigation |
US20080279298A1 (en) * | 2007-05-10 | 2008-11-13 | Comsys Communication & Signal Processing Ltd. | Multiple-input multiple-output (mimo) detector incorporating efficient signal point search |
CN102763098A (en) * | 2009-12-14 | 2012-10-31 | 思杰***有限公司 | Methods and systems for communicating between trusted and non-trusted virtual machines |
WO2013159312A1 (en) * | 2012-04-26 | 2013-10-31 | Hewlett-Packard Development Company, L.P. | Decreasing usb interference to adjacent wireless device |
CN104821995A (en) * | 2015-05-27 | 2015-08-05 | 广东欧珀移动通信有限公司 | Data transmission management method and device thereof |
CN105827271A (en) * | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Mobile communication method and mobile communication device |
CN105893311A (en) * | 2016-03-28 | 2016-08-24 | 青岛海信电器股份有限公司 | Universal serial bus interface drive configuration method and device |
CN107959545A (en) * | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | Data transmission method and device, mobile phone, data card |
CN107070727A (en) * | 2017-05-23 | 2017-08-18 | 上海斐讯数据通信技术有限公司 | The USB mode switching method and system of a kind of router |
CN108009059A (en) * | 2017-11-27 | 2018-05-08 | 上海斐讯数据通信技术有限公司 | The USB function detecting methods and system of a kind of router |
Non-Patent Citations (1)
Title |
---|
杨书涛: "USB接口技术与应用研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381544A (en) * | 2019-06-27 | 2019-10-25 | 维沃移动通信有限公司 | A kind of data transfer control method, device and terminal device |
CN110381544B (en) * | 2019-06-27 | 2023-10-20 | 维沃移动通信有限公司 | Data transmission control method and device and terminal equipment |
CN111711460A (en) * | 2020-06-16 | 2020-09-25 | Oppo广东移动通信有限公司 | USB working mode processing method and device, storage medium and electronic equipment |
CN111723039A (en) * | 2020-06-16 | 2020-09-29 | Oppo广东移动通信有限公司 | Electronic device |
CN111711460B (en) * | 2020-06-16 | 2022-03-22 | Oppo广东移动通信有限公司 | USB working mode processing method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109743141B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361444A (en) | A kind of switching method and terminal device of transmitting antenna | |
CN110113459A (en) | A kind of method of controlling antenna and Folding screen terminal | |
CN110460352B (en) | Communication control method and related equipment | |
CN108108007A (en) | A kind of processing method and mobile terminal for reducing power consumption | |
US9453866B2 (en) | Method, device and storage medium for controlling antenna | |
CN109068383A (en) | A kind of method and terminal device adjusting antenna transmission power | |
CN108649991B (en) | A kind of processing method and mobile terminal of harmonic wave interference | |
CN109819450A (en) | A kind of received method, apparatus of signal and terminal | |
CN109547054A (en) | Signal control circuit, terminal device and signal control method | |
CN110072014A (en) | A kind of screen folded state determines method and mobile terminal | |
CN107979138A (en) | A kind of control method and device of wireless charging | |
CN108880631A (en) | A kind of information transmit-receive switching method and terminal | |
CN109831585A (en) | A kind of operating parameter method of adjustment and mobile terminal | |
CN110417999A (en) | Screen luminance adjustment method, mobile terminal and computer readable storage medium | |
CN109743141A (en) | A kind of method of adjustment and terminal device of data transmission | |
CN110289883A (en) | A kind of radio circuit, terminal device and circuit control method | |
CN110266323A (en) | A kind of signal control circuit, terminal device and signal control method | |
CN110536388A (en) | A kind of Poewr control method and terminal device | |
CN110336623A (en) | Power detecting method, device and mobile terminal | |
CN109714488A (en) | Terminal equipment operation mode adjusting method, device, terminal device and storage medium | |
CN109739300A (en) | A kind of method of controlling antenna and terminal | |
CN109274441A (en) | A kind of tuning methods and terminal device | |
CN108649716A (en) | A kind of method for transmitting signals, receiving terminal, transmitting terminal and terminal device | |
CN109302207A (en) | A kind of parameter setting method and mobile terminal | |
CN109005581A (en) | A kind of transmission power control method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |