Method and apparatus for antenna control

By detecting keywords or duration in the sound signal and adjusting the antenna direction, combined with historical positioning data for optimization, the problem of inaccurate antenna direction adjustment in existing technologies has been solved, thus improving the signal strength and quality of wireless communication.

CN116781101BActive Publication Date: 2026-04-14TP-LINK INT SHENZHEN CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, adjusting the antenna direction based on the received signal strength value is easily affected by noise, interference, and the environment, resulting in a decrease in positioning accuracy and making it difficult to quickly and accurately adjust the antenna direction to enhance signal strength.

Method used

By detecting whether the sound signal contains keywords, the antenna direction can be identified and adjusted, or the antenna direction can be adjusted based on the duration and content information of the sound signal, and the adjustment accuracy can be optimized by combining historical positioning data.

Benefits of technology

It enables rapid and accurate adjustment of antenna direction in electromagnetic interference environments, improving signal strength and communication quality between wireless devices and user equipment, and reducing the impact of environmental noise interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116781101B_ABST
    Figure CN116781101B_ABST
Patent Text Reader

Abstract

The application provides an antenna control method and device. A wireless device is wirelessly connected to a user equipment. The wireless device is provided with an antenna. The method comprises the following steps: detecting a sound signal and identifying whether the sound signal contains a keyword; if the sound signal contains the keyword, the wireless device performs a first adjustment on the direction of the antenna based on a first working mode; if the sound signal does not contain the keyword, determining the time length of the sound signal; comparing the time length of the sound signal with a time threshold value, and if the time length of the sound signal is greater than or equal to the time threshold value, the wireless device performs a second adjustment on the direction of the antenna based on a second working mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more specifically, to a method and apparatus for antenna control. Background Technology

[0002] With the development of wireless communication technology, intelligent wireless devices and terminals connected to wireless devices have made rapid progress, and the application of intelligent wireless devices, represented by mechanical rotating antennas, is becoming more and more widespread.

[0003] Generally, rotating antennas use wireless signal characteristics (such as signal strength or network latency) to locate or indicate the direction of a connected terminal. When the antennas of the wireless device and the connected terminal remain in the same direction, the closer the wireless device and the terminal are, the better the signal strength; conversely, the farther apart the wireless device and the terminal are, the weaker the signal strength. When the relative positions of the wireless device and the connected terminal remain constant, if the antenna of the wireless device is pointed towards the connected terminal, the terminal receives a stronger signal; conversely, if the antenna of the wireless device is pointed in the opposite direction to the connected terminal, the terminal receives a weaker signal. In applications of rotating antennas, the direction of the antenna is adjusted by rotation to enhance the signal strength received by the terminal.

[0004] The received signal strength can be determined based on the Received Signal Strength Indication (RSSI). However, adjusting the antenna direction based on the received signal strength value has poor accuracy. For example, RSSI is the sum of signal power, noise power, and interference power. Using RSSI values ​​for spatial direction determination is easily affected by noise power and interference power. On the other hand, the RSSI received by the terminal is easily affected by external environmental factors such as walls, spatial obstacles, and even other electromagnetic radiation devices (e.g., microwave ovens). If RSSI is interfered with during the acquisition of the terminal's RSSI, it will lead to a decrease in the accuracy of direction recognition, or require algorithmic correction of the direction, resulting in poor terminal direction recognition rate and refresh rate.

[0005] Therefore, how to quickly and accurately adjust the direction of the antenna based on the relative position of the terminal and the wireless device is an urgent problem to be solved. Summary of the Invention

[0006] Some embodiments of this application provide an antenna control method and apparatus that can at least partially solve the above-mentioned problems existing in the prior art.

[0007] According to one aspect of this application, an antenna control method is provided, wherein a wireless device is wirelessly connected to a user equipment, the wireless device being equipped with an antenna, the method comprising: detecting a sound signal and identifying whether the sound signal contains a keyword; if the sound signal contains the keyword, the wireless device performing a first adjustment to the direction of the antenna based on a first operating mode; if the sound signal does not contain the keyword, determining the duration of the sound signal; comparing the duration of the sound signal with a time threshold, and if the duration of the sound signal is greater than or equal to the time threshold, the wireless device performing a second adjustment to the direction of the antenna based on a second operating mode.

[0008] In one embodiment of this application, the first operating mode may include: the wireless device locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

[0009] In one embodiment of this application, the method may further include: acquiring the keyword set by the user and the user's voice information; if the voice signal contains the keyword, comparing the voice information corresponding to the keyword with the user's voice information and obtaining a comparison result; and determining the working mode of the wireless device based on the comparison result, wherein if the voice information corresponding to the keyword is the same as the user's voice information, the wireless device executes the first working mode, and if the voice information corresponding to the keyword is different from the user's voice information, the wireless device executes a standby mode.

[0010] In one embodiment of this application, the wireless device executing the first operating mode may include: determining the location direction of the sound signal based on the keyword; controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the location direction of the sound signal; detecting whether the sound signal contains a control command; and if the sound signal contains the control command, performing a corresponding operation based on the control command.

[0011] In one embodiment of this application, the second working mode may include: acquiring the content information of the sound signal; acquiring network information and comparing the similarity between the network information and the content information of the sound signal; if the similarity between the network information and the content information of the sound signal exceeds a first threshold, locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

[0012] In one embodiment of this application, before acquiring network information and comparing the similarity between the network information and the content information of the sound signal, the second working mode may further include: detecting whether the wireless device and the user device meet preset conditions, wherein the preset conditions include at least one number of user devices connected to the wireless device and a network transmission rate or traffic greater than or equal to a second threshold.

