Antenna direction adjusting method and device, and electronic device

By acquiring and analyzing performance parameters under different preset antenna orientations, the antenna orientation can be adjusted to meet the needs of different clients, thus solving the problem of low antenna utilization in existing technologies and improving the working efficiency of network devices.

CN119485341BActive Publication Date: 2025-10-24DONGGUAN LIANZHOU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411364707.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-10-24
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

In existing technologies, network devices adjust the antenna direction based solely on signal strength, resulting in low antenna utilization and reduced network device efficiency.

Method used

By acquiring performance parameters under different preset antenna orientations, the target performance parameters are determined based on these parameters, and the antenna orientation is adjusted to meet the data transmission needs of different clients, thereby improving the adjustment accuracy.

Benefits of technology

It improves the accuracy of antenna orientation adjustment, meets the data transmission needs of different clients, and enhances the working efficiency of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485341B_ABST
    Figure CN119485341B_ABST
Patent Text Reader

Abstract

The application discloses an antenna direction adjusting method, device and electronic equipment, and is suitable for a network device which communicates data with a plurality of first clients through a first antenna and communicates data with a plurality of second clients through a second antenna. The method comprises the following steps: acquiring a plurality of first performance parameters of the plurality of first clients when the direction of the first antenna is each first preset antenna direction; determining a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions, and then adjusting the antenna direction of the first antenna; acquiring a plurality of second performance parameters of the plurality of second clients and a plurality of third performance parameters of the plurality of first clients when the direction of the second antenna is each second preset antenna direction; then determining a second target performance parameter corresponding to the second preset antenna direction, obtaining a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions; and then adjusting the antenna direction of the second antenna. The scheme can improve the working efficiency of the network device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of antennas, and particularly relates to an antenna direction adjusting method and device and electronic equipment. BACKGROUND

[0002] In the related art, when a wireless network is created, the antenna configuration of a network device is very important. In the process of configuring the antenna of the network device, each antenna of the network device is mainly associated with different devices, and then the adjustment of the antenna direction of the antenna in the network device is performed, specifically, the antenna direction of the antenna is adjusted to the direction in which the signal strength of the antenna is the strongest. However, in practice, the signal strength is not strongly related to the actual data transmission capability. For example, according to the 802.11 protocol, when the network device and the device connected thereto perform data transmission, the data transmission rate of the corresponding data is not the largest when the signal strength of the corresponding antenna is the strongest. Therefore, in the related art, the adjustment of the antenna direction of the corresponding antenna only according to the signal strength of the antenna is too single in dimension, the precision of the adjustment of the antenna direction is not high, and thus the working efficiency of the network device is greatly reduced. SUMMARY

[0003] Embodiments of the application provide a scheme to solve the technical problem that in the related art, when the network device adjusts the antenna direction of the antenna, the adjustment of the antenna direction of the corresponding antenna only according to the signal strength of the antenna is too single in dimension, the utilization rate of the antenna is low, and thus the working efficiency of the network device is greatly reduced.

[0004] In a first aspect, the application provides an antenna direction adjusting method, which is applicable to a network device, the network device being provided with a first antenna and a second antenna, the network device performing data communication with a plurality of first clients through the first antenna, and the network device performing data communication with a plurality of second clients through the second antenna, and the method comprising the following steps.

[0005] For each first preset antenna direction of a plurality of first preset antenna directions of the first antenna, a plurality of first performance parameters corresponding to the plurality of first clients are obtained when the direction of the first antenna is the first preset antenna direction; and based on the plurality of first performance parameters, a first target performance parameter corresponding to the first preset antenna direction is determined, and thus a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions are obtained.

[0006] Based on the plurality of first target performance parameters, the antenna direction of the first antenna is adjusted.

[0007] After the antenna direction of the first antenna is adjusted, for each of a plurality of second preset antenna directions of the second antenna, the performance parameters corresponding to the plurality of second clients and the performance parameters corresponding to the plurality of first clients are obtained when the direction of the second antenna is the second preset antenna direction; based on the plurality of second performance parameters and the plurality of third performance parameters, the second target performance parameter corresponding to the second preset antenna direction is determined, and then the plurality of second target performance parameters corresponding to the plurality of second preset antenna directions are obtained.

[0008] Based on the plurality of second target performance parameters, the antenna direction of the second antenna is adjusted.

[0009] In a second aspect, the present application provides an antenna direction adjusting device, the device is suitable for a network equipment, the network equipment is provided with a first antenna and a second antenna, the network equipment communicates data with a plurality of first clients through the first antenna, and the network equipment communicates data with a plurality of second clients through the second antenna, and the device comprises:

[0010] An obtaining unit is configured to, for each of a plurality of first preset antenna directions of the first antenna, obtain a plurality of first performance parameters corresponding to the plurality of first clients when the direction of the first antenna is the first preset antenna direction; based on the plurality of first performance parameters, determine a first target performance parameter corresponding to the first preset antenna direction, and then obtain a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions.

