Antenna, antenna control method, electronic equipment and storage medium

By selecting the optimal communication path through spherically arranged antenna elements and control units, the problem of signal attenuation on the side or back of a two-dimensional planar antenna array is solved, achieving omnidirectional coverage and efficient communication.

CN121940001APending Publication Date: 2026-04-28IFLYTEK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
IFLYTEK CO LTD
Filing Date
2026-02-10
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the prior art, the antenna elements are set on a two-dimensional plane, which causes a sharp increase in beam pointing loss when the device is on the side or back of the array, resulting in a serious deterioration of signal quality and poor communication performance.

Method used

It employs a wireless communication unit, a control unit, and multiple antenna units. Each antenna unit radiates in a preset direction and is combined into a sphere to cover all directions of space. The control unit selects the optimal antenna unit for communication based on communication quality parameters and communicates with the terminal through the target antenna unit.

Benefits of technology

It achieves improved communication performance in any location and under moving conditions, ensures optimal signal quality, avoids signal attenuation in specific directions, and improves communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121940001A_ABST
    Figure CN121940001A_ABST
Patent Text Reader

Abstract

The invention relates to an antenna, an antenna control method, electronic equipment and a storage medium, which are applied to the technical field of communication, and the antenna comprises a wireless communication unit, a control unit and a plurality of antenna units, each antenna unit performs directional radiation according to a respective preset radiation direction, all the antenna units are combined to form a sphere, and the radiation range of all the antenna units can cover each direction of a space; the control unit is used for acquiring communication quality parameters of communication between each antenna unit and the terminal under the condition that an antenna regulation and control triggering condition is met; determining a target antenna unit with the best communication quality in a plurality of antenna units according to the communication quality parameters; and controlling the wireless communication unit to communicate with the terminal through the target antenna unit, wherein the antenna regulation and control triggering condition is used for indicating that the antenna unit for communication in the antenna needs to be adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to an antenna, an antenna control method, an electronic device, and a storage medium. Background Technology

[0002] With the widespread adoption of smart terminals (such as mobile phones, tablets, and smart screens) and their associated wireless peripherals (such as wireless headphones, wireless speakers, and smart pens), the density of indoor wireless communication has increased dramatically.

[0003] In related technologies, a beamforming scheme based on a planar massive MIMO antenna array is employed. This scheme typically involves multiple antenna elements arranged in a specific pattern (such as a rectangular grid) on a two-dimensional plane. The system controls the phase and amplitude of each antenna element through a baseband processing chip, causing the signals emitted by multiple antenna elements to be superimposed in phase in a specific direction in space, forming a high-gain narrow beam. Through algorithmic calculations, this beam can be scanned in a one-dimensional or two-dimensional plane to align with the target device.

[0004] However, this method typically limits the beam scanning range to a certain angle on the front of the array. When the target device moves to the side or back of the array, the beam pointing loss increases sharply, the signal quality deteriorates severely, and consequently, the communication performance is poor. Summary of the Invention

[0005] This application provides an antenna, an antenna control method, an electronic device, and a storage medium to solve the problem in the prior art where placing the antenna element on a two-dimensional plane causes a sharp increase in beam pointing loss and a serious deterioration in signal quality when the device is on the side or back of the array, resulting in poor communication performance.

[0006] According to a first aspect of the embodiments of this application, an antenna is provided, including: a wireless communication unit, a control unit, and a plurality of antenna units; Each antenna element radiates in a directional manner according to its own preset radiation direction. All the antenna elements are combined to form a sphere, and the radiation range of all the antenna elements can cover all directions of space. The control unit is configured to, when the antenna adjustment trigger condition is met, acquire the communication quality parameters between each antenna element and the terminal; determine the target antenna element with the best communication quality among the multiple antenna elements based on the communication quality parameters; and control the wireless communication unit to communicate with the terminal through the target antenna element. The antenna adjustment trigger condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted.

[0007] Optionally, the antenna may further include an antenna carrier and a switching unit; The antenna carrier is spherical, and the plurality of antenna elements are disposed on the antenna carrier; The switching unit is connected to the wireless communication unit; The control unit controls the wireless communication unit to communicate with the terminal through the target antenna unit, including: The control unit controls the switching unit to connect with the target antenna unit, so that the wireless communication unit can communicate with the terminal through the target antenna unit.

[0008] Optionally, when there are multiple target antenna elements, the control unit is further configured to: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

