CN111565053B - Antenna control method, antenna control device, storage medium and terminal - Google Patents

Antenna control method, antenna control device, storage medium and terminal Download PDF

Info

Publication number
CN111565053B
CN111565053B CN202010376346.7A CN202010376346A CN111565053B CN 111565053 B CN111565053 B CN 111565053B CN 202010376346 A CN202010376346 A CN 202010376346A CN 111565053 B CN111565053 B CN 111565053B
Authority
CN
China
Prior art keywords
antenna
terminal
frequency band
band information
external
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
CN202010376346.7A
Other languages
Chinese (zh)
Other versions
CN111565053A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010376346.7A priority Critical patent/CN111565053B/en
Publication of CN111565053A publication Critical patent/CN111565053A/en
Application granted granted Critical
Publication of CN111565053B publication Critical patent/CN111565053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0067Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with one or more circuit blocks in common for different bands
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3816Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/3833Hand-held transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover

Abstract

The application discloses an antenna control method, an antenna control device, a storage medium and a terminal, and relates to the technical field of communication. In an embodiment of the present application, an antenna control method includes: monitoring whether the antenna switch is connected with an external antenna; when it is monitored that the antenna switch is connected with the external antenna, current antenna frequency band information of the terminal is obtained; and controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna. Because the antenna switch can be controlled to connect the antenna path corresponding to the antenna frequency band information with the external antenna according to the current antenna frequency band information of the terminal, the shape of the external antenna can be set at will, and the performance of the external antenna is better, the antenna signal of the terminal can still meet the requirements of users even if the terminal is in an extreme environment.

Description