[0011] An adjusting unit is configured to, based on the plurality of first target performance parameters, adjust the antenna direction of the first antenna.

[0012] The obtaining unit is further configured to, after the antenna direction of the first antenna is adjusted, for each of a plurality of second preset antenna directions of the second antenna, obtain a plurality of second performance parameters corresponding to the plurality of second clients and a plurality of third performance parameters corresponding to the plurality of first clients when the direction of the second antenna is the second preset antenna direction; based on the plurality of second performance parameters and the plurality of third performance parameters, determine a second target performance parameter corresponding to the second preset antenna direction, and then obtain a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions.

[0013] The adjusting unit is further configured to, based on the plurality of second target performance parameters, adjust the antenna direction of the second antenna.

[0014] In a third aspect, the present application provides an electronic device, comprising:

[0015] A processor; and

[0016] A memory for storing executable instructions of the processor.

[0017] The processor is configured to execute the first aspect or any of the possible implementation manners of the first aspect via executing executable instructions.

[0018] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the first aspect or any of the possible implementation manners of the first aspect.

[0019] The technical solution provided by the present application is suitable for a network device, the network device is provided with a first antenna and a second antenna, the network device communicates data with a plurality of first clients through the first antenna, and the network device communicates data with a plurality of second clients through the second antenna. The method comprises the following steps: for each first preset antenna direction of a plurality of first preset antenna directions of the first antenna, a plurality of first performance parameters corresponding to the plurality of first clients when the direction of the first antenna is the first preset antenna direction are obtained; based on the plurality of first performance parameters, a first target performance parameter corresponding to the first preset antenna direction is determined, and then a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions are obtained; based on the plurality of first target performance parameters, the antenna direction of the first antenna is adjusted; after the antenna direction of the first antenna is adjusted, for each second preset antenna direction of a plurality of second preset antenna directions of the second antenna, a plurality of second performance parameters corresponding to the plurality of second clients and a plurality of third performance parameters corresponding to the plurality of first clients when the direction of the second antenna is the second preset antenna direction are obtained; based on the plurality of second performance parameters and the plurality of third performance parameters, a second target performance parameter corresponding to the second preset antenna direction is determined, and then a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions are obtained; and based on the plurality of second target performance parameters, the antenna direction of the second antenna is adjusted. The technical solution relates to the analysis of different performance parameters of clients when the clients communicate data with the network device deployed at different preset antenna directions of the antenna, and then the antenna direction of the antenna on the network device is adjusted according to different performance parameters when different clients communicate data with the network device, so that the data transmission requirements of different clients are met, the precision of adjusting the antenna direction is improved, and the working efficiency of the network device is also improved. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiment or related art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without any creative effort. In the drawings:

[0021] Figure 1A flowchart of an antenna direction adjusting method provided by an embodiment of the present application is shown in FIG. 1.

[0022] Figure 2a With Figure 2b An interaction diagram of a network device and a client provided by an embodiment of the present application is shown in FIG. 2.

[0023] Figure 3 A structural diagram of an antenna direction adjusting device provided by an embodiment of the present application is shown in FIG. 3.

[0024] Figure 4 A structural diagram of an electronic device provided by an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION

[0025] Embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings. The embodiments described below by reference to the drawings are exemplary and are intended to explain the present application, and should not be understood as limiting the present application.

[0026] The terms "first" and "second" and the like in the specification of the embodiments of the present application, claims, and drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or chronological order. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products, or devices. The "first antenna" and "second antenna" in the present application are only an exemplary way of distinguishing similar objects, and the scope of protection of the present application is not limited thereto. Further, the number of the first antenna and the number of the second antenna in the present application can be one or multiple, and the present application does not limit the number.

[0027] The antenna direction adjusting method provided by the embodiments of the present application can be run on various servers or network devices with data processing functions. Among them, the network device can be a local router device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligence platforms.

[0028] In the related art, the antenna configuration of a network device is very important when a wireless network is created. In the process of configuring the antenna of the network device, each antenna of the network device is mainly associated with different devices respectively, and then the antenna direction of the antenna in the network device is adjusted, specifically, the antenna direction of the antenna is adjusted to the direction in which the signal strength of the antenna is the strongest. However, in fact, the signal strength is not strongly related to the actual data transmission capability, for example, according to the 802.11 protocol, when the network device and the device connected thereto perform data transmission, the data transmission rate of the corresponding data is not the maximum when the signal strength of the corresponding antenna is the strongest. Therefore, in the related art, the adjustment of the antenna direction of the corresponding antenna only according to the signal strength of the antenna is too single, the precision of adjusting the antenna direction is not high, and thus the working efficiency of the network device is greatly reduced.

[0029] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

[0030] Figure 1 A flowchart of an antenna direction adjustment method provided for an exemplary embodiment of the present application, which can be applied to various network devices with antennas. Taking the case where the method is applied to a network device, the network device is provided with a first antenna and a second antenna, the network device performs data communication with a plurality of first clients through the first antenna, and the network device performs data communication with a plurality of second clients through the second antenna. The scheme at least includes the following steps S101-S104:

