CN114598371A - Method for obtaining antenna combination, electronic device and computer readable storage medium - Google Patents

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

Info

Publication number
CN114598371A
CN114598371A CN202210502499.0A CN202210502499A CN114598371A CN 114598371 A CN114598371 A CN 114598371A CN 202210502499 A CN202210502499 A CN 202210502499A CN 114598371 A CN114598371 A CN 114598371A
Authority
CN
China
Prior art keywords
network data
data
network
antenna combination
communication
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.)
Granted
Application number
CN202210502499.0A
Other languages
Chinese (zh)
Other versions
CN114598371B (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 CN202210502499.0A priority Critical patent/CN114598371B/en
Publication of CN114598371A publication Critical patent/CN114598371A/en
Application granted granted Critical
Publication of CN114598371B publication Critical patent/CN114598371B/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/0686Hybrid systems, i.e. switching and simultaneous transmission
    • H04B7/0691Hybrid systems, i.e. switching and simultaneous transmission using subgroups of transmit antennas
    • 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/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0868Hybrid systems, i.e. switching and combining
    • H04B7/0874Hybrid systems, i.e. switching and combining using subgroups of receive antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/046Wireless resource allocation based on the type of the allocated resource the resource being in the space domain, e.g. beams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality
    • 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)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the field of wireless communication, and provides a method for acquiring antenna combination, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: when the terminal equipment adopts a first frequency band for communication, first network data are obtained, and the first network data are used for representing the communication state when the terminal equipment at a first position uses the first frequency band for communication; searching in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data; the target antenna combination is combined with an antenna called when the terminal device adopts the second frequency band for communication, the mapping library comprises a corresponding relation between at least one data gear and at least one antenna combination, the at least one data gear comprises a first data gear, the first data gear is associated with first network data, the at least one antenna combination comprises the target antenna combination, and the frequency of the second frequency band is higher than that of the first frequency band. The method can improve the antenna switching efficiency.

Description