Antenna control method, antenna control device, storage medium and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to an antenna control method, an antenna control apparatus, a storage medium, and a terminal.
Background
With the development of science and technology, various terminals become an indispensable part of people's lives, and the terminals can communicate through antennas, so that a control method for the antennas becomes one of important points of research of those in the art.
In the related art, due to the fixed shape and space of the terminal, the antenna is generally disposed inside the terminal, and the volume of the antenna is generally small, which results in poor performance of the antenna in the terminal, and particularly in some extreme environments, such as high mountains, high speeds, basements or remote areas, the antenna signal of the terminal cannot meet the requirements of users.
Disclosure of Invention
The application provides an antenna control method, an antenna control device, a storage medium and a terminal, which can solve the technical problem that in the related art, due to the fact that the shape and the space of the terminal are fixed, an antenna is generally arranged inside the terminal, and the size of the antenna is generally small, and the performance of the antenna in the terminal is poor.
In a first aspect, the present application provides an antenna control method, including:
monitoring whether the antenna switch is connected with an external antenna;
when the antenna switch is monitored to be connected with the external antenna, acquiring the current antenna frequency range information of the terminal;
and controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
In a second aspect, an embodiment of the present application provides an antenna control apparatus, including:
the antenna monitoring module is used for monitoring whether the antenna switch is connected with the external antenna;
the frequency band information acquisition module is used for acquiring the current antenna frequency band information of the terminal after the antenna switch is monitored to be connected with the external antenna;
and the external antenna connection module is used for controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
In a third aspect, an embodiment of the present application provides a computer storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform the above-mentioned method.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method when executing the program;
the terminal also comprises at least one external antenna interface, wherein the external antenna interface is SMA (SMA, Small A Type) interface, Bayonet Nut Connector (BNC, Bayonet Nut Connector) interface, Universal Serial Bus (USB, Universal Serial Bus) interface or C-Type USB interface.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
the application provides an antenna control method, which comprises the following steps: monitoring whether the antenna switch is connected with an external antenna; when it is monitored that the antenna switch is connected with the external antenna, current antenna frequency band information of the terminal is obtained; and controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna. Because the antenna switch can be controlled to connect the antenna path corresponding to the antenna frequency band information with the external antenna according to the current antenna frequency band information of the terminal, the shape of the external antenna can be set at will, and the performance of the external antenna is better, the antenna signal of the terminal can still meet the requirements of users even if the terminal is in an extreme environment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a system interaction diagram of an antenna control method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an antenna control method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 4 is a flowchart illustrating an antenna control method according to another embodiment of the present application;
fig. 5 is a flowchart illustrating an antenna control method according to another embodiment of the present application;
fig. 6 is a flowchart illustrating an antenna control method according to another embodiment of the present application;
fig. 7 is a schematic illustration showing a prompt message according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of an antenna control apparatus according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of an antenna control apparatus according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of an antenna control apparatus according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of an antenna control apparatus according to another embodiment of the present application;
fig. 12 is a schematic structural diagram of a terminal according to another embodiment of the present application.
Detailed Description
In order to make the features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. 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 application.
Referring to fig. 1, fig. 1 is a system interaction diagram of an antenna control method according to an embodiment of the present disclosure.
It should be noted that, the execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) in the terminal or other integrated circuit chips in hardware, and may be, for example, a service related to an antenna control method in the terminal in software, which is not limited to this, and for convenience of description, the execution main body in the embodiment of the present application is taken as an example in the terminal, and an antenna control method in the embodiment of the present application is described below.
As shown in fig. 1, the system interaction in the embodiment of the present application includes:
and S101, connecting the external antenna with an antenna switch under the control of a user.
S102, the central processing unit monitors whether the antenna switch is connected with the external antenna.
The terminal comprises a plurality of antenna paths, and each antenna path corresponds to one antenna frequency range information.
Further, antenna switch includes an external antenna interface at least, and whether monitoring antenna switch is connected with external antenna includes: monitoring whether an external antenna interface is occupied or not; and when at least one external antenna interface is occupied, the antenna switch is confirmed to be connected with the external antenna.
S103, when the connection between the antenna switch and the external antenna is monitored, the central processing unit acquires the current antenna frequency range information of the terminal.
The method for acquiring the current antenna frequency band information of the terminal comprises the following steps: acquiring frequency band information used by a Subscriber Identity Module (SIM) card and a base station for transmitting signals at the current time of the terminal or at a preset time away from the current time; and taking the frequency band information as the current antenna frequency band information of the terminal.
And S104, the central processing unit controls the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
Wherein, control antenna switch and be connected antenna path and external antenna that antenna frequency channel information corresponds, include: acquiring a target antenna path corresponding to the antenna frequency band information; controlling an antenna switch to disconnect a target antenna path from an internal antenna; and controlling the antenna switch to connect the target antenna path with the external antenna path.
Optionally, controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna includes: detecting the signal intensity corresponding to the current antenna frequency band information of the terminal; if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a first preset intensity, acquiring a target antenna path corresponding to the antenna frequency band information; the antenna switch is controlled to connect the target antenna path with the internal antenna and the external antenna path.
Optionally, the method in this embodiment of the present application further includes: monitoring the signal intensity corresponding to the current antenna frequency band information of the terminal; if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a second preset intensity, sending a prompt message; the prompt message is used for reminding a user to connect the external antenna.
And S105, connecting an antenna path corresponding to the antenna frequency band information with an external antenna by the antenna switch.
In an embodiment of the present application, an antenna control method includes: monitoring whether the antenna switch is connected with an external antenna; when it is monitored that the antenna switch is connected with the external antenna, current antenna frequency band information of the terminal is obtained; and controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna. Because the antenna switch can be controlled to connect the antenna path corresponding to the antenna frequency band information with the external antenna according to the current antenna frequency band information of the terminal, the shape of the external antenna can be set at will, and the performance of the external antenna is better, the antenna signal of the terminal can still meet the requirements of users even if the terminal is in an extreme environment.
Referring to fig. 2, fig. 2 is a flowchart illustrating an antenna control method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes:
s201, monitoring whether the antenna switch is connected with the external antenna.
Before the antenna control method in the embodiment of the present application is executed, whether the antenna switch is connected to the external antenna may be continuously monitored. Referring to fig. 3, fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. As shown in fig. 3, the terminal 300 in the embodiment of the present application may include a central processing unit 310, an antenna switch 320, and the antenna switch 320 at least includes an external antenna interface 321, and the external antenna 330 may be connected to the antenna switch 320 through the external antenna interface 321, and further connected to the terminal 300 through the antenna switch 320.
The execution main body in the embodiment of the application can be a central processing unit in the terminal, and the central processing unit is connected with the antenna switch, so that the central processing unit runs related services and continuously monitors whether the antenna switch is connected with an external antenna or not.
S202, when it is monitored that the antenna switch is connected with the external antenna, current antenna frequency range information of the terminal is obtained.
In the related art, the terminal may include a plurality of antenna paths, each antenna path corresponds to one antenna frequency band information, that is, the antenna frequency band information also includes a plurality of antenna frequency band information, for example, the antenna frequency band information includes three frequency bands, which are respectively a low frequency band, a medium frequency band, and other frequency bands, so that the low frequency band corresponds to the low frequency band antenna path, the medium frequency band corresponds to the medium frequency band antenna path, and the other frequency bands correspond to the other frequency band antenna paths. The antenna frequency band information can be changed according to different environments of the terminal, for example, when the terminal is in an urban area, a mountain, a high speed, a basement or a remote area, the distance difference between a base station or a server and the terminal is large, the terminal can use different frequency bands, the antenna frequency band information in the terminal can be different, therefore, when the terminal needs to receive or transmit a wireless signal, the terminal firstly needs to obtain the current antenna frequency band information, and according to the current antenna frequency band information, an antenna switch is controlled to connect an antenna path corresponding to the antenna frequency band information with an internal antenna, and then the terminal can receive and transmit the signal through the internal antenna.
Due to the fixed shape and space of the terminal, the antenna is generally arranged inside the terminal, and the volume of the antenna is generally small, so that the performance of the antenna in the terminal is poor, especially in some extreme environments, such as high mountains, high speeds, basements or remote areas, the base station or the server is far away from the terminal, the wireless signal which can be received by the terminal is weak, and the antenna signal which is received by the terminal through the internal antenna cannot meet the requirements of users. The external antenna can be arranged outside the terminal, so that the shape of the external antenna is not limited by the terminal, the size and parts of the external antenna can be increased, and the performance of receiving and transmitting signals of the external antenna is better than that of an internal antenna inside the terminal. That is, when the user is in a mountain, a high speed, a basement or a remote area, the antenna signal intensity of the terminal is weak, and at the moment, the user can insert the external antenna into the external antenna interface, the external antenna is connected with the antenna switch through the external antenna interface, and then is connected with the terminal through the antenna switch. Therefore, after the central processing unit monitors that the antenna switch is connected with the external antenna, in order to facilitate the connection of the currently used antenna path with the external antenna, the current antenna frequency band information of the terminal needs to be acquired.
And S203, controlling an antenna switch to connect an antenna path corresponding to the antenna frequency band information with an external antenna.
After the central processing unit acquires the current antenna frequency band information of the terminal, the central processing unit can acquire the antenna channel currently used by the terminal, and the central processing unit can send a control signal to the antenna switch so as to control the antenna channel corresponding to the antenna frequency band information by the antenna switch, namely the antenna channel currently used by the terminal is connected with an external antenna, so that the terminal can receive wireless signals or transmit wireless signals by using the external antenna.
In an embodiment of the present application, an antenna control method includes: monitoring whether the antenna switch is connected with an external antenna; when it is monitored that the antenna switch is connected with the external antenna, current antenna frequency band information of the terminal is obtained; and controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna. Because the antenna switch can be controlled to connect the antenna path corresponding to the antenna frequency band information with the external antenna according to the current antenna frequency band information of the terminal, the shape of the external antenna can be set at will, and the performance of the external antenna is better, the antenna signal of the terminal can still meet the requirements of users even if the terminal is in an extreme environment. Further, under the condition that the antenna performance in the terminal becomes good, the terminal does not need to continuously search for the wireless signals, so that the power consumption of the terminal for searching for the wireless signals is reduced, the power consumption of the terminal is saved, the endurance time of the terminal is prolonged, and the difference of the antenna performance of the terminal caused by the extremely rapid development of the structure and the network can be reduced.
Referring to fig. 4, fig. 4 is a schematic flowchart of an antenna control method according to another embodiment of the present application.
As shown in fig. 4, the method steps include:
s401, monitoring whether the external antenna interface is occupied.
Because the antenna switch at least comprises an external antenna interface, when the monitoring antenna switch is connected with the external antenna, whether the external antenna interface is occupied is also monitored. The method for monitoring whether the external antenna interface is occupied can comprise various methods, for example, the central processing unit can be connected with the external antenna interface, whether data transmission exists in the external antenna interface can be monitored, and when the data transmission exists in the external antenna interface, the external antenna interface is occupied; otherwise, when there is no data transmission in the external antenna interface, it means that the external antenna interface is not occupied. For another example, the central processing unit may also monitor a circuit parameter in the external antenna interface, where the circuit parameter may be voltage, current, or resistance, and when the circuit parameter in the external antenna interface changes, it represents that the external antenna interface is occupied, otherwise, when the circuit parameter in the external antenna interface does not change, it represents that the external antenna interface is not occupied.
S402, when at least one external antenna interface is occupied, the antenna switch is confirmed to be connected with the external antenna.
When the external antenna interface is occupied, the antenna switch is connected with the external antenna. Because the quantity of external antenna interface can include a plurality ofly, when a plurality of external antenna interfaces were taken up, the representative had a plurality of external antennas to be connected with antenna switch simultaneously, and the terminal can obtain the performance of wireless signal better than the performance that obtains wireless signal through an external antenna through a plurality of external antennas.
And S403, when it is monitored that the antenna switch is connected with the external antenna, acquiring frequency band information used by a Subscriber Identity Module (SIM) card and a base station for transmitting signals at the current time of the terminal or at a preset time away from the current time.
When the connection between the antenna switch and the external antenna is monitored, the user needs to obtain a wireless signal through the external antenna, and at the moment, the antenna path currently used by the terminal needs to be obtained first, so that the antenna path is connected with the external antenna subsequently.
The method includes the steps that an antenna channel used by a terminal at present is obtained, an antenna frequency band used by the terminal at present needs to be obtained first, that is, current antenna frequency band information of the terminal needs to be obtained, so that a central processing unit can obtain the antenna frequency band used by the terminal at present through the current antenna frequency band information of the terminal. The method for acquiring the current antenna frequency band information of the terminal may include multiple methods, and since the SIM card is used as a main medium for communication between the terminal and the base station or the server and for wireless signal transmission such as a network, a frequency band used when the SIM card transmits a signal with the base station or the server may be used as the current antenna frequency band used by the terminal. Therefore, a feasible method is that the central processing unit obtains the frequency band information used by the SIM card and the base station or the server for transmitting signals at the current time or at a preset time from the current time.
And S404, taking the frequency band information as the current antenna frequency band information of the terminal.
The current time may refer to a time point when the central processing unit monitors that the antenna switch is connected with the external antenna, and frequency band information used by the SIM card and the base station or the server for signal transmission at the time point is also the current antenna frequency band information of the terminal; since the environment or the position of the terminal does not change greatly in a short time, the time is preset from the current time, and the frequency band information used by the SIM card and the base station or the server for transmitting signals is also the current antenna frequency band information of the terminal.
Alternatively, another way to obtain the current antenna frequency band information of the terminal may be that the central processing unit is connected to a modem, and the modem is used as a component of the terminal for processing communication and network, so that the central processing unit can obtain the current antenna frequency band information of the terminal from the wireless signal processed by the modem. In the embodiment of the present application, the method for acquiring the current antenna frequency band information of the terminal is not limited to the above method, and an appropriate method may be selected according to actual situations.
S405, obtaining a target antenna path corresponding to the antenna frequency band information.
Because the terminal may include a plurality of antenna paths, each antenna path corresponds to one antenna frequency band information, that is, the antenna frequency band information also includes a plurality of antenna frequency band information, after the central processing unit acquires the current antenna frequency band information of the terminal, a target antenna path corresponding to the terminal may also be acquired according to the current antenna frequency band information of the terminal, and the target antenna path may be considered as an antenna path currently used by the terminal.
S406, controlling the antenna switch to disconnect the target antenna path from the internal antenna.
In the above embodiment, before the external antenna is not connected in the terminal, or before the antenna switch is not connected with the external antenna, the current antenna path of the terminal is connected with the internal antenna, and the central processing unit receives the wireless signal or transmits the wireless signal through the internal antenna. Therefore, before the current target antenna path is controlled to be connected with the external antenna, the switch can be controlled to disconnect the target antenna path from the internal antenna, so that the power consumption of the internal antenna for searching wireless signals is reduced, the power consumption of the terminal is saved, and the endurance time of the terminal is prolonged.
And S407, controlling the antenna switch to connect the target antenna path with the external antenna path.
The central processing unit can send a control signal to the antenna switch to control the antenna switch to connect the antenna path corresponding to the antenna frequency band information, namely, the antenna path currently used by the terminal is connected with the external antenna, so that the terminal uses the external antenna to receive wireless signals or transmit wireless signals, the shape of the external antenna can be set at will, the performance of the external antenna is better, and therefore, even if the terminal is in an extreme environment, the antenna signal of the terminal can still meet the requirements of users. Further, under the condition that the antenna performance in the terminal becomes good, the terminal does not need to continuously search for the wireless signals, so that the power consumption of the terminal for searching for the wireless signals is reduced, the power consumption of the terminal is saved, the endurance time of the terminal is prolonged, and the difference of the antenna performance of the terminal caused by the extremely rapid development of the structure and the network can be reduced.
Optionally, in the above embodiment, the antenna switch is controlled to connect the antenna path corresponding to the antenna frequency band information with the external antenna, and another embodiment mode may also be provided. Referring to fig. 5, fig. 5 is a schematic flowchart illustrating an antenna control method according to another embodiment of the present application. As shown in fig. 5, the method steps include:
s501, detecting the signal intensity corresponding to the current antenna frequency range information of the terminal.
After the current antenna frequency band information of the terminal is obtained, the central processing unit may obtain the signal strength corresponding to the current antenna frequency band of the terminal according to the current antenna frequency band information of the terminal.
S502, if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a first preset intensity, a target antenna path corresponding to the antenna frequency band information is obtained.
If the signal strength corresponding to the current antenna frequency band information of the terminal is smaller than the first preset strength, which represents that the wireless signal of the environment where the terminal is located is poor, a target antenna path corresponding to the antenna frequency band information can be obtained at the moment, and the target antenna path can be regarded as an antenna path currently used by the terminal.
S503, controlling the antenna switch to connect the target antenna path with the internal antenna and the external antenna path.
When the environment wireless signal that the terminal is located is relatively poor, can control antenna switch and be connected target antenna route and internal antenna and external antenna route, also promptly the terminal both can use internal antenna to obtain wireless signal, can also obtain wireless signal through external antenna, further improves the ability that the terminal obtained wireless signal, provides user's experience.
Referring to fig. 6, fig. 6 is a flowchart illustrating an antenna control method according to another embodiment of the present application. As shown in fig. 6, the method steps include:
s601, monitoring the signal intensity corresponding to the current antenna frequency range information of the terminal.
In order to actively remind a user of inserting an external antenna when the wireless signal intensity of a terminal environment is poor so as to improve the wireless signal receiving performance of the terminal, a relevant service can be operated in a central processing unit so as to continuously monitor the signal intensity corresponding to the current antenna frequency band information of the terminal, namely, the signal intensity corresponding to the antenna frequency band currently used by the terminal.
S602, if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a second preset intensity, sending prompt information, wherein the prompt information is used for reminding a user to connect an external antenna.
If the signal strength corresponding to the current antenna frequency band information of the terminal is smaller than the second preset strength, the terminal is represented to be in an area or environment with weak wireless signals, and at the moment, the central processing unit can control the display screen to send out prompt patterns or characters. Referring to fig. 7, fig. 7 is a schematic diagram illustrating a prompt message according to another embodiment of the present application. As shown in fig. 7, if the signal strength corresponding to the current antenna frequency band information of the terminal is less than the second preset strength, a prompt message 720 is displayed on the display screen 710 of the terminal 700, where the prompt message 720 is "poor in wireless signal, please insert an external antenna" for prompting the user to connect the external antenna, so that the terminal can receive the wireless signal through the external antenna. Furthermore, under the condition that the antenna performance in the terminal is good, the terminal does not need to continuously search for the wireless signals, so that the power consumption of the terminal for searching for the wireless signals is reduced, the power consumption of the terminal is saved, and the endurance time of the terminal is prolonged.
Optionally, the prompt message may also be a sound signal or an optical signal, and in an actual use situation of the terminal, the type of the prompt message may be set according to needs.
And S603, monitoring whether the antenna switch is connected with the external antenna.
And S604, acquiring the current antenna frequency range information of the terminal after the connection between the antenna switch and the external antenna is monitored.
And S605, controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
The detailed description of steps S603 to S605 can refer to the description of steps S201 to S203, which is not repeated herein.
Optionally, after the signal intensity corresponding to the current antenna frequency band information of the terminal is greater than or equal to the second preset intensity, the user can be reminded of removing the external antenna, the terminal can use the internal antenna of the terminal, and after the terminal removes the external antenna, the terminal can be used flexibly by the user more conveniently.
Optionally, the terminal may further control the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the internal antenna when detecting that the antenna switch is not connected to the external antenna.
Optionally, the terminal may further receive an active switching instruction input by the user, where the active switching instruction may be an instruction input by the user through a keyboard, a voice input, or another command, and according to the active switching instruction, the antenna switch is controlled to connect the antenna path corresponding to the antenna frequency band information with the external antenna, and/or the antenna switch is controlled to connect the antenna path corresponding to the antenna frequency band information with the internal antenna, so as to meet different requirements of the user.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an antenna control device according to another embodiment of the present application.
As shown in fig. 8, the antenna control apparatus 800 includes:
and an antenna monitoring module 810 for monitoring whether the antenna switch is connected with the external antenna.
A frequency band information obtaining module 820, configured to obtain current antenna frequency band information of the terminal after it is monitored that the antenna switch is connected to the external antenna. The terminal comprises a plurality of antenna paths, and each antenna path corresponds to one antenna frequency range information.
And the external antenna connection module 830 is configured to control the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an antenna control device according to another embodiment of the present application.
As shown in fig. 9, the antenna control apparatus 900 includes:
and the interface monitoring module 910 is configured to monitor whether the external antenna interface is occupied.
And the external antenna connection module 920 is configured to determine that the antenna switch is connected to the external antenna when at least one external antenna interface is occupied.
The frequency band information obtaining Module 930 is configured to obtain frequency band information used by a Subscriber Identity Module (SIM) card and a base station for transmitting signals at the current time of the terminal or a preset time away from the current time.
And a frequency band information confirming module 940, configured to use the frequency band information as the current antenna frequency band information of the terminal.
A first target antenna path obtaining module 950, configured to obtain a target antenna path corresponding to the antenna frequency band information.
An internal antenna disconnect module 960 for controlling the antenna switch to disconnect the target antenna path from the internal antenna.
The first external antenna connection module 970 is configured to control the antenna switch to connect the target antenna path with the external antenna path.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an antenna control device according to another embodiment of the present application.
As shown in fig. 10, the antenna control apparatus 1000 includes:
and the interface monitoring module 1010 is used for monitoring whether the external antenna interface is occupied.
The external antenna connection module 1020 is configured to determine that the antenna switch is connected to the external antenna when at least one external antenna interface is occupied.
A frequency band information obtaining Module 1030, configured to obtain frequency band information used by a Subscriber Identity Module (SIM) card and a base station for transmitting signals at the current time of the terminal or a preset time away from the current time.
The frequency band information confirming module 1040 is configured to use the frequency band information as the current antenna frequency band information of the terminal.
The first signal strength detecting module 1050 is configured to detect a signal strength corresponding to the current antenna frequency band information of the terminal.
The second target antenna path obtaining module 1060 is configured to, if the signal strength corresponding to the current antenna frequency band information of the terminal is smaller than the first preset strength, obtain a target antenna path corresponding to the antenna frequency band information.
The second external antenna connection module 1070 is configured to control the antenna switch to connect the target antenna path with the internal antenna and the external antenna path.
Referring to fig. 11, fig. 11 is a schematic structural diagram of an antenna control device according to another embodiment of the present application.
As shown in fig. 11, the antenna control apparatus 1100 includes:
the second signal strength detecting module 1110 is configured to monitor a signal strength corresponding to the current antenna frequency band information of the terminal.
The reminding module 1120 is configured to send out a reminding message if the signal strength corresponding to the current antenna frequency band information of the terminal is smaller than a second preset strength; the prompt message is used for reminding a user to connect the external antenna.
The antenna monitoring module 1130 is configured to monitor whether the antenna switch is connected to the external antenna.
The frequency band information obtaining module 1140 is configured to obtain current antenna frequency band information of the terminal after it is monitored that the antenna switch is connected to the external antenna. The terminal comprises a plurality of antenna paths, and each antenna path corresponds to one antenna frequency range information.
And the external antenna connection module 1150 is configured to control the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
The description of embodiments of the present application refers to the accompanying drawings in which like numerals refer to the same or similar elements throughout the different views unless otherwise indicated. The embodiments described in the above exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
Embodiments of the present application further provide a computer storage medium, where a plurality of instructions are stored, where the instructions are adapted to be loaded by a processor and to perform the steps of the pop-up method in the foregoing embodiments.
Further, please refer to fig. 12, where fig. 12 is a schematic structural diagram of a terminal according to another embodiment of the present application. As shown in fig. 12, the terminal 1200 may include: at least one central processor 1201, at least one network interface 1204, a user interface 1203, a memory 1205, sensors 1206, at least one communication bus 1202.
The terminal also comprises an antenna switch and the antenna switch at least comprises an external antenna interface, the external antenna can be connected with the antenna switch through the external antenna interface, and then the external antenna is connected with the terminal through the antenna switch. The external antenna interface may be a patch Type interface, and the Type of the external antenna interface is an SMA (SMA, Small a Type) interface, a Bayonet Nut Connector (BNC, Bayonet Nut Connector), a Universal Serial Bus (USB, Universal Serial Bus) interface, or a C-Type USB interface.
Wherein a communication bus 1202 is used to enable connective communication between these components.
The user interface 1203 may include a screen (Display) and a Camera (Camera), and the optional user interface 1203 may also include a standard wired interface and a wireless interface.
The network interface 1204 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
The central processing unit 1201 may include one or more processing cores. The central processor 1201 interfaces with various interfaces and lines throughout the various parts within the terminal 1200 and performs various functions and processes data of the terminal 1200 by executing or executing instructions, programs, code sets or instruction sets stored in the memory 1205, as well as invoking data stored in the memory 1205. Optionally, the central Processing unit 1201 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The CPU 1201 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the screen; the modem is used to handle wireless communications. It is to be understood that the modem may be implemented by a single chip without being integrated into the central processing unit 1201.
The Memory 1205 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1205 includes a non-transitory computer-readable medium (non-transitory computer-readable storage medium). The memory 1205 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1205 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1205 may alternatively be at least one memory device located remotely from the central processor 1201 described previously. As shown in fig. 12, the memory 1205 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an antenna control program.
In the terminal 1200 shown in fig. 12, the user interface 1203 is mainly used for providing an input interface for a user, and acquiring data input by the user; the central processing unit 1201 may be configured to call the antenna control program stored in the memory 1205, and specifically perform the following operations:
monitoring whether the antenna switch is connected with an external antenna;
when it is monitored that the antenna switch is connected with the external antenna, current antenna frequency band information of the terminal is obtained; the terminal comprises a plurality of antenna paths, and each antenna path corresponds to antenna frequency band information.
And controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna.
In an embodiment, when the central processing unit 1201 executes the control of the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna, the following steps are specifically executed:
acquiring a target antenna path corresponding to the antenna frequency band information;
controlling an antenna switch to disconnect a target antenna path from an internal antenna;
and controlling the antenna switch to connect the target antenna path with the external antenna path.
In an embodiment, when the central processing unit 1201 executes the control of the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna, the following steps are specifically executed:
detecting the signal intensity corresponding to the current antenna frequency band information of the terminal;
if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a first preset intensity, acquiring a target antenna path corresponding to the antenna frequency band information;
the antenna switch is controlled to connect the target antenna path with the internal antenna and the external antenna path.
In one embodiment, when the central processing unit 1201 performs monitoring whether the antenna switch is connected to the external antenna, the following steps are specifically performed:
monitoring whether an external antenna interface is occupied or not;
and when at least one external antenna interface is occupied, the antenna switch is confirmed to be connected with the external antenna.
In an embodiment, when the central processing unit 1201 performs the acquisition of the current antenna frequency band information of the terminal, the following steps are specifically performed:
acquiring frequency band information used by a Subscriber Identity Module (SIM) card and a base station for transmitting signals at the current time of the terminal or at a preset time away from the current time;
and taking the frequency band information as the current antenna frequency band information of the terminal.
In an embodiment, the central processing unit 1201 is further configured to perform monitoring on signal strength corresponding to the current antenna frequency band information of the terminal;
if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a second preset intensity, sending a prompt message;
the prompt message is used for reminding a user to connect the external antenna.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the antenna control method, apparatus, storage medium and terminal provided by the present application, those skilled in the art will recognize that there are variations in the embodiments and applications of the method and apparatus provided by the present application.