[0031] S101, for each first preset antenna direction in a plurality of first preset antenna directions of the first antenna, the following steps S1011-S1012 are performed, and then a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions are obtained.

[0032] S1011, when the direction of the first antenna is the first preset antenna direction, a plurality of first performance parameters corresponding to a plurality of first clients are obtained.

[0033] In some embodiments, for each first preset antenna direction in the aforementioned plurality of first preset antenna directions, when the direction of the first antenna is the first preset antenna direction, each first client corresponds to one first performance parameter. The first performance parameter corresponding to each first client can refer to the data transmission rate of the network device performing data communication with the first client through the first antenna when the direction of the first antenna is the first preset antenna direction.

[0034] Optionally, the plurality of first client parts are identical, completely identical, or each different.

[0035] In some embodiments, in an actual wifi use scenario, the network device comprises a RE (Relay equipment) and a network connection device, the first antenna is arranged in the RE, and the second antenna is arranged in the network connection device.

[0036] In the present application, the first client communicates with the network connection device through the RE, and the second client directly communicates with the network connection device. Specifically, the network connection device is a device connected to the Internet by a network cable, and the user equipment can access the Internet after being connected to the network connection device through the antenna. The RE is a device capable of expanding the signal coverage range of the network connection device, and the RE itself does not provide the Internet. Therefore, the user equipment can access the Internet only after being connected to the network connection device through the RE.

[0037] Optionally, the aforementioned network connection device can refer to an AP (Access Point). The AP is an access point of a wireless network, commonly known as a hotspot. There are mainly integrated devices of routing, switching and access, and pure access point devices. The integrated device performs access and routing work, and the pure access device is only responsible for the access of the wireless client.

[0038] The RE is a connection device working on the physical layer. It is suitable for the interconnection of two completely identical networks, and the main function is to expand the network transmission distance by retransmitting or forwarding the data signal.

[0039] The first performance parameter corresponding to the first client can refer to the data transmission rate of the RE in the network device for data communication with the first client through the first antenna when the direction of the first antenna is the first preset antenna direction.

[0040] In order to better explain the present scheme, combined with Figure 2a and Figure 2bFurther to the solution, the network device 10 comprises a network connection device 31 and a relay device 32, the network connection device 31 is connected with the relay device 32, a connection channel between the network connection device 31 and the relay device 32 is a backhaul link, a connection channel between a second antenna on the network connection device 31 and a second client 21, a second client 22, a second client 2N, etc. is a host link, where N is a positive integer greater than 2. The network device 10 is connected with a first client 11, a first client 12, a first client 1M, etc. M first clients through a first antenna on the relay device 32, where M is a positive integer greater than 2, and the network device 10 is connected with a second client 21, a second client 22, a second client 2N, etc. N second clients through a second antenna on the network connection device 31, where the values of M and N can be the same or different.

[0041] In some embodiments, the first antenna comprises a plurality of first sub-antennas, each of the first sub-antennas has one or more first preset sub-antenna directions, and the plurality of first preset sub-antenna directions of the plurality of first sub-antennas are the first preset antenna directions of the first antenna.

[0042] S1012, determining a first target performance parameter corresponding to the first preset antenna direction based on the plurality of first performance parameters.

[0043] In some embodiments, in the foregoing S1012, determining the first target performance parameter corresponding to the first preset antenna direction based on the plurality of first performance parameters comprises: taking the plurality of first performance parameters as the first target performance parameter corresponding to the first preset antenna direction.

[0044] In some other embodiments, in the foregoing S1012, determining the first target performance parameter corresponding to the first preset antenna direction based on the plurality of first performance parameters comprises: summing the plurality of first performance parameters to obtain a first performance parameter sum, and taking the first performance parameter sum as the first target performance parameter corresponding to the first preset antenna direction.

[0045] After determining the first target performance parameter corresponding to the first preset antenna direction for each first preset antenna direction, a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions are obtained.

[0046] S102, adjusting the antenna direction of the first antenna based on the plurality of first target performance parameters.

[0047] Optionally, in S1012, the first target performance parameter corresponding to the first preset antenna direction is determined based on the plurality of first performance parameters, including: when the plurality of first performance parameters are taken as the first target performance parameter corresponding to the first preset antenna direction, in the foregoing S102, the antenna direction of the first antenna is adjusted based on the plurality of first target performance parameters, including steps S11-S13.

[0048] S11, for each first target performance parameter in the plurality of first target performance parameters, summing the plurality of first performance parameters contained in the first target performance parameter to obtain a first performance parameter sum corresponding to the first target performance parameter, and further obtaining a plurality of first performance parameter sums corresponding to the plurality of first target performance parameters.

[0049] In some embodiments, different first preset antenna directions correspond to different first target performance parameters, and different first preset antenna directions correspond to different first performance parameter sums.

