Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The metal bezel-based terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
In the following description, a metal bezel-based terminal will be described taking a metal bezel-based mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, themobile terminal 100 may include: an RF (Radio Frequency)unit 101, aWiFi module 102, anaudio output unit 103, an a/V (audio/video)input unit 104, asensor 105, adisplay unit 106, auser input unit 107, aninterface unit 108, amemory 109, aprocessor 110, and apower supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
theradio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to theprocessor 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, theradio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through theWiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows theWiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Theaudio output unit 103 may convert audio data received by theradio frequency unit 101 or theWiFi module 102 or stored in thememory 109 into an audio signal and output as sound when themobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, theaudio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and amicrophone 1042, theGraphics processor 1041 Processing image data of still pictures 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 thedisplay unit 106. The image frames processed by thegraphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via theradio frequency unit 101 or theWiFi module 102. Themicrophone 1042 may receive sounds (audio data) via themicrophone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 101 in case of a phone call mode. Themicrophone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
Themobile terminal 100 also includes at least onesensor 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 thedisplay panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off thedisplay panel 1061 and/or the backlight when themobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Thedisplay unit 106 is used to display information input by a user or information provided to the user. TheDisplay unit 106 may include aDisplay panel 1061, and theDisplay panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser 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 mobile terminal. Specifically, theuser input unit 107 may include atouch panel 1071 andother input devices 1072. Thetouch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near thetouch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. Thetouch 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 theprocessor 110, and can receive and execute commands sent by theprocessor 110. In addition, thetouch 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 thetouch panel 1071, theuser input unit 107 may includeother input devices 1072. In particular,other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, thetouch panel 1071 may cover thedisplay panel 1061, and when thetouch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to theprocessor 110 to determine the type of the touch event, and then theprocessor 110 provides a corresponding visual output on thedisplay panel 1061 according to the type of the touch event. Although thetouch panel 1071 and thedisplay panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, thetouch panel 1071 and thedisplay panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
Theinterface unit 108 serves as an interface through which at least one external device is connected to themobile terminal 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. Theinterface unit 108 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 themobile terminal 100 or may be used to transmit data between themobile terminal 100 and external devices.
Thememory 109 may be used to store a software program and various data, and thememory 109 may be a computer storage medium, and thememory 109 stores the antenna adjustment program based on the metal frame according to the present invention. Thememory 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, thememory 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.
Theprocessor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in thememory 109 and calling data stored in thememory 109, thereby performing overall monitoring of the mobile terminal. For example, theprocessor 110 executes the antenna adjusting program based on the metal frame in thememory 109 to implement the steps of the embodiments of the antenna adjusting method based on the metal frame.
Processor 110 may include one or more processing units; alternatively, theprocessor 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 theprocessor 110.
Themobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, thepower supply 111 may be logically connected to theprocessor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, themobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and anIP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 andother eNodeBs 2022, among others. The eNodeB2021 may be connected with other eNodeB2022 via backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to theEPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an hss (Home Subscriber Server) 2032,other MMEs 2033, an SGW (Serving gateway) 2034, a pgw (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node for processing signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
TheIP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the terminal hardware structure based on the metal frame and the communication network system, the invention provides various embodiments of the method.
The invention provides an antenna adjusting method based on a metal frame, which is applied to a terminal antenna based on the metal frame, and comprises the following steps: the antenna adjusting method comprises a metal frame, a plurality of resistors and a switch, wherein the resistors are arranged in series, the metal frame is electrically connected with the resistors to form a plurality of antenna lengths of the terminal antenna, the metal frame and the resistors form a feed loop of the terminal antenna through the switch, and the antenna adjusting method based on the metal frame comprises the following steps:
when detecting that the signal frequency band of the signal received by the terminal antenna changes, acquiring the changed signal frequency band; matching the antenna length of the terminal antenna in a preset antenna length list according to the signal frequency band; and controlling a circuit between the corresponding resistors connected with the switch according to the antenna length so as to adjust the antenna length of the terminal antenna.
Specifically, referring to fig. 3, fig. 3 is a schematic flowchart illustrating a first embodiment of an antenna adjusting method based on a metal bezel according to the present invention, where in the first embodiment of the antenna adjusting method based on a metal bezel, the antenna adjusting method based on a metal bezel includes:
and step S10, when detecting that the signal frequency band of the signal received by the terminal antenna changes, acquiring the changed signal frequency band.
It should be noted that: terminal antenna based on metal frame includes: the metal frame, a plurality of resistors and a single-pole multi-throw switch which are arranged on the PCB in series or in parallel, wherein the metal frame is electrically connected with the plurality of resistors, the resistors are preferably 0 ohm resistors, and the resistors can be replaced by capacitors or inductors.
When the mobile terminal detects that the signal frequency band to which the communication signal received by the terminal antenna belongs at the current moment is different from the signal frequency band to which the communication signal received at the previous moment belongs, the signal frequency band to which the communication signal received by the terminal at the current moment belongs is obtained.
Specifically, when the mobile terminal device moves from the current communication area to the next communication area, the signal frequency band to which the communication signal received by the antenna of the mobile terminal device belongs may also change, for example, if the terminal antenna of the terminal device is in the communication area at the current time, and the received communication signal frequency band is 1710-2170M, the signal frequency band-1710-2170M to which the communication signal at the current time belongs is detected, which is different from the signal frequency band-700-960M to which the received communication signal belongs in the communication area at the previous time of the current mobile terminal device, and the signal frequency band-1710-2170M to which the received communication signal belongs in the communication area at the current time of the terminal antenna of the mobile terminal device is acquired.
Further, step S10 includes:
step S11, when the signal area where the terminal is located changes, whether the signal frequency band to which the signal received by the terminal antenna belongs changes is detected.
Detecting whether a communication area where the mobile terminal is currently located changes or not, and when detecting that the communication area changes, starting to detect whether a signal frequency band to which a communication signal received by a terminal antenna of the mobile terminal belongs changes or not.
Specifically, for example, the current communication signals belong to different signal frequency bands in different communication areas, and when it is detected that the communication area where the terminal device is currently located is changed, the terminal antenna of the current mobile terminal is detected, and if the signal frequency band to which the received communication signal belongs is different from the signal frequency band to which the communication signal received by the terminal antenna belongs when the mobile terminal is located in the previous communication area, the terminal antenna starts to detect the terminal antenna of the current mobile terminal.
Further, in another embodiment, when it is detected that the communication area where the terminal device is currently located is not changed, the terminal antenna of the current mobile terminal is not detected, and the signal frequency band to which the received communication signal belongs is not the same as the signal frequency band to which the communication signal received by the terminal antenna belongs when the mobile terminal is located in the previous communication area, so that a trigger mechanism is set for the mobile terminal device to detect whether the communication signal received by the terminal antenna and the signal frequency band to which the communication signal belongs are changed, so as to ensure the overall operating efficiency of the mobile terminal device.
And step S12, when the signal frequency band is detected to be changed, acquiring the signal frequency band to which the signal received by the terminal antenna in the current signal area belongs.
When detecting that the signal frequency band to which the communication signal received by the terminal antenna of the mobile terminal belongs changes, acquiring the signal frequency band to which the received communication signal belongs after the signal frequency band of the terminal antenna of the mobile terminal changes.
Specifically, for example, when the mobile terminal device is in the previous communication area, the signal frequency of the communication signal received by the terminal antenna is 900M, and when the current mobile terminal device moves from the previous communication area to the current communication area, the signal frequency of the communication signal received by the antenna of the mobile terminal device is 2000M, it is detected that the communication area where the mobile terminal device is located is changed from 900M to 2000M at the current time, and the signal frequency band to which the communication signal received by the terminal antenna belongs is changed from 700-960M to 1710-2170M before and after the communication area is changed, and then the signal frequency band to which the received communication signal belongs-1710-2170M in the communication area where the terminal antenna of the mobile terminal device is located at the current time is obtained.
And step S20, according to the signal frequency band, matching the antenna length of the terminal antenna in a preset antenna length list.
Detecting whether the obtained terminal antenna belongs to a preset antenna length list of the current terminal antenna or not, wherein the signal frequency band to which the changed communication signal received at the current moment belongs, and matching the antenna length of the current terminal antenna corresponding to the signal frequency band in the preset antenna length list when the signal frequency band to which the communication signal belongs is detected to belong to the preset antenna length list.
Specifically, for example, after acquiring the terminal antenna of the mobile terminal device and in the communication area where the current time is, the signal frequency band — 1710-2170M to which the received communication signal belongs is detected, whether the signal frequency band — 1710-2170M belongs to one of the signal frequency band categories in the preset antenna length list of the current mobile terminal device terminal antenna, as shown in fig. 7, or not is detected, and if it is detected that the signal frequency band — 1710-2170M belongs to one of the signal frequency band categories in the preset antenna length list, the current signal frequency band — 1710-2170M is matched in the preset antenna length list, and the antenna length of the current mobile terminal device terminal antenna corresponding to the antenna length category in the preset antenna length list is obtained.
It should be noted that: the preset antenna length list is: the preset antenna length lists of all the signal frequency bands and the corresponding terminal antennas, such as the preset antenna length list shown in the mobile terminal interface shown in fig. 7, are generated by correspondingly setting the lengths of all the sections of the terminal antennas of the mobile terminal equipment based on the coverage range of the antenna frequency bands at present, international and domestic.
Specifically, for example, in the scenario diagram for generating the preset antenna length list shown in fig. 6A, first, a terminal antenna feed point of the current mobile terminal device based on a metal frame, a length 2 from the end of the metal frame of the current mobile terminal device, and a length 1 of the whole metal frame are determined, an upper limit of an initial signal frequency band of the terminal antenna in a standard signal frequency band range is set, that is, an original frequency band of a low-frequency signal frequency band 700-960M is set to 900-960M, an original frequency band of an intermediate-frequency signal frequency band 1710-2170M is set to 1985-2170M, and an original frequency band of a high-frequency signal frequency band 2300-2700M is set to 2650-2700M; then, determining the lower limit of the range of the standard signal frequency band needing debugging, namely the lowest frequency band of 700-960M of the low-frequency signal frequency band is 700M, the lowest frequency band of 1710-2170M of the intermediate-frequency signal frequency band is 1710M, and the lowest frequency band of 2300-2700M of the high-frequency signal frequency band is 2300M; and finally, the length of each segment of the terminal antenna based on the metal frame is as follows: the length of 1+ a, the length of 1+ b and the length of 1+ c are respectively matched with the low-frequency signal frequency band, the intermediate-frequency signal frequency band and the high-frequency signal frequency band of the communication signal, and therefore a preset antenna length list of the terminal antenna based on the metal frame of the current mobile terminal device is generated.
Further, step S20 includes:
step S21, detecting whether the signal frequency band belongs to the preset antenna length list of the current terminal antenna.
After the signal frequency band of the terminal antenna of the mobile terminal is obtained and the signal frequency band to which the communication signal belongs is changed, whether the obtained signal frequency band belongs to the signal frequency band category in the preset antenna length list of the current terminal antenna is detected.
Specifically, for example, after acquiring a signal frequency band-1710-2170M to which a received communication signal belongs in a communication area in which a terminal antenna of the current mobile terminal device is located at the current time, it is detected whether the signal frequency band-1710-2170M belongs to a preset antenna length list of a terminal antenna based on a metal frame of the current mobile terminal device, which is shown in the mobile terminal interface shown in fig. 7, that is, whether the signal frequency band is of one of signal frequency band classes in the preset antenna length list is detected.
And step S22, if the antenna length belongs to the preset antenna length list, matching the antenna length of the terminal antenna corresponding to the signal frequency band in the antenna length category of the preset antenna length list.
And if the acquired signal frequency band is detected to belong to the signal frequency band category in the preset antenna length list of the current terminal antenna, matching the antenna length of the current terminal antenna according to the acquired signal frequency band in the antenna length category of the preset antenna length list of the current terminal antenna.
Specifically, for example, when detecting that a signal frequency band 1710-2170M to which a communication signal received at the current time of the terminal antenna belongs is one of signal frequency band categories in a preset antenna length list of the current terminal antenna, it is determined that the signal frequency band 1710-2170M belongs to the current preset antenna length list, and then the antenna length of the terminal antenna corresponding to the signal frequency band 1710-2170M is matched in the antenna length category of the preset antenna length list.
And S30, controlling a circuit between the corresponding resistors connected with the switch according to the antenna length so as to adjust the antenna length of the terminal antenna.
It should be noted that: the metal frame and the resistors form a feed loop of the terminal antenna through the single-pole multi-throw switch, and the single-pole multi-throw switch is connected with circuits among the different resistors and correspondingly forms a plurality of different antenna lengths of the terminal antenna.
When the antenna length of the current terminal antenna is matched in the preset antenna length list according to the signal frequency band to which the communication signal currently received by the terminal antenna belongs, the number of the resistors accessed in the feed loop of the mobile terminal antenna is adjusted according to the antenna length so as to adjust the antenna length of the terminal of the current mobile terminal antenna, and the current terminal antenna can receive the communication signal of the currently changed signal frequency band conveniently.
Further, step S30 includes:
and S31, detecting the length of the antenna, and the number of resistors connected into the feed loop formed by the single-pole multi-throw switch.
After the antenna length of the current terminal antenna based on the terminal metal frame is matched in the preset antenna length list according to the signal frequency band to which the communication signal currently received by the terminal antenna belongs, the number of the resistors correspondingly connected in the feed loop of the current terminal antenna by the current antenna length is detected.
Specifically, for example, as shown in the mobile terminal interface shown in fig. 7, in a preset antenna length list of a terminal antenna based on a metal frame of a current mobile terminal device, when a signal frequency band — 1710-2170M to which a changed communication signal belongs is received by the terminal antenna at the current time, in an antenna length category of the preset antenna length list, the current terminal antenna is matched to receive the communication signal belonging to the signal frequency band — 1710-2170M, and after a corresponding antenna length is "length 1+ c", the antenna length — length 1+ c is detected, and in a feed loop of the terminal antenna based on the metal frame of the current mobile terminal device, the number of 0 ohm resistors correspondingly connected is "two".
And S32, controlling the single-pole multi-throw switch to connect a circuit between corresponding resistors according to the number of the resistors so as to adjust the length of the antenna of the terminal antenna.
And after the number of the resistors connected into the terminal antenna feed loop corresponding to the antenna length is detected, controlling a single-pole multi-throw switch in the terminal antenna to be connected to a circuit between the corresponding resistors, so that the adjustment of the antenna length of the current terminal antenna is completed, and the terminal antenna can receive the current communication signal conveniently.
Specifically, for example, in an application scenario as shown in fig. 6B, after detecting an antenna length-length 1+ c, and after the number of 0 ohm resistors correspondingly connected in a feed loop of a terminal antenna based on a metal frame of a current mobile terminal device is "two", two 0 ohm resistors are connected in the feed loop of the current terminal antenna by controlling a single-pole multi-throw switch, that is, the switch is connected to a circuit indicated by a "c" point between a second 0 ohm resistor and a third 0 ohm resistor which are serially arranged on a current PCB board, so as to switch the segment length-length 1+ a "of a communication signal currently being a received signal frequency band 700-900M of the terminal antenna based on the metal frame to the target segment length-length 1+ c", so that the terminal antenna receives the communication signal having a signal frequency band 1710-2170M.
It should be noted that, in the terminal antenna of the mobile terminal device, the resistors are arranged in series on the PCB, or a plurality of resistors connected in parallel may be added to the circuit between two resistors connected in series; in a feed loop of the terminal antenna, a metal frame is connected with a feed point for receiving signals, a single-pole multi-throw switch is connected with a grounding place, or the metal frame is connected with the grounding place, and the single-pole multi-throw switch is correspondingly connected with the feed point for receiving the signals.
Further, in yet another embodiment, if the signal frequency band to which the terminal antenna currently receives the changed communication signal belongs is different from each signal frequency band in the signal frequency band category of the preset antenna length list, if the signal frequency band received by the terminal antenna is 2170 to 2300M, the 0 ohm resistor connected into each division length of the terminal antenna can be replaced by a capacitor inductor to adjust the antenna length of the current terminal antenna within a small range, so as to receive the communication signal of the signal frequency band-2170 to 2300M, and meanwhile, when the signal frequency band is distributed to each division length of the terminal antenna, that is, when the preset antenna length list of the current terminal antenna is generated, a parallel circuit can be further added to a circuit between two resistors connected in series for debugging, wherein the parallel circuit can add a capacitor and/or an inductor.
In this embodiment, whether a communication area where a mobile terminal is currently located changes or not is detected, and when the communication area changes is detected, whether a signal frequency band to which a communication signal received by a terminal antenna of the mobile terminal belongs changes or not is detected, when the signal frequency band to which the communication signal received by the terminal antenna of the mobile terminal belongs is detected, after the signal frequency band to which the communication signal belongs changes, the signal frequency band to which the communication signal belongs is obtained, after the signal frequency band to which the communication signal belongs is obtained, whether the obtained signal frequency band belongs to a signal frequency band category in a preset antenna length list of the current terminal antenna is detected, if the obtained signal frequency band belongs to the signal frequency band category in the preset antenna length list of the current terminal antenna, in the antenna length category in the preset antenna length list of the current terminal antenna, the length of the current terminal antenna is matched according to the obtained signal frequency band, the number of resistors connected in a feed loop of the current terminal antenna is detected, a single-pole multi-switch in the terminal antenna is controlled to be connected to a circuit corresponding to the resistors, and adjustment of the current terminal antenna is performed, so that the current terminal can receive the communication signal.
The method and the device realize that the current terminal equipment is required to be compatible with another communication signal frequency band based on the change of the signal frequency band of the received signal, then the antenna length of the current terminal equipment terminal antenna corresponding to the current changed signal frequency band is matched in a preset antenna length list corresponding to different antenna lengths in different communication signal frequency bands based on the changed signal frequency band, the number of resistors to be accessed in a feed loop of the current terminal antenna is determined according to the antenna length, and a circuit between the corresponding resistors is connected by a single-pole multi-throw switch to complete the adjustment of the antenna length of the terminal antenna, so that only one antenna is arranged on the current terminal equipment, the requirement of compatibility of different communication signal frequency bands can be met by adjusting the antenna length, the cost for manufacturing different versions or increasing the wiring of the antenna is saved, and the efficiency of the terminal antenna for receiving signals in different frequency bands is improved.
Further, referring to fig. 4, fig. 4 is a schematic flowchart of a second embodiment of the antenna adjusting method based on a metal frame according to the present invention, and on the basis of the first embodiment of the antenna adjusting method based on a metal frame according to the present invention, the second embodiment of the antenna adjusting method based on a metal frame according to the present invention is provided, in this embodiment, after the step of detecting whether the signal frequency band belongs to the preset antenna length list of the current terminal antenna in step S21 of the first embodiment of the antenna adjusting method based on a metal frame according to the present invention, the antenna adjusting method based on a metal frame according to the present invention further includes:
step S23, if it is detected that the signal frequency band does not belong to the preset antenna length list, adding the antenna length corresponding to the signal frequency band to the preset antenna length list.
And if the acquired signal frequency band is detected not to belong to the signal frequency band category in the preset antenna length list of the current terminal antenna, adding the current signal frequency band to the preset antenna length list of the current terminal antenna.
Further, step S23 includes:
step S2301, detecting whether a standard antenna length corresponding to the signal frequency band is the antenna length in the antenna length category.
When detecting that the signal frequency band to which the changed communication signal currently received by the terminal antenna belongs does not belong to the signal frequency band category in the preset antenna length list of the current terminal antenna, starting to detect whether the standard antenna length corresponding to the current signal frequency band belongs to one of the antenna length categories in the current preset antenna length list.
Specifically, for example, the signal frequency band to which the communication signal received by the terminal antenna at the current time belongs is-1000-1200M, and the signal frequency band does not belong to any one of the categories of all the signal frequency bands in the preset antenna length list of the current terminal antenna, namely "low-frequency signal frequency band 700-960M", "intermediate-frequency signal frequency band 1710-2170M", and "high-frequency signal frequency band 2300-2700M", the standard antenna length of the signal frequency band-1000-1200M starts to be detected, and whether the standard antenna length belongs to one of all the categories of the preset antenna length list of the current terminal antenna is further detected.
Step S2302, if the antenna length belongs to the antenna length category, adding the signal frequency band to a signal frequency band category corresponding to the current antenna length.
And if the standard antenna length corresponding to the current signal frequency band is detected to belong to one of the antenna length classes of the current preset antenna length list, adding the current signal frequency band to the signal frequency band class corresponding to the antenna length class to which the standard antenna length belongs.
Specifically, for example, if the standard antenna length of the frequency band- -1880-1920M for receiving the signal is detected as: length 1+ a, further detecting that the standard antenna length-length 1+ a belongs to "length 1+ a" in "length 1+ a", "length 1+ b", and "length 1+ c" displayed in the mobile terminal interface as shown in fig. 7, newly increasing the current signal frequency band-1880-1920M in "signal frequency band category corresponding to" length 1+ a "-" low-frequency signal frequency band 700-960M ", and updating the signal frequency band category corresponding to" length 1+ a "of the antenna length category into low-frequency signal frequency band 700-1920M".
Step S2303, if the antenna length category does not belong to the antenna length category, newly adding the signal frequency band in the signal frequency band category, and adding a standard antenna length corresponding to the signal frequency band in the antenna length category.
If the standard antenna length corresponding to the current signal frequency band is detected not to belong to any one of the antenna length categories of the current preset antenna length list, adding the current signal frequency band in the signal frequency band category of the preset antenna length list, and adding the standard antenna length corresponding to the signal frequency band in the antenna length category of the current preset antenna length list.
Specifically, for example, if the signal frequency band to which the communication signal currently received by the terminal antenna belongs is 2570-2620M, the standard antenna length for detecting the signal frequency band-2570-2620M is: length 1+ d, further detecting that the standard antenna length-length 1+ d does not belong to any one of the preset antenna length list antenna length categories of "length 1+ a", "length 1+ b", and "length 1+ c" shown in the mobile terminal interface shown in fig. 7, then newly adding the current signal frequency band of "2570-2620M" after the signal frequency band category of the preset antenna length list of the current terminal antenna of "low frequency signal frequency band 700-960M", "intermediate frequency signal frequency band 1710-2170M", and "high frequency signal frequency band 2300-2700M", and correspondingly adding the standard antenna length of the signal frequency band of-2570-2620M of "length 1+ a", "length 1+ b", and "length 1+ c" to the antenna length category of the preset antenna length list.
Further, after the step S30 of the first embodiment of the method for adjusting an antenna based on a metal bezel of the present invention, the step of adjusting the terminal antenna by adjusting the length of the segment of the terminal metal bezel according to the length of the antenna, the method for adjusting an antenna based on a metal bezel of the present invention further includes:
and step S40, when the terminal triggering positioning instruction is detected, adjusting the antenna length of the terminal antenna according to the positioning signal frequency band of the positioning signal of the area where the terminal is located.
When the current mobile terminal is detected to trigger a positioning instruction, detecting a positioning signal frequency band to which a positioning signal belongs in a geographic area where the mobile terminal is located currently, and matching the antenna length in a preset antenna length list of a terminal antenna according to the positioning signal frequency band so as to adjust the antenna length of the current terminal antenna.
Specifically, for example, when the current mobile terminal device opens an application such as a map that needs to perform terminal positioning, a positioning instruction for positioning the current mobile terminal device is triggered, when the positioning instruction is detected, a positioning signal frequency band to which a GPS positioning signal belongs in a geographic area where the mobile terminal device is currently located is obtained, according to the positioning signal frequency band, in a preset antenna length list displayed in a current mobile terminal device interface as shown in fig. 7, the antenna length of a current terminal antenna corresponding to the positioning signal frequency band to which the current positioning signal belongs is matched, and after the corresponding antenna length is matched, according to the antenna length, the segment length of a metal frame of the current mobile terminal device is adjusted to adjust the terminal antenna length of the current mobile terminal based on the metal frame, so that the terminal antenna can receive the current GPS positioning signal conveniently.
In this embodiment, if it is detected that the acquired signal frequency band does not belong to the signal frequency band category in the preset antenna length list of the current terminal antenna, adding the current signal frequency band to the preset antenna length list of the current terminal antenna; when the current mobile terminal is detected to trigger a positioning instruction, detecting a positioning signal frequency band to which a positioning signal belongs in a geographic area where the mobile terminal is located currently, and matching the antenna length in a preset antenna length list of a terminal antenna according to the positioning signal frequency band so as to adjust the antenna length of the current terminal antenna.
The method and the device realize that the communication signals and the positioning signals of different signal frequency bands are received through the unique antenna of the terminal, the standard antenna length of the signal frequency band is detected when other detected signal frequency bands without the antenna segment length are configured, the antenna segment length of the signal frequency band is automatically configured on the current terminal antenna according to the standard antenna length, and in addition, the positioning antenna and the communication antenna are combined into a whole by adjusting the communication signal frequency band to the positioning signal frequency band with higher frequency and configuring the terminal antenna segment length corresponding to each positioning signal frequency band.
In addition, referring to fig. 5, fig. 5 is a schematic functional module diagram of an embodiment of the antenna adjustment device based on a metal frame according to the present invention, and an embodiment of the present invention further provides an antenna adjustment device based on a metal frame, where the antenna adjustment device based on a metal frame includes:
the terminal antenna comprises an acquisition module, a frequency conversion module and a processing module, wherein the acquisition module is used for acquiring a signal frequency band after change when detecting that the signal frequency band of a signal received by the terminal antenna changes;
the matching module is used for matching the antenna length of the terminal antenna in a preset antenna length list according to the signal frequency band;
and the adjusting module is used for controlling the corresponding resistor connected with the switch according to the antenna length so as to adjust the antenna length of the terminal antenna.
Optionally, the obtaining module includes:
the first detection unit is used for detecting whether a signal frequency band to which a signal received by a terminal antenna belongs changes or not when a signal area where the terminal is located changes;
and the frequency band acquisition unit is used for acquiring the signal frequency band to which the signal received by the terminal antenna in the current signal area belongs when the signal frequency band is detected to be changed.
Optionally, the matching module comprises:
the second detection unit is used for detecting whether the signal frequency band belongs to the preset antenna length list of the current terminal antenna;
and the matching obtaining unit is used for obtaining the corresponding antenna length of the signal frequency band in the antenna length category of the preset antenna length list if the signal frequency band belongs to the preset antenna length list.
Optionally, after the second detecting unit, the method further comprises:
and the adding unit is used for adding the antenna length corresponding to the signal frequency band into the preset antenna length list if the signal frequency band is detected not to belong to the preset antenna length list.
Optionally, the newly added unit includes:
a third detecting unit, configured to detect whether a standard antenna length corresponding to the signal frequency band is the antenna length in the antenna length category;
a frequency band adding unit, configured to add the signal frequency band to a signal frequency band class corresponding to the current antenna length if the antenna length class belongs to the antenna length class;
and the length adding unit is used for newly adding the signal frequency band in the signal frequency band class and adding the standard antenna length corresponding to the signal frequency band in the antenna length class if the antenna length class does not belong to the antenna length class.
Optionally, the adjustment module comprises:
a fourth detection unit for detecting the length of the antenna and the number of resistors connected in the feed loop formed by the single-pole multi-throw switch;
and the length adjusting unit is used for controlling the single-pole multi-throw switch to connect a circuit between corresponding resistors according to the number of the resistors so as to adjust the antenna length of the terminal antenna.
Optionally, after the adjusting module, the method further comprises:
and the positioning antenna adjusting module is used for adjusting the antenna length of the terminal antenna according to the positioning signal frequency band of the positioning signal of the area where the terminal is located when the terminal triggering positioning instruction is detected.
The steps implemented by each functional module of the antenna adjusting device based on the metal frame can refer to each embodiment of the antenna adjusting method based on the metal frame, and are not described herein again.
The present invention also provides a mobile terminal, including: a memory, a processor, a communication bus, and a metal bezel-based antenna adjustment program stored on the memory:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the antenna adjustment program based on the metal bezel, so as to implement the steps of each embodiment of the antenna adjustment method based on the metal bezel.
The present invention also provides a storage medium storing one or more programs, which may be further executed by one or more processors for implementing the steps of the embodiments of the antenna adjusting method based on a metal bezel.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the antenna adjustment method based on the metal frame, and is not described herein again.
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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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.