CN114978369A - Antenna position adjusting method and device, electronic equipment and computer storage medium - Google Patents

Antenna position adjusting method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN114978369A
CN114978369A CN202110215199.XA CN202110215199A CN114978369A CN 114978369 A CN114978369 A CN 114978369A CN 202110215199 A CN202110215199 A CN 202110215199A CN 114978369 A CN114978369 A CN 114978369A
Authority
CN
China
Prior art keywords
signal strength
antenna
current signal
determining
adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110215199.XA
Other languages
Chinese (zh)
Inventor
徐晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202110215199.XA priority Critical patent/CN114978369A/en
Publication of CN114978369A publication Critical patent/CN114978369A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/27Monitoring; Testing of receivers for locating or positioning the transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides a method and a device for adjusting the position of an antenna, electronic equipment and a computer-readable storage medium, and relates to the field of monitoring. The method comprises the following steps: when the connection between the image acquisition equipment and the network node is completed, whether the field range of the image acquisition equipment is changed or not is detected, a first detection result is obtained, and then the position of an antenna of the image acquisition equipment is adjusted based on the first detection result. Like this, whether the physical position through field of view scope detection image acquisition equipment changes, then carries out automatically regulated to the position of antenna according to the testing result to the problem that the position of antenna needs artifical the regulation among the prior art has been solved, the maintenance cost that has significantly reduced has improved maintenance efficiency.

Description