[0013] In one embodiment of this application, the method may further include: acquiring historical positioning data of the sound signal, the historical positioning data including the angle of the sound signal; determining the type of the corresponding user equipment based on the historical positioning data of the sound signal, and obtaining the adjustment angle of the antenna, wherein the type of user equipment includes a first type of equipment and a second type of equipment, and the adjustment angle includes a first adjustment angle and a second adjustment angle; detecting the sound signal, determining the type of user equipment corresponding to the sound signal, and adjusting the direction of the antenna based on the adjustment angle.

[0014] Another aspect of this application provides an antenna control device, in which a wireless device is wirelessly connected to a user equipment. The wireless device is equipped with an antenna and may include: a signal detection module for detecting a sound signal and identifying whether the sound signal contains a keyword; and a control module for determining the operating mode of the wireless device. If the sound signal contains the keyword, the wireless device performs a first adjustment to the direction of the antenna based on a first operating mode; if the sound signal does not contain the keyword, the device determines the duration of the sound signal; and compares the duration of the sound signal with a time threshold. If the duration of the sound signal is greater than or equal to the time threshold, the wireless device performs a second adjustment to the direction of the antenna based on a second operating mode.

[0015] In one embodiment of this application, the first operating mode may include: the wireless device locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

[0016] In one embodiment of this application, the control module can also be used to: acquire the keyword set by the user and the user's voice information; if the voice signal contains the keyword, compare the voice information corresponding to the keyword with the user's voice information and obtain a comparison result; based on the comparison result, determine the working mode of the wireless device, wherein if the voice information corresponding to the keyword is the same as the user's voice information, the wireless device executes the first working mode, and if the voice information corresponding to the keyword is different from the user's voice information, the wireless device executes a standby mode.

[0017] In one embodiment of this application, the control module can also be used to: determine the position and direction of the sound signal based on the keyword; control the antenna to adjust the signal transmission direction, wherein the signal transmission direction is the position and direction toward the sound signal; detect whether the sound signal contains a control command; and if the sound signal contains the control command, perform the corresponding operation based on the control command.

[0018] In one embodiment of this application, the second working mode may include: acquiring the content information of the sound signal; acquiring network information and comparing the similarity between the network information and the content information of the sound signal; if the similarity between the network information and the content information of the sound signal exceeds a first threshold, locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

[0019] In one embodiment of this application, the control module can also be used to: detect whether a preset condition is met between the wireless device and the user equipment, wherein the preset condition includes that the number of user equipments connected to the wireless device is at least one and that the network transmission rate or traffic is greater than or equal to a second threshold.

[0020] In one embodiment of this application, the device further includes an angle adjustment module, which can be used to: acquire historical positioning data of the sound signal, the historical positioning data including the angle of the sound signal; determine the type of the corresponding user equipment based on the historical positioning data of the sound signal, and obtain the adjustment angle of the antenna, wherein the type of user equipment includes a first type of equipment and a second type of equipment, and the adjustment angle includes a first adjustment angle and a second adjustment angle; detect the sound signal, determine the type of user equipment corresponding to the sound signal, and adjust the direction of the antenna based on the adjustment angle.

[0021] According to an exemplary embodiment of this application, the operating mode of a wireless device can be determined by identifying whether the sound signal contains keywords. Then, the direction of the antenna in the wireless device can be adjusted based on the location of the sound signal. This provides high positioning accuracy, strong real-time performance, and immunity to electromagnetic interference in the environment. It also allows for rapid adjustment of the antenna direction in the wireless device, improving the signal strength and communication quality of user equipment connected to the wireless device. Attached Figure Description

[0022] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Wherein:

[0023] Figure 1 This is a flowchart of an antenna control method 1000 according to an embodiment of this application;

[0024] Figure 2A This is a flowchart of a method for determining an antenna operating mode according to an embodiment of this application;

[0025] Figure 2B Flowchart illustrating the execution of a first operating mode of an antenna according to an exemplary embodiment of this application;

[0026] Figure 3 This is a flowchart of the second working mode according to an embodiment of this application;

[0027] Figure 4 A flowchart illustrating the determination of signal transmission direction based on historical positioning data according to an exemplary embodiment of this application;

[0028] Figure 5 This is a schematic diagram of an antenna control device 2000 according to an embodiment of this application. Detailed Implementation

[0029] To better understand this application, various aspects of this application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are merely illustrative of exemplary embodiments of this application and are not intended to limit the scope of this application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.

[0030] In the accompanying drawings, the size, dimensions, and shapes of the elements have been slightly adjusted for ease of illustration. The drawings are for illustrative purposes only and are not strictly to scale. As used herein, the terms “approximately,” “about,” and similar terms are used to indicate approximation, not degree, and are intended to illustrate inherent deviations in measured or calculated values ​​that will be recognized by one of ordinary skill in the art. Furthermore, the order in which the steps are described in this application does not necessarily indicate the order in which these steps occur in actual operation, unless otherwise expressly defined or deduced from the context.

[0031] It should also be understood that expressions such as "comprising," "including," "having," "containing," and / or "comprising" are open-ended rather than closed-ended expressions in this specification, indicating the presence of the stated features, elements, and / or components, but not excluding the presence of one or more other features, elements, components, and / or combinations thereof. Furthermore, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features, not just individual elements in the list. Additionally, when describing embodiments of this application, the word "may" is used to mean "one or more embodiments of this application." And the term "exemplary" is intended to refer to examples or illustrations.

