Disclosure of Invention
The invention aims to provide a test system of an electric tilt antenna device.
In order to achieve one of the above objects, an embodiment of the present invention provides a test system for an electrically tunable antenna device, where the system includes a test module, an AISG adaptation module, a modem module, a detection module, and a device to be tested, where:
the test module is used for selecting and executing a corresponding test case according to different implementation modes of the AISG protocol, and issuing a base station control command corresponding to the test case to the AISG adaptation module;
the AISG adaptation module is used for carrying out AISG protocol message encapsulation on the base station control command and sending the encapsulated base station control command to the modulation and demodulation module;
the modulation and demodulation module is used for modulating the packaged base station control command and the power supply voltage and sending the modulated base station control command and the power supply voltage to the equipment to be tested; the system is also used for demodulating the feedback signal of the equipment to be detected to obtain various decomposed signals, and sending the various decomposed signals to corresponding detection equipment for detection;
and the detection module is used for sending the detection result to the test module.
As a further improvement of an embodiment of the present invention, the test case includes a basic test case and a common test case, and the test module is further configured to:
and when a certain implementation mode of the AISG protocol accords with a preset rule, selecting a basic test case and a public test case for testing.
As a further improvement of an embodiment of the present invention, the basic test case is a test case that can satisfy all implementation manners of the AISG protocol;
the public test case is a test case which can meet the realization mode of AISG protocol according with the preset rule except the basic test exception.
As a further improvement of an embodiment of the present invention, the test case further includes a plurality of sets of personalized test cases, and the test module is further configured to:
and when the AISG protocol implementation mode of the equipment to be tested does not accord with the preset rule, selecting the basic test case and the corresponding personalized test case for testing.
As a further improvement of an embodiment of the present invention, the modem module is further configured to:
and providing corresponding rated voltage for different types of equipment to be tested, modulating the rated voltage and the encapsulated base station control command to obtain a modulated signal, and sending the signal to the equipment to be tested.
As a further improvement of an embodiment of the present invention, the modem module is further configured to:
providing corresponding limit voltages for different types of equipment to be tested, modulating the limit voltages and the encapsulated base station control commands to obtain modulated signals, and sending the signals to the equipment to be tested.
As a further improvement of an embodiment of the present invention, the test module is further configured to:
and judging whether the equipment to be tested meets the test requirements of the corresponding implementation modes of the AISG protocol or not according to the detection result sent by the detection equipment.
As a further improvement of an embodiment of the present invention, the system further includes a temperature adjustment module, where the temperature adjustment module is configured to adjust an ambient temperature of the device under test.
As a further improvement of one embodiment of the invention, the detection module comprises an oscilloscope and an FSV signal analyzer.
As a further improvement of an embodiment of the present invention, the device under test includes a remote electrically tunable antenna, a tower top amplifier, and a remote antenna unit.
Compared with the prior art, the test system of the electric tilt antenna equipment can select the corresponding test scene to test the ALD equipment according to different realization modes of different operators for AISG protocols, and meets the test requirements of different operators. Furthermore, different implementation modes of the AISG protocol are combined to obtain a unified preset rule, so that ALD equipment manufacturers can provide unified versions for different operators corresponding to the implementation modes of the AISG protocol which accord with the preset rule, and the workload of the manufacturers is greatly simplified and reduced.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
Because different operators have different AISG protocol implementation modes, in order to meet the test requirements of different operators and reduce the workload of ALD equipment manufacturers, the invention provides the test system of the electric tilt antenna equipment, and the system can select corresponding test scenes (or test cases) to test the ALD equipment according to the different AISG protocol implementation modes of different operators, thereby meeting the test requirements of different operators.
As shown in fig. 1, the system includes a test module 10, an AISG adaptation module 20, a modem module 30, a detection module 40, and a device under test 50, where the AISG adaptation module 20 is connected to the test module 10 and the modem module 30, the modem module 30 is further connected to the detection module 40 and the device under test 50, and the detection device 40 is further connected to the test module 10.
Each module is described in detail below.
The test module 10 includes different test cases, and the test module 10 selects and executes a corresponding test case according to different implementation manners of the AISG protocol, and issues a base station control command corresponding to the test case to the AISG adaptation module. Because different operators have different implementations of the AISG protocol, the test module 10 determines a corresponding implementation according to a specific operator, so as to select and execute a test case corresponding to the implementation, and send a base station control command issued by the test case to the AISG adaptation module 20 for encapsulation.
The AISG adaptation module 20 is configured to perform AISG protocol packet encapsulation on the base station control command, and send the encapsulated base station control command to the modem module 30.
The modulation and demodulation module 30 is configured to modulate the encapsulated base station control command and the power supply voltage and send the modulated base station control command and the power supply voltage to the device under test 50; and is further configured to demodulate the feedback signal of the device under test 50 to obtain various decomposed signals, and send the various decomposed signals to the corresponding detection device 40 for detection. The power supply voltage is a power supply voltage provided for the device to be tested. The modem module 30 may be implemented by SBT (Smart Bias Tee).
And the detection module 40 is configured to send a detection result to the test module 10.
The test module 10 determines whether the device to be tested meets the test requirements of the corresponding implementation modes of the AISG protocol according to the detection result sent by the detection module 40. Specifically, the detection module 40 sends various signal data to the test device 10, and the test device 10 determines whether the received data is within a preset range, and if so, the test case passes execution. And if all the test cases are executed and passed, judging that the equipment to be tested accords with the corresponding implementation mode of the AISG protocol, namely meeting the test requirements of corresponding operators.
It should be noted that, because manufacturers need to test ALD devices supplied to different operators respectively, only one set of system is needed to meet the test requirements of multiple operators by using the test system of the present invention.
In order to enable ALD equipment manufacturers to provide unified versions for different operators, the present invention combines different implementation manners of the AISG protocol to obtain a unified preset rule, in a preferred embodiment, the test case of the test module 10 includes a basic test case and a common test case, and the test module 10 is further configured to select the basic test case and the common test case for testing when a certain implementation manner of the AISG protocol conforms to the preset rule.
Further, the basic test case is a test case that can satisfy all implementation manners of the AISG protocol. The public test case is a test case which can meet the realization mode of AISG protocol according with the preset rule except the basic test exception. Specifically, the basic test case may test the same parts of different implementations of the AISG protocol, and the common test case may be different parts of different implementations of the AISG protocol, but the different parts may be merged according to a preset rule.
For example, with respect to the implementation of the interrupt alarm, the AISG protocol specifies that the electrical tilt antenna apparatus should maintain the original angle setting, configuration information, calibration status, additional supplemental data and user data information when power is lost, and if the electrical tilt antenna apparatus loses the existing angle position when the power is restored, the alarm1 alarm should be reported.
The AISG protocol is realized by the operator A in the following way: if the electric tilt antenna equipment loses power supply during angle setting or calibration, the electric tilt antenna equipment does not report an alarm after the power supply is recovered, and also reports an alarm of alarm 1.
The AISG protocol is realized by the operator B in the following way: the electric tilt antenna equipment is required to lose power supply when setting an angle or calibrating, and the electric tilt antenna equipment must report an alarm1 alarm after the power supply is recovered.
The AISG protocol is realized by the C operator in the following mode: the electric tilt antenna equipment is required to lose power supply when being set with an angle or calibrated, and after the power supply is recovered, the electric tilt antenna equipment must report an alarm1 alarm and an alarm2 alarm, but the sequence is not required.
The AISG protocol is realized by the operator D in the following mode: the electric tilt antenna equipment is required to lose power supply when setting an angle or calibrating, after the power supply is recovered, the electric tilt antenna equipment must report an alarm1 alarm and an alarm2 alarm, and the electric tilt antenna equipment is required to report an alarm1 alarm first and then report an alarm2 alarm.
As can be seen from the above, the implementation manners of the interrupt alarms of the four operators are different, that is, the different implementation manners of the AISG protocol are different, so to meet the test requirements of the four operators at the same time, the implementation manners of the interrupt alarms are merged according to a preset rule, where the preset rule is a rule that can meet the test requirements of multiple operators at the same time, and in this example, the preset rule is as follows:
the four operators all implement the interrupt alarm in the following ways: when the electric tilt antenna equipment loses power supply during angle setting or calibration, the electric tilt antenna equipment must report an alarm1 alarm and an alarm2 alarm after the power supply is recovered, and the electric tilt antenna equipment is required to report an alarm1 alarm first and then report an alarm2 alarm. When the electric tilt antenna equipment realizes interruption alarm according to the preset rule, the electric tilt antenna equipment can use the same version to simultaneously meet the test requirements of the four operators, and the workload of manufacturers is greatly simplified and reduced.
It should be noted that not all implementations of the operator may meet the preset rule, for example, if there is an operator E, the implementation of the AISG protocol by the operator E is as follows: the electric tilt antenna equipment is required to lose power supply when setting an angle or calibrating, after the power supply is recovered, the electric tilt antenna equipment must report an alarm1 alarm and an alarm2 alarm, and the electric tilt antenna equipment is required to report an alarm2 alarm first and then report an alarm1 alarm. At this time, such an implementation cannot satisfy the preset rule.
Therefore, in another embodiment, the test case further includes a plurality of sets of personalized test cases, and the test module is further configured to: and when the AISG protocol implementation mode of the equipment to be tested does not accord with the preset rule, selecting the basic test case and the corresponding personalized test case for testing. The personalized test case is an implementation mode for testing AISG protocols which do not conform to preset rules.
In a specific embodiment, when the operators are A1 to An, the test module selects a basic test case and a common test case to test the ALD device, and when the operators are B1 to Bm, the test module selects the basic test case and a corresponding personalized test case to test.
It should be noted that the device under test of the present invention is an ALD device, and may include a plurality of different types of devices, such as a remote electrically tunable antenna RET, a tower mounted amplifier TMA, and a remote antenna unit RAE. But the required supply voltage is different for different types of devices, so in a preferred embodiment the modem module is further adapted to:
and providing corresponding rated voltage for different types of equipment to be tested, modulating the rated voltage and the encapsulated base station control command to obtain a modulated signal, and sending the signal to the equipment to be tested.
In addition, in order to test the stability of the device under test, in another preferred embodiment, the modem module is further configured to: providing corresponding limit voltages for different types of equipment to be tested, modulating the limit voltages and the encapsulated base station control commands to obtain modulated signals, and sending the signals to the equipment to be tested. For example, for some types of ALD equipment, the nominal voltage is 24V, but the fluctuation range is-10% to 7% of the nominal value, thus providing the equipment with-10% or 7% of the nominal value for testing the stability of the equipment.
Since ALD equipment may be located in different regions with different temperatures, in order to simulate the actual ambient temperature of ALD equipment, in a preferred embodiment, the test system further includes a temperature adjustment module 60 for adjusting the ambient temperature of the equipment under test. Specifically, the temperature regulation module can be a temperature control box, the equipment to be measured is arranged in the temperature control box, the temperature in the temperature control box is regulated, the environment temperature of the equipment to be measured can be changed, and the actual environment temperature of the equipment to be measured is simulated.
After receiving the base station control command sent by the modulation and demodulation module, the device to be tested sends the feedback signal to the modulation and demodulation module, and the modulation and demodulation module extracts the feedback signal and sends the feedback signal to the detection module. In a specific embodiment, the detection module includes an oscilloscope and an FSV signal analyzer, the oscilloscope is used for detecting a current signal, a voltage signal, a power signal, a data stream bit rate, a duty ratio, a response time and a protocol analysis which are fed back by the device under test, the FSV signal analyzer is used for detecting an AISG signal, and the AISG signal is an OOK (ON-OFF key) signal and is used for controlling ALD.
It should be noted that the test system of the present invention further includes a power module 70, and the design of the power module is prior art, which is not described in detail herein.
As shown in fig. 2, in a specific embodiment, the test module 10 is disposed in a PC, the PC is connected to the AISG adapter module 20, the AISG adapter module 20 is connected to the modem module 30 formed by an SBT, and the test module 10, the AISG adapter module 20 and the modem module 30 cooperate together to simulate the operating environment of the actual base station of different operators and test the device under test 50. The SBT can provide corresponding rated voltages and limit voltages for different types of devices to be tested, and can also extract feedback signals of the devices to be tested and send the feedback signals to the detection module 40, the detection module 40 includes an oscilloscope and an FSV signal analyzer, the detection module 40 is configured to detect numerical information of various feedback signals to obtain detection results and send the detection results to the test module 10, and the test module 10 determines the execution conditions of the test cases according to the detection results.
It should be understood that although the present description refers to embodiments, not every embodiment contains only a single technical solution, and such description is for clarity only, and those skilled in the art should make the description as a whole, and the technical solutions in the embodiments can also be combined appropriately to form other embodiments understood by those skilled in the art.
The above-listed detailed description is only a specific description of a possible embodiment of the present invention, and they are not intended to limit the scope of the present invention, and equivalent embodiments or modifications made without departing from the technical spirit of the present invention should be included in the scope of the present invention.