[0009] According to a second aspect of the embodiments of this application, a method for controlling an antenna is provided. The antenna includes a wireless communication unit, a control unit, and a plurality of antenna units. Each antenna unit radiates directionally according to its own preset radiation direction. All the antenna units are combined to form a spherical shape, and the radiation range of all the antenna units can cover all directions of space. The antenna control method is applied to the control unit. The method includes: When the antenna adjustment triggering condition is met, the communication quality parameters of each antenna element in the antenna communicating with the terminal are obtained. The antenna adjustment triggering condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted. Based on the communication quality parameters, determine the target antenna element with the best communication quality among the plurality of antenna elements; The wireless communication unit is controlled to communicate with the terminal through the target antenna unit.

[0010] Optionally, the antenna further includes a switching unit connected to the wireless communication unit. The step of obtaining the communication quality parameters of each antenna element in the antenna communicating with the terminal includes: The switching unit controls the sequential connection of each antenna unit; Each time the wireless communication unit in the antenna is connected to the antenna unit, it communicates with the terminal based on the connected antenna unit and obtains the communication quality parameters of the communication between the antenna unit and the terminal during the communication.

[0011] Optionally, when there are multiple target antenna elements, the method further includes: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

[0012] Optionally, determining the second spatial coordinates of the terminal based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters includes: Based on the communication quality parameters, the communication delay between the candidate antenna and the terminal is determined; The communication length is determined based on the communication delay and the radiation direction; The second spatial coordinates are determined based on the communication length and the first spatial coordinates.

[0013] Optionally, the antenna modulation triggering conditions include: The time interval between the detected connection request from the terminal and the most recent acquisition of the communication quality parameters of each antenna element in the antenna is a preset time, or the communication quality parameters of the target antenna element are less than a preset value.

[0014] According to a third aspect of the embodiments of this application, an antenna control device is provided. The antenna includes a wireless communication unit, a control unit, and a plurality of antenna units. Each antenna unit radiates directionally according to its own preset radiation direction. All the antenna units are combined to form a spherical shape, and the radiation range of all the antenna units can cover all directions of space. The antenna control method is applied to the control unit. The device includes: The acquisition module is used to acquire the communication quality parameters of each antenna element in the antenna communicating with the terminal when the antenna adjustment trigger condition is met. The antenna adjustment trigger condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted. The determination module is used to determine the target antenna element with the best communication quality among multiple antenna elements based on the communication quality parameters; A control module is used to control the wireless communication unit to communicate with the terminal through the target antenna unit.

[0015] According to a fourth aspect of the embodiments of this application, an electronic device is provided, including an antenna, a memory, and a processor; the antenna includes a wireless communication unit, a control unit, and a plurality of antenna units; each antenna unit radiates directionally according to a preset radiation direction, all the antenna units are combined to form a sphere, and the radiation range of all the antenna units can cover all directions of space; The memory is connected to the processor and is used to store programs; The processor is used to implement the antenna control method as described in the second aspect by running the program in the memory.

[0016] According to a fifth aspect of the present application, a storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the antenna control method as described in the second aspect.

[0017] According to a sixth aspect of the present application, a computer program product is provided, including computer program instructions that, when executed by a processor, cause the processor to perform the antenna control method as described in the second aspect.

[0018] Compared with the prior art, the technical solution provided in this application has the following advantages: The antenna provided in this application includes: a wireless communication unit, a control unit, and multiple antenna units; each antenna unit radiates directionally according to its own preset radiation direction, and the combination of all antenna units forms a sphere, and the radiation range of all antenna units can cover all directions of space; the control unit is used to acquire the communication quality parameters of each antenna unit communicating with the terminal when the antenna adjustment trigger condition is met; determine the target antenna unit with the best communication quality among the multiple antenna units according to the communication quality parameters; control the wireless communication unit to communicate with the terminal through the target antenna unit, and the antenna adjustment trigger condition is used to indicate that the antenna unit communicating in the antenna needs to be adjusted. In this way, by setting multiple antenna units, the radiation range of all antenna units can cover all directions of space, so that the terminal can be radiated by antenna units at any position. Even if the terminal moves, the target antenna unit with the best communication quality can be selected to communicate with the terminal by acquiring the communication quality parameters of each antenna unit, thereby improving the communication effect. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0020] Figure 1 A structural diagram of an antenna is provided for one embodiment of this application.

[0021] Figure 2 A structural diagram of an antenna is provided for another embodiment of this application.

[0022] Figure 3 A structural diagram of an antenna is provided for another embodiment of this application.

[0023] Figure 4 A schematic diagram of the control logic of the logic control unit in an antenna is provided for one embodiment of this application.

[0024] Figure 5 A flowchart of an antenna control method provided in one embodiment of this application is shown.