Antenna position adjusting method and device, electronic equipment and computer storage medium
Technical Field
The present application relates to the field of monitoring technologies, and in particular, to a method and an apparatus for adjusting a position of an antenna, an electronic device, and a computer-readable storage medium.
Background
In the monitoring industry, wireless cameras are more and more favored by customers due to the convenience of field installation and construction. The wireless camera is responsible for acquiring images/information, and the images/information is transmitted to network nodes such as a network video recorder or a wireless router by adopting a wireless technology, so that the deployment is very convenient.
However, since wireless transmission is more susceptible to external interference than wired transmission, image/information transmission may be affected due to the increase of wireless devices in the surrounding environment, or connection quality between a wireless camera and a network node may be poor due to an unreasonable installation of the position/angle of an antenna by a constructor at the time of construction. If the connection quality is continuously poor, abnormal loss of images/information or even connection failure may be caused, at this time, the user may restart the device, and if the problem cannot be solved after the restart, maintenance personnel are required to adjust the antenna position of the wireless camera, which is high in maintenance cost and low in efficiency, especially under the condition that the installation position of the wireless camera is complex.
Disclosure of Invention
The application provides a method and a device for adjusting the position of an antenna, electronic equipment and a computer readable storage medium, which can solve the problems of high maintenance cost and low efficiency caused by that maintenance personnel adjust the position of the antenna of a wireless camera. The technical scheme is as follows:
according to an aspect of the present application, there is provided a position adjustment method of an antenna, the method including:
when the connection between the image acquisition equipment and the network node is completed, detecting whether the field range of the image acquisition equipment is changed or not to obtain a first detection result;
and adjusting the position of an antenna of the image acquisition equipment based on the first detection result.
In one or more embodiments, when the first detection result is that no change has occurred, the adjusting the position of the antenna of the image capturing device based on the first detection result includes:
acquiring N signal strengths of the antenna which are ranked at the top according to the signal strength before the image acquisition equipment is powered off, and determining the maximum first target signal strength in the N signal strengths; n is a positive integer;
determining a first position corresponding to the first target signal strength;
adjusting the antenna to the first position.
In one or more embodiments, when the first detection result is a change, the adjusting the position of the antenna of the image capturing device based on the first detection result includes:
acquiring M signal strengths of the antenna ranked at the top before the image acquisition equipment is powered off based on the stored signal strength distribution information, and determining the minimum second target signal strength in the M signal strengths; m is a positive integer;
detecting whether the second target signal strength exceeds a first signal strength threshold value or not to obtain a second detection result;
adjusting a position of the antenna based on the second detection.
In one or more embodiments, when the second detection result is exceeded, the adjusting the position of the antenna based on the second detection includes:
sequencing the M signal strengths to determine a third target signal strength with the maximum M signal strengths;
determining a second position corresponding to the third target signal strength;
adjusting the antenna to the second position.
In one or more embodiments, when the second detection result is no more than, the adjusting the antenna position based on the second detection includes:
acquiring current signal strengths of the antenna at all adjustable positions, and generating current signal strength distribution information based on the current signal strengths;
determining the maximum current signal intensity in the current signal intensity distribution information, and determining a third position corresponding to the current signal intensity;
adjusting the antenna to the third position.
In one or more embodiments, the obtaining current signal strengths of the antennas at all adjustable positions and generating current signal strength distribution information based on the current signal strengths includes:
acquiring a zero point position of the antenna, and adjusting the antenna to the zero point position;
starting to adjust the position of the antenna from the zero point position until the antenna returns to the zero point position again, recording the current signal strength of the antenna at each adjustable position, and generating a mapping relation between each adjustable position and the corresponding current signal strength;
and generating current signal strength distribution information based on each current signal strength, and storing the current signal strength distribution information and the mapping relation.
In one or more embodiments, the determining the largest current signal strength in the current signal strength distribution information includes:
determining T current signal strengths with the highest rank from the current signal strength distribution information; the T is a positive integer;
detecting whether the T current signal strengths exceed a second signal strength threshold;
if the T current signal strengths all exceed the second signal strength threshold, determining the maximum value of the T current signal strengths;
if K current signal strengths in the T current signal strengths exceed the second signal strength threshold, determining the maximum value in the K current signal strengths; k is a positive integer less than T;
if the T current signal strengths do not exceed the second signal strength threshold, replacing the T with the K, repeatedly executing the step of obtaining each current signal strength of the antenna at all adjustable positions, and generating current signal strength distribution information based on each current signal strength; and determining the maximum current signal strength based on the current signal strength distribution information until the maximum current signal strength is determined.
In one or more embodiments, said detecting whether said T current signal strengths exceed a second signal strength threshold comprises:
determining the maximum value of the T current signal strengths as a first candidate signal strength;
detecting whether the first candidate signal strength is less than the second signal strength threshold value within a preset time period;
if so, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength;
repeatedly performing detection on whether the first candidate signal strength is smaller than the second signal strength threshold value within a preset time period; if yes, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength until the T current signal strengths are all detected.
According to another aspect of the present application, there is provided an antenna position adjusting apparatus including:
the detection module is used for detecting whether the field range of the image acquisition equipment is changed or not when the connection between the image acquisition equipment and the network node is completed, so as to obtain a first detection result;
and the antenna adjusting module is used for adjusting the position of the antenna of the image acquisition equipment based on the first detection result.
In one or more embodiments, the antenna adjustment module includes:
the first obtaining sub-module is used for obtaining N signal strengths of the antenna which are ranked at the front before the image acquisition equipment is powered off and determining the maximum first target signal strength in the N signal strengths when the first detection result is that the first detection result is not changed; n is a positive integer;
the first determining submodule is used for determining a first position corresponding to the first target signal strength;
a first adjustment submodule to adjust the antenna to the first position.
In one or more embodiments, the antenna adjustment module includes:
a second obtaining sub-module, configured to, when the first detection result is that the first detection result changes, obtain, based on stored signal strength distribution information, M signal strengths of the antennas that are ranked earlier before the image acquisition device is powered off, and determine a second target signal strength that is the smallest among the M signal strengths; m is a positive integer;
the detection submodule is used for detecting whether the second target signal intensity exceeds a first signal intensity threshold value or not to obtain a second detection result;
a second adjustment submodule for adjusting the position of the antenna based on the second detection.
In one or more embodiments, the second adjustment submodule includes:
a first determining unit, configured to determine, when the second detection result is exceeded, a third target signal strength that is the largest among the M signal strengths;
a second determining unit configured to determine a second position corresponding to the third target signal strength;
a first adjustment unit for adjusting the antenna to the second position.
In one or more embodiments, the second adjustment submodule includes:
the signal strength acquisition unit is used for acquiring the current signal strength of the antenna at all adjustable positions when the second detection result is not more than the second detection result;
a generating unit configured to generate current signal strength distribution information based on the respective current signal strengths;
a third determining unit, configured to determine a maximum current signal strength in the current signal strength distribution information, and determine a third position corresponding to the current signal strength;
a second adjustment unit for adjusting the antenna to the third position.
In one or more embodiments, the signal strength obtaining unit is specifically configured to:
acquiring a zero point position of the antenna, and adjusting the antenna to the zero point position; starting to adjust the position of the antenna from the zero point position until the antenna returns to the zero point position again, and recording the current signal strength of the antenna at each adjustable position;
the generating unit is specifically configured to:
generating a mapping relation between each adjustable position and the corresponding current signal strength; and generating current signal strength distribution information based on each current signal strength, and storing the current signal strength distribution information and the mapping relation.
In one or more embodiments, the third determining unit includes:
the first determining subunit is configured to determine, from the current signal intensity distribution information, T current signal intensities ranked at the top in magnitude; the T is a positive integer;
a detecting subunit, configured to detect whether the T current signal strengths exceed a second signal strength threshold;
a second determining subunit, configured to determine a maximum value of the T current signal strengths if the T current signal strengths all exceed the second signal strength threshold;
a third determining subunit, configured to determine a maximum value of K current signal strengths among the T current signal strengths if the K current signal strengths exceed the second signal strength threshold; k is a positive integer less than T;
a replacement subunit, configured to replace the T with the K if none of the T current signal strengths exceeds the second signal strength threshold;
and repeatedly calling the signal intensity acquisition unit, the generation unit and the third determination unit until the maximum current signal intensity is determined.
In one or more embodiments, the detecting subunit is specifically configured to:
determining the maximum value of the T current signal strengths as a first candidate signal strength;
detecting whether the first candidate signal strength is less than the second signal strength threshold value within a preset time period;
if so, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength;
repeatedly performing detection on whether the first candidate signal strength is smaller than the second signal strength threshold value within a preset time period; if yes, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength until the T current signal strengths are all detected.
According to another aspect of the present application, there is provided an electronic device including:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the operation corresponding to the position adjustment method of the antenna shown in the first aspect of the present application is performed.
According to yet another aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for adjusting the position of an antenna shown in the first aspect of the present application.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the methods provided in the various implementations of any of the aspects described above.
The beneficial effect that technical scheme that this application provided brought is:
in the embodiment of the invention, when the connection between the image acquisition equipment and the network node is completed, whether the field range of the image acquisition equipment is changed or not is detected to obtain a first detection result, and then the position of an antenna of the image acquisition equipment is adjusted based on the first detection result. Therefore, whether the physical position of the image acquisition equipment is changed or not is detected through the field range, and then the position of the antenna is automatically adjusted according to the detection result, so that the problem that the position of the antenna needs to be manually adjusted in the prior art is solved, the maintenance cost is greatly reduced, and the maintenance efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is an application environment for implementing a method for adjusting the position of an antenna according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an image capturing device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for adjusting a position of an antenna according to an embodiment of the present disclosure;
fig. 4 is a first flowchart illustrating a specific process of step S302 according to an embodiment of the present disclosure;
fig. 5 is a second flowchart illustrating a specific step S302 according to an embodiment of the present application;
fig. 6 is a first flowchart illustrating a specific process of step S503 according to an embodiment of the present disclosure;
fig. 7 is a second flowchart illustrating a specific step S503 provided in the embodiment of the present application;
fig. 8 is a schematic specific flowchart of steps S301 to S302 according to an embodiment of the present disclosure;
fig. 9 is a schematic specific flowchart of step S701 according to an embodiment of the present application;
FIG. 10 is a graph of signal strength distribution provided by an embodiment of the present application;
fig. 11 is a schematic flowchart of step S903 provided in the embodiment of the present application;
fig. 12 is a schematic detailed flowchart of step S1102 provided in this embodiment of the present application;
fig. 13 is a schematic structural diagram of an antenna position adjustment apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device for adjusting a position of an antenna according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the present invention provides an application environment for executing a method for adjusting a position of an antenna, and referring to fig. 1, the application environment includes: a first device 101 and a second device 102. The first device 101 and the second device 102 are connected via a Network, the first device 101 is an image capturing device, such as a camera, and the second device 102 is a Network node, such as a Network Video Recorder (NVR), a router, and the like. In the present application, the first device and the second device may communicate with each other through any communication method, including, but not limited to, 3GPP (3rd Generation Partnership Project), 4GPP (4rd Generation Partnership Project), 5GPP (5rd Generation Partnership Project), LTE (Long Term Evolution), WIMAX (World Interoperability for Microwave Access), TCP/IP (Transmission Control Protocol/Internet Protocol), UDP (User data Protocol), and short-range wireless Transmission methods based on bluetooth and near-field infrared Transmission standards.
It should be noted that, in the embodiment of the present invention, a first device and a second device are exemplified to communicate with each other. However, in practical applications, a plurality of first devices may communicate with one second device at the same time, and may be set according to practical requirements, which is not limited in the embodiment of the present invention.
Fig. 2 shows a structural architecture of the image capturing apparatus. Image acquisition devices include, but are not limited to: the antenna comprises a power supply unit, a wireless detection unit, an algorithm processing unit, an antenna adjusting unit and an antenna.
A power supply unit: for providing electrical power for the operation of other units.
A wireless detection unit: the system is used for detecting the (wireless) signal strength of the image acquisition equipment and the network node and providing the signal strength to the algorithm processing unit.
An algorithm processing unit: and comparing the signal intensity provided by the wireless detection unit with a preset threshold, if the signal intensity is greater than or equal to the threshold, keeping the position of the antenna of the image acquisition equipment unchanged, and if the signal intensity is less than the threshold, providing an adjustment instruction to the antenna adjustment unit.
The antenna adjusting unit drives the antenna to adjust the position through the motor according to the adjusting instruction provided by the algorithm processing unit; the motor includes, but is not limited to, a stepping motor, a dc brush motor, a brushless servo motor, and the like.
Further, a method for adjusting the position of an antenna may be performed in the above application environment, as shown in fig. 3, where the method includes:
step S301, when the connection between the image acquisition equipment and the network node is completed, detecting whether the field range of the image acquisition equipment is changed or not to obtain a first detection result;
the video range is a scene range observable by the image acquisition equipment, the field of view represents the maximum range observable by the lens, and is generally expressed in an angle, and the larger the field of view is, the larger the observation range is. For example, some lenses have a field of view of 50 degrees, and some lenses have a field of view of 58 degrees, and the latter lenses can observe a larger scene range at the same distance than the former lenses.
Further, when detecting whether the field range of the image changes, an image can be acquired when the initialization of the image acquisition device is completed, and then the image is compared with the latest image, if the similarity exceeds the similarity threshold, the field range is judged not to change, otherwise, the field range is judged to change. The latest image may be an image acquired by the image acquisition device under normal conditions, for example, an image acquired by the image acquisition device when a power-off instruction is received, or an image acquired when a restart instruction is received.
Or, when detecting whether the field range of the image changes, it may also be determined whether the field range of the image changes by detecting whether related parameters of the image capturing device change when the initialization of the image capturing device is completed, where the related parameters include, but are not limited to, a shooting angle (which may be measured by a compass), and a focal length. For example, the shooting angle of the image capturing device before power off is "west 268 °" and the focal length is 15mm, and after the image capturing device is powered on, the shooting angle is "west 152 °" and the focal length is 68mm, it can be determined that the field range is changed.
It should be noted that, in addition to the above method, other methods may be adopted to detect whether the image field range changes, and in practical application, the method may be set according to practical requirements, which is not limited in this embodiment of the present invention.
Further, in the embodiment of the present invention, the change of the field range of the image capturing device mainly means that the physical location of the image capturing device is changed under an objective condition, for example, when a certain user originally places a camera in a living room and later places the camera in a bedroom, the field range of the camera is changed. However, the reason that the field range is changed under the subjective condition, for example, the zoom aggregation of the camera is adjusted by the user (because the zoom aggregation is adjusted by the user actively, the camera may be adjusted correspondingly according to the instruction of the user), and the like, is not within the description scope of the embodiment of the present invention.
Step S302, the position of the antenna of the image acquisition device is adjusted based on the first detection result.
In the embodiment of the invention, when the connection between the image acquisition equipment and the network node is completed, whether the field range of the image acquisition equipment is changed or not is detected to obtain a first detection result, and then the position of the antenna of the image acquisition equipment is adjusted based on the first detection result. Like this, whether the physical position through field of view scope detection image acquisition equipment changes, then carries out automatically regulated to the position of antenna according to the testing result to the problem that the position of antenna needs artifical the regulation among the prior art has been solved, the maintenance cost that has significantly reduced has improved maintenance efficiency.
In another embodiment, the steps of a method for adjusting the position of an antenna shown in fig. 3 are described in detail.
Step S301, when the connection between the image acquisition equipment and the network node is completed, detecting whether the field range of the image acquisition equipment is changed or not to obtain a first detection result;
specifically, in a normal situation, the image capturing device and the network node are in a connected state, but in an abnormal situation, when the image capturing device and the network node are not connected, it is necessary to establish the connection between the image capturing device and the network node, for example, at least one of the image capturing device and the network node is in a power-off state, or at least one of the image capturing device and the network node is in an initialization state based on a start instruction, a restart instruction, and the like, and of course, other states are also possible, which is not limited in this embodiment of the present invention.
When the connection between the image acquisition equipment and the network node is completed, the image acquisition equipment and the network node can perform data interaction. At this time, whether the field of view range of the image acquisition device changes is detected, so as to obtain a first detection result, wherein the first detection result comprises: no change, or, a change.
The video range is a scene range observable by the image acquisition equipment, the field of view represents the maximum range observable by the lens, and is generally expressed in an angle, and the larger the field of view is, the larger the observation range is. For example, some lenses have a field of view of 50 degrees, and some lenses have a field of view of 58 degrees, and the latter lenses can observe a larger scene range at the same distance than the former lenses.
Further, when detecting whether the field range of the image changes, an image can be acquired when the initialization of the image acquisition device is completed, and then the image is compared with the latest image, if the similarity exceeds the similarity threshold, the field range is judged not to change, otherwise, the field range is judged to change. The latest image may be an image acquired by the image acquisition device under normal conditions, for example, an image acquired by the image acquisition device when receiving a power-off instruction, or an image acquired when receiving a restart instruction.
It should be noted that, in addition to the above method, other methods may be adopted to detect whether the image field range changes, and in practical application, the method may be set according to practical requirements, which is not limited in this embodiment of the present invention.
Further, in the embodiment of the present invention, the change of the field range of the image capturing device mainly means that the physical location of the image capturing device is changed under an objective condition, for example, when a certain user originally places a camera in a living room and later places the camera in a bedroom, the field range of the camera is changed. However, the reason that the field range is changed under the subjective condition, for example, the zoom aggregation of the camera is adjusted by the user (because the zoom aggregation is adjusted by the user actively, the camera may be adjusted correspondingly according to the instruction of the user), and the like, is not within the description scope of the embodiment of the present invention.
Step S302, the position of the antenna of the image acquisition device is adjusted based on the first detection result.
If the first detection result is that the physical position of the image acquisition device is not changed, determining that whether the position of the antenna needs to be adjusted is further determined, and if so, determining the position needing to be adjusted and adjusting the antenna to the position; if not, then no adjustment to the position of the antenna is required.
In an embodiment of the present invention, when the first detection result is that no change has occurred, as shown in fig. 4, step S302 includes:
step S401, acquiring N signal strengths of the antenna which are ranked at the front according to the signal strength before the image acquisition equipment is powered off, and determining the maximum first target signal strength in the N signal strengths; n is a positive integer;
step S402, determining a first position corresponding to the first target signal strength;
step S403, adjust the antenna to the first position.
Specifically, when the image capturing device is initialized based on a start instruction, a restart instruction, and the like, power is required to be turned off and then turned on, so that when the image capturing device is turned on and initialized and the field range is not changed, N (N is a positive integer) signal intensities of the antenna before the image capturing device is turned off can be obtained based on the stored signal intensity distribution information, and then the maximum first target signal intensity among the N signal intensities is determined. The signal intensity distribution information is generated and stored by the image acquisition device before power failure, and the specific generation mode will be described in detail later. The signal strength distribution information records the signal strength of the antenna at different positions.
For example, the stored signal strength distribution information records the signal strengths (denoted as S) corresponding to the antennas at 5 positions (denoted as P): P1-S1, P2-S2, P3-S3, P4-S4 and P5-S5, wherein S1> S3> S2> S5> S4, and if N is 3, 3 signal intensities with the top rank are selected from S1-S5: s1, S3, S2, and the maximum value S1 among the 3 signal intensities is taken as the first target signal intensity.
After the first target signal strength is determined, a first position corresponding to the first target signal strength is determined based on the signal strength distribution information, and then the antenna is adjusted to the first position. For example, in the above example, if the position corresponding to S1 is determined to be P1, the antenna may be adjusted to P1.
It should be noted that, in practical application, the value of N may be set according to actual requirements, and this is not limited in the embodiment of the present invention.
If the first detection result is that the physical position of the image acquisition device changes, it can be determined that the physical position of the image acquisition device changes, and at this time, the position of the antenna which needs to be adjusted needs to be further determined, and then the position of the antenna is adjusted.
In an embodiment of the present invention, when the first detection result is changed, as shown in fig. 5, step S302 includes:
step S501, obtaining M signal strengths of the antenna which are ranked at the top before the image acquisition equipment is powered off based on the stored signal strength distribution information, and determining the minimum second target signal strength in the M signal strengths; m is a positive integer;
step S502, detecting whether the second target signal intensity exceeds a first signal intensity threshold value to obtain a second detection result;
step S503, adjusting the position of the antenna based on the second detection.
Specifically, when it is detected that the field of view range changes, M (M is a positive integer) signal strengths of the antennas ranked higher before the image capturing device is powered off may be obtained based on the stored signal strength distribution information, and then a second target signal strength that is the smallest among the M signal strengths may be determined.
For example, the stored signal strength distribution information records the signal strengths of the antenna corresponding to 4 positions: P6-S6, P7-S7, P8-S8 and P9-S9, wherein S7> S8> S6> S9, and if M is 3, 3 signal intensities with the top rank are selected from S6-S9: after S7, S8, and S6, the minimum value S6 among the 3 signal intensities is set as the second target signal intensity.
After the second target signal strength is determined, whether the second target signal strength exceeds the first signal strength threshold value is detected, so that a second detection result is obtained, and then the position of the antenna is adjusted based on the second detection result. Wherein the second detection result comprises: the first signal strength threshold is exceeded or the first signal strength threshold is not exceeded.
It should be noted that, in practical application, the value of M may be set according to practical requirements, and the embodiment of the present invention is not limited to this.
In an embodiment of the present invention, when the second detection result is over, as shown in fig. 6, step S503 includes:
step S601, sequencing the M signal strengths, and determining the maximum third target signal strength in the M signal strengths;
step S602, determining a second position corresponding to the third target signal strength;
step S603, adjust the antenna to the second position.
Specifically, when the second detection result exceeds the first signal strength threshold, the M signal strengths are sorted, a third target signal strength which is the largest of the M signal strengths is determined, a second position corresponding to the third target signal strength is determined based on the signal strength distribution information, and then the antenna is adjusted to the second position. For example, after determining S6, S7, and S8, the three signal strengths are sorted to determine the maximum signal strength S7 as the third target signal strength, then the position corresponding to S7 is determined as P7 based on the signal strength distribution information, and then the position of the antenna is adjusted to P7.
In an embodiment of the present invention, when the second detection result is not more than the second detection result, as shown in fig. 7, step S503 includes:
step S701, acquiring current signal strengths of the antenna at all adjustable positions, and generating current signal strength distribution information based on the current signal strengths;
step S702, determining the maximum current signal intensity in the current signal intensity distribution information, and determining a third position corresponding to the current signal intensity;
step S703, adjust the antenna to a third position.
Specifically, when the second detection result is that the first signal strength threshold is not exceeded, a signal strength search procedure is started for obtaining respective current signal strengths of the antenna at all adjustable positions, and then current signal strength distribution information is generated based on the respective current signal strengths. The adjustable position of the antenna is any position which can be reached by the antenna through automatic adjustment.
For example, an antenna of a certain image capturing device may reach 180 positions through automatic adjustment, and then after a signal strength search procedure is started, current signal strengths corresponding to the 180 positions may be acquired, so as to generate current signal strength distribution information including the 180 current signal strengths. The current signal strength distribution information records each position and the current signal strength corresponding to each position.
And after the current signal intensity distribution information is generated, determining the maximum current signal intensity and a third position corresponding to the maximum current signal intensity, and adjusting the antenna to the third position.
For example, an antenna of a certain image capturing device has 180 adjustable positions, which are respectively P1 to P180, and current signal strengths corresponding to the 180 adjustable positions, which are respectively S1 to S180, are obtained through a signal strength search program, where P1 corresponds to S1, P2 corresponds to S2, and so on, P180 corresponds to S180, and the maximum current signal strength in S1 to S180 is determined as S128 through comparison, then the position P128 corresponding to S128 is taken as a third position, and then the antenna is adjusted to P128.
For convenience of understanding, fig. 8 shows a complete flowchart of each step, wherein the detailed description of each step may refer to the foregoing embodiment, and is not repeated herein to avoid repetition.
In one embodiment of the present invention, as shown in fig. 9, step S701 includes:
step S901, acquiring a zero position of an antenna, and adjusting the antenna to the zero position;
step S902, adjusting the position of the antenna from the zero position until the antenna returns to the zero position again, recording the current signal intensity of the antenna at each adjustable position, and generating the mapping relation between each adjustable position and the corresponding current signal intensity;
step S903, generating current signal strength distribution information based on each current signal strength, and storing the current signal strength distribution information and the mapping relation.
The antenna of the image acquisition equipment is provided with a preset zero point position, the zero point position is used for marking the starting point of the antenna position in the signal strength searching process, then the antenna is adjusted from the zero point position, and the antenna returns to the zero point position after passing through each adjustable position. Wherein the zero position may be any of all adjustable positions. The zero point position is the same as the starting point principle of the playground runway, any point on the runway can be used as the starting point, the runway starts to move along the runway from the starting point, the motion track returns to the starting point to form a circle, and the motion track is formed into a circle as long as the runway starts to move along the runway from the starting point to return to the starting point.
Specifically, when obtaining the current signal strengths of the antenna at all adjustable positions, the null position of the antenna may be obtained first, the antenna is adjusted to the null position, then the position of the antenna is adjusted from the null position, and the adjustment is performed along all adjustable positions until the antenna returns to the null position again, meanwhile, in the process of adjusting the position of the antenna, the current signal strength corresponding to the antenna at each adjustable position is recorded in real time, a mapping relationship between each adjustable position and the corresponding current signal strength is generated, then current signal strength distribution information is generated based on each current signal strength, and the current signal strength distribution information and the mapping relationship are stored, so that the image acquisition device is used after the initialization is completed (step S302).
For example, the antenna of a certain image acquisition device has 10 adjustable positions: P1-P10, wherein P1 is the zero position. Assuming that the current position of the antenna is P6, after the signal strength search procedure is started, first obtaining a zero position P1 of the antenna, then adjusting the antenna position from P6 to P1, at this time obtaining and recording a current signal strength S1 corresponding to the antenna at the P1 position, after the recording is completed, adjusting the antenna from the P1 position to the P2 position, obtaining and recording a current signal strength S2 corresponding to the antenna at the P2 position, and so on until obtaining S1-S10 through the recording, and when the antenna is readjusted back to the P1, the signal strength search procedure is ended. Then P1 is mapped with S1, P2 is mapped with S2, and so on until the mapping of P10 and S10 is completed. Then, current signal strength distribution information is generated based on S1 to S10, for example, as shown in the signal strength distribution diagram of fig. 10, the horizontal axis of the signal strength distribution diagram is the position of the antenna, and the vertical axis is the signal strength. And then storing the signal intensity distribution graph and the mapping relation.
It should be noted that, when mapping the current signal strength with the adjustable position, the current signal strength may be mapped with the corresponding adjustable position immediately after recording one current signal strength, for example, after recording S1, S1 is mapped with P1; or mapping may be performed after all the current signal strengths corresponding to each adjustable position are recorded, for example, after the recording of S1 to S10 is completed, mapping S1 to S10 with P1 to P10, respectively; of course, the mapping may also be performed in other manners, and may be set according to actual requirements in actual applications, which is not limited in this embodiment of the present invention.
Further, the signal strength distribution information may be in a distribution diagram form, or in other forms, and may be set according to actual requirements in practical applications, which is not limited in this embodiment of the present invention.
In an embodiment of the present invention, as shown in fig. 11, the determining of the maximum current signal strength in the current signal strength distribution information in step S903 includes:
step 1101, determining T current signal strengths with the top rank from the current signal strength distribution information; t is a positive integer;
step S1102, detecting whether T current signal strengths exceed a second signal strength threshold;
step S1103, if the T current signal strengths all exceed the second signal strength threshold value, determining the maximum value of the T current signal strengths;
step S1104, if K current signal strengths among the T current signal strengths exceed a second signal strength threshold, determining a maximum value among the K current signal strengths; k is a positive integer less than T;
step S1105, if the T current signal strengths do not exceed the second signal strength threshold, replacing K with T, repeatedly executing the steps of obtaining each current signal strength of the antenna at all adjustable positions, and generating current signal strength distribution information based on each current signal strength; and determining the maximum current signal strength based on the current signal strength distribution information until the maximum current signal strength is determined.
Specifically, after the current signal strength distribution information is generated, T current signal strengths ranked at the top in size (T is a positive integer) may be determined from the current signal strength distribution information, and then it may be detected whether the T current signal strengths respectively exceed the second signal strength threshold.
If the T current signal strengths all exceed the second signal strength threshold, then the maximum value of the T current signal strengths may be determined.
If K (a positive integer less than T) of the T current signal strengths exceed the second signal strength, then the maximum of the K current signal strengths is determined.
If the T current signal strengths do not exceed the second signal strength threshold, it is determined that the T current signal strengths are weak and the connection quality with the network node is poor, and at this time, the signal strength search procedure needs to be restarted, specifically, K is used to replace T, and then steps S701 to S702 are repeatedly executed until the maximum current signal strength exceeding the second signal strength threshold is determined.
As shown in fig. 12, step S1102 includes:
step S1201, determining the maximum value of the T current signal strengths as a first candidate signal strength;
step S1202, detecting whether the first candidate signal strength is less than a second signal strength threshold within a preset time period;
step S1203, if yes, determining a current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength;
step S1204, repeatedly performing detection on whether the first candidate signal strength is smaller than a second signal strength threshold within a preset time period; if yes, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength until the T current signal strengths are all detected.
Specifically, when detecting whether T current signal strengths respectively exceed the second signal strength threshold, a maximum value of the T current signal strengths may be determined as a first candidate signal strength, and then it is detected whether the first candidate signal strength is smaller than the second signal strength threshold within a preset time period. The first candidate signal strength may be detected based on an average value of the first candidate signal strength in a preset time period, or may be detected in other manners, and may be set according to actual requirements in actual applications, which is not limited in this embodiment of the present invention.
If so, determining the current signal strength one bit behind the first candidate signal strength, taking the current signal strength as a second candidate signal strength, and adjusting the antenna from the position corresponding to the first candidate signal strength to the position corresponding to the second candidate signal strength. At this time, the second candidate signal strength is regarded as the current first candidate signal strength, and steps S1202 to S1203 are repeatedly executed until all the T current signal strengths are detected.
If not, the position of the antenna is kept unchanged until the preset time period is ended, then the current signal strength one bit behind the first candidate signal strength is determined and is used as the second candidate signal strength, and the position of the antenna corresponding to the first candidate signal strength is adjusted to the position corresponding to the second candidate signal strength. At this time, the second candidate signal strength is regarded as the current first candidate signal strength, and steps S1202 to S1203 are repeatedly executed until all the T current signal strengths are detected.
For example, assuming that T is 5, the 5 current signal strengths determined from the current signal strength distribution information are: s1, S2, S3, S4, S5, the respective current signal strength magnitudes being sorted as: s3> S4> S2> S5> S1. At this time, the position of the antenna is adjusted to the position P3 corresponding to S3, if the average value of S3 within 10 minutes exceeds the second signal strength threshold, the position P4 corresponding to S4 is determined after 10 minutes, if the average value of S4 within 10 minutes exceeds the second signal strength threshold, the position of the antenna is adjusted to the position P2 corresponding to S2, and so on, if the average value of S1 within 10 minutes exceeds the second signal strength threshold, it is stated that all 5 current signal strengths exceed the second signal strength, and at this time, S3 is taken as the maximum current signal strength.
If only three signal strengths of S3, S4 and S2 of S1, S2, S3, S4 and S5 exceed the second signal threshold, S3 is taken as the maximum current signal strength, and K is set to 3, so that T is replaced by K when steps S1101 to S1102 are subsequently executed.
If all of S1, S2, S3, S4, and S5 are smaller than the second signal strength threshold, it indicates that none of the selected T current signal strengths meets the requirement, at this time, K set before is acquired, K is used to replace T, and then steps S1101 to S1102 are executed again.
In the embodiment of the invention, when the connection between the image acquisition equipment and the network node is completed, whether the field range of the image acquisition equipment is changed or not is detected to obtain a first detection result, and then the position of the antenna of the image acquisition equipment is adjusted based on the first detection result. Like this, whether the physical position through field of view scope detection image acquisition equipment changes, then carries out automatically regulated to the position of antenna according to the testing result to the problem that the position of antenna needs artifical the regulation among the prior art has been solved, the maintenance cost that has significantly reduced has improved maintenance efficiency.
Further, when it is detected that the physical position of the image acquisition device is not changed, the strongest signal strength can be determined based on the stored signal strength distribution information after the connection between the image acquisition device and the network node is completed, and the antenna can be adjusted based on the strongest signal strength.
Furthermore, when the physical position of the image acquisition device is detected to be changed, a signal strength searching program can be started to acquire the signal strengths corresponding to all adjustable positions of the antenna, signal strength distribution information is generated and stored, the current strongest signal strength is determined based on the generated signal strength distribution information, and the position of the antenna is adjusted to the position corresponding to the current strongest signal strength, so that the connection quality is further ensured.
Fig. 13 is a schematic structural diagram of an antenna position adjustment apparatus provided in an embodiment of the present application, and as shown in fig. 13, the apparatus of the present embodiment may include:
the detection module 1301 is configured to detect whether a field range of the image acquisition device changes when the connection between the image acquisition device and the network node is completed, and obtain a first detection result;
an antenna adjusting module 1302, configured to adjust a position of an antenna of the image capturing apparatus based on the first detection result.
In one embodiment of the present invention, an antenna adjusting module includes:
the first obtaining sub-module is used for obtaining N signal strengths of the antenna which are ranked at the front before the image acquisition equipment is powered off and determining the maximum first target signal strength in the N signal strengths when the first detection result is that the first detection result is not changed; n is a positive integer;
the first determining submodule is used for determining a first position corresponding to the strength of the first target signal;
a first adjustment submodule for adjusting the antenna to a first position.
In one embodiment of the present invention, an antenna adjusting module includes:
the second obtaining submodule is used for obtaining M signal strengths of the antenna which are ranked in the front before the image acquisition equipment is powered off based on the stored signal strength distribution information when the first detection result is changed, and determining the minimum second target signal strength in the M signal strengths; m is a positive integer;
the detection submodule is used for detecting whether the second target signal intensity exceeds a first signal intensity threshold value or not to obtain a second detection result;
and the second adjusting submodule is used for adjusting the position of the antenna based on the second detection.
In one embodiment of the invention, the second regulation submodule comprises:
the first determining unit is used for determining the maximum third target signal strength in the M signal strengths when the second detection result is over;
a second determining unit configured to determine a second position corresponding to the third target signal strength;
and the first adjusting unit is used for adjusting the antenna to a second position.
In one embodiment of the invention, the second regulation submodule includes:
the signal strength acquisition unit is used for acquiring the current signal strength of the antenna at all adjustable positions when the second detection result is not more than the second detection result;
a generation unit configured to generate current signal strength distribution information based on each current signal strength;
a third determining unit, configured to determine a maximum current signal strength in the current signal strength distribution information, and determine a third position corresponding to the current signal strength;
and the second adjusting unit is used for adjusting the antenna to a third position.
In an embodiment of the present invention, the signal strength obtaining unit is specifically configured to:
acquiring a zero position of the antenna, and adjusting the antenna to the zero position; starting to adjust the position of the antenna from the zero position until the antenna returns to the zero position again, and recording the current signal intensity of the antenna at each adjustable position;
a generating unit, specifically configured to:
generating a mapping relation between each adjustable position and the corresponding current signal intensity; and generating current signal strength distribution information based on each current signal strength, and storing the current signal strength distribution information and the mapping relation.
In one embodiment of the present invention, the third determining unit includes:
the first determining subunit is used for determining T current signal strengths with the top rank from the current signal strength distribution information; t is a positive integer;
a detection subunit, configured to detect whether T current signal strengths exceed a second signal strength threshold;
the second determining subunit is configured to determine a maximum value of the T current signal strengths if the T current signal strengths all exceed the second signal strength threshold;
a third determining subunit, configured to determine a maximum value of K current signal strengths if K current signal strengths of the T current signal strengths exceed a second signal strength threshold; k is a positive integer less than T;
a replacement subunit, configured to replace T with K if none of the T current signal strengths exceeds the second signal strength threshold;
and repeatedly calling the signal intensity acquisition unit, the generation unit and the third determination unit until the maximum current signal intensity is determined.
In an embodiment of the present invention, the detecting subunit is specifically configured to:
determining the maximum value of the T current signal strengths as a first candidate signal strength;
detecting whether the first candidate signal strength is smaller than a second signal strength threshold value within a preset time period;
if so, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength;
repeatedly detecting whether the first candidate signal strength is smaller than a second signal strength threshold value within a preset time period; if yes, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength until the T current signal strengths are all detected.
The antenna position adjustment apparatus of this embodiment can perform the antenna position adjustment method shown in the foregoing embodiments of this application, and the implementation principles thereof are similar, and are not described herein again.
In the embodiment of the invention, when the connection between the image acquisition equipment and the network node is completed, whether the field range of the image acquisition equipment is changed or not is detected to obtain a first detection result, and then the position of the antenna of the image acquisition equipment is adjusted based on the first detection result. Like this, whether the physical position through field of view scope detection image acquisition equipment changes, then carries out automatically regulated to the position of antenna according to the testing result to the problem that the position of antenna needs artifical the regulation among the prior art has been solved, the maintenance cost that has significantly reduced has improved maintenance efficiency.
Further, when it is detected that the physical position of the image acquisition device is not changed, the strongest signal strength can be determined based on the stored signal strength distribution information after the connection between the image acquisition device and the network node is completed, and the antenna can be adjusted based on the strongest signal strength.
Furthermore, when the physical position of the image acquisition device is detected to be changed, a signal strength searching program can be started to acquire the signal strengths corresponding to all adjustable positions of the antenna, signal strength distribution information is generated and stored, the current strongest signal strength is determined based on the generated signal strength distribution information, and the position of the antenna is adjusted to the position corresponding to the current strongest signal strength, so that the connection quality is further ensured.
An embodiment of the present application provides an electronic device, including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: in the embodiment of the invention, when the connection between the image acquisition equipment and the network node is completed, whether the field range of the image acquisition equipment is changed or not is detected to obtain a first detection result, and then the position of the antenna of the image acquisition equipment is adjusted based on the first detection result. Therefore, whether the physical position of the image acquisition equipment is changed or not is detected through the field range, and then the position of the antenna is automatically adjusted according to the detection result, so that the problem that the position of the antenna needs to be manually adjusted in the prior art is solved, the maintenance cost is greatly reduced, and the maintenance efficiency is improved.
In one embodiment, there is provided an electronic device, as shown in fig. 14, the electronic device 14000 shown in fig. 14 comprising: a processor 14001, and a memory 14003. Among other things, processor 14001 is coupled to memory 14003, such as via bus 14002. The electronic device 14000 can further include a transceiver 14004, and the transceiver 14004 can be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. It should be noted that the transceiver 14004 is not limited to one in practical application, and the structure of the electronic device 14000 does not constitute a limitation to the embodiment of the present application.
The Processor 14001 may be a CPU (Central Processing Unit), a general purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. Processor 14001 may also be a combination of computing functions, e.g., a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Bus 14002 may include a path that carries information between the above components. The bus 14002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 14002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 14, but this is not intended to represent only one bus or type of bus.
The Memory 14003 can be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 14003 is used for storing application program codes (computer programs) for executing the present scheme, and the processor 14001 controls the execution. Processor 14001 is configured to execute application program code stored in memory 14003 to implement the content shown in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method for adjusting a position of an antenna, comprising:
when the connection between the image acquisition equipment and the network node is completed, detecting whether the field range of the image acquisition equipment is changed or not to obtain a first detection result;
and adjusting the position of an antenna of the image acquisition equipment based on the first detection result.
2. The method according to claim 1, wherein when the first detection result is that no change has occurred, the adjusting the position of the antenna of the image capturing device based on the first detection result includes:
acquiring N signal strengths of the antenna which are ranked at the top according to the signal strength before the image acquisition equipment is powered off, and determining the maximum first target signal strength in the N signal strengths; n is a positive integer;
determining a first position corresponding to the first target signal strength;
adjusting the antenna to the first position.
3. The method according to claim 1, wherein when the first detection result is a change, the adjusting the position of the antenna of the image capturing device based on the first detection result comprises:
acquiring M signal strengths of the antenna which are ranked at the top according to the stored signal strength distribution information before the image acquisition equipment is powered off, and determining the minimum second target signal strength in the M signal strengths; m is a positive integer;
detecting whether the second target signal strength exceeds a first signal strength threshold value or not to obtain a second detection result;
adjusting a position of the antenna based on the second detection.
4. The method according to claim 3, wherein the adjusting the position of the antenna based on the second detection when the second detection result is exceeded comprises:
sequencing the M signal strengths to determine a third target signal strength with the maximum M signal strengths;
determining a second position corresponding to the third target signal strength;
adjusting the antenna to the second position.
5. The method according to claim 3, wherein the adjusting the antenna position based on the second detection when the second detection result is not exceeded comprises:
acquiring current signal strengths of the antenna at all adjustable positions, and generating current signal strength distribution information based on the current signal strengths;
determining the maximum current signal intensity in the current signal intensity distribution information, and determining a third position corresponding to the current signal intensity;
adjusting the antenna to the third position.
6. The method according to claim 5, wherein the obtaining respective current signal strengths of the antenna at all adjustable positions and generating current signal strength distribution information based on the respective current signal strengths comprises:
acquiring a zero point position of the antenna, and adjusting the antenna to the zero point position;
starting to adjust the position of the antenna from the zero point position until the antenna returns to the zero point position again, recording the current signal strength of the antenna at each adjustable position, and generating a mapping relation between each adjustable position and the corresponding current signal strength;
and generating current signal strength distribution information based on each current signal strength, and storing the current signal strength distribution information and the mapping relation.
7. The method of claim 5, wherein the determining the largest current signal strength in the current signal strength distribution information comprises:
determining T current signal strengths with the highest rank from the current signal strength distribution information; the T is a positive integer;
detecting whether the T current signal strengths exceed a second signal strength threshold;
if the T current signal strengths all exceed the second signal strength threshold, determining the maximum value of the T current signal strengths;
if K current signal strengths in the T current signal strengths exceed the second signal strength threshold, determining the maximum value in the K current signal strengths; k is a positive integer less than T;
if the T current signal strengths do not exceed the second signal strength threshold, replacing the T with the K, repeatedly executing the step of obtaining each current signal strength of the antenna at all adjustable positions, and generating current signal strength distribution information based on each current signal strength; and determining the maximum current signal strength based on the current signal strength distribution information until the maximum current signal strength is determined.
8. The method of claim 7, wherein the detecting whether the T current signal strengths exceed a second signal strength threshold comprises:
determining the maximum value of the T current signal strengths as a first candidate signal strength;
detecting whether the first candidate signal strength is less than the second signal strength threshold value within a preset time period;
if so, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength;
repeatedly performing detection on whether the first candidate signal strength is smaller than the second signal strength threshold value within a preset time period; if yes, determining the current signal strength one bit behind the first candidate signal strength as a second candidate signal strength, and taking the second candidate signal strength as the current first candidate signal strength until the T current signal strengths are all detected.
9. An antenna position adjustment device, comprising:
the detection module is used for detecting whether the field range of the image acquisition equipment is changed or not when the connection between the image acquisition equipment and the network node is completed, so as to obtain a first detection result;
and the antenna adjusting module is used for adjusting the position of the antenna of the image acquisition equipment based on the first detection result.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the method of adjusting the position of an antenna according to any one of claims 1 to 8 is performed.
11. A computer-readable storage medium, characterized in that the storage medium stores at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of position adjustment of an antenna according to any one of claims 1 to 8.
CN202110215199.XA 2021-02-25 2021-02-25 Antenna position adjusting method and device, electronic equipment and computer storage medium Pending CN114978369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110215199.XA CN114978369A (en) 2021-02-25 2021-02-25 Antenna position adjusting method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110215199.XA CN114978369A (en) 2021-02-25 2021-02-25 Antenna position adjusting method and device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN114978369A true CN114978369A (en) 2022-08-30

