CN116667874A - Smart antenna switching method, electronic device and storage medium - Google Patents

Smart antenna switching method, electronic device and storage medium Download PDF

Info

Publication number
CN116667874A
CN116667874A CN202210145529.7A CN202210145529A CN116667874A CN 116667874 A CN116667874 A CN 116667874A CN 202210145529 A CN202210145529 A CN 202210145529A CN 116667874 A CN116667874 A CN 116667874A
Authority
CN
China
Prior art keywords
antenna
switched
wireless
operation stage
quality
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
CN202210145529.7A
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.)
Nanning Fulian Fugui Precision Industrial Co Ltd
Original Assignee
Nanning Fulian Fugui Precision Industrial 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 Nanning Fulian Fugui Precision Industrial Co Ltd filed Critical Nanning Fulian Fugui Precision Industrial Co Ltd
Priority to CN202210145529.7A priority Critical patent/CN116667874A/en
Publication of CN116667874A publication Critical patent/CN116667874A/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/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radio Transmission System (AREA)

Abstract

A smart antenna switching method, comprising: collecting a plurality of wireless line number parameters of the wireless line environment; in the current operation stage, when the maintenance period of the antenna to be switched is 0, the quality of the wireless line numbers of the initial antenna and the antenna to be switched is compared according to the wireless line number parameters. And when the comparison period of the antenna to be switched is 0, judging whether to switch the antenna according to the judging result of the wireless line number quality. If the antenna is not switched, the next operation stage is used as the current operation stage. If the antenna is switched, the line number receiving and transmitting operation is performed by switching the antenna to be switched to the outdoor antenna, or by switching the outdoor antenna back to the antenna to be switched, and the previous operation stage is taken as the current operation stage. The application also provides an electronic device and a storage medium, which can quickly wake up the available antenna line switching, achieve more intelligent selection among antennas and effectively solve the power consumption.

Description