[0025] Figure 6 A flowchart of an antenna control method is provided for another embodiment of this application.

[0026] Figure 7 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0028] Exemplary Implementation Environment The antenna control method according to embodiments of this application can be executed by electronic devices such as terminal devices or servers. The terminal device can be user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc. The server can be an independent physical server, a server cluster composed of multiple physical servers, or a cloud server capable of cloud computing. This method can be implemented by a processor calling computer-readable program instructions stored in memory. This application uses the example of the antenna control method being executed by a server for explanation, but does not limit it.

[0029] Exemplary device Please see Figure 1In one exemplary embodiment, an antenna is provided, including: a wireless communication unit 1, a control unit 2, and a plurality of antenna units 3; Each antenna element radiates in a directional manner according to its own preset radiation direction. All the antenna elements are combined to form a sphere, and the radiation range of all the antenna elements can cover all directions of space. The control unit is used to acquire communication quality parameters between each antenna unit and the terminal when the antenna adjustment trigger condition is met; determine the target antenna unit with the best communication quality among multiple antenna units based on the communication quality parameters; control the wireless communication unit to communicate with the terminal through the target antenna unit, and the antenna adjustment trigger condition is used to indicate that the antenna unit communicating in the antenna needs to be adjusted.

[0030] In some embodiments, multiple antenna elements are configured, and all the antenna elements are combined to form a spherical shape. The radiation range of all the antenna elements can cover all directions in space, so that the terminal can be radiated by antenna elements at any position. Even if the terminal moves, the communication quality parameters of each antenna element can be obtained to select the target antenna element with the best communication quality to communicate with the terminal, thereby improving the communication effect.

[0031] Among them, the communication quality parameter can be, but is not limited to, the Signal Strength Indicator (RSSI) value. The RSSI value is a key indicator in the field of wireless communication used to measure the power of the radio frequency signal captured by the antenna at the receiving end. It reflects the degree of signal propagation loss between the transmitting end and the receiving end and is one of the core bases for judging the quality of the wireless link, the distance, and whether it is necessary to switch channels / base stations.

[0032] The wireless communication unit can be, but is not limited to, a WIFI / BT (Bluetooth) transceiver, through which signals are transmitted and received.

[0033] The control unit may be, but is not limited to, a logic control unit, which includes an MCU processor that provides processing capabilities for subsequent scanning programs and control of switching units.

[0034] Antenna elements can be, but are not limited to, horn antennas. An antenna element can be in the form of a sphere, with its maximum radiation direction being either the outward normal or the tangent direction pointing towards the sphere. Each antenna element radiates directionally in its radiation direction and within a certain angular range. By setting multiple antenna elements, the radiation ranges of each antenna element overlap, thereby enabling the antenna's radiation range to cover all directions in space.

[0035] Among them, the horn antenna is a widely used microwave antenna. Its advantages include simple structure, wide bandwidth, large power capacity, and convenient adjustment and use. The basic form of the horn antenna is formed by gradually expanding the opening of a rectangular or circular waveguide. Because the opening of the waveguide is gradually expanded, the matching between the waveguide and free space is improved, resulting in a small reflection coefficient in the waveguide. That is, most of the energy transmitted in the waveguide is radiated by the horn, and the reflected energy is very small.

[0036] In an optional embodiment, the antenna further includes: an antenna carrier and a switching unit; The antenna carrier is spherical, and the plurality of antenna elements are disposed on the antenna carrier; The switching unit is connected to the wireless communication unit; The control unit controls the wireless communication unit to communicate with the terminal through the target antenna unit, including: The control unit controls the switching unit to connect with the target antenna unit, so that the wireless communication unit can communicate with the terminal through the target antenna unit.

[0037] In some embodiments, the antenna carrier can be a spherical or near-spherical polyhedral structure. Mounting slots for installing each antenna element are provided on the antenna carrier, and the antenna elements are installed in the mounting slots to obtain... Figure 2 The antenna shown.

[0038] The antenna elements can be uniformly distributed on the antenna carrier to minimize mutual coupling between the elements and ensure consistent electrical performance across all elements. This results in a spherical antenna structure that provides comprehensive coverage in all spatial directions.

[0039] The switching unit can be, but is not limited to, a multi-channel radio frequency switching network, which can selectively connect only one or a group of specific antenna units to the transceiver at any given time.

[0040] It is understandable that the switching unit can also be a high-speed radio frequency switching matrix, which can be integrated into the above-mentioned logic control unit. The logic control unit generates control signals according to the preset scanning strategy to quickly switch the current switching matrix to the target antenna unit.