[0032] Unless otherwise specified, all terms used herein (including engineering and technical terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that, unless expressly stated herein, terms defined in common dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or overly formalized meaning.

[0033] It should be noted that, where there is no conflict, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0034] In relevant exemplary embodiments, wireless devices may include routers, access points (APs), etc., and terminals may include mobile terminals such as computers, mobile phones, and tablets, as well as fixed terminals. When the signal power transmitted and received by the wireless device and the terminal connected to the wireless device is constant, the signal strength is related to the spatial distance between the wireless device and the terminal or the direction of the antenna. Currently, a common method for controlling the antenna direction is to determine the antenna direction based on the RSSI of the terminal device connected to the wireless device. Specifically, the antenna can be rotated and scanned to determine the RSSI in each direction. The direction with the larger RSSI value is the direction of the terminal, and then the antenna is controlled to rotate to that direction. Another common method for controlling the antenna direction is to use multiple antennas for the wireless device. Based on the principle of wireless signal strength positioning, after reading the signal strength of the wireless device, the direction of the terminal is calculated using triangulation based on the difference in signal strength of each antenna, and then the antenna is controlled to rotate to that direction. However, the above methods all determine the direction of the terminal based on the RSSI value, and further determine the direction of the antenna. During the testing process, the RSSI value is easily affected by environmental interference, which can easily cause a decrease in the accuracy of direction recognition, resulting in deviation of the adjusted antenna direction.

[0035] Figure 1This is a flowchart of an antenna control method 1000 according to an embodiment of this application. Figure 1 As shown, the antenna control method 1000 may include:

[0036] Step S100: Detect the sound signal and identify whether the sound signal contains keywords;

[0037] Step S200: If the audio signal contains keywords, the wireless device makes a first adjustment to the direction of the antenna based on the first operating mode;

[0038] Step S300: If the sound signal does not contain keywords, determine the duration of the sound signal;

[0039] Step S400: Compare the duration of the sound signal with a time threshold. If the duration of the sound signal is greater than or equal to the time threshold, the wireless device makes a second adjustment to the direction of the antenna based on the second working mode.

[0040] The specific details of each step in the antenna control method 1000 described above will be explained below.

[0041] In an exemplary embodiment of this application, a sound signal is first detected, and then it is identified whether the sound signal contains keywords. Exemplarily, the antenna can collect sound signals from the surrounding environment. After detecting the sound signals, the antenna can analyze them to identify whether they contain keywords. The keywords can be set by the user or can be initial keywords stored in the antenna. For example, the user can set the keyword to "enhanced signal," and the antenna can detect whether the sound signal contains this keyword. Keywords can be words or phrases, and there can be one or more keywords. This application does not limit the content or number of keywords.

[0042] In an exemplary embodiment of this application, when at least one keyword is detected in the sound signal, the wireless device can make a first adjustment to the direction of the antenna based on a first operating mode. The first operating mode may include: the wireless device locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal. Exemplarily, the first operating mode may be a wake-up mode, whereby the antenna is woken up after detecting the keyword, considers that it has received a user's instruction to adjust the antenna direction, and then locates the position of the sound signal (i.e., the sound source position). Location may include determining the angle of the sound signal position relative to the antenna, and then adjusting the antenna to the corresponding angle or orientation based on the location.

[0043] According to an exemplary embodiment of this application, by detecting keywords in the sound signal, the wireless device can execute a first operating mode upon detection of the keywords. The keyword recognition success rate is high, allowing the wireless device to quickly locate the sound signal and adjust the antenna direction, thus improving the quality of wireless communication. By locating the sound signal and adjusting the antenna direction in the wireless device based on that location, the positioning accuracy is high, real-time performance is strong, and it is unaffected by electromagnetic interference in the environment. The ability to quickly adjust the antenna direction in the wireless device improves signal strength and communication quality for user equipment connected to the wireless device.

[0044] In an exemplary embodiment of this application, Figure 2A This is a flowchart of a method for determining an antenna operating mode according to an embodiment of this application. Figure 2A As shown, the method for determining the antenna operating mode may include the following steps:

[0045] Step S210: Obtain the user-set keywords and the user's voice information;

[0046] Step S220: If the sound signal contains keywords, compare the sound information corresponding to the keywords with the user's sound information and obtain the comparison result;

[0047] Step S230: Based on the comparison results, determine the working mode of the wireless device. If the sound information corresponding to the keyword is the same as the user's sound information, the wireless device executes the first working mode. If the sound information corresponding to the keyword is different from the user's sound information, the wireless device executes the standby mode.

[0048] In an exemplary embodiment of this application, the user can pre-set keywords and record their own voice. The wireless device can analyze the user's voice to obtain the user's voice information. If the voice signal contains keywords, the voice information corresponding to the keywords is compared with the user's voice information, and a comparison result is obtained. For example, the voice information may include a voiceprint. By analyzing the voiceprint, it can be determined whether the voice signal in the environment belongs to the user. Then, based on the comparison result, the working mode of the wireless device is determined. If the voice information corresponding to the keywords is the same as the user's voice information, the wireless device executes a first working mode, i.e., a wake-up mode; if the voice information corresponding to the keywords is different from the user's voice information, the wireless device executes a standby mode.

[0049] According to an exemplary embodiment of this application, by comparing the sound information corresponding to the keyword with the user's sound information, only the designated user can enable the wireless device to perform subsequent positioning and antenna rotation operations, which to a certain extent avoids interference from other sound signals in the environment that could trigger the working mode of the wireless device.