Claims (8)

1. An antenna control method, characterized in that the method comprises:
monitoring whether the antenna switch is connected with an external antenna;
when the antenna switch is monitored to be connected with the external antenna, acquiring the current antenna frequency range information of the terminal;
controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna;
the terminal comprises a plurality of antenna paths, wherein each antenna path corresponds to antenna frequency range information; the controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna includes: detecting the signal intensity corresponding to the current antenna frequency band information of the terminal; if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a first preset intensity, acquiring a target antenna path corresponding to the antenna frequency band information; and controlling the antenna switch to connect the target antenna path with the internal antenna and the external antenna path.
2. The method of claim 1, wherein the controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information to the external antenna comprises:
acquiring a target antenna path corresponding to the antenna frequency band information;
controlling the antenna switch to disconnect the target antenna path from the internal antenna;
and controlling the antenna switch to connect the target antenna path with the external antenna path.
3. The method of claim 1, wherein the antenna switch includes at least one external antenna interface, and the monitoring whether the antenna switch is connected to the external antenna comprises:
monitoring whether the external antenna interface is occupied or not;
and when at least one external antenna interface is occupied, confirming that the antenna switch is connected with the external antenna.
4. The method of claim 1, wherein the obtaining current antenna frequency band information of the terminal comprises:
acquiring frequency band information used by a Subscriber Identity Module (SIM) card and a base station for transmitting signals at the current time of the terminal or at a preset time away from the current time;
and taking the frequency band information as the current antenna frequency band information of the terminal.
5. The method of claim 1, further comprising:
monitoring the signal intensity corresponding to the current antenna frequency band information of the terminal;
if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a second preset intensity, sending a prompt message;
and the prompt message is used for reminding a user to connect the external antenna.
6. An antenna control apparatus, characterized in that the apparatus comprises:
the antenna monitoring module is used for monitoring whether the antenna switch is connected with the external antenna;
the frequency band information acquisition module is used for acquiring the current antenna frequency band information of the terminal after the antenna switch is monitored to be connected with the external antenna;
the external antenna connection module is used for controlling the antenna switch to connect the antenna path corresponding to the antenna frequency band information with the external antenna;
the terminal comprises a plurality of antenna paths, wherein each antenna path corresponds to antenna frequency range information; the external antenna connection module is specifically used for: detecting the signal intensity corresponding to the current antenna frequency band information of the terminal; if the signal intensity corresponding to the current antenna frequency band information of the terminal is smaller than a first preset intensity, acquiring a target antenna path corresponding to the antenna frequency band information; and controlling the antenna switch to connect the target antenna path with the internal antenna and the external antenna path.
7. A computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the method according to any of claims 1 to 5.
8. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 5 when executing the program;
the terminal also comprises at least one external antenna interface, wherein the external antenna interface is SMA (SMA, Small A Type) interface, Bayonet Nut Connector (BNC, Bayonet Nut Connector) interface, Universal Serial Bus (USB, Universal Serial Bus) interface or C-Type USB interface.
CN202010376346.7A 2020-05-06 2020-05-06 Antenna control method, antenna control device, storage medium and terminal Active CN111565053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010376346.7A CN111565053B (en) 2020-05-06 2020-05-06 Antenna control method, antenna control device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010376346.7A CN111565053B (en) 2020-05-06 2020-05-06 Antenna control method, antenna control device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN111565053A CN111565053A (en) 2020-08-21
CN111565053B true CN111565053B (en) 2022-03-15