[0041] See Figure 3 Taking a switch matrix as the switching unit, an MCU as the control unit, and a WIFI / BT as the wireless communication unit as an example, the MCU sends control signals (CTL) to the switch matrix, and the switch matrix selects the corresponding antenna unit for connection. Figure 3 The circles on the edge of the switch matrix represent the connection terminals for connecting antenna elements.

[0042] In an optional embodiment, when there are multiple target antenna elements, the control unit is further configured to: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

[0043] In some embodiments, since each antenna element is configured on the antenna, and the spatial position of each antenna element on the antenna can be determined after the antenna is installed, the spatial position of the terminal can be determined by the relevant information of multiple antenna elements connected to the terminal, thereby enabling precise positioning of the terminal.

[0044] The control unit determines a preset number (e.g., the first 3) of candidate antenna units with the best communication quality based on communication quality parameters. Since the spatial position of the antenna units is fixed, after determining the candidate antenna units, the first spatial coordinates, radiation direction and communication quality parameters of each candidate antenna unit can be obtained. The second spatial coordinates of the terminal are calculated using triangulation or fingerprint positioning algorithms.

[0045] Specifically, the communication delay between each candidate antenna element and the terminal is determined, and the communication distance between the candidate antenna element and the terminal is determined using the communication delay and communication quality parameters. Based on the communication distance between each candidate antenna element and the terminal and the first spatial coordinates of the candidate antenna elements, the second spatial coordinates of the terminal are solved by using a set solution method with the first spatial coordinates as the origin and the communication distance as the radius.

[0046] For example, taking a candidate antenna element count of three as an example, we can substitute the following formula: (x-x1) 2 +(y-y1) 2 =d1 2 ; (x-x2) 2 +(y-y2) 2 =d2 2 ; (x-x3) 2 +(y-y3) 2 =d3 2 ; Where x1 and y1 represent the abscissa and ordinate of the first candidate antenna element in the first spatial coordinate system, respectively; d1 represents the communication distance between the first candidate antenna element and the terminal; x2 and y2 represent the abscissa and ordinate of the second candidate antenna element in the first spatial coordinate system, respectively; d2 represents the communication distance between the second candidate antenna element and the terminal; x3 and y3 represent the abscissa and ordinate of the third candidate antenna element in the first spatial coordinate system, respectively; d3 represents the communication distance between the third candidate antenna element and the terminal; and x and y represent the abscissa and ordinate of the terminal in the second spatial coordinate system, respectively.

[0047] The antenna in this application includes a logic control unit, a WiFi transceiver, and an antenna matrix. The antenna matrix includes multiple antenna elements. The logic control unit includes a control unit (MCU) and a switch matrix. This logic control unit can be implemented in the following manner (see [reference]). Figure 4 The MCU has a preset scanning strategy. The program controls a switch matrix to connect each antenna element sequentially. The Wi-Fi transceiver reads the RSSI and sends the value back to the MCU. The MCU establishes a real-time RSSI switch matrix mapping table, selects the target antenna element based on the RSSI value in the table, and then controls the switch matrix to connect to that target antenna element. This enables omnidirectional, seamless signal tracking and enhancement of mobile devices in three-dimensional space, avoiding signal attenuation in specific directions while reducing the complexity of beam management algorithms.

[0048] Exemplary methods In one exemplary embodiment, a method for controlling an antenna is provided. The antenna includes a wireless communication unit, a control unit, and multiple antenna elements. Each antenna element radiates in a directional manner according to its preset radiation direction. All antenna elements are combined to form a spherical shape, and the radiation range of all antenna elements can cover all directions in space. The antenna control method is applied to the control unit. Specifically, the specific structure and embodiments of this antenna can be found in the aforementioned related embodiments, and will not be repeated here.

[0049] Please see Figure 5 The antenna control method provided in this application includes: Step 501: Under the condition that the antenna adjustment triggering condition is met, obtain the communication quality parameters of each antenna element in the antenna communicating with the terminal. The antenna adjustment triggering condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted.

[0050] In some embodiments, when the antenna meets the antenna adjustment triggering conditions, it indicates that the antenna element communicating in the antenna needs to be adjusted. This can occur when the terminal requests to connect to the antenna, or after the terminal has connected to the antenna.

[0051] After antenna initialization, the wireless communication unit is operational. It periodically broadcasts beacon frames as an Access Point (AP) or scans the environment as a Site Station (STA) to achieve the core interaction mechanism for device discovery and network access. These two mechanisms work together to establish a link. After antenna initialization, a specific antenna element or a group of antenna elements can be used for omnidirectional listening. When a terminal (such as a smartphone) initiates a connection request or is already connected, the antenna array scanning process is triggered. During the scanning process, the communication quality parameters of each antenna element are acquired.