[0050] In an exemplary embodiment of this application, Figure 2B A flowchart illustrating the execution of a first operating mode of an antenna according to an exemplary embodiment of this application. (See attached flowchart.) Figure 2B As shown, the antenna performing the first operating mode may include the following steps:

[0051] Step S240: Determine the location and direction of the sound signal based on keywords;

[0052] Step S250: Control the antenna to adjust the signal transmission direction, the signal transmission direction is towards the location of the sound signal;

[0053] Step S260: Detect whether the sound signal contains control commands;

[0054] Step S270: If the sound signal contains a control command, perform the corresponding operation based on the control command.

[0055] In an exemplary embodiment of this application, the location and direction of the sound signal can be determined based on keywords, and then the antenna is controlled to adjust the signal transmission direction, which is towards the location and direction of the sound signal. Further, the semantic information of the sound signal is analyzed, i.e., whether the sound signal contains control commands. These control commands can include absolute angle control commands and relative angle control commands. For example, an absolute angle control command could be "rotate to xx degrees," and a relative angle control command could be "rotate xx degrees." If the sound signal contains control commands, the corresponding operation is executed based on the control commands; if the sound signal does not contain control commands, no operation is performed.

[0056] In an exemplary embodiment of this application, if the sound signal does not contain keywords, the duration of the sound signal is determined; then, the duration of the sound signal is compared with a time threshold. If the duration of the sound signal is greater than or equal to the time threshold, the wireless device executes a second operating mode. The time threshold can be adjusted according to the user's actual needs, and this application does not impose any restrictions on it.

[0057] In an exemplary embodiment of this application, Figure 3 This is a flowchart illustrating a second operating mode according to an embodiment of this application. Figure 3 As shown, the second operating mode may include the following steps:

[0058] Step S310: Obtain the content information of the sound signal;

[0059] Step S320: Obtain network information and compare the similarity between the network information and the content information of the sound signal;

[0060] Step S330: If the similarity between the network information and the content information of the sound signal exceeds the first threshold, locate the position of the sound signal and control the antenna to adjust the signal transmission direction, with the signal transmission direction being towards the position of the sound signal.

[0061] In an exemplary embodiment of this application, when the detected duration of an audio signal is greater than or equal to a time threshold, the wireless device executes a second operating mode. The second operating mode can be a content mode. That is, the wireless device acquires the content information of the audio signal, then connects to the network, compares the similarity between the audio signal's content information and network information. If identical content exists on the network or the similarity exceeds a first threshold, it is assumed that the user device is playing video content online, such as TV dramas, short videos, or songs. The wireless device then locates the position of the audio signal and controls the antenna to adjust the signal transmission direction, which is towards the location of the audio signal. If the similarity between the audio signal's content information and network information is less than the first threshold, the wireless device does not adjust the antenna direction and continues to execute standby mode. Exemplarily, this application can acquire the complete duration of the audio signal and then compare the audio signal's content information with the network information; if the audio signal is continuous, the duration of the audio signal can also be a portion of the audio signal's duration, and the acquired portion of the audio signal's duration is greater than or equal to the time threshold. For example, a time threshold of 15 seconds can be set. If the duration of the sound signal exceeds 15 seconds, the sound signal within 15-20 seconds can be acquired first, and then the content information of a portion of the sound signal can be compared with the network information to avoid reducing the processing speed of the wireless device due to the long sound signal.

[0062] According to an exemplary embodiment of this application, by comparing the similarity between network information and the content information of an audio signal, if the similarity exceeds a first threshold, the location of the audio signal is determined, and the antenna is controlled to adjust the signal transmission direction. The wireless device can proactively adjust the antenna direction based on the content of the audio signal without requiring user keyword wake-up, making the wireless device more intelligent.

[0063] In an exemplary embodiment of this application, before acquiring network information and comparing its similarity with the content information of the audio signal, it is possible to detect whether preset conditions are met between the wireless device and the user device. These preset conditions include that the number of user devices connected to the wireless device is at least one, and that the network transmission rate or traffic is greater than or equal to a second threshold. For example, when the duration of the detected audio signal is greater than or equal to the time threshold, the number of user devices connected to the wireless device can be detected first. If the number of connected user devices is one or more, and the network transmission rate or traffic is greater than or equal to the second threshold, then the network information is compared with the content information of the audio signal. This can, to some extent, avoid interference from other audio signals in the environment, such as voices, radios, and continuous ambient noise, on the wireless device, resulting in a better user experience.

[0064] In an exemplary embodiment of this application, Figure 4 This is a flowchart illustrating the determination of signal transmission direction based on historical positioning data according to an exemplary embodiment of this application. Figure 4 As shown, determining the signal transmission direction based on historical positioning data may include the following steps:

[0065] Step S500: Obtain historical positioning data of the sound signal, including the angle of the sound signal;

[0066] Step S600: Based on the historical positioning data of the sound signal, determine the type of the corresponding user equipment and obtain the adjustment angle of the antenna. The types of user equipment include first-class equipment and second-class equipment, and the adjustment angle includes a first adjustment angle and a second adjustment angle.

[0067] Step S700: Detect an audio signal, determine the type of user equipment corresponding to the audio signal, and adjust the direction of the antenna based on the adjustment angle.

