CN109639887B - Control method and terminal equipment - Google Patents

Control method and terminal equipment Download PDF

Info

Publication number
CN109639887B
CN109639887B CN201811428308.0A CN201811428308A CN109639887B CN 109639887 B CN109639887 B CN 109639887B CN 201811428308 A CN201811428308 A CN 201811428308A CN 109639887 B CN109639887 B CN 109639887B
Authority
CN
China
Prior art keywords
frequency band
communication frequency
usb interface
shell
terminal device
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
CN201811428308.0A
Other languages
Chinese (zh)
Other versions
CN109639887A (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 CN201811428308.0A priority Critical patent/CN109639887B/en
Publication of CN109639887A publication Critical patent/CN109639887A/en
Application granted granted Critical
Publication of CN109639887B publication Critical patent/CN109639887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a control method and terminal equipment, relates to the technical field of communication, and aims to solve the problem that the performance of an antenna is greatly influenced although interference generated when a USB interface is adopted for charging can be effectively improved by directly connecting a capacitor in parallel on a shell of the USB interface. The method comprises the following steps: acquiring a target communication frequency band of current work of the terminal equipment; controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended. The scheme is particularly applied to the scene of determining whether the shell of the USB interface is grounded.

Description

Control method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a control method and terminal equipment.
Background
With the continuous development of terminal technology, the design requirement for a Universal Serial Bus (USB) interface on a terminal device is higher and higher.
In the prior art, the shell of the USB interface is grounded, for example, the shell of the USB interface is grounded via a capacitor, so that the above interference during charging can be improved, and the receiving sensitivity of the mobile phone during charging or data transmission can be improved.
However, when the shell of the USB interface is grounded, the performance (antenna efficiency) of the antenna of the mobile phone is often greatly affected. For example, a 22pF capacitor is connected in parallel to the shell of the USB interface, which can effectively improve the interference during charging, but has a maximum effect of 0.5dB on the intermediate frequency band B1(2110M-2170M) of the mobile phone. That is, if the USB interface is directly grounded through a capacitor, the performance of the antenna will be greatly affected.
Disclosure of Invention
The embodiment of the invention provides a control method and terminal equipment, and aims to solve the problem that a capacitor is directly connected in parallel on a shell of a USB interface, interference generated when the USB interface is used for charging can be effectively improved, but the antenna performance is greatly influenced.
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 control method, where the method includes:
acquiring a target communication frequency band of current work of the terminal equipment;
controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: the device comprises an acquisition module and a control module;
the acquisition module is used for acquiring a target communication frequency band of the current work of the terminal equipment;
the control module is configured to control a shell of a USB interface in the terminal device to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band acquired by the acquisition module: grounded, grounded through a capacitor and suspended.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the computer program implements the steps of the control method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the control method as in the first aspect.
In the embodiment of the invention, the terminal equipment acquires the current working target communication frequency band of the terminal equipment; controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended. According to the scheme, the shell of the USB interface is controlled to execute one of the following connection modes according to the relation between the current working target communication frequency band of the terminal equipment and the preset communication frequency band: grounding, grounding through the capacitor and suspending, the connection mode of the shell of the USB interface can be considered from the current working target communication frequency band of the terminal equipment, so that the problems of interference when the USB interface is adopted for charging and influence on the antenna performance can be comprehensively considered, the connection mode of the shell of the USB interface is determined, the problem that the capacitor is directly connected in parallel on the shell of the USB interface can be solved to a certain extent, although the interference when the USB interface is adopted for charging can be effectively improved, the problem that the antenna performance is greatly influenced can be caused.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a control method according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a hardware schematic 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.
The terms "first," "second," "third," and "fourth," etc. in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first control signal, the second control signal, etc. are used to distinguish between different control signals, and are not used to describe a particular order of control signals.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units; plural elements means two or more elements, and the like.
The embodiment of the invention provides a control method, wherein terminal equipment acquires a target communication frequency band of the current work of the terminal equipment; controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended. According to the scheme, the shell of the USB interface is controlled to execute one of the following connection modes according to the relation between the current working target communication frequency band of the terminal equipment and the preset communication frequency band: grounding, grounding through the capacitor and suspending, the connection mode of the shell of the USB interface can be considered from the current working target communication frequency band of the terminal equipment, so that the problems of interference when the USB interface is adopted for charging and influence on the antenna performance can be comprehensively considered, the connection mode of the shell of the USB interface is determined, the problem that the capacitor is directly connected in parallel on the shell of the USB interface can be solved to a certain extent, although the interference when the USB interface is adopted for charging can be effectively improved, the problem that the antenna performance is greatly influenced can be caused.
The following describes a software environment to which the control method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the control method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the control method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal can implement the control method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution main body of the control method provided by the embodiment of the present invention may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the method in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily explain a control method provided by the embodiment of the present invention.
Referring to fig. 2, an embodiment of the present invention provides a control method, which may include steps 201 to 202 described below.
Step 201, the terminal device obtains a target communication frequency band in which the terminal device currently works.
At different times, the communication frequency bands in which the terminal device operates may be different, so that the terminal device needs to obtain the target communication frequency band in which the terminal device currently operates for many times.
Optionally, the terminal device may periodically and actively acquire the target communication frequency band according to a preset period, for example, the terminal device sends a first message for acquiring the target communication frequency band to a radio frequency module in the terminal device. And after receiving the first message, the radio frequency communication module acquires a target communication frequency band and sends a second message to the terminal equipment, wherein the second message comprises the target communication frequency band. And the terminal equipment receives the second message and obtains the target communication frequency band from the second message.
Optionally, the terminal device may passively acquire the target communication frequency band, for example, when a radio frequency module in the terminal device detects that a communication frequency band in which the terminal device currently operates changes, the radio frequency module acquires the target communication frequency band and sends a notification message to the terminal device, where the notification message includes the target communication frequency band. The terminal device receives the notification information and obtains the target communication frequency band from the notification information.
Step 202, the terminal device controls a shell of a Universal Serial Bus (USB) interface in the terminal device to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended.
The grounding or grounding via the capacitor can reduce interference, and the suspension can reduce the influence on the performance of the antenna.
Optionally, the shell of the USB interface is suspended, that is, not grounded, so that the shell of the USB interface becomes a part of the antenna, thereby avoiding affecting the performance of the antenna.
Optionally, the shell of the USB interface is grounded, that is, the shell of the USB interface is directly grounded; the shell of the USB interface is grounded through a capacitor, namely the shell of the USB interface is grounded through the capacitor.
Illustratively, this step 202 may be specifically realized by the step 202a or the step 202b described below.
Step 202a, under the condition that the target communication frequency band is the same as the first communication frequency band in the preset communication frequency band, the terminal device controls the shell of the USB interface to be grounded or grounded through a capacitor.
Illustratively, the terminal device outputs a first control signal to a first control unit of the shell of the USB interface to control the shell of the USB interface to be grounded or grounded via a capacitor.
The first control signal may be a high level signal or a low level signal, which is set according to practical situations, and the embodiment of the present invention is not limited. The first control signal makes the first control unit control the shell of the USB interface to be grounded or grounded through a capacitor. Exemplary first control units may be switching circuits, such as diode switching circuits, triode switching circuits, field effect transistor switching circuits, and the like, and embodiments of the present invention are not limited thereto. In this case, the switch circuit may be closed by the first control signal, and the shell of the USB interface may be grounded or grounded via a capacitor.
Step 202b, under the condition that the target communication frequency band is different from any one of the preset communication frequency bands, the terminal device controls the shell of the USB interface to be suspended.
Illustratively, the terminal device outputs a second control signal to a second control unit of the shell of the USB interface to control the shell of the USB interface to be suspended.
The second control unit may be the same as or different from the first control unit. The second control signal may be the same as or different from the first control signal.
The second control signal may be a high level signal or a low level signal, which is set according to practical situations, and the embodiment of the present invention is not limited. The second control signal makes the second control unit control the shell of the USB interface to be suspended. The exemplary second control unit may also be a switch circuit, such as a diode switch circuit, a triode switch circuit, a field effect transistor switch circuit, etc., and the embodiment of the present invention is not limited. At this time, the second control signal may turn off the switch circuit, and the shell of the USB interface is suspended.
For example, taking the terminal device as a mobile phone as an example, as shown in table 1 and table 2, statistics show that the charging interference of the mobile phone often has a large influence on low frequency bands (e.g., bands B28, B5, B8, etc.), and has a small influence on medium and high frequencies. The capacitor is connected in parallel with the shell of the USB interface, so that the charging interference is greatly improved, and the interference value can be reduced to be within 5 dB; however, the parallel capacitance has a large influence on the antenna performance in the intermediate frequency band (e.g., bands B1, B3, etc.), and the problem of the influence is more serious than that of the charging interference. Therefore, when the target communication frequency band obtained by the terminal device is a low frequency band (i.e. the first communication frequency band), the terminal device controls the shell of the USB interface to be grounded; and when the target communication frequency band obtained by the terminal equipment is the intermediate frequency band, the terminal equipment controls the shell of the USB interface to be suspended. And then can guarantee to charge when disturbing, also can guarantee to influence minimum to antenna performance when communicating.
TABLE 1
Figure BDA0001882146440000041
TABLE 2
Frequency range Maximum effect on the antenna
Low frequency band 0.2
Intermediate frequency band 0.5
High frequency band 0.3
For example, referring to fig. 2, as shown in fig. 3, before step 201, the control method provided in the embodiment of the present invention may further include the following step 203; the step 201 can be specifically realized by the step 201a described below.
Step 203, the terminal device detects whether a charging signal or a data transmission signal exists in the USB interface.
For example, the terminal device detects whether a USB cable is inserted into the USB interface, and detects whether a current signal or a data signal is transmitted from the USB cable to the terminal device.
Step 201a, under the condition that it is detected that the USB interface has a charging signal or a data transmission signal, the terminal device obtains the target communication frequency band in which the terminal device is currently operating.
Illustratively, when it is detected that a charging signal exists at the USB interface, the terminal device obtains the target communication frequency band in which the terminal device is currently operating, and when the target communication frequency band is the same as a first communication frequency band in the preset communication frequency band, the terminal device controls a shell of the USB interface to be grounded or grounded through a capacitor; and under the condition that the target communication frequency band is different from any one of the preset communication frequency bands, the terminal equipment controls the shell of the USB interface to be suspended. The specific grounding circuit refers to the related art and is not described herein.
For example, when detecting that a data transmission signal (at this time, a charging signal) exists in the USB interface, the terminal device obtains the target communication frequency band in which the terminal device is currently operating, and when the target communication frequency band is the same as a first communication frequency band in the preset communication frequency band, the terminal device controls a shell of the USB interface to be grounded or grounded via a capacitor; and under the condition that the target communication frequency band is different from any one of the preset communication frequency bands, the terminal equipment controls the shell of the USB interface to be suspended. The specific grounding circuit refers to the related art and is not described herein.
Under the condition that the charging signal or the charging signal and the data transmission signal do not exist in the USB interface, the terminal equipment can control the shell of the USB interface to be suspended so as to ensure that the performance of the antenna is not influenced.
Therefore, the terminal device can determine the connection mode of the shell of the USB interface by combining whether the USB interface has the charging signal or the data transmission signal and the relation between the target communication frequency band and the preset communication frequency band, and can further reduce the interference and the influence on the antenna performance to a certain extent.
The embodiment of the invention provides a control method, wherein terminal equipment acquires a target communication frequency band of the current work of the terminal equipment; controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended. According to the scheme, the shell of the USB interface is controlled to execute one of the following connection modes according to the relation between the current working target communication frequency band of the terminal equipment and the preset communication frequency band: grounding, grounding through the capacitor and suspending, the connection mode of the shell of the USB interface can be considered from the current working target communication frequency band of the terminal equipment, so that the problems of interference when the USB interface is adopted for charging and influence on the antenna performance can be comprehensively considered, the connection mode of the shell of the USB interface is determined, the problem that the capacitor is directly connected in parallel on the shell of the USB interface can be solved to a certain extent, although the interference when the USB interface is adopted for charging can be effectively improved, the problem that the antenna performance is greatly influenced can be caused.
As shown in fig. 4, an embodiment of the present invention provides a terminal device 120, where the terminal device 120 includes: an acquisition module 121 and a control module 122;
the obtaining module 121 is configured to obtain a target communication frequency band in which the terminal device currently operates;
the control module 122 is configured to control, according to the target communication frequency band and the preset communication frequency band obtained by the obtaining module 121, a shell of a USB interface in the terminal device to execute one of the following connection manners: grounded, grounded through a capacitor and suspended.
Optionally, with reference to fig. 4, as shown in fig. 5, the terminal device 120 further includes: a detection module 123;
the detecting module 123 is configured to detect whether a charging signal or a data transmission signal exists in the USB interface before the target communication frequency band in which the terminal device currently operates is obtained;
the obtaining module 121 is specifically configured to obtain the target communication frequency band in which the terminal device currently operates when the detecting module 123 detects that the USB interface has the charging signal or the data transmission signal.
Optionally, the control module 122 is specifically configured to control the shell of the USB interface to be grounded or grounded via a capacitor, when the target communication frequency band acquired by the acquisition module 121 is the same as the first communication frequency band in the preset communication frequency band; and under the condition that the target communication frequency band acquired by the acquisition module 121 is different from any one of the preset communication frequency bands, controlling the shell of the USB interface to be suspended.
Optionally, the control module 122 is specifically configured to output a first control signal to a first control unit of the shell of the USB interface to control the shell of the USB interface to be grounded or grounded via a capacitor, when the target communication frequency band acquired by the acquisition module 121 is the same as a first communication frequency band in the preset communication frequency band; under the condition that the target communication frequency band acquired by the acquisition module 121 is different from any one of the preset communication frequency bands, a second control signal is output to a second control unit of the shell of the USB interface to control the shell of the USB interface to be suspended.
The terminal device provided in the embodiment of the present invention can implement each process shown in fig. 2 or fig. 3 in the above method embodiment, and is not described here again to avoid repetition.
The embodiment of the invention provides a terminal device, which acquires a target communication frequency band of the current work of the terminal device; controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended. According to the scheme, the shell of the USB interface is controlled to execute one of the following connection modes according to the relation between the current working target communication frequency band of the terminal equipment and the preset communication frequency band: grounding, grounding through the capacitor and suspending, the connection mode of the shell of the USB interface can be considered from the current working target communication frequency band of the terminal equipment, so that the problems of interference when the USB interface is adopted for charging and influence on the antenna performance can be comprehensively considered, the connection mode of the shell of the USB interface is determined, the problem that the capacitor is directly connected in parallel on the shell of the USB interface can be solved to a certain extent, although the interference when the USB interface is adopted for charging can be effectively improved, the problem that the antenna performance is greatly influenced can be caused.
Fig. 6 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. As shown in fig. 6, the terminal device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain a target communication frequency band in which the terminal device currently operates; according to the target communication frequency band and the preset communication frequency band, controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes: grounded, grounded through a capacitor and suspended.
According to the terminal device provided by the embodiment of the invention, the terminal device acquires the current working target communication frequency band of the terminal device; controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounded, grounded through a capacitor and suspended. According to the scheme, the shell of the USB interface is controlled to execute one of the following connection modes according to the relation between the current working target communication frequency band of the terminal equipment and the preset communication frequency band: grounding, grounding through the capacitor and suspending, the connection mode of the shell of the USB interface can be considered from the current working target communication frequency band of the terminal equipment, so that the problems of interference when the USB interface is adopted for charging and influence on the antenna performance can be comprehensively considered, the connection mode of the shell of the USB interface is determined, the problem that the capacitor is directly connected in parallel on the shell of the USB interface can be solved to a certain extent, although the interference when the USB interface is adopted for charging can be effectively improved, the problem that the antenna performance is greatly influenced can be caused.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound 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 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 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 device 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 105 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 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 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 device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 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 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 6, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. 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 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 109 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 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; alternatively, the processor 110 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 the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which may include the processor 110 shown in fig. 6, the memory 109, and a computer program stored on the memory 109 and capable of being executed on the processor 110, where the computer program, when executed by the processor 110, implements each process of the control method shown in fig. 2 or fig. 3 in the foregoing method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
An 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 control method shown in fig. 2 or fig. 3 in the foregoing method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. 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 device (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 (8)

1. A control method, characterized in that the method comprises:
acquiring a target communication frequency band of current work of the terminal equipment;
controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band: grounding, grounding through a capacitor and suspending;
and controlling a shell of a Universal Serial Bus (USB) interface in the terminal equipment to execute one of the following connection modes according to the target communication frequency band and the preset communication frequency band: ground, through electric capacity ground connection and unsettled, include:
under the condition that the target communication frequency band is the same as a first communication frequency band in the preset communication frequency band, controlling the shell of the USB interface to be grounded or grounded through a capacitor;
under the condition that the target communication frequency band is different from any one of the preset communication frequency bands, controlling the shell of the USB interface to be suspended;
the preset communication frequency band is a frequency band when the USB interface is charged.
2. The method of claim 1, wherein before the obtaining the target communication frequency band in which the terminal device currently operates, the method further includes:
detecting whether a charging signal or a data transmission signal exists in the USB interface;
the acquiring of the current working target communication frequency band of the terminal device includes:
and acquiring the target communication frequency band of the current work of the terminal equipment under the condition of detecting that a charging signal or a data transmission signal exists in the USB interface.
3. The method of claim 1, wherein the controlling the shell of the USB interface to ground or to ground via a capacitor comprises:
outputting a first control signal to a first control unit of a shell of the USB interface so as to control the shell of the USB interface to be grounded or grounded through a capacitor;
the control USB interface's shell is unsettled, includes:
and outputting a second control signal to a second control unit of the shell of the USB interface so as to control the shell of the USB interface to be suspended.
4. A terminal device, characterized in that the terminal device comprises: the device comprises an acquisition module and a control module;
the acquisition module is used for acquiring a target communication frequency band of the current work of the terminal equipment;
the control module is configured to control a shell of a USB interface in the terminal device to execute one of the following connection modes according to the target communication frequency band and a preset communication frequency band acquired by the acquisition module: grounding, grounding through a capacitor and suspending;
the control module is specifically configured to control the shell of the USB interface to be grounded or grounded via a capacitor under the condition that the target communication frequency band acquired by the acquisition module is the same as a first communication frequency band in the preset communication frequency band; under the condition that the target communication frequency band acquired by the acquisition module is different from any one of the preset communication frequency bands, controlling the shell of the USB interface to be suspended;
the preset communication frequency band is a frequency band when the USB interface is charged.
5. The terminal device according to claim 4, wherein the terminal device further comprises: a detection module;
the detection module is used for detecting whether a charging signal or a data transmission signal exists in the USB interface before the target communication frequency band of the current work of the terminal equipment is obtained;
the obtaining module is specifically configured to obtain the target communication frequency band in which the terminal device currently operates, when the detecting module detects that a charging signal or a data transmission signal exists at the USB interface.
6. The terminal device of claim 4,
the control module is specifically configured to output a first control signal to a first control unit of a shell of the USB interface to control the shell of the USB interface to be grounded or grounded via a capacitor under the condition that the target communication frequency band acquired by the acquisition module is the same as a first communication frequency band in the preset communication frequency band; and under the condition that the target communication frequency band acquired by the acquisition module is different from any one of the preset communication frequency bands, outputting a second control signal to a second control unit of the shell of the USB interface so as to control the shell of the USB interface to be suspended.
7. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the control method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 3.
CN201811428308.0A 2018-11-27 2018-11-27 Control method and terminal equipment Active CN109639887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811428308.0A CN109639887B (en) 2018-11-27 2018-11-27 Control method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811428308.0A CN109639887B (en) 2018-11-27 2018-11-27 Control method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109639887A CN109639887A (en) 2019-04-16
CN109639887B true CN109639887B (en) 2021-11-09

Family

ID=66069727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811428308.0A Active CN109639887B (en) 2018-11-27 2018-11-27 Control method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109639887B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026695B (en) * 2019-12-10 2021-12-28 西安闻泰信息技术有限公司 USB connection device, method, computer equipment and storage medium
CN113285774B (en) * 2020-02-20 2022-04-15 珠海格力电器股份有限公司 Interference signal processing method, device, electronic equipment and storage medium
CN112614282B (en) * 2020-12-31 2022-07-15 深圳怡化电脑股份有限公司 Service processing control method, device, electronic equipment and medium
CN113099028A (en) * 2021-03-09 2021-07-09 惠州Tcl移动通信有限公司 Mobile phone-based antenna tuner adjusting method and device, terminal equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516842A (en) * 2013-09-13 2014-01-15 广东欧珀移动通信有限公司 USB interface outer shell switching circuit in equipment with antenna
CN106299609A (en) * 2016-10-10 2017-01-04 广东欧珀移动通信有限公司 The method and apparatus realizing antenna tuning
CN106339346A (en) * 2015-07-06 2017-01-18 西安中兴新软件有限责任公司 Universal Serial Bus (USB) port signal interference inhibition method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101839425B1 (en) * 2009-12-07 2018-03-16 삼성전자 주식회사 A portable terminal and method for operating antenna thereof
CN106547717A (en) * 2016-11-08 2017-03-29 深圳天珑无线科技有限公司 Shell circuit, micro USB seats operation circuit and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516842A (en) * 2013-09-13 2014-01-15 广东欧珀移动通信有限公司 USB interface outer shell switching circuit in equipment with antenna
CN106339346A (en) * 2015-07-06 2017-01-18 西安中兴新软件有限责任公司 Universal Serial Bus (USB) port signal interference inhibition method and device
CN106299609A (en) * 2016-10-10 2017-01-04 广东欧珀移动通信有限公司 The method and apparatus realizing antenna tuning

Also Published As

Publication number Publication date
CN109639887A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN109067418B (en) Antenna control method and mobile terminal
CN109639887B (en) Control method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN109739394B (en) SAR value processing method and mobile terminal
CN110752981B (en) Information control method and electronic equipment
CN109976611B (en) Terminal device control method and terminal device
CN109257505B (en) Screen control method and mobile terminal
CN109343693B (en) Brightness adjusting method and terminal equipment
CN109755997B (en) Charging method and terminal equipment
CN109274441B (en) Tuning method and terminal equipment
CN110730017A (en) Radio frequency device, control method thereof and terminal equipment
CN110058686B (en) Control method and terminal equipment
CN111343710A (en) Power adjustment method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN109104573B (en) Method for determining focusing point and terminal equipment
CN110908750A (en) Screen capturing method and electronic equipment
CN111026263B (en) Audio playing method and electronic equipment
CN109451154B (en) Method for setting multimedia file and terminal equipment
CN110224732B (en) Antenna switching method and terminal equipment
CN109067429B (en) Control method and terminal equipment
CN109450508B (en) Antenna determination method and device and mobile terminal
CN109257504B (en) Audio processing method and terminal equipment
CN109068276B (en) Message conversion method and terminal

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