[go: up one dir, main page]

CN108540146A - A kind of method, apparatus and computer storage media of antenna switching - Google Patents

A kind of method, apparatus and computer storage media of antenna switching Download PDF

Info

Publication number
CN108540146A
CN108540146A CN201810270658.2A CN201810270658A CN108540146A CN 108540146 A CN108540146 A CN 108540146A CN 201810270658 A CN201810270658 A CN 201810270658A CN 108540146 A CN108540146 A CN 108540146A
Authority
CN
China
Prior art keywords
antenna
preset
call link
performance measurement
threshold value
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.)
Pending
Application number
CN201810270658.2A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810270658.2A priority Critical patent/CN108540146A/en
Publication of CN108540146A publication Critical patent/CN108540146A/en
Pending legal-status Critical Current

Links

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
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses the method, apparatus and computer storage media of a kind of switching of antenna, by during the foundation of talking link, judging whether the first antenna for being couple to radiating circuit meets preset antenna switching condition;Wherein, the first antenna is the transmitting antenna of initial selected;When the first antenna meets preset antenna switching condition, the second antenna is switched to by controlling the first antenna, the radiating circuit is couple to second antenna;Wherein, second antenna is other any antennas in addition to the first antenna;According to second antenna, the foundation of the talking link is continued to execute;It avoids when the first antenna of initial selected is not in good state or received signal strength is too weak, the technical issues of talking link cannot be successfully established and lead to call failure, to improve the success rate that mobile terminal establishes talking link, the call demand of user ensure that, the user experience is improved.

Description