[0050] S12, taking the first preset antenna direction corresponding to the first target performance parameter corresponding to the maximum first performance parameter sum in the plurality of first performance parameter sums as the first target direction.

[0051] Among them, the first target performance parameter corresponding to the maximum first performance parameter sum refers to the first target performance parameter whose sum of the plurality of first performance parameters is the maximum first performance parameter sum.

[0052] S13, adjusting the antenna direction of the first antenna based on the first target direction.

[0053] In some embodiments, the foregoing S13 can specifically include: adjusting the antenna direction of the first antenna to the first target direction.

[0054] Optionally, in S1012, the first target performance parameter corresponding to the first preset antenna direction is determined based on the plurality of first performance parameters, including: summing the plurality of first performance parameters to obtain a first performance parameter sum, and taking the first performance parameter sum as the first target performance parameter corresponding to the first preset antenna direction, when the foregoing S102, the antenna direction of the first antenna is adjusted based on the plurality of first target performance parameters, including: taking the first preset antenna direction corresponding to the first target performance parameter with the maximum value in the plurality of first target performance parameters as the first target direction; and adjusting the antenna direction of the first antenna to the first target direction.

[0055] S103, after the antenna direction of the first antenna is adjusted, for each second preset antenna direction in the plurality of second preset antenna directions of the second antenna, the following S1031-S1032 are performed, and further a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions are obtained.

[0056] S1031, acquire the second performance parameters corresponding to the plurality of second clients and the third performance parameters corresponding to the plurality of first clients when the direction of the second antenna is the second preset antenna direction.

[0057] In some embodiments, for each of the plurality of second preset antenna directions, the second performance parameter corresponding to each second client is acquired when the direction of the second antenna is the second preset antenna direction. The second performance parameter corresponding to each second client can refer to the data transmission rate of the network device communicating data with the second client through the second antenna when the direction of the second antenna is the second preset antenna direction.

[0058] In some embodiments, the third performance parameter corresponding to the first client includes the data transmission rate of the network device communicating data with the first client through the first antenna when the direction of the first antenna is the adjusted antenna direction.

[0059] S1032, determine the second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters.

[0060] In some embodiments, in S1032, determining the second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters can include: taking the plurality of second performance parameters and the plurality of third performance parameters as the second target performance parameter corresponding to the second preset antenna direction.

[0061] In other embodiments, in S1032, determining the second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters can include: summing the plurality of second performance parameters and the plurality of third performance parameters to obtain a second performance parameter sum, and taking the second performance parameter sum as the second target performance parameter corresponding to the second preset antenna direction.

[0062] Optionally, the second antenna includes a plurality of second sub-antennas, and each second sub-antenna has one or more second preset sub-antenna directions. The plurality of second preset sub-antenna directions of the plurality of second sub-antennas are the second preset antenna directions of the second antenna.

[0063] After determining the second target performance parameter corresponding to each second preset antenna direction, a plurality of second target performance parameters corresponding to a plurality of second preset antenna directions are obtained.

[0064] S104, adjust the antenna direction of the second antenna based on the plurality of second target performance parameters.

[0065] In some embodiments, in S1032, the second target performance parameter corresponding to the second preset antenna direction is determined based on the plurality of second performance parameters and the plurality of third performance parameters, including: when the plurality of second performance parameters and the plurality of third performance parameters are taken as the second target performance parameter corresponding to the second preset antenna direction, in S104, the antenna direction of the second antenna is adjusted based on the plurality of second target performance parameters, including steps S31-S33:

[0066] S31, for each second target performance parameter in the plurality of second target performance parameters, summing the plurality of second performance parameters and the plurality of third performance parameters contained in each second target performance parameter to obtain a second performance parameter sum corresponding to the second target performance parameter, and further obtaining a plurality of second performance parameter sums corresponding to the plurality of second target performance parameters.

[0067] In some embodiments, different second preset antenna directions correspond to different second target performance parameters.

[0068] S32, taking the second preset antenna direction corresponding to the second target performance parameter corresponding to the largest second performance parameter sum in the plurality of second performance parameter sums as the second target direction.

[0069] S33, adjusting the antenna direction of the second antenna based on the second target direction.

[0070] In some embodiments, the foregoing S33 can specifically include: adjusting the antenna direction of the second antenna to the second target direction.

[0071] In another embodiment, in S1032, the second target performance parameter corresponding to the second preset antenna direction is determined based on the plurality of second performance parameters and the plurality of third performance parameters, including: summing the plurality of second performance parameters and the plurality of third performance parameters to obtain a second performance parameter sum, and taking the second performance parameter sum as the second target performance parameter corresponding to the second preset antenna direction, in S104, the antenna direction of the second antenna is adjusted based on the plurality of second target performance parameters, including: taking the second preset antenna direction corresponding to the second target performance parameter corresponding to the largest second target performance parameter in the plurality of second target performance parameters as the second target direction; and adjusting the antenna direction of the second antenna to the second target direction.