Smart antenna switching method, electronic device and storage medium
Technical Field
The present application relates to smart antennas, and more particularly, to a smart antenna switching method, an electronic device, and a storage medium.
Background
Because most of 5G communication works at high frequency, the electromagnetic penetration force is poor, so that the antenna device has obviously poor receiving and transmitting quality in a room or even a basement. The known smart antenna switching operations determine whether the antenna is good or bad only according to the difference of the received signal strength indication (Received Signal Strength Indicator, RSSI) values among the antennas, and increase the transmitted signal strength and further increase the power loss when the signal transmission and reception quality is poor.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a smart antenna switching method, an electronic device and a storage medium, which can intelligently switch an internal antenna and an external antenna through an antenna that can be extended to the outside, and quickly wake up the smart antenna to save power consumption and improve wireless signal quality.
The embodiment of the application provides a method for switching an intelligent antenna, which is applied to an electronic device and is characterized in that the electronic device comprises an antenna to be switched and an initial antenna, wherein the antenna to be switched is connected with an outdoor antenna, and the method comprises the following steps: collecting a plurality of wireless signal parameters of a wireless environment; in the current operation stage, judging whether the maintenance period of the antenna to be switched is 0; if the maintenance period is 0, comparing the quality of the wireless signals of the initial antenna and the antenna to be switched according to the plurality of wireless signal parameters, and judging whether the comparison period of the antenna to be switched is 0 or not; if the comparison period is 0, judging whether to switch the antenna according to the judging result of the wireless signal quality; if the antenna is not switched, taking the next operation stage as the current operation stage, and setting the maintenance period and the comparison period according to the adjusted current operation stage; and if the antenna is switched, switching the signal receiving and transmitting operation from the antenna to be switched to the outdoor antenna or switching the outdoor antenna back to the antenna to be switched, and simultaneously taking the previous operation stage as the current operation stage, and setting the maintenance period and the comparison period according to the adjusted current operation stage.
The operation of comparing the wireless signal quality of the initial antenna and the wireless signal quality of the antenna to be switched according to the wireless signal parameters further comprises:
calculating cell load values of the initial antenna and the antenna to be switched according to a formula (1), wherein the formula (1) is as follows:
where n=12×channel_bandwidth× 5,N denotes the total number of subcarriers (subcarriers), and channel_bandwidth denotes the bandwidth.
Calculating the signal fractions of the initial antenna and the antenna to be switched according to a formula (2), wherein the formula (2) is as follows:
score=rsrp+ (0.73-cell_loading×1.67) ×rsrq..4.. (2); and
And judging whether the wireless signal quality of the initial antenna and the antenna to be switched is good or bad according to the signal fractions of the initial antenna and the antenna to be switched.
The embodiment of the application also provides an electronic device which comprises an initial antenna, an antenna to be switched, a data acquisition module, a judging module and a processing module, wherein the antenna to be switched is connected with the outdoor antenna.
The data acquisition module is used for collecting a plurality of wireless signal parameters of a wireless environment.
The judging module is used for judging whether the maintaining period of the antenna to be switched is 0 in the current operation stage, comparing the quality of the wireless signals of the initial antenna and the quality of the wireless signals of the antenna to be switched according to the plurality of wireless signal parameters if the maintaining period is 0, judging whether the comparing period of the antenna to be switched is 0 or not, and judging whether to switch the antenna according to the judging result of the quality of the wireless signals if the comparing period is 0.
The processing module is configured to set the maintenance period and the comparison period according to the adjusted current operation period if the antenna is not switched, and to switch the signal transmitting/receiving operation from the antenna to be switched to the outdoor antenna or switch the outdoor antenna back to the antenna to be switched for execution if the antenna is switched, and to set the maintenance period and the comparison period according to the adjusted current operation period when the previous operation period is used as the current operation period.
The operation of comparing the wireless signal quality of the initial antenna and the wireless signal quality of the antenna to be switched according to the wireless signal parameters further comprises:
calculating cell load values of the initial antenna and the antenna to be switched according to a formula (1), wherein the formula (1) is as follows:
where n=12×channel_bandwidth× 5,N denotes the total number of subcarriers (subcarriers), and channel_bandwidth denotes the bandwidth.
Calculating the signal fractions of the initial antenna and the antenna to be switched according to a formula (2), wherein the formula (2) is as follows:
score=rsrp+ (0.73-cell_loading×1.67) ×rsrq..4.. (2); and
And judging whether the wireless signal quality of the initial antenna and the antenna to be switched is good or bad according to the signal fractions of the initial antenna and the antenna to be switched.
The embodiment of the application also provides a storage medium, and a computer program is stored on the storage medium, and the computer program is executed to realize the steps of the intelligent antenna switching method.
According to the intelligent antenna switching method, the electronic device and the storage medium, an extensible outdoor antenna device is added, part of antennas of the indoor antenna device can be intelligently switched to the outdoor antenna device to transmit and receive wireless signals, and under any variation condition (such as damage or interference caused by a movable obstacle) of the antennas, the available antennas can be quickly awakened to switch, so that more intelligent selection among the antennas is achieved, good wireless signals are provided, and power consumption is effectively solved.
Drawings
Fig. 1 is a schematic diagram of a smart antenna switching system according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating steps of a smart antenna switching method according to an embodiment of the present application.
FIG. 3 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the application.
Fig. 4 is a functional block diagram of an electronic device according to an embodiment of the application.
Description of the main reference signs
Intelligent antenna switching system 100
Indoor communication device 110
Initial antenna 111
Antenna to be switched 113
Switching device 121、123
Outdoor communication device 130
Electronic device 200
Processor and method for controlling the same 210
Memory 220
Intelligent antenna switching system 230
Data acquisition module 310
Judgment module 320
Processing module 330
The application will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, and the described embodiments are merely some, rather than all, embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
According to the intelligent antenna switching method provided by the embodiment of the application, an extensible outdoor antenna device is added, so that part of antennas of the indoor antenna device can be intelligently switched to the outdoor antenna device to transmit and receive wireless signals, and under any variation condition (such as damage or interference caused by a movable obstacle) of the antennas, the available antennas can be quickly awakened to switch, so that more intelligent selection among the antennas is achieved, good wireless signals are provided, and the power consumption is effectively solved.
Fig. 1 is a schematic diagram of a smart antenna switching system according to an embodiment of the present application. The smart antenna switching system 100 of the embodiment of the present application includes an InDoor communication device (IDU) 110, switching devices 121 and 123, and an OutDoor communication device (ODU) 130.IDU 110 has at least two groups of antennas, one of which is initial antenna 111 and the other of which is antenna 113 to be switched. The antenna 113 to be switched is used to switch to an OutDoor Unit (ODU) 130 by using the switching devices 121 and 123 when the quality of the wireless signal of the IDU 110 is poor, so as to improve the quality of the wireless signal. The indoor communication device 110 determines whether to switch the signal transceiving operation from the antenna to be switched 113 to the ODU 130 or from the ODU 130 to the antenna to be switched 113 according to the wireless signal quality of the initial antenna 111 and the antenna to be switched 113. Meanwhile, a Holding Period (HP) and a Comparison Period (CP) of the antenna 113 to be switched are adjusted according to whether the antenna 113 to be switched is switched.
Fig. 2 is a flowchart of steps of a smart antenna switching method according to an embodiment of the present application, which is applied to an electronic device, wherein the electronic device is an indoor communication device 110 shown in fig. 1. The order of the steps in the flow diagrams may be changed, and some steps may be omitted, according to different needs.
In step S201, radio signal parameters of the radio environment, such as received signal strength indication (Received Signal Strength Indicator, RSSI), reference signal received quality (Reference Signal Receiving Quality, RSRQ), reference signal received power (Reference Signal Receiving Power, RSRP), etc., are collected.
In step S202, it is determined whether the HP of the antenna 113 to be switched of the indoor communication device 110 is 0 (hp+=0), indicating whether to operate. The Hold Period (HP) refers to a period of time during which the antenna 113 to be switched is held in operation in a certain operation period, and the Comparison Period (CP) refers to a period of time during which the quality of the wireless signals of the initial antenna 111 and the antenna 113 to be switched are compared in the same operation period.
In the embodiment of the present application, for example, five operation phases (defined as steppe=1..5) may be defined, but not limited thereto, as follows:
first stage (stepper=1), HP value 30 seconds, CP value 1 minute;
second stage (stepper=2), HP value of 1 min, CP value of 40 seconds;
third stage (stepper=3), HP value 10 minutes, CP value 30 seconds;
fourth stage (stepper=4), HP value 30 minutes, CP value 10 seconds; and
in the fifth stage (stepper=5), the HP value remains unchanged (HP can be considered as infinite), CP may be 0 seconds or any value.
In step S203, if the HP value is 0, the period of time for which the antenna 113 to be switched maintains operating in the current operating stage is ended, the quality of the wireless signals of the initial antenna 111 and the antenna 113 to be switched is compared in the current operating stage according to the wireless signal parameters, and whether the CP value in the current operating stage is 0 (cp= =0) is determined. If the CP value is not 0, the comparison operation is continued.
The operation of comparing the quality of the wireless signals of the initial antenna 111 and the antenna 113 to be switched according to the wireless signal parameters in the current operation stage is as follows:
calculating cells of the initial antenna 111 and the antenna 113 to be switched according to formula (1)Load values, e.g. cell_loading 111 With cell_loading 113 Equation 1) is as follows:
where n=12×channel_bandwidth× 5,N denotes the total number of subcarriers (subcarriers), and channel_bandwidth denotes the bandwidth.
Then, the signal fractions of the initial antenna 111 and the antenna 113 to be switched, such as Score, are calculated according to the formula (2) 111 And Score 113 Equation (2) is shown below:
Score=RSRP+(0.73-Cell_Loading×1.67)×RSRQ......(2)
if Score 111 >Score 113 Indicating that the signal quality of the initial antenna 111 is better than the signal quality of the antenna 113 to be switched, and conversely, indicating that the signal quality of the initial antenna 111 is worse than the signal quality of the antenna 113 to be switched.
In step S204, if the CP value is 0, it is determined whether to switch the antenna according to the determination result of the wireless signal quality. That is, the signal transceiving operation is performed by switching the antenna 113 to be switched to the ODU 130, or by switching the ODU 130 back to the antenna 113 to be switched.
In step S205, if the antenna is not switched, the HP value is increased and the CP value is decreased by stepper+1 (stepper++). Then, returning to step S201, the wireless signal parameters of the wireless environment are continuously collected, and the above steps are repeatedly performed.
In step S206, if the antenna is switched, the antenna to be switched 113 is switched to the ODU 130 for signal transmission/reception, or the ODU 130 is switched back to the antenna to be switched 113, and the HP value is decreased and the CP value is increased. Then, returning to step S201, the wireless signal parameters of the wireless environment are continuously collected, and the above steps are repeatedly performed.
In step S207, if the HP value is not 0, it is determined whether the value of steppe is maximum (steppe= Max) in step S202.
If the value of Stepper is maximum, meaning that the HP value is infinite (hp= infinite), CP may be 0 seconds or any value. At this time, the signal transceiving operation is performed by the currently operating antenna, which may be the antenna 113 to be switched or the ODU 130. Conversely, if the value of Stepper is not the maximum, HP-1 (HP- -).
Step S208, judging whether the variation range of the wireless signal quality of the wireless network environment reaches a critical value. For example, the signal strength value of RSRP varies to reach the threshold value. If the variation range of the wireless signal quality of the wireless network environment does not reach the threshold, returning to step S201, continuously collecting the wireless signal parameters of the wireless network environment, and repeating the above steps.
Step S209, if the variation range of the wireless signal quality of the wireless network environment reaches the threshold, the HP value of the currently operating antenna is set to 0 (hp=0), and then the process returns to step S201, and the wireless signal parameters of the wireless network environment are continuously collected, and the above steps are repeatedly executed.
Fig. 3 is a schematic hardware architecture of an electronic device according to an embodiment of the application. The electronic device 200, such as, but not limited to, an outdoor antenna device, may communicatively couple the processor 210, the memory 220, and the smart antenna switching system 230 to each other via a system bus, with fig. 3 only showing the electronic device 200 having components 210-230, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented.
The memory 220 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 220 may be an internal storage unit of the electronic device 200, such as a hard disk or a memory of the electronic device 200. In other embodiments, the memory may also be an external storage device of the electronic apparatus 200, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic apparatus 200. Of course, the memory 220 may also include both an internal storage unit and an external storage device of the electronic apparatus 200. In this embodiment, the memory 220 is generally used for storing an operating system and various application software installed in the electronic device 200, such as a program code of the smart antenna switching system 230. In addition, the memory 220 may be used to temporarily store various types of data that have been output or are to be output.
The processor 210 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 210 is generally used to control the overall operation of the electronic device 200. In this embodiment, the processor 210 is configured to execute the program code or process data stored in the memory 220, for example, execute the smart antenna switching system 230.
It should be noted that fig. 3 is merely an example of the electronic device 200. In other embodiments, the electronic device 200 may also include more or fewer components, or have a different configuration of components.
The modules/units integrated in the electronic device 200 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier wave signal, a telecommunication signal, a software distribution medium, and the like. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
Fig. 4 is a functional block diagram of an electronic device for performing a smart antenna switching method according to an embodiment of the present application. The smart antenna switching method according to the embodiments of the present application may be implemented by a computer program in a storage medium, for example, the memory 220 in the electronic device 200. When a computer program implementing the method of the present application is loaded into the memory 220 by the processor 210, the processor 210 of the line apparatus 200 is driven to execute the smart antenna switching method of the embodiment of the present application.
The electronic device 200 of the embodiment of the application includes a data obtaining module 310, a judging module 320 and a processing module 330.
The data acquisition module 310 collects wireless signal parameters of the wireless environment, such as Received Signal Strength Indication (RSSI), reference Signal Received Quality (RSRQ), reference Signal Received Power (RSRP), and so on.
The determining module 320 determines whether the Hold Period (HP) of the antenna 113 to be switched of the indoor communication device 110 is 0 (hp+=0). The Hold Period (HP) refers to a period of time during which the antenna 113 to be switched is held in operation in a certain operation period, and the Comparison Period (CP) refers to a period of time during which the quality of the wireless signals of the initial antenna 111 and the antenna 113 to be switched are compared in the same operation period.
In the embodiment of the present application, for example, five operation phases (defined as steppe=1..5) may be defined, but not limited thereto, as follows:
first stage (stepper=1), HP value 30 seconds, CP value 1 minute;
second stage (stepper=2), HP value of 1 min, CP value of 40 seconds;
third stage (stepper=3), HP value 10 minutes, CP value 30 seconds;
fourth stage (stepper=4), HP value 30 minutes, CP value 10 seconds; and
in the fifth stage (stepper=5), the HP value remains unchanged (HP can be considered as infinite), CP may be 0 seconds or any value.
If the HP value is 0, which indicates that the period of time for which the antenna 113 to be switched maintains operating in the current operating phase is over, the determining module 320 compares the wireless signal quality of the initial antenna 111 and the wireless signal quality of the antenna 113 to be switched in the current operating phase, and determines whether the CP value in the current operating phase is 0 (cp= 0). If the CP value is not 0, the comparison operation is continued.
The operation of comparing the quality of the wireless signals of the initial antenna 111 and the antenna 113 to be switched according to the wireless signal parameters in the current operation stage is as follows:
cell Loading values of the initial antenna 111 and the antenna 113 to be switched, for example, cell_loading, are calculated according to formula (1) 111 With cell_loading 113 Equation (1) is shown below:
where n=12×channel_bandwidth× 5,N denotes the total number of subcarriers (subcarriers), and channel_bandwidth denotes the bandwidth.
Then, the signal fractions of the initial antenna 111 and the antenna 113 to be switched, such as Score, are calculated according to the formula (2) 111 And Score 113 Equation (2) is shown below:
Score=RSRP+(0.73-Cell_Loading×1.67)×RSRQ......(2)
and
If Score 111 >Score 113 Indicating that the signal quality of the initial antenna 111 is better than the signal quality of the antenna 113 to be switched, and conversely, indicating that the signal quality of the initial antenna 111 is worse than the signal quality of the antenna 113 to be switched.
If the CP value is 0, the determining module 320 determines whether to switch the antenna according to the determination result of the wireless signal quality. That is, the signal transceiving operation is performed by switching the antenna 113 to be switched to the ODU 130, or by switching the ODU 130 back to the antenna 113 to be switched.
If the antenna is not switched, the processing module 330 will steppe+1 (steppe++), at which time the HP value will increase and the CP value will decrease. Then, the data obtaining module 310 continues to collect the wireless signal parameters of the wireless environment, and repeatedly performs the above steps.
If the antenna is switched, the processing module 330 will step-1 (step- -), where the HP value will decrease and the CP value will increase. Then, the data obtaining module 310 continues to collect the wireless signal parameters of the wireless environment, and repeatedly performs the above steps.
If the HP value is not 0, the determination module 320 determines whether the value of steppe is maximum (steppe= Max).
If the value of Stepper is maximum, the processing module 330 sets the HP value to infinity (hp= infinite), the CP value may be 0 seconds or any value. At this time, the signal transceiving operation is performed by the currently operating antenna, which may be the antenna 113 to be switched or the ODU 130. Conversely, if the value of Stepper is not the maximum, the processing module 330 will HP-1 (HP- -).
The determining module 320 determines whether the variation range of the wireless signal quality of the wireless network environment reaches the threshold. For example, the signal strength value of RSRP varies to reach the threshold value. If the variation range of the wireless signal quality of the wireless network environment does not reach the threshold, the data acquisition module 310 continues to collect the wireless signal parameters of the wireless network environment, and the above steps are repeatedly performed.
If the variation range of the wireless signal quality of the wireless network environment reaches the threshold, the processing module 330 sets the HP value of the currently operating antenna to 0 (hp=0), and then the data acquisition module 310 continues to collect the wireless signal parameters of the wireless network environment, and repeats the above steps.
It will be appreciated that the above described division of modules is merely a logical division of functions and that other divisions of implementation are possible. In addition, each functional module in the embodiments of the present application may be integrated in the same processing unit, or each module may exist alone physically, or two or more modules may be integrated in the same unit. The integrated modules may be implemented in hardware or in hardware plus software functional modules.
Other corresponding changes and modifications can be made by those skilled in the art in light of the practical needs generated by combining the technical scheme and the technical conception provided by the embodiment of the present application, and all such changes and modifications are intended to fall within the scope of the claims of the present application.

