Antenna anomaly detection method and device, computer equipment and storage medium

文档序号:72462 发布日期:2021-10-01 浏览:25次 中文

阅读说明:本技术 天线异常检测方法、装置、计算机设备和存储介质 (Antenna anomaly detection method and device, computer equipment and storage medium ) 是由 孟伟 张朝阳 于 2021-07-30 设计创作,主要内容包括:本申请涉及设备检测领域,特别是涉及一种天线异常检测方法、装置、计算机设备和存储介质,所述方法包括:待检测终端基于第一射频参数与至少两个辅助终端通信,并获取所述至少两个辅助终端上报的第一接收信号强度;其中,所述待检测终端和所述至少两个辅助终端选自于能够相互通信的多个终端;所述待检测终端基于所述至少两个辅助终端上报的第一接收信号强度,确定所述待检测终端和各所述辅助终端是否存在异常天线。由于待检测终端与辅助终端之间的距离远小于待检测终端与基站之间的距离,因此本发明可以减小基站与待检测终端之间存在障碍物或者信号干扰等的可能性,因此可以提高检测的准确度。(The application relates to the field of equipment detection, in particular to an antenna anomaly detection method, an antenna anomaly detection device, computer equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other; and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals. Because the distance between the terminal to be detected and the auxiliary terminal is far smaller than the distance between the terminal to be detected and the base station, the invention can reduce the possibility of obstacles or signal interference and the like between the base station and the terminal to be detected, thereby improving the detection accuracy.)

1. An antenna anomaly detection method, characterized in that the method comprises:

the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

2. The method according to claim 1, wherein the first rf parameter is an rf parameter for which signal interference satisfies a preset condition when the terminal to be detected wirelessly communicates with the at least two auxiliary terminals.

3. The method according to claim 2, wherein the first rf parameter is obtained by:

the terminal to be detected broadcasts a second radio frequency parameter and indicates all other terminals in the plurality of terminals to receive signals with the second radio frequency parameter within a preset time period without sending signals;

and the terminal to be detected acquires second received signal strength reported by each auxiliary terminal within the preset time period, and takes the second radio frequency parameter as the first radio frequency parameter under the condition that the second received signal strength reported by each auxiliary terminal is smaller than a first preset threshold value.

4. The method according to claim 3, wherein when the second received signal strength reported by any one of the auxiliary terminals is greater than the first preset threshold, after the terminal to be detected re-determines the second radio frequency parameter, the step of determining, by the terminal to be detected, the first radio frequency parameter whose signal interference satisfies a preset condition when performing wireless communication with at least two auxiliary terminals is performed.

5. The method according to claim 1, wherein when the number of the antennas of the terminal is plural, the first rf parameter is an rf parameter for at least one antenna of each terminal to transmit and receive signals; the determining, by the terminal to be detected, whether the terminal to be detected and each of the auxiliary terminals have an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

and the terminal to be detected determines whether the at least one antenna of the terminal to be detected and each auxiliary terminal is an abnormal antenna or not based on the first received signal strength reported by the at least two auxiliary terminals.

6. The method according to claim 5, wherein the determining, by the terminal to be detected, whether the at least one antenna of the terminal to be detected and each of the auxiliary terminals is an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

under the condition that the first received signal strength reported by the at least two auxiliary terminals is greater than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are normal antennas; and/or

And under the condition that the first received signal strength reported by a first auxiliary terminal of the at least two auxiliary terminals is greater than a second preset threshold corresponding to the first auxiliary terminal, and the first received signal strength reported by a second auxiliary terminal of the at least two auxiliary terminals is less than a second preset threshold corresponding to the second auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of the first auxiliary terminal are normal antennas, and the terminal to be detected determines that the at least one antenna of the second auxiliary terminal is an abnormal antenna.

7. The method of claim 6, further comprising:

the terminal to be detected takes the radio frequency parameters in the radio frequency parameter set as first radio frequency parameters in sequence; and under the condition that the first received signal strength reported by the at least two auxiliary terminals is smaller than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are in an unknown state.

8. The antenna abnormality detection method according to claim 6, characterized in that the second preset threshold is determined based on a distance between the terminal to be detected and the corresponding auxiliary terminal.

9. The method according to claim 5, wherein the terminal to be detected performs antenna anomaly detection on each antenna of the terminal to be detected and each auxiliary terminal based on the first radio frequency parameter corresponding to each antenna, respectively, and the method further comprises:

determining that no antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that all antennas of the terminal to be detected or each auxiliary terminal are not abnormal antennas;

and determining that the antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that any antenna of the terminal to be detected or each auxiliary terminal is an abnormal antenna.

10. The method according to claim 1, wherein after the terminal to be detected determines whether the antennas of the terminal to be detected and each of the auxiliary terminals are abnormal antennas based on the first received signal strengths reported by the at least two auxiliary terminals, the method further comprises:

selecting a new terminal to be detected and at least two auxiliary terminals of the new terminal to be detected from the plurality of terminals, and performing antenna anomaly detection on the new terminal to be detected, wherein the new terminal to be detected is a terminal which is not detected to have an anomalous antenna at present except the terminal to be detected from the plurality of terminals.

11. The antenna anomaly detection device is characterized by comprising a terminal to be detected and at least two auxiliary terminals; the terminal to be detected communicates with the at least two auxiliary terminals based on the first radio frequency parameter, and obtains first received signal strength reported by the at least two auxiliary terminals; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

12. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 10.

13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.

Technical Field

The present application relates to the field of device detection, and in particular, to a method and an apparatus for detecting antenna anomaly, a computer device, and a storage medium.

Background

Due to the problems of time-consuming network application or complex wired deployment, more and more monitoring devices adopt a cellular 4G or 5G module to realize audio and video data transmission. The continuous increase of network bandwidth demand leads to the external antenna of module needs also to increase, like the honeycomb 5G of present mainstream, the module all can adopt 4 antennas or even 6 antenna designs basically, and out of the requirement of structure size, antenna interface littleer and littleer leads to the antenna can appear in the use unusual such as drop, bend.

The existing antenna anomaly detection method mainly comprises the following steps: the base station communicates with the terminal to be detected and determines whether the antenna is abnormal according to the signal receiving intensity of the terminal to be detected. However, the reason for the weak signal receiving strength may be caused by a long distance between the base station and the terminal to be detected, or an obstacle or signal interference between the base station and the terminal to be detected, and obviously, the detection method cannot accurately determine that the current weak signal strength is caused by the abnormal antenna.

Disclosure of Invention

In view of the above, it is necessary to provide an antenna abnormality detection method, apparatus, computer device, and storage medium for the above technical problem.

In a first aspect, an embodiment of the present invention provides an antenna anomaly detection method, where the method includes:

the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

In an embodiment, the first radio frequency parameter is a radio frequency parameter whose signal interference satisfies a preset condition when the terminal to be detected wirelessly communicates with the at least two auxiliary terminals.

In an embodiment, the first rf parameter is obtained by:

the terminal to be detected broadcasts a second radio frequency parameter and indicates all other terminals in the plurality of terminals to receive signals with the second radio frequency parameter within a preset time period without sending signals;

and the terminal to be detected acquires second received signal strength reported by each auxiliary terminal within the preset time period, and takes the second radio frequency parameter as the first radio frequency parameter under the condition that the second received signal strength reported by each auxiliary terminal is smaller than a first preset threshold value.

In an embodiment, when the second received signal strength reported by any one of the auxiliary terminals is greater than the first preset threshold, after the terminal to be detected re-determines the second radio frequency parameter, the step of determining, by the terminal to be detected, the first radio frequency parameter whose signal interference meets the preset condition when performing wireless communication with at least two auxiliary terminals is performed.

In an embodiment, when the number of the antennas of the terminal is multiple, the first radio frequency parameter is a radio frequency parameter for at least one antenna of each terminal to transmit and receive signals; the determining, by the terminal to be detected, whether the terminal to be detected and each of the auxiliary terminals have an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

and the terminal to be detected determines whether the at least one antenna of the terminal to be detected and each auxiliary terminal is an abnormal antenna or not based on the first received signal strength reported by the at least two auxiliary terminals.

In an embodiment, the determining, by the terminal to be detected, whether the at least one antenna of the terminal to be detected and each of the auxiliary terminals is an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

under the condition that the first received signal strength reported by the at least two auxiliary terminals is greater than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are normal antennas; and/or