[0072] In some embodiments, after adjusting the antenna direction of the second antenna based on the plurality of second target performance parameters, the method further includes steps S41-S42:

[0073] S41, detecting the first position information of at least one first client in the plurality of first clients, and / or the second position information of at least one second client in the plurality of second clients.

[0074] S42, if the first position information and / or the second position information changes, readjust the antenna direction of the first antenna and / or the antenna direction of the second antenna.

[0075] If the first position information and / or the second position information changes, it will affect the signal connection between the network device and at least one of the first client or at least one of the second client, and further cause the current antenna direction of the first antenna or the second antenna to be a non-optimal antenna direction. Therefore, when the first position information and / or the second position information changes, the antenna direction of the first antenna and / or the antenna direction of the second antenna need to be readjusted.

[0076] In some embodiments, after adjusting the antenna direction of the second antenna based on the plurality of second target performance parameters, the method further comprises steps S21-S22:

[0077] S21, detecting environment data of a current environment.

[0078] In some embodiments, the environment data at least includes weather information, magnetic field strength.

[0079] S22, if the environment data does not meet a preset condition, readjusting the antenna direction of the first antenna and / or the antenna direction of the second antenna, for example, returning to execute the aforementioned steps S101-S104 to readjust the antenna direction of the first antenna and / or the antenna direction of the second antenna.

[0080] In some embodiments, the preset condition can be a preset environment data. If the environment data is different from the preset environment data, or the environment data is not within the range of the preset environment data, it is considered that the environment data does not meet the preset condition. When the environment data does not meet the preset condition, it indicates that the environment of the network device has changed, and the antenna direction of the first antenna and / or the antenna direction of the second antenna of the network device need to be readjusted.

[0081] Specifically, taking the environment data including the magnetic field strength as an example, if it is detected that the magnetic field strength of the network device has changed, the adjustment of the antenna direction of the first antenna and / or the antenna direction of the second antenna is restarted, for example, returning to execute the aforementioned steps S101-S104.

[0082] In some embodiments, based on the plurality of second performance parameters and the plurality of third performance parameters, the second target performance parameter corresponding to the second preset antenna direction is determined, comprising: when each third performance parameter in the plurality of third performance parameters includes a data transmission rate, summing the plurality of third performance parameters to obtain a sum of the plurality of third performance parameters; based on the sum of the plurality of third performance parameters and the sum of the plurality of second performance parameters, determining the second target performance parameter corresponding to the second preset antenna direction.

[0083] In some embodiments, the determining the second target performance parameter corresponding to the second preset antenna direction based on the sum of the plurality of second performance parameters and the sum of the plurality of third performance parameters comprises S51-S52:

[0084] S51, when at least one third performance parameter in the plurality of third performance parameters does not include the data transmission rate, obtaining the current power of the relay device, and determining the sum of the plurality of third performance parameters based on the current power.

[0085] Specifically, when at least one third performance parameter in the plurality of third performance parameters does not include the data transmission rate, the network connection device cannot obtain the data transmission rate between the at least one first client corresponding to the at least one third performance parameter in the plurality of first clients and the relay device from the relay device. In order to ensure that the network device can quickly adjust the antenna direction of the second antenna, the current power of the relay device can be directly obtained to replace the sum of the data transmission rates between each first client in the plurality of first clients and the relay device, and the sum of the data transmission rates between each first client in the plurality of first clients and the relay device is the sum of the plurality of third performance parameters.

[0086] In some embodiments, the determining the sum of the plurality of third performance parameters based on the current power comprises steps S511-S513:

[0087] S511, determining a weight factor of the first antenna.

[0088] In some embodiments, the weight factor is set in advance by a relevant person according to the damage of the first antenna on the relay device, current environmental data and other information.

[0089] S512, multiplying the weight factor and the current power to obtain a multiplication result.

[0090] S513, taking the multiplication result as the sum of the plurality of third performance parameters.

[0091] S52, determining the second target performance parameter corresponding to the second preset antenna direction based on the sum of the plurality of third performance parameters and the sum of the plurality of second performance parameters.

[0092] Optionally, the determining the second target performance parameter corresponding to the second preset antenna direction based on the sum of the plurality of third performance parameters and the sum of the plurality of second performance parameters comprises: summing the sum of the plurality of third performance parameters and the sum of the plurality of second performance parameters to obtain a second performance parameter sum, and taking the second performance parameter sum as the second target performance parameter corresponding to the second preset antenna direction.