[0052] In an optional embodiment, the antenna further includes a switching unit connected to the wireless communication unit. The step of obtaining the communication quality parameters of each antenna element in the antenna communicating with the terminal, i.e., the scanning process described above, includes: The control switch unit is connected to each antenna unit in sequence; Each time the antenna unit is connected, the wireless communication unit in the antenna communicates with the terminal based on the connected antenna unit and obtains the communication quality parameters of the communication between the antenna unit and the terminal during the communication.

[0053] In some embodiments, the control unit can sequentially switch and activate each antenna element in a predetermined order (e.g., according to the antenna element numbers from 1 to n). Each time an antenna element is activated, the transceiver conducts a brief communication with the terminal through that antenna element (e.g., sending a probe request / response) and records the communication quality parameters of the received signal corresponding to that antenna element at that moment.

[0054] After obtaining the communication quality parameters of each antenna element, the control unit can establish a mapping table between the antenna element number and the communication quality parameters, and store the mapping table.

[0055] The communication quality parameter may be, but is not limited to, the Signal Strength Indication (RSSI) value.

[0056] The antenna control triggering conditions include: the time when the connection request of the terminal is detected, a preset time interval from the time when the communication quality parameters of each antenna element in the antenna were last obtained, or the communication quality parameters of the target antenna element are less than a preset value.

[0057] When a terminal sends a connection request to an antenna, it is impossible to determine the communication quality parameters of each antenna element in the antenna since no connection has been established with the antenna before. Therefore, by obtaining the communication quality parameters between each antenna element and the terminal, a better communication channel can be provided to the terminal based on these communication quality parameters.

[0058] Because the communication quality parameters (such as RSSI) of antenna elements fluctuate dynamically with environmental changes (such as personnel movement, increase or decrease of obstacles, and switching of interference sources), historical communication quality parameters obtained at long intervals become invalid and cannot reflect the current true channel state. Therefore, the communication quality parameters of each antenna element and the terminal can be reacquired at regular intervals to improve communication efficiency. By periodically re-executing the scanning process, the target antenna element with the best communication quality is updated, thereby achieving dynamic and real-time signal tracking.

[0059] If the communication quality parameters of the target antenna element are substandard, it means that the current link may have problems such as weak signal, strong interference, and low transmission efficiency. Continued use may lead to connection failure, high packet loss rate, and reduced data rate. Therefore, if the communication quality of the target antenna element is lower than the preset value, the communication quality parameters of each antenna element and the terminal can be reacquired to improve communication efficiency.

[0060] Step 502: Determine the target antenna element with the best communication quality among multiple antenna elements based on the communication quality parameters.

[0061] In some embodiments, after completing a scan, the antenna element with the highest communication quality parameter is selected from the communication quality parameters recorded in the obtained mapping table, and it is used as the target antenna element. The direction pointed to by the antenna element is determined to be closest to the current location of the terminal.

[0062] Understandably, to improve communication quality, a predetermined number of antenna elements with the best communication quality can be selected as target antenna elements. Multiple target antenna elements simultaneously provide communication channels for the terminal, thereby improving communication quality.

[0063] Step 503: Control the wireless communication unit to communicate with the terminal through the target antenna unit.

[0064] In some embodiments, the target antenna element with the best communication quality parameters is kept connected to the transceiver for subsequent data transmission. Since the antenna with the best directivity is used, the communication link quality is significantly optimized, and the communication quality between the antenna and the terminal is improved.

[0065] In an optional embodiment, when the number of target antenna elements is multiple, the method further includes: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

[0066] In some embodiments, since each antenna element is configured on the antenna, and the spatial position of each antenna element on the antenna can be determined after the antenna is installed, the spatial position of the terminal can be determined by the relevant information of multiple antenna elements connected to the terminal, thereby enabling precise positioning of the terminal.

[0067] The control unit determines a preset number (e.g., the first 3) of candidate antenna units with the best communication quality based on communication quality parameters. Since the spatial position of the antenna units is fixed, after determining the candidate antenna units, the first spatial coordinates, radiation direction and communication quality parameters of each candidate antenna unit can be obtained. The second spatial coordinates of the terminal are calculated using triangulation or fingerprint positioning algorithms.

[0068] In an optional embodiment, determining the second spatial coordinates of the terminal based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters includes: Based on the communication quality parameters, the communication delay between the candidate antenna and the terminal is determined; The communication length is determined based on the communication delay and the radiation direction; The second spatial coordinates are determined based on the communication length and the first spatial coordinates.