Antenna switching method and device and computer storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for antenna switching, and a computer storage medium.
Background
In the existing communication system, the mobile terminal does not only support one antenna, the intensity of the received signal of the antenna is strong or weak, and the switching is an essential basic service. For a mobile terminal to switch from one antenna to another antenna after a call link is successfully established (i.e. the call link between the mobile terminal of the calling party and the mobile terminal of the called party is successfully connected), the prior art has a reliable implementation method. However, in the session establishment phase (i.e. establishment of the call link between the mobile terminal of the calling party and the external network or between the mobile terminal of the called party and the external network), there is no reliable method for implementing antenna switching in the prior art, and especially when the currently selected transmitting antenna is in a poor state or the received signal strength is too weak, the call link cannot be successfully established, which results in call failure, thereby reducing the success rate of establishing the call link by the mobile terminal.
Disclosure of Invention
The invention mainly aims to provide an antenna switching method, an antenna switching device and a computer storage medium, which improve the success rate of establishing a call link by a mobile terminal, ensure the call requirements of users and improve the user experience.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an antenna switching method, where the method is applied to a mobile terminal, and the method includes:
in the establishing process of the call link, judging whether a first antenna coupled to a transmitting circuit meets a preset antenna switching condition; wherein the first antenna is an initially selected transmit antenna;
coupling the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; the second antenna is any one antenna except the first antenna;
and continuing to establish the call link according to the second antenna.
In the foregoing solution, the determining whether the first antenna coupled to the transmitting circuit meets a preset antenna switching condition specifically includes:
acquiring a performance measurement value of a first antenna and a performance measurement value of a second antenna;
comparing the performance measurement of the first antenna to the performance measurement of the second antenna;
when the performance measurement value of the second antenna is higher than that of the first antenna, confirming that the first antenna meets a preset antenna switching condition;
and when the performance measurement value of the second antenna is not higher than the performance measurement value of the first antenna, confirming that the first antenna does not meet a preset antenna switching condition.
In the above solution, the performance measurement value is used for measuring an antenna received signal performance index, and includes at least one of the following items: signal power, signal strength, sensitivity, and noise ratio.
In the foregoing solution, the determining whether the first antenna coupled to the transmitting circuit meets a preset antenna switching condition specifically includes:
counting the failure times of establishing a call link according to the first antenna;
comparing the failure times with a first preset threshold value;
when the failure times are equal to a first preset threshold value, confirming that the first antenna meets a preset antenna switching condition;
and when the failure times are smaller than a first preset threshold value, confirming that the first antenna does not meet a preset antenna switching condition.
In the above aspect, the method further includes:
and when the first antenna does not meet the preset antenna switching condition, continuing to establish the call link according to the first antenna.
In the foregoing solution, after the continuing to establish the call link according to the second antenna, the method further includes:
comparing the performance measurement value of the second antenna with a preset performance threshold value;
when the performance measurement value of the second antenna is lower than the preset performance threshold value, the call link is failed to be established;
and when the performance measurement value of the second antenna is not lower than the preset performance threshold value, the call link is established successfully.
In the foregoing solution, after the continuing to establish the call link according to the second antenna, the method further includes:
counting the failure times of establishing a call link according to the second antenna;
comparing the failure times with a second preset threshold value;
when the failure times are equal to a second preset threshold value, the call link is failed to be established;
and when the failure times are smaller than a second preset threshold value, the call link is established successfully.
In the foregoing solution, after the call link establishment fails according to the second antenna, the method further includes:
coupling the transmit circuit to a third antenna by controlling the second antenna to switch to the third antenna; the third antenna is any one of the antennas except the first antenna and the second antenna;
and continuing to establish the call link according to the third antenna.
In a second aspect, an embodiment of the present invention provides an antenna switching apparatus, where the antenna switching apparatus includes: a network interface, a memory, and a processor; wherein,
the network interface is used for receiving and sending signals in the process of receiving and sending information with other external network elements;
the memory for storing a computer program operable on the processor;
the processor is configured to, when running the computer program, perform the steps of the method for antenna switching according to any of the first aspect.
In a third aspect, an embodiment of the present invention provides a computer storage medium, where an antenna switching program is stored, and the antenna switching program, when executed by at least one processor, implements the steps of the method for antenna switching according to any one of the first aspect.
In the method, the device and the computer storage medium for antenna switching provided by the embodiment of the invention, whether a first antenna coupled to a transmitting circuit meets a preset antenna switching condition is judged in the establishing process of a call link; wherein the first antenna is an initially selected transmit antenna; coupling the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; the second antenna is any one antenna except the first antenna; continuing to establish the call link according to the second antenna; the technical problem that when the initially selected first antenna is poor in state or the received signal strength is too weak, the call link cannot be successfully established, and therefore call failure is caused is solved, the success rate of establishing the call link by the mobile terminal is improved, the call requirement of a user is guaranteed, and user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an antenna switching method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another method for antenna switching according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another method for antenna switching according to an embodiment of the present invention;
fig. 6 is a detailed flowchart of an antenna switching method according to an embodiment of the present invention;
fig. 7 is a schematic networking diagram illustrating establishment of a call link of a calling party according to an embodiment of the present invention;
fig. 8 is a detailed flowchart of another antenna switching method according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating an antenna switching apparatus according to an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating an antenna switching apparatus according to another embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a configuration of another antenna switching apparatus according to an embodiment of the present invention;
fig. 12 is a schematic diagram illustrating a configuration of another antenna switching apparatus according to an embodiment of the present invention;
fig. 13 is a schematic diagram illustrating a configuration of another antenna switching apparatus according to an embodiment of the present invention;
fig. 14 is a schematic diagram of a specific hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 101 includes a transmitting circuit 1011 and a receiving circuit 1012; the transmitting circuit 1011 is configured to process and buffer the uplink data before sending the uplink data to the base station; the receive circuit 1012 is configured to process and buffer the downlink information before sending the received downlink information to the processor. The radio frequency unit 101 includes an antenna, at least one amplifier, a coupler, a low noise amplifier, a duplexer, and the like, in addition to the transmission circuit 1011 and the reception circuit 1012. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General packet radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
Referring to fig. 3, which illustrates a method for antenna switching according to an embodiment of the present invention, the method is applied to a mobile terminal, and the method may include:
s301: in the establishing process of the call link, judging whether a first antenna coupled to a transmitting circuit meets a preset antenna switching condition; wherein the first antenna is an initially selected transmit antenna;
s302: coupling the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; the second antenna is any one antenna except the first antenna;
s303: and continuing to establish the call link according to the second antenna.
In the embodiment of the invention, the establishment process of the call link mainly refers to the establishment process of the call link between the mobile terminal of the calling party and the external network or the establishment process of the call link between the mobile terminal of the called party and the external network. Generally, a mobile terminal includes two antennas, namely a first antenna and a second antenna, wherein the first antenna is an initially selected transmitting antenna, and the second antenna is any other antenna except the first antenna; the mobile terminal can simultaneously receive signals transmitted from an external network through the two antennas; however, when the mobile terminal transmits a signal to an external network, the signal can be transmitted through only one antenna at the same time. According to the technical scheme shown in fig. 3, in the establishing process of the call link, the antenna switching is controlled by increasing the judgment on whether the first antenna coupled to the transmitting circuit meets the preset antenna switching condition, so that the technical problem that the call link cannot be successfully established to cause call failure when the initially selected first antenna is poor in state or the received signal strength is too weak is avoided, the success rate of establishing the call link by the mobile terminal is improved, the call requirement of a user is ensured, and the user experience is improved.
For step S301, the preset antenna switching condition is used to perform antenna switching from the first antenna to the second antenna when the first antenna coupled to the transmitting circuit satisfies the antenna switching condition; the antenna switching conditions of each antenna are consistent, and the specific antenna switching conditions can be set according to needs.
In the embodiment of the invention, the mobile terminal also comprises a transmitting circuit and a receiving circuit. A measurement circuit is arranged in the receiving circuit and is used for measuring the performance measurement value of the antenna; in particular, by configuring the receive circuitry to receive a mode of signals via the first antenna and the second antenna, the mobile terminal may utilize measurement circuitry in the receive circuitry to obtain performance measurements of the first antenna and performance measurements of the second antenna. The performance measurement value of the antenna is generally used for measuring the performance index of the antenna receiving signal, and can be used as a standard for evaluating the performance of the antenna. In the establishing process of the call link, selecting the antenna with the optimal signal receiving performance to be coupled to the transmitting circuit for signal transmission, so that the success rate of establishing the call link by the mobile terminal can be improved; therefore, for step S301, in a possible implementation manner, referring to fig. 4, the determining whether the first antenna coupled to the transmitting circuit satisfies the preset antenna switching condition specifically includes:
s401: acquiring a performance measurement value of a first antenna and a performance measurement value of a second antenna;
s402: comparing the performance measurement of the first antenna to the performance measurement of the second antenna;
s403: when the performance measurement value of the second antenna is higher than that of the first antenna, confirming that the first antenna meets a preset antenna switching condition;
s404: and when the performance measurement value of the second antenna is not higher than the performance measurement value of the first antenna, confirming that the first antenna does not meet a preset antenna switching condition.
It is understood that the performance measurements of the antenna may include: the signal power, signal strength, sensitivity, noise ratio, and other measurement values that reflect the performance index of the antenna received signal may be specifically set as needed. For example, assuming that the performance measurement value set by the mobile terminal is signal strength, by coupling the first antenna and the second antenna to the receiving circuit, the signal strength values of the first antenna and the second antenna are measured by using the measuring circuit in the receiving circuit, for example, the signal strength value of the first antenna obtained by the mobile terminal is-90 dB, and the signal strength value of the second antenna is-60 dB; the smaller the absolute value of the signal strength is, the stronger the signal strength is, which indicates that the performance of the antenna for receiving signals is better; therefore, when the signal strength value of the second antenna is higher than that of the first antenna, it indicates that the performance of the second antenna is better than that of the first antenna, and at this time, it is a better choice to select the second antenna as the transmitting antenna; therefore, when the signal strength value of the second antenna is higher than the signal strength value of the first antenna, it can be determined that the first antenna satisfies the predetermined antenna switching condition, and then the antenna switching from the first antenna to the second antenna is performed. Assuming that the signal intensity value of the first antenna obtained by the mobile terminal is-50 dB, and the signal intensity value of the second antenna is-60 dB; the signal strength value of the second antenna is lower than that of the first antenna, which shows that the performance of the second antenna is poorer than that of the first antenna, and at the moment, the first antenna is kept to be selected as the transmitting antenna to be a better choice; accordingly, when the signal strength value of the second antenna is lower than the signal strength value of the first antenna, it may be confirmed that the first antenna does not satisfy the preset antenna switching condition, so that the antenna switching from the first antenna to the second antenna is not performed.
In the implementation of fig. 4, since it is necessary to obtain the performance measurement value of the first antenna and the performance measurement value of the second antenna by using the measurement circuit, and then confirm whether the first antenna coupled to the transmission circuit satisfies the preset antenna switching condition by comparing the performance measurement value of the first antenna and the performance measurement value of the second antenna; in some cases, the antenna is temporarily blocked or interfered to bias the performance measurement, resulting in the selection of an antenna that is not the best for received signal performance; and the measurement of performance measurements may add complexity and/or time required for the set-up process for the telephony link; therefore, as for step S301, in another possible implementation manner, referring to fig. 5, the determining whether the first antenna coupled to the transmitting circuit meets the preset antenna switching condition specifically includes:
step S501: counting the failure times of establishing a call link according to the first antenna;
step S502: comparing the failure times with a first preset threshold value;
step S503: when the failure times are equal to a first preset threshold value, confirming that the first antenna meets a preset antenna switching condition;
step S504: and when the failure times are smaller than a first preset threshold value, confirming that the first antenna does not meet a preset antenna switching condition.
It should be understood that the first predetermined threshold, which is a predetermined number of times of failure allowed for establishing a call link according to the first antenna coupled to the transmitting circuit, may be set to 5 times. For example, the mobile terminal first establishes a call link according to an initially selected first antenna coupled to the transmitting circuit, and in case of a first call link establishment failure, the mobile terminal allows multiple attempts to establish a call link with an external network (e.g., a base station); here, the method for allowing the mobile terminal to make multiple attempts may be to transmit the call link establishment request signal in a manner of being powered at each time, or may be to transmit the call link establishment request signal in a manner of being powered up one by one. When the number of times of failure of establishing the call link satisfies 5 times, it indicates that the call link is failed to be established by selecting the first antenna as the transmitting antenna, and the first antenna can be confirmed to satisfy a preset antenna switching condition, so as to execute antenna switching from the first antenna to the second antenna; when the number of times of failure of establishing the call link is less than 5 times, it indicates that the call link is successfully established by selecting the first antenna as the transmitting antenna, and it may be determined that the first antenna does not satisfy a preset antenna switching condition, so that antenna switching from the first antenna to the second antenna is not performed.
Compared with the implementation shown in fig. 4, in the implementation shown in fig. 5, the implementation shown in fig. 5 does not need to use the measurement circuit to obtain the performance measurement value of the first antenna and the performance measurement value of the second antenna, but determines whether the first antenna coupled to the transmitting circuit meets the preset antenna switching condition during the establishment of the call link by counting the number of failures of establishing the call link according to the first antenna and comparing the number with the first preset threshold; the phenomenon that the performance measurement value is deviated due to the fact that the antenna is temporarily shielded or interfered, and therefore the selected antenna is not optimal in received signal performance is avoided.
For step S302, that is, when the performance measurement value of the second antenna of the mobile terminal is higher than the performance measurement value of the first antenna, or the number of times of failure of the mobile terminal to establish the call link according to the first antenna is equal to a first preset threshold, it is determined that the first antenna meets a preset antenna switching condition, and at this time, the mobile terminal couples the transmitting circuit to the second antenna by controlling the first antenna to switch to the second antenna; therefore, after step S302, for a case where the first antenna does not satisfy a preset antenna switching condition, the method further includes:
and when the first antenna does not meet the preset antenna switching condition, continuing to establish the call link according to the first antenna.
That is to say, when the performance measurement value of the second antenna of the mobile terminal is not higher than the performance measurement value of the first antenna, or the number of times of failure of the mobile terminal to establish the call link according to the first antenna is less than a first preset threshold, the mobile terminal keeps the initially selected first antenna as the transmitting antenna at this time, and still performs establishment of the call link according to the first antenna.
It should be noted that, after step S303, when the establishment of the call link is performed according to the second antenna, the establishment of the call link is not all successful; the success or failure of the call link establishment is also closely related to the magnitude of the performance measurement value of the second antenna and the number of times of failure of establishing the call link according to the second antenna.
After step S303, when the success or failure of establishing the call link is closely related to the magnitude of the performance measurement value of the second antenna, in a possible implementation manner, the method further includes:
comparing the performance measurement value of the second antenna with a preset performance threshold value;
when the performance measurement value of the second antenna is lower than the preset performance threshold value, the call link is failed to be established;
and when the performance measurement value of the second antenna is not lower than the preset performance threshold value, the call link is established successfully.
It should be understood that the preset performance threshold refers to a threshold that is preset by the mobile terminal and represents the performance of the antenna for receiving signals when the call link between the mobile terminal and the external network is successfully established. For example, assuming that the performance measurement value set by the mobile terminal is signal strength, when the preset signal strength threshold value of the mobile terminal is-85 dB and the signal strength value of the second antenna is-90 dB, it can be seen that the signal strength value of the second antenna is lower than the preset signal strength threshold value, since the signal strength of the second antenna is too weak, it is not enough to support the mobile terminal to establish a call link with the external network, and the establishment of the call link is failed; when the preset signal strength threshold value of the mobile terminal is-85 dB and the signal strength value of the second antenna is-60 dB, it can be seen that the signal strength value of the second antenna is higher than the preset signal strength threshold value, and at this time, the signal strength of the second antenna is enough to support the mobile terminal to establish a call link with an external network, and the establishment of the call link is successful.
After step S303, when whether the call link is successfully established or not is closely related to the number of times of failure to establish the call link according to the second antenna, in another possible implementation manner, the method further includes:
counting the failure times of establishing a call link according to the second antenna;
comparing the failure times with a second preset threshold value;
when the failure times are equal to a second preset threshold value, the call link is failed to be established;
and when the failure times are smaller than a second preset threshold value, the call link is established successfully.
It should be understood that the second preset threshold refers to a preset number of allowable failures for establishing a call link according to a second antenna coupled to the transmitting circuit; it should be noted that, the values of the second preset threshold and the first preset threshold may be the same or different. For example, assuming that the second preset threshold of the mobile terminal is 5 times, the mobile terminal establishes the call link according to the second antenna coupled to the transmitting circuit, and when the number of failures of trying to establish the call link with the external network according to the second antenna satisfies 5 times, the process of establishing the call link with the external network according to the second antenna is terminated, and the establishment of the call link is failed; when the number of failures of trying to establish the call link with the external network according to the second antenna is less than 5 times, the call link with the external network according to the second antenna is successfully established, which indicates that the call link establishment is successful.
In addition, when the call link is established according to the second antenna coupled to the transmitting circuit, and the call link is failed to be established, the mobile terminal can also switch the second antenna to the third antenna, so that the transmitting circuit is coupled to the third antenna to continuously try to establish the call link; the third antenna is any other antenna except the first antenna and the second antenna, the first antenna is the initially selected transmitting antenna, and the selection sequence of the other antennas such as the second antenna and the third antenna is the antenna sequence selected based on the predefined antenna selection sequence or the random antenna sequence. Thus, after the above steps, the method further comprises:
coupling the transmit circuit to a third antenna by controlling the second antenna to switch to the third antenna; the third antenna is any one of the antennas except the first antenna and the second antenna;
and continuing to establish the call link according to the third antenna.
For example, assuming that the mobile terminal establishes the call link according to the second antenna, when the number of failed establishment times of the call link satisfies 5 times, it indicates that the call link establishment by the mobile terminal according to the second antenna is failed; at this time, the second antenna may be switched to the third antenna, and then the call link with the external network is attempted to be established according to the third antenna, that is, the mobile terminal may continue to establish the call link according to the third antenna. The mobile terminal performs the establishment procedure of the call link according to the third antenna, and the aforementioned mobile terminal performs the establishment procedure of the call link according to the second antenna may be referred to, and details are not described here.
The embodiment provides an antenna switching method, which is applied to a mobile terminal and used for judging whether a first antenna coupled to a transmitting circuit meets a preset antenna switching condition or not in the establishing process of a call link; coupling the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; continuing to establish the call link according to the second antenna; the technical problem that when the initially selected first antenna is poor in state or the received signal strength is too weak, the call link cannot be successfully established, and therefore call failure is caused is solved, the success rate of establishing the call link by the mobile terminal is improved, the call requirement of a user is guaranteed, and user experience is improved.
Example two
Based on the same inventive concept of the foregoing embodiment, referring to fig. 6, which shows a detailed flow of an antenna switching method provided in the embodiment of the present invention, taking the networking diagram established by the calling party call link of fig. 7 as an example, in fig. 7, the networking diagram established by the calling party call link mainly includes: a mobile terminal 701 of a calling party, a base station 702, a switch 703, and a transmitting circuit 704, a receiving circuit 705, a measuring circuit 706, a first antenna 707, and a second antenna 708 built in the mobile terminal 701 of the calling party; wherein the measurement circuit 706 is built in the receiving circuit 705, and the measurement circuit 706 is used for measuring performance measurement values of the first antenna 707 and the second antenna 708 which are coupled to the receiving circuit 705; the calling party call link establishment process is as follows: after the mobile terminal 701 of the calling party is pressed down the dial key, a call link establishment request signal is transmitted to the base station 702 through the first antenna 707 coupled to the transmitting circuit 704, and then the base station 702 transmits the request signal to the switch 703; the switch 703 returns a corresponding response signal to the base station 702, and then the response signal returned from the base station 702 may be simultaneously received by the first antenna 707 and the second antenna 708 coupled to the receiving circuit 705. Based on the calling party call link establishment procedure shown in fig. 7, the detailed procedure may include:
s601: in the establishing process of a call link, acquiring a performance measurement value of a first antenna and a performance measurement value of a second antenna; wherein the first antenna is an initially selected antenna coupled to a transmit circuit and the second antenna is any other antenna than the first antenna;
s602: comparing the performance measurement of the first antenna to the performance measurement of the second antenna;
it should be noted that, for step S602, after comparing the performance measurement value of the first antenna with the performance measurement value of the second antenna, when the performance measurement value of the second antenna is higher than the performance measurement value of the first antenna, step S603 is executed; when the performance measurement value of the second antenna is not higher than the performance measurement value of the first antenna, step S604 is performed.
S603: coupling the transmit circuit to the second antenna by controlling the first antenna to switch to the second antenna when the performance measurement of the second antenna is higher than the performance measurement of the first antenna;
s604: when the performance measurement value of the second antenna is not higher than the performance measurement value of the first antenna, continuing to establish the call link according to the first antenna;
for example, taking the calling party call link establishment procedure shown in fig. 7 as an example, the signal strength values of the first antenna 707 and the second antenna 708 are measured by the measurement circuit 706 built in the receiving circuit 705, assuming that the signal strength value of the first antenna 707 is-90 dB and the signal strength value of the second antenna 708 is-60 dB, since the signal strength value of the second antenna 708 is higher than the signal strength value of the first antenna 707, the first antenna 707 coupled to the transmitting circuit 704 is switched to the second antenna 708, and then a call link is established according to the second antenna 708; assuming that the signal strength value of the first antenna 707 is-55 dB and the signal strength value of the second antenna 708 is-60 dB, since the signal strength value of the second antenna 708 is lower than the signal strength value of the first antenna 707, no antenna switching is performed and the call link is still established according to the first antenna 707.
After step S603, step S605 needs to be executed; comparing the performance measurement value of the second antenna with a preset performance threshold value; when the performance measurement value of the second antenna is lower than the preset performance threshold value, executing step S606; and when the performance measurement value of the second antenna is not lower than the preset performance threshold value, executing step S607.
S605: comparing the performance measurement value of the second antenna with a preset performance threshold value;
s606: when the performance measurement value of the second antenna is lower than the preset performance threshold value, the call link is failed to be established;
s607: and when the performance measurement value of the second antenna is not lower than the preset performance threshold value, the call link is established successfully.
For example, still taking the call link establishment procedure of the calling party shown in fig. 7 as an example, with reference to the above example, assuming that the preset signal strength threshold is-85 dB and the signal strength value of the second antenna 708 is-90 dB, the signal strength value of the second antenna 708 is lower than the preset signal strength threshold, and at this time, the call link establishment is failed; assuming that the preset signal strength threshold is-85 dB and the signal strength value of the second antenna 708 is-60 dB, the signal strength value of the second antenna 708 is higher than the preset signal strength threshold, and at this time, the establishment of the call link is successful.
Through the embodiment, the specific implementation of the embodiment is elaborated in detail, and it can be seen that through the technical scheme of the embodiment, the success rate of establishing the call link is improved, the call requirement of the user is ensured, and the user experience is improved.
EXAMPLE III
Based on the same inventive concept of the foregoing embodiment, referring to fig. 8, which shows a detailed flow of another antenna switching method provided in the embodiment of the present invention, still based on the calling party call link establishment procedure shown in fig. 7, the detailed flow may include:
s801: counting the number of failures in establishing a call link according to a first antenna coupled to a transmit circuit;
s802: comparing the failure times with a first preset threshold value;
it should be noted that, for step S802, the failure times are compared with a first preset threshold, and when the failure times are equal to the first preset threshold, step S803 is executed; and executing step S804 when the failure times are smaller than a first preset threshold.
S803: coupling the transmit circuit to a second antenna by controlling the first antenna to switch to the second antenna when the number of failures equals a first preset threshold;
s804: when the failure times are smaller than a first preset threshold value, continuing to establish the call link according to the first antenna;
for example, still taking the call link establishment procedure of the calling party shown in fig. 7 as an example, assuming that the first preset threshold of the mobile terminal 701 of the calling party is 5 times, the first antenna 707 coupled to the transmitting circuit 704 is first utilized to transmit a call link establishment request signal to establish a call link, when the number of failures of trying to establish a call link with the base station 702 according to the first antenna 707 satisfies 5 times, the call link establishment according to the first antenna 707 is failed, antenna switching needs to be performed, and then the call link is established according to the second antenna 708; when the number of failures to attempt to establish the communication link with the base station 702 via the first antenna 707 is less than 5 times, the antenna switching is not performed, and the establishment of the communication link is still continued via the first antenna 707.
It should be noted that, after step S803, step S805 needs to be executed to count the number of times of failure of establishing a call link according to the second antenna; then, step S806 is executed to compare the failure times with a second preset threshold; when the failure times are equal to a second preset threshold, executing step S807; and when the failure times are smaller than a second preset threshold, executing step S808.
S805: counting the failure times of establishing a call link according to the second antenna;
s806: comparing the failure times with a second preset threshold value;
s807: when the failure times are equal to a second preset threshold value, the call link is failed to be established;
s808: and when the failure times are smaller than a second preset threshold value, the call link is established successfully.
For example, still taking the calling party talking link establishing process shown in fig. 7 as an example, in combination with the above example, assuming that the second preset threshold of the calling party's mobile terminal 701 is also 5 times, when the transmitting circuit 704 is coupled to the second antenna 708, the calling party's mobile terminal 701 transmits a talking link establishing request signal according to the second antenna 708 to establish a talking link; when the number of failures of attempting to establish the call link with the base station 702 according to the second antenna 708 satisfies 5 times, ending the process of establishing the call link with the base station 702 according to the second antenna 708, the establishment of the call link being failed; when the number of failures to attempt to establish the call link with the base station 702 via the second antenna 708 is less than 5, it indicates that the call link with the base station 702 via the second antenna 708 has been successfully established, and the call link is successfully established.
Through the embodiment, the specific implementation of the embodiment is elaborated in detail, and it can be seen that through the technical scheme of the embodiment, the success rate of establishing the call link is improved, the call requirement of the user is ensured, and the user experience is improved.
Example four
Based on the same inventive concept of the foregoing embodiment, referring to fig. 9, it shows a composition of an antenna switching apparatus 90 provided in an embodiment of the present invention, which may include: a judgment section 901, a control section 902, and a first execution section 903; wherein,
the determining part 901 is configured to determine whether a first antenna coupled to the transmitting circuit meets a preset antenna switching condition in the establishing process of the call link; wherein the first antenna is an initially selected transmit antenna;
the control part 902 is configured to couple the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; the second antenna is any one antenna except the first antenna;
the first executing portion 903 is configured to continue to execute establishment of the call link according to the second antenna.
In the above scheme, the determining part 901 is specifically configured to:
acquiring a performance measurement value of a first antenna and a performance measurement value of a second antenna;
comparing the performance measurement of the first antenna to the performance measurement of the second antenna;
when the performance measurement value of the second antenna is higher than that of the first antenna, confirming that the first antenna meets a preset antenna switching condition;
and when the performance measurement value of the second antenna is not higher than the performance measurement value of the first antenna, confirming that the first antenna does not meet a preset antenna switching condition.
In the above scheme, the determining part 901 is specifically configured to:
the performance measurement value is used for measuring an antenna receiving signal performance index, and comprises at least one of the following items: signal power, signal strength, sensitivity, and noise ratio.
In the above scheme, the determining part 901 is specifically configured to:
counting the failure times of establishing a call link according to the first antenna;
comparing the failure times with a first preset threshold value;
when the failure times are equal to a first preset threshold value, confirming that the first antenna meets a preset antenna switching condition;
and when the failure times are smaller than a first preset threshold value, confirming that the first antenna does not meet a preset antenna switching condition.
In the above scheme, referring to fig. 10, the antenna switching apparatus further includes a second performing portion 904 configured to: and when the first antenna does not meet the preset antenna switching condition, continuing to establish the call link according to the first antenna.
In the above scheme, referring to fig. 11, the antenna switching apparatus further includes a first comparing part 905 configured to:
comparing the performance measurement value of the second antenna with a preset performance threshold value;
when the performance measurement value of the second antenna is lower than the preset performance threshold value, the call link is failed to be established;
and when the performance measurement value of the second antenna is not lower than the preset performance threshold value, the call link is established successfully.
In the above scheme, referring to fig. 12, the antenna switching apparatus further includes a second comparing part 906 configured to:
counting the failure times of establishing a call link according to the second antenna;
comparing the failure times with a second preset threshold value;
when the failure times are equal to a second preset threshold value, the call link is failed to be established;
and when the failure times are smaller than a second preset threshold value, the call link is established successfully.
In the above scheme, referring to fig. 13, the antenna switching apparatus further includes a third performing portion 907 configured to:
coupling the transmit circuit to a third antenna by controlling the second antenna to switch to the third antenna; the third antenna is any one of the antennas except the first antenna and the second antenna;
and continuing to establish the call link according to the third antenna.
It is understood that in this embodiment, "part" may be part of a circuit, part of a processor, part of a program or software, etc., and may also be a unit, and may also be a module or a non-modular.
In addition, each component in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. 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.
Accordingly, the present embodiment provides a computer storage medium storing a program for antenna switching, which when executed by at least one processor implements the steps of the method for antenna switching according to the first embodiment.
Based on the above-mentioned composition of the antenna switching apparatus 90 and the computer storage medium, referring to fig. 14, it shows a specific hardware structure of the antenna switching apparatus 90 provided by the embodiment of the present invention, which may include: a network interface 1401, a memory 1402, and a processor 1403; the various components are coupled together by a bus system 1404. It is understood that bus system 1404 is used to enable connective communication between these components. The bus system 1404 includes a power bus, a control bus, and a status signal bus in addition to a data bus. The various buses are labeled as bus system 1404 in fig. 14 for the sake of clarity of illustration. The network interface 1401 is used for receiving and sending signals in the process of receiving and sending information with other external network elements;
a memory 1402 for storing a computer program capable of running on the processor 1403;
a processor 1403 for performing, when running the computer program:
in the establishing process of the call link, judging whether a first antenna coupled to a transmitting circuit meets a preset antenna switching condition; wherein the first antenna is an initially selected transmit antenna;
coupling the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; the second antenna is any one antenna except the first antenna;
and continuing to establish the call link according to the second antenna.
It will be appreciated that the memory 1402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double data rate Synchronous Dynamic random access memory (ddr DRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1402 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
And processor 1403 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method can be performed by hardware integrated logic circuits or instructions in software form in the processor 1403. The Processor 1403 may be a 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 device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1402, and the processor 1403 reads the information in the memory 1402 and completes the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 1403 is further configured to, when running the computer program, perform the steps of the method for antenna switching according to the first embodiment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for switching antennas is applied to a mobile terminal, and comprises the following steps:
in the establishing process of the call link, judging whether a first antenna coupled to a transmitting circuit meets a preset antenna switching condition; wherein the first antenna is an initially selected transmit antenna;
coupling the transmitting circuit to a second antenna by controlling the first antenna to switch to the second antenna when the first antenna satisfies a preset antenna switching condition; the second antenna is any one antenna except the first antenna;
and continuing to establish the call link according to the second antenna.
2. The method of claim 1, wherein the determining whether the first antenna coupled to the transmit circuit satisfies a predetermined antenna switching condition comprises:
acquiring a performance measurement value of a first antenna and a performance measurement value of a second antenna;
comparing the performance measurement of the first antenna to the performance measurement of the second antenna;
when the performance measurement value of the second antenna is higher than that of the first antenna, confirming that the first antenna meets a preset antenna switching condition;
and when the performance measurement value of the second antenna is not higher than the performance measurement value of the first antenna, confirming that the first antenna does not meet a preset antenna switching condition.
3. The method of claim 2, wherein the performance measurement is used to measure an antenna received signal performance metric, and comprises at least one of: signal power, signal strength, sensitivity, and noise ratio.
4. The method of claim 1, wherein the determining whether the first antenna coupled to the transmit circuit satisfies a predetermined antenna switching condition comprises:
counting the failure times of establishing a call link according to the first antenna;
comparing the failure times with a first preset threshold value;
when the failure times are equal to a first preset threshold value, confirming that the first antenna meets a preset antenna switching condition;
and when the failure times are smaller than a first preset threshold value, confirming that the first antenna does not meet a preset antenna switching condition.
5. The method of claim 1, further comprising:
and when the first antenna does not meet the preset antenna switching condition, continuing to establish the call link according to the first antenna.
6. The method of claim 1, wherein after the continuing the establishment of the telephony link pursuant to the second antenna, the method further comprises:
comparing the performance measurement value of the second antenna with a preset performance threshold value;
when the performance measurement value of the second antenna is lower than the preset performance threshold value, the call link is failed to be established;
and when the performance measurement value of the second antenna is not lower than the preset performance threshold value, the call link is established successfully.
7. The method of claim 1, wherein after the continuing the establishment of the telephony link pursuant to the second antenna, the method further comprises:
counting the failure times of establishing a call link according to the second antenna;
comparing the failure times with a second preset threshold value;
when the failure times are equal to a second preset threshold value, the call link is failed to be established;
and when the failure times are smaller than a second preset threshold value, the call link is established successfully.
8. The method according to claim 6 or 7, wherein after said call link establishment fails according to said second antenna, the method further comprises:
coupling the transmit circuit to a third antenna by controlling the second antenna to switch to the third antenna; the third antenna is any one of the antennas except the first antenna and the second antenna;
and continuing to establish the call link according to the third antenna.
9. An antenna switching apparatus, comprising: a network interface, a memory, and a processor; wherein,
the network interface is used for receiving and sending signals in the process of receiving and sending information with other external network elements;
the memory for storing a computer program operable on the processor;
the processor, when executing the computer program, is configured to perform the steps of the method of antenna switching according to any of claims 1 to 8.
10. A computer storage medium, characterized in that it stores a program of antenna switching, which when executed by at least one processor implements the steps of the method of antenna switching of any one of claims 1 to 8.
CN201810270658.2A 2018-03-29 2018-03-29 A kind of method, apparatus and computer storage media of antenna switching Pending CN108540146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810270658.2A CN108540146A (en) 2018-03-29 2018-03-29 A kind of method, apparatus and computer storage media of antenna switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810270658.2A CN108540146A (en) 2018-03-29 2018-03-29 A kind of method, apparatus and computer storage media of antenna switching

Publications (1)

Publication Number Publication Date
CN108540146A true CN108540146A (en) 2018-09-14

Family

ID=63482403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810270658.2A Pending CN108540146A (en) 2018-03-29 2018-03-29 A kind of method, apparatus and computer storage media of antenna switching

Country Status (1)

Country Link
CN (1) CN108540146A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660673A (en) * 2019-01-21 2019-04-19 努比亚技术有限公司 Signal control method, mobile terminal and computer-readable storage media
CN110278010A (en) * 2019-06-13 2019-09-24 Oppo广东移动通信有限公司 Antenna switching method, antenna switching device, storage medium and electronic equipment
CN110381491A (en) * 2019-07-25 2019-10-25 维沃移动通信有限公司 A kind of method for transmitting signals and terminal
CN110430244A (en) * 2019-07-16 2019-11-08 浙江大华技术股份有限公司 Link establishment method, apparatus, filming apparatus and storage medium
CN112584408A (en) * 2020-12-09 2021-03-30 维沃移动通信有限公司 Method and device for reestablishing radio link failure and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104335502A (en) * 2012-05-21 2015-02-04 高通股份有限公司 Antenna switch configuration devices, methods, and systems
CN105580286A (en) * 2013-09-30 2016-05-11 高通股份有限公司 Systems and methods for transmit antenna switching
CN107528606A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of antenna switching method and device, mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104335502A (en) * 2012-05-21 2015-02-04 高通股份有限公司 Antenna switch configuration devices, methods, and systems
CN105580286A (en) * 2013-09-30 2016-05-11 高通股份有限公司 Systems and methods for transmit antenna switching
CN107528606A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of antenna switching method and device, mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660673A (en) * 2019-01-21 2019-04-19 努比亚技术有限公司 Signal control method, mobile terminal and computer-readable storage media
CN110278010A (en) * 2019-06-13 2019-09-24 Oppo广东移动通信有限公司 Antenna switching method, antenna switching device, storage medium and electronic equipment
CN110430244A (en) * 2019-07-16 2019-11-08 浙江大华技术股份有限公司 Link establishment method, apparatus, filming apparatus and storage medium
CN110381491A (en) * 2019-07-25 2019-10-25 维沃移动通信有限公司 A kind of method for transmitting signals and terminal
CN110381491B (en) * 2019-07-25 2022-07-01 维沃移动通信有限公司 Signal transmission method and terminal
CN112584408A (en) * 2020-12-09 2021-03-30 维沃移动通信有限公司 Method and device for reestablishing radio link failure and electronic equipment
WO2022121883A1 (en) * 2020-12-09 2022-06-16 维沃移动通信有限公司 Method and apparatus for re-establishment after radio link failure, and electronic device
CN112584408B (en) * 2020-12-09 2023-08-25 维沃移动通信有限公司 Method, device and electronic equipment for reestablishing radio link failure

Similar Documents

Publication Publication Date Title
US11848773B2 (en) Transmit antenna switching method and terminal device
US11729680B2 (en) Cell management method, trigger condition configuration method, terminal device, and network-side device
CN107046696B (en) Communication network switching method and mobile terminal
CN108965306B (en) Call processing method and mobile terminal
CN109819489B (en) A terminal calling method and terminal
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN110365347B (en) Power amplifier control method, device and computer readable storage medium
US20230031044A1 (en) Service processing method, user device, and computer-readable storage medium
CN108540146A (en) A kind of method, apparatus and computer storage media of antenna switching
WO2021175244A1 (en) Authorization and policy parameter configuration method, terminal, and network functions
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
WO2021052419A1 (en) Radio capability id transmission method, terminal device, and network node
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN111278117B (en) Partial bandwidth switching method and device, and communication equipment
CN107517487B (en) Call control method and mobile terminal
CN115278842B (en) Mobile terminal screen projection method, mobile terminal and storage medium
CN110209434B (en) Memory management method and device and computer readable storage medium
US12137381B2 (en) Random access method and terminal
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN113326012A (en) Processing method, mobile terminal and storage medium
CN112954755A (en) Method and device for optimizing network switching and computer readable storage medium
CN109818967B (en) Notification method, server, mobile terminal and computer readable storage medium
CN113301509B (en) Communication method and related equipment
CN108833686A (en) Processing method for paging message, terminal device, network side equipment 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180914