Family

ID=72071815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010376346.7A Active CN111565053B (en) 2020-05-06 2020-05-06 Antenna control method, antenna control device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111565053B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112909508A (en) * 2021-01-20 2021-06-04 努比亚技术有限公司 Antenna structure and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230492A (en) * 2016-07-29 2016-12-14 广东欧珀移动通信有限公司 The changing method of a kind of terminal antenna, device and mobile terminal
CN106788575A (en) * 2016-12-26 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of signal transmit-receive method, device, circuit and terminal
CN107346983A (en) * 2017-06-28 2017-11-14 广东欧珀移动通信有限公司 A kind of compatible built-in and external antenna mobile terminal
CN107394363A (en) * 2017-06-22 2017-11-24 深圳市金立通信设备有限公司 A kind of external antenna device, its connection method and terminal
CN107682039A (en) * 2017-09-04 2018-02-09 深圳天珑无线科技有限公司 Terminal and its communication means, storage device based on multiple antennas
CN110311704A (en) * 2019-06-25 2019-10-08 Oppo广东移动通信有限公司 Antenna switching method and Related product
CN111294091A (en) * 2018-12-10 2020-06-16 中兴通讯股份有限公司 Internal and external antenna switching method, mobile terminal and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247678B (en) * 2019-04-24 2022-04-26 维沃移动通信有限公司 Terminal control method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230492A (en) * 2016-07-29 2016-12-14 广东欧珀移动通信有限公司 The changing method of a kind of terminal antenna, device and mobile terminal
CN106788575A (en) * 2016-12-26 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of signal transmit-receive method, device, circuit and terminal
CN107394363A (en) * 2017-06-22 2017-11-24 深圳市金立通信设备有限公司 A kind of external antenna device, its connection method and terminal
CN107346983A (en) * 2017-06-28 2017-11-14 广东欧珀移动通信有限公司 A kind of compatible built-in and external antenna mobile terminal
CN107682039A (en) * 2017-09-04 2018-02-09 深圳天珑无线科技有限公司 Terminal and its communication means, storage device based on multiple antennas
CN111294091A (en) * 2018-12-10 2020-06-16 中兴通讯股份有限公司 Internal and external antenna switching method, mobile terminal and readable storage medium
CN110311704A (en) * 2019-06-25 2019-10-08 Oppo广东移动通信有限公司 Antenna switching method and Related product