[0069] In some embodiments, the communication delay between each candidate antenna element and the terminal is determined, and the communication distance between the candidate antenna element and the terminal is determined using the communication delay and communication quality parameters. Based on the communication distance between each candidate antenna element and the terminal and the first spatial coordinates of the candidate antenna elements, the second spatial coordinates of the terminal are solved by using a set solution method with the first spatial coordinates as the origin and the communication distance as the radius.

[0070] The communication latency can be obtained by calculating the time difference between the moment the detection request is sent by the terminal and the moment the detection request is received by the antenna unit during a brief communication (such as a detection request) between the computing terminal and the antenna unit.

[0071] For example, taking a candidate antenna element count of three as an example, we can substitute the following formula: (x-x1) 2 +(y-y1) 2 =d1 2 ; (x-x2) 2 +(y-y2) 2 =d2 2 ; (x-x3) 2 +(y-y3) 2 =d32 ; Where x1 and y1 represent the abscissa and ordinate of the first candidate antenna element in the first spatial coordinate system, respectively; d1 represents the communication distance between the first candidate antenna element and the terminal; x2 and y2 represent the abscissa and ordinate of the second candidate antenna element in the first spatial coordinate system, respectively; d2 represents the communication distance between the second candidate antenna element and the terminal; x3 and y3 represent the abscissa and ordinate of the third candidate antenna element in the first spatial coordinate system, respectively; d3 represents the communication distance between the third candidate antenna element and the terminal; and x and y represent the abscissa and ordinate of the terminal in the second spatial coordinate system, respectively.

[0072] By determining the terminal's secondary spatial coordinates, it can be applied to precise indoor positioning, such as positioning a smart pen on a whiteboard and tracking people.

[0073] In one specific embodiment, the antenna control method of this application is described in [reference needed]. Figure 5 The antenna broadcasts information to determine if any device has initiated a connection. If not, it continues broadcasting. If so, it initiates an RSSI scanning process, uploads the scan results, and stores them in a mapping table. Each antenna element has a fixed radiation direction and periodically scans and uploads RSSI reporting information. It determines whether the optimal antenna element for RSSI has changed. If so, it changes the target antenna element through a logic control unit.

[0074] Omnidirectional directional scanning and signal tracking are achieved by setting up spherical antenna elements and using logic control methods. Any single antenna element can use this control method for signal tracking and positioning. The algorithm is simple and does not cause significant attenuation of antenna efficiency at certain angles. Simultaneously, it ensures that the antenna can directionally track wireless devices in real time, resulting in optimal radiation capabilities. There is no signal attenuation across the entire omnidirectional angle. When the antenna elements are highly consistent, indoor 3D positioning can also be achieved.

[0075] Exemplary device Accordingly, this application also provides an antenna control device, wherein the antenna includes a wireless communication unit, a control unit, and multiple antenna units; each antenna unit radiates directionally according to its own preset radiation direction, all antenna units are combined to form a sphere, and the radiation range of all antenna units can cover all directions of space; the antenna control method is applied to the control unit; the device includes: The acquisition module is used to acquire the communication quality parameters of each antenna element in the antenna communicating with the terminal when the antenna adjustment trigger condition is met. The antenna adjustment trigger condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted. The determination module is used to determine the target antenna element with the best communication quality among multiple antenna elements based on the communication quality parameters; A control module is used to control the wireless communication unit to communicate with the terminal through the target antenna unit.

[0076] Optionally, the antenna further includes a switching unit connected to the wireless communication unit. The acquisition module is specifically used for: The control switch unit is connected to each antenna unit in sequence; Each time the antenna unit is connected, the wireless communication unit in the antenna communicates with the terminal based on the connected antenna unit and obtains the communication quality parameters of the communication between the antenna unit and the terminal during the communication.

[0077] Optionally, when the number of target antenna elements is multiple, the device further includes: The first determining subunit is used to determine a preset number of candidate antenna elements with optimal communication quality based on the communication quality parameters. Acquire sub-units to acquire the first spatial coordinates and radiation direction of the candidate antenna unit; The second determining subunit is used to determine the second spatial coordinates of the terminal based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

[0078] Optionally, determining the second spatial coordinates of the terminal based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters includes: Based on the communication quality parameters, the communication delay between the candidate antenna and the terminal is determined; The communication length is determined based on the communication delay and the radiation direction; The second spatial coordinates are determined based on the communication length and the first spatial coordinates.