Method for obtaining antenna combination, electronic device and computer readable storage medium
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a method for obtaining 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 applied to work and life scenes by people. The wireless router can provide a wireless fidelity (WIFI) network for the terminal devices within the coverage area, so that the terminal devices which are hung down can access the internet.
Common WIFI networks typically use two frequency bands, 2.4G and 5G, for communication. Due to the characteristics of large bandwidth and high speed, WIFI-5G is the first choice in some high-speed scenes, such as low-delay game scenes or live-broadcast scenes with high-speed requirements. However, compared with WIFI-2.4G, WIFI-5G has a small coverage range due to high frequency and poor diffraction capability and large signal loss in the process of propagation or wall penetration. In order to increase the signal coverage of WIFI-5G, usually in a wireless router, besides setting an omnidirectional antenna, a plurality of directional antennas are added to increase the coverage of WIFI-5G signals, 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 no matter which direction the hanging terminal device is located in the wireless router, the terminal device can be located in the area covered by the high-gain beams of the routing antenna, thereby ensuring the communication quality of WIFI-5G.
However, when the use state of the terminal device changes, for example, the location of the terminal device moves, and the coverage of the signal of the WIFI-5G is weak and normal communication cannot be performed, 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 device, the wireless router can temporarily select a directional antenna different from the last time to reestablish WIFI-5G communication with the terminal device in the next scanning period. However, if the terminal device is not in the sector covered by the high-gain beam of the selected directional antenna at this time, the communication for establishing WIFI-5G may fail, and the network connection may be switched back to WIFI-2.4G. And when the wireless router starts to scan in the next scanning period, the wireless router continues to adopt another directional antenna to try to establish the WIFI-5G communication until the WIFI-5G communication is successfully established or all the directional antennas are patrolled in turn.
However, the wireless router continuously tries to establish the communication of the WIFI-5G by using different directional antennas, which takes a lot of time, and the network connection is continuously switched between the WIFI-5G and the WIFI-2.4G, so that it is impossible to select a proper directional antenna to establish the network connection of the WIFI-5G for communication in time, which affects the user experience.
Disclosure of Invention
The application provides a method, a device, a chip, an electronic device, a computer readable storage medium and a computer program product for obtaining an antenna combination, which can improve antenna switching efficiency.
In a first aspect, a method for obtaining an antenna combination is provided, and is applied to an electronic device, where the electronic device is used for communicating with a terminal device, and the method includes: when the terminal equipment adopts a first frequency band for communication, first network data are obtained, and the first network data are used for representing the communication state when the terminal equipment at a first position uses the first frequency band for communication; searching in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data; the target antenna combination and the terminal device adopt a combination form of an antenna called when a second frequency band is used for communication, the mapping library comprises a corresponding relation between at least one data gear and at least one antenna combination, the at least one data gear comprises a first data gear, the first data gear is associated with first network data, the at least one antenna combination comprises the target antenna combination, and the frequency of the second frequency band is higher than that of the first frequency band.
The first frequency band can be a frequency band of WIFI-2.4G, and the second frequency band can be a frequency band of WIFI-5G. The first network data may be Channel State Information (CSI), (received signal strength indicator, RSSI), a Bit Error Rate (BER), a Packet Error Rate (PER), a communication rate or a delay of WIFI-2.4G. The first location is where the end device is currently located, which is within the signal coverage of the wireless router. A plurality of locations in the mapping library are each located within the signal coverage of the line router. The at least one antenna combination is a combination of antennas that can be used for communication by using signals of the second frequency band, and may include one or more groups. The first data gear is a gear corresponding to the first network data, and may be network data with the smallest difference from the first network data, or may be a network data range including the first network data, which is not limited herein.
The wireless router can determine a first data gear which is correlated with each other through first network data of the terminal device at a first position, and then search the first data gear in a mapping library to obtain a target antenna combination with good communication quality corresponding to the first data gear. According to the method, a large amount of time and resources are not needed to be spent on traversing all antenna combinations, the first network data are searched in the pre-established mapping library, and the target antenna combination with good communication quality corresponding to the first network data can be timely and accurately determined, so that the efficiency of obtaining the antenna combination is higher, the high-gain wave beams can be timely and quickly aligned, the high-speed network connection can be timely established, and the efficiency of antenna switching is improved. Meanwhile, the method can determine the target antenna combination with good communication quality at one time, and can avoid the problem of network switching failure caused by improper antenna combination selection possibly caused by traversing different antenna combinations, thereby avoiding network interruption and improving user experience.
In some possible implementations, the obtaining of the mapping library includes: when the terminal equipment is located at a first position, acquiring first network data and second network data, wherein the second network data are used for representing a communication state when a second frequency band is adopted for communication through the target antenna combination, and the communication state represented by the second network data meets a preset communication requirement; and determining that the first network data and the target antenna combination have a corresponding relation so as to generate a mapping library.
Optionally, the second network data may be data that meets a preset communication requirement when frequency band communication using WIFI-5G is performed.
The wireless router acquires first network data of WIFI-2.4G and second network data of WIFI-5G meeting preset communication requirements at the same first position, and establishes a corresponding relation between an antenna combination used by the second network data meeting the preset communication requirements and a first gear corresponding to the first network data, so that a mapping library is generated. In the method, the wireless router can quickly and accurately find the target antenna combination corresponding to the first data gear associated with the first network data in the mapping library by acquiring the first network data, and the target antenna combination meets the preset communication requirement of WIFI-5G, so that the antenna combination acquisition efficiency is higher and more accurate.
In some possible implementation manners, the second network data is a group of network test data in which communication quality meets a preset communication requirement among a plurality of groups of network test data, the plurality of groups of network test data include first network test data, the first network test data is used for representing communication quality when communication is performed in a second frequency band through a first antenna combination in a plurality of antenna combinations, the first antenna combination is any one of the plurality of antenna combinations, and the plurality of groups of network test data and the plurality of antenna combinations correspond to one another.
The wireless router may obtain the second network data meeting the preset communication requirement by traversing all antenna combinations at each typical position, for example, obtaining a set of network test data at the first position by using each antenna combination. For example, at the first position, the first antenna combination in the multiple antenna combinations is used to obtain the first network test data, the second antenna combination is also used to obtain the second network test data, and so on, thereby obtaining multiple sets of network test data. And then comparing the network test data corresponding to all the antenna combinations to find a group of network test data with the communication quality meeting the preset communication requirement. The set of network test data meeting the preset communication requirement can be used as second network data so as to determine the target antenna combination, and the accuracy of the determined target antenna combination is ensured.
In some possible implementation manners, when the preset communication requirement is a requirement of a communication rate, the second network data is a group of network test data representing the highest communication rate in the plurality of groups of network test data; when the preset communication requirement is a delay requirement, the second network data is a group of network test data with the lowest representation delay in the multiple groups of network test data; when the preset communication requirement is the requirement of the bit error rate, the second network data is a group of network test data representing the lowest bit error rate in the plurality of groups of network test data; when the preset communication requirement is a requirement of packet loss rate, the second network data is a group of network test data representing the lowest packet loss rate in the multiple groups of network test data; when the preset communication requirement is a requirement of a Received Signal Strength Indicator (RSSI), the second network data is a group of network test data which represents the maximum RSSI in the plurality of groups of network test data.
The wireless router can measure the quality of communication through any one or more of communication indexes such as communication rate, delay, RSSI, packet loss rate and bit error rate, so that the technical scheme of the application has diversified implementation modes and strong flexibility.
In some possible implementation manners, when the terminal device is a non-removable device, the corresponding relationship associated with the terminal device in the mapping library is a group; when the terminal device is a movable device, the mapping library has a plurality of sets of corresponding relationships associated with the terminal device, each set of corresponding relationships is obtained when the terminal device is located at one of a plurality of positions, and the plurality of positions include the first position.
The mapping library may store the corresponding relationship of one terminal device, and may also store the corresponding relationship of a plurality of terminal devices, where each corresponding relationship is labeled with an identifier of a corresponding terminal device.
For a non-removable device, a set of corresponding relationships can satisfy the use requirement of the non-removable device at a fixed position, so that the data in the mapping library is as compact as possible.
For the movable equipment, compared with one group of relations, the multiple groups of corresponding relations can cover the condition of the movable equipment at multiple different positions in a wider range, so that the acquisition result of the antenna combination of the movable equipment is more accurate, and the communication quality is ensured.
In some possible implementation manners, when the data gear is a network data range, searching in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data, including: searching in a mapping library according to the first network data to obtain a first network data range in which the first network data is located; and determining antenna combination corresponding to the first network data range in the mapping library as target antenna combination.
In some possible implementation manners, when the data gear is network data, searching in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data, including: determining the difference degree of the first network data and each network data in the mapping library; and determining the antenna combination corresponding to the network data with the minimum difference in the mapping library to be the target antenna combination.
The wireless router can obtain the target antenna combination corresponding to the first network data by searching the mapping database through judging the network data range where the first network data is located or comparing the difference between the first network data and the network data in the mapping database, so that the realization mode is flexible.
In some possible implementations, obtaining the first network data includes: when the terminal device is a core device, first network data is acquired, and the core device is a device with a high-gain beam requirement.
The wireless router may also determine whether the connected terminal device is a core device, and if the connected terminal device is a core device, the wireless router indicates that the terminal device is a terminal device with a high-gain beam requirement. The wireless router may determine that a high-rate, low-latency communication channel needs to be established using a second frequency, e.g., WIFI-5G, with the high-gain beam aligned at that time, and initiate the step of acquiring the first network data. If the terminal device is not a core device and does not have a high-gain beam requirement, the communication requirement can be met by using a first frequency band with low frequency, for example, the frequency of WIFI-2.4G, to communicate between the wireless router and the terminal device, so that the step of acquiring first network data is not required, the network connection does not need to be switched, and the system overhead can be saved.
In some possible implementations, obtaining the first network data includes: receiving an antenna switching request from terminal equipment; first network data is acquired in response to an antenna switching request.
The wireless router responds to the antenna switching request sent by the terminal equipment to trigger the process of acquiring the target antenna combination, so that the fixed monitoring period of the wireless router does not need to wait for coming, the waiting time is reduced, the antenna combination is more efficiently acquired, and the user experience is improved.
In some possible implementation manners, the first frequency band is a 2.4G frequency band of WIFI, and the second frequency band is a 5G frequency band of WIFI.
In some possible implementations, the first network data includes channel state information, CSI.
The CSI can describe the attenuation factor of the signal on each transmission path, the carried information of the channel is richer than other communication indexes, the communication system is adjusted according to the CSI to adapt to the current channel condition, and a guarantee is provided for high-reliability and high-speed communication in a multi-antenna system.
In some possible implementations, the method further includes: acquiring third network data, wherein the third network data is used for representing the communication quality when the third network data is communicated with the terminal equipment by using a second frequency band; and if the third network data does not meet the preset communication requirement, updating the mapping library.
During the use of the wireless router, there may be a shift in the position or direction, for example, a user accidentally touches the wireless router while plugging or unplugging the power supply, or the user actively changes the position of the wireless router. At this time, the mapping library established before may not correctly indicate the required antenna combination, so the corresponding relationship in the mapping library may be updated again to ensure the accuracy of the corresponding relationship, and further ensure the communication quality.
In a second aspect, an apparatus for obtaining an antenna combination is provided, which includes a unit made of software and/or hardware, and is configured to perform any one of the methods in the technical solutions of the first aspect.
In a third aspect, an electronic device is provided, which includes: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other to enable the electronic device to perform any one of the methods according to the first aspect.
In some possible implementations, the electronic device is a wireless router.
In a fourth aspect, an embodiment of the present application provides a chip, including a processor; the processor is configured to read and execute the computer program stored in the memory to perform any one of the methods in the technical solutions 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, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, causes the processor to perform any of the methods of the first aspect.
In a sixth aspect, there is provided a computer program product comprising: computer program code for causing an electronic device to perform any of the methods of the first aspect when said computer program code is run on the electronic device.
Drawings
Fig. 1 is a schematic structural diagram of an example of antenna distribution in a wireless router 100 according to an embodiment of the present application;
fig. 2 is a directional diagram of an antenna in the wireless router 100 according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a location of a terminal device in a coverage area of an antenna of a wireless router according to an embodiment of the present application;
FIG. 4 is a graphical illustration of real and imaginary components of an exemplary CFR acquisition provided by embodiments of the present application;
fig. 5 is a graph illustrating an example of an absolute value of a real part of a CFR and a graph illustrating CIR obtained according to the CFR according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating correspondence between different CSI and different antenna combinations of WIFI-2.4G according to an embodiment of the present application;
fig. 7 is an exemplary interface operation diagram of a terminal device guiding a user to establish a mapping library according to an embodiment of the present application;
fig. 8 is a flowchart illustrating an example of a method for obtaining an antenna combination according to an embodiment of the present application;
fig. 9 is a schematic circuit structure diagram of an example of a radio frequency path of WIFI according to an embodiment of the present application;
fig. 10 is a flowchart illustrating an example of a method for obtaining an antenna combination according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an exemplary apparatus for obtaining an antenna combination 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. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" and "third" are used 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, features defined as "first", "second", "third" may explicitly or implicitly include one or more of the features.
With the rapid development of network communication technology, wireless routers are widely applied to work and life scenes by people. The wireless router can provide a WIFI network for the terminal equipment within the coverage range, so that the hung terminal equipment can be accessed to the Internet.
The common WIFI network generally adopts two frequency bands of WIFI-2.4G and WIFI-5G for communication. The WIFI-2.4G has low frequency and strong diffraction capability, and has less signal loss and larger coverage range in the transmission process or wall penetration. The WIFI-5G has higher frequency and cleaner electromagnetic environment, so that the interference in the space is less, and the characteristics of more channels, large bandwidth and high speed are achieved, so that the WIFI-5G becomes a first choice in high-speed scenes, such as game scenes or live network scenes with high-speed requirements. However, compared with WIFI-2.4G, WIFI-5G has a small coverage range due to high frequency and poor diffraction capability and large signal loss in the process of propagation or wall penetration. The WIFI-5G in the application does not refer to the frequency of the frequency point of 5GHz, but comprises 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 alone, but refers to the frequency corresponding to all channels including the WIFI-2.4G.
In order to increase the coverage of WIFI-5G signals, a plurality of directional antennas are usually added to a wireless router in addition to an omnidirectional antenna to increase the coverage of WIFI-5G signals. The omnidirectional 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 of each directional antenna in the wireless router is different, so that the directional coverage of the high-gain beam can be more comprehensive by combining a plurality of directional antennas. Alternatively, the directional antenna in the present application may adopt a dual-polarized antenna including a horizontal polarization and a vertical polarization.
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 by including four omnidirectional 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 omnidirectional antennas can be used for transceiving signals of WIFI-2.4G and can also be used for transceiving signals of WIFI-5G. The four omnidirectional antennas and the three directional antennas can be used for transceiving signals of WIFI-5G, and when the three directional antennas are set, high-gain beams of different directional antennas are generally respectively directed to 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 device 200 hung below the wireless router 100 is located in, the terminal device can be located in the area covered by the high-gain beam of the at least one routing antenna, and therefore the communication quality of WIFI-5G is guaranteed. Wireless router 100 may freely select which omni-directional antennas and which directional antennas to combine for WIFI-5G communications.
As shown in fig. 2, the respective directional patterns of the directional antenna and the omnidirectional antenna are shown by dotted lines, and the high-gain beam of each directional antenna can cover one sector (the sector area, in fig. 2, the area around the wireless router is divided into sector 1, sector 2, and sector 3 as an example). 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 position of the terminal device 200 changes, the signal of the WIFI-5G may become very weak by using the directional antenna 106, and 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 requirement of a high-rate scenario, it is desirable to continue to use WIFI-5G for communication between wireless router 100 and end device 200. Therefore, wireless router 100 may temporarily switch a different directional antenna to re-establish WIFI-5G communication with terminal device 200 at the next scanning cycle, for example, 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 covered by the high-gain beam of the directional antenna 105 at this time, and the wireless router 100 selects the combination of the omnidirectional antenna 103, the omnidirectional antenna 104, and the directional antenna 105 to transmit and receive signals of WIFI-5G, the network may be interrupted because the signals are weak and cannot establish communication of WIFI-5G. At this time, the network connection between terminal device 200 and wireless router 100 is switched back to WIFI-2.4G. Then, the wireless router 100 continues to switch to another directional antenna temporarily in the next scanning period, for example, the directional antenna is switched to the directional antenna 107 to attempt to establish the communication of WIFI-5G, and since the terminal device 200 moves right into the sector 3 corresponding to the high-gain beam of the directional antenna 107, the communication of WIFI-5G can be successfully established. In this application, the process of positioning the terminal device 200 in the sector corresponding to the high-gain beam of one directional antenna and selecting the directional antenna to transmit and receive signals is referred to as the process of high-gain beam alignment.
However, the wireless router 100 continuously tries to establish the WIFI-5G communication by combining the antennas where the different directional antennas are located, so that the network connection may be continuously switched between the WIFI-5G and the WIFI-2.4G, and a proper directional antenna cannot be selected in time to establish the WIFI-5G network connection for the WIFI-5G communication, which affects the user experience.
In the technical solution provided in the embodiment of the present application, the terminal device may be placed at different positions, and then the wireless router establishes a set of corresponding relationships for each different position, where the corresponding relationships are: and the wireless router and the terminal equipment at the position use the WIFI-2.4G network to communicate, and the wireless router and the terminal equipment at the position use the corresponding relation between the network data and a group of 5G antenna combinations (combination forms of antennas for communication of frequency bands of WIFI-5G) with the best communication quality at the position. It should be noted that the group of antenna combinations with the best communication quality can be obtained by traversing all antenna combinations by the wireless router when the terminal device is located at the position. It should be noted that the antenna combination required to be determined in this application is an antenna combination for WIFI-5G communication. Typically, this location is within the range covered by the high gain beams of the directional antennas in the set of antenna combinations. When the wireless router and the terminal equipment need to use a WIFI-5G network for communication, the wireless router can acquire network data when the wireless router communicates with the terminal equipment at the current position by using the WIFI-2.4G network, and then the network data is searched in the pre-established corresponding relation to obtain an antenna combination corresponding to the WIFI-2.4G network data at the position. It can be determined that the antenna combination corresponding to the obtained WIFI-2.4G network data at the current position has the best performance when receiving and transmitting the WIFI-5G signal compared with other antenna combinations. And then, the antenna combination with the best performance is utilized to carry out WIFI-5G communication with the terminal equipment at the position, so that the communication quality of WIFI-5G can be ensured. According to the method, the WIFI-2.4G network data which are easy to obtain are adopted, the WIFI-5G antenna combination with good communication quality can be accurately and quickly found in a table look-up mode, and the antenna switching efficiency is improved.
The method for obtaining the antenna combination provided in the embodiment of the present application may be applied to a router, a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and other devices, and may also be applied to the foregoing network devices such as a wireless router, and the embodiment of the present application does not set any limit to specific types of devices.
It is to be understood that the structure of the wireless router 100 illustrated in the embodiment of the present application does not constitute a specific limitation to the network device. In other embodiments of the present application, wireless router 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
For convenience of understanding, the following embodiments of the present application will specifically describe a method for acquiring an antenna combination provided by the embodiments of the present application, by taking a wireless router having a structure shown in fig. 1 as an example, with reference to the accompanying drawings and application scenarios.
First, the process of how to build the mapping library is introduced:
if the terminal device is a non-movable device with a fixed position in the working process, such as a large-screen device (smart television), other routers serving as sub-routes, or a projector used fixedly, the network data of only one fixed position (the position of the terminal device in normal use) can be acquired when the mapping library is established, and a group of corresponding relations are established. When the terminal device is located at the fixed position, the WIFI-2.4G network data are collected, for example, the CSI of the WIFI-2.4G is collected, a group of WIFI-5G antenna combinations with the best communication quality are tested, and the corresponding relation between the WIFI-2.4G network data and the antenna combinations is established.
If the terminal device is a mobile device, such as a smart phone, a tablet computer and the like, which can move in the working process, network data at a plurality of different positions needs to be collected when a mapping library is established, and a corresponding relation between the network data of WIFI-2.4G and the antenna combination of WIFI-5G at the plurality of positions is established.
Of course, the wireless router may also store respective corresponding relationships of the plurality of terminal devices, and the corresponding relationships respectively carry the identifiers of the respective corresponding terminal devices, so as to distinguish the terminal devices in the subsequent search. Optionally, the carried identifier of the terminal device may be a Media Access Control (MAC) address of the terminal device, a name of the terminal device customized by a user, and the like, which is not limited in this embodiment of the present application.
Taking the schematic plan view of the room area shown in fig. 3 as an example, the wireless router 100 is placed at location a, the large screen device 201 is fixedly placed at location B for use, and the smartphone 202 may move throughout the room area.
Generally, after the large-screen device 201 is powered on, it may search for surrounding WIFI signals and send a request to establish a WIFI connection with the wireless router. The wireless router 100 may determine that the large-screen device 201 is a non-removable device according to the request carrying the self-identification sent by the large-screen device 201. When the large-screen device 201 is placed at location B, the wireless router 100 may establish a set of correspondences where the large-screen device 201 is located at location B. For example, for WIFI-5G, the 5G antenna combination that the wireless router can invoke includes three combination forms of antenna combination 1, antenna combination 2, and antenna combination 3, and the directional antenna in antenna combination 1 is directional antenna 105, the directional antenna in antenna combination 2 is directional antenna 106, and the directional antenna in antenna combination 3 is directional antenna 107. Wireless router 100 may obtain 2.4G network data 1 when using a WIFI-2.4G network. Due to the fact that the antennas used by the WIFI-2.4G network are combined into a fixed omnidirectional antenna combination form, there is usually no scheme for switching antennas, and in the coverage area of the WIFI-2.4G network, the 2.4G network data of the same terminal device can represent information of the orientation of the terminal device, such as which direction the terminal device is located in the wireless router, and the distance between the terminal device and the wireless router in the direction.
For example, the 2.4G network data 1 can characterize which position the large screen device 201 is in the wireless router 100, and the distance between the large screen device and the wireless router 100. Then, the wireless router 100 may use the antenna combination 1 to communicate with the large-screen device 201 by using a WIFI-5G network, and obtain corresponding 5G network data 1; then, the antenna combination 2 and the antenna combination 3 are sequentially used to communicate with the large-screen device 201 through a WIFI-5G network, and 5G network data 2 when the antenna combination 2 is used and 5G network data 3 when the antenna combination 3 is used are obtained (i.e., all WIFI-5G antenna combinations are traversed). Then, the wireless router 100 may compare the 5G network data (i.e., 5G network data 1, 5G network data 2, and 5G network data 3) obtained by different antenna combinations, and find out the 5G network data representing the WIFI-5G communication quality best from the 5G network data, for example, if the signal of the 5G network data 1 obtained by using the antenna combination 1 is the strongest, it may be determined that the corresponding relationship obtained when the large screen device 201 is at the position B is: and 2.4G, corresponding relation 1 of the network data 1 and the antenna combination 1, and storing the corresponding relation 1 in a mapping library.
For example, when the wireless router 100 communicates with the large-screen device 201 at the location B, the CSI-1 acquired into the 2.4G network data 1 is an array [ a, B, c, d ], where a, B, c, d respectively correspond to the CSI data of the channel states of the directional antenna 101, the directional antenna 102, the directional antenna 103 and the directional antenna 104, and the CSI data is usually in a complex form and includes a real part and an imaginary part. The wireless router 100 also obtains 5G network data 1, 5G network data 2, and 5G network data 3 corresponding to the antenna combination 1, the antenna combination 2, and the antenna combination 3, which are respectively used at the position B. Taking 5G network data as RSSI as an example, 5G network data 1, 5G network data 2, and 5G network data 3 are-75 dBm, -85dBm, -95dBm, respectively. The RSSI corresponding to each antenna combination is a weighted value of the RSSI corresponding to each antenna in the antenna combination. For example, -75dBm is a weighted value of RSSI for each of the four antennas in antenna combination 1. The weighting value herein may be weighted by: and adding and averaging, or taking the maximum value, or weighting in unequal ratios, and the like, which are not limited in the embodiments of the present application, and the combination characteristics of different antennas may be distinguished. It can be seen that the signal of the 5G network data 1 represented by-75 dBm is strongest, and among the three antenna combinations of the antenna combination 1, the antenna combination 2 and the antenna combination 3, the communication quality is best when the antenna combination 1 corresponding to the 5G network data 1 is used for receiving and transmitting signals of WIFI-5G; and the signal of the 5G network data 3 represented by-95 dBm is the weakest, and the communication quality is the worst when the antenna combination 3 corresponding to the 5G network data 3 is used for transceiving WIFI-5G signals in the three antenna combinations of the antenna combination 1, the antenna combination 2 and the antenna combination 3.
Optionally, the 5G network data may also be data types of BER, PER, communication rate, and delay, and these data types may all represent communication quality of WIFI-5G, which is not limited in this application. The larger the BER is, the worse the communication quality is, and the smaller the BER is, the better the communication quality is; the larger the PER is, the worse the communication quality is, and the smaller the PER is, the better the communication quality is; the larger the delay, the worse the communication quality, and the smaller the delay, the better the communication quality; the lower the communication rate, the worse the communication quality, and the higher the communication rate, the better the communication quality.
In some embodiments, the 5G network data may also be CSI during WIFI-5G communication. Take CSI data such as [ e, f, G, h ], [ i, j, k, l ], [ m, n, o, p ] for the 5G network data 1, the 5G network data 2, and the 5G network data 3, respectively, as an example, where e, f, G, and h are CSI data corresponding to each antenna in the antenna combination 1, i, j, k, and l are CSI data corresponding to each antenna in the antenna combination 2, and m, n, o, and p are CSI data corresponding to each antenna in the antenna combination 3. By comparing the amplitudes of [ e, f, g, h ], [ i, j, k, l ], [ m, n, o, p ], a set of data with the largest amplitude is obtained, for example, the amplitude of [ e, f, g, h ] is the largest, so that it can be determined that the communication quality of the antenna assembly 1 corresponding to [ e, f, g, h ] is the best.
As to a procedure how to judge the communication quality based on CSI, an exemplary description is made herein:
the CSI can describe the fading factor of the signal on each transmission path, that is, the CSI may include the value of each element in the channel gain matrix, such as signal scattering (scattering), environment fading (fading), including multipath fading and shadow fading, distance fading (power fading) and other information. The information carried by the CSI can enable the communication system to adjust to adapt to the current channel condition, and guarantees are provided for high-reliability and high-speed communication in the multi-antenna system.
Usually, the directly acquired channel information is a Channel Frequency Response (CFR), and the time domain of the CFR is represented by a Channel Impulse Response (CIR), which can be interchanged by fourier transform and inverse transform. The CSI is a sampled version of the CFR.
After the CFR data is obtained, the characteristic information can be identified through a digital signal processing method. Taking a wireless router with multiple-input multiple-output (MIMO) 4 × 4 as an example, each antenna has its own tag. In the graphs a and b in fig. 4, the vertical axis represents the amplitude, and the horizontal axis represents the frequency offset from the center frequency of the signal. Four in a diagram in fig. 4The four curves in the b diagram in fig. 4 are the values of the imaginary parts of the CRFs corresponding to the four antennas respectively. It should be noted that, by sampling the four curves in the diagram a in fig. 4, data of real parts of CSI corresponding to the four antennas can be obtained, for example, as shown by circles on the four curves in the diagram a in fig. 4; the four curves in the b diagram in fig. 4 are sampled to 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 diagram in fig. 4. Alternatively, after the absolute value of the CSI data in the a diagram in fig. 4 is taken, the absolute value of the real part of the CSI shown by the circles on the four curves shown in the a diagram in fig. 5 is obtained, and then the communication quality can be determined according to the magnitude of the value of the vertical axis of the curve in the a diagram in fig. 5, which antenna corresponds to a larger value indicates that the signal is better, and which antenna corresponds to a smaller value indicates that the signal is worse. Taking the graph a in fig. 5 as an example, the amplitude threshold of the CSI may be set to 1000, where communication quality greater than or equal to the amplitude threshold satisfies the communication requirement, and communication quality less than the amplitude threshold does not satisfy the communication requirement. Optionally, the CFR data may be subjected to inverse fourier transform to obtain data of the four curves in the graph a in fig. 5 in the time domain, as shown in the graph b in fig. 5, a larger vertical axis value in the graph b in fig. 5 indicates a stronger signal power, and a better signal quality, and a smaller vertical axis value in the graph b in fig. 5 indicates a weaker signal power, and a poorer signal quality. Taking the graph b in fig. 5 as an example, the power threshold of the CIR may be set to
Figure 291760DEST_PATH_IMAGE001
The CIR is greater than or equal to the power threshold, indicating that the communication quality meets the communication requirements, and less than the power threshold, indicating that the communication quality does not meet the communication requirements.
In fig. 4 and 5, 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 to compare the amplitudes.
For the present application, the wireless router may determine whether the antenna combination satisfies the communication requirement by comprehensively judging the magnitude of the real part absolute values of CSI of multiple antennas in the antenna combination; or the absolute value of the real part of the CSI corresponding to the directional antenna in the antenna combination is independently judged to determine whether the antenna combination meets the communication requirement; the magnitude of the real part absolute value of the CSI corresponding to the directional antenna may also be determined first, and then the magnitude of the real part absolute value of the CSI corresponding to the other omnidirectional antennas in the antenna combination may be determined, which is not limited in this application. It should be noted that, when comparing the magnitude of the absolute value of the real part 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 the absolute values of the real part of the CSI obtained continuously and repeatedly in a section of time are accumulated, which is not limited specifically.
Optionally, the 2.4G network data 1 may be directly acquired network data, such as CSI-1, or may be a network data range after data expansion of the directly acquired network data, for example, the network data range 1 of the CSI after data expansion of the CSI-1 is ± 5% of the value fluctuation range of the CSI-1. For example, the range of network data after data expansion is [ a + -5%, b + -5%, c + -5%, d + -5% ]. This CSI data range 1 can characterize the location within a certain area centered on the location B, for example, the CSI network data range 1 can characterize the location within the area C shown in fig. 3, that is, if the CSI-1 acquired by the wireless router 100 is in this CSI network data range 1, it indicates that the terminal device is in the area C.
Optionally, the 2.4G network data 1 may also be RSSI-1 of the WIFI-2.4G network, or RSSI range 1 after the RSSI-1 is subjected to data expansion. For example, when the obtained RSSI-1 is 75dBm, the RSSI range 1 after the RSSI-1 is subjected to data expansion is 75dBm +/-10%.
Optionally, the 2.4G network data 1 may also be BER-1 of a WIFI-2.4G network, or BER range 1 after data expansion is performed on BER-1. For example, when the obtained BER-1 is 0.1%, the BER range 1 after data expansion of the BER-1 is 0.09% -0.11%.
Optionally, the 2.4G network data 1 may also be a PER-1 of the WIFI-2.4G network, or a PER range 1 after the PER-1 performs data expansion. For example, when the obtained PER-1 is 1%, the range of the PER after the data expansion of the PER-1 is 0.9% -1.1%.
Optionally, the 2.4G network data 1 may also be the rate-1 of the WIFI-2.4G network, or the rate range 1 after data expansion is performed on the rate-1. For example, when the acquired rate-1 is 120bps, the rate range 1 after data expansion by the rate-1 is 120bps ± 20%.
Optionally, the 2.4G network data 1 may also be latency-1 of the WIFI-2.4G network, or a rate range 1 after data expansion is performed by latency-1. For example, when the acquired delay-1 is 50ns, the delay range 1 after the data expansion of the delay-1 is 40 ns-60 ns.
Smartphone 202 may also search for surrounding WIFI signals and send a request to establish a WIFI connection with wireless router 100. Wireless router 100 may determine that smartphone 202 is a type of removable device based on a request with its own id sent by smartphone 202. When smartphone 202 is placed at location D, wireless router 100 may establish a set of correspondences with smartphone 202 located at location D. The wireless router may obtain 2.4G network data 2 when using a WIFI-2.4G network. Then, the wireless router 100 may use the antenna combination 1 to communicate with the smart phone 202 by using a WIFI-5G network, and obtain corresponding 5G network data 4; then, the antenna combination 2 and the antenna combination 3 are sequentially and respectively used for communicating with the smart phone 202 through a WIFI-5G network, and 5G network data 5 when the antenna combination 2 is used and 5G network data 6 when the antenna combination 3 is used are obtained. Then, the wireless router 100 may find out the 5G network data that characterizes the WIFI-5G communication quality best from the 5G network data (i.e. 5G network data 4, 5G network data 5, 5G network data 6) obtained by using different antenna combinations, for example, the found 5G network data 6 obtained by using the antenna combination 3, and then may determine that the obtained corresponding relationship when the smartphone 202 is at the position D is: 2.4G correspondence 2 of network data 2 and antenna combinations 3 and storing this correspondence 2 in a mapping base. Optionally, the correspondence 2 may also carry an identifier of the location D and an identifier of the smartphone 202.
When the position of the smartphone 202 changes, for example, the smartphone moves to the position E, the process at the position D is continuously executed at the position E, that is, the 2.4G network data 3 at the position E and the 5G network data 7 with the best WIFI-5G communication quality at the position are acquired, and then the corresponding relationship 3 between the antenna combinations 2 corresponding to the 2.4G network data 3 and the 5G network data 7 is established. Optionally, the 5G network data 7 with the best communication quality can be obtained by traversing all combinations of 5G antennas as described above, and will not be described herein again. Optionally, the correspondence 3 may also carry an identifier of the location E and an identifier of the smartphone 202.
When the position of the smartphone 202 continues to change, other positions may also be obtained, such as the corresponding relation 4, the corresponding relation 5, and the corresponding relation 6 obtained at the position F, the position G, and the position H. Optionally, the correspondence relationship 4, the correspondence relationship 5, and the correspondence relationship 6 may also carry the identifier of the position F, the identifier of the position G, and the identifier of the smartphone 202. Here, the number of the obtained corresponding relations of the smartphone 202 is 5, and the 5 corresponding relations correspond to 5 different positions respectively. The number 5 is an example, and the number of the corresponding relationships obtained by the same mobile device is not limited in the embodiment of the present application, and may be adjusted according to the size of a plurality of areas used by the mobile device or the number of directional antennas. If the area used by the movable equipment is larger, or the number of the directional antennas is more, the number of the corresponding relations which can be obtained is more; if the used area is smaller or the number of directional antennas is smaller, the number of correspondences that can be obtained is smaller.
Optionally, when the smartphone 202 is located at the same position, the wireless router may also traverse all 5G antenna combinations, and find that more than one group of antenna combinations at the position can meet the communication requirement, for example, the coverage areas covered by the high-gain beams of two directional antennas adjacent to the position overlap more, and then when the terminal device is located in the overlapping area, the wireless router may use two antenna combinations where the two directional antennas are located to have a high communication rate or a low delay, so that a corresponding relationship between a group of 2.4G network data and the two antenna combinations may be established.
Optionally, the correspondence may also be a correspondence between 2.4G network data acquired at multiple positions and a group of antenna combinations. For example, if there are two or more locations that are close to each other, it is possible that the communication rate or the delay is high or low for the two or more locations using the same antenna combination, and thus, a correspondence relationship between two or more sets of 2.4G network data and the same antenna combination can be established.
In some embodiments, the correspondence obtained for the mobile device may also be a correspondence between a plurality of network data ranges and a plurality of antenna combinations. The plurality of network data ranges may be obtained by data expansion of network data acquired at a plurality of different locations, respectively.
In the process of establishing the mapping library, the user is required to move the smartphone 202 at different positions in the room.
In some embodiments, a bootstrap program may be installed on smartphone 202 to establish a mapping library, for example, by displaying bootstrap information on the interface of smartphone 202 to guide a user to move around smartphone 202 in a typical location and perform sampling of network data.
For example, after the user opens the bootstrap program on the smartphone 202, the user holds the smartphone 202 and moves to the position D, and then clicks a control for starting sampling on the interface of the smartphone 202, such as the "position 1 start" control shown in a diagram in fig. 7, at this time, the smartphone 202 may send a sampling request to the wireless router 100, and the wireless router 100 responds to the sampling request, and may acquire a set of corresponding relationships of the smartphone 202 at the position D by using the aforementioned manner of acquiring 2.4G network data and traversing antenna combinations. After acquiring the corresponding relationship at the position D, the wireless router 100 may feed back the information of completing sampling to the smartphone 202, and after receiving the information of completing sampling, the smartphone 202 may display the word "end at position 1" shown in b of fig. 7 on the interface. After a certain time interval, for example, 10 seconds interval, the interface of smartphone 202 displays guidance information for the next location E, for example, a "location 2 start" control as shown in c of fig. 7. At this time, the user needs to hold the smart phone 202, and can continue to move the smart phone to the next position, for example, position E, and click the control of "position 2 start" on the interface, so that the wireless router 100 continues to acquire the corresponding relationship at position E under the trigger of the smart phone 202. After acquiring the corresponding relationship at the position E, the wireless router 100 may feed back the information of completing sampling to the smartphone 202, and after receiving the information of completing sampling, the smartphone 202 may display the word "end at position 2" shown in d of fig. 7 on the interface. And then, after a period of time, continuously acquiring the corresponding relation of other positions. In some embodiments, the user may also click on a control to end the sampling, such as the "done" control in the b or d diagram in view 7, to end or exit the boot flow.
The method for establishing the corresponding relation by guiding the user can guide the user to continuously move to the plurality of typical positions and sequentially acquire the corresponding relation at the plurality of positions under one database establishing operation, so that the mapping database is established by one database establishing operation, and the database establishing method is quicker and has higher efficiency. And the typical position moved by the user under guidance is also the position which can be reached in the process of using the terminal equipment at ordinary times, so that the corresponding relation established by the method accords with the daily use habit of the user, is more accurate, the accuracy of the subsequently acquired target antenna combination is improved, and the internet surfing experience of the user is improved.
In some embodiments, the user may also not be required to participate in the mapping library establishment process. Active sampling in the background by the wireless router 100, thereby obtaining multiple sets of correspondences of the mobile device at multiple locations and storing in the mapping library.
For example, when a new terminal device 200 is connected to the wireless router 100, the wireless router 100 may obtain the correspondence in the background for the terminal device 200. Alternatively, the wireless router 100 may obtain a set of corresponding relationships at preset intervals. Alternatively, if the position of the terminal device 200 is not changed or is not changed much in the adjacent preset period, the obtained corresponding antenna combinations are the same for the first network data or the data range where the first network data is located, and the wireless router 100 may discard one of the sets and store the other set of the corresponding relations in the mapping database. If the position of the terminal device 200 changes greatly in different preset periods, a new corresponding relationship may be obtained and stored in the mapping library. When the time is long enough, the coverage area of the mobile area of the terminal device 200 is wider, and the wireless router 100 can obtain more corresponding relations of more positions, thereby establishing a more comprehensive mapping library.
Alternatively, the wireless router 100 may also obtain the relative position with the terminal device 200, for example, a time of arrival (TOA) method or a time difference of arrival (TDOA) method may be adopted. When the relative positions of the two are changed greatly, since the position of the wireless router 100 is not changed easily, the wireless router 100 may consider that the terminal device 200 is at a new position, and may start a new round of process for acquiring the corresponding relationship at the new position.
The above-mentioned manner in which the wireless router 100 establishes the corresponding relationship in the background to obtain the mapping library can be obtained without the perception of the user, and the manual operation of the user is not required, so that the use threshold is reduced, and the use by the user is facilitated.
In the foregoing, how the mapping library is established by the wireless router is described in detail, and how the wireless router uses the mapping library to determine the antenna combination to be invoked when performing communication of WIFI-5G will be described below.
Fig. 8 is a flowchart illustrating an example of a method for obtaining an antenna combination according to an embodiment of the present application. Taking an execution main body as a wireless router as an example for explanation, the antenna combination obtained in the embodiment of the present application is an antenna combination called when WIFI-5G is used. The method comprises the following steps:
s801, when the first frequency band is adopted for communication with the terminal device, first network data is obtained, and the first network data is used for representing a communication state when the first frequency band is used for communication with the terminal device at the first position.
It should be noted that, when the wireless router and the terminal device perform communication, the first frequency band may be adopted, and the second frequency band may also be adopted. The frequency of the second frequency band is higher than that of the first frequency band, and all the frequencies of the second frequency band can be higher than all the frequencies of the first frequency band; or a part of the frequencies of the second frequency band may be higher than all the frequencies of the first frequency band, and another part of the frequencies of the second frequency band may coincide with a part of the frequencies of the first frequency band, which is not limited herein.
Generally, when a wireless router accesses the internet, a nearby terminal device, such as a smartphone, may access the internet by connecting to the wireless router. The wireless router and the smart phone can be communicated through network connection of two frequency bands of WIFI-5G or WIFI-2.4G. In the embodiment of the application, a method for acquiring the antenna combination called when the wireless router performs WIFI-5G communication is described by taking a frequency band with a first frequency band of WIFI-2.4G and a frequency band with a second frequency band of WIFI-5G as an example.
In the process of communication between the wireless router and the smart phone by using the frequency band of WIFI-5G, if the use scene of the smart phone changes, for example, the multipath environment changes due to rapid movement of the position, so that the signal of WIFI-5G temporarily covers a weaker signal, and the WIFI-5G network cannot be normally used for communication, the network connection of WIFI-5G with high frequency between the wireless router and the smart phone is switched to the network connection of WIFI-2.4G with low frequency, and the communication connection is maintained.
In some scenarios, if the smart phone needs high-speed or low-delay communication, the wireless router and the smart phone need to perform high-speed communication through WIFI-5G network connection. In the embodiment of the application, the wireless router does not randomly select the antenna combination of WIFI-5G to directly switch from WIFI-2.4G to WIFI-5G network connection, but searches the mapping library according to the currently acquired WIFI-2.4G network data, namely the first network data, so that a group of WIFI-5G antenna combinations with good communication quality corresponding to the first network data is obtained, and then the switching is performed to WIFI-5G network connection.
The method specifically comprises the following steps: when the terminal device is located at the first position, the wireless router may acquire the network data of the WIFI-2.4G, that is, the first network data, for example, the CSI of the WIFI-2.4G, in a process of communicating with the terminal device through the network connection of the WIFI-2.4G. The CSI can characterize, among other things, the direction and distance the terminal device at the first location is located relative to the wireless router. In the example shown in fig. 3, a rectangular coordinate system is established with the position a of the wireless router 100 as the origin. For example, the obtained CSI is h (k) = [1+ i, 2+ i, -i, 0], when the terminal device is marked to be located at the actual position coordinate as position E in fig. 3, that is, the coordinate point is [5m, -6m ].
Optionally, in step S801, when the terminal device needs to establish high-speed communication with the wireless router, for example, when the terminal device runs a game application with low latency or runs a live network application with high communication rate, and the terminal device needs to establish a WIFI-5G network connection, step S801 may be triggered; or automatically triggering after the network connection is switched from the high-rate WIFI-5G to the low-rate WIFI-2.4G, for example, triggering a reconnection process of the WIFI-5G when the network connection of the WIFI-5G is disconnected and the network connection is switched to the WIFI-2.4G, namely, triggering the step of S801.
Optionally, the first network data may also include, but is not limited to: any one or more combinations of data of CSI, RSSI, BER, PER, communication rate, delay, and the like may be used as long as it reflects the distance between the terminal device and the wireless router and the direction in which the terminal device is located in the wireless router.
In some embodiments, a memory of the wireless router may store a list of a plurality of antenna combinations in advance, and antennas in each antenna combination may be commonly used for transceiving signals of WIFI-5G. For example, each antenna combination may include one or more omni-directional antennas and one or more directional antennas. The number of antennas in each antenna combination may be determined according to a product specification of the wireless router, which is not limited in this application. For example, when the radio frequency path of the wireless router supports at most four paths of signal transceiving, the number of antennas in each antenna combination may be at most four.
S802, searching in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data. And the target antenna is combined into a combined form of an antenna which is called when the terminal equipment communicates through the second frequency band.
The mapping library comprises a corresponding relation between at least one data gear and at least one antenna combination, the at least one data gear comprises a first data gear, the first data gear is associated with first network data, and the at least one antenna combination comprises a target antenna combination. After the wireless router acquires the first network data, the wireless router can search in a preset mapping library to find a first data gear associated with the first network data, and an antenna combination corresponding to the first data gear is used as a target antenna combination.
Optionally, in the manner of associating network data with data gear mentioned in this application, there are two cases:
in case 1, when the data gear is a network data range, the wireless router determines the first data gear according to the network data range in which the first network data is located. Specifically, the mapping library includes a plurality of network data ranges, and each network data range represents one data gear. The wireless router compares the first network data with the plurality of network data ranges to determine a network data range in which the first network data is located, and the network data range is used as a first data gear. Then, the wireless router may determine that the antenna combination corresponding to the first data gear in the mapping library is the required target antenna combination. Taking the first network data as CSI-1: h (k) = [1.05+0.96i, 2.1+0.98i, -1.02i, 0] for example, a plurality of CSI ranges included in the mapping library, such as a CSI-1 range, a CSI-2 range, and a CSI-3 range, can be seen from table 1. The wireless router searches in the mapping base of table 1 below, and determines that CSI-1 belongs to the CSI-1 range, and the CSI-1 range corresponds to antenna combination 1, and then may determine that the corresponding target antenna combination is antenna combination 1 according to the first network data.
TABLE 1
Figure 271217DEST_PATH_IMAGE002
In case 2, when the data gear is network data, the wireless router may calculate a difference between the first network data and each network data corresponding to the terminal device in the mapping library, and then determine an antenna combination corresponding to the network data with the minimum difference as a target antenna combination. In some embodiments, we can represent CSI directly by the absolute value of the real part of the original CSI data. Taking the first network data as the absolute value of the imaginary part of the CSI data, that is, CSI-0 is [0.1, 1.1, 0, 0], where 0.1, 1.1, 0, 0 are the absolute values of the real parts of the CSI data corresponding to the four antennas in the used antenna combination, respectively. The mapping base includes a plurality of CSI, such as CSI-1, CSI-2, CSI-3, and CSI-4, which can be seen from table 2. The wireless router may calculate the degree of difference between CSI-0 and each CSI in the mapping base as shown in table 2 below. For example, the wireless router obtains that the difference degrees of the CSI-0 and the CSI-1, the CSI-2, and the CSI-3 are 10%, 50%, 100%, and 75%, respectively, and then finds the CSI-1 with the minimum difference degree of 10% from the CSI-0, and takes the antenna combination 1 corresponding to the CSI-1 as the target antenna combination.
TABLE 2
Figure 332845DEST_PATH_IMAGE003
The CSI in table 2 represents four quadrant regions of a rectangular coordinate system established with the wireless router as the origin, and as shown in fig. 6, each antenna combination may cover one corresponding quadrant.
For example, the number of the arrays in each CSI group is four values, and the four values represent the multipath information of four antennas in the antenna combination respectively. Taking a real number as an example, the first quadrant is covered by the antenna combination 1, the array corresponding to the CSI-1 may be [0, 1, 0, 0], and it represents that the channel multipath information marked as the second antenna accounts for the main influence factor; the second quadrant is covered by an antenna combination 2, an array corresponding to CSI-2 can be [0, 0, 1, 0], and the indication marks that the channel multipath information corresponding to the third antenna accounts for the main influence factors; the third quadrant is covered by an antenna combination 3, an array corresponding to CSI-3 can be [0, 0, 0, 1], and the channel multipath information marked as the fourth antenna accounts for the main influence factors; the fourth quadrant is covered by an antenna combination 4, and the array corresponding to CSI-4 may be [1, 0, 0, 0], which indicates that the channel multipath information corresponding to the first antenna is the main influence factor.
In addition, the overlapping area between two antenna combinations indicates that two pieces of channel multipath information corresponding to two adjacent antennas in the antenna combination account for the main influence factor. For example, [0, 0, 0.5, 0.5] may indicate that the channel multipath information marked as the third antenna and the fourth antenna is the main influence factor, and the corresponding areas are areas adjacent to the second quadrant and the third quadrant; [0.5, 0, 0, 0.5] can indicate that the channel multipath information marked as the first antenna and the fourth antenna accounts for the main influence factor, and the corresponding areas are the areas adjacent to the third quadrant and the fourth quadrant; [0.5, 0.5, 0, 0] can indicate that the channel multipath information marked as the first antenna and the second antenna accounts for the main influence factor, and the corresponding area is the area adjacent to the fourth quadrant and the first quadrant; [0, 0.5, 0.5, 0] may indicate that channel multipath information labeled as the second antenna and the third antenna is the main influence factor, and the corresponding area is an area adjacent to the first quadrant and the second quadrant. By analogy, according to the difference of the position (distance and phase in the rectangular coordinate system), more corresponding relations of CSI, area and antenna combination can be obtained.
In some embodiments, when the first network data is RSSI, for example, the correspondence may be seen in table 3:
TABLE 3
Figure 462475DEST_PATH_IMAGE004
If the first network data acquired at the first location: RSSI-0 is [ -95dBm, -65dBm, -95dBm ], and it can be determined that the communication quality of antenna combination 1 corresponding to RSSI-0 is the best.
In some embodiments, when the first network data is a BER, for example, the correspondence may be seen in table 4:
TABLE 4
Figure 558738DEST_PATH_IMAGE005
If the first network data acquired at the first location: BER-0 is [ -90%, -0.02%, -90% ]]Then it can be determined that the communication quality of the corresponding antenna combination 1 is the best when BER-0.
In some embodiments, when the first network data is PER, for example, the correspondence may be seen in table 5:
TABLE 5
Figure 912359DEST_PATH_IMAGE006
If the first network data acquired at the first location: PER-0 is [ -90%, -1.1%, -90%, -90% ], it can be determined that the communication quality of the antenna combination 1 corresponding to PER-0 is the best.
In some embodiments, when the first network data is a communication rate, for example, the correspondence relationship may be as shown in table 6:
TABLE 6
Figure 976130DEST_PATH_IMAGE007
If the first network data acquired at the first location: the communication rate-0 is 0bps, 100bps, 0bps, 0bps, it can be determined that the communication quality of the antenna combination 1 corresponding to the communication rate-0 is the best.
In some embodiments, when the first network data is delayed, for example, the correspondence relationship may be as shown in table 7:
TABLE 7
Figure 459851DEST_PATH_IMAGE008
If the first network data acquired at the first location: the delay-0 is [1000ns, 60ns, 1000ns, 1000ns ], it can be determined that the communication quality of the antenna combination 1 corresponding to the delay-0 is the best.
The correspondence relationship is an example, and the specific numerical values of the data and the number of the data in the table are exemplarily shown in an easily understood form, and do not limit the specific data involved in the technical solution of the present application.
And after the wireless router acquires the target antenna combination, updating the target antenna combination to the configuration parameters of the antenna. The wireless router may then invoke the configuration parameter and then control the switch of the corresponding rf path to switch according to the configuration parameter. For example, a general purpose input/output interface (GPIO) sends a control instruction to switches on the radio frequency paths, so that the radio frequency paths are switched, the radio frequency paths corresponding to the antennas in the target antenna combination are opened, and the antennas in the target antenna combination are used to receive and transmit signals in the first frequency band. For example, if the wireless router shown in fig. 2 determines that the target antenna combination includes the omnidirectional antenna 101, the omnidirectional antenna 103, and the directional antenna 107, the switch logic of the radio frequency path may be controlled by a GPIO, the paths of the omnidirectional antenna 101, the omnidirectional antenna 103, and the directional antenna 107 are opened, and the omnidirectional antenna 101, the omnidirectional antenna 103, and the directional antenna 107 are used to transmit and receive signals in the first frequency band. For example, as shown in fig. 9, the wireless router controls the switches to be switched by GPIO, the switches 1-1 and 3-3 are turned on, and the switch 2 is turned on by 1-3.
In fig. 9, the WIFI chip is configured to modulate and demodulate a WIFI signal, the Power Amplifier (PA) is configured to amplify a transmission signal from the WIFI chip, the Low Noise Amplifier (LNA) is configured to amplify a reception signal from the antenna and input the amplified reception 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 (SPDT) switch. Wherein, PA1, PA3, PA5, PA7 are PAs on the transmit path of 2.4G path 1, 2.4G path 2, 2.4G path 3, 2.4G path 4, respectively, and LNAs 1, LNA3, LNA5, LNA7 are LNAs 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 PAs on the transmit path of 5G path 1, 5G path 2, 5G path 3, 5G path 4, and 5G path 5, respectively, and LNA2, LNA4, LNA6, LNA8, and LNA9 are LNAs on the receive path of 5G path 1, 5G path 2, 5G path 3, 5G path 4, and 5G path 5, respectively; the SPDT1 is used to switch 2.4G channel 1 and 5G channel 1, the SPDT2 is used to switch 2.4G channel 2 and 5G channel 2, the SPDT3 is used to switch 2.4G channel 3 and 5G channel 3, the SPDT4 is used to switch 2.4G channel 4 and 5G channel 4, the SPDT5 is used to switch the transceiving channel of 2.4G channel 1, the SPDT6 is used to switch the transceiving channel of 5G channel 1, the SPDT7 is used to switch the transceiving channel of 2.4G channel 2, the SPDT8 is used to switch the transceiving channel of 5G channel 2, the SPDT9 is used to switch the transceiving channel of 2.4G channel 3, the SPDT10 is used to switch the transceiving channel of 5G channel 3, the SPDT11 is used to switch the transceiving channel of 2.4G channel 4, the SPDT12 is used to switch the transceiving channel of 5G channel 4, and the SPDT13 is used to switch the transceiving channel 5G channel 5.
In the embodiment shown in fig. 8, the wireless router may determine the first data gear correlated with each other through the first network data of the terminal device located at the first position, and then search the first data gear in the mapping library, so as to obtain the target antenna combination with good communication quality corresponding to the first data gear. According to the method, a large amount of time and resources are not needed to be spent on traversing all antenna combinations, the first network data is searched in the pre-established mapping library, and the target antenna combination with good communication quality corresponding to the first network data can be timely and accurately determined in an open-loop mode, so that the efficiency of obtaining the antenna combination is higher, the high-gain wave beams can be timely and quickly aligned, the high-speed network connection can be timely established, and the efficiency of antenna switching is improved. Meanwhile, the method can determine the target antenna combination with good communication quality at one time, and can avoid the problem of network switching failure caused by improper antenna combination selection possibly caused by traversing different antenna combinations, thereby avoiding network interruption and improving user experience.
Optionally, before the step S801, the wireless router may further determine whether the connected terminal device is a core device, and if the terminal device is the core device, it indicates that the terminal device is a terminal device with a high-gain beam requirement, for example, a current usage scenario of the terminal device is a game application running with low delay, or a live network application, and the wireless router may determine that a high-rate and low-delay communication channel needs to be established by using a second frequency, for example, a frequency of WIFI-5G, in a state where a high-gain beam is aligned at this time, and then start the step of acquiring the first network data. If the terminal device is not a core device and does not have a high-gain beam requirement, the communication requirement can be met by using a first frequency band with low frequency, for example, the frequency of WIFI-2.4G, to communicate between the wireless router and the terminal device, so that the step of acquiring first network data is not required, the network connection does not need to be switched, and the system overhead can be saved.
Optionally, the core device may also be a terminal device with a special identifier, for example, a user of the terminal device is an important client, and the special identifier represents that the terminal device needs to preferentially ensure a high rate and a low delay of communication through high-gain beam alignment.
In some embodiments, the wireless router may periodically monitor a handover status of the network connection with the terminal device, and may trigger the step of acquiring the first network data if the network connection is found to be handed over to the low speed network.
In some embodiments, the wireless router obtaining the first network data may also be triggered in response to a request by the terminal device. For example, when the terminal device monitors that the network connection with the wireless router is switched from WIFI-5G to WIFI-2.4G, an antenna switching request (which may also be referred to as a request for activating high-gain beam pointing alignment) may be sent to the wireless router through the network connection with WIFI-2.4G, and the wireless router acquires current first network data and queries in a mapping library based on the antenna switching request, thereby acquiring a target antenna combination and implementing high-gain beam alignment. In the method, the wireless router responds to the antenna switching request sent by the terminal equipment to trigger the process of acquiring the target antenna combination, so that a fixed monitoring period does not need to wait for coming, the waiting time is reduced, the antenna combination is acquired more efficiently, and the user experience is improved.
During the use of the wireless router, there may be a shift in position or a shift in direction, for example, when a user accidentally touches the wireless router while plugging or unplugging the power supply, or the user actively changes the position of the wireless router. At this time, the mapping library established before may not correctly indicate the required antenna combination, so the corresponding relationship in the mapping library may be updated again to ensure the accuracy of the corresponding relationship, and further ensure the communication quality.
Optionally, the updating process may be initiated actively by the user using the terminal device, for example, a guiding procedure of the terminal device is opened to update the corresponding relationship of the terminal device, so as to obtain an updated mapping library as soon as possible, and ensure the efficiency of antenna switching.
Optionally, the updating process may also be triggered when the network connection of the WIFI-5G fails or the communication quality of the WIFI-5G does not meet the use requirement, for example, when the wireless router performs the communication of the WIFI-5G according to the antenna combination indicated in the mapping library, the communication rate is too low or the delay is too high, the wireless router may obtain the network data of the WIFI-2.4G again in the background, and traverse the antenna combination of the WIFI-5G again to update the corresponding relationship. For the way of updating the corresponding relationship, reference may be made to the specific description of establishing the corresponding relationship in the foregoing text, and details are not described here again. In the embodiment, the wireless router learns the new corresponding relation at the background and updates the mapping library, so that the mapping library is ensured to be accurate without user operation, the mapping library is automatically updated under the condition that a user does not sense the mapping library, and the use of the user is facilitated.
For a complete description of the technical solution of the present application, a complete process for obtaining an antenna combination is described below with a specific embodiment. Taking a scenario that a wireless router acquires communication with a terminal device by using a frequency band of WIFI-5G as an example, the method may be as shown in fig. 10, and includes:
s1001, when the terminal device is accessed to the wireless router for the first time, the wireless router determines whether the terminal device is a mobile device.
S1002A, when the terminal device is a mobile device, the wireless router obtains multiple groups of corresponding relations of the terminal device at multiple positions through a user guiding mode or a self-learning mode of the terminal device to establish a mapping library.
S1002B, when the terminal device is a non-movable device, the wireless router obtains a set of corresponding relations of the terminal device at a fixed position through a user guiding mode or a self-learning mode of the terminal device to establish a mapping library.
And S1003, establishing a mapping library according to the corresponding relation.
And S1004, when the wireless router and the terminal equipment adopt WIFI-2.4G for communication, the wireless router acquires WIFI-2.4G network data.
S1005, searching in a mapping library according to the obtained WIFI-2.4G network data to obtain a target antenna combination corresponding to the WIFI-2.4G network data.
S1006, the configuration parameters of the target antenna combination are sent to a path switch of the wireless router to indicate path switching.
And S1007, after the path is switched, acquiring WIFI-5G network data by using the antenna in the target antenna combination.
And S1008, when the WIFI-5G network data do not meet the communication requirements, re-acquiring the corresponding relation to update the mapping library.
The implementation principle and the technical effect of each step in this embodiment may be referred to in the foregoing, and are not described herein again.
Examples of the methods provided herein are described in detail above. It is understood that the corresponding apparatus contains hardware structures and/or software modules for performing the functions in order to realize the functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed in hardware or computer software drives 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 perform functional module division on the apparatus for obtaining an 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 module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
Fig. 11 shows a schematic structural diagram of an apparatus for obtaining an antenna combination provided in the present application. The apparatus 1100 is applied to an electronic device, which is used for communicating with a terminal device, and comprises:
an obtaining module 1101, configured to obtain first network data when communicating with a terminal device in a first frequency band, where the first network data is used to represent a communication state when communicating with the terminal device at a first location in the first frequency band;
a determining module 1102, configured to search in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data; the target antenna combination and the terminal device adopt a combination form of an antenna called when a second frequency band is used for communication, the mapping library comprises a corresponding relation between at least one data gear and at least one antenna combination, the at least one data gear comprises a first data gear, the first data gear is associated with first network data, the at least one antenna combination comprises the target antenna combination, and the frequency of the second frequency band is higher than that of the first frequency band.
In some embodiments, the system further includes a library building module, configured to obtain first network data and second network data when the terminal device is located at the first position, where the second network data is used to characterize a communication state when the target antenna combination adopts the second frequency band for communication, and the communication state characterized by the second network data meets a preset communication requirement; and determining that the first network data and the target antenna combination have a corresponding relation so as to generate a mapping library.
In some embodiments, the second network data is a set of network test data whose communication quality meets a preset communication requirement among multiple sets of network test data, the multiple sets of network test data include first network test data, the first network test data is used for characterizing the communication quality when the second frequency band is used for communication through a first antenna combination of multiple antenna combinations, the first antenna combination is any one of the multiple antenna combinations, and the multiple sets of network test data and the multiple antenna combinations are in one-to-one correspondence.
In some embodiments, when the preset communication requirement is a requirement of a communication rate, the second network data is a group of network test data representing the highest communication rate in the plurality of groups of network test data; when the preset communication requirement is a delay requirement, the second network data is a group of network test data with the lowest representation delay in the multiple groups of network test data; when the preset communication requirement is the requirement of the bit error rate, the second network data is a group of network test data representing the lowest bit error rate in the plurality of groups of network test data; when the preset communication requirement is a requirement of packet loss rate, the second network data is a group of network test data representing the lowest packet loss rate in the multiple groups of network test data; when the preset communication requirement is a requirement of a Received Signal Strength Indicator (RSSI), the second network data is a group of network test data which represents the maximum RSSI in the plurality of groups of network test data.
In some embodiments, when the terminal device is a non-removable device, the mapping library includes a set of correspondences associated with the terminal device; when the terminal device is a movable device, the mapping library has a plurality of sets of corresponding relationships associated with the terminal device, each set of corresponding relationships is obtained when the terminal device is located at one of a plurality of positions, and the plurality of positions include the first position.
In some embodiments, when the data gear is a network data range, the determining module 1102 is specifically configured to search in the mapping library according to the first network data to obtain a first network data range where the first network data is located, and determine that an antenna combination corresponding to the first network data range in the mapping library is a target antenna combination.
In some embodiments, when the data gear is network data, the determining module 1102 is specifically configured to determine a difference between the first network data and each network data in the mapping library, and determine that the antenna combination corresponding to the network data with the smallest difference in the mapping library is a target antenna combination.
In some embodiments, the obtaining module 1101 is specifically configured to obtain the first network data when the terminal device is a core device, where the core device is a device with a high-gain beam requirement.
In some embodiments, the obtaining module 1101 is specifically configured to receive an antenna switching request from a terminal device, and obtain the first network data in response to the antenna switching request.
In some embodiments, the first frequency band is a 2.4G frequency band of WIFI and the second frequency band is a 5G frequency band of WIFI.
In some embodiments, the first network data comprises channel state information, CSI.
In some embodiments, the mobile terminal further includes an updating module, configured to acquire third network data, where the third network data is used to characterize communication quality when the terminal device communicates using the second frequency band, and update the mapping library when the third network data does not meet a preset communication requirement.
The specific manner of implementing the method for obtaining the antenna combination and the beneficial effects thereof by the apparatus 1100 may be referred to in the description of the method embodiment, and are not described herein again.
The embodiment of the application also provides electronic equipment which comprises the processor. The electronic device provided by this embodiment may be the wireless router 100 shown in fig. 1, and is configured to perform the above method for obtaining an antenna combination. 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, and for example, may be configured to support the electronic device to perform steps performed by the display unit, the detection unit, and the processing unit. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
In some embodiments, the electronic device may be a wireless router.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other terminal devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the terminal device according to this embodiment may be a device having a structure shown in fig. 1.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the method for acquiring an antenna combination according to any one of the above embodiments.
The embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the method for obtaining an antenna combination in the above embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, the replaced units may or may not be physically separated, and the components shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the 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 conceive of the changes or substitutions within the technical scope of the present application, and shall 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 (15)

