Disclosure of Invention
In view of the above, the present invention is directed to an address allocation method and an address allocation system to solve the problems in the prior art.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
an address allocation method is applied to an address allocation system, wherein the address allocation system comprises a radio frequency hub and at least two cascaded active antenna modules, and the address allocation method comprises the following steps:
the radio frequency hub sends a reference signal to each active antenna module;
each active antenna module respectively acquires the strength information of the reference signal when receiving the reference signal and sends a response signal to the radio frequency concentrator based on the strength information;
and the radio frequency concentrator carries out address allocation work according to response signals sent by the active antenna modules.
In a preferred option of the embodiment of the present invention, the step of obtaining the strength information of the reference signal when the reference signal is received by each active antenna module respectively includes:
each active antenna module respectively detects the loss of the reference signal on the active antenna module and detects the strength of the reference signal when the reference signal is received;
and each active antenna module calculates the strength information of the reference signal when receiving the reference signal according to the loss and the strength obtained by detection.
In a preferred option of the embodiment of the present invention, the active antenna module includes a detection unit, and the step of detecting, by each active antenna module, the loss of the reference signal on the active antenna module includes:
each active antenna module respectively detects a circuit structure from an input end to a detection unit;
and each active antenna module calculates the loss of the reference signal on the active antenna module according to the circuit structure.
In a preferred option of the embodiment of the present invention, the address allocation method further includes:
the radio frequency concentrator sends control information to each active antenna module;
and each active antenna module sequentially sends response signals to the radio frequency concentrator according to the control information.
In a preferred option of the embodiment of the present invention, the step of sending a response signal to the radio frequency hub based on the strength information includes:
each active antenna module respectively acquires the initial strength of the reference signal, and calculates the length information of the cable between the active antenna module and the radio frequency concentrator according to the initial strength and the strength information acquired by the active antenna module;
and each active antenna module sends a response signal to the radio frequency hub according to the calculated cable length information.
In a preferred option of the embodiment of the present invention, the step of calculating the length information of the cable between the active antenna module and the radio frequency hub according to the initial strength and the strength information acquired by the active antenna module specifically includes:
and each active antenna module obtains intensity attenuation information according to the initial intensity and the intensity information obtained by the active antenna module, and calculates the length information of the cable between the active antenna module and the radio frequency concentrator according to the intensity attenuation information and a preset intensity attenuation standard.
The embodiment of the invention also provides an address distribution system, which comprises a radio frequency concentrator and at least two cascaded active antenna modules;
the radio frequency hub is used for sending a reference signal to each active antenna module;
each active antenna module is used for respectively acquiring the strength information of the reference signal when the reference signal is received and sending a response signal to the radio frequency concentrator based on the strength information;
and the radio frequency concentrator is used for carrying out address allocation work according to the response signals sent by the active antenna modules.
In a preferred option of the embodiment of the present invention, each of the active antenna modules is further configured to detect a loss of the reference signal on the active antenna module and detect a strength of the reference signal when the reference signal is received;
and each active antenna module is further used for calculating and obtaining the strength information of the reference signal when the reference signal is received according to the detected loss and strength.
In a preferred option of the embodiment of the present invention, the active antenna module includes a detection unit, and each of the active antenna modules is further configured to detect a circuit structure from the input end to the detection unit, respectively;
each active antenna module is further configured to calculate a loss of the reference signal at the active antenna module based on the circuit structure.
In a preferred option of the embodiment of the present invention, the radio frequency hub is further configured to send control information to each of the active antenna modules;
each active antenna module is further configured to sequentially send a response signal to the radio frequency hub according to the control information.
According to the address allocation method and the address allocation system provided by the embodiment of the invention, each active antenna module detects the strength information of the reference signal sent by the radio frequency concentrator and sends the response signal to the radio frequency concentrator based on the strength information, the radio frequency concentrator carries out address allocation work according to the response signal, and the allocated address can reflect the position relation of each active antenna module so as to facilitate system maintenance and management.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
As shown in fig. 1 and 2, an embodiment of the present invention provides an address distribution system 10 that may include a radio frequency hub 100 and at least two active antenna modules 200 cascaded.
In detail, the rf hub 100 may transmit an input rf signal to a plurality of devices connected to an output terminal, so as to synchronize, amplify and shape data transmission. The active antenna module 200 may include devices such as a transistor, a tunnel diode, and a varactor diode, which reduce the impedance of the antenna, widen the frequency band, improve the noise characteristic of the system, and implement the transceiving of radio frequency signals. And the rf hub 100 may include a plurality of ports, each of which may cascade a plurality of active antenna modules 200.
The rf hub 100 is configured to transmit a reference signal to each of the active antenna modules 200. Each of the active antenna modules 200 is configured to obtain strength information of the reference signal when the reference signal is received, and send a response signal to the radio frequency hub 100 based on the strength information. The rf hub 100 is configured to perform address allocation according to the response signal transmitted by each of the active antenna modules 200.
Through the above arrangement, the allocated address may reflect the position relationship of each active antenna module 200, so as to facilitate system maintenance and management.
Further, the radio frequency hub 100 may include a memory unit, a processing unit, and a communication unit.
Wherein, the storage unit and the processing unit are directly or indirectly electrically connected to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processing unit is configured to execute the executable computer program stored in the storage unit.
The Memory unit may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The storage unit is used for storing programs, and the processing unit executes the programs after receiving the execution instructions.
The processing unit may be an integrated circuit chip having signal processing capabilities. The Processing Unit may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Optionally, the specific setting of the communication unit is not limited, and may be set according to the actual application requirement, for example, in this embodiment, the communication unit may be a radio frequency antenna.
Further, each of the active antenna modules 200 is further configured to detect a loss of the reference signal on the active antenna module 200 and detect a strength of the reference signal when the reference signal is received, respectively; each of the active antenna modules 200 is further configured to calculate, according to the detected loss and strength, strength information of the reference signal when the reference signal is received.
The active antenna module 200 includes a detection unit, and each of the active antenna modules 200 is further configured to detect a circuit structure from an input end to the detection unit; each of the active antenna modules 200 is further configured to calculate a loss of the reference signal on the active antenna module 200 according to the circuit structure.
Moreover, the rf hub 100 is further configured to send control information to each of the active antenna modules 200; each active antenna module 200 is further configured to sequentially send a response signal to the rf hub 100 according to the control information.
Referring to fig. 3, an embodiment of the present invention provides an address allocation method applicable to the address allocation system 10, which may include step S100, step S200, and step S300.
In step S100, the rf hub 100 transmits a reference signal to each of the active antenna modules 200.
In detail, the specific type of the reference signal is not limited, and may be set according to the actual application requirements. For example, in this embodiment, the reference signal may be a reference rf signal without specific information.
Step S200, each of the active antenna modules 200 respectively obtains intensity information of the reference signal when the reference signal is received, and sends a response signal to the radio frequency hub 100 based on the intensity information.
In detail, since the position relationship of each active antenna module 200 is different, that is, the distance from the radio frequency hub 100 is different, the strength of the reference signal received by each active antenna module 200 is different, and different response signals can be sent to the radio frequency hub 100 according to the received different strength information.
In step S300, the radio frequency hub 100 performs address allocation according to the response signal sent by each active antenna module 200.
In detail, according to step S200, when the radio frequency hub 100 receives different response signals sent by each active antenna module 200, address allocation work may be performed according to the different response signals, and a corresponding address is allocated to each active antenna module 200.
Further, the radio frequency hub 100 may also establish a corresponding relationship between the identity information of each active antenna module 200 and the allocated address, and send the corresponding relationship to a connected display device for displaying, so that an operator can manage each active antenna module 200 conveniently.
In conjunction with fig. 4, the step S200 may include a step S210 and a step S220.
Step S210, each of the active antenna modules 200 detects a loss of the reference signal on the active antenna module 200 and detects a strength of the reference signal when the reference signal is received.
In detail, since the internal structure of each of the active antenna modules 200 is different, the reference signal is transmitted on each of the active antenna modules 200 to generate a loss, so that the strength of the reference signal detected by each of the active antenna modules 200 is different from the strength of the reference signal received at the input end.
Step S220, each of the active antenna modules 200 calculates, according to the detected loss and strength, strength information of the reference signal when the reference signal is received.
In detail, the loss of the reference signal on the active antenna module 200 and the strength of the reference signal when the reference signal is received are obtained according to step S210, and the strength information of the reference signal when the input end of each active antenna module 200 receives the reference signal can be calculated according to the detected loss and strength.
Further, the active antenna module 200 includes a detection unit to detect the strength of the received reference signal. Optionally, the specific setting of the detection unit is not limited, and may be set according to the actual application requirement, for example, in this embodiment, the detection unit may be a radio frequency detector.
In conjunction with fig. 5, the step S210 may include a step S211 and a step S212.
In step S211, each of the active antenna modules 200 detects a circuit structure from the input end to the detection unit.
In detail, the input end of each active antenna module 200 to the detection unit may include different circuit structures, for example, in this embodiment, the circuit structure may include a plurality of switches, the reference signal may generate loss when transmitted through the circuit structure, and the loss of the reference signal may be calculated according to the circuit structure.
In step S212, each of the active antenna modules 200 calculates the loss of the reference signal on the active antenna module 200 according to the circuit structure.
In detail, the circuit structure from the input end of the active antenna module 200 to the detection unit may be obtained according to step S211, and the loss of the reference signal may be calculated according to the circuit structure, so as to calculate the strength information of the reference signal at the input end of the active antenna module 200.
In conjunction with fig. 6, step S200 may further include step S230 and step S240.
Step S230, each of the active antenna modules 200 respectively obtains the initial strength of the reference signal, and calculates the cable length information between the active antenna module 200 and the radio frequency hub 100 according to the initial strength and the strength information obtained by the active antenna module 200.
In detail, the rf hub 100 transmits a reference signal and an initial strength of the reference signal to each of the active antenna modules 200, and the active antenna modules 200 may compare the initial strength with the strength of the reference signal received.
In step S240, each of the active antenna modules 200 sends a response signal to the rf hub 100 according to the calculated cable length information.
In detail, the cable length information calculated by each active antenna module 200 is different, and a response signal is sent to the radio frequency hub 100 according to the different cable length information, so that the radio frequency hub 100 performs address assignment according to the response information.
Through the above arrangement, each active antenna module 200 can be in one-to-one correspondence with the cable length information to determine the specific position of the active antenna module 200 on the radio frequency coaxial cable, so as to query the relevant information of the active antenna module 200 at the corresponding position through addressing.
Further, the step S230 specifically includes:
each active antenna module 200 obtains intensity attenuation information according to the initial intensity and the intensity information obtained by the active antenna module 200, and calculates cable length information between the active antenna module 200 and the radio frequency hub 100 according to the intensity attenuation information and a preset intensity attenuation standard.
The intensity information acquired by the active antenna module 200 specifically refers to intensity information of an input end of the active antenna module 200, and may be calculated according to the intensity detected by the detection unit and the loss of the reference signal on the active antenna module 200.
In particular, the intensity attenuation criterion refers to the intensity attenuation of the reference signal on a unit length of radio frequency coaxial cable.
With the above arrangement, the calculation steps of the cable length information can be simplified by the preset intensity attenuation standard, thereby reducing the calculation amount of each active antenna module 200.
With reference to fig. 7, the address assignment method further includes step S400 and step S500.
In step S400, the rf hub 100 sends control information to each of the active antenna modules 200.
In detail, the specific type of the control information is not limited, and may be set according to the actual application requirement, for example, in this embodiment, the control information may be a polling instruction.
Optionally, the sending mode of the control information is not limited, and may be set according to the actual application requirement. For example, in one embodiment, the control information may be separately sent to each of the active antenna modules 200; in another embodiment, the control information may be carried by a reference signal to each of the active antenna modules 200.
Step S500, each active antenna module 200 sequentially sends a response signal to the radio frequency hub 100 according to the control information.
In detail, each active antenna module 200 sequentially sends a response signal to the radio frequency hub 100 according to the polling command, so as to avoid collision of the response signals sent by each active antenna module 200.
In summary, according to the address assignment method and the address assignment system 10 provided in the embodiments of the present invention, each active antenna module 200 detects the strength information of the reference signal sent by the radio frequency hub 100, and sends a response signal to the radio frequency hub 100 based on the strength information, the radio frequency hub 100 performs address assignment according to the response signal, and the assigned address can reflect the position relationship of each active antenna module 200, so as to facilitate system maintenance and management.
Further, the specific position of the active antenna module 200 on the radio frequency coaxial cable is determined by one-to-one correspondence between each active antenna module 200 and the cable length information, so that the relevant information of the active antenna module 200 at the corresponding position is queried through addressing. And the calculation steps of the cable length information can be simplified through a preset intensity attenuation standard, so that the calculation amount of each active antenna module 200 is reduced.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.