[0079] Optionally, the antenna modulation triggering conditions include: The time interval between the detected connection request from the terminal and the most recent acquisition of the communication quality parameters of each antenna element in the antenna is a preset time, or the communication quality parameters of the target antenna element are less than a preset value.

[0080] The antenna control device provided in this embodiment belongs to the same concept as the antenna control method provided in the above embodiments of this application. It can execute the method provided in any of the above embodiments of this application and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the specific processing content of the antenna control method provided in the above embodiments of this application, and will not be repeated here.

[0081] The functions implemented by each unit in the antenna control device described above can be implemented by the same or different processors, and this application embodiment does not limit this.

[0082] It should be understood that each unit in the above device can be implemented by a processor calling software. For example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of each unit in the device. The processor can be a general-purpose processor, such as a CPU or microprocessor, and the memory can be internal or external to the device. Alternatively, the units in the device can be implemented as hardware circuits. By designing the hardware circuits, some or all of the unit functions can be implemented. The hardware circuits can be understood as one or more processors. For example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are implemented by designing the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a PLD, such as an FPGA, which can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files to implement the functions of some or all of the above units. All units in the above device can be implemented entirely by a processor calling software, entirely by hardware circuits, or partially by a processor calling software with the remaining parts implemented by hardware circuits.

[0083] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, microprocessor, GPU, or DSP. In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented as an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the processor loading instructions to implement the functions of some or all of the above units. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, or DPU.

[0084] As can be seen, each unit in the above device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0085] Furthermore, the units in the above devices can be integrated in whole or in part, or they can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a System-on-Chip (SoC). The SoC may include at least one processor for implementing any of the above methods or implementing the functions of the units in the device. The at least one processor may be of different types, such as CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.

[0086] Exemplary electronic devices Another embodiment of this application also provides an electronic device, see [link to relevant documentation] Figure 7 As shown, the device includes: Memory 700 and processor 710; The memory 700 is connected to the processor 710 and is used to store programs; The processor 710 is used to implement the antenna control method disclosed in any of the above embodiments by running the program stored in the memory 700.

[0087] Specifically, the control device for the aforementioned antenna may also include: a bus, a communication interface 720, an input device 730, and an output device 740.

[0088] The processor 710, memory 700, communication interface 720, input device 730, and output device 740 are interconnected via a bus. Among them: A bus can include a pathway for transmitting information between various components of a computer system.

[0089] The processor 710 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present invention. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0090] The processor 710 may include a main processor, as well as a baseband chip, modem, etc.

[0091] The memory 700 stores a program that executes the technical solution of this invention, and may also store an operating system and other key business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 700 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.

[0092] Input device 730 may include a device for receiving data and information input by a user, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.

[0093] Output device 740 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.

[0094] The communication interface 720 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

[0095] The processor 710 executes the program stored in the memory 700 and calls other devices, which can be used to implement the various steps of any antenna control method provided in the above embodiments of this application.

[0096] Exemplary computer program products and storage media In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the antenna control methods according to various embodiments of this application as described in any of the above embodiments of this specification.

[0097] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this application. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0098] Furthermore, embodiments of this application may also be storage media storing a computer program, which is executed by a processor to perform the steps of the antenna control method according to various embodiments of this application described in any of the above embodiments of this specification, specifically implementing the following steps: When the antenna adjustment triggering condition is met, the communication quality parameters of each antenna element in the antenna and the terminal are obtained. The antenna adjustment triggering condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted. Based on the communication quality parameters, determine the target antenna element with the best communication quality among multiple antenna elements; The wireless communication unit is controlled to communicate with the terminal through the target antenna unit.

[0099] Optionally, the antenna further includes a switching unit connected to the wireless communication unit. The step of obtaining the communication quality parameters of each antenna element in the antenna communicating with the terminal includes: The control switch unit is connected to each antenna unit in sequence; Each time the antenna unit is connected, the wireless communication unit in the antenna communicates with the terminal based on the connected antenna unit and obtains the communication quality parameters of the communication between the antenna unit and the terminal during the communication.

[0100] Optionally, when there are multiple target antenna elements, the method further includes: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

[0101] Optionally, determining the second spatial coordinates of the terminal based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters includes: Based on the communication quality parameters, the communication delay between the candidate antenna and the terminal is determined; The communication length is determined based on the communication delay and the radiation direction; The second spatial coordinates are determined based on the communication length and the first spatial coordinates.

[0102] Optionally, the antenna modulation triggering conditions include: The time interval between the detected connection request from the terminal and the most recent acquisition of the communication quality parameters of each antenna element in the antenna is a preset time, or the communication quality parameters of the target antenna element are less than a preset value.

