CN114900218B - Method for acquiring antenna combination, electronic device and computer readable storage medium - Google Patents

Method for acquiring antenna combination, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN114900218B
CN114900218B CN202210374775.XA CN202210374775A CN114900218B CN 114900218 B CN114900218 B CN 114900218B CN 202210374775 A CN202210374775 A CN 202210374775A CN 114900218 B CN114900218 B CN 114900218B
Authority
CN
China
Prior art keywords
signal quality
communication
connection
data
antenna combination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210374775.XA
Other languages
Chinese (zh)
Other versions
CN114900218A (en
Inventor
魏鲲鹏
张志军
官乔
吉坤
吴顶顶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310815174.2A priority Critical patent/CN117040574A/en
Priority to CN202210374775.XA priority patent/CN114900218B/en
Publication of CN114900218A publication Critical patent/CN114900218A/en
Priority to PCT/CN2022/141753 priority patent/WO2023197676A1/en
Application granted granted Critical
Publication of CN114900218B publication Critical patent/CN114900218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • H04B7/0608Antenna selection according to transmission parameters
    • H04B7/061Antenna selection according to transmission parameters using feedback from receiving side
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of communication and provides a method for acquiring an antenna combination, electronic equipment and a computer readable storage medium, wherein the method comprises the steps that when a network connection is a second connection, first signal quality data is acquired through the second connection, the first signal quality data is used for representing communication quality when the first connection is adopted for communication, the first connection is a network connection adopting a first frequency band for communication, the second connection is a network connection adopting a second frequency band for communication, and the frequency of the first frequency band is higher than that of the second frequency band; determining a target antenna combination according to the first signal quality data; the target antenna combination is in a combination form of an antenna called by receiving and transmitting signals of a first frequency band when the network connection is switched from the second connection to the first connection for communication. The method can be used for rapidly aiming at high-gain beams and achieving the purpose of rapidly switching network connection.

Description

Method for acquiring antenna combination, electronic device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for acquiring an antenna combination, an electronic device, and a computer readable storage medium.
Background
With the rapid development of network communication technology, wireless routers are widely used by people in the scenes of work and life. The wireless router can provide a wireless fidelity (wireless fidelity, WIFI) network for terminal devices within the coverage area, so that the terminal devices hung down can access the internet.
A common WIFI network typically uses two frequency bands, 2.4G and 5G, for communication. The WIFI-5G is the first choice in some high-rate scenes, such as game scenes or scenes with high-rate requirements of network live broadcast, due to the characteristics of large bandwidth and high rate. However, compared with WIFI-2.4G, WIFI-5G has high frequency, poor diffraction capacity, and large signal loss in the process of propagation or wall penetration, so that the coverage area is small. In order to increase the signal coverage of the WIFI-5G, in a wireless router, besides setting an omni-directional antenna, a plurality of directional antennas are additionally arranged to increase the coverage of the WIFI-5G signal, and the directions of high gain beams of each directional antenna are different, so that the coverage of the high gain beams can be more comprehensive by combining the directional antennas, and the terminal equipment hung below the wireless router can be located in the area covered by the high gain beams of the routing antennas, so that the communication quality of the WIFI-5G is ensured.
However, when the usage state of the terminal device changes, for example, the location of the terminal device moves, and the signal coverage of the WIFI-5G is weak and cannot normally communicate, the network connection between the terminal device and the wireless router may fall back from the WIFI-5G to the WIFI-2.4G. Under the requirement of a high-rate scene of the terminal equipment, the wireless router can temporarily select a directional antenna different from the last time to reestablish the WIFI-5G communication with the terminal equipment in the next scanning period. But if the terminal device is not in the sector covered by the high gain beam of the selected directional antenna, the communication to establish WIFI-5G may fail, and the network connection may be re-switched back to WIFI-2.4G. The wireless router continues to adopt another directional antenna to attempt to establish the communication of the WIFI-5G in the next scanning period until the communication of the WIFI-5G is established successfully or all the directional antennas are polled.
However, the wireless router continuously tries to adopt different directional antennas to establish the communication of the WIFI-5G, so that the network connection is continuously switched between the WIFI-5G and the WIFI-2.4G, and a proper directional antenna cannot be timely selected to establish the network connection of the WIFI-5G for communication, thereby affecting the experience of the user.
Disclosure of Invention
The application provides a method, a device, a chip, electronic equipment, a computer readable storage medium and a computer program product for acquiring an antenna combination, which can rapidly align high-gain beams and realize the purpose of rapidly switching network connection.
In a first aspect, a method for obtaining an antenna combination is provided, including: when the network connection is a second connection, acquiring first signal quality data through the second connection, wherein the first signal quality data is used for representing communication quality when the first connection is adopted for communication, the first connection is the network connection adopting a first frequency band for communication, the second connection is the network connection adopting a second frequency band for communication, and the frequency of the first frequency band is higher than that of the second frequency band; determining a target antenna combination according to the first signal quality data; the target antenna combination is in a combination form of an antenna called by receiving and transmitting signals of a first frequency band when the network connection is switched from the second connection to the first connection for communication.
In the method, the wireless router does not need to switch the network connection to the first connection by selecting the antenna combination without any basis, but obtains first signal quality data representing communication quality of the first connection with high frequency through the second connection with low frequency, and then determines a target antenna combination according to the first signal quality data. The wireless router may then use the antennas in the determined target antenna combination to transceive signals of the first frequency band and establish a first connection for communication. The method can avoid the problem of network interruption caused by connection failure when the network connection is directly switched to the first connection due to improper antenna combination selection, further avoid the problem that the network connection is jumped back between the first connection and the second connection, cannot timely align high-gain beams and cannot timely establish the first connection, and determine the target antenna combination meeting the communication requirement before the network connection is switched to the first connection, so that the network connection can be successfully switched once, the rapid alignment of the high-gain beams is realized, the efficiency of antenna switching is improved, the network interruption is avoided, and the user experience is improved.
In some possible implementations, the first signal quality data is used to characterize communication quality when communication over the first connection is employed by the first antenna combination, and determining the target antenna combination from the first signal quality data includes: and if the first signal quality data meets the preset communication requirement, determining the first antenna combination as a target antenna combination.
In some possible implementations, the method further includes: if the first signal quality data does not meet the preset communication requirement, acquiring second signal quality data through a second connection, wherein the second signal quality data is used for representing the communication quality when the first connection communication is adopted through a second antenna combination, and the second antenna combination and the first antenna combination are in different antenna combination forms; if the second signal quality data meets the preset communication requirement, determining the second antenna combination as a target antenna combination; if the second signal quality data does not meet the preset communication requirement, determining a target antenna combination according to other signal quality data, wherein the other signal quality data are used for representing the communication quality when the first connection communication is adopted through other antenna combinations, and the other antenna combinations comprise combination forms of antennas except the first antenna combination and the second antenna combination.
When the first signal quality data obtained by the wireless router through the signal transmitted by the first antenna combination meets the preset communication requirement, determining the first antenna combination corresponding to the first signal quality data as a target antenna combination, and determining the first antenna combination corresponding to the first signal quality data as the target antenna combination according to the communication quality of the first antenna combination represented by the first signal quality data when the communication quality meets the communication requirement during the communication of the first frequency band. If the first signal quality data cannot meet the preset communication requirement, the second signal quality data corresponding to the second antenna combination is continuously acquired until the signal quality data meeting the preset communication requirement is acquired, and the antenna combination corresponding to the signal quality data meeting the preset communication requirement is used as a target antenna combination, so that no need of selecting the antenna combination to establish a new network connection without any basis exists, the problem of network interruption caused by connection failure when the network connection is directly switched to the first connection due to improper selection of the antenna combination can be avoided, the problem that the network connection jumps back between the first connection and the second connection, the problem that a high-gain beam cannot be aligned in time and the first connection cannot be established in time is further avoided, the target antenna combination meeting the communication requirement is selected before the network connection is switched to the first connection, the network connection can be successfully switched at one time, the quick alignment of the high-gain beam is realized, the efficiency of antenna switching is improved, the network interruption is also avoided, and the user experience is improved.
In some possible implementations, the first signal quality data includes a plurality of sets of signal quality sub-data, the plurality of sets of signal quality sub-data corresponding one-to-one to a plurality of antenna combinations, each set of signal quality sub-data characterizing a communication quality when communicating with the first connection through the corresponding antenna combination, determining a target antenna combination from the first signal quality data, including: and selecting target signal quality sub-data meeting preset communication requirements from multiple groups of first signal quality sub-data, wherein an antenna combination corresponding to the target signal quality sub-data is a target antenna combination.
According to the method, multiple groups of signal quality sub-data corresponding to multiple antenna combinations can be obtained, a group meeting the requirements is screened from the signal quality sub-data, the target antenna combination is indicated according to the selected target signal quality sub-data meeting the requirements, no need of establishing new network connection by selecting the antenna combination without any basis exists, the problem of network interruption caused by connection failure when the network connection is directly switched to the first connection due to improper selection of the antenna combination can be avoided, the problem that the network connection is jumped back between the first connection and the second connection and cannot be aligned with a high-gain beam in time and the problem that the first connection cannot be established in time is further avoided, the target antenna combination meeting the communication requirements is selected before the network connection is switched to the first connection, the network connection can be successfully switched once, the quick alignment of the high-gain beam is realized, the efficiency of antenna switching is improved, the network interruption is also avoided, and the user experience is improved.
In some possible implementations, selecting target signal quality sub-data that meets a preset communication requirement from a plurality of sets of first signal quality sub-data includes: and selecting a group which characterizes the highest communication rate from the plurality of groups of signal quality sub-data as target signal quality sub-data.
According to the method, the optimal group of the signal quality sub-data can be selected as the target signal quality sub-data, so that the determined target antenna combination is the optimal antenna combination, and the optimal communication quality is ensured.
In some possible implementations, the preset communication requirements include: the communication rate is greater than or equal to a preset rate threshold, and the target signal quality sub-data meeting the preset communication requirement is selected from a plurality of groups of first signal quality sub-data, and the method comprises the following steps: any one group which characterizes that the communication rate is greater than or equal to a preset rate threshold is selected from the plurality of groups of signal quality sub-data to serve as target signal quality sub-data.
According to the method, when the sub-data of the signal quality is judged through traversing, the data meeting the preset communication requirement can be searched at the highest speed, so that time can be saved compared with the whole searching, and the antenna switching efficiency is improved.
In some possible implementations, acquiring the first signal quality data over the second connection includes: when the device connected through the second connection is a core device, the first signal quality data is acquired through the second connection, and the core device is a device with high gain beam requirements.
The wireless router first determines whether the device connected through the second connection is a core device, if the device is a core device, the device is a terminal device with a high-gain beam requirement, for example, the current use scene of the terminal device is a game application program running low delay or a network live broadcast application program, the wireless router can determine that the wireless router needs to switch to a first connection with high frequency under the state of high-gain beam alignment to establish a high-rate and low-delay communication channel, and then the step of acquiring the first signal quality data is started. If the terminal device is not core device and there is no high gain beam demand, the wireless router and the terminal device can also meet the communication demand by using the second frequency band with low frequency, such as the frequency of WIFI-2.4G, so that the step of acquiring the first signal quality data is not needed to be executed, and the network connection is not needed to be switched, thereby saving the system overhead.
In some possible implementations, acquiring the first signal quality data over the second connection includes: receiving an antenna switching request from a connected device; in response to the antenna switching request, the first signal quality data is acquired over the second connection.
The mode can actively initiate a closed loop feedback mode such as a flow through the connected equipment when the high-gain wave beams are not aligned, the wireless router can be switched to the second connected network without waiting for the periodical triggering flow, the waiting time is reduced, the network switching is more efficient, and the user experience is improved.
In some possible implementations, the first frequency band is a 5G frequency band of WIFI and the second frequency band is a 2.4G frequency band of WIFI. According to the method, before the network connection is switched to the WIFI-5G, the signal quality data representing the communication quality of the WIFI-5G is returned through the WIFI-2.4G network, the target antenna combination meeting the communication requirement is determined in advance, and then the network connection is switched, so that the network connection is switched successfully at one time, the rapid alignment of high-gain beams is realized, the antenna switching efficiency is improved, network interruption is avoided, and the user experience is improved.
In some possible implementations, the first signal quality data includes: bit Error Rate (BER), packet loss rate (packet error ratio, PER), channel state information (channel state information, CSI), time delay, received signal strength indication (received signal strength indicator, RSSI), and communication rate.
In a second aspect, an apparatus for obtaining an antenna combination is provided, where the apparatus includes a unit made up of software and/or hardware, and the unit is configured to perform any one of the methods in the first aspect.
In a third aspect, there is provided an electronic device, comprising: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other such that the electronic device performs any one of the methods of the technical solutions of the first aspect.
In some possible implementations, the electronic device is a wireless router.
In a fourth aspect, embodiments of the present application provide a chip comprising a processor; the processor is configured to read and execute a computer program stored in the memory to perform any one of the methods of the first aspect.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, there is provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, causes the processor to perform any one of the methods according to the first aspect.
In a sixth aspect, there is provided a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to carry out any one of the methods of the first aspect.
Drawings
Fig. 1 is a schematic diagram of an example of antenna distribution in a wireless router 100 according to an embodiment of the present application;
fig. 2 is a pattern of antennas in the wireless router 100 provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of an example of obtaining an antenna combination according to an embodiment of the present application;
fig. 4 is a schematic circuit structure diagram of a radio frequency path of an example WIFI provided in an embodiment of the present application;
fig. 5 is a schematic flow chart of another example of obtaining an antenna combination according to an embodiment of the present application;
fig. 6 is a schematic flow chart of another example of obtaining an antenna combination according to an embodiment of the present application;
FIG. 7 is a graph illustrating real and imaginary parts of an exemplary acquired CFR provided by an embodiment of the present application;
FIG. 8 is a graph showing the absolute value of the real part of a CFR and the CIR obtained from the CFR according to the embodiment of the present application;
fig. 9 is a schematic diagram of an apparatus for acquiring an antenna assembly according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
With the rapid development of network communication technology, wireless routers are widely used by people in the scenes of work and life. The wireless router can provide a WIFI network for terminal equipment in a coverage range, so that the hung terminal equipment can access the Internet.
A common WIFI network typically uses two frequency bands, 2.4G and 5G, for communication. The WIFI-2.4G has low frequency and strong diffraction capacity, and has less signal loss and coverage area intersection in the propagation process or wall penetration. The WIFI-5G has the characteristics of more channels, large bandwidth and high speed due to the fact that the frequency is higher, the electromagnetic environment is cleaner, interference in space is less, and the WIFI-5G becomes the first choice in some high-speed scenes, such as game scenes or live network scenes with high-speed requirements. However, compared with WIFI-2.4G, WIFI-5G has high frequency, poor diffraction capacity, and large signal loss in the process of propagation or wall penetration, so that the coverage area is small. The WIFI-5G in the application does not refer to the frequency of the frequency point of 5GHz, but includes the corresponding frequencies of all channels of the WIFI-5G; the WIFI-2.4G does not refer to the frequency of the frequency point of 2.4GHz, but is the corresponding frequency of all channels including WIFI-2.4G.
In order to increase coverage of WIFI-5G signals, a plurality of directional antennas are usually added in addition to an omni-directional antenna in a wireless router to increase coverage of WIFI-5G signals. The omni-directional antenna is an antenna with uniform gain around the antenna, and the directional antenna is an antenna with high gain in a fixed direction and low gain in other directions. The direction of the high gain beam is different for each directional antenna in the wireless router, so that the directional coverage of the high gain beam can be more comprehensive by combining the directional antennas.
Fig. 1 is a schematic diagram of an example wireless router 100 including a directional antenna and an omni-directional antenna. The wireless router 100 in fig. 1 is illustrated as including four omni-directional antennas and three directional antennas, and specifically includes: omni-directional antenna 101, omni-directional antenna 102, omni-directional antenna 103, and omni-directional antenna 104, directional antenna 105, directional antenna 106, and directional antenna 107. Generally, the four omni-directional antennas can be used for receiving and transmitting signals of WIFI-2.4G and also can be used for receiving and transmitting signals of WIFI-5G. Four omnidirectional antennas and three directional antennas can be used for receiving and transmitting WIFI-5G signals, and when the three directional antennas are arranged, high-gain beams of different directional antennas are generally respectively oriented in different directions, so that the high-gain beams can cover a range of 360 degrees around the wireless router 100. Therefore, no matter which direction the terminal equipment 200 hung under the wireless router 100 is positioned in the wireless router 100, the terminal equipment 200 can be positioned in the area covered by the high-gain beam of one routing antenna, so that the communication quality of the WIFI-5G is ensured. Wireless router 100 may be free to choose which omni-directional antennas and which directional antennas to use in combination for WIFI-5G communications.
As shown in fig. 2, the directional antenna and the omni-directional antenna each have a directional pattern as shown by a dotted line, and the high gain beam of each directional antenna can cover one sector (a sector-shaped area, which is exemplified in fig. 2 by dividing the area around the wireless router into sector 1, sector 2, and sector 3). When the location of terminal device 200 is in sector 2 covered by the high gain beam of directional antenna 106, wireless router 100 may select omni-directional antenna 103, omni-directional antenna 104, and directional antenna 106 to transceive WIFI-5G signals. When the location of the terminal device 200 changes and the signal of the WIFI-5G becomes weak, the network connection between the terminal device 200 and the wireless router 100 may fall back from the WIFI-5G to WIFI-2.4G, so as to ensure continuous connection. However, based on the requirements of the high rate scenario, it is still desirable to continue communication between the wireless router 100 and the terminal device 200 using WIFI-5G. Thus, wireless router 100 may switch a different directional antenna to reestablish WIFI-5G communication with terminal device 200 on the next scan cycle, e.g., select a combination of omni-directional antenna 103, omni-directional antenna 104, and directional antenna 105 to transceive WIFI-5G signals. However, if the terminal device 200 does not move into the sector 1 corresponding to the high gain beam of the directional antenna 105 at this time, when the wireless router 100 selects the omni-directional antenna 103, the omni-directional antenna 104 and the directional antenna 105 to transmit and receive the WIFI-5G signal, the communication of the WIFI-5G may not be established due to weak signal, and the network may be interrupted. At this point, the network connection between the terminal device 200 and the wireless router 100 will switch back to WIFI-2.4G. The wireless router 100 continues to switch other directional antennas at the next scanning period, for example, switch the directional antenna to the directional antenna 107 to attempt to establish WIFI-5G communication, and the terminal device 200 just moves into the sector 3 corresponding to the high gain beam of the directional antenna 107, so that WIFI-5G communication can be successfully established. In this application, we refer to the process of locating the terminal device 200 in the sector corresponding to the high gain beam of one directional antenna and selecting this directional antenna to transmit and receive signals as the high gain beam alignment process. Alternatively, the directional antenna may employ a dual polarized antenna including horizontal polarization and vertical polarization.
However, the wireless router 100 continuously tries to adopt different directional antennas to establish the WIFI-5G communication, so that the network connection is continuously switched between the WIFI-5G and the WIFI-2.4G, and a proper directional antenna cannot be timely selected to establish the WIFI-5G network connection for communication, which affects the user experience.
The method for obtaining the antenna combination provided by the embodiment of the application can be applied to routers, mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) and other devices, and can also be applied to the network devices such as the wireless routers and the like, and the specific types of the devices are not limited in the embodiment of the application.
It should be understood that the structure of the wireless router 100 illustrated in the embodiments of the present application does not constitute a specific limitation on the network device. In other embodiments of the present application, wireless router 100 may include more or fewer components than shown, or may combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
For easy understanding, the following embodiments of the present application will take a wireless router having the structure shown in fig. 1 as an example, and specifically describe a method for obtaining an antenna combination provided in the embodiments of the present application with reference to the accompanying drawings and application scenarios.
Fig. 3 is a flowchart of a method for a wireless router to obtain an antenna combination according to an embodiment of the present application. The method comprises the following steps:
and S301, when the network connection is a second connection, acquiring first signal quality data through the second connection, wherein the first signal quality data is used for representing communication quality when the first connection is adopted for communication, the first connection is the network connection adopting a first frequency band for communication, the second connection is the network connection adopting a second frequency band for communication, and the frequency of the first frequency band is higher than that of the second frequency band.
Alternatively, the frequencies of the first frequency band are higher than the frequencies of the second frequency band, and all the frequencies of the first frequency band are higher than all the frequencies of the second frequency band; the frequency of the first frequency band may be partially higher than all the frequencies of the second frequency band, and the other frequency of the first frequency band and the frequency of the second frequency band overlap, which is not limited.
Typically, when a wireless router accesses the internet, nearby terminal devices, such as smartphones, may access the internet by connecting to the wireless router. The wireless router and the smart phone can communicate through a WIFI-5G or WIFI-2.4G network. In this embodiment, a method for acquiring an antenna combination by a wireless router is described by taking a frequency band with a first frequency band of WIFI-5G and a frequency band with a second frequency band of WIFI-2.4G as an example.
In the process of communication between the wireless router and the smart phone by using the frequency band of the WIFI-5G, if the use scene of the smart phone changes, for example, the position changes rapidly, so that the multipath environment changes, the signal of the WIFI-5G is temporarily covered weaker, and when the network of the WIFI-5G cannot be normally used for communication, the network connection of the WIFI-5G with high frequency is switched to the network connection of the WIFI-2.4G with low frequency, so that the communication connection is maintained.
In some scenarios, the smart phone needs high-rate communication, and the wireless router needs to reestablish a WIFI-5G network connection with the smart phone. In the embodiment of the application, the wireless router does not directly switch from the WIFI-2.4G to the WIFI-5G network connection, but keeps the state of the WIFI-2.4G network connection, and simultaneously selects a group of antenna combinations to test the signal quality of the group of antennas when the group of antennas perform WIFI-5G communication.
Specifically, the method comprises the following steps: the wireless router can adopt a group of antenna combinations to send the training data packet of the frequency band of the WIFI-5G in a broadcast mode, after the smart phone receives the training data packet, the first signal quality data corresponding to the training data packet can be obtained, and then the measured signal quality data is transmitted back to the wireless router through the network connection of the WIFI-2.4G. Of course, if the smart phone cannot receive the corresponding training data packet, a null value (null) may be returned through the network connection of WIFI-2.4G.
In the embodiment of the application, the wireless router adopts a group of antenna combinations, and after broadcasting the training data packet through the frequency of the WIFI-5G, the wireless router returns signal quality data representing the signal quality of the WIFI-5G through the network connection of the WIFI-2.4G, which is called as the signal quality data corresponding to the group of antenna combinations.
Optionally, the step S301 may be triggered when the terminal device needs to establish a high-rate second connection with the wireless router, for example, a network connection of WIFI-5G, or may be triggered when the network connection is switched from a high-rate first connection to a low-rate second connection, for example, a WIFI-5G disconnection, and the network connection is switched to WIFI-2.4G, which is to execute the step S301.
The signal quality data may reflect the quality of communication. Alternatively, the signal quality data may include, but is not limited to: any one or more of data such as CSI, RSSI, bit Error Rate (BER), packet loss rate (PER), communication rate, and time delay may be combined as long as the communication quality can reflect the transmission and reception of WIFI-5G signals using the selected antenna combination.
In some embodiments, a list of a plurality of antenna combinations may be pre-stored in the memory of the wireless router, and each antenna combination may be used to simultaneously transmit and receive signals of WIFI-5G. For example, each group of antenna combinations includes one or more omni-directional antennas and one or more directional antennas. The number of antennas in each antenna group may be determined according to a product specification of the wireless router, which is not limited in the embodiment of the present application. For example, when the radio frequency channel of the wireless router supports the transmission and reception of four paths of signals at most, the number of antennas in the antenna combination may be four at most.
The wireless router may select any one of the antenna combinations from the list of the plurality of antenna combinations to broadcast the training data packet, and then receive signal quality data of the training data packet fed back by the smart phone through the WIFI-2.4G network connection.
S302, determining a target antenna combination according to the first signal quality data; the target antenna combination is in a combination form of an antenna called by receiving and transmitting signals of a first frequency band when the network connection is switched from the second connection to the first connection for communication.
When the wireless router obtains that the first signal quality data corresponding to a certain group of antenna combinations meets the preset communication requirement, the wireless router can use the group of antenna combinations to perform WIFI-5G communication so as to meet the requirements of communication speed, time delay and the like, and the group of antenna combinations corresponding to the first signal quality data can be used as target antenna combinations.
The wireless router may also update the target antenna combination to the configuration parameters of the antennas. Then, the wireless router may invoke the configuration parameters corresponding to the target antenna combination, and then control the switch of the corresponding radio frequency channel to switch, for example, send a control instruction to the switch on each radio frequency channel through a general purpose input/output interface (general purpose input/output, GPIO), so that the radio frequency channel is switched, and the radio frequency channel corresponding to each antenna in the target antenna combination is opened, so as to realize that each antenna in the target antenna combination is used to transmit and receive the signal of the first frequency band. For example, if the wireless router shown in fig. 2 determines that the target antenna combination includes the omni-directional antenna 101, the omni-directional antenna 103 and the directional antenna 107, the switching logic of the radio frequency path can be controlled by the GPIO, the paths of the omni-directional antenna 101, the omni-directional antenna 103 and the directional antenna 107 can be opened, and the omni-directional antenna 101, the omni-directional antenna 103 and the directional antenna 107 are adopted to transmit and receive signals of the first frequency band. For example, as shown in FIG. 4, the wireless router is switched by the GPIO control switch, switch 1 is turned on for 1-1 and 3-3, and switch 2 is turned on for 1-3.
In fig. 4, a WIFI chip is used for modulating and demodulating a WIFI signal, a Power Amplifier (PA) is used for amplifying a transmission signal from the WIFI chip, a low noise amplifier (low noise amplifier, LNA) is used for amplifying a reception signal from an antenna and inputting the amplified signal to the WIFI chip, and a transmission path where the PA is located and a reception path where the LNA is located are switched by a single pole double throw switch (single pole double throw, SPDT). Wherein PA1, PA3, PA5, PA7 are PA on the transmit path of 2.4G path 1, 2.4G path 2, 2.4G path 3, 2.4G path 4, respectively, LNA1, LNA3, LNA5, LNA7 are LNA on the receive path of 2.4G path 1, 2.4G path 2, 2.4G path 3, 2.4G path 4, respectively; PA2, PA4, PA6, PA8, PA9 are PA on transmit paths of 5G path 1, 5G path 2, 5G path 3, 5G path 4, and 5G path 5, respectively, LNA2, LNA4, LNA6, LNA8, and LNA9 are LNAs on receive paths of 5G path 1, 5G path 2, 5G path 3, 5G path 4, and 5G path 5, respectively; SPDT1 is used to switch between 2.4G path 1 and 5G path 1, SPDT2 is used to switch between 2.4G path 2 and 5G path 2, SPDT3 is used to switch between 2.4G path 3 and 5G path 3, SPDT4 is used to switch between 2.4G path 4 and 5G path 4, SPDT5 is used to switch between 2.4G path 1, SPDT6 is used to switch between 5G path 1, SPDT7 is used to switch between 2.4G path 2, SPDT8 is used to switch between 5G path 2, SPDT9 is used to switch between 2.4G path 3, SPDT10 is used to switch between 5G path 3, SPDT11 is used to switch between 2.4G path 4, SPDT12 is used to switch between 5G path 4, and SPDT13 is used to switch between 5G path 5.
Optionally, other implementations of S302 may also refer to the embodiments shown in fig. 5 and 6, which are not described herein.
In the embodiment shown in fig. 3, the wireless router does not need to switch the network connection to the first connection without any recourse to selecting the antenna combination, but obtains first signal quality data characterizing the communication quality of the first connection with high frequency through the second connection with low frequency, and then determines the target antenna combination according to the first signal quality data. The wireless router may then use the antennas in the determined target antenna combination to transceive signals of the first frequency band and establish a first connection for communication. The method can avoid the problem of network interruption caused by connection failure when the network connection is directly switched to the first connection due to improper antenna combination selection, further avoid the problem that the network connection is jumped back between the first connection and the second connection, cannot timely align high-gain beams and cannot timely establish the first connection, and determine the target antenna combination meeting the communication requirement before the network connection is switched to the first connection, so that the network connection can be successfully switched once, the rapid alignment of the high-gain beams is realized, the efficiency of antenna switching is improved, the network interruption is avoided, and the user experience is improved.
Optionally, the first signal quality data may characterize a communication quality when the first connection is used for communication through the first antenna combination, and the method specifically includes, as shown in fig. 5:
s501, acquiring first signal quality data through a second connection. When the first signal quality data represents communication quality when the first antenna combination is adopted to communicate through the first connection, the first antenna combination is one of a plurality of antenna combination forms which can be used by the first connection, and at least one directional antenna can be included in the first antenna combination.
S502A, if the first signal quality data meets the preset communication requirement, determining that the first antenna combination is the target antenna combination.
The wireless router may determine whether the first signal quality data meets a preset communication requirement, if so, it indicates that the communication quality can meet the communication requirement when the first antenna combination is used for communication by the first antenna combination, and if so, it may determine to use the first antenna combination as a target antenna combination to transmit and receive signals of the first frequency band.
For example, when the first signal quality data is CSI of signals of the first frequency band transmitted using the first antenna combination, the wireless router may determine that the first antenna combination is the target antenna combination if it is determined that the signal amplitude of CSI corresponding to each antenna in the first antenna combination is greater than or equal to a preset amplitude threshold.
For another example, when the first signal quality data is a bit error rate or a packet loss rate of a signal transmitted using the first antenna combination in the first frequency band, the wireless router may determine that the first antenna combination is the target antenna combination if the bit error rate or the packet loss rate is less than ten percent, for example, 5%.
For another example, when the first signal quality data is a time delay of a signal of the first frequency band transmitted by using the first antenna combination and the time delay is smaller than a preset time delay threshold, determining that the first antenna combination is the target antenna combination.
For another example, when the first signal quality data is a communication rate of transmitting the first frequency band using the first antenna combination and the communication rate is greater than or equal to a preset rate threshold, the first antenna combination is determined to be the target antenna combination.
For another example, when the first signal quality data is two or three of the error rate, the packet loss rate, and the CSI of the signal transmitted by using the first antenna combination, if the wireless router determines that all of the combinations of the plurality of error rate, the packet loss rate, the CSI, the RSSI, the communication rate, and the time delay can meet the corresponding communication requirements, for example, the signal amplitude of the CSI corresponding to each antenna in the first antenna combination is greater than or equal to a preset amplitude threshold, the error rate and the packet loss rate are less than ten percent, the time delay is less than a preset time delay threshold, and the RSSI is greater than or equal to a preset received signal strength threshold, and the communication rate is greater than or equal to a preset rate threshold, then the first antenna combination can be determined as the target antenna combination.
In some embodiments, the embodiment of fig. 5 may further comprise:
S502B, if the first signal quality data does not meet the preset communication requirement, acquiring second signal quality data through a second connection, wherein the second signal quality data is used for representing the communication quality when the first connection communication is adopted through a second antenna combination, and the second antenna combination and the first antenna combination are in different antenna combination forms.
The first antenna combination and the second antenna may be different from each other, or the first antenna combination and the second antenna combination may be different from each other in the same part, which is not limited to this, and only one of the two antenna combinations is different from the other antenna combination.
Specifically, if the first signal quality data does not meet the preset communication requirement, the wireless router may continue to send the signal in the first frequency band through the next antenna combination, for example, the second antenna combination, and acquire the second signal quality data fed back by the terminal device of the opposite terminal through the second connection. The second antenna combination and the first antenna combination are in different antenna combination forms, which means that the antennas included in the second antenna combination and the antennas included in the first antenna combination are not identical, may be partially identical, partially different, or completely different, and are not limited to this.
For example, when the first signal quality data is CSI of signals of the first frequency band transmitted by using the first antenna combination, if the wireless router determines that the signal amplitude of the CSI corresponding to each antenna in the first antenna combination is smaller than the preset amplitude threshold, the wireless router may determine that the communication requirement cannot be met by adopting the first antenna combination, and thus may continue to acquire the next group of antenna combinations and acquire the corresponding second signal quality data.
For another example, when the first signal quality data is the bit error rate or the packet loss rate of the signal transmitted by using the first antenna combination, if the bit error rate or the packet loss rate is greater than or equal to ten percent, for example, 15%, the wireless router can determine that the first antenna combination cannot meet the communication requirement, so that the next antenna combination can be continuously acquired and the corresponding second signal quality data can be acquired.
For another example, when the first signal quality data is a delay of a signal of the first frequency band transmitted by using the first antenna combination and the delay is heavy rain or equal to a preset delay threshold, the next antenna combination may be continuously acquired and the corresponding second signal quality data may be acquired.
For another example, when the first signal quality data is a communication rate of transmitting the first frequency band using the first antenna combination and the communication rate is less than a preset rate threshold, the first antenna combination is determined to be the target antenna combination.
For another example, when the first signal quality data is a plurality of types of bit error rate, packet loss rate and CSI of the signal transmitted by using the first antenna combination, if the wireless router determines that all of the plurality of types of bit error rate, packet loss rate, CSI, RSSI, communication rate and time delay can meet the corresponding communication requirement, for example, the signal amplitude of the CSI corresponding to each antenna in the first antenna combination has data smaller than the preset amplitude threshold, the bit error rate and packet loss rate is higher than ten percent, the time delay is greater than or equal to the preset time delay threshold, the RSSI is smaller than the preset received signal strength threshold, and the communication rate is smaller than the preset rate threshold, the wireless router can determine that the first antenna combination cannot meet the communication requirement, and therefore can continue to acquire the next group of antenna combinations and acquire the corresponding second signal quality data.
Alternatively, if the wireless router does not receive the first signal quality data fed back by the terminal device within a preset period, or the acquired data is null, or the acquired first signal quality data (for example, CSI) is incomplete, it may be the reason that the test signal broadcast by the wireless router is wrong or the signal is too weak, at this time, the second connection may be maintained and the process may be performed again in step S501 so as to restart the flow, so that the problem that the high-speed network cannot be switched to for high-speed communication due to interruption of the flow is avoided.
S503A, if the second signal quality data meets the preset communication requirement, determining the second antenna combination as the target antenna combination.
And S503B, if the second signal quality data does not meet the preset communication requirement, determining a target antenna combination according to other signal quality data, wherein the other signal quality data are used for representing the communication quality when other antenna combinations are adopted for communication through the first connection, and the other antenna combinations comprise combination forms of antennas except the first antenna combination and the second antenna combination.
The wireless router continues to judge whether the second signal quality data meets the preset communication requirement, and if so, the second antenna combination is determined to be the target antenna combination. If not, the next antenna combination is adopted to send the test signal and acquire the corresponding signal quality data, and then the process of judging whether the signal quality data meets the preset communication requirement is repeatedly executed until the acquired signal quality data meets the preset communication requirement, and the antenna combination corresponding to the signal quality data meeting the preset communication requirement can be used as the target antenna combination.
Optionally, before this, the wireless router may also determine whether the connected terminal device is a core device, and if so, indicate that the terminal device is a terminal device with a high gain beam requirement, for example, the current usage scenario of the terminal device is to run a low-delay game application or a network live application, and may determine that it is necessary to switch to the high-frequency first connection in the state of high gain beam alignment to establish a high-rate, low-delay communication channel, and initiate the step of acquiring the first signal quality data. If the terminal device is not core device and there is no high gain beam demand, the wireless router and the terminal device can also meet the communication demand by using the second frequency band with low frequency, such as the frequency of WIFI-2.4G, so that the step of acquiring the first signal quality data is not needed to be executed, and the network connection is not needed to be switched, thereby saving the system overhead.
Alternatively, the core device may also be a terminal device with a special identifier, for example, the user of the terminal device is an important client, where the special identifier characterizes that the terminal device is required to preferentially ensure the high rate and low delay of the communication through the high gain beam alignment, and the specific form of the core device is not limited in the application, so long as the terminal device has the high gain beam requirement.
In the embodiment shown in fig. 5, when the first signal quality data obtained by transmitting signals through the first antenna combination by the wireless router meets a preset communication requirement, determining the first antenna combination corresponding to the first signal quality data as a target antenna combination, and determining the first antenna combination corresponding to the first signal quality data as the target antenna combination according to the communication quality of the first antenna combination represented by the first signal quality data when the communication quality of the first antenna combination in the first frequency band is met. If the first signal quality data cannot meet the preset communication requirement, the second signal quality data corresponding to the second antenna combination is continuously acquired until the signal quality data meeting the preset communication requirement is acquired, and the antenna combination corresponding to the signal quality data meeting the preset communication requirement is used as a target antenna combination, so that no need of selecting the antenna combination to establish a new network connection without any basis exists, the problem of network interruption caused by connection failure when the network connection is directly switched to the first connection due to improper selection of the antenna combination can be avoided, the problem that the network connection jumps back between the first connection and the second connection, the problem that a high-gain beam cannot be aligned in time and the first connection cannot be established in time is further avoided, the target antenna combination meeting the communication requirement is selected before the network connection is switched to the first connection, the network connection can be successfully switched at one time, the quick alignment of the high-gain beam is realized, the efficiency of antenna switching is improved, the network interruption is also avoided, and the user experience is improved.
In a specific embodiment, referring to the embodiment of fig. 6, a terminal device is hung under a wireless router, and WIFI-2.4G or WIFI-5G is used to communicate between the two devices, and the signal quality data is CSI, where the method specifically includes:
s601, the wireless router monitors that network connection between the wireless router and the terminal equipment is switched from WIFI-5G to WIFI-2.4G.
When the usage scenario of the terminal device changes, for example, the location moves rapidly, leaving the sector covered by the currently used directional antenna, both the wireless router and the terminal device can detect that the network connection between the two is switched from WIFI-5G to WIFI-2.4G.
In some embodiments, the wireless router may periodically monitor the switching state of the network connection or periodically trigger the high gain beam pointing traversal test procedure, and the wireless router may acquire the signal quality data as triggered by a request corresponding to the terminal device. For example, if the terminal device monitors that the network connection with the wireless router is switched from WIFI-5G to WIFI-2.4G, a request for activating the high-gain beam pointing traversal test program or an antenna switching request can be sent to the wireless router through the WIFI-2.4G, and the wireless router activates the high-gain beam pointing traversal test program based on the request, so that high-gain beam alignment is achieved. Therefore, when high-gain beams are not aligned, the closed loop feedback mode such as the flow is actively initiated through the terminal equipment, the wireless router can be switched to the WIFI-5G network without waiting for the periodical triggering flow, the waiting time is reduced, the network switching is more efficient, and the user experience is improved.
S602, the wireless router determines whether the device connected through the WIFI-2.4G network is a core device.
If yes, S603 is executed, and if no, the flow ends.
I.e. the terminal device under the wireless router is a core device with high rate requirements, e.g. the core device is running a low latency game application at this time, or is running a network-live application.
S603, the wireless router activates a high-gain beam pointing traversal test program, and obtains CSI corresponding to a frequency band of the WIFI-5G through a network of the WIFI-2.4G.
The high gain beam pointing traversal test procedure includes: and transmitting a training data packet of the WIFI-5G frequency band through each group of antenna combinations in sequence to perform collision test, and acquiring CSI corresponding to each group of antenna combinations fed back by the terminal equipment.
For example, the wireless router selects a group of antenna combinations and sends a training data packet of the WIFI-5G frequency band in a broadcast manner, and the terminal device can acquire CSI corresponding to the training data packet and transmit the CSI back to the wireless router through the network connection of WIFI-2.4G. At this time, the wireless router obtains the CSI corresponding to the training data packet sent by the antenna combination, so that it can be determined, according to the fed-back CSI, whether the signal quality can meet the communication requirement of the core device when the antenna combination is adopted to send and receive signals.
In the execution process of S603, WIFI-2.4G is always in the network-resident state.
S604, the wireless router judges whether the CSI is complete.
If the CSI acquired by the wireless router is null or incomplete, the process returns to S603. If the CSI is complete, execution continues with S605.
Optionally, if the CSI obtained by the wireless router is null or incomplete, it may be that the test signal broadcast by the wireless router is wrong, and at this time, the network may be kept at the frequency of WIFI-2.4G and the procedure may be restarted by executing step S602 or S603 again, so as to avoid the problem that the high-speed network cannot be switched to for high-speed communication due to interruption of the procedure.
S605, the wireless router judges whether the CSI meets the condition that the network connection is switched from WIFI-2.4G to WIFI-5G.
If yes, executing S606; if not, the routine returns to S603.
S606, determining an antenna combination corresponding to the CSI meeting the condition that the network connection is switched from the WIFI-2.4G to the WIFI-5G as a target antenna combination.
For example, if the signal amplitude of the CSI corresponding to each antenna in one antenna combination is greater than or equal to a preset amplitude threshold, the wireless router may determine that a condition that the network connection is switched from WIFI-2.4G to WIFI-5G is met, and may use the antenna combination corresponding to the CSI that meets the switching condition as the target antenna combination, and switch the antennas in time.
If the signal amplitude of the CSI corresponding to each antenna in one antenna combination has data smaller than the preset amplitude threshold, the wireless router may determine that the condition that the network connection is switched from WIFI-2.4G to WIFI-5G is not satisfied, if the current terminal device is too far from the wireless router, if the location of the terminal device is still moving, the process may continue to execute S603, obtain the CSI corresponding to the terminal device in a new scenario (for example, a new location), and continue the flow until the network switching is successful.
The implementation principle and the advantages of the embodiment shown in fig. 6 can be referred to the description of the foregoing embodiment, and will not be repeated here.
In some embodiments, the wireless router may further obtain multiple sets of signal quality sub-data corresponding to multiple sets of antenna combinations one to one through the second connection, then screen out target signal quality sub-data meeting the preset communication requirement from the multiple sets of signal quality sub-data, and use the antenna combination corresponding to the target signal quality sub-data as the target antenna combination. In other words, the plurality of sets of signal quality sub-data may be used as the first signal quality data to determine the target antenna combination.
For example, the memory of the wireless router stores the antenna combination 1, the antenna combination 2 and the antenna combination 3, and the wireless router firstly transmits the training data packet through the antenna in the antenna combination 1 and receives the corresponding first CSI; then transmitting a training data packet through an antenna in the antenna combination 2 and receiving corresponding second CSI; and finally, transmitting a training data packet through the antenna in the antenna combination 3, receiving a corresponding third CSI, selecting one meeting the preset communication requirement from the first CSI, the second CSI and the third CSI, for example, the first CSI, and taking the antenna combination 1 corresponding to the first CSI as a final target antenna combination.
Optionally, the wireless router may select a set of data meeting the preset communication requirement from multiple sets of signal quality sub-data, for example, select any one set of data meeting the preset communication requirement from the first CSI, the second CSI and the third CSI, for example, the communication rate represented by the selected CSI is greater than or equal to a preset rate threshold, and use an antenna combination corresponding to the data as a final target antenna combination, so that when traversing the signal quality sub-data, the data meeting the preset communication requirement can be searched at the fastest speed, and compared with all searches, the time can be saved, and the efficiency of antenna switching is improved.
Alternatively, the wireless router may also compare multiple sets of signal quality sub-data, for example, compare the first CSI, the second CSI, and the third CSI, select a set of corresponding antenna combinations with the highest characterizing communication rate as the target antenna combination, and use the antenna combination corresponding to the CSI as the target antenna combination. This approach allows selection of antenna combinations that optimize communication quality, maximizing the assurance of communication quality.
Optionally, the signal quality data may further include CSI, and an exemplary description is made herein regarding how to determine the communication quality according to the CSI:
CSI can describe the attenuation factor of the signal on each transmission path, i.e., CSI may include values for each element in the channel gain matrix, such as signal scattering (scaling), environmental attenuation (attenuation), including multipath attenuation and shadowing attenuation (multipath fading or shadowing fading), distance attenuation (power decay of distance), and so on. The information carried by the CSI can enable the communication system to be adjusted to adapt to the current channel condition, and guarantees are provided for high-reliability high-rate communication in the multi-antenna system.
The channel information that is typically directly acquired is a channel frequency response (CFR, channel frequency response), the time domain of which appears as a channel impulse response (CIR, channel impulse response), which can be interchanged by fourier transformation and inverse transformation. CSI is a sampled version of CFR.
After the CFR data is obtained, the characteristic information can be identified through a digital signal processing method. Take a multiple-input multiple-output (MIMO) 4*4 wireless router as an example, each antenna has its own tag. The vertical axis in fig. 7 a and b represents the amplitude, and the horizontal axis represents the amount of frequency offset from the center frequency point of the signal. The four curves in the a-graph in fig. 7 are data of the real part of the CRF corresponding to the four antennas, respectively, and the four curves in the b-graph in fig. 7 are values of the imaginary part of the CRF corresponding to the four antennas, respectively. It should be noted that, by sampling the four curves in the a diagram in fig. 7, data of real parts of CSI corresponding to the four antennas respectively may be obtained, for example, as shown by circles on the four curves in the a diagram in fig. 7; sampling the four curves in the b graph in fig. 7 may obtain data of imaginary parts of CSI corresponding to the four antennas, for example, as shown by circles on the four curves in the b graph in fig. 7. Alternatively, the absolute value of the CSI in the graph a in fig. 7 may be obtained after the absolute value of the CSI is taken, so that the absolute value of the real part of the CSI shown by the circles on the four curves shown in the graph a in fig. 8 is obtained, then the communication quality may be judged according to the magnitude of the vertical axis value of the curve in the graph a in fig. 8, and the larger the value corresponding to which antenna is, the better the signal is, and the smaller the value corresponding to which antenna is, the worse the signal is. Taking the graph a in fig. 8 as an example, the amplitude threshold of CSI may be set to 1000, and an amplitude threshold greater than or equal to the amplitude threshold indicates that the communication quality satisfies the communication requirement, and an amplitude threshold less than the amplitude threshold indicates that the communication quality does not satisfy the communication requirement. Alternatively, the CFR data may be subjected to inverse fourier transform to obtain data of four curves in the a graph in fig. 7 in the time domain, where, as shown in the b graph in fig. 8, a larger vertical axis value in the b graph in fig. 8 indicates a stronger signal power, and a smaller vertical axis value in the b graph in fig. 8 indicates a weaker signal power and a worse signal quality. Taking the b-diagram of fig. 8 as an example, the power threshold of the CIR can be set to 0.5×10 5 The CIR being greater than or equal to the power threshold, indicating that the communication quality meets the communication requirements, and less than the power threshold, indicating the communication qualityThe amount does not meet the communication requirements.
In fig. 7 and 8, the values of the amplitude and the power represented by the vertical axis are not actual values of the amplitude and the power, but normalized values representing the amplitude and the power may be used for comparison of the magnitudes.
For the purposes of the present application, the wireless router may determine whether an antenna combination satisfies a communication requirement by comprehensively determining the magnitude of the absolute values of the real parts of CSI for multiple antennas in the antenna combination; or independently judging the absolute value of the real part of the CSI corresponding to the directional antenna in the antenna combination to determine whether the antenna combination meets the communication requirement; the method may also include determining the magnitude of the absolute value of the real part of the CSI corresponding to the directional antenna, and then determining the magnitude of the absolute value of the real part of the CSI corresponding to the other omni-directional antennas in the antenna combination, which is not limited in this application. When comparing the absolute values of the real parts of the CSI, the average value in a section of frequency may be taken, the maximum value in a section of frequency may be taken, or the average value may be taken after accumulating the absolute values of the real parts of the CSI obtained continuously and repeatedly in a period of time, which is not particularly limited.
Examples of the methods provided herein are described in detail above. It is to be understood that the corresponding means, in order to carry out the functions described above, comprise corresponding hardware structures and/or software modules for carrying out the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The present application may divide the functional modules of the apparatus for acquiring the antenna combination according to the above method example, for example, each function may be divided into each functional module, or two or more functions may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that the division of the modules in this application is illustrative, and is merely a logic function division, and other division manners may be implemented in practice.
Fig. 9 shows a schematic structural diagram of an apparatus for obtaining an antenna combination provided in the present application. The apparatus 900 includes:
the obtaining module 901 is configured to obtain, when the network connection is a second connection, first signal quality data through the second connection, where the first signal quality data is used to characterize communication quality when communication is performed by using the first connection, the first connection is a network connection that performs communication by using a first frequency band, the second connection is a network connection that performs communication by using a second frequency band, and a frequency of the first frequency band is higher than a frequency of the second frequency band;
a determining module 902, configured to determine a target antenna combination according to the first signal quality data; the target antenna combination is in a combination form of an antenna called by receiving and transmitting signals of a first frequency band when the network connection is switched from the second connection to the first connection for communication.
In some embodiments, the first signal quality data is used to characterize the communication quality when the first connection communication is employed through the first antenna combination, and the determining module 902 is specifically configured to determine that the first antenna combination is the target antenna combination when the first signal quality data meets a preset communication requirement.
In some embodiments, the determining module 902 is specifically configured to obtain, when the first signal quality data does not meet the preset communication requirement, second signal quality data through a second connection, where the second signal quality data is used to characterize communication quality when the first connection is used to communicate through a second antenna combination, and the second antenna combination and the first antenna combination are in a combination form of different antennas; and determining the second antenna combination as a target antenna combination when the second signal quality data meets the preset communication requirement, and determining the target antenna combination according to other signal quality data when the second signal quality data does not meet the preset communication requirement, wherein the other signal quality data is used for representing the communication quality when the first connection communication is adopted through the other antenna combinations, and the other antenna combinations comprise combination forms of antennas except the first antenna combination and the second antenna combination.
In some embodiments, the first signal quality data includes a plurality of sets of signal quality sub-data, the plurality of sets of signal quality sub-data and the plurality of antenna combinations are in one-to-one correspondence, each set of signal quality sub-data characterizes communication quality when the first connection communication is adopted through the corresponding antenna combination, and the determining module 902 is specifically configured to select, from the plurality of sets of first signal quality sub-data, target signal quality sub-data meeting a preset communication requirement, where the antenna combination corresponding to the target signal quality sub-data is the target antenna combination.
In some embodiments, the determining module 902 is specifically configured to select, from the multiple sets of signal quality sub-data, a set of signal quality sub-data that characterizes a highest communication rate as the target signal quality sub-data.
In some embodiments, the preset communication requirements include: the communication rate is greater than or equal to a preset rate threshold, and the determining module 902 is specifically configured to select, from multiple sets of signal quality sub-data, any one set of signal quality sub-data that characterizes that the communication rate is greater than or equal to the preset rate threshold as target signal quality sub-data.
In some embodiments, the obtaining module 901 is specifically configured to obtain, when the device connected through the second connection is a core device, the first signal quality data through the second connection, and the core device is a device with a high gain beam requirement.
In some embodiments, the acquiring module 901 is specifically configured to receive an antenna switching request from a connected device, and acquire, in response to the antenna switching request, the first signal quality data through the second connection.
In some embodiments, the first frequency band is a 5G frequency band of wireless fidelity WIFI and the second frequency band is a 2.4G frequency band of WIFI.
In some embodiments, the first signal quality data comprises: one or more of bit error rate BER, packet loss rate PER, channel state information CSI, time delay, received signal strength indication RSSI, and communication rate.
The specific manner in which the apparatus 900 performs the method for obtaining the antenna combination and the resulting beneficial effects may be referred to the relevant description in the method embodiments, which are not repeated here.
The embodiment of the application also provides electronic equipment, which comprises the processor. The electronic device provided in this embodiment may be the wireless router 100 shown in fig. 1, and is configured to perform the method for obtaining the antenna combination described above. In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the electronic device, for example, may be configured to support the electronic device to execute steps executed by the display unit, the detection unit, and the processing unit. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other terminal equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
The present application further provides a computer readable storage medium, in which a computer program is stored, where the computer program, when executed by a processor, causes the processor to execute the method for acquiring an antenna combination according to any one of the above embodiments.
The present application also provides a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method for obtaining antenna combinations in the above-mentioned embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with respect to each other may be an indirect coupling or communication connection via interfaces, devices, or units, and the replacement units may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be 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, including several instructions to cause a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A method of acquiring an antenna combination, comprising:
the wireless communication equipment keeps network connection as second connection, and simultaneously adopts a first frequency band to broadcast a training data packet, and obtains first signal quality data corresponding to the training data packet through the second connection, wherein the first signal quality data is used for representing communication quality when the first connection is adopted for communication, the first connection is the network connection adopting the first frequency band for communication, the second connection is the network connection adopting the second frequency band for communication, and the frequency of the first frequency band is higher than that of the second frequency band;
determining a target antenna combination according to the first signal quality data;
the target antenna combination is a combination form of an antenna called by receiving and transmitting signals of the first frequency band when the network connection of the wireless communication equipment is switched from the second connection to the first connection for communication.
2. The method of claim 1, wherein the first signal quality data is used to characterize communication quality when the first connection is used for communication via a first antenna combination, and wherein determining the target antenna combination based on the first signal quality data comprises:
and if the first signal quality data meets the preset communication requirement, determining the first antenna combination as the target antenna combination.
3. The method according to claim 2, wherein the method further comprises:
if the first signal quality data does not meet the preset communication requirement, acquiring second signal quality data through the second connection, wherein the second signal quality data is used for representing communication quality when the first connection communication is adopted through a second antenna combination, and the second antenna combination and the first antenna combination are in different antenna combination forms;
if the second signal quality data meets the preset communication requirement, determining the second antenna combination as a target antenna combination;
and if the second signal quality data does not meet the preset communication requirement, determining the target antenna combination according to other signal quality data, wherein the other signal quality data are used for representing the communication quality when the first connection communication is adopted through other antenna combinations, and the other antenna combinations comprise combination forms of antennas except the first antenna combination and the second antenna combination.
4. The method of claim 1, wherein the first signal quality data comprises a plurality of sets of signal quality sub-data, the plurality of sets of signal quality sub-data corresponding one-to-one to a plurality of antenna combinations, each set of signal quality sub-data characterizing a communication quality when communicating with the first connection via the corresponding antenna combination, the determining a target antenna combination from the first signal quality data comprising:
and selecting target signal quality sub-data meeting preset communication requirements from the plurality of groups of signal quality sub-data, wherein an antenna combination corresponding to the target signal quality sub-data is the target antenna combination.
5. The method of claim 4, wherein selecting target signal quality sub-data from the plurality of sets of signal quality sub-data that meets a predetermined communication requirement comprises:
and selecting a group with highest communication rate from the plurality of groups of signal quality sub-data as the target signal quality sub-data.
6. The method of claim 4, wherein the preset communication requirements include: the communication rate is greater than or equal to a preset rate threshold, and the selecting the target signal quality sub-data meeting the preset communication requirement from the multiple groups of signal quality sub-data includes:
And selecting any group of which the communication rate is larger than or equal to the preset rate threshold from the plurality of groups of signal quality sub-data as the target signal quality sub-data.
7. The method according to any one of claims 1 to 6, wherein the obtaining, through the second connection, first signal quality data corresponding to the training data packet includes:
and when the equipment connected through the second connection is core equipment, acquiring the first signal quality data through the second connection, wherein the core equipment is equipment with high-gain beam requirements.
8. The method according to any one of claims 1 to 6, wherein the obtaining, through the second connection, first signal quality data corresponding to the training data packet includes:
receiving an antenna switching request from a connected device;
and responding to the antenna switching request, and acquiring the first signal quality data through the second connection.
9. The method of any one of claims 1 to 6, wherein the first frequency band is a 5G frequency band of WIFI and the second frequency band is a 2.4G frequency band of WIFI.
10. The method according to any one of claims 1 to 6, wherein the first signal quality data comprises: one or more of bit error rate BER, packet loss rate PER, channel state information CSI, time delay, received signal strength indication RSSI, and communication rate.
11. An electronic device, comprising: a processor, a memory, and an interface;
the processor, the memory and the interface cooperate to cause the electronic device to perform the method of any of claims 1-10.
12. The electronic device of claim 11, wherein the electronic device is a wireless router.
13. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 10.
CN202210374775.XA 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium Active CN114900218B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202310815174.2A CN117040574A (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium
CN202210374775.XA CN114900218B (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium
PCT/CN2022/141753 WO2023197676A1 (en) 2022-04-11 2022-12-26 Method for acquiring antenna combination, and electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210374775.XA CN114900218B (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310815174.2A Division CN117040574A (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114900218A CN114900218A (en) 2022-08-12
CN114900218B true CN114900218B (en) 2023-07-14

Family

ID=82714767

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210374775.XA Active CN114900218B (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium
CN202310815174.2A Pending CN117040574A (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310815174.2A Pending CN117040574A (en) 2022-04-11 2022-04-11 Method for acquiring antenna combination, electronic device and computer readable storage medium

Country Status (2)

Country Link
CN (2) CN114900218B (en)
WO (1) WO2023197676A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900218B (en) * 2022-04-11 2023-07-14 荣耀终端有限公司 Method for acquiring antenna combination, electronic device and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114285432A (en) * 2021-12-31 2022-04-05 Oppo广东移动通信有限公司 Communication control method, communication control device, radio frequency system, communication equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016197331A1 (en) * 2015-06-09 2016-12-15 华为技术有限公司 Frequency band switching method and terminal
CN107634789B (en) * 2017-08-30 2020-09-08 Oppo广东移动通信有限公司 Antenna control method, antenna control device, storage medium and electronic equipment
CN108494444B (en) * 2018-03-13 2021-03-02 Oppo广东移动通信有限公司 Antenna control method, antenna assembly, electronic device and storage medium
CN110012169B (en) * 2019-04-04 2021-06-29 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment
CN110311704B (en) * 2019-06-25 2021-04-13 Oppo广东移动通信有限公司 Antenna switching method and related product
CN112532282B (en) * 2019-09-19 2022-01-14 华为技术有限公司 Communication method and terminal device
CN113904706B (en) * 2020-06-22 2023-12-29 华为技术有限公司 Terminal equipment, signal transmission method and baseband chip
WO2022027386A1 (en) * 2020-08-05 2022-02-10 华为技术有限公司 Antenna selection method and apparatus
CN113163145B (en) * 2021-03-22 2023-10-31 维沃移动通信有限公司 Clock frequency switching method, clock frequency switching device, electronic equipment and readable storage medium
CN114172545A (en) * 2021-12-06 2022-03-11 广州通则康威智能科技有限公司 Communication signal selection method and device, computer equipment and storage medium
CN114900218B (en) * 2022-04-11 2023-07-14 荣耀终端有限公司 Method for acquiring antenna combination, electronic device and computer readable storage medium
CN116366110A (en) * 2023-01-03 2023-06-30 维沃移动通信有限公司 Antenna selection circuit, method, electronic device, and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114285432A (en) * 2021-12-31 2022-04-05 Oppo广东移动通信有限公司 Communication control method, communication control device, radio frequency system, communication equipment and storage medium

Also Published As

Publication number Publication date
CN114900218A (en) 2022-08-12
CN117040574A (en) 2023-11-10
WO2023197676A1 (en) 2023-10-19

Similar Documents

Publication Publication Date Title
US9584207B2 (en) Methods for adaptive multi-antenna selection
US7212499B2 (en) Method and apparatus for antenna steering for WLAN
US7359362B2 (en) Control of a multi-sectored antenna system to improve channel efficiency
US20220045737A1 (en) Beamforming device for antenna arrays
US8908705B2 (en) Access point and method for data transmission
US20110143673A1 (en) Automatic positioning of diversity antenna array
JP2020523865A (en) Adaptive antenna configuration
US10244545B2 (en) Access point
CN107078775B (en) Method and system for beam alignment over directional wireless links
CN108347766B (en) Paging transmission method under uplink mobility, communication station and communication node
CN109586778B (en) Method and network device for allowing access points to transmit simultaneously on wireless communication channel
WO2019179305A1 (en) Signal receiving method and signal receiving apparatus
EP1554900B1 (en) Method and apparatus for antenna steering for wlan
KR20220120683A (en) Antenna routing method and related device
KR102122808B1 (en) Method of, and apparatus for, controlling a wireless connection in a mimo system using multi-sector directional antennas
US11218203B1 (en) Coordinated dynamic analog beamformer
CN114900218B (en) Method for acquiring antenna combination, electronic device and computer readable storage medium
US11646770B2 (en) Method and apparatus for millimeter-wave MIMO mode selection
US20190037519A1 (en) Removing client devices from association with a wireless access point
CN115278723A (en) Optimized high efficiency HE sounding for multi-link device networks
US11824611B2 (en) Wireless communication device including antenna modules and operating method of wireless communication device
CN114598371B (en) Method for acquiring antenna combination, electronic device and computer readable storage medium
US11469804B1 (en) Sectorized analog beam search system
JP3710761B2 (en) Wireless communication apparatus and wireless communication method
WO2020182155A1 (en) Multi-beam tracking method and apparatus

Legal Events

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