And under the condition that the first received signal strength reported by a first auxiliary terminal of the at least two auxiliary terminals is greater than a second preset threshold corresponding to the first auxiliary terminal, and the first received signal strength reported by a second auxiliary terminal of the at least two auxiliary terminals is less than a second preset threshold corresponding to the second auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of the first auxiliary terminal are normal antennas, and the terminal to be detected determines that the at least one antenna of the second auxiliary terminal is an abnormal antenna.

In an embodiment, the method further comprises:

the terminal to be detected takes the radio frequency parameters in the radio frequency parameter set as first radio frequency parameters in sequence; and under the condition that the first received signal strength reported by the at least two auxiliary terminals is smaller than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are in an unknown state.

In an embodiment, the second preset threshold is determined based on a distance between the terminal to be detected and the corresponding auxiliary terminal.

In an embodiment, the terminal to be detected performs antenna anomaly detection on each antenna of the terminal to be detected and each auxiliary terminal based on the first radio frequency parameter corresponding to each antenna, respectively, and the method further includes:

determining that no antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that all antennas of the terminal to be detected or each auxiliary terminal are not abnormal antennas;

and determining that the antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that any antenna of the terminal to be detected or each auxiliary terminal is an abnormal antenna.

In an embodiment, after the terminal to be detected determines whether the antennas of the terminal to be detected and each of the auxiliary terminals are abnormal antennas based on the first received signal strengths reported by the at least two auxiliary terminals, the method further includes:

selecting a new terminal to be detected and at least two auxiliary terminals of the new terminal to be detected from the plurality of terminals, and performing antenna anomaly detection on the new terminal to be detected, wherein the new terminal to be detected is a terminal which is not detected to have an anomalous antenna at present except the terminal to be detected from the plurality of terminals.

In a second aspect, an embodiment of the present invention provides an antenna abnormality detection apparatus, where the apparatus includes: the system comprises a terminal to be detected and at least two auxiliary terminals; the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:

the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor implements the following steps:

the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

The method, the device, the computer equipment and the storage medium communicate with at least two auxiliary terminals through the terminal to be detected based on the first radio frequency parameter, and acquire the strength of a first receiving signal reported by the at least two auxiliary terminals; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other; and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals. The terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by at least two auxiliary terminals, and the distance between the terminal to be detected and the auxiliary terminal is far smaller than the distance between the terminal to be detected and the base station, so that the possibility of obstacles or signal interference and the like between the base station and the terminal to be detected can be reduced, and the detection accuracy can be improved.

Drawings

FIG. 1 is a diagram of an exemplary embodiment of an antenna anomaly detection method;

FIG. 2 is a schematic diagram of a distributed network in one embodiment;

FIG. 3 is a flow chart illustrating a method for antenna anomaly detection according to an embodiment;

FIG. 4 is a flowchart illustrating a first method for determining RF parameters according to an embodiment;

fig. 5 is a schematic flowchart of a method for determining a terminal to be detected and an auxiliary terminal in one embodiment;

FIG. 6 is a schematic diagram of an antenna anomaly detection apparatus according to an embodiment;

FIG. 7 is a diagram illustrating the internal structure of a computer device in one embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The antenna anomaly detection method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 firstly communicates with at least two auxiliary terminals based on a first radio frequency parameter, and acquires a first received signal strength reported by the at least two auxiliary terminals; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other; the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals, and the terminal 102 sends an abnormal detection result to the server 104. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.

As shown in fig. 2, a plurality of terminals 204 capable of communicating with each other form a distributed network. Also included in the distributed network is a base station 202 that communicates with a number of terminals.

In an embodiment, as shown in fig. 3, an antenna anomaly detection method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:

s302: the method comprises the steps that a terminal to be detected communicates with at least two auxiliary terminals based on first radio frequency parameters, and first received signal strength reported by the at least two auxiliary terminals is obtained; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other.

When antenna abnormity detection is carried out on a certain terminal, the terminal is used as equipment to be detected, and at least two other terminals capable of communicating with each other are selected as auxiliary terminals.

When antenna abnormity detection is carried out on a plurality of terminals, the sequence of terminal detection needs to be set, equipment to be detected is determined according to the set sequence, and at least two other terminals capable of communicating with each other are used as auxiliary terminals.

In general, the number of the auxiliary detection devices is not less than two, and the specific number can be set according to actual requirements.

S304: and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

It can be understood that, when the terminal to be detected has an abnormal antenna, the first received signal strength is also abnormal, so that whether the terminal to be detected and each of the auxiliary terminals have an abnormal antenna can be determined according to the first received signal strengths reported by at least two auxiliary terminals.