Claims (9)

1. The intelligent antenna switching method is applied to an electronic device, and is characterized in that the electronic device comprises an antenna to be switched and an initial antenna, and the antenna to be switched is connected with an outdoor antenna, and the method comprises the following steps:
collecting a plurality of wireless signal parameters of a wireless environment;
in the current operation stage, judging whether the maintenance period of the antenna to be switched is 0;
if the maintenance period is 0, comparing the quality of the wireless signals of the initial antenna and the antenna to be switched according to the plurality of wireless signal parameters, and judging whether the comparison period of the antenna to be switched is 0 or not;
wherein the operation of comparing the wireless signal quality of the initial antenna and the wireless signal quality of the antenna to be switched according to the wireless signal parameters further comprises:
calculating cell load values of the initial antenna and the antenna to be switched according to a formula (1), wherein the formula (1) is as follows:
where n=12×channel_bandwidth× 5,N represents the total number of subcarriers (subcarriers), and channel_bandwidth represents the bandwidth;
calculating the signal fractions of the initial antenna and the antenna to be switched according to a formula (2), wherein the formula (2) is as follows:
score=rsrp+ (0.73-cell_loading×1.67) ×rsrq..4.. (2); and
Judging whether the wireless signal quality of the initial antenna and the antenna to be switched is good or bad according to the signal fractions of the initial antenna and the antenna to be switched;
if the comparison period is 0, judging whether to switch the antenna according to the judging result of the wireless signal quality;
if the antenna is not switched, taking the next operation stage as the current operation stage, and setting the maintenance period and the comparison period according to the adjusted current operation stage; and
If the antenna is switched, the signal receiving and transmitting operation is switched from the antenna to be switched to the outdoor antenna or is switched from the outdoor antenna back to the antenna to be switched, and meanwhile, the previous operation stage is taken as the current operation stage, and the maintenance period and the comparison period are set according to the adjusted current operation stage.
2. The smart antenna switching method of claim 1, further comprising:
if the maintenance period is not 0, judging whether the current operation stage is the final operation stage;
if the current operation stage is the final operation stage, the maintenance period is infinite, and the wire number receiving and transmitting operation is always executed by the currently operated antenna; and
if the current operation stage is not the final operation stage, the maintenance period is-1.
3. The smart antenna switching method of claim 2, further comprising:
judging whether the variable amplitude of the wireless line number quality of the wireless network line border reaches a critical negative value or not; and
and if the variation amplitude of the wireless line number quality of the wireless network line border does not reach the critical negative, then collecting the wireless line number parameters of the wireless line border, and repeatedly executing the steps.
4. The smart antenna switching method of claim 3, further comprising:
if the variable amplitude of the wireless line number quality of the wireless network border reaches the critical negative, setting the maintenance period of the currently operating antenna to 0, then collecting the wireless line number parameter of the wireless network border, and repeating the steps.
5. An electronic device, comprising:
an initial antenna;
the antenna to be switched is connected to the outdoor antenna;
the data acquisition module is used for collecting a plurality of wireless signal parameters of a wireless environment;
the judging module is used for judging whether the maintenance period of the antenna to be switched is 0 in the current operation stage, comparing the quality of the wireless signals of the initial antenna and the quality of the wireless signals of the antenna to be switched according to the plurality of wireless signal parameters if the maintenance period is 0, judging whether the comparison period of the antenna to be switched is 0 or not, and judging whether to switch the antenna according to the judging result of the quality of the wireless signals if the comparison period is 0;
wherein the operation of comparing the wireless signal quality of the initial antenna and the wireless signal quality of the antenna to be switched according to the wireless signal parameters further comprises:
calculating cell load values of the initial antenna and the antenna to be switched according to a formula (1), wherein the formula (1) is as follows:
where n=12×channel_bandwidth× 5,N represents the total number of subcarriers (subcarriers), and channel_bandwidth represents the bandwidth;
calculating the signal fractions of the initial antenna and the antenna to be switched according to a formula (2), wherein the formula (2) is as follows:
score=rsrp+ (0.73-cell_loading×1.67) ×rsrq..4.. (2); and
Judging whether the wireless signal quality of the initial antenna and the antenna to be switched is good or bad according to the signal fractions of the initial antenna and the antenna to be switched; and
and the processing module is used for taking the next operation stage as the current operation stage if the antenna is not switched, setting the maintenance stage and the comparison stage according to the adjusted current operation stage, and switching the signal receiving and transmitting operation from the antenna to be switched to the outdoor antenna or switching the outdoor antenna back to the antenna to be switched for execution if the antenna is switched, taking the previous operation stage as the current operation stage, and setting the maintenance stage and the comparison stage according to the adjusted current operation stage.
6. The electronic device of claim 5, wherein:
if the maintenance period is not 0, the judging module judges whether the current operation stage is the final operation stage; and
if the current operation stage is the final operation stage, the processing module sets the maintenance period to be infinite, and the wire number receiving and transmitting operation is always executed by the currently operated antenna; and
if the current operation phase is not the last operation phase 0, the processing module maintains the maintenance period-1.
7. The electronic device of claim 6, wherein:
the judging module judges whether the variable amplitude of the wireless line number quality of the wireless network line border reaches a critical negative or not; and
if the variation amplitude of the wireless line number quality of the wireless network line border does not reach the critical negative, the data acquisition module continues to collect the wireless line number parameters of the wireless line border so as to repeatedly execute the steps.
8. The electronic device of claim 7, wherein:
if the variable amplitude of the wireless line number quality of the wireless network environment reaches the critical negative value, the processing module sets the maintenance period of the currently operating antenna to 0, and the data acquisition module continuously collects the wireless line number parameters of the wireless network environment so as to repeatedly execute the steps.
9. A storage medium having stored thereon at least one computer instruction for execution by a processor in combination with negation of a smart antenna switching method according to any one of claims 1 to 4.
CN202210145529.7A 2022-02-17 2022-02-17 Smart antenna switching method, electronic device and storage medium Pending CN116667874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210145529.7A CN116667874A (en) 2022-02-17 2022-02-17 Smart antenna switching method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210145529.7A CN116667874A (en) 2022-02-17 2022-02-17 Smart antenna switching method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN116667874A true CN116667874A (en) 2023-08-29