[0093] The technical scheme provided in the application is suitable for a network device, the network device is provided with a first antenna and a second antenna, the network device performs data communication with a plurality of first clients through the first antenna, and the network device performs data communication with a plurality of second clients through the second antenna, and the method comprises the following steps: acquiring, for each first preset antenna direction in a plurality of first preset antenna directions of the first antenna, a plurality of first performance parameters corresponding to the plurality of first clients when the direction of the first antenna is the first preset antenna direction; determining a first target performance parameter corresponding to the first preset antenna direction based on the plurality of first performance parameters, and then obtaining a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions; adjusting the antenna direction of the first antenna based on the plurality of first target performance parameters; after the antenna direction of the first antenna is adjusted, acquiring, for each second preset antenna direction in a plurality of second preset antenna directions of the second antenna, a plurality of second performance parameters corresponding to the plurality of second clients and a plurality of third performance parameters corresponding to the plurality of first clients when the direction of the second antenna is the second preset antenna direction; determining a second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters, and then obtaining a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions; and adjusting the antenna direction of the second antenna based on the plurality of second target performance parameters. The technical scheme relates to the analysis of different performance parameters of clients when the clients perform data communication with the network device deployed at different preset antenna directions, and then the antenna direction of the antenna on the network device is adjusted according to different performance parameters when different clients perform data communication with the network device, so that the data transmission requirements of different clients are met, the precision of adjusting the antenna direction is improved, and the working efficiency of the network device is also improved.

[0094] Figure 3 A structural schematic diagram of an antenna direction adjusting device provided for an exemplary embodiment of the application; wherein the device is suitable for a network device, the network device is provided with a first antenna and a second antenna, the network device performs data communication with a plurality of first clients through the first antenna, and the network device performs data communication with a plurality of second clients through the second antenna, and the device comprises:

[0095] The acquisition unit 201 is configured to acquire, for each first preset antenna direction in a plurality of first preset antenna directions of the first antenna, a plurality of first performance parameters corresponding to the plurality of first clients when the direction of the first antenna is the first preset antenna direction; determine a first target performance parameter corresponding to the first preset antenna direction based on the plurality of first performance parameters, and then obtain a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions;

[0096] The adjustment unit 202 is configured to adjust the antenna direction of the first antenna based on the plurality of first target performance parameters.

[0097] The acquisition unit 201 is further configured to, after the antenna direction of the first antenna is adjusted, acquire, for each second preset antenna direction of a plurality of second preset antenna directions of the second antenna, a plurality of second performance parameters corresponding to a plurality of second clients and a plurality of third performance parameters corresponding to a plurality of first clients when the direction of the second antenna is the second preset antenna direction; determine a second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters, and further obtain a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions;

[0098] The adjustment unit 202 is further configured to adjust the antenna direction of the second antenna based on the plurality of second target performance parameters.

[0099] In some embodiments, the apparatus, when used for adjusting the antenna direction of the first antenna based on the plurality of first target performance parameters, is specifically configured to:

[0100] For each first target performance parameter in the plurality of first target performance parameters, sum a plurality of first performance parameters contained in the first target performance parameter to obtain a first performance parameter sum corresponding to the first target performance parameter, and further obtain a plurality of first performance parameter sums corresponding to the plurality of first target performance parameters;

[0101] Take the first preset antenna direction corresponding to the second target performance parameter corresponding to the largest first performance parameter sum in the plurality of first performance parameter sums as the first target direction;

[0102] Adjust the antenna direction of the first antenna based on the first target direction.

[0103] Optionally, the apparatus, when used for adjusting the antenna direction of the second antenna based on the plurality of second target performance parameters, is specifically configured to:

[0104] For each second target performance parameter in the plurality of second target performance parameters, sum a plurality of second performance parameters and a plurality of third performance parameters contained in the second target performance parameter to obtain a second performance parameter sum corresponding to the second target performance parameter, and further obtain a plurality of second performance parameter sums corresponding to the plurality of second target performance parameters;

[0105] Take the second preset antenna direction corresponding to the second target performance parameter corresponding to the largest second performance parameter sum in the plurality of second performance parameter sums as the second target direction;

[0106] Adjust the antenna direction of the second antenna based on the second target direction.

[0107] Optionally, the apparatus, when used for determining the second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters, is specifically configured to:

[0108] When each of the plurality of third performance parameters comprises the data transmission rate, the plurality of third performance parameters are summed to obtain a sum of the plurality of third performance parameters;

[0109] The second target performance parameter corresponding to the second preset antenna direction is determined based on the sum of the plurality of third performance parameters and the sum of the plurality of second performance parameters.

[0110] Optionally, the network device comprises a relay device and a network connection device, the first antenna is arranged in the relay device, and the second antenna is arranged in the network connection device;

[0111] When the device is used to determine the second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters, the device is specifically used to:

[0112] When at least one of the plurality of third performance parameters does not comprise the data transmission rate, the current power of the relay device is obtained, and the sum of the plurality of third performance parameters is determined based on the current power;

[0113] The second target performance parameter corresponding to the second preset antenna direction is determined based on the sum of the plurality of third performance parameters and the sum of the plurality of second performance parameters.

[0114] Optionally, when the device is used to determine the sum of the plurality of third performance parameters based on the current power, the device is specifically used to:

[0115] A weight factor of the first antenna is determined;

[0116] The weight factor and the current power are multiplied to obtain a multiplication result;

[0117] The multiplication result is taken as the sum of the plurality of third performance parameters.