Because the distance between the terminal to be detected and the auxiliary terminal is far smaller than the distance between the terminal to be detected and the base station, the possibility that obstacles or signal interference and the like exist between the base station and the terminal to be detected can be reduced, and therefore the detection accuracy can be improved.

In an embodiment, when a plurality of terminals to be detected are provided, all terminals need to be powered on before antenna detection, and after the power is turned on, the terminals respond to the device search request and reply their own serial number information by using a network broadcast device search request. If a terminal does not receive the serial number information of other terminals in the cluster network, the network needs to be checked.

Each terminal stores own serial number information, sorts all the serial number information according to the size of the serial number according to the received serial number information of other terminals, and then determines the detection priority of the terminal.

In an embodiment, the terminal with the minimum serial number preferentially gains the antenna detection authority, and it is understood that in some other embodiments, the terminal with the maximum serial number may also be set to have the limited antenna detection authority.

After the first terminal to be detected completes detection, the first terminal to be detected with the testing authority can hand over the authority to the terminal with the second priority in a broadcasting mode, and then the terminal can be switched into an antenna detection mode. Particularly, if a certain antenna of the terminal of the next priority is already calibrated to be abnormal in antenna detection, the terminal does not possess the antenna test authority and is directly handed over to the terminal of the next priority.

In an embodiment, the first rf parameter is an rf parameter whose signal interference satisfies a preset condition when the terminal to be detected wirelessly communicates with the at least two auxiliary terminals.

It can be understood that although the communication distance between the terminal to be detected and each auxiliary terminal is relatively close, there is still a possibility of signal interference, and if the antenna abnormality of the terminal to be detected is detected under the condition of signal interference, the detection result is not accurate. Therefore, in this embodiment, the first radio frequency parameter is selected, where the signal interference satisfies the preset condition when the terminal to be detected communicates with each auxiliary terminal, so as to improve the accuracy of detection.

Specifically, as shown in fig. 4, the first rf parameter is obtained by the following method:

s402: broadcasting a second radio frequency parameter by the terminal to be detected, and indicating all other terminals in the plurality of terminals to receive signals by the second radio frequency parameter within a preset time period without sending signals;

s404: and the terminal to be detected acquires the second received signal strength reported by each auxiliary terminal within the preset time period, and takes the second radio frequency parameter as the first radio frequency parameter under the condition that the second received signal strength reported by each auxiliary terminal is smaller than a first preset threshold value.

It should be noted that the terminal to be detected broadcasts the second rf parameter, so that other terminals can also receive signals based on the second rf parameter. It can be understood that, if there is signal interference in the frequency band where the second rf parameter is located, the other terminals can receive the interference data based on the second rf parameter. And under the condition that the second received signal strength reported by each auxiliary terminal is smaller than a first preset threshold, the second radio frequency parameter is used as the first radio frequency parameter to improve the accuracy of antenna abnormality detection, which indicates that the signal interference is small or nonexistent and cannot influence the first received signal strength.

In an embodiment, when the second received signal strength reported by any one of the auxiliary terminals is greater than the first preset threshold, after the terminal to be detected re-determines the second radio frequency parameter, the step of determining, by the terminal to be detected, the first radio frequency parameter whose signal interference satisfies the preset condition when performing wireless communication with at least two auxiliary terminals is performed.

Each antenna has a separate set of radio frequency parameters. The independent radio frequency parameter set means that only the antenna can transmit a radio signal with a certain bandwidth and a certain channel, other terminals cannot normally transmit and receive the radio signal, and only the radio frequency parameters used by broadcasting in the network can normally transmit and receive the radio signal.

And when the second radio frequency parameter does not meet the preset condition, reselecting and determining a new second radio frequency parameter from the radio frequency parameter set, and repeating the step of determining the first radio frequency parameter meeting the preset condition by the terminal to be detected when the terminal to be detected determines the wireless communication with at least two auxiliary terminals, until the first radio frequency parameter meeting the preset condition is determined.

In an embodiment, when the number of the antennas of the terminal is multiple, the first radio frequency parameter is a radio frequency parameter of at least one antenna of each terminal for transmitting and receiving signals; the method for determining whether the terminal to be detected and each auxiliary terminal have abnormal antennas comprises the following steps of:

and the terminal to be detected determines whether the at least one antenna of the terminal to be detected and each auxiliary terminal is an abnormal antenna or not based on the first received signal strength reported by the at least two auxiliary terminals.

It can be understood that some terminals have at least one antenna, and the terminal to be detected determines whether the terminal to be detected and the at least one antenna of each auxiliary terminal are abnormal antennas based on the first received signal strength reported by the at least two auxiliary terminals, so as to implement antenna abnormality detection on the terminal of the at least one antenna.

And when all the antennas of the terminal to be detected detect or abnormal antennas are detected, the antenna abnormality detection is not carried out on the detection terminal.

In an embodiment, the determining, by the terminal to be detected, whether the at least one antenna of the terminal to be detected and each of the auxiliary terminals is an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

under the condition that the first received signal strength reported by the at least two auxiliary terminals is greater than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are normal antennas; and/or

And under the condition that the first received signal strength reported by a first auxiliary terminal of the at least two auxiliary terminals is greater than a second preset threshold corresponding to the first auxiliary terminal, and the first received signal strength reported by a second auxiliary terminal of the at least two auxiliary terminals is less than a second preset threshold corresponding to the second auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of the first auxiliary terminal are normal antennas, and the terminal to be detected determines that the at least one antenna of the second auxiliary terminal is an abnormal antenna.

In an embodiment, the determining, by the terminal to be detected, whether the at least one antenna of the terminal to be detected and each of the auxiliary terminals is an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals further includes:

and the terminal to be detected sequentially takes the radio frequency parameters in the radio frequency parameter set as first radio frequency parameters, and determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are in an unknown state under the condition that the first received signal strength reported by the at least two auxiliary terminals is smaller than a second preset threshold corresponding to each auxiliary terminal.

It can be understood that, when the first signal reception strength is greater than the corresponding preset threshold, it indicates that the to-be-detected antenna of the to-be-detected terminal and the transmission antenna of the corresponding auxiliary terminal are normal; and when the first signal receiving intensity is smaller than the corresponding preset threshold value, it indicates that at least one of the antenna to be detected of the terminal to be detected and the transmission antenna of the corresponding auxiliary terminal is abnormal.

It is understood that the second preset threshold is related to the distance between the terminal to be detected and the corresponding auxiliary terminal, and therefore the second preset threshold is determined based on the distance between the terminal to be detected and the corresponding auxiliary terminal.

In an embodiment, the terminal to be detected performs antenna anomaly detection on each antenna of the terminal to be detected and each auxiliary terminal based on the first radio frequency parameter corresponding to each antenna, respectively, and the method further includes:

determining that no antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that all antennas of the terminal to be detected or each auxiliary terminal are not abnormal antennas;

and determining that the antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that any antenna of the terminal to be detected or each auxiliary terminal is an abnormal antenna.

In an embodiment, as shown in fig. 5, after the terminal to be detected determines whether the antennas of the terminal to be detected and each of the auxiliary terminals are abnormal antennas based on the first received signal strengths reported by the at least two auxiliary terminals, the method further includes:

s306: selecting a new terminal to be detected and at least two auxiliary terminals of the new terminal to be detected from the plurality of terminals, and performing antenna anomaly detection on the new terminal to be detected, wherein the new terminal to be detected is a terminal which is not detected to have an anomalous antenna at present except the terminal to be detected from the plurality of terminals.

In this embodiment, a new terminal to be detected and at least two auxiliary terminals of the new terminal to be detected are selected from the plurality of terminals, so that mutual antenna abnormality detection between the terminals is realized.

It should be understood that although the various steps in the flow charts of fig. 1-5 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 described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple 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 in turn or alternately with other steps or at least some of the other steps.

In an embodiment, as shown in fig. 6, the present invention provides an antenna anomaly detection apparatus, which includes a terminal 602 to be detected and at least two auxiliary terminals 604; the terminal to be detected communicates with the at least two auxiliary terminals based on the first radio frequency parameter, and obtains first received signal strength reported by the at least two auxiliary terminals; wherein the terminal to be detected and the at least two auxiliary terminals are selected from a plurality of terminals capable of communicating with each other;

and the terminal to be detected determines whether the terminal to be detected and each auxiliary terminal have abnormal antennas or not based on the first received signal strength reported by the at least two auxiliary terminals.