[0103] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0104] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0105] The steps in the methods of the various embodiments of this application can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in each embodiment can be replaced or combined.

[0106] The modules and sub-modules in the apparatus and terminal in the various embodiments of this application can be merged, divided, and deleted according to actual needs.

[0107] It should be understood that the disclosed terminals, devices, and methods can be implemented in other ways, given the several embodiments provided in this application. For example, the terminal embodiments described above are merely illustrative. For instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

[0108] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.

[0109] Furthermore, the functional modules or sub-modules in the various embodiments of this application can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or in the form of software functional modules or sub-modules.

[0110] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0111] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software unit executed by a processor, or a combination of both. The software unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0112] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0113] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An antenna, characterized in that, include: Wireless communication unit, control unit, and multiple antenna units; Each antenna element radiates in a directional manner according to its own preset radiation direction. All the antenna elements are combined to form a sphere, and the radiation range of all the antenna elements can cover all directions of space. The control unit is configured to, when the antenna adjustment trigger condition is met, acquire the communication quality parameters between each antenna element and the terminal; determine the target antenna element with the best communication quality among the plurality of antenna elements based on the communication quality parameters; and control the wireless communication unit to communicate with the terminal through the target antenna element. The antenna adjustment trigger condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted.

2. The antenna according to claim 1, characterized in that, The antenna also includes an antenna carrier and a switching unit; The antenna carrier is spherical, and the plurality of antenna elements are disposed on the antenna carrier; The switching unit is connected to the wireless communication unit; The control unit controls the wireless communication unit to communicate with the terminal through the target antenna unit, including: The control unit controls the switching unit to connect with the target antenna unit, so that the wireless communication unit can communicate with the terminal through the target antenna unit.

3. The antenna according to claim 1 or 2, characterized in that, When there are multiple target antenna elements, the control unit is further configured to: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

4. A method for controlling an antenna, characterized in that, The antenna includes a wireless communication unit, a control unit, and multiple antenna units; each antenna unit radiates in a directional manner according to its own preset radiation direction, and all the antenna units are combined to form a sphere, and the radiation range of all the antenna units can cover all directions of space; The antenna control method is applied to the control unit; the method includes: When the antenna adjustment triggering condition is met, the communication quality parameters of each antenna element in the antenna and the terminal are obtained. The antenna adjustment triggering condition is used to indicate that the antenna element communicating in the antenna needs to be adjusted. Based on the communication quality parameters, determine the target antenna element with the best communication quality among the plurality of antenna elements; The wireless communication unit is controlled to communicate with the terminal through the target antenna unit.

5. The method according to claim 4, characterized in that, The antenna also includes a switching unit, which is connected to the wireless communication unit. The step of obtaining the communication quality parameters of each antenna element in the antenna communicating with the terminal includes: The switching unit controls the sequential connection of each antenna unit; Each time the wireless communication unit in the antenna is connected to the antenna unit, it communicates with the terminal based on the connected antenna unit and obtains the communication quality parameters of the communication between the antenna unit and the terminal during the communication.

6. The method according to claim 4, characterized in that, When there are multiple target antenna elements, the method further includes: Based on the communication quality parameters, a preset number of candidate antenna elements are determined to achieve the best communication quality. Obtain the first spatial coordinates and radiation direction of the candidate antenna element; The second spatial coordinates of the terminal are determined based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters.

7. The method according to claim 6, characterized in that, Determining the second spatial coordinates of the terminal based on the first spatial coordinates of the candidate antenna element, the radiation direction, and the communication quality parameters includes: Based on the communication quality parameters, the communication delay between the candidate antenna and the terminal is determined; The communication length is determined based on the communication delay and the radiation direction; The second spatial coordinates are determined based on the communication length and the first spatial coordinates.

8. The method according to claim 4, characterized in that, The antenna modulation triggering conditions include: The time interval between the detected connection request from the terminal and the most recent acquisition of the communication quality parameters of each antenna element in the antenna is a preset time, or the communication quality parameters of the target antenna element are less than a preset value.

9. An electronic device, characterized in that, It includes an antenna, a memory, and a processor; the antenna includes a wireless communication unit, a control unit, and multiple antenna units; each antenna unit radiates directionally according to a preset radiation direction, and all the antenna units are combined to form a sphere, and the radiation range of all the antenna units can cover all directions of space; The memory is connected to the processor and is used to store programs; The processor is used to implement the antenna control method as described in any one of claims 4-8 by running a program in the memory.

10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the antenna control method as described in any one of claims 4-8.