1. A method for obtaining antenna combination, applied to an electronic device, the electronic device being used for communicating with a terminal device, includes:
when the terminal equipment adopts a first frequency band for communication, acquiring first network data, wherein the first network data is used for representing a communication state when the terminal equipment at a first position uses the first frequency band for communication;
searching in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data;
the target antenna combination is an antenna combination called when the terminal device communicates with a second frequency band, the mapping library comprises a corresponding relation between at least one data gear and at least one antenna combination, the at least one data gear comprises a first data gear, the first data gear is associated with the first network data, the at least one antenna combination comprises the target antenna combination, and the frequency of the second frequency band is higher than that of the first frequency band.
2. The method of claim 1, wherein the obtaining of the mapping library comprises:
when the terminal device is located at the first position, acquiring the first network data and second network data, wherein the second network data is used for representing a communication state when the second frequency band is adopted for communication through the target antenna combination, and the communication state represented by the second network data meets a preset communication requirement;
determining that the first network data and the target antenna combination have the correspondence to generate the mapping library.
3. The method according to claim 2, wherein the second network data is one of a plurality of sets of network test data, the communication quality of which meets the preset communication requirement, the plurality of sets of network test data includes first network test data, the first network test data is used for characterizing the communication quality when the second frequency band is used for communication through a first antenna combination of a plurality of antenna combinations, the first antenna combination is any one of the plurality of antenna combinations, and the plurality of sets of network test data and the plurality of antenna combinations are in one-to-one correspondence.
4. The method according to claim 3, wherein when the preset communication requirement is a communication rate requirement, the second network data is a group of network test data representing a highest communication rate among the plurality of groups of network test data;
when the preset communication requirement is a delay requirement, the second network data is a group of network test data with the lowest characteristic delay in the multiple groups of network test data;
when the preset communication requirement is a requirement of bit error rate, the second network data is a group of network test data representing the lowest bit error rate in the plurality of groups of network test data;
when the preset communication requirement is a requirement of packet loss rate, the second network data is a group of network test data representing the lowest packet loss rate in the plurality of groups of network test data;
and when the preset communication requirement is a requirement of Received Signal Strength Indicator (RSSI), the second network data is a group of network test data representing the maximum RSSI in the multiple groups of network test data.
5. The method according to claim 1, wherein when the terminal device is a non-removable device, the correspondence associated with the terminal device in the mapping library is a group; when the terminal device is a movable device, the corresponding relations associated with the terminal device in the mapping library are multiple groups, and each group of the corresponding relations is a relation obtained when the terminal device is located at one of multiple positions, where the multiple positions include the first position.
6. The method according to claim 1, wherein when the data gear is a network data range, the finding in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data comprises:
searching in the mapping library according to the first network data to obtain a first network data range where the first network data is located;
and determining the antenna combination corresponding to the first network data range in the mapping base to be the target antenna combination.
7. The method according to claim 1, wherein when the data gear is network data, the finding in a preset mapping library according to the first network data to obtain a target antenna combination corresponding to the first network data comprises:
determining a degree of difference between the first network data and each of the network data in the mapping library;
and determining the antenna combination corresponding to the network data with the minimum difference in the mapping library to be the target antenna combination.
8. The method of any of claims 1 to 7, wherein the obtaining the first network data comprises:
and when the terminal equipment is core equipment, acquiring the first network data, wherein the core equipment is equipment with high-gain beam requirements.
9. The method of any of claims 1 to 7, wherein the obtaining the first network data comprises:
receiving an antenna switching request from the terminal equipment;
and responding to the antenna switching request, and acquiring the first network data.
10. The method of any one of claims 1 to 7, wherein the first frequency band is a 2.4G frequency band for WIFI, and the second frequency band is a 5G frequency band for WIFI.
11. The method according to any of claims 1 to 7, characterized in that the first network data comprises channel state information, CSI.
12. The method according to any one of claims 1 to 7, further comprising:
acquiring third network data, wherein the third network data is used for representing the communication quality when the terminal equipment uses the second frequency band for communication;
and if the third network data does not meet the preset communication requirement, updating the mapping library.
13. 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-12.
14. The electronic device of claim 13, wherein the electronic device is a wireless router.
15. A computer-readable storage medium, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the method of any one of claims 1 to 12.
CN202210502499.0A 2022-05-10 2022-05-10 Method for acquiring antenna combination, electronic device and computer readable storage medium Active CN114598371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210502499.0A CN114598371B (en) 2022-05-10 2022-05-10 Method for acquiring antenna combination, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210502499.0A CN114598371B (en) 2022-05-10 2022-05-10 Method for acquiring antenna combination, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114598371A true CN114598371A (en) 2022-06-07
CN114598371B CN114598371B (en) 2022-09-09

Family

ID=81813566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210502499.0A Active CN114598371B (en) 2022-05-10 2022-05-10 Method for acquiring antenna combination, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114598371B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106252889A (en) * 2016-07-25 2016-12-21 深圳天珑无线科技有限公司 The switching method of frequency range, antenna and the back cover of terminal
CN106954237A (en) * 2017-05-25 2017-07-14 青岛海信宽带多媒体技术有限公司 A kind of Wi Fi frequency band adaptives changing method and device
CN108377157A (en) * 2018-01-31 2018-08-07 维沃移动通信有限公司 A kind of control method and device of Wi-Fi antennas
US20190029055A1 (en) * 2017-07-21 2019-01-24 Motorola Mobility Llc Dynamically Reconfiguring Connection Types Associated with a Wireless Networking Device
CN109861697A (en) * 2019-01-23 2019-06-07 努比亚技术有限公司 Antenna performance optimization method and device, terminal and computer readable storage medium
CN110635822A (en) * 2019-09-27 2019-12-31 维沃移动通信有限公司 Antenna control method and electronic equipment
US20200037383A1 (en) * 2018-07-30 2020-01-30 Qualcomm Incorporated Carrier switching and antenna switching for long term evolution and new radio dual connectivity
US10567134B1 (en) * 2017-02-16 2020-02-18 Quantenna Communications, Inc. WiFi antenna selection with beamforming
CN111629389A (en) * 2020-04-07 2020-09-04 普联技术有限公司 Method, device and storage medium for improving wireless performance of network equipment
CN112771788A (en) * 2018-12-20 2021-05-07 华为技术有限公司 Antenna selection method and terminal
WO2022000214A1 (en) * 2020-06-29 2022-01-06 Oppo广东移动通信有限公司 Communication method and apparatus, and readable storage medium
CN114285433A (en) * 2020-09-27 2022-04-05 Oppo广东移动通信有限公司 Wireless communication assembly, method and terminal equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106252889A (en) * 2016-07-25 2016-12-21 深圳天珑无线科技有限公司 The switching method of frequency range, antenna and the back cover of terminal
US10567134B1 (en) * 2017-02-16 2020-02-18 Quantenna Communications, Inc. WiFi antenna selection with beamforming
CN106954237A (en) * 2017-05-25 2017-07-14 青岛海信宽带多媒体技术有限公司 A kind of Wi Fi frequency band adaptives changing method and device
US20190029055A1 (en) * 2017-07-21 2019-01-24 Motorola Mobility Llc Dynamically Reconfiguring Connection Types Associated with a Wireless Networking Device
CN108377157A (en) * 2018-01-31 2018-08-07 维沃移动通信有限公司 A kind of control method and device of Wi-Fi antennas
US20200037383A1 (en) * 2018-07-30 2020-01-30 Qualcomm Incorporated Carrier switching and antenna switching for long term evolution and new radio dual connectivity
CN112771788A (en) * 2018-12-20 2021-05-07 华为技术有限公司 Antenna selection method and terminal
CN109861697A (en) * 2019-01-23 2019-06-07 努比亚技术有限公司 Antenna performance optimization method and device, terminal and computer readable storage medium
CN110635822A (en) * 2019-09-27 2019-12-31 维沃移动通信有限公司 Antenna control method and electronic equipment
CN111629389A (en) * 2020-04-07 2020-09-04 普联技术有限公司 Method, device and storage medium for improving wireless performance of network equipment
WO2022000214A1 (en) * 2020-06-29 2022-01-06 Oppo广东移动通信有限公司 Communication method and apparatus, and readable storage medium
CN114285433A (en) * 2020-09-27 2022-04-05 Oppo广东移动通信有限公司 Wireless communication assembly, method and terminal equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HALIM BOUTAYEB等: ""Beam switching collocated antennas for WLAN systems"", 《 12TH EUROPEAN CONFERENCE ON ANTENNAS AND PROPAGATION (EUCAP 2018)》 *
任文静: "" 面向高频高速的5G多天线波束管理技术研究"", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN114598371B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN110959259B (en) Adaptive antenna configuration
US11057098B2 (en) Methods of antenna system control in massive MIMO systems
US8116694B2 (en) System for facilitating beam training
Wang et al. Beam codebook based beamforming protocol for multi-Gbps millimeter-wave WPAN systems
KR101226367B1 (en) Method, apparatus, and storage medium for association and re-association in a wireless network
CN107078775B (en) Method and system for beam alignment over directional wireless links
US10587328B2 (en) Operating a wireless communication system
CN111526565B (en) Reference signal management method, device and system
CN112153716B (en) Transmission path selection method and device and storage medium
KR20140092951A (en) Method and apparatus for fast beam-link construction scheme in the mobile communication system
KR102122808B1 (en) Method of, and apparatus for, controlling a wireless connection in a mimo system using multi-sector directional antennas
JP2002050988A (en) Array antenna base station equipment
CN109698716A (en) A kind of control method and system of intelligent antenna system
CN114900218B (en) Method for acquiring antenna combination, electronic device and computer readable storage medium
US20200229003A1 (en) Access Point Device and Communication Method
CN114598371B (en) Method for acquiring antenna combination, electronic device and computer readable storage medium
GB2514548A (en) Method of configuring a high-frequency radio module, associated multiband radio communication device and system
KR20220129438A (en) An communication device including a plurality of antenna modules and method of operation thereof
CN117040574B (en) Method for acquiring antenna combination, electronic device and computer readable storage medium
Wang et al. Joint Switched-Beam Training and Rate Adaptation Schemes for MIMO WLANs
CN115225110A (en) Antenna switching method and device, electronic equipment and readable storage medium
CN116388856A (en) Antenna control method and device
Sandhu et al. Adaptive antenna system for PACS

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