[0068] The first and second operating modes described in this application can locate sound signals and adjust the direction of the antenna in the wireless device based on the sound signal location. However, in real-world environments, the acquired sound signals are complex, and there may be a certain angular deviation between the direction of the antenna in the wireless device and the user equipment. Therefore, historical location data of the sound signal can be used to optimize the antenna adjustment direction and recognition rate.

[0069] In an exemplary embodiment of this application, the type of user equipment can be determined based on historical location data of sound signals. The types of user equipment include a first type of device and a second type of device. Exemplarily, a first type of device can be a user equipment with fixed location attributes, such as a television, stereo, or desktop computer. A second type of device can be a user equipment used within a certain location range, such as a user equipment (mobile phone, laptop, tablet, etc.) frequently used within the range of a sofa or bed. Exemplarily, a first type of device satisfies a first condition, which is that the angle difference of the sound signals in the historical location data is within a first angle range, and the number of angles of the sound signals within the first angle range is greater than or equal to a first quantity threshold. A second type of device satisfies a second condition, which is that the angle difference of the sound signals in the historical location data is within a second angle range, and the number of angles of the sound signals within the second angle range is greater than or equal to a second quantity threshold. The first angle range and the second angle range are different, and the first quantity threshold may be the same as or different from the second quantity threshold. For example, the sound signals of the first type of device appear multiple times with small angular deviations, indicating that a user device may exist in a fixed location in that direction. The sound signals of the second type of device appear multiple times, but with larger angular deviations relative to the first type of device, indicating that a user device may exist in that direction within a certain range. For instance, if the angles of the sound signals in the historical positioning data identified by the wireless device are {10, 9, 28, 11, 30, 35, 12}, and the first angle range is set to ±3, and the first quantity threshold is set to 4, then the user device corresponding to the angle set {10, 9, 11, 12} is the first type of device. The angle data set {28, 30} differs from the angles of other sound signals within the first angle range but does not meet the first quantity threshold requirement, therefore it does not belong to the first type of device. The angle data set {35} does not differ from the angles of other sound signals within the first angle range, therefore it also does not belong to the first type of device. This application uses the first condition of the first type of device as an example for illustration. Those skilled in the art will understand that the first and second conditions can be set according to actual circumstances, and this application does not impose any restrictions on them.

[0070] In an exemplary embodiment of this application, among the angles of multiple sound signals in historical positioning data, the angles of sound signals that meet the first condition are denoted as the first set; the angles of sound signals that meet the second condition are denoted as the second set.

[0071] For example, the first set A is {x1, x2, x3, ..., x...} n If the user equipment corresponding to the angle of the detected sound signal in the environment is a Class I device, then the first adjustment angle d1 of the antenna in the corresponding wireless device can be calculated by formula (1):

[0072] d1=(x1+x2+x3+…+x n ) / n(1)

[0073] Where x1, x2, x3, ..., x n The angle of the sound signal of the most recent historical data that meets the first condition, where n is greater than or equal to the first threshold.

[0074] For example, the second set B is {y1, y2, y3, ..., y...} m If the user equipment corresponding to the angle of the detected sound signal in the environment is a second type of device, then the second adjustment angle d2 of the antenna in the corresponding wireless device can be calculated by formula (2):

[0075]

[0076] Where y1, y2, y3, ..., y m The angle of the most recent historical audio signal that meets the second condition is defined as m, where m is greater than or equal to the second threshold. Different historical audio signals have different weights, with the weight increasing the closer the angle is to the current audio signal acquisition time.

[0077] After determining the adjustment angles for the first and second type of equipment, the direction of the antenna can be adjusted based on the adjustment angles.

[0078] According to an exemplary embodiment of this application, by determining the type of user equipment corresponding to the audio signal and adjusting the direction of the antenna based on the corresponding adjustment angle, the accuracy of the antenna adjustment direction can be improved to a certain extent.

[0079] This application also provides an antenna control device 2000. Figure 5 This is a schematic diagram of an antenna control device 2000 according to an embodiment of this application. Figure 5As shown, the antenna control device 2000 may include a signal detection module 2100 and a control module 2200. The signal detection module 2100 may include a microphone array and related circuits for filtering and amplification. The microphone array includes, but is not limited to, strip, ring, and rectangular arrangements, used to detect sound signals and identify whether the sound signal contains keywords. The control module 2200 includes the antenna of the wireless device and its control rotation mechanism (including motors or servos), motor drive and control circuits, antenna angle feedback structure and circuits, etc. The control rotation mechanism and motor control methods include, but are not limited to, arbitrary angles and ranges from 0 to 360 degrees within a single plane, or combinations of two or more degrees of freedom rotation, to adjust the antenna angle. The control module 2200 is used to determine the antenna's operating mode. If the sound signal contains keywords, the wireless device performs a first adjustment to the antenna direction based on a first operating mode; if the sound signal does not contain keywords, the duration of the sound signal is determined; the duration of the sound signal is compared with a time threshold; if the duration of the sound signal is greater than or equal to the time threshold, the wireless device performs a second adjustment to the antenna direction based on a second operating mode.

[0080] In an exemplary embodiment of this application, a sound signal is first detected, and then it is identified whether the sound signal contains keywords. Exemplarily, the antenna can collect sound signals from the surrounding environment. After detecting the sound signals, the antenna can analyze them to identify whether they contain keywords. The keywords can be set by the user or can be initial keywords stored in the antenna. For example, the user can set the keyword to "enhanced signal," and the antenna can detect whether the sound signal contains this keyword. Keywords can be words or phrases, and there can be one or more keywords. This application does not limit the content or number of keywords.

[0081] In an exemplary embodiment of this application, when at least one keyword is detected in the sound signal, the wireless device can make a first adjustment to the direction of the antenna based on a first operating mode. The first operating mode may include: the wireless device locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal. Exemplarily, the first operating mode may be a wake-up mode, whereby the antenna is woken up after detecting the keyword, considers that it has received a user's instruction to adjust the antenna direction, and then locates the position of the sound signal (i.e., the sound source position). Location may include determining the angle of the sound signal position relative to the antenna, and then adjusting the antenna to the corresponding angle or orientation based on the location.

[0082] According to an exemplary embodiment of this application, by detecting keywords in the sound signal, the wireless device can execute a first operating mode upon detection of the keywords. The keyword recognition success rate is high, allowing the wireless device to quickly locate the sound signal and adjust the antenna direction, thus improving the quality of wireless communication. By locating the sound signal and adjusting the antenna direction in the wireless device based on that location, the positioning accuracy is high, real-time performance is strong, and it is unaffected by electromagnetic interference in the environment. The ability to quickly adjust the antenna direction in the wireless device improves signal strength and communication quality for user equipment connected to the wireless device.

[0083] In an exemplary embodiment of this application, the control module 2200 can also be used to acquire user-set keywords and user voice information; if the voice signal contains keywords, compare the voice information corresponding to the keywords with the user's voice information and obtain the comparison result; based on the comparison result, determine the working mode of the wireless device, wherein if the voice information corresponding to the keywords is the same as the user's voice information, the wireless device executes the first working mode, and if the voice information corresponding to the keywords is different from the user's voice information, the wireless device executes the standby mode.

[0084] In an exemplary embodiment of this application, the user can pre-set keywords and record their own voice. The wireless device can analyze the user's voice to obtain the user's voice information. If the voice signal contains keywords, the voice information corresponding to the keywords is compared with the user's voice information, and a comparison result is obtained. For example, the voice information may include a voiceprint. By analyzing the voiceprint, it can be determined whether the voice signal in the environment belongs to the user. Then, based on the comparison result, the working mode of the wireless device is determined. If the voice information corresponding to the keywords is the same as the user's voice information, the wireless device executes a first working mode, i.e., a wake-up mode; if the voice information corresponding to the keywords is different from the user's voice information, the wireless device executes a standby mode.

[0085] According to an exemplary embodiment of this application, by comparing the sound information corresponding to the keyword with the user's sound information, only the designated user can enable the wireless device to perform subsequent positioning and antenna rotation operations, which to a certain extent avoids interference from other sound signals in the environment that could trigger the working mode of the wireless device.

[0086] In an exemplary embodiment of this application, the antenna performing a first operating mode may include: determining the position and direction of the sound signal based on keywords; controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position and direction of the sound signal; detecting whether the sound signal contains a control command; and if the sound signal contains a control command, performing the corresponding operation based on the control command.

[0087] In an exemplary embodiment of this application, the location and direction of the sound signal can be determined based on keywords, and then the antenna is controlled to adjust the signal transmission direction, which is towards the location and direction of the sound signal. Further, the semantic information of the sound signal is analyzed, i.e., whether the sound signal contains control commands. These control commands can include absolute angle control commands and relative angle control commands. For example, an absolute angle control command could be "rotate to xx degrees," and a relative angle control command could be "rotate xx degrees." If the sound signal contains control commands, the corresponding operation is executed based on the control commands; if the sound signal does not contain control commands, no operation is performed.

[0088] In an exemplary embodiment of this application, if the sound signal does not contain keywords, the duration of the sound signal is determined; then, the duration of the sound signal is compared with a time threshold. If the duration of the sound signal is greater than or equal to the time threshold, the wireless device executes a second operating mode. The time threshold can be adjusted according to the user's actual needs, and this application does not impose any restrictions on it.

[0089] In an exemplary embodiment of this application, the second working mode may include acquiring the content information of the sound signal; acquiring network information and comparing the similarity between the network information and the content information of the sound signal; if the similarity between the network information and the content information of the sound signal exceeds a first threshold, locating the position of the sound signal and controlling the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

[0090] In an exemplary embodiment of this application, when the detected duration of an audio signal is greater than or equal to a time threshold, the wireless device executes a second operating mode. The second operating mode can be a content mode. That is, the wireless device acquires the content information of the audio signal, then connects to the network, compares the similarity between the audio signal's content information and network information. If identical content exists on the network or the similarity exceeds a first threshold, it is assumed that the user device is playing video content online, such as TV dramas, short videos, or songs. The wireless device then locates the position of the audio signal and controls the antenna to adjust the signal transmission direction, which is towards the location of the audio signal. If the similarity between the audio signal's content information and network information is less than the first threshold, the wireless device does not adjust the antenna direction and continues to execute standby mode. Exemplarily, this application can acquire the complete duration of the audio signal and then compare the similarity between the audio signal's content information and network information; if the audio signal is continuous, the duration of the audio signal can also be a partial duration, and the acquired partial duration of the audio signal is greater than or equal to the time threshold. For example, a time threshold of 15 seconds can be set. If the duration of the sound signal exceeds 15 seconds, the sound signal within 15-20 seconds can be acquired first, and then the content information of a portion of the sound signal can be compared with the network information to avoid reducing the processing speed of the wireless device due to the long sound signal.

[0091] According to an exemplary embodiment of this application, by comparing the similarity between network information and the content information of an audio signal, if the similarity exceeds a first threshold, the location of the audio signal is determined, and the antenna is controlled to adjust the signal transmission direction. The wireless device can proactively adjust the antenna direction based on the content of the audio signal without requiring user keyword wake-up, making the wireless device more intelligent.

[0092] In an exemplary embodiment of this application, the control module 2200 can also be used to detect whether preset conditions are met between the wireless device and the user device. These preset conditions include that the number of user devices connected to the wireless device is at least one, and that the network transmission rate or traffic is greater than or equal to a second threshold. For example, when the duration of a detected sound signal is greater than or equal to a time threshold, the number of user devices connected to the wireless device can be detected first. If the number of connected user devices is one or more, and the network transmission rate or traffic is greater than or equal to the second threshold, then the network information and the content information of the sound signal are compared for similarity. This can, to a certain extent, avoid interference from other sound signals in the environment, such as voices, radios, and continuous ambient noise, on the wireless device, resulting in a better user experience.

[0093] In an exemplary embodiment of this application, the antenna control device 2000 may include an angle adjustment module 2300, wherein the angle adjustment module 2300 is used to acquire historical positioning data of the sound signal, the historical positioning data including the angle of the sound signal; based on the historical positioning data of the sound signal, determine the type of the corresponding user equipment and obtain the adjustment angle of the antenna, wherein the type of user equipment includes a first type of equipment and a second type of equipment, and the adjustment angle includes a first adjustment angle and a second adjustment angle; detect the sound signal, determine the type of user equipment corresponding to the sound signal, and adjust the direction of the antenna based on the adjustment angle.

[0094] The first and second operating modes described in this application can locate sound signals and adjust the direction of the antenna in the wireless device based on the sound signal location. However, in real-world environments, the acquired sound signals are complex, and there may be a certain angular deviation between the direction of the antenna in the wireless device and the user equipment. Therefore, historical location data of the sound signal can be used to optimize the antenna adjustment direction and recognition rate.

[0095] In an exemplary embodiment of this application, the angle adjustment module 2300 can determine the type of user equipment based on historical positioning data of the sound signals. The types of user equipment include a first type of device and a second type of device. Exemplarily, the first type of device can be a user equipment with a fixed location attribute, such as a television, stereo, or desktop computer. The second type of device can be a user equipment used within a certain location range, such as a user equipment (mobile phone, laptop, tablet, etc.) frequently used within the range of a sofa or bed. Exemplarily, the first type of device satisfies a first condition, which is that the angle difference of the sound signals in the historical positioning data is within a first angle range, and the number of angles of the sound signals within the first angle range is greater than or equal to a first quantity threshold. The second type of device satisfies a second condition, which is that the angle difference of the sound signals in the historical positioning data is within a second angle range, and the number of angles of the sound signals within the second angle range is greater than or equal to a second quantity threshold. The first angle range and the second angle range are different, and the first quantity threshold may be the same as or different from the second quantity threshold. For example, the sound signals of the first type of device appear multiple times with small angular deviations, indicating that a user device may exist in a fixed location in that direction. The sound signals of the second type of device appear multiple times, but with larger angular deviations relative to the first type of device, indicating that a user device may exist in that direction within a certain range. For instance, if the angles of the sound signals in the historical positioning data identified by the wireless device are {10, 9, 28, 11, 30, 35, 12}, and the first angle range is set to ±3, and the first quantity threshold is set to 4, then the user device corresponding to the angle set {10, 9, 11, 12} is the first type of device. The angle data set {28, 30} differs from the angles of other sound signals within the first angle range but does not meet the first quantity threshold requirement, therefore it does not belong to the first type of device. The angle data set {35} does not differ from the angles of other sound signals within the first angle range, therefore it also does not belong to the first type of device. This application uses the first condition of the first type of device as an example for illustration. Those skilled in the art will understand that the first and second conditions can be set according to actual circumstances, and this application does not impose any restrictions on them.

[0096] In an exemplary embodiment of this application, among the angles of multiple sound signals in historical positioning data, the angles of sound signals that meet the first condition are denoted as the first set; the angles of sound signals that meet the second condition are denoted as the second set.

[0097] For example, the first set A is {x1, x2, x3, ..., x...} n If the user equipment corresponding to the angle of the detected sound signal in the environment is a Class I device, then the first adjustment angle d1 of the antenna in the corresponding wireless device can be calculated by formula (1):

[0098] d1=(x1+x2+x3+…+x n ) / n(1)

[0099] Where x1, x2, x3, ..., x n The angle of the sound signal of the most recent historical data that meets the first condition, where n is greater than or equal to the first threshold.

[0100] For example, the second set B is {y1, y2, y3, ..., y...} m If the user equipment corresponding to the angle of the detected sound signal in the environment is a second type of device, then the second adjustment angle d2 of the antenna in the corresponding wireless device can be calculated by formula (2):

[0101]

[0102] Where y1, y2, y3, ..., y m The angle of the most recent historical audio signal that meets the second condition is defined as m, where m is greater than or equal to the second threshold. Different historical audio signals have different weights, with the weight increasing the closer the angle is to the current audio signal acquisition time.

[0103] After determining the adjustment angles for the first and second type of equipment, the direction of the antenna can be adjusted based on the adjustment angles.

[0104] According to an exemplary embodiment of this application, by determining the type of user equipment corresponding to the audio signal and adjusting the direction of the antenna based on the corresponding adjustment angle, the accuracy of the antenna adjustment direction can be improved to a certain extent.