Family

ID=87719376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210145529.7A Pending CN116667874A (en) 2022-02-17 2022-02-17 Smart antenna switching method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN116667874A (en)

Similar Documents

Publication Publication Date Title
CN107147419A (en) Reduce method, storage medium and the terminal of signal interference
CN105376819A (en) Network mode switching method, device and terminal
CN105430702A (en) Network switching method and device, and communication terminal
CN105517128A (en) Network switching method and device, and terminal
CN105517083A (en) Network switching method, device and terminal
CN105357405A (en) Network switching method, device and terminal
CN111885704B (en) Method for determining installation position of user front equipment, electronic equipment and storage medium
CN1111340C (en) Method for continuously searching origin public land mobile network
CN117580143B (en) Automatic gain control method and system based on dual-mode communication unit
CN105517122A (en) Network switching method and apparatus, and terminal
CN1204225A (en) Mobile information apparatus and control method therefor
CN103260171B (en) A kind of method of cell measurement gravity treatment and terminal
CN102404038A (en) Control method, equipment and terminal for receiving diversity antenna system
CN1543086A (en) Radio communication terminal and radio signal receiving method
CN112437457B (en) Cell mobile network control method, device, equipment and storage medium
CN116667874A (en) Smart antenna switching method, electronic device and storage medium
CN116418362A (en) Smart antenna switching method, electronic device and storage medium
TWI803121B (en) Smart antenna switching method, electronic device and computer readable storage medium
CN114900861B (en) Base station control method, base station and storage medium
CN111050372A (en) 5G RRC state transition method, device, terminal and readable storage medium
US11870483B2 (en) Smart antenna switching method, electronic device and computer readable storage medium
CN114258095A (en) Roaming method of mobile device, electronic device and computer readable storage medium
CN114205885A (en) Network connection control method and device of 5G mobile terminal, storage medium and mobile terminal
CN111371537B (en) Cell carrier aggregation parameter optimization method, device, equipment and storage medium
CN112383660A (en) Throughput rate testing method and device for intelligent terminal, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination