CN109743141B - Data transmission adjusting method and terminal equipment - Google Patents

Data transmission adjusting method and terminal equipment Download PDF

Info

Publication number
CN109743141B
CN109743141B CN201910129160.9A CN201910129160A CN109743141B CN 109743141 B CN109743141 B CN 109743141B CN 201910129160 A CN201910129160 A CN 201910129160A CN 109743141 B CN109743141 B CN 109743141B
Authority
CN
China
Prior art keywords
signal strength
radio frequency
information
strength threshold
usb
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.)
Active
Application number
CN201910129160.9A
Other languages
Chinese (zh)
Other versions
CN109743141A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910129160.9A priority Critical patent/CN109743141B/en
Publication of CN109743141A publication Critical patent/CN109743141A/en
Application granted granted Critical
Publication of CN109743141B publication Critical patent/CN109743141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a data transmission adjusting method and terminal equipment, and solves the problem of reducing interference of USB data transmission on radio frequency communication transmission. The adjusting method of the embodiment of the invention comprises the following steps: acquiring radio frequency signal intensity information under the conditions of Universal Serial Bus (USB) data transmission and radio frequency data transmission; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value. Compared with the prior art, the embodiment of the invention can further reduce the influence of USB data transmission on radio frequency data transmission by adjusting the driving capability grade of the USB, ensure certain radio frequency communication signal intensity, further ensure the transmission rate of the radio frequency communication and meet the transmission requirement of a user.

Description

Data transmission adjusting method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for adjusting data transmission and a terminal device.
Background
Universal Serial Bus (USB) transmission is one of the main data transmission modes, and devices such as mobile terminals (mobile phones, PADs, notebook computers, etc.), routers, data cards, smart televisions, vehicle-mounted internet systems, etc. all adopt USB data transmission modes, thereby providing convenient data transmission experience for users. Meanwhile, the terminals or devices support a radio frequency communication function (support at least one of a global system for mobile communications GSM protocol, a code division multiple access CDMA protocol, a time division synchronous code division multiple access TD-SCDMA protocol, a wideband code division multiple access WCDMA protocol, and a long term evolution LTE protocol), so as to provide a network interconnection experience for users.
When the USB data transmission and the radio frequency communication scene exist at the same time, the USB data transmission can generate radio frequency band interference signals to interfere the radio frequency communication, the radio frequency communication quality is reduced, and meanwhile, the USB data transmission can also be interfered by the radio frequency communication signals to cause the USB data transmission rate to be reduced.
One existing method is to use USB2.0 transmission in a specific format, such as GSM protocol, CDMA protocol, TD-SCDMA protocol, or WCDMA protocol, because USB2.0 generates less radio frequency interference than USB 3.0. The transmission mode of USB3.0 is adopted for the strong signal of the LTE protocol, and the transmission mode of USB2.0 is adopted for the weak signal of the LTE protocol, so that the influence of the interference of the transmission mode of USB3.0 on the communication of the LTE protocol is avoided.
The above method has the following defects: both USB2.0 and USB3.0 data transmissions may cause interference to the radio frequency band, and even if the USB2.0 protocol is limited, it is still difficult to avoid the interference of the USB data transmissions to the radio frequency communications of GSM protocol, CDMA protocol, TD-SCDMA protocol, WCDMA protocol, and LTE protocol, but the degree of interference may be relatively reduced.
Disclosure of Invention
The embodiment of the invention provides a data transmission adjusting method and terminal equipment, and aims to solve the problem of reducing interference of USB data transmission on radio frequency communication transmission.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for adjusting data transmission, which is applied to a terminal device, and includes:
acquiring radio frequency signal intensity information under the conditions of Universal Serial Bus (USB) data transmission and radio frequency data transmission;
and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the first acquisition module is used for acquiring the strength information of the radio frequency signal under the conditions of USB data transmission and radio frequency data transmission of a universal serial bus;
the first adjusting module is configured to adjust the current USB driving capability level until the value corresponding to the radio frequency signal strength information is greater than or equal to the first signal strength threshold value, when the value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold value.
In a third aspect, an embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the adjustment method for data transmission as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the adjustment method for data transmission as described above.
The embodiment of the invention has the following beneficial effects:
according to the technical scheme of the embodiment of the invention, under the condition of USB data transmission and radio frequency data transmission, the radio frequency signal intensity information is acquired; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value. Compared with the prior art, the embodiment of the invention can further reduce the influence of USB data transmission on radio frequency data transmission by adjusting the driving capability grade of the USB, ensure certain radio frequency communication signal intensity, further ensure the transmission rate of the radio frequency communication and meet the transmission requirement of a user.
Drawings
Fig. 1 is a flowchart illustrating a method for adjusting data transmission according to an embodiment of the present invention;
fig. 2 is a second schematic flow chart of an adjustment method for data transmission according to an embodiment of the present invention;
fig. 3 is one of block diagrams of a terminal device according to an embodiment of the present invention;
fig. 4 is a second schematic block diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a method for adjusting data transmission according to an embodiment of the present invention. The implementation of the method is described in detail below with reference to this figure.
It should be noted that the adjustment method for data transmission provided in the embodiment of the present invention is applied to a terminal device, and the terminal device supports simultaneous radio frequency data transmission and USU data transmission.
The method for adjusting data transmission may include the following steps:
step 101: and acquiring the strength information of the radio frequency signal under the conditions of USB data transmission and radio frequency data transmission of the universal serial bus.
The USB data transmission refers to establishing connection between the terminal device and another device (such as a computer) through a USB interface, and performing data transmission through the USB interface.
The radio frequency data transmission refers to radio frequency wireless communication transmission, for example, wireless communication transmission based on at least one of GSM protocol, CDMA protocol, TD-SCDMA protocol, WCDMA protocol and LTE protocol.
The radio frequency signal strength information includes: reference signal received power RSRP and/or signal to interference noise ratio SINR. The radio frequency signal strength information of the embodiment of the invention can reflect the communication state between the terminal equipment and the base station, and the higher radio frequency signal strength can ensure faster wireless communication transmission rate and throughput. Otherwise, the transmission rate and throughput of wireless communication may be reduced, which may affect the network experience of the terminal device.
And under the condition that the terminal equipment simultaneously performs USB data transmission and radio frequency data transmission, acquiring RSRP and/or SINR so as to judge whether the current radio frequency communication is greatly interfered by the USB communication according to the radio frequency signal strength information.
Step 102: and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value.
Here, when the value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold, it indicates that the rate of radio frequency data transmission is too low to meet the transmission requirement of the user, and the internet surfing experience of the user may be affected. Namely, the USB data transmission causes large interference to the radio frequency data transmission.
When the value corresponding to the radio frequency signal strength information is greater than or equal to the first signal strength threshold, it indicates that the rate of radio frequency data transmission can meet the transmission requirement of the user, that is, the rate of radio frequency data transmission is greater than the transmission rate required by the user, and specifically, the difference between the number of radio frequency data transmissions and the transmission rate required by the user is the first value.
In addition, in the embodiment of the present invention, the USB driving capability level may be divided into different levels according to the signal voltage amplitude, the driving current intensity, the time length between the rising edge and the falling edge, and the like.
In the embodiment of the invention, under the condition of carrying out USB data transmission and radio frequency data transmission on a universal serial bus, the strength information of a radio frequency signal is obtained; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value. Compared with the prior art, the embodiment of the invention can further reduce the influence of USB data transmission on radio frequency data transmission by adjusting the driving capability grade of the USB, ensure certain radio frequency communication signal intensity, further ensure the transmission rate of the radio frequency communication and meet the transmission requirement of a user.
Further, the acquiring the radio frequency signal strength information includes:
acquiring target radio frequency communication information; acquiring a target USB driving capacity grade corresponding to the target radio frequency communication information; adjusting the USB driving capability level to the target USB driving capability level; and after the interval preset time, acquiring the radio frequency signal intensity information.
In this embodiment of the present invention, the target radio frequency information may include at least one of a communication system, a communication frequency band, and a communication channel. The communication indication comprises: at least one of GSM, CDMA, TD-SCDMA, and WCDMA.
In addition, the embodiment of the invention is pre-stored with the corresponding relation between the target radio frequency communication information and the USU driving capability level. After the target radio frequency communication information is obtained, according to the corresponding relation, the target USB driving capacity grade corresponding to the target radio frequency communication information is found, the USB driving capacity grade is adjusted to be the target USB driving capacity grade, and finally, after the preset time (target radio frequency communication information refreshing) is separated, the radio frequency signal strength information is obtained. At this time, the acquired rf signal strength information is the rf signal strength information when USB data transmission is performed at the target USB driving capability level.
Further, when the value corresponding to the rf signal strength information is smaller than the first signal strength threshold, adjusting the current USB driving capability level until the value corresponding to the rf signal strength information is greater than or equal to the first signal strength threshold, including:
reducing the driving capability level of the USB under the condition that the numerical value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value; after a preset time interval, re-acquiring the radio frequency signal intensity information; and under the condition that the value corresponding to the radio frequency signal strength information obtained again is smaller than the first signal strength threshold value, continuously reducing the USB driving capacity level until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value.
Specifically, the method for reducing the driving capability level of the USB comprises at least one of reducing the voltage amplitude of the signal, reducing the driving current intensity and increasing the time between the rising edge and the falling edge of the signal.
Here, when the value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold, the USB driving capability level is reduced according to a predetermined value, for example, the predetermined value is 1, the current USB driving capability level is reduced by 1 level, from L level to L-1 level, and after a preset time after the current USB driving capability level is reduced to L-1 level, the radio frequency signal strength information is obtained again, and whether the value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold is continuously determined, if so, the value corresponding to the radio frequency signal strength information is reduced by 1 level, that is, the value is adjusted to L-2 level, and then the step of obtaining the radio frequency signal strength signal is continuously performed, so as to circulate until the value corresponding to the obtained radio frequency signal strength information is greater than or equal to the first signal strength threshold.
Wherein, the lower the USB driving capability level, the lower the interference to the radio frequency communication, and L is a positive number.
Further, after the obtaining the radio frequency signal strength information, the method further includes:
when the value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold value and greater than a second signal strength threshold value, raising the USB driving capability level, wherein the second signal strength threshold value is greater than the first signal strength threshold value;
after a preset time interval, re-acquiring the radio frequency signal intensity information;
and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade to enable the value corresponding to the radio frequency signal strength information to be larger than or equal to the first signal strength threshold value and smaller than or equal to a second signal strength threshold value.
In the embodiment of the present invention, when the value corresponding to the rf signal strength information is greater than or equal to the second signal strength threshold, it indicates that the rate of the rf data transmission can completely meet the transmission requirement of the user, and there is a certain margin, that is, the difference between the rate of the rf data transmission and the transmission rate required by the user is the second value, and the second value is greater than the first value, at this time, the driving capability level of the USB transmission data signal can be properly increased, so as to improve the anti-interference capability of the USB transmission data signal. That is, when the value corresponding to the rf signal strength information is greater than the second signal strength threshold, the USB driving capability level is raised, for example, by one level, and after the USB driving capability level is raised by one level and a preset time interval is elapsed, the rf signal strength information is obtained again, and when the value corresponding to the rf signal strength information is less than the first signal strength threshold, the current USB driving capability level is adjusted, so that the value corresponding to the rf signal strength information is maintained between the first signal strength threshold and the second signal strength threshold.
The method for increasing the driving capability level of the USB comprises at least one of increasing the voltage amplitude of the signal and increasing the driving current intensity.
In the embodiment of the invention, the USB driving capability grade can be adjusted to a larger extent according to the corresponding relation between the pre-stored target radio frequency communication information and the USU driving capability grade, and then the USB driving capability grade is finely adjusted according to the relation between the numerical value corresponding to the radio frequency signal strength information and the first signal strength threshold value and the second signal strength threshold value, so that the anti-interference capability of the USB transmission data signal is ensured on the premise of greatly reducing the interference of the USB data transmission on the radio frequency communication data transmission.
Further, after the obtaining the radio frequency signal strength information, the method further includes:
and under the condition that the numerical value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold value and is less than or equal to a second signal strength threshold value, storing and updating the corresponding relation between the current USB driving capability grade and the target radio frequency communication information, wherein the second signal strength threshold value is greater than the first signal strength threshold value.
Here, when the value corresponding to the rf signal strength information is greater than or equal to the first signal strength threshold and less than or equal to the second signal strength threshold, the corresponding relationship between the current USB driving capability level and the target rf communication information is saved and updated, that is, the corresponding relationship between the target rf communication information and the USB driving capability level stored in advance is updated.
The following describes a method for adjusting data transmission according to an embodiment of the present invention with reference to a specific embodiment.
As shown in fig. 2, includes:
step 201: and after the terminal equipment detects that the connection with other equipment is established through the USB interface, starting a USB data transmission mode.
Step 202: and acquiring target radio frequency communication information and acquiring the current USB driving capacity grade D.
Step 203: and acquiring the USB driving capacity level M corresponding to the target radio frequency communication information according to a pre-stored relation table.
Here, the target radio frequency communication information and the USB driving capability level stored in correspondence are stored in a relationship table stored in advance.
Step 204: the USB driving capability level is adjusted to M.
Step 205: and after the interval of the preset time, the terminal equipment acquires the radio frequency signal intensity information.
Step 206: and judging whether the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value.
In the embodiment of the invention, different first signal strength thresholds can be set according to different target radio frequency communication information.
Step 207: and when the value corresponding to the rf signal strength information is smaller than the first signal strength threshold, reducing the USB driving capability level by one step, and skipping to step 205.
Step 208: and under the condition that the value corresponding to the radio frequency signal strength information is greater than or equal to the first signal strength threshold value, judging whether the value corresponding to the radio frequency signal strength information is greater than a second signal strength threshold value.
Wherein the second signal strength threshold is greater than the first signal strength threshold.
Step 209: when the value corresponding to the rf signal strength information is greater than the second signal strength threshold, the USB driving capability level is increased by one step, and step 205 is skipped.
Step 210: and when the value corresponding to the radio frequency signal strength information is smaller than or equal to the second signal strength threshold value, acquiring the current target radio frequency communication information and the USB driving capability grade.
Step 211: and storing the corresponding relation between the current target radio frequency communication information and the USB driving capacity grade, and updating the corresponding relation into a pre-stored relation table.
The data transmission adjusting method of the embodiment of the invention obtains the radio frequency signal strength information under the condition of carrying out USB data transmission and radio frequency data transmission; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value. Compared with the prior art, the embodiment of the invention can further reduce the influence of USB data transmission on radio frequency data transmission by adjusting the driving capability grade of the USB, ensure certain radio frequency communication signal intensity, further ensure the transmission rate of the radio frequency communication and meet the transmission requirement of a user.
In addition, preferably, in the embodiment of the present invention, after the current USB driving capability level is adjusted until the value corresponding to the radio frequency signal strength information is greater than or equal to the first signal strength threshold, the USB protocol may be further reduced, for example, from the USB3.0 protocol to the USB2.0 protocol, so as to effectively avoid the interference problem of the USB transmission on the radio frequency communication frequency band, and simultaneously guarantee the USB transmission data rate as much as possible, so as to reduce the mutual interference influence between the USB data transmission and the radio frequency communication to the greatest extent, and improve the user experience.
As shown in fig. 3, an embodiment of the present invention further provides a terminal device 300, including:
a first obtaining module 301, configured to obtain radio frequency signal strength information in the case of performing USB data transmission and radio frequency data transmission on a universal serial bus;
a first adjusting module 302, configured to adjust the current USB driving capability level when the value corresponding to the rf signal strength information is smaller than a first signal strength threshold, until the value corresponding to the rf signal strength information is greater than or equal to the first signal strength threshold.
As shown in fig. 4, the terminal device of the embodiment of the present invention includes, by the first obtaining module 301:
the first obtaining submodule 3011 is configured to obtain target radio frequency communication information;
the second obtaining submodule 3012 is configured to obtain a target USB driving capability level corresponding to the target radio frequency communication information;
a first adjusting submodule 3013, configured to adjust the USB driving capability level to the target USB driving capability level;
the third obtaining sub-module 3014, configured to obtain radio frequency signal strength information after a preset time interval;
the target radio frequency communication information comprises at least one of a communication system, a communication frequency band and a communication channel.
In the terminal device of the embodiment of the present invention, the first adjusting module 302 includes:
the second adjusting submodule 3021 is configured to reduce a USB driving capability level when a value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold;
a fourth obtaining submodule 3022, configured to obtain the radio frequency signal strength information again after a preset time interval;
the third adjusting submodule 3023 is configured to, when the value corresponding to the re-acquired rf signal strength information is smaller than the first signal strength threshold, continue to reduce the USB driving capability level until the value corresponding to the rf signal strength information is greater than or equal to the first signal strength threshold.
The terminal device of the embodiment of the invention further comprises:
a second adjusting module 303, configured to raise a USB driving capability level when a value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold and is greater than a second signal strength threshold, where the second signal strength threshold is greater than the first signal strength threshold;
a second obtaining module 304, configured to obtain the radio frequency signal strength information again after a preset time interval;
a third adjusting module 305, configured to adjust the current USB driving capability level when the value corresponding to the rf signal strength information is smaller than the first signal strength threshold, so that the value corresponding to the rf signal strength information is greater than or equal to the first signal strength threshold and smaller than or equal to the second signal strength threshold.
The terminal device of the embodiment of the invention further comprises:
a fourth adjusting module 306, configured to store and update a corresponding relationship between a current USB driving capability level and target radio frequency communication information when a value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold and is less than or equal to a second signal strength threshold, where the second signal strength threshold is greater than the first signal strength threshold.
The terminal equipment of the embodiment of the invention obtains the radio frequency signal intensity information under the condition of carrying out USB data transmission and radio frequency data transmission; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value. Compared with the prior art, the embodiment of the invention can further reduce the influence of USB data transmission on radio frequency data transmission by adjusting the driving capability grade of the USB, ensure certain radio frequency communication signal intensity, further ensure the transmission rate of the radio frequency communication and meet the transmission requirement of a user.
Fig. 5 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the terminal configuration shown in fig. 5 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to obtain radio frequency signal strength information in the case of performing USB data transmission and radio frequency data transmission on a universal serial bus; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value.
The processor can implement each process of the above-mentioned data transmission adjustment method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not described here.
According to the technical scheme of the embodiment of the invention, under the condition of USB data transmission and radio frequency data transmission, the radio frequency signal intensity information is acquired; and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value. Compared with the prior art, the embodiment of the invention can further reduce the influence of USB data transmission on radio frequency data transmission by adjusting the driving capability grade of the USB, ensure certain radio frequency communication signal intensity, further ensure the transmission rate of the radio frequency communication and meet the transmission requirement of a user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 502, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The terminal 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal 500 or may be used to transmit data between the terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, so that functions of managing charging, discharging, and power consumption are performed through the power management system.
In addition, the terminal 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing data transmission adjustment method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned data transmission adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A method for adjusting data transmission is applied to terminal equipment, and is characterized by comprising the following steps:
acquiring radio frequency signal intensity information under the conditions of Universal Serial Bus (USB) data transmission and radio frequency data transmission;
and under the condition that the numerical value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capacity grade until the numerical value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value, wherein the USB driving capacity grade is divided according to the driving voltage amplitude, the driving current strength or the driving time length.
2. The method of claim 1, wherein the obtaining the radio frequency signal strength information comprises:
acquiring target radio frequency communication information;
acquiring a target USB driving capacity grade corresponding to the target radio frequency communication information;
adjusting the USB driving capability level to the target USB driving capability level;
after the interval preset time, acquiring radio frequency signal intensity information;
the target radio frequency communication information comprises at least one of a communication system, a communication frequency band and a communication channel.
3. The method according to claim 1 or 2, wherein in the case that the value corresponding to the rf signal strength information is smaller than a first signal strength threshold, adjusting the current USB driving capability level until the value corresponding to the rf signal strength information is greater than or equal to the first signal strength threshold comprises:
reducing the driving capability level of the USB under the condition that the numerical value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value;
after a preset time interval, re-acquiring the radio frequency signal intensity information;
and under the condition that the value corresponding to the radio frequency signal strength information obtained again is smaller than the first signal strength threshold value, continuously reducing the USB driving capacity level until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value.
4. The method of claim 2, wherein after obtaining the rf signal strength information, further comprising:
when the value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold value and greater than a second signal strength threshold value, raising the USB driving capability level, wherein the second signal strength threshold value is greater than the first signal strength threshold value;
after a preset time interval, re-acquiring the radio frequency signal intensity information;
and under the condition that the value corresponding to the radio frequency signal strength information is smaller than a first signal strength threshold value, adjusting the current USB driving capability grade to enable the value corresponding to the radio frequency signal strength information to be larger than or equal to the first signal strength threshold value and smaller than or equal to a second signal strength threshold value.
5. The method of claim 2, wherein after obtaining the rf signal strength information, further comprising:
and under the condition that the numerical value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold value and is less than or equal to a second signal strength threshold value, storing and updating the corresponding relation between the current USB driving capability grade and the target radio frequency communication information, wherein the second signal strength threshold value is greater than the first signal strength threshold value.
6. A terminal device, comprising:
the first acquisition module is used for acquiring the strength information of the radio frequency signal under the conditions of USB data transmission and radio frequency data transmission of a universal serial bus;
the first adjusting module is configured to adjust a current USB driving capability level until a value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold value, where the USB driving capability level is divided according to a driving voltage amplitude, a driving current intensity, or a driving time length, when the value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold value.
7. The terminal device of claim 6, wherein the first obtaining module comprises:
the first acquisition submodule is used for acquiring target radio frequency communication information;
the second obtaining submodule is used for obtaining a target USB driving capacity grade corresponding to the target radio frequency communication information;
a first adjusting submodule, configured to adjust a USB driving capability level to the target USB driving capability level;
the third acquisition submodule is used for acquiring the radio frequency signal strength information after a preset time interval;
the target radio frequency communication information comprises at least one of a communication system, a communication frequency band and a communication channel.
8. The terminal device according to claim 6 or 7, wherein the first adjusting module comprises:
the second adjusting submodule is used for reducing the USB driving capability grade under the condition that the numerical value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold value;
the fourth obtaining submodule is used for obtaining the radio frequency signal intensity information again after the preset time interval;
and the third adjusting submodule is used for continuously reducing the USB driving capability grade under the condition that the value corresponding to the radio frequency signal strength information obtained again is smaller than the first signal strength threshold value until the value corresponding to the radio frequency signal strength information is larger than or equal to the first signal strength threshold value.
9. The terminal device according to claim 7, further comprising:
a second adjusting module, configured to raise a USB driving capability level when a value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold and greater than a second signal strength threshold, where the second signal strength threshold is greater than the first signal strength threshold;
the second acquisition module is used for acquiring the radio frequency signal intensity information again after a preset time interval;
a third adjusting module, configured to adjust the current USB driving capability level when the value corresponding to the radio frequency signal strength information is smaller than the first signal strength threshold, so that the value corresponding to the radio frequency signal strength information is greater than or equal to the first signal strength threshold and smaller than or equal to the second signal strength threshold.
10. The terminal device according to claim 7, further comprising:
a fourth adjusting module, configured to save and update a corresponding relationship between a current USB driving capability level and target radio frequency communication information when a value corresponding to the radio frequency signal strength information is greater than or equal to a first signal strength threshold and is less than or equal to a second signal strength threshold, where the second signal strength threshold is greater than the first signal strength threshold.
11. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of adjusting data transmission according to any one of claims 1 to 5.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of adjusting a data transmission according to any one of claims 1 to 5.
CN201910129160.9A 2019-02-21 2019-02-21 Data transmission adjusting method and terminal equipment Active CN109743141B (en)

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 CN109743141A (en) 2019-05-10
CN109743141B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381544B (en) * 2019-06-27 2023-10-20 维沃移动通信有限公司 Data transmission control method and device and terminal 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

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7127008B2 (en) * 2003-02-24 2006-10-24 Ibiquity Digital Corporation 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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN109743141A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109905907B (en) Network searching method and mobile terminal
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN110460352B (en) Communication control method and related equipment
CN110753389A (en) Network control method and electronic equipment
CN111092621B (en) Radio frequency circuit, control method and electronic equipment
CN109819450B (en) Signal receiving method, device and terminal
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN110399000B (en) Mobile terminal and temperature control method thereof
CN110855313B (en) Signal control method and electronic equipment
CN108495349B (en) Switching method of operator network and mobile terminal
CN110611925B (en) Physical downlink control channel monitoring parameter configuration method, terminal and network side equipment
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN111417185A (en) Transmission power control method and related equipment
CN110719119B (en) Anti-interference method and device
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN110557166B (en) Communication circuit adjusting method and terminal
CN109005581B (en) Transmission power control method and device
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN111417181B (en) Power adjustment method and terminal
CN110086483B (en) Communication control method and terminal
CN109286414B (en) Antenna determination method and terminal
CN109067429B (en) Control method and terminal equipment
CN110475328B (en) Control method, terminal equipment and network equipment
CN110955324B (en) Method for reducing power consumption and electronic equipment

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