[0105] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the invention. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for antenna control, wherein a wireless device is wirelessly connected to a user equipment, the wireless device being equipped with an antenna, characterized in that, The method includes: The system detects a sound signal and identifies whether the sound signal contains keywords. If the sound signal contains the keyword, the wireless device makes a first adjustment to the direction of the antenna based on the first operating mode; If the sound signal does not contain the keyword, determine the duration of the sound signal; The duration of the sound signal is compared with a time threshold. If the duration of the sound signal is greater than or equal to the time threshold, the wireless device makes a second adjustment to the direction of the antenna based on the second working mode. The second working mode includes: Detect whether the wireless device and the user equipment meet preset conditions, wherein the preset conditions include that the number of user equipment connected to the wireless device is at least one and the network transmission rate or traffic is greater than or equal to a second threshold; If the preset conditions are met, the content information of the sound signal is obtained; Obtain network information and compare the similarity between the network information and the content information of the sound signal; If the similarity between the network information and the content information of the sound signal exceeds a first threshold, the location of the sound signal is located, and the antenna is controlled to adjust the signal transmission direction, wherein the signal transmission direction is toward the location of the sound signal; The first working mode includes: The wireless device locates the position of the sound signal and controls the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

2. The antenna control method according to claim 1, characterized in that, The method further includes: Obtain the keywords set by the user and the user's voice information; If the sound signal contains keywords, the sound information corresponding to the keywords is compared with the user's sound information, and the comparison result is obtained; Based on the comparison results, the working mode of the wireless device is determined. If the voice information corresponding to the keyword is the same as the user's voice information, the wireless device executes the first working mode. If the voice information corresponding to the keyword is different from the user's voice information, the wireless device executes the standby mode.

3. The antenna control method according to claim 2, characterized in that, The wireless device executes the first operating mode, including: The location and direction of the sound signal are determined based on the keywords; The antenna is controlled to adjust the signal transmission direction, which is toward the location of the sound signal; Detect whether the sound signal contains control commands; If the sound signal contains the control command, the corresponding operation is performed based on the control command.

4. The antenna control method according to claim 1, characterized in that, The method further includes: Acquire historical positioning data of the sound signal, wherein the historical positioning data includes the angle of the sound signal; Based on the historical positioning data of the sound signal, the type of the corresponding user equipment is determined, and the adjustment angle of the antenna is obtained. The type of user equipment includes a first type of equipment and a second type of equipment, and the adjustment angle includes a first adjustment angle and a second adjustment angle. The sound signal is detected, the type of user equipment corresponding to the sound signal is determined, and the direction of the antenna is adjusted based on the adjustment angle.

5. An antenna-controlled device, wherein a wireless device is wirelessly connected to a user equipment, the wireless device being equipped with an antenna, characterized in that, The device includes: A signal detection module is used to detect sound signals and identify whether the sound signals contain keywords; The control module is used to determine the operating mode of the wireless device. If the sound signal contains the keyword, the wireless device makes a first adjustment to the direction of the antenna based on the first operating mode. If the sound signal does not contain the keyword, determine the duration of the sound signal; The duration of the sound signal is compared with a time threshold. If the duration of the sound signal is greater than or equal to the time threshold, the wireless device makes a second adjustment to the direction of the antenna based on the second working mode. The control module is also used for: Detect whether the wireless device and the user equipment meet preset conditions, wherein the preset conditions include that the number of user equipment connected to the wireless device is at least one and the network transmission rate or traffic is greater than or equal to a second threshold; The second working mode includes: If the preset conditions are met, the content information of the sound signal is obtained; Obtain network information and compare the similarity between the network information and the content information of the sound signal; If the similarity between the network information and the content information of the sound signal exceeds a first threshold, the location of the sound signal is located, and the antenna is controlled to adjust the signal transmission direction, wherein the signal transmission direction is toward the location of the sound signal; The first working mode includes: The wireless device locates the position of the sound signal and controls the antenna to adjust the signal transmission direction, wherein the signal transmission direction is toward the position of the sound signal.

6. The antenna control device according to claim 5, characterized in that, The control module is also used for: Obtain the keywords set by the user and the user's voice information; If the sound signal contains keywords, the sound information corresponding to the keywords is compared with the user's sound information, and the comparison result is obtained; Based on the comparison results, the working mode of the wireless device is determined. If the voice information corresponding to the keyword is the same as the user's voice information, the wireless device executes the first working mode. If the voice information corresponding to the keyword is different from the user's voice information, the wireless device executes the standby mode.

7. The antenna control device according to claim 6, characterized in that, The control module is also used for: The location and direction of the sound signal are determined based on the keywords; The antenna is controlled to adjust the signal transmission direction, which is toward the location of the sound signal; Detect whether the sound signal contains control commands; If the sound signal contains the control command, the corresponding operation is performed based on the control command.

8. The antenna control device according to claim 5, characterized in that, The device further includes an angle adjustment module, the angle adjustment module being used for: Acquire historical positioning data of the sound signal, wherein the historical positioning data includes the angle of the sound signal; Based on the historical positioning data of the sound signal, the type of the corresponding user equipment is determined, and the adjustment angle of the antenna is obtained. The type of user equipment includes a first type of equipment and a second type of equipment, and the adjustment angle includes a first adjustment angle and a second adjustment angle. The sound signal is detected, the type of user equipment corresponding to the sound signal is determined, and the direction of the antenna is adjusted based on the adjustment angle.

Citation Information

Patent Citations

  • Method, device and system for adjusting antenna gain

    CN109672465A