[0118] Optionally, after the device is used to adjust the antenna direction of the second antenna based on the plurality of second target performance parameters, the device is further used to:

[0119] First position information of at least one of the plurality of first clients and / or second position information of at least one of the plurality of second clients is detected;

[0120] If the first position information and / or the second position information changes, the antenna direction of the first antenna and / or the antenna direction of the second antenna is re-adjusted.

[0121] Optionally, after the device is used to adjust the antenna direction of the second antenna based on the plurality of second target performance parameters, the device is further used to:

[0122] Environment data of a current environment is detected, wherein the environment data at least comprises weather information and magnetic field intensity;

[0123] If the environment data does not meet the preset condition, the antenna direction of the first antenna and / or the antenna direction of the second antenna is adjusted again.

[0124] It should be understood that the device embodiments and the method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, no longer described here. Specifically, the device can perform the above-mentioned method embodiments, and the foregoing and other operations and / or functions of each module in the device are respectively for the corresponding flow in each method in the above-mentioned method embodiments, and for the sake of brevity, no longer described here.

[0125] The device of the embodiments of the present application is described above from the perspective of functional modules in combination with the drawings. It should be understood that the functional modules can be realized in the form of hardware, or in the form of instructions of software, or in the form of a combination of hardware and software modules. Specifically, each step of the method embodiments in the embodiments of the present application can be completed by the integrated logic circuit of hardware and / or the instruction of software in the processor, and the steps of the method disclosed in the embodiments of the present application can be directly embodied as hardware code processor execution completion, or executed by the combination of hardware and software modules in the code processor. Alternatively, the software module can be located in the mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and combines the hardware to complete the steps in the above-mentioned method embodiments.

[0126] Figure 4 is a schematic block diagram of an electronic device provided by the embodiments of the present application, which can include:

[0127] The memory 301 is used to store computer programs and transmit the program codes to the processor 302. In other words, the processor 302 can call and run the computer programs from the memory 301 to realize the method in the embodiments of the present application.

[0128] For example, the processor 302 can be used to execute the above-mentioned method embodiments according to the instructions in the computer program.

[0129] In some embodiments of the present application, the processor 302 can include but is not limited to:

[0130] A general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.

[0131] In some embodiments of the present application, the memory 301 includes, but is not limited to:

[0132] volatile memory and / or non-volatile memory. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), which is used as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).

[0133] In some embodiments of the present application, the computer program can be divided into one or more modules, which are stored in the memory 301 and executed by the processor 302 to complete the method provided by the present application. The one or more modules can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program in the electronic device.

[0134] As shown in Figure 4 , the electronic device can further include:

[0135] The transceiver 303 can be connected to the processor 302 or the memory 301.

[0136] The processor 302 can control the transceiver 303 to communicate with other devices, specifically, can send information or data to other devices, or receive information or data sent by other devices. The transceiver 303 can include a transmitter and a receiver. The transceiver 303 can further include an antenna, and the number of antennas can be one or more.

[0137] It should be understood that various components in the electronic device are connected through a bus system, and the bus system includes a data bus, a power supply bus, a control bus, and a state signal bus in addition to a data bus.

[0138] The present application also provides a computer storage medium, which stores a computer program, and the computer program enables a computer to execute the method of the above method embodiments when the computer program is executed by the computer. Alternatively, the present application embodiments also provide a computer program product containing instructions, and the instructions enable a computer to execute the method of the above method embodiments when the instructions are executed by the computer.

[0139] When implemented by using software, the computer program product can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the flow or function according to the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)) and the like.

[0140] Those skilled in the art can understand that the modules and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed 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 the present application.

[0141] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the modules is only a logical function division, and actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed modules can be indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0142] The modules described as separate components can or can not be physically separated, and the components shown as modules can or can not be physical modules, i.e. can be located in one place or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment according to actual needs. For example, the functional modules in each embodiment of the present application can be integrated in one processing module, or each module can be physically present separately, or two or more modules can be integrated in one module.

[0143] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any skilled person in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method of antenna direction adjustment, the method being applicable to a network device, characterized in that, The network device is provided with a first antenna and a second antenna, the network device communicates data with a plurality of first clients through the first antenna, and the network device communicates data with a plurality of second clients through the second antenna, and the method comprises: For each of a plurality of first preset antenna directions of the first antenna, a plurality of first performance parameters corresponding to the plurality of first clients when the direction of the first antenna is the first preset antenna direction are obtained; Based on the plurality of first performance parameters, a first target performance parameter corresponding to the first preset antenna direction is determined, and then a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions are obtained; Based on the plurality of first target performance parameters, the antenna direction of the first antenna is adjusted; After the antenna direction of the first antenna is adjusted, for each of a plurality of second preset antenna directions of the second antenna, a plurality of second performance parameters corresponding to the plurality of second clients and a plurality of third performance parameters corresponding to the plurality of first clients when the direction of the second antenna is the second preset antenna direction are obtained; Based on the plurality of second performance parameters and the plurality of third performance parameters, a second target performance parameter corresponding to the second preset antenna direction is determined, and then a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions are obtained; Based on the plurality of second target performance parameters, the antenna direction of the second antenna is adjusted.