In an embodiment, the first radio frequency parameter is a radio frequency parameter whose signal interference satisfies a preset condition when the terminal to be detected wirelessly communicates with the at least two auxiliary terminals.

In an embodiment, the first rf parameter is obtained by:

the terminal to be detected broadcasts a second radio frequency parameter and indicates all other terminals in the plurality of terminals to receive signals with the second radio frequency parameter within a preset time period without sending signals;

and the terminal to be detected acquires second received signal strength reported by each auxiliary terminal within the preset time period, and takes the second radio frequency parameter as the first radio frequency parameter under the condition that the second received signal strength reported by each auxiliary terminal is smaller than a first preset threshold value.

In an embodiment, when the second received signal strength reported by any one of the auxiliary terminals is greater than the first preset threshold, after the terminal to be detected re-determines the second radio frequency parameter, the step of determining, by the terminal to be detected, the first radio frequency parameter whose signal interference meets the preset condition when performing wireless communication with at least two auxiliary terminals is performed.

In an embodiment, when the number of the antennas of the terminal is multiple, the first radio frequency parameter is a radio frequency parameter for at least one antenna of each terminal to transmit and receive signals; the determining, by the terminal to be detected, whether the terminal to be detected and each of the auxiliary terminals have an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

and the terminal to be detected determines whether the at least one antenna of the terminal to be detected and each auxiliary terminal is an abnormal antenna or not based on the first received signal strength reported by the at least two auxiliary terminals.

In an embodiment, the determining, by the terminal to be detected, whether the at least one antenna of the terminal to be detected and each of the auxiliary terminals is an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals includes:

under the condition that the first received signal strength reported by the at least two auxiliary terminals is greater than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are normal antennas; and/or

And under the condition that the first received signal strength reported by a first auxiliary terminal of the at least two auxiliary terminals is greater than a second preset threshold corresponding to the first auxiliary terminal, and the first received signal strength reported by a second auxiliary terminal of the at least two auxiliary terminals is less than a second preset threshold corresponding to the second auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of the first auxiliary terminal are normal antennas, and the terminal to be detected determines that the at least one antenna of the second auxiliary terminal is an abnormal antenna.

In an embodiment, the determining, by the terminal to be detected, whether the at least one antenna of the terminal to be detected and each of the auxiliary terminals is an abnormal antenna based on the first received signal strength reported by the at least two auxiliary terminals further includes:

the terminal to be detected takes the radio frequency parameters in the radio frequency parameter set as first radio frequency parameters in sequence; and under the condition that the first received signal strength reported by the at least two auxiliary terminals is smaller than a second preset threshold corresponding to each auxiliary terminal, the terminal to be detected determines that the terminal to be detected and the at least one antenna of each auxiliary terminal are in an unknown state.

In an embodiment, the second preset threshold is determined based on a distance between the terminal to be detected and the corresponding auxiliary terminal.

In an embodiment, the detecting the antenna abnormality of each antenna of the terminal to be detected and each auxiliary terminal is performed by the terminal to be detected based on the first radio frequency parameter corresponding to each antenna, and the detecting method further includes:

determining that no antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that all antennas of the terminal to be detected or each auxiliary terminal are not abnormal antennas;

and determining that the antenna abnormal fault exists in the terminal to be detected or each auxiliary terminal under the condition that any antenna of the terminal to be detected or each auxiliary terminal is an abnormal antenna.

In an embodiment, after the determining, by the terminal to be detected, whether the antennas of the terminal to be detected and each of the auxiliary terminals are abnormal antennas based on the first received signal strengths reported by the at least two auxiliary terminals, the method further includes:

selecting a new terminal to be detected and at least two auxiliary terminals of the new terminal to be detected from the plurality of terminals, and performing antenna anomaly detection on the new terminal to be detected, wherein the new terminal to be detected is a terminal which is not detected to have an anomalous antenna at present except the terminal to be detected from the plurality of terminals.

For the specific limitations of the antenna anomaly detection device, reference may be made to the above limitations of the antenna anomaly detection method, which are not described herein again. All modules in the antenna anomaly detection device in the cluster network system can be completely or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing motion detection data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement the steps in any of the above-described antenna anomaly detection method embodiments.

Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In an embodiment, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of any of the above described antenna anomaly detection method embodiments when executing the computer program.

In an embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps in any of the above described antenna anomaly detection method embodiments.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:无线设备的性能测试方法、装置、设备、存储介质和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!