CN107426757B - Antenna equipment scanning method and system - Google Patents
Antenna equipment scanning method and system Download PDFInfo
- Publication number
- CN107426757B CN107426757B CN201710823276.3A CN201710823276A CN107426757B CN 107426757 B CN107426757 B CN 107426757B CN 201710823276 A CN201710823276 A CN 201710823276A CN 107426757 B CN107426757 B CN 107426757B
- Authority
- CN
- China
- Prior art keywords
- scanning
- information
- antenna
- bits
- preset value
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000010276 construction Methods 0.000 claims description 3
- 239000010410 layer Substances 0.000 description 61
- 238000000231 atomic layer deposition Methods 0.000 description 16
- 238000005457 optimization Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000029058 respiratory gaseous exchange Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000002356 single layer Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5046—Resolving address allocation conflicts; Testing of addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/695—Types of network addresses using masks or ranges of addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Variable-Direction Aerials And Aerial Arrays (AREA)
Abstract
The invention discloses a method and a system for scanning antenna equipment, wherein the method comprises the following steps: sending scanning information; acquiring response information of the slave equipment; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna equipment; judging whether the response information is formed by matching information of a plurality of antenna devices, if so, increasing the number of bits of the scanning information and constructing new scanning information; and if not, determining the identification information of the antenna equipment for sending the response information according to the response information. According to the method and the system provided by the invention, when the response information is formed by the matching information of a plurality of antenna devices, the bit number of the scanning information is increased, and on the premise that the bit number of the scanning information is smaller than the preset value, the antenna devices are scanned by dynamically adjusting the bit number of the scanning information, so that the scanning time is reduced.
Description
Technical Field
The invention relates to the field of scanning of electrically-adjustable antenna equipment, in particular to an antenna equipment scanning method and system.
Background
An electrically tunable antenna control system (RCS) remotely controls an electrically tunable antenna device in real time in a master-slave manner, and the master device may identify all slave devices in an unaddressed state on an interface by using a device scan message. A device scan command frame (XID) can only contain a unique matching code and mask. Only the matching secondary slave in the no address state can respond to the primary scan message. When each slave device (ALD) in the unaddressed state receives a scan command, the ALD performs bitwise and operation on its unique identification code (unique ID, UID) and a mask in a device scan command frame, and then compares the unique identification code with a matching code. If they match successfully, ALD sends a response frame to the master. After the master device issues a scan command, ALD has multiple response cases: if only one ALD satisfies matching, the main device can correctly receive the response; if no ALD can satisfy the matching, the main equipment cannot receive a response; if there are multiple ALD's that satisfy the condition, the main device is scanning collided.
When a scan collision occurs, the RCS needs to expand the scan code through the correlation strategy to narrow the scan range until a unique ALD scan is identified to obtain a matching ALD. Assuming that the number of bits left pushed by the mask is m (m is 1-4) when a collision occurs in the scanning process, when a collision occurs, the mask parameter is pushed by m bits left, m bits are added to the left side of the matching code, L is 2m new matching code strings are generated, that is, the scanning is continued after L new scanning branches are generated, and the whole searching process can be represented by one L-fork tree. Based on the scanning algorithm of the L-fork tree, the scanning range is reduced by adopting a method of increasing scanning information of the fixed position number. However, the smaller L, the greater the probability that a new match code generated at the time of a collision will match the ALD UID, and the more collision cycles; the larger L is, the smaller the probability that a new matching code generated in the collision is matched with the ALD UID is, the collision period is reduced, but the idle period is increased; the increased number of periods, whether collisions or idle periods, increases the scan time.
Therefore, the scanning algorithm based on the L-ary tree has higher complexity, needs longer scanning time and cannot effectively scan out the needed equipment in time.
Disclosure of Invention
The invention aims to provide an antenna equipment scanning method and system, which are used for reducing the scanning time of slave equipment, improving the scanning precision and obtaining antenna equipment with matched serial numbers when scanning collision occurs in main equipment.
In order to achieve the purpose, the invention provides the following scheme:
the invention provides an antenna equipment scanning method, which comprises the following steps:
sending scanning information;
acquiring response information of the slave equipment; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna equipment;
judging whether the response information is formed by matching information of a plurality of antenna devices to obtain a first judgment result;
when the first judgment result shows that the response information is formed by matching information of a plurality of antenna devices, increasing the number of bits of the scanning information to construct new scanning information;
and when the first judgment result shows that the response information is formed by matching information of the antenna equipment, determining the identification information of the antenna equipment for sending the response information according to the response information.
Optionally, the antenna device scanning method further includes:
judging whether the number of bits of the current scanning information is smaller than a preset value or not to obtain a second judgment result;
when the second judgment result shows that the number of bits of the scanning information is not less than the preset value, switching the number of scanning layers; the scanning layer number represents the layer number of the serial number of the antenna equipment divided from back to front;
and when the second judgment result shows that the number of bits of the scanning information is smaller than the preset value, increasing the number of bits of the scanning information on the basis of the current scanning layer number, and constructing new scanning information.
Optionally, the antenna device scanning method further includes:
determining the maximum scanning layer number and the preset value according to the number of bits of the serial number of the antenna equipment, wherein the maximum scanning layer number and the preset value meet the following formula: the preset value is the maximum scanning layer number which is the digit number of the serial number, wherein the maximum scanning layer number is an integer, and the preset value is an integer.
Optionally, the scanning method of the antenna device further includes:
and when the response information cannot be received, acquiring the next scanning information which has the same digit as the current scanning information but different content and sending the next scanning information.
Optionally, the number of bits in each scanning layer number in the serial number is the same.
The present invention also provides an antenna device scanning system, which includes:
the sending module is used for sending the scanning information;
the first acquisition module is used for acquiring response information of the slave equipment; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna information;
a first result judgment module, configured to judge whether the response information is formed by matching information of multiple antenna devices, to obtain a first judgment result;
a first constructing module, configured to increase the number of bits of the scanning information to construct new scanning information when the first determination result indicates that the response information is formed by matching information of a plurality of antenna devices;
and the determining module is used for determining the antenna equipment for sending the response information according to the response information when the first judgment result shows that the response information is formed by the matching information of one antenna equipment.
Optionally, the antenna device scanning system includes:
the second result judging module is used for judging whether the bit number of the current scanning information is smaller than a preset value or not to obtain a second judging result;
a scanning layer number increasing module, configured to switch the number of scanning layers when the second determination result indicates that the number of bits of the scanning information is not less than the preset value; the scanning layer number represents the layer number of the serial number of the antenna equipment divided from back to front;
and the second construction module is used for increasing the number of bits of the scanning information on the basis of the current scanning layer number and constructing new scanning information when the second judgment result shows that the number of bits of the scanning information is smaller than the preset value.
Optionally, the antenna device scanning system further includes:
a maximum scanning layer number and preset value determining module, configured to determine the maximum scanning layer number and the preset value according to the number of bits of the serial number of the antenna device, where the maximum scanning layer number and the preset value satisfy the following formula: the preset value is the maximum scanning layer number which is an integer.
Optionally, the antenna device scanning system further includes:
and the second acquisition module is used for acquiring and sending the next scanning information which has the same digit as the current scanning information but different content when the response information is not received.
Optionally, the number of bits in each scanning layer number in the serial number is the same.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention provides an antenna equipment scanning method and a system thereof, when response information is composed of matching information of a plurality of antenna equipments, the method and the system increase the bit number of the scanning information, and scan the antenna equipment by dynamically adjusting the bit number of the scanning information on the premise that the bit number of the scanning information is smaller than a set value, thereby reducing the scanning time.
In addition, the serial number of the antenna equipment is divided into a plurality of layers, when the antenna equipment is scanned, the scanning is started from the lowest layer from back to front, and when the number of bits of the scanning information exceeds a preset value, the next layer is carried out, so that the complexity of the algorithm is reduced, and the scanning time is greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of an antenna apparatus scanning method 1 according to an embodiment of the present invention;
fig. 2 is a schematic diagram of layering serial numbers of antenna devices;
fig. 3 is a structural connection diagram of an embodiment of a scanning system of an antenna apparatus according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide an antenna equipment scanning method and system, which are used for reducing the scanning time of slave equipment, improving the scanning precision and obtaining antenna equipment with matched serial numbers when scanning collision occurs in main equipment.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
The present invention provides an antenna device scanning method, fig. 1 is a flowchart of an embodiment 1 of the antenna device scanning method of the present invention, and as shown in fig. 1, the antenna device scanning method includes:
102, acquiring response information of the slave equipment; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna equipment;
103, judging whether the response information is composed of matching information of a plurality of antenna devices to obtain a first judgment result;
and 105, when the first judgment result shows that the response information is formed by matching information of one antenna device, determining identification information of the antenna device which sends the response information according to the response information.
Optionally, the antenna device scanning method further includes:
judging whether the number of bits of the current scanning information is smaller than a preset value or not to obtain a second judgment result;
when the second judgment result shows that the number of bits of the scanning information is not less than the preset value, switching the number of scanning layers; the scanning layer number represents the layer number of the serial number of the antenna equipment divided from back to front;
and when the second judgment result shows that the number of bits of the scanning information is smaller than the preset value, increasing the number of bits of the scanning information on the basis of the current scanning layer number, and constructing new scanning information.
Optionally, the antenna device scanning method further includes:
determining the maximum scanning layer number and the preset value according to the number of bits of the serial number of the antenna equipment, wherein the maximum scanning layer number and the preset value meet the following formula: the preset value is the maximum scanning layer number which is the digit number of the serial number, wherein the maximum scanning layer number is an integer, and the preset value is an integer.
Optionally, the scanning method of the antenna device further includes:
and when the response information cannot be received, acquiring the next scanning information which has the same digit as the current scanning information but different content and sending the next scanning information.
Optionally, the number of bits in each scanning layer number in the serial number is the same.
The invention provides an antenna equipment scanning method and a system thereof, when response information is composed of matching information of a plurality of antenna equipments, the method and the system increase the bit number of the scanning information, and scan the antenna equipment by dynamically adjusting the bit number of the scanning information on the premise that the bit number of the scanning information is smaller than a set value, thereby reducing the scanning time.
In addition, the serial number of the antenna equipment is divided into a plurality of layers, when the antenna equipment is scanned, the scanning is started from the lowest layer from back to front, and when the number of bits of the scanning information exceeds a preset value, the next layer is carried out, so that the complexity of the algorithm is reduced, and the scanning time is greatly reduced.
Example 2
With the development of the times and the progress of the society, the demand of people on wireless communication and the requirement of network quality are increasing day by day, and the problem of wireless network optimization becomes more and more important. Network operators are also more concerned about improvements and improvements in network quality. Network optimization is the most direct and effective method for improving the quality of a mobile network and is also a key technology in network communication, wherein optimization of base station antennas is the main method for network optimization. In the network optimization process, the implementation difficulty is high due to the fact that the height of the antenna is changed, and therefore the coverage area of a small area is often changed by adjusting the inclination angle of the antenna. By selecting an appropriate tilt angle, an appropriate coverage area can be obtained, interference can be minimized, and thus an optimal signal strength can be obtained.
The antenna is divided into an electric tuning antenna and a non-electric tuning antenna according to whether the inclination angle of the antenna is adjustable. The non-electric tuning antenna is a traditional mechanical antenna, the antenna cannot be adjusted in severe weather, the problem of 'volume breathing' cannot be solved in time, and the whole network optimization cannot be performed in a short time. The electric tuning antenna can realize remote adjustment, has high adjustment and optimization efficiency and strong real-time performance, and the actual coverage range is closer to the network prediction planning, so that the coverage is more precise. The AISG protocol is a communication specification between an antenna intelligent device and a base station jointly established by mobile communication system manufacturers and microwave antenna related manufacturers which are mainstream in the world. Therefore, the compatibility and interoperability of the electric tilt antenna equipment of different manufacturers are realized. The current common scheme is to use an antenna attitude tester to update the latest data of a base station antenna in a system platform to the antenna attitude tester, and the antenna attitude tester is not really remote control. In the system, a computer end is adopted for remote control, a main station sends a command to a remote control unit, and the remote control unit realizes real remote control through a control antenna. According to the AISG protocol and 3GPP specifications, the master station is to implement control of the remote control units (slaves) by first obtaining all the slave basic information. And the scanning completes the searching of the slave devices hung on the network and the acquisition of the device information. After the scanning is completed, the master station can perform other command operations on the slave device.
In the AISG protocol, a scanning frame format is specified, but a detailed description is not given to a specific implementation manner of scanning, and each manufacturer needs to design a corresponding scanning algorithm by himself during development.
The scan frame sent by the master device includes the match code and mask compared to the UID of the slave device. And the mask and the slave equipment serial number are subjected to AND operation, and the operation result is compared with the matching string code. After the slave device sends a scanning frame, if a plurality of slave devices respond simultaneously, the slave devices share one 485 bus simultaneously, so that signal superposition occurs and collision occurs, and the master device receives an error response frame and needs to continue scanning downwards; if only one electric tilt antenna device is matched, the master device receives a normal XID response frame, and marks that one electric tilt antenna device is successfully scanned. After a device is successfully scanned, the host assigns a temporary HDLC address to the device so that the device does not respond to the subsequent scanning frame; if no electric tilt antenna device is matched, the main device does not receive any response within the designated time. Assuming that a period from the time when the master device broadcasts a scanning frame to the time when the slave device receives feedback is called a scanning period, the scanning period is classified into the following 3 types according to possible response situations:
and (3) collision period: and 2 or more than 2 slave devices respond simultaneously, the response signals collide, and the master device receives the error frame and needs to further scan.
An idle period: there is no response.
Readable period: only one slave device responds, and the master device receives a correct response frame, so that the basic information of the slave device is successfully acquired.
In order to solve the scanning collision and shorten the scanning time, the present embodiment performs bit-by-bit scanning on a given sequence number to determine whether the sequence number matches with a reference sequence. The method of identifying each different device from the plurality of online device lists by screening. Since the probability that the same character appears at the corresponding position from right to left of the manufacturer serial number increases in sequence, the 0 th bit to the nth bit are scanned in sequence from right to left. The method provided by the embodiment comprises the following steps:
step 201, determining the maximum scanning layer number and the maximum scanning precision according to the number of bits of the serial number of the antenna device, where the number of bits n of the serial number, the maximum scanning layer number depth, and the maximum scanning precision grade satisfy the following formulas: a × grade × depth ═ n (1); where a denotes the number of bits of one mask advance when the grade ═ 1.
The maximum scanning layer number can be determined by adopting the following method:
constraint 1: the proportion of equipment which can be distinguished by traversing one precision is more than or equal to ninety percent;
constraint 2: the time it takes for the device to complete a single layer count is minimized.
The maximum number of scanning layers depth, i.e. the scanning depth, can be obtained by performing optimization processing according to the constraint conditions, and therefore, the determination of the scanning depth is determined by the time consumed by performing one-time comparison by the minimum comparison unit of the device and the characteristics of the serial number itself. Then, the maximum scanning accuracy, which is the preset value in embodiment 1, is calculated according to formula (1). Wherein a can be 2 or 4, and when a is 2, the precision is higher.
In determining the number of bits of the serial number of the antenna device, the complete serial number is usually used, but when special cases are encountered, the following method may be adopted:
a. comparing the serial numbers of the antenna devices, and determining the number of continuous bytes of the serial numbers which are completely the same from left to right and the number of bytes which need to be scanned; and averagely dividing the number of bytes needing to be scanned into a plurality of layers. For example, the sequence number of eighteen bits is the same as the first eight bits, so when the scanning layer number is generated, the first eight bits can be skipped over, and the latter ten bits are equally divided into a plurality of depth segments; second, the division of the number of layers, in relation to the efficiency of the comparison unit, is appropriate if more than ninety percent of the devices can be distinguished with twelve accuracies per depth.
b. And (3) carrying out independent optimization aiming at special equipment, such as counting the similarity of the sequence number field, and skipping certain bits when scanning the field with high similarity.
Step 202, dividing the serial number of the antenna device into n layers according to the maximum scanning layer number, wherein the number of bits of the serial number included in each layer is the same, as shown in fig. 2.
And step 203, starting from the first layer of the sequence number, constructing a first group of nodes according to the scanning precision of 1, and adding the first group of nodes into a scanning queue.
And step 204, taking out the head element from the scanning queue, and constructing scanning information according to the head element.
Step 205, sending out the scanning information in a broadcasting mode.
Step 206, acquiring response information of the scanning information.
Step 207, when the response information is formed by matching information of a plurality of antenna devices, judging whether the current scanning precision is greater than the maximum scanning precision, if not, increasing the number of bits of the scanning information, namely adding 1 to the original scanning precision to construct new scanning information; if so, the scanning layer number is switched, namely, the scanning depth is increased by one layer, and new scanning information is constructed when the scanning precision is 1.
The host device finds a plurality of response frames in the buffer stack, which indicates that UIDs of a plurality of ALD are consistent with the matching code string of the scanning frame, the scanning precision needs to be increased, based on the scanning precision, a next layer node is constructed and added into a newly constructed lower layer queue, based on the scanning precision, a higher-precision lower layer scanning frame is started, and the devices are distinguished. If the scanning precision reaches the current maximum precision value (Grade-max) and the collision response is still received, the scanning depth is insufficient under the supported scanning precision, so that the scanning depth is increased, and the scanning is started from the lowest precision to the deeper level of the deep submergence entry sequence.
And step 208, when the response information is formed by matching information of one antenna device, determining the identification information of the antenna device sending the response information according to the response information.
And the master device receives a response frame with correct CRC in a buffer stack, successfully scans an ALD (atomic layer deposition), extracts the frame from the stack, acquires basic information of the device, including UID (user identifier), device type and the like, constructs an address allocation XID frame according to the UID of the device, sends the address allocation XID frame to the device, and allocates an unallocated address in an address base to the device so as to prevent the device from responding to the broadcast XID frame again. For nodes to be readable, the scan need not increase in precision and depth.
In step 209, when no response message is received, the process returns to step 204.
In the frame receiving period of the main device, if the stack has no normal frame stored, it shows that the UID of any ALD device does not conform to the matching code string of the scanning frame, and then a node element is taken down from the node queue of the layer for scanning. For the idle node elements, the scanning is continued without increasing the precision and the depth of the scanning.
Assuming that there are m ALD devices to be scanned on the network, the readable period, the idle period and the collision period are included in one complete scanning period, and the consumption time of the three periods is assumed to be equal, so that one complete scanning time is the sum of the three periods. Let the parameter L denote the idle period, R the readable period and C the collision period. According to the method of the present invention, the expectation of the idle period, the readable period, and the collision period in the scan can be expressed as:
assuming that the expectation of idle, readable and collision cycles at depth d can be expressed as:
L(m,d)=4grade(1-4-grade)m
R(m,d)=m(1-4-grade)m-1
C(m,d)=4grade-L(m,d)-R(m,d)
wherein grade is 2 n/d.
The total number of collision cycles and the total number of idle cycles in a complete scanning cycle are respectively the sum of collision cycles and the sum of idle cycles in each depth of deep-diving scanning, so that:
the embodiment divides the long serial number into a plurality of different depths and carries out multi-fork tree scanning by taking the precision as an adjusting point; according to the length of the scanning sequence, the scanning depth and precision are dynamically adjusted, the algorithm complexity is reduced, and the scanning time is reduced; the method has wide adaptability, and can select proper maximum scanning precision for sequences with different lengths and different characteristics so as to further improve the scanning efficiency of the algorithm, and is easy to realize and operate.
Fig. 3 is a structural connection diagram of an embodiment of the antenna apparatus scanning system according to the present invention, and as shown in fig. 3, the antenna apparatus scanning system includes:
a sending module 301, configured to send scanning information;
a first obtaining module 302, configured to obtain response information of the slave device; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna information;
a first result determining module 303, configured to determine whether the response information is formed by matching information of multiple antenna devices, so as to obtain a first determination result;
a first constructing module 304, configured to increase the number of bits of the scanning information to construct new scanning information when the first determination result indicates that the response information is formed by matching information of a plurality of antenna devices;
a determining module 305, configured to determine, according to the response information, an antenna device that transmits the response information when the first determination result indicates that the response information is formed by matching information of one antenna device.
Optionally, the antenna device scanning system includes:
the second result judging module is used for judging whether the bit number of the current scanning information is smaller than a preset value or not to obtain a second judging result;
a scanning layer number increasing module, configured to switch the number of scanning layers when the second determination result indicates that the number of bits of the scanning information is not less than the preset value; the scanning layer number represents the layer number of the serial number of the antenna equipment divided from back to front;
and the second construction module is used for increasing the number of bits of the scanning information on the basis of the current scanning layer number and constructing new scanning information when the second judgment result shows that the number of bits of the scanning information is smaller than the preset value.
Optionally, the antenna device scanning system further includes:
a maximum scanning layer number and preset value determining module, configured to determine the maximum scanning layer number and the preset value according to the number of bits of the serial number of the antenna device, where the maximum scanning layer number and the preset value satisfy the following formula: the preset value is the maximum scanning layer number which is an integer.
Optionally, the antenna device scanning system further includes:
and the second acquisition module is used for acquiring and sending the next scanning information which has the same digit as the current scanning information but different content when the response information is not received.
Optionally, the number of bits in each scanning layer number in the serial number is the same.
For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.
Claims (6)
1. An antenna device scanning method, characterized in that the antenna device scanning method comprises:
sending scanning information;
acquiring response information of the slave equipment; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna equipment;
judging whether the response information is formed by matching information of a plurality of antenna devices to obtain a first judgment result;
when the first judgment result shows that the response information is formed by matching information of a plurality of antenna devices, increasing the number of bits of the scanning information to construct new scanning information;
when the first judgment result shows that the response information is formed by matching information of the antenna equipment, determining identification information of the antenna equipment for sending the response information according to the response information;
judging whether the number of bits of the current scanning information is smaller than a preset value or not to obtain a second judgment result;
when the second judgment result shows that the number of bits of the scanning information is not less than the preset value, switching the number of scanning layers; the scanning layer number represents the layer number of the serial number of the antenna equipment divided from back to front; determining a maximum scanning layer number and the preset value according to the number of bits of the serial number of the antenna equipment, wherein the maximum scanning layer number and the preset value satisfy the following formula: presetting a maximum scanning layer number which is the digit number of the serial number, wherein the maximum scanning layer number is an integer, and the presetting value is an integer;
and when the second judgment result shows that the number of bits of the scanning information is smaller than the preset value, increasing the number of bits of the scanning information on the basis of the current scanning layer number, and constructing new scanning information.
2. The antenna apparatus scanning method of claim 1, further comprising:
and when the response information cannot be received, acquiring the next scanning information which has the same digit as the current scanning information but different content and sending the next scanning information.
3. The antenna apparatus scanning method of claim 1, wherein the number of bits in each of the scanning layer numbers in the serial number is the same.
4. An antenna device scanning system, comprising:
the sending module is used for sending the scanning information;
the first acquisition module is used for acquiring response information of the slave equipment; when the serial number of the antenna equipment is matched with the scanning information, the antenna equipment sends matching information of the scanning information, wherein the matching information comprises identification information of the antenna information;
a first result judgment module, configured to judge whether the response information is formed by matching information of multiple antenna devices, to obtain a first judgment result;
a first constructing module, configured to increase the number of bits of the scanning information to construct new scanning information when the first determination result indicates that the response information is formed by matching information of a plurality of antenna devices;
a determining module, configured to determine, according to the response information, an antenna device that sends the response information when the first determination result indicates that the response information is formed by matching information of one antenna device;
the second result judging module is used for judging whether the bit number of the current scanning information is smaller than a preset value or not to obtain a second judging result;
a scanning layer number increasing module, configured to switch the number of scanning layers when the second determination result indicates that the number of bits of the scanning information is not less than the preset value; the scanning layer number represents the layer number of the serial number of the antenna equipment divided from back to front;
a second construction module, configured to, when the second determination result indicates that the number of bits of the scanning information is smaller than the preset value, increase the number of bits of the scanning information on the basis of the current number of scanning layers, and construct new scanning information;
a maximum scanning layer number and preset value determining module, configured to determine the maximum scanning layer number and the preset value according to the number of bits of the serial number of the antenna device, where the maximum scanning layer number and the preset value satisfy the following formula: the preset value is the maximum scanning layer number which is an integer.
5. The antenna apparatus scanning system of claim 4, further comprising:
and the second acquisition module is used for acquiring and sending the next scanning information which has the same digit as the current scanning information but different content when the response information is not received.
6. The antenna apparatus scanning system of claim 4, wherein the number of bits in each of the scanning layer numbers in the serial number is the same.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710823276.3A CN107426757B (en) | 2017-09-13 | 2017-09-13 | Antenna equipment scanning method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710823276.3A CN107426757B (en) | 2017-09-13 | 2017-09-13 | Antenna equipment scanning method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107426757A CN107426757A (en) | 2017-12-01 |
CN107426757B true CN107426757B (en) | 2020-02-04 |
Family
ID=60433308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710823276.3A Expired - Fee Related CN107426757B (en) | 2017-09-13 | 2017-09-13 | Antenna equipment scanning method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107426757B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810866B (en) * | 2018-05-28 | 2022-08-19 | 北京小米移动软件有限公司 | Method and device for connecting intelligent equipment and storage medium |
CN109687941A (en) * | 2019-01-14 | 2019-04-26 | 深圳国人通信股份有限公司 | A kind of AISG topological system and its AISG are from equipment, AISG from the scan transponding method of equipment |
CN113626653A (en) * | 2020-05-08 | 2021-11-09 | 大唐移动通信设备有限公司 | Identification method and device of electric tilt antenna equipment, electronic equipment and storage medium |
CN111986819B (en) * | 2020-09-01 | 2023-03-31 | 四川大学华西第二医院 | Adverse drug reaction monitoring method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674591A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Electrical tilt antenna system and scanning method of electrical tilt antenna |
CN101772042A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Method and device for scanning electrically-regulated antenna, base station and communication system |
CN102439881A (en) * | 2011-09-09 | 2012-05-02 | 华为技术有限公司 | Method and device for detecting conflict |
CN104320801A (en) * | 2014-10-22 | 2015-01-28 | 电子科技大学中山学院 | ALD device scanning algorithm in unreliable communication environment |
-
2017
- 2017-09-13 CN CN201710823276.3A patent/CN107426757B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101772042A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Method and device for scanning electrically-regulated antenna, base station and communication system |
CN101674591A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Electrical tilt antenna system and scanning method of electrical tilt antenna |
CN102439881A (en) * | 2011-09-09 | 2012-05-02 | 华为技术有限公司 | Method and device for detecting conflict |
CN104320801A (en) * | 2014-10-22 | 2015-01-28 | 电子科技大学中山学院 | ALD device scanning algorithm in unreliable communication environment |
Also Published As
Publication number | Publication date |
---|---|
CN107426757A (en) | 2017-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107426757B (en) | Antenna equipment scanning method and system | |
EP3395013B1 (en) | Node upgrading method and system in mesh network | |
RU2698316C1 (en) | Frame format with a short ssw for the process of forming an sls beam between connected associated stations and a method of preparing wireless communication | |
CN106658422B (en) | For the network side localization method and system of the sparse WiFi data of height | |
JP2023153168A (en) | Multi-link communication method and related device | |
KR101612552B1 (en) | Method for Multi-type Beacon Operation | |
US20180323995A1 (en) | Method and apparatus for controlling access of household appliance device to network | |
US10069551B2 (en) | Electronic device and method of performing wireless communication using beamforming thereof | |
US20040255001A1 (en) | Coordinator switching method and communication system using same | |
CN101626581B (en) | Method, device and system for scanning equipment in electrically adjustable antenna interface | |
US20080219196A1 (en) | Infrastructure offload wake on wireless lan (wowl) | |
CN109194774B (en) | Equipment address expansion method of LPWAN network server | |
CN104270744B (en) | The rapid configuration system and method for wireless network | |
CN109075860B (en) | Communication method based on visible light, related equipment and system | |
WO2013070174A1 (en) | Compression devices, decompression devices, compression methods, and decompression methods | |
KR102251121B1 (en) | Methods for encoding and decoding frames in a telecommunication network | |
CN101114869A (en) | system message block scheduling method and device in UMTS system | |
CN112637874A (en) | BLE Mesh-based intelligent device network distribution method | |
CN105392185A (en) | Intelligent equipment networking method and device, and system | |
CN1072297A (en) | Radio frequency data communications networks | |
CN110855464A (en) | Network topology structure adjusting method and device | |
WO2024007881A1 (en) | Signal transmission method and device based on mtrp | |
CN107333337A (en) | A kind of accidental access method and device being grouped based on space | |
CN103209495B (en) | A kind of perception frequency point selecting method | |
CN110636585B (en) | Quick access method of wireless frequency hopping network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200204 |