CN108880649B - Antenna configuration method, device, equipment and storage medium of terminal - Google Patents
Antenna configuration method, device, equipment and storage medium of terminal Download PDFInfo
- Publication number
- CN108880649B CN108880649B CN201810743409.0A CN201810743409A CN108880649B CN 108880649 B CN108880649 B CN 108880649B CN 201810743409 A CN201810743409 A CN 201810743409A CN 108880649 B CN108880649 B CN 108880649B
- Authority
- CN
- China
- Prior art keywords
- antenna
- signal quality
- quality parameter
- parameter value
- terminal
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/06—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
- H04B7/0602—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
- H04B7/0608—Antenna selection according to transmission parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
- H04B7/0825—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with main and with auxiliary or diversity antennas
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an antenna configuration method of a terminal, which comprises the steps of obtaining the current signal quality parameter value of the terminal; when the signal quality parameter value is smaller than a preset threshold value, acquiring an antenna containing a current working frequency band as an antenna to be selected; then, for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state; comparing the obtained signal quality parameter values to obtain an optimal signal quality parameter value; and finally, selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value. The technical problems that in the prior art, the requirement on hardware of the terminal equipment is high, the design workload is large and the implementation effect is poor are solved, so that the performance of the current antenna of the terminal is optimal, and the signal receiving capability of the antenna in the terminal equipment is improved.
Description
Technical Field
The present invention relates to the field of communication technology, and in particular, to a method, an apparatus, a device, and a storage medium for configuring an antenna of a terminal.
Background
Communication technology is the transmission of information in the form of electromagnetic, acoustic or light waves from a transmitting end (source) to one or more receiving ends (sinks) by means of electrical impulses. Whether the receiving end can correctly recognize the information depends on the power loss in the transmission.
With the rapid development of communication technology, the applications of communication using antenna signals are increasing. However, the antenna radiation unit is easily affected by the surrounding environment, the use situations of mobile terminals such as mobile phones are complex and various, the efficiency of the antenna is affected by the handheld mode of a user and the surrounding environment of the mobile phone, so that the communication performance is affected, because the input impedance of the antenna changes obviously along with the surrounding environment, when the impedance of the antenna changes, the impedance between the communication equipment and the antenna becomes mismatched, so that the communication quality of the communication equipment is affected, and the communication performance of the communication equipment is reduced. Therefore, the preset configuration of the antenna may sometimes make it difficult to exert the performance of the antenna.
The existing antenna tuning generally detects the current use scene or environment state by a sensor, then matches in a preset configuration parameter library according to the detection result, and then carries out antenna tuning according to the matching result, and detects the use scene or environment state by the sensor, a plurality of sensors are needed to be matched, so that the terminal has higher hardware requirements, the preset configuration parameter library needs a large amount of experiments and fine design in the research and development stage, the design workload is large, and if the configuration parameter library is not designed well enough, the antenna configuration effect is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for configuring an antenna of a terminal, so as to solve the technical problems of high hardware requirement, large design workload, and poor implementation effect for a terminal device in the prior art.
In a first aspect, an embodiment of the present invention provides an antenna configuration method for a terminal, where the terminal includes at least two antennas, and the method includes:
acquiring a current signal quality parameter value of the terminal;
when the signal quality parameter value is smaller than a preset threshold value, acquiring an antenna containing a current working frequency band as an antenna to be selected;
for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state;
comparing the obtained signal quality parameter values to obtain an optimal signal quality parameter value;
and selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value.
In a first possible implementation manner of the first aspect, the obtaining, for any one of the antennas to be selected, a signal quality parameter value of the antenna in each tuning state includes:
and sequentially switching the tuning states of any antenna to be selected to obtain the signal quality parameter value of the antenna in each tuning state.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the terminal further includes a tuning device connected to each of the antennas; wherein each of said tuning means comprises at least two tuning states;
then, sequentially switching the tuning states of any one of the antennas to be selected, and acquiring the signal quality parameter value of the antenna in each tuning state includes:
for any antenna to be selected, acquiring all tuning states of the tuning device connected with the antenna;
and sequentially switching each tuning state of each tuning device.
In a third possible implementation manner of the first aspect, the preset threshold is a preset difference;
if the signal quality parameter value is smaller than the preset threshold, acquiring an antenna containing a current working frequency band as an antenna to be selected further includes:
acquiring a last signal quality parameter value;
obtaining a difference value obtained by subtracting the last signal quality parameter value from the current signal quality parameter value;
and when the difference is smaller than the preset difference, acquiring the antenna containing the current working frequency band as the antenna to be selected.
In a fourth possible implementation manner of the first aspect, the obtaining the current signal quality parameter value of the terminal includes:
acquiring a current communication system from a storage unit of the terminal;
and acquiring a signal quality parameter value corresponding to the current communication system from a modulation and demodulation unit of the terminal.
In a fifth possible implementation manner of the first aspect, the selecting a main antenna and switching a tuning state of the main antenna according to the optimal signal quality parameter value includes:
selecting the antenna corresponding to the optimal signal quality parameter value as a main antenna;
and switching the tuning state of the main antenna to the tuning state corresponding to the optimal signal quality parameter value.
With reference to the fourth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
when the auxiliary antenna supported by the current communication system is detected, acquiring a second-best signal quality parameter value according to the comparison result of the signal quality parameter values;
selecting the antenna corresponding to the second-best signal quality parameter value as an auxiliary antenna;
and switching the tuning state of the auxiliary antenna to the tuning state corresponding to the second-best signal quality parameter value.
In a second aspect, an embodiment of the present invention provides an antenna configuration apparatus, where the terminal includes at least two antennas, and includes:
a current value obtaining module, configured to obtain a current signal quality parameter value of the terminal;
the to-be-selected antenna acquisition module is used for acquiring an antenna containing the current working frequency band as the to-be-selected antenna when the signal quality parameter value is smaller than a preset threshold value;
a value obtaining module, configured to obtain, for any one of the antennas to be selected, a signal quality parameter value of the antenna in each tuning state;
the optimal value acquisition module is used for comparing the acquired signal quality parameter values to obtain an optimal signal quality parameter value;
and the switching module is used for selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value.
In a third aspect, an embodiment of the present invention further provides an antenna configuration device, which is characterized by including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the antenna configuration method of the terminal as described above when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the antenna configuration method of the terminal as described above.
Compared with the prior art, the antenna configuration method of the terminal disclosed by the invention comprises the steps of firstly obtaining the current signal quality parameter value of the terminal; when the signal quality parameter value is smaller than a preset threshold value, acquiring an antenna containing a current working frequency band as an antenna to be selected; then, for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state; comparing the obtained signal quality parameter values to obtain an optimal signal quality parameter value; and finally, selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value. The technical problems that in the prior art, the requirement on hardware of terminal equipment is high, the design workload is large and the realization effect is poor are solved, the comparison parameters in antenna tuning are signal quality parameters, the comparison mode is scientific and feasible, the optimal main antenna can be dynamically selected according to the comparison result, the optimal tuning state selection is realized, the performance of the current antenna of the terminal is optimal, and the signal receiving capability of the antenna in the terminal equipment is improved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a schematic diagram of an antenna configuration device of a terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an antenna configuration method of a terminal according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating an antenna configuration method of another terminal according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an antenna configuration apparatus according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of 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 invention.
As will be appreciated by one skilled in the art, the present invention may be embodied as an apparatus, method or computer program product. Accordingly, the present disclosure may be embodied in the form of: may be embodied entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in a combination of hardware and software, and may be referred to herein generally as a "circuit," module "or" system. Furthermore, in some embodiments, the invention may also be embodied in the form of a computer program product in one or more computer-readable media having computer-readable program code embodied in the medium.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The present invention is described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a virtual machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means (instructions) which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Example one
Referring to fig. 1, fig. 1 is a schematic diagram of an antenna configuration device of a terminal according to an embodiment of the present invention; in executing the antenna configuration method of the terminal provided in the embodiment of the present invention, as shown in fig. 1, the antenna configuration apparatus includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, the communication bus 12 being used to enable connectivity communications between these components. The user interface 13 may optionally include a USB interface, and other standard interfaces, wired interfaces. The network interface 14 may optionally include a Wi-Fi interface as well as other wireless interfaces. The memory 15 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 15 may optionally comprise at least one memory device located remotely from the aforementioned processor 11.
In some embodiments, memory 15 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
an operating system 151, which contains various system programs for implementing various basic services and for processing hardware-based tasks;
and (5) a procedure 152.
Specifically, the processor 11 is configured to call the program 152 stored in the memory 15 to execute the antenna configuration method of the terminal according to the embodiment of the present invention.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the antenna configuration method of the terminal, and various interfaces and lines are used to connect the various parts of the antenna configuration method of the whole terminal.
The memory may be used for storing the computer programs and/or modules, and the processor may implement various functions of the electronic device of the antenna configuration of the terminal by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory 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, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the module integrated with the antenna configuration of the terminal may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the method embodiments of the present invention. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
A method of antenna configuration of a terminal according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for configuring an antenna of a terminal according to a second embodiment of the present invention, where the terminal includes at least two antennas, and the method includes:
and S11, acquiring the current signal quality parameter value of the terminal.
In an embodiment of the present invention, the terminal may be a mobile phone, a notebook computer, a wearable device, and the like, which is not particularly limited in this respect.
In the embodiments of the present invention, the antenna refers to a device capable of effectively radiating electromagnetic waves in a specific direction in space or capable of effectively receiving electromagnetic waves in a specific direction in space, and the antenna is a converter that converts a guided wave propagating on a transmission line into an electromagnetic wave propagating in an unbounded medium (usually, free space) or vice versa. Therefore, it is known that the antennas have both transmitting and receiving functions, and there is a possibility that some antenna is used only for reception (for example, a broadcast antenna) in the field.
In the embodiment of the present invention, the terminal may operate in multiple communication systems, and the terminal includes at least two antennas.
Specifically, the step S11 of acquiring the current signal quality parameter value of the terminal includes:
acquiring a current communication system from a storage unit of the terminal;
and acquiring a signal quality parameter value corresponding to the current communication system from a modulation and demodulation unit of the terminal.
In the embodiment of the present invention, different transmission and communication systems correspond to different parameters representing signal quality, see table 1, for example, when the communication system is GSM, the corresponding parameter representing signal quality is RSSI. The following description will be made by taking the terminal as a mobile phone, the mobile phone does not occupy channel resources in idle mode, as long as it wants to communicate with the network, first, a request for allocating channels is provided to the network, wherein the signal request is sent on a common control channel, after receiving a signal request message sent from the mobile phone on the common control channel, the base station notifies the network, the network determines which channel to allocate to the mobile phone according to the occupation condition of the channel, the allocation result of the channel is sent to the mobile phone by the base station, and after receiving the message, the mobile phone jumps to a dedicated channel according to the indication of the network. After the mobile phone jumps to the dedicated control channel, it sends a service request to the base station to tell the base station that i/i has occupied the channel allocated to you and tell the network what kind of service needs to be performed, such as GSM, which can support many kinds of services, such as sending and receiving short messages, making calls, etc., for different services, the network may allocate different channel resources. After authentication request, service request confirmation, encryption mode, signal distribution and the like are carried out between the network and the mobile phone, the mobile phone can carry out communication. That is to say, when the terminal and the base station are in communication connection, the base station feeds back a communication system and an operating frequency band that can be connected to the terminal, and after the connection, the terminal writes information related to communication, such as the communication system and the operating frequency band, into a storage unit of the terminal, and then calculates a signal quality parameter from a modulation unit of the terminal.
TABLE 1
And S12, when the signal quality parameter value is smaller than a preset threshold value, acquiring the antenna containing the current working frequency band as the antenna to be selected.
It should be noted that, whether they are transmitting antennas or receiving antennas, they always operate within a certain frequency range (frequency bandwidth), i.e. an operating frequency band, and the frequency bandwidth of an antenna has two different definitions — one is: under the condition that the standing-wave ratio SWR is less than or equal to 1.5, the working frequency bandwidth of the antenna is wide; one means that: the antenna gain drops by a frequency bandwidth in the range of 3 db. In a mobile communication system, which is generally defined as the former one, the frequency bandwidth of an antenna is specifically the operating frequency range of the antenna when the standing-wave ratio SWR of the antenna does not exceed 1.5. Generally, there is a difference in antenna performance at each frequency point within the operating bandwidth, but the performance degradation caused by this difference is acceptable.
In the embodiment of the present invention, the preset threshold may be set by the terminal manufacturer and written in the storage unit, and the preset thresholds corresponding to different communication systems and different working frequency bands may be different, which is not specifically limited in the present invention.
In the embodiment of the present invention, the antennas do not necessarily include all working frequency bands, for example, the terminal includes 3 antennas, the antenna 1 is suitable for a low frequency band, the antenna 2 is suitable for a medium frequency band and a high frequency band, and the antenna 3 is suitable for a low frequency band, a medium frequency band and a high frequency band, if the current antenna is 3, the working frequency band is the high frequency band, and when the signal quality parameter value is smaller than a preset threshold value, the antenna 2 and the antenna 3 including the current working frequency band are obtained, and the antenna 1 is not operated.
Preferably, the preset threshold is a preset difference;
if the signal quality parameter value is smaller than the preset threshold, acquiring an antenna containing a current working frequency band as an antenna to be selected further includes:
acquiring a last signal quality parameter value;
obtaining a difference value obtained by subtracting the last signal quality parameter value from the current signal quality parameter value;
and when the difference is smaller than the preset difference, acquiring the antenna containing the current working frequency band as the antenna to be selected.
In the embodiment of the present invention, the last signal quality parameter value is a value of a signal quality parameter obtained last time relative to the current signal quality parameter obtained last time, and it can be understood that the storage unit of the terminal may store the signal quality parameter value obtained each time.
Specifically, the current signal quality parameter value is 60, the last signal quality parameter value obtained last time is 70, a difference obtained by subtracting the last signal quality parameter value from the current signal quality parameter value is-10, and when the preset difference is-5, the difference is smaller than the preset difference, and then screening of the antenna containing the current working frequency band needs to be performed.
S13, for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state;
step S13 is performed after step S12 is performed, the antenna itself will operate in a tuning state, and when the usage scenario of the terminal changes, the signal quality parameter of the antenna becomes poor, which means that the antenna performance of the antenna in the current tuning state is not good enough, so the goal is to find the antenna with the best performance and tuning state.
In the embodiment of the present invention, the antenna may be capable of switching among a plurality of tuning states, so that when switching to each tuning state, a corresponding signal quality parameter value may be obtained.
Preferably, for any one of the antennas to be selected, the obtaining the signal quality parameter value of the antenna in each tuning state includes:
and sequentially switching the tuning states of any antenna to be selected to obtain the signal quality parameter value of the antenna in each tuning state.
Furthermore, the terminal also comprises a tuning device connected with each antenna; wherein each of said tuning means comprises at least two tuning states;
then, sequentially switching the tuning states of any one of the antennas to be selected, and acquiring the signal quality parameter value of the antenna in each tuning state includes:
for any antenna to be selected, acquiring all tuning states of the tuning device connected with the antenna;
and sequentially switching each tuning state of each tuning device.
In the embodiment of the present invention, the tuning means is controlled by the processing unit of the terminal, so that the tuning state can be sequentially switched according to the determination result obtained in step S12.
For example, referring to table 2, when the signal quality parameter value in step S12 is smaller than the preset threshold, an antenna having a current operating frequency band is obtained as an antenna to be selected, where the antenna to be selected includes an antenna 1 and an antenna 2, the tuning device corresponding to the antenna 1 has three tuning states a1, B1, and c1, the antenna 2 has three tuning states a2, B2, and c2, the current antenna is the antenna 1, and the current tuning state is a1, the tuning states B1 and c1 of the antenna 1 are sequentially switched, the tuning state may be switched by a tuning device a connected to the antenna 1, the switching direction may be switched to c1 first and then to B1, the signal quality parameter values corresponding to B1 and c1 are obtained, the tuning state of the antenna 2 is switched, the tuning state may be switched by a tuning device B connected to the antenna 2, the switching direction may be sequentially switched according to the sequence of a2, b2, and c2, or sequentially switched according to the sequence of b2, a2, and c2, which is not specifically limited in this respect, and then the signal quality parameter values corresponding to the tuning states of the antenna 2 are respectively obtained, it should be noted that the signal quality parameter values in table 2 do not represent actual values, but are only used for example.
TABLE 2
And S14, comparing the acquired signal quality parameter values to obtain an optimal signal quality parameter value.
In the embodiment of the present invention, the storage unit of the terminal may store the signal quality parameter value of each tuning state to which the terminal is switched, store the corresponding tuning state, and compare all the obtained signal quality parameter values after the tuning state of each antenna to be selected is switched, so as to obtain the optimal signal quality parameter value.
Referring to table 2, all the signal quality parameter values of the antenna to be selected, i.e. the signal quality parameter value 50 of the antenna 1, the tuning state a1, and the signal quality parameter value 55 of the antenna 2, the tuning state a2, are obtained from the storage unit, and as can be seen from table 2, the value of the tuning state b2 of the antenna 2 is the best among all the signal quality parameter values, so that the optimal signal quality parameter value is 70.
And S15, selecting a main antenna according to the optimal signal quality parameter value and switching the tuning state of the main antenna.
In an embodiment of the present invention, each tuning state corresponds to a signal quality parameter value, and each tuning state corresponds to a corresponding antenna.
Referring to table 2, according to the optimal signal quality parameter value 70, it is known that the current optimal tuning state is b2, the processing unit of the terminal selects the antenna 2 corresponding to the optimal signal quality parameter value 70 as a main antenna, and switches the tuning state of the main antenna to b 2.
In this embodiment of the present invention, if the to-be-selected antenna includes an antenna 1 and an antenna 2, the optimal signal quality parameter value of the antenna 1 is 80, and the optimal signal quality parameter value of the antenna 2 is also 80, any one of them may be selected, the antenna 1 may be used as a main antenna, and the antenna 2 may be used as a main antenna, and when the antenna 1 is used as a main antenna, the tuning state corresponding to the optimal signal quality parameter value 80 of the antenna 1 is switched to, and when the antenna 2 is used as a main antenna, the tuning state corresponding to the optimal signal quality parameter value 80 of the antenna 2 is switched to, which is not specifically limited in this respect.
Compared with the prior art, the antenna configuration method of the terminal disclosed by the invention comprises the steps of firstly obtaining the current signal quality parameter value of the terminal; when the signal quality parameter value is smaller than a preset threshold value, acquiring an antenna containing a current working frequency band as an antenna to be selected; then, for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state; comparing the obtained signal quality parameter values to obtain an optimal signal quality parameter value; and finally, selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value. The technical problems that in the prior art, the requirement on hardware of terminal equipment is high, the design workload is large and the implementation effect is poor are solved, the tuning states of the antennas are sequentially switched, so that the problem that in the prior art, a large number of tests are required to obtain a configuration parameter library is reduced, compared parameters in antenna tuning are signal quality parameters, the comparison mode is scientific and feasible, an optimal main antenna can be dynamically selected according to the comparison result, the optimal tuning state selection is achieved, the performance of the current antenna of the terminal is optimal, and the signal receiving capability of the antenna in the terminal equipment is improved.
EXAMPLE III
Referring to fig. 3, on the basis of the second embodiment, the method further includes:
s21, when detecting that the current communication system supports the auxiliary antenna, acquiring a second-best signal quality parameter value according to the comparison result of the signal quality parameter values;
s22, selecting the antenna corresponding to the second-best signal quality parameter value as an auxiliary antenna;
and S23, switching the tuning state of the auxiliary antenna to the tuning state corresponding to the second best signal quality parameter value.
In the embodiment of the present invention, some communication systems are not supporting the auxiliary antenna function, for example, 2G, and some communication systems are supporting the auxiliary antenna function, for example, 3G or 4G, and when the terminal is connected to the base station, the current communication system and whether the current communication system supports the auxiliary antenna function may be obtained from the storage unit of the terminal.
Specifically, the antenna to be selected includes an antenna 1, an antenna 2 and an antenna 3, the tuning device corresponding to the antenna 1 has three tuning states of a1, b1 and c1, the antenna 2 has three tuning states of a2, b2 and c2, the antenna 3 has three tuning states of a3, b3 and c3, the current antenna is the antenna 1, and the current tuning state is a1, a1, b1, c1, a2, b2, c2, a3, b3 and c3, respectively, the signal quality parameter values are 50, 55, 60, 70, 75, 80, 65, 63 and 55, it is known that the signal quality parameter value of the second best quality is 75, the antenna 2 corresponding to the signal quality parameter value of the second best quality 75 is selected as an auxiliary antenna, and the tuning state of the antenna 2 is switched to a 2.
Compared with the prior art, the antenna configuration method of the terminal disclosed by the invention has the advantages that the improved signal quality is related to the signal quality received by the auxiliary antenna, and the communication quality can be improved by switching the tuning state of the auxiliary antenna.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an antenna configuration apparatus according to a fourth embodiment of the present invention; the terminal at least comprises two antennas, and comprises:
a current value obtaining module 41, configured to obtain a current signal quality parameter value of the terminal;
the to-be-selected antenna obtaining module 42 is configured to obtain an antenna including a current working frequency band as an antenna to be selected when the signal quality parameter value is smaller than a preset threshold;
a value obtaining module 43, configured to obtain, for any one of the antennas to be selected, a signal quality parameter value of the antenna in each tuning state;
an optimal value obtaining module 44, configured to compare the obtained signal quality parameter values to obtain an optimal signal quality parameter value;
and a switching module 45, configured to select a main antenna according to the optimal signal quality parameter value, and perform tuning state switching on the main antenna.
Preferably, the value obtaining module 43 includes:
and the numerical value acquisition unit is used for sequentially switching the tuning states of any antenna to be selected and acquiring the signal quality parameter numerical value of the antenna in each tuning state.
Preferably, the terminal further comprises tuning means connected to each of the antennas; wherein each of said tuning means comprises at least two tuning states;
the value obtaining unit includes:
for any antenna to be selected, acquiring all tuning states of the tuning device connected with the antenna;
and sequentially switching each tuning state of each tuning device.
Preferably, the preset threshold is a preset difference;
the antenna acquiring module 42 to be selected includes:
acquiring a last signal quality parameter value;
obtaining a difference value obtained by subtracting the last signal quality parameter value from the current signal quality parameter value;
and when the difference is smaller than the preset difference, acquiring the antenna containing the current working frequency band as the antenna to be selected.
Preferably, the current value obtaining module 41 includes:
acquiring a current communication system from a storage unit of the terminal;
and acquiring a signal quality parameter value corresponding to the current communication system from a modulation and demodulation unit of the terminal.
Preferably, the switching module 45 includes:
selecting the antenna corresponding to the optimal signal quality parameter value as a main antenna;
and switching the tuning state of the main antenna to the tuning state corresponding to the optimal signal quality parameter value.
Preferably, the method further comprises the following steps:
a second optimal parameter value obtaining module, configured to, when it is detected that the current communication system supports the auxiliary antenna, obtain a second optimal signal quality parameter value according to a comparison result of the signal quality parameter values;
an auxiliary antenna selection module, configured to select an antenna corresponding to the second-best signal quality parameter value as an auxiliary antenna;
and the second switching module is used for switching the tuning state of the auxiliary antenna to the tuning state corresponding to the second-best signal quality parameter value.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: firstly, acquiring a current signal quality parameter value of the terminal; when the signal quality parameter value is smaller than a preset threshold value, acquiring an antenna containing a current working frequency band as an antenna to be selected; then, for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state; comparing the obtained signal quality parameter values to obtain an optimal signal quality parameter value; and finally, selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value. The technical problems that in the prior art, the requirement on hardware of terminal equipment is high, the design workload is large and the realization effect is poor are solved, the comparison parameters in antenna tuning are signal quality parameters, the comparison mode is scientific and feasible, the optimal main antenna can be dynamically selected according to the comparison result, the optimal tuning state selection is realized, the performance of the current antenna of the terminal is optimal, and the signal receiving capability of the antenna in the terminal equipment is improved.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. 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, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and in a part that is not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are preferred and that acts and simulations are necessarily required in accordance with the invention.
Claims (9)
1. An antenna configuration method for a terminal, wherein the terminal includes at least two antennas, the method comprising:
acquiring a current signal quality parameter value of the terminal;
when the signal quality parameter value is smaller than a preset threshold value, acquiring an antenna containing a current working frequency band as an antenna to be selected;
for any antenna to be selected, acquiring a signal quality parameter value of the antenna in each tuning state;
comparing the obtained signal quality parameter values to obtain an optimal signal quality parameter value;
selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value;
wherein the obtaining of the current signal quality parameter value of the terminal includes:
acquiring a current communication system from a storage unit of the terminal;
and acquiring a signal quality parameter value corresponding to the current communication system from a modulation and demodulation unit of the terminal.
2. The antenna configuration method of the terminal according to claim 1, wherein the obtaining, for any one of the antennas to be selected, a signal quality parameter value of the antenna in each tuning state comprises:
and sequentially switching the tuning states of any antenna to be selected to obtain the signal quality parameter value of the antenna in each tuning state.
3. The antenna configuration method of a terminal according to claim 2,
the terminal also comprises a tuning device connected with each antenna; wherein each of said tuning means comprises at least two tuning states;
then, sequentially switching the tuning states of any one of the antennas to be selected, and acquiring the signal quality parameter value of the antenna in each tuning state includes:
for any antenna to be selected, acquiring all tuning states of the tuning device connected with the antenna;
and sequentially switching each tuning state of each tuning device.
4. The antenna configuration method of a terminal according to claim 1,
the preset threshold is a preset difference value;
if the signal quality parameter value is smaller than the preset threshold, acquiring an antenna containing a current working frequency band as an antenna to be selected further includes:
acquiring a last signal quality parameter value;
obtaining a difference value obtained by subtracting the last signal quality parameter value from the current signal quality parameter value;
and when the difference is smaller than the preset difference, acquiring the antenna containing the current working frequency band as the antenna to be selected.
5. The antenna configuration method of claim 1, wherein the selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value comprises:
selecting the antenna corresponding to the optimal signal quality parameter value as a main antenna;
and switching the tuning state of the main antenna to the tuning state corresponding to the optimal signal quality parameter value.
6. The antenna configuration method of the terminal according to claim 1, further comprising:
when the auxiliary antenna supported by the current communication system is detected, acquiring a second-best signal quality parameter value according to the comparison result of the signal quality parameter values;
selecting the antenna corresponding to the second-best signal quality parameter value as an auxiliary antenna;
and switching the tuning state of the auxiliary antenna to the tuning state corresponding to the second-best signal quality parameter value.
7. An antenna configuration device, wherein a terminal includes at least two antennas, comprising:
a current value obtaining module, configured to obtain a current signal quality parameter value of the terminal;
the to-be-selected antenna acquisition module is used for acquiring an antenna containing the current working frequency band as the to-be-selected antenna when the signal quality parameter value is smaller than a preset threshold value;
a value obtaining module, configured to obtain, for any one of the antennas to be selected, a signal quality parameter value of the antenna in each tuning state;
the optimal value acquisition module is used for comparing the acquired signal quality parameter values to obtain an optimal signal quality parameter value;
the switching module is used for selecting a main antenna and switching the tuning state of the main antenna according to the optimal signal quality parameter value;
wherein, the current value acquisition module comprises:
acquiring a current communication system from a storage unit of the terminal;
and acquiring a signal quality parameter value corresponding to the current communication system from a modulation and demodulation unit of the terminal.
8. An antenna configuration device, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the antenna configuration method of the terminal according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the antenna configuration method of the terminal according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810743409.0A CN108880649B (en) | 2018-07-06 | 2018-07-06 | Antenna configuration method, device, equipment and storage medium of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810743409.0A CN108880649B (en) | 2018-07-06 | 2018-07-06 | Antenna configuration method, device, equipment and storage medium of terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108880649A CN108880649A (en) | 2018-11-23 |
CN108880649B true CN108880649B (en) | 2021-09-10 |
Family
ID=64299968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810743409.0A Expired - Fee Related CN108880649B (en) | 2018-07-06 | 2018-07-06 | Antenna configuration method, device, equipment and storage medium of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880649B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112134627B (en) * | 2020-09-23 | 2023-04-14 | 广东天诺通讯科技有限公司 | Antenna tuning method, device and computer readable storage medium |
CN215601289U (en) * | 2021-02-09 | 2022-01-21 | 杭州海康威视数字技术股份有限公司 | Wireless communication device |
CN114640366B (en) * | 2022-04-06 | 2024-08-16 | 安翰科技(武汉)股份有限公司 | Method, apparatus and readable storage medium for receiving capsule endoscope signal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312354A (en) * | 2008-05-30 | 2008-11-26 | 北京创毅视讯科技有限公司 | Aerial matching circuit and aerial matching method |
CN104954082A (en) * | 2015-06-05 | 2015-09-30 | 联想(北京)有限公司 | Antenna tuning method and electronic equipment |
CN106998221A (en) * | 2017-05-25 | 2017-08-01 | 维沃移动通信有限公司 | The antenna tuning method and mobile terminal of a kind of mobile terminal |
CN107465439A (en) * | 2017-08-30 | 2017-12-12 | 努比亚技术有限公司 | Trigger method, multi-antenna terminal and the computer-readable recording medium of antenna switching |
CN107547104A (en) * | 2017-08-29 | 2018-01-05 | 北京小米移动软件有限公司 | Antenna adjusting method and device |
CN107623543A (en) * | 2017-08-30 | 2018-01-23 | 努比亚技术有限公司 | A kind of antenna switching method, terminal and computer-readable recording medium |
CN107634767A (en) * | 2017-08-30 | 2018-01-26 | 深圳市盛路物联通讯技术有限公司 | A kind of antenna selecting method and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI505652B (en) * | 2013-05-03 | 2015-10-21 | Wistron Neweb Corp | Antenna system and method for setting its optimal antenna units |
-
2018
- 2018-07-06 CN CN201810743409.0A patent/CN108880649B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101312354A (en) * | 2008-05-30 | 2008-11-26 | 北京创毅视讯科技有限公司 | Aerial matching circuit and aerial matching method |
CN104954082A (en) * | 2015-06-05 | 2015-09-30 | 联想(北京)有限公司 | Antenna tuning method and electronic equipment |
CN106998221A (en) * | 2017-05-25 | 2017-08-01 | 维沃移动通信有限公司 | The antenna tuning method and mobile terminal of a kind of mobile terminal |
CN107547104A (en) * | 2017-08-29 | 2018-01-05 | 北京小米移动软件有限公司 | Antenna adjusting method and device |
CN107465439A (en) * | 2017-08-30 | 2017-12-12 | 努比亚技术有限公司 | Trigger method, multi-antenna terminal and the computer-readable recording medium of antenna switching |
CN107623543A (en) * | 2017-08-30 | 2018-01-23 | 努比亚技术有限公司 | A kind of antenna switching method, terminal and computer-readable recording medium |
CN107634767A (en) * | 2017-08-30 | 2018-01-26 | 深圳市盛路物联通讯技术有限公司 | A kind of antenna selecting method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108880649A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108880649B (en) | Antenna configuration method, device, equipment and storage medium of terminal | |
CN108055671B (en) | Multi-device communication method, device, equipment and storage medium | |
CN112398626B (en) | Information transmission method, communication device and system | |
CN110800358A (en) | Transmission configuration method and related product | |
US20230043745A1 (en) | Method for transmitting aperiodic srs and related devices | |
CN108495344B (en) | Network switching method, device and terminal | |
CN102622643B (en) | A kind of safe digital card by wireless network transmissions data | |
CN104937971A (en) | Beam precoding manner reporting method, and scheduling method and device | |
KR101717515B1 (en) | Communication method and device | |
CN114071516B (en) | Carrier configuration method, system, processing equipment and chip of distributed antenna system | |
TWI712273B (en) | Method, device and small base station for eliminating adjacent channel interference | |
CN111092626B (en) | Antenna adjusting method and device and terminal equipment | |
CN109298846B (en) | Audio transmission method and device, electronic equipment and storage medium | |
CN201601211U (en) | Device and system used in portable application | |
CN108307485B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN105101482A (en) | Base station system and signal processing method thereof | |
CN108337718B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN215581153U (en) | Radio frequency circuit and electronic device | |
US20230217376A1 (en) | Method for reporting and controlling power, and terminal, base station and communication system | |
RU2696220C1 (en) | Method of access to uplink channel and corresponding device | |
CN114285431A (en) | Multi-antenna signal coverage increase enhancing method, circuit and storage medium | |
KR20130038587A (en) | Device and method for matching antenna in wireless terminal | |
CN112203338A (en) | Networking method and device of wireless terminal | |
CN107820725B (en) | Subframe time sequence configuration method and device, network side equipment and terminal side equipment | |
CN111030767B (en) | Method for optimizing wireless mesh backhaul performance, wireless device 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210910 |