Also Published As

Publication number Publication date
CN111565053A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN107360635B (en) Data transmission method, device, terminal and computer readable storage medium
US10412207B2 (en) Mobile terminal, power adapter, and upgrade method thereof
CN108810260B (en) Antenna switching control method and related product
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
US10474452B2 (en) Firmware upgrade through GPIO port via UART protocol
KR20200099735A (en) Electronic device for performing handover in wireless network environment and method thereof
WO2015069651A1 (en) Session quality display in a wireless communication system
CN104768123A (en) Bluetooth connection method, device and system
KR101789609B1 (en) Network switching method and terminal device
CN112219423B (en) Transmission path switching method and device
KR20200062793A (en) Electronic device for managing bearer and operation method thereof
CN107222937B (en) Data transmission method, device and terminal
CN110299930B (en) Antenna switching method and related equipment
CN111565053B (en) Antenna control method, antenna control device, storage medium and terminal
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN103648157A (en) A method for a mobile terminal to request wireless communication network registration, a mobile terminal, a wireless communication network server, and a system
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
CN108712764B (en) Signal interference processing method, device, electronic device and storage medium
US9971591B2 (en) Mobile terminal, power adapter, and upgrade method thereof
CN108933968B (en) Message format conversion method and device, storage medium and android terminal
EP3634037A1 (en) Communication method, wearable device, server and system
KR101649203B1 (en) Peer setup of predefined modulation transmission
CN112312565A (en) Communication processing method, device, apparatus and storage medium
CN110797985B (en) Coil switching method and device, storage medium and electronic equipment
CN112351461A (en) WiFi network switching method, device, terminal and storage medium

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