2. The method of claim 1, wherein, The adjustment of the antenna direction of the first antenna based on the plurality of first target performance parameters comprises: For each of the plurality of first target performance parameters, a plurality of first performance parameters contained in the first target performance parameter are summed to obtain a first performance parameter sum corresponding to the first target performance parameter, and then a plurality of first performance parameter sums corresponding to the plurality of first target performance parameters are obtained; The first preset antenna direction corresponding to the first target performance parameter corresponding to the largest first performance parameter sum in the plurality of first performance parameter sums is taken as a first target direction; The antenna direction of the first antenna is adjusted based on the first target direction.

3. The method of claim 1, wherein, The adjustment of the antenna direction of the second antenna based on the plurality of second target performance parameters comprises: For each of the plurality of second target performance parameters, a plurality of second performance parameters and a plurality of third performance parameters contained in each of the second target performance parameters are summed to obtain a second performance parameter sum corresponding to the second target performance parameter, and then a plurality of second performance parameter sums corresponding to the plurality of second target performance parameters are obtained; The second preset antenna direction corresponding to the second target performance parameter corresponding to the largest second performance parameter sum in the plurality of second performance parameter sums is taken as a second target direction; The antenna direction of the second antenna is adjusted based on the second target direction.

4. The method of claim 1, wherein, The determination of the second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters comprises: When each of the third performance parameters comprises a data transmission rate, the third performance parameters are summed to obtain a sum of the third performance parameters; Based on the sum of the third performance parameters and the sum of the second performance parameters, a second target performance parameter corresponding to the second preset antenna direction is determined.

5. The method of claim 1, wherein, The network device comprises a relay device and a network connection device, the first antenna is arranged in the relay device, and the second antenna is arranged in the network connection device; The determination of the second target performance parameter corresponding to the second preset antenna direction based on the second performance parameters and the third performance parameters comprises: When at least one of the third performance parameters does not comprise a data transmission rate, a current power of the relay device is obtained, and the sum of the third performance parameters is determined based on the current power; Based on the sum of the third performance parameters and the sum of the second performance parameters, a second target performance parameter corresponding to the second preset antenna direction is determined.

6. The method of claim 5, wherein, The determination of the sum of the third performance parameters based on the current power comprises: A weight factor of the first antenna is determined; The weight factor and the current power are multiplied to obtain a multiplication result; The multiplication result is taken as the sum of the third performance parameters.

7. The method of claim 1, wherein, After the adjustment of the antenna direction of the second antenna based on the second target performance parameters, the method further comprises: First position information of at least one of the first clients and / or second position information of at least one of the second clients is detected; If the first position information and / or the second position information changes, the antenna direction of the first antenna and / or the antenna direction of the second antenna is re-adjusted.

8. The method of claim 1, wherein, After the adjustment of the antenna direction of the second antenna based on the second target performance parameters, the method further comprises: Environment data of a current environment is detected, wherein the environment data at least comprises weather information and magnetic field strength; If the environment data does not meet a preset condition, the antenna direction of the first antenna and / or the antenna direction of the second antenna is re-adjusted.

9. An antenna direction adjusting apparatus, the apparatus being adapted for use in a network device, characterized in that The network device comprises a first antenna and a second antenna, the network device communicates with a plurality of first clients through the first antenna, and the network device communicates with a plurality of second clients through the second antenna, and the apparatus comprises: An obtaining unit is configured to, for each of a plurality of first preset antenna directions of the first antenna, obtain a plurality of first performance parameters corresponding to the plurality of first clients when the direction of the first antenna is the first preset antenna direction, determine a first target performance parameter corresponding to the first preset antenna direction based on the plurality of first performance parameters, and further obtain a plurality of first target performance parameters corresponding to the plurality of first preset antenna directions; An adjusting unit is configured to adjust the antenna direction of the first antenna based on the plurality of first target performance parameters. The acquisition unit is further configured to, after the antenna direction of the first antenna is adjusted, acquire, for each of a plurality of second preset antenna directions of the second antenna, a plurality of second performance parameters corresponding to the plurality of second clients and a plurality of third performance parameters corresponding to the plurality of first clients when the direction of the second antenna is the second preset antenna direction; determine a second target performance parameter corresponding to the second preset antenna direction based on the plurality of second performance parameters and the plurality of third performance parameters, and further obtain a plurality of second target performance parameters corresponding to the plurality of second preset antenna directions. The adjustment unit is further configured to adjust the antenna direction of the second antenna based on the plurality of second target performance parameters.

10. An electronic device, comprising: The apparatus comprises: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to execute the method of any one of claims 1-8 by executing the executable instructions.

Citation Information

Patent Citations

  • Smart antenna adjustment method and device, equipment and readable storage medium

    CN109640342A

  • Antenna parameter determination method and device

    CN112469060A