Family

ID=82973887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110215199.XA Pending CN114978369A (en) 2021-02-25 2021-02-25 Antenna position adjusting method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114978369A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105981221A (en) * 2014-02-04 2016-09-28 日本电气株式会社 Antenna-direction adjusting device and antenna-direction adjusting method
CN106063032A (en) * 2014-02-26 2016-10-26 日本电气株式会社 Antenna device and method for controlling antenna device
WO2020155445A1 (en) * 2019-01-30 2020-08-06 上海传英信息技术有限公司 Antenna switching method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105981221A (en) * 2014-02-04 2016-09-28 日本电气株式会社 Antenna-direction adjusting device and antenna-direction adjusting method
CN106063032A (en) * 2014-02-26 2016-10-26 日本电气株式会社 Antenna device and method for controlling antenna device
WO2020155445A1 (en) * 2019-01-30 2020-08-06 上海传英信息技术有限公司 Antenna switching method and device

Similar Documents

Publication Publication Date Title
US11195049B2 (en) Electronic device localization based on imagery
JP6339200B2 (en) Method and apparatus for position estimation using trajectories
CN110278382B (en) Focusing method, device, electronic equipment and storage medium
CN108401457A (en) A kind of control method of exposure, device and unmanned plane
US20160182866A1 (en) Selective high frame rate video capturing in imaging sensor subarea
CN107613262B (en) Visual information processing system and method
US20200413090A1 (en) Motion estimation
CN111722355A (en) Method and device for focusing thermal imaging lens based on temperature compensation
JP2019129410A (en) Monitoring camera, control method thereof, and program
US11165952B2 (en) Information processing apparatus, image capturing apparatus, method for controlling information processing apparatus, and non-transitory storage medium
US11463617B2 (en) Information processing apparatus, information processing system, image capturing apparatus, information processing method, and memory
WO2022272212A1 (en) Temporal filtering restart for improved scene integrity
EP4205374A1 (en) System, method, and computer program for edge management of geographically dispersed sensors
CN116017158B (en) Optical anti-shake calibration method and device
CN114978369A (en) Antenna position adjusting method and device, electronic equipment and computer storage medium
US20220224813A1 (en) Method of Controlling a Portable Device and a Portable Device
US10291927B2 (en) Motion vector estimation method and motion vector estimation apparatus
WO2018079043A1 (en) Information processing device, image pickup device, information processing system, information processing method, and program
CN117255247B (en) Method and device for linkage of panoramic camera and detail dome camera
CN111510635B (en) Cloud deck fault determination method and device, storage medium and electronic device
JP2020095673A (en) Image processing device, control method therefor, and image capturing device
CN117788659A (en) Method, device, electronic equipment and storage medium for rendering image
CN116761071A (en) Exposure control method, system, equipment, medium and chip for camera switching
CN117880487A (en) Monitoring image acquisition method, electronic equipment and storage medium
JP2023067287A (en) Control apparatus, imaging apparatus, control method, and control program

Legal Events

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