Station opening method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for opening a station, an electronic device, and a storage medium.
Background
After the communication equipment is installed at an engineering station, engineering personnel needs to carry out a series of field debugging firstly to enable the communication equipment to meet the station opening condition, and then the engineering personnel needs to carry out certain parameter configuration on the communication equipment according to the station opening requirement of the equipment so as to achieve the expected output effect and complete the station opening.
In the existing station opening process, the station opening procedures are complex, and each station opening procedure needs to be completed manually by engineering personnel, so that not only is more labor cost consumed, but also higher station opening failure risks are accompanied. Among them, with the rapid development of the mobile communication market, the communication technology is widely applied to public safety products, and because of the product characteristics of the public safety products and the environmental restrictions of the application field, the requirements are relatively high, and even the communication equipment is not allowed to fail to open the station when the station is opened.
Therefore, how to ensure the success rate of opening the station and reduce the labor cost is a problem worthy of research.
Disclosure of Invention
The invention discloses a station opening method, a station opening device, electronic equipment and a storage medium, and aims to solve the technical problems that in the prior art, when a station is opened manually, the labor cost is consumed and the success rate of the station opening cannot be guaranteed.
In order to overcome the technical problem, according to an aspect of the present invention, there is provided a station opening method applied to the public safety field, the method including:
aiming at a link formed by any two communication devices with connection relation in a system to be opened, acquiring a first power value of a first test signal output by a first communication device in the link and a corresponding second power value when a second communication device in the link receives the first test signal;
calculating and obtaining the isolation degree of the link according to the first power value, the second power value and a preset value of link gain preset for the link;
judging whether the isolation degree reaches a preset standard threshold value or not;
if so, determining that the first communication equipment and the second communication equipment meet the station opening condition;
and when each communication device in the system to be opened meets the opening condition, determining that the system to be opened meets the opening condition, and reminding engineering personnel to open the station.
Specifically, before the obtaining a first power value of a first test signal output by a first communication device in a link formed by any two communication devices having a connection relationship in a system to be opened, and a second power value corresponding to a second communication device receiving the first test signal in the link, the method further includes:
sending an instruction for reporting self state information to each communication device in the system to be opened, and receiving the state information reported by each communication device, wherein the state information at least comprises channel information of the communication device and frequency band information corresponding to each channel;
and establishing a connection relation between corresponding channels of the communication equipment using the same frequency band according to the channel information and the frequency band information reported by each communication equipment.
Specifically, the status information further includes identification information of the communication device, and if the isolation does not reach a preset standard threshold, the method further includes:
and generating first prompt information of failure of isolation detection, wherein the first prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check the first communication device and the second communication device.
Specifically, before determining that the first communication device and the second communication device satisfy the open station condition, the method further includes:
controlling the second communication device to output a second test signal;
acquiring a third power value corresponding to the second test signal received by the first communication device;
judging whether the third power value is within a tolerance range corresponding to a preset target power value for the second test signal;
if so, the subsequent steps are performed.
Specifically, if the third power value is not within the tolerance range corresponding to the preset target power value for the second test signal, the method further includes:
determining a deviation value of the third power value and the target power value, and judging whether the deviation value is within a preset compensation range of compensation gain for the link;
and if so, adjusting the compensation gain of the link according to the absolute value of the deviation value.
Specifically, if the deviation value is not within a preset compensation range of the compensation gain for the link, the method further includes:
and generating second prompt information of failed link gain calibration, wherein the second prompt information carries the first identifier of the first communication device and the second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device.
Specifically, the adjusting the compensation gain of the link according to the absolute value of the deviation value includes:
when the third power value is smaller than the target power value, adjusting the compensation gain of the link up to the absolute value of the deviation value; and when the third power value is larger than the target power value, adjusting the compensation gain of the link down by the absolute value of the deviation value.
Specifically, after the adjusting the compensation gain of the link according to the absolute value of the deviation value, the method further includes:
a: controlling the second communication device to resend the second test signal for the adjusted link;
b: acquiring a fourth power value corresponding to the second test signal received by the first communication device;
c: judging whether the fourth power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, performing D; if not, performing E;
d: determining that the first communication equipment and the second communication equipment meet an open station condition;
e: updating the failure times of the link gain calibration on the link, and judging whether the failure times reach the preset calibration times; if so, performing F; if not, G is carried out;
f: generating third prompt information of failed link gain calibration, wherein the third prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device;
g: and continuously adjusting the compensation gain of the link according to the absolute value of the deviation value of the fourth power value and the target power value, and returning to the step A.
According to another aspect of the present invention, there is also provided a station opening apparatus applied to the public safety field, the apparatus including:
the system comprises an acquisition module, a power control module and a power control module, wherein the acquisition module is used for acquiring a first power value of a first test signal output by first communication equipment in a link and a second power value corresponding to the first test signal received by second communication equipment in the link aiming at the link formed by any two communication equipment with connection relation in a system to be opened;
the calculation module is used for calculating and acquiring the isolation degree of the link according to the first power value, the second power value and a preset value of link gain preset for the link;
the first judgment module is used for judging whether the isolation degree reaches a preset standard threshold value or not;
a determining module, configured to determine that the first communication device and the second communication device meet an open station condition if a determination result of the first determining module is yes;
and the station opening module is used for determining that the system to be opened meets the station opening condition when each communication device in the system to be opened meets the station opening condition, and reminding engineers of opening the station.
Specifically, the apparatus further comprises:
the system comprises an establishing module, a sending module and a receiving module, wherein the establishing module is used for sending a command of reporting self state information to each communication device in the system to be started before a first power value of a first test signal output by a first communication device in a link and a second power value corresponding to the first test signal received by a second communication device in the link are obtained aiming at the link formed by any two communication devices with connection relation in the system to be started; receiving state information reported by each communication device, wherein the state information at least comprises channel information of the communication device and frequency band information corresponding to each channel; and establishing a connection relation between corresponding channels of the communication equipment using the same frequency band according to the channel information and the frequency band information reported by each communication equipment.
Specifically, the status information further includes identification information of the communication device, and the apparatus further includes:
and the prompt module is used for generating first prompt information of failure of isolation detection if the isolation does not reach a preset standard threshold, wherein the first prompt information carries a first identifier of the first communication equipment and a second identifier of the second communication equipment, so that engineering personnel can check the first communication equipment and the second communication equipment.
Specifically, the apparatus further comprises:
the second judging module is used for controlling the second communication equipment to output a second test signal before the first communication equipment and the second communication equipment are determined to meet the station opening condition if the isolation degree reaches a preset standard threshold; acquiring a third power value corresponding to the second test signal received by the first communication device; judging whether the third power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, the determination module is triggered.
Specifically, the apparatus further comprises:
a first adjusting module, configured to determine a deviation value between the third power value and the target power value if the third power value is not within a tolerance range corresponding to a target power value preset for the second test signal, and determine whether the deviation value is within a compensation range preset for a compensation gain of the link; and if so, adjusting the compensation gain of the link according to the deviation value.
Specifically, the first adjusting module is further configured to generate second prompt information indicating that the link gain calibration fails if the offset value is not within a compensation range preset for the compensation gain of the link, where the second prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that an engineer checks a link formed by the first communication device and the second communication device.
Specifically, the first adjusting module is specifically configured to, when the third power value is smaller than the target power value, adjust the compensation gain of the link up to the absolute value of the offset value; and when the third power value is larger than the target power value, adjusting the compensation gain of the link down by the absolute value of the deviation value.
Specifically, the apparatus further comprises:
a second adjustment module to A: controlling the second communication device to resend the second test signal for the adjusted link; b: acquiring a fourth power value corresponding to the second test signal received by the first communication device; c: judging whether the fourth power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, performing D; if not, performing E; d: determining that the first communication equipment and the second communication equipment meet an open station condition; e: updating the failure times of the link gain calibration on the link; judging whether the failure times reach preset calibration times or not; if so, performing F; if not, G is carried out; f: generating third prompt information of failed link gain calibration, wherein the third prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device; g: and continuously adjusting the compensation gain of the link according to the absolute value of the deviation value of the fourth power value and the target power value, and returning to the step A.
According to another aspect of the present invention, there is also provided an electronic apparatus, including: comprising a memory and a processor;
the processor is used for reading the program in the memory and executing the steps in the station opening method.
According to another aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program executable by an electronic device, the program causing the electronic device to perform the steps of the above-mentioned opening method when the program runs on the electronic device.
The invention has the following beneficial effects:
the invention provides a station opening method, a station opening device, electronic equipment and a storage medium, wherein the method comprises the following steps: aiming at a link formed by any two communication devices with connection relation in a system to be opened, acquiring a first power value of a first test signal output by a first communication device in the link and a corresponding second power value when a second communication device in the link receives the first test signal; calculating and obtaining the isolation degree of the link according to the first power value, the second power value and a preset value of link gain preset for the link; judging whether the isolation degree reaches a preset standard threshold value or not; if so, determining that the first communication equipment and the second communication equipment meet the station opening condition; and when each communication device in the system to be opened meets the opening condition, determining that the system to be opened meets the opening condition, and reminding engineering personnel to open the station. In the invention, aiming at a link formed by any two communication devices with a connection relation in a system to be opened, the control end device can calculate and obtain the isolation degree of the link according to a first test signal output by the first communication device in the link, and realize hardware detection on the first communication device and the second communication device by judging whether the calculated and obtained isolation degree reaches a preset standard threshold value. Therefore, when the station opening method provided by the invention is used for carrying out station opening, the intelligent detection on the isolation degree of each communication device in the system to be opened can be realized, the labor cost can be reduced, the detection result error caused by negligence of engineering personnel can be avoided, and the success rate of the station opening is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a station opening method according to a first embodiment of the present invention;
fig. 2 is a software flowchart corresponding to the station opening method provided in the sixth embodiment of the present invention;
fig. 3 is a block diagram of a station opening apparatus provided in a seventh embodiment of the present invention;
fig. 4 is an electronic device provided in the eighth embodiment of 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 first embodiment is as follows:
in the existing opening process, particularly in the field of public safety, the opening process is complex, and each opening process needs to be completed manually by engineering personnel, so that more labor cost can be consumed, and in addition, due to different professional qualities of each engineering personnel, the testing or configuration of communication equipment in a system to be opened is unsuccessful due to insufficient or neglected professional qualities of the engineering personnel, so that the failure of opening is caused.
Therefore, to overcome the above technical problem, an embodiment of the present invention provides a method for opening a station, as shown in fig. 1, the method comprising the steps of:
step S101, aiming at a link formed by any two communication devices with connection relation in a system to be opened, a first power value of a first test signal output by a first communication device in the link and a second power value corresponding to the second communication device in the link when receiving the first test signal are obtained.
And step S102, calculating and obtaining the isolation of the link according to the first power value, the second power value and a preset value of link gain preset for the link.
The isolation detection process may be implemented based on an uplink or a downlink, and since there may be interference to upstream devices such as a base station when the isolation is detected based on the uplink, it is suggested that the isolation detection process is implemented by the downlink.
Therefore, in the embodiment of the present invention, a downlink is taken as an example to describe a process of performing isolation detection, where when in the downlink, the first communication device and the second communication device are respectively an output and an input in the downlink, and the process of performing isolation specifically is as follows:
the control end device notifies the first communication device to send a first test signal, in a downlink, the first communication device may be a downlink end device, and if the downlink end device is a slave station device, after the downlink end device receives the notification sent by the control end device, the power amplifier module of the control end device may turn on the test signal Pout. In order to ensure that the test signal Pout is normal, the control-end device may periodically obtain the signal state of the test signal Pout. After confirming that the test signal Pout signal is normal, the control end device notifies the second communication device to receive the first test signal, in a downlink, the second communication device may be a downlink input device, and if the downlink input device is a master device, after the downlink input device receives the notification sent by the control end device, the downlink input device may enable its own access module to start power detection, so as to obtain a corresponding power detection value Pin when receiving the test signal Pout.
The isolation of one link directly affects the distribution of the link gain of the link, and when the isolation of the link is calculated, the link gain of the link needs to be acquired, so the control end device automatically acquires the preset value Gx of the link gain preset for the downlink, and calculates and acquires the isolation of the link according to the formula isolation ISO ═ Pin-Pout + Gx.
In the embodiment of the present invention, the preset value Gx of the link gain is a parameter for calculating the isolation of the link, and therefore, the preset value Gx of the link gain may be an empirical value or a target value preset by an engineer, or may be an actual link gain value of the downlink.
Step S103, judging whether the isolation degree reaches a preset standard threshold value; if yes, step S104 is performed, and if no, step S105 is performed.
According to the definition of the isolation, the isolation refers to the total loss from the interfering transmitter to the interfered receiver, and specifically includes effective antenna gain, propagation loss, feeder loss of the transmitter and the receiver, and filtering performance of the transmitter/receiver, etc., so the isolation can be used as an important index for measuring whether signal leakage exists between a transmitter port of one communication device and a receiver port of another communication device, and whether the isolation reaches a preset standard threshold is judged, so as to detect whether the communication device in the link can meet the requirement of opening the station on hardware.
And step S104, determining that the first communication equipment and the second communication equipment meet the station opening condition.
That is, if the isolation meets the standard threshold, it indicates that the isolation of each port in the link is good, and the mutual leakage of signals is little, so that it can be preliminarily confirmed that the first communication device and the second communication device in the link meet the open station condition.
And step S105, generating first prompt information of the isolation detection failure.
The first prompt message carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check the first communication device and the second communication device.
That is to say, if the isolation does not satisfy the standard threshold, it indicates that the isolation of each port in the link is not good, the signal leakage situation is severe, and the signal leakage may be caused because the cable or the connector connection is loose, or because the installation position and the opposite angle of the antenna on the transmitter/receiver are related, when the isolation does not satisfy the standard threshold, the control end device may automatically generate the prompt information, where the prompt information carries the identification information of the corresponding communication device, so that the engineer may perform the investigation on the corresponding communication device according to the prompt information.
Since there may be a plurality of communication devices in the system to be opened, the above process can be adopted to detect the isolation of the ports of the communication devices having a connection relationship in the system to be opened, for the link formed by any two communication devices having a connection relationship in the system to be opened. When the isolation between the ports of any two communication devices having a connection relationship in the system to be opened meets the standard threshold, it is indicated that the isolation of each port is good, that is, each communication device meets the requirement for opening the station on hardware, and then the control-end device reminds engineers of preparing to open the station, that is, the following step S106.
And S106, when each communication device in the system to be opened meets the opening condition, determining that the system to be opened meets the opening condition, and reminding engineers of opening the station.
Therefore, when the station is opened by the station opening method provided by the embodiment of the invention, the control end equipment can intelligently detect the isolation between the link ports, and in the actual operation, the engineering personnel only need to execute simple operation on the control end equipment, so that the labor cost is saved, the requirement on the professional quality of the engineering personnel is reduced, the influence of human factors is reduced, the detection result error caused by negligence during the manual investigation of the engineering personnel is avoided, and the success rate of the station opening is greatly improved.
In addition, when the control end equipment detects that the isolation degree between ports on the link does not meet the standard threshold, prompt information can be automatically generated, so that the station opening method provided by the embodiment of the invention can also realize automatic error reporting, is convenient for engineers to perform corresponding troubleshooting, and greatly improves the station opening efficiency.
It should be noted that, in the embodiment of the present invention, it is not specifically limited that the first communication device and the second communication device are the master station or the slave station, and the module that transmits the first test signal in the first communication device and the module that transmits the second test signal in the second communication device are also not specifically limited.
Example two:
as can be seen from the foregoing embodiment, when the isolation does not satisfy the standard threshold, first prompt information indicating that the isolation detection fails is generated, where the first prompt information carries the first identifier of the first communication device and the second identifier of the second communication device. Therefore, the control end device needs to store the identification information of each communication device in the station waiting system and the connection relationship between each communication device in advance.
Therefore, on the basis of the above embodiment, in an embodiment of the present invention, before the obtaining, for a link formed by any two communication devices having a connection relationship in a system to be opened, a first power value of a test signal output by a first communication device in the link, and a second power value of the test signal received by a second communication device in the link, the method further includes:
sending an instruction for reporting self state information to each communication device in the system to be opened, and receiving the state information reported by each communication device, wherein the state information at least comprises channel information of the communication device and frequency band information corresponding to each channel;
and establishing a connection relation between corresponding channels of the communication equipment using the same frequency band according to the channel information and the frequency band information reported by each communication equipment.
Specifically, after receiving the command sent by the control end device, each communication device will automatically report its own channel information and frequency band information corresponding to each channel. If the number of channels corresponding to the device a is 2 channels, where the frequency band used by the 1 channel is 800Mhz, the frequency band used by the 2 channel is 700Mhz, and the number of channels corresponding to the device B is 4 channels, where the frequency band used by the 1 channel is 800Mhz, the frequency band used by the 2 channel is 600Mhz, the frequency band used by the 3 channel is 500Mhz, and the frequency band used by the 4 channel is 400 Mhz. Then, after receiving the channel information sent by the device a and the device B and the frequency band information corresponding to each channel, the control end device will automatically establish a connection relationship between the channel 1 of the device a and the channel 1 of the device B. The above-mentioned process of establishing a connection relationship between the device a and the device B is described in order to illustrate an embodiment listed for establishing a connection between communication devices, and it should be noted that, in the embodiment of the present invention, the number of communication devices in the station waiting system and the channel and frequency band used by each communication device are not specifically limited.
In the prior art, engineering personnel need to comb complex cables manually, a medium-large system basically needs one day, if errors occur, the troubleshooting time is longer, and in addition, the permission given by operators is different, so that the troubleshooting is more troublesome on site. Therefore, compared with the prior art, in the embodiment of the invention, the control end device can automatically establish the topological relation among the communication devices according to the channel information reported by each communication device in the station waiting starting system and the frequency band information corresponding to each channel, so that an engineer can conveniently identify whether each communication device is constructed according to the drawing provided by an operator according to the topological relation, the investigation time is greatly shortened, and the aim of quickly starting the station is fulfilled.
It should be noted that the status information reported by each communication device may further include SN information and device type information of each communication device. Because the control end device can automatically establish the topological relation among the communication devices, the control end device can automatically identify whether each communication device is a master station or a slave station according to the topological relation and the device type of each communication device, so the control end device can allocate the stations for each communication device, and establish the corresponding relation between the SN information of each communication device and the stations, so as to ensure that each communication device in the system to be started is in a monitorable state.
It should be further noted that the status information reported by each communication device may further include gain allocation information of each communication device, and since the gain allocation information of each communication device is specific to a certain communication device, an engineer may set the gain of each communication device according to the gain allocation information of each communication device. It should be noted that when the engineer sets the gain of each communication device, the engineer needs to ensure that the gain of each communication device is within the range of the gain that can be achieved.
Example three:
by detecting the link isolation, it can only be ensured that the communication device reaches the open station condition on hardware, and in practical application, the coverage area of each communication device needs to be considered, so that it is also necessary to determine whether the link gain of each communication device can meet the requirement of the coverage area.
Therefore, on the basis of the above embodiment, in the embodiment of the present invention, before determining that the first communication device and the second communication device satisfy the open station condition if the isolation degree reaches the preset standard threshold, the method further includes:
controlling the second communication device to output a second test signal;
acquiring a third power value of the first communication device for receiving the second test signal;
judging whether the third power value is within a tolerance range corresponding to a preset target power value for the second test signal;
if so, the subsequent steps are performed.
In the embodiment of the present invention, the downlink is still taken as an example to describe the process of performing the link gain detection, which specifically includes the following steps:
the control end device informs the second communication device to send a second test signal, in a downlink, the second communication device may be a downlink front end device, if the downlink front end device is a master device, after receiving the notification sent by the control end device, the downlink front end device may enable its own information source module to start information source output, and output the second test signal, and at this time, when the information source module outputs the second test signal, it may select a corresponding frequency band according to the frequency band information used by itself and reported by the device to output. In order to ensure that the second test signal is normal, the control end device may also acquire the signal state of the second test signal at intervals. After confirming that the second test signal is normal, the control end device notifies the first communication device, in a downlink, the first communication device may be a downlink end device, and if the downlink end device is a slave station device, after the downlink end device receives the notification sent by the control end device, the power amplification module of the downlink end device can start power detection to obtain a corresponding power detection value when the downlink end device obtains the second test signal.
Specifically, if the power of the second test signal output by the signal source module on the downlink front-end device is-20 db, the power corresponding to the second test signal when the power amplifier module on the downlink end-device receives the second test signal is 45db, and the tolerance range of the target power value set for the power of the second test signal is 45 ± 0.5db, it indicates that the link gain of the link can meet the output requirement of the control-end device, that is, the coverage range of the communication device can also meet the coverage requirement. It should be noted that, in the embodiment of the present invention, the power of the second test signal, the tolerance range of the target power value set for the power of the second test signal, and the compensation range of the compensation gain setting in the link gain calibration process are not specifically limited.
Therefore, according to the above description, the control end device can automatically detect the isolation of each port in each link, and can also intelligently detect the link gain, so as to ensure that the coverage range of each communication device can meet the coverage requirement. Compared with the prior art, the method has the advantages that the engineering personnel only need to perform simple operation on the control end equipment without on-site detection, so that the labor cost is saved, meanwhile, the influence of human factors can be reduced, the detection result is prevented from being mistaken due to negligence when the engineering personnel manually check, and the success rate of opening the station is greatly improved.
Example four:
still taking the downlink illustrated in the above embodiment as an example, if the power of the second test signal output by the source module on the downlink front-end device is-20 db, the power corresponding to the second test signal when the power amplifier module on the downlink end device receives the second test signal is 43db, and the tolerance range of the target power value set for the power of the second test signal is 45 ± 0.5db, then the link gain of the link at this time cannot meet the output requirement of the control-end device. Therefore, when the link gain is detected, the third power value acquired by the control end device is not necessarily within the tolerance range corresponding to the preset target power value for the second test signal.
Therefore, on the basis of the foregoing embodiment, in an embodiment of the present invention, if the third power value is not within a tolerance range corresponding to a target power value preset for the second test signal, the method further includes:
determining a deviation value of the third power value and the target power value, and judging whether the deviation value is within a preset compensation range of compensation gain for the link;
and if so, adjusting the compensation gain of the link according to the absolute value of the deviation value.
In practical application, for each link, a certain reserved gain may be obtained from a signal source (which may be a signal source module on the downlink front-end device) to a detection point (which may be a power amplifier module on the downlink end-point device), that is, the compensation gain in the embodiment of the present invention, and the compensation gain may be specially used for calibrating the link gain, so when a third power value obtained by the control-end device is not within a tolerance range corresponding to a target power value preset for the second test signal, automatic calibration may be performed based on the compensation gain on each link, so that the coverage range of the to-be-opened system can meet the coverage requirement.
However, since the compensation range of the compensation gain for each link can be set by the manufacturer of the communication device in a user-defined manner, when the gain of the link is adjusted, it is necessary to determine whether the offset value is within the compensation range of the compensation gain set by the manufacturer, and when the condition is satisfied, the compensation gain of the link is automatically calibrated.
Specifically, the adjusting the compensation gain of the link according to the absolute value of the deviation value includes:
when the third power value is smaller than the target power value, adjusting the compensation gain of the link up to the absolute value of the deviation value; and when the third power value is larger than the target power value, adjusting the compensation gain of the link down by the absolute value of the deviation value.
Still taking the above exemplary downlink as an example, the process of link gain calibration is specifically described as follows:
suppose the power of the second test signal output by the source module at the downstream front end equipment is-20 db, wherein the tolerance range of the target power value set for the power of the second test signal is 45 ± 0.5db, and the compensation range of the compensation gain setting for the link is the target link gain ± 5 db.
If the power corresponding to the power amplifier module on the downstream end device when receiving the second test signal is 43db and is not within the preset tolerance range of 45 ± 0.5db, it indicates that the current actual link gain of the link does not reach the target link gain, and since the deviation value of 43db and 45db is-2 db and is within the preset range of ± 5db, the control end device will use the absolute value of the deviation value-2 db, that is, 2db as the adjustment value, and since 43db is smaller than 45db, in order to ensure that the adjusted link can reach the target link gain, the control end device will adjust the compensation gain of the link by 2 db.
If the power corresponding to the power amplifier module on the downlink end device receiving the second test signal is 47db and is not within the preset tolerance range of 45 ± 0.5db, it indicates that the current actual link gain of the link does not reach the target link gain, since the deviation value of 47db and 45db is 2db and is within the preset range of ± 5db, the control end device will use the absolute value of the deviation value of 2db, that is, 2db as an adjustment value, and since 47db is greater than 45db, in order to ensure that the adjusted link can reach the target link gain, the control end device will adjust the compensation gain of the link by 2 db.
However, if the power amplifier module at the downstream end device receives the second test signal with a power of 38db, which is not within a preset tolerance range of 45 ± 0.5db, and the deviation of 38db from 45db is-7 db, which is not within a preset range of ± 5db, it indicates that it is impossible to achieve the target link gain for the actual gain of the link regardless of the adjustment, and therefore if the deviation is not within a preset compensation range for the compensation gain, the method further comprises:
and generating second prompt information of failed link gain calibration, wherein the second prompt information carries the first identifier of the first communication device and the second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device.
That is to say, when the third power value detected by the control end device is not within the tolerance range corresponding to the target power value preset for the second test signal, and the deviation value between the third power value and the target power value is not within the compensation range preset for the compensation gain, the control end device may automatically generate the prompt information indicating that the link gain calibration of the current link fails, and since the prompt information carries the identification information of the corresponding communication device, an engineer may determine the corresponding link according to the prompt information and perform a check on the link.
As can be seen from the above, when the station opening method provided by the embodiment of the present invention is used for performing station opening, the control end device may also perform intelligent detection on the link gain, and when the control end device detects that the link gain does not satisfy the standard threshold, the control end device may also perform automatic adjustment on the link gain to eliminate the influence of a specific cable or joint on the link gain, so that the coverage range of each communication device can satisfy the coverage requirement. In actual operation, engineering personnel only need to execute simple operation on the control end equipment, so that the purposes of saving labor cost and improving the success rate of station opening can be achieved.
In addition, when the control end equipment detects that the link gain cannot reach the target link gain, prompt information can be automatically generated, so that automatic error reporting can be realized, corresponding troubleshooting can be conveniently carried out by engineering personnel, and the station opening efficiency is greatly improved.
It should be noted that the above link gain detection process is relatively independent, and if the system to be opened is not the first time to open the station, the process may be optionally skipped when the isolation degree of the system to be opened meets the standard threshold, that is, when the hardware of the device is determined not to be changed. It is understood that the flow may be selected by an engineer according to a requirement, and is not particularly limited in the embodiment of the present invention.
Example five:
as can be seen from the foregoing embodiment, when the power of the second test signal received by the downstream end device is 43db, the control end device automatically adjusts the compensation gain of the link up by 2db, so as to check whether the adjusted link can reach the tolerance range of the target power value of 45 ± 0.5db when the power of the second test signal output by the downstream front end device is-20 db, so that on the basis of the foregoing embodiment, in the embodiment of the present invention, after the compensation gain of the link is adjusted according to the deviation value, the method further includes:
a: controlling the second communication device to resend the second test signal for the adjusted link;
b: acquiring a fourth power value corresponding to the second test signal received by the first communication device;
c: judging whether the fourth power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, performing D; if not, performing E;
d: determining that the first communication equipment and the second communication equipment meet an open station condition;
e: updating the failure times of the link gain calibration on the link, and judging whether the failure times reach the preset calibration times; if so, performing F; if not, G is carried out;
f: generating third prompt information of failed link gain calibration, wherein the third prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device;
g: and continuously adjusting the compensation gain of the link according to the absolute value of the deviation value of the fourth power value and the target power value, and returning to the step A.
That is to say, for the adjusted link, the detection process of the link gain is restarted, and if it is detected that the power value corresponding to the second communication device receiving the second test signal again can reach the tolerance range corresponding to the target power value, it indicates that the link gain of the link can reach the output requirement of the control-end device, and then the coverage range of the communication device can meet the coverage requirement.
However, if it is detected that the power value when the second communication device receives the second test signal again still cannot reach the tolerance range corresponding to the target power value, it indicates that the link gain calibration of this time fails, and at this time, the control end device may restart the above-mentioned link gain detection and calibration process again, and update the failure times of the link gain calibration. If the failure times do not reach the preset calibration times, if the link gain calibration fails, the link gain detection and calibration process is circulated, and if the failure times reach the preset calibration times, it is indicated that the link cannot reach the target power value through the automatic calibration of the control end equipment, so that the control end equipment can automatically generate prompt information of the link gain calibration failure of the current link. After the engineering personnel carry out the investigation, the manual calibration can be carried out based on the investigation condition.
Therefore, the station starting method provided by the embodiment of the invention can realize automatic calibration of the link which cannot achieve the target gain, greatly shorten the station starting time and improve the station starting efficiency.
Example six:
when the station opening method based on the above embodiment is used for opening a station, if the station opening method is applied to a terminal device, specifically, when the terminal device may be a handheld instrument or a PC WEB, a specific software flow on the terminal device is as shown in fig. 2, that is:
firstly, an engineer starts a station on a control terminal device, and performs a station starting guide, that is, the engineer operates a starting interface on a screen of a terminal device to inform other modules of performing station starting coordination, such as stopping downloading, reporting and other task modules, so as to reduce inter-task interference.
Then, the terminal device sends an instruction to each communication device in the system to be opened based on the operation of the engineering personnel, so that the system to be opened performs a device scanning state, that is, each communication device reports its own state, that is, a peripheral configuration, such as a radio frequency access state, an optical module or an optical fiber in-place state, etc., of course, SN information, device type information, etc., of each communication device, wherein the topology information of the system to be opened can be acquired by the terminal device automatically combing the corresponding relationship between channels and frequency bands, and accordingly, site allocation is performed, and finally, the available sites and/or channels are extracted through states of an authorization state, a radio frequency switch, etc., and subsequent isolation detection and link gain calibration are performed. After the terminal equipment acquires the topology information of the system to be opened, the topology information can be automatically displayed on a terminal screen, and whether each communication equipment is constructed according to the drawing provided by an operator is confirmed by engineering personnel, so that the investigation time is greatly shortened.
After the engineer confirms that the topology information of the system to be opened is correct, the terminal device reminds the engineer to set parameters on a current operation interface, namely selectively configuring communication device information, specifically including basic parameters such as system time and a region where the current communication device is located. After the parameter setting is completed, the terminal device may perform the isolation detection and the link gain calibration, and since the above embodiments have described the isolation detection and the link gain calibration in detail, the details are not repeated herein.
Finally, when both the isolation and the link gain can reach preset values, the terminal device can remind an engineer to perform corresponding station opening configuration according to the requirements of an operator, the link mainly sets the target power of each communication device (namely, a station) according to the requirements of the operator, and specifically includes setting the target power of a master station (namely, MU Setup) and setting the target power of slave stations (namely, RU Setup), so that the communication device can reach an expected coverage range, meet the station opening requirement, and complete station opening.
According to the station opening process, the man-machine interaction is executed in a guide mode, so that the operation of an engineer is relatively simple, the professional requirements on the engineer are reduced, and the error probability of manual operation is reduced. Because each link is linearly executed and the functions of each module are automatically completed, the influence of human factors can be reduced, and the success rate of opening the station is improved. In addition, each link has a function of friendly interface because of the operation prompt and the error prompt of response on the display interface of the terminal equipment, so that engineering personnel can conveniently perform corresponding judgment, the station opening time is greatly shortened, and the station opening efficiency is improved.
Example seven:
according to another aspect of the embodiments of the present invention, there is also provided a station opening apparatus applied to the public safety field, as shown in fig. 3, the apparatus including:
an obtaining module 301, configured to obtain, for a link formed by any two communication devices having a connection relationship in a system to be opened, a first power value of a first test signal output by a first communication device in the link, and a second power value corresponding to a second communication device in the link when receiving the first test signal;
a calculating module 302, configured to calculate and obtain an isolation of the link according to the first power value, the second power value, and a preset value of a link gain preset for the link;
a first judging module 303, configured to judge whether the isolation degree reaches a preset standard threshold;
a determining module 304, configured to determine that the first communication device and the second communication device meet an open condition if the determination result of the first determining module 303 is yes;
the station opening module 305 is configured to determine that the system to be opened meets the station opening condition when each communication device in the system to be opened meets the station opening condition, and remind an engineer to open the station.
Specifically, the apparatus further comprises:
an establishing module 306, configured to send an instruction for reporting state information of each communication device in the system to be booted before a first power value of a first test signal output by a first communication device in a link is acquired for the link formed by any two communication devices having a connection relationship in the system to be booted and a second power value corresponding to the first test signal when a second communication device in the link receives the first test signal; receiving state information reported by each communication device, wherein the state information at least comprises channel information of the communication device and frequency band information corresponding to each channel; and establishing a connection relation between corresponding channels of the communication equipment using the same frequency band according to the channel information and the frequency band information reported by each communication equipment.
Specifically, the status information further includes identification information of the communication device, and the apparatus further includes:
and a prompt module 307, configured to generate first prompt information indicating that the isolation detection fails if the isolation does not reach a preset standard threshold, where the first prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that an engineer checks the first communication device and the second communication device.
Specifically, the apparatus further comprises:
a second determining module 308, configured to control the second communication device to output a second test signal before determining that the first communication device and the second communication device meet the station opening condition if the isolation degree reaches a preset standard threshold; acquiring a third power value corresponding to the second test signal received by the first communication device; judging whether the third power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, the determination module is triggered.
Specifically, the apparatus further comprises:
a first adjusting module 309, configured to determine a deviation value between the third power value and the target power value if the third power value is not within a tolerance range corresponding to a target power value preset for the second test signal, and determine whether the deviation value is within a compensation range preset for a compensation gain of the link; and if so, adjusting the compensation gain of the link according to the deviation value.
Specifically, the first adjusting module 309 is further configured to generate second prompt information indicating that the link gain calibration fails if the offset value is not within a preset compensation range of the compensation gain for the link, where the second prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that an engineer checks a link formed by the first communication device and the second communication device.
Specifically, the first adjusting module 309 is specifically configured to, when the third power value is smaller than the target power value, adjust the compensation gain of the link up to the absolute value of the offset value; and when the third power value is larger than the target power value, adjusting the compensation gain of the link down by the absolute value of the deviation value.
Specifically, the apparatus further comprises:
a second adjustment module 310, configured to a: controlling the second communication device to resend the second test signal for the adjusted link; b: acquiring a fourth power value corresponding to the second test signal received by the first communication device; c: judging whether the fourth power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, performing D; if not, performing E; d: determining that the first communication equipment and the second communication equipment meet an open station condition; e: updating the failure times of the link gain calibration on the link; judging whether the failure times reach preset calibration times or not; if so, performing F; if not, G is carried out; f: generating third prompt information of failed link gain calibration, wherein the third prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device; g: and continuously adjusting the compensation gain of the link according to the absolute value of the deviation value of the fourth power value and the target power value, and returning to the step A.
Example eight:
according to another aspect of the embodiments of the present invention, there is also provided an electronic device, as shown in fig. 4, the electronic device 400 including: a processor 401 and a memory 402;
the processor 401 is configured to execute the program in the read memory 402, and perform the following processes:
aiming at a link formed by any two communication devices with connection relation in a system to be opened, acquiring a first power value of a first test signal output by a first communication device in the link and a corresponding second power value when a second communication device in the link receives the first test signal;
calculating and obtaining the isolation degree of the link according to the first power value, the second power value and a preset value of link gain preset for the link;
judging whether the isolation degree reaches a preset standard threshold value or not;
if so, determining that the first communication equipment and the second communication equipment meet the station opening condition;
and when each communication device in the system to be opened meets the opening condition, determining that the system to be opened meets the opening condition, and reminding engineering personnel to open the station.
Specifically, the processor 401 is further configured to, for a link formed by any two communication devices having a connection relationship in a system to be opened, obtain a first power value of a first test signal output by a first communication device in the link, and send an instruction for reporting state information of each communication device in the system to be opened before a second power value corresponding to the second communication device in the link receives the first test signal, and receive the state information reported by each communication device, where the state information at least includes channel information of the communication device and frequency band information corresponding to each channel;
and establishing a connection relation between corresponding channels of the communication equipment using the same frequency band according to the channel information and the frequency band information reported by each communication equipment.
Specifically, the state information further includes identification information of the communication device, and the processor 401 is further configured to generate first prompt information indicating that the isolation detection fails if the isolation does not reach a preset standard threshold, where the first prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that an engineer checks the first communication device and the second communication device.
Specifically, the processor 401 is further configured to control the second communication device to output a second test signal before determining that the first communication device and the second communication device meet the station opening condition if the isolation degree reaches a preset standard threshold; acquiring a third power value corresponding to the second test signal received by the first communication device; judging whether the third power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, the subsequent steps are performed.
Specifically, the processor 401 is further configured to determine a deviation value between the third power value and the target power value if the third power value is not within a tolerance range corresponding to a target power value preset for the second test signal, and determine whether the deviation value is within a compensation range preset for a compensation gain of the link; and if so, adjusting the compensation gain of the link according to the absolute value of the deviation value.
Specifically, the processor 401 is further configured to generate second prompt information indicating that the link gain calibration fails if the offset value is not within a compensation range preset for the compensation gain of the link, where the second prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that an engineer checks a link formed by the first communication device and the second communication device.
Specifically, the processor 401 is specifically configured to, when the third power value is smaller than the target power value, adjust the compensation gain of the link up by the absolute value of the offset value; and when the third power value is larger than the target power value, adjusting the compensation gain of the link down by the absolute value of the deviation value.
Specifically, the processor 401 is further configured to, after adjusting the compensation gain of the link according to the absolute value of the deviation value, a: controlling the second communication device to resend the second test signal for the adjusted link; b: acquiring a fourth power value corresponding to the second test signal received by the first communication device; c: judging whether the fourth power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, performing D; if not, performing E; d: determining that the first communication equipment and the second communication equipment meet an open station condition; e: updating the failure times of the link gain calibration on the link, and judging whether the failure times reach the preset calibration times; if so, performing F; if not, G is carried out; f: generating third prompt information of failed link gain calibration, wherein the third prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device; g: and continuously adjusting the compensation gain of the link according to the absolute value of the deviation value of the fourth power value and the target power value, and returning to the step A.
In FIG. 4, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 401, and various circuits, represented by memory 402, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The processor 401 is responsible for managing the bus architecture and general processing, and the memory 402 may store data used by the processor 401 in performing operations.
Alternatively, the processor 401 may be a CPU (central processing unit), an ASIC (Application specific integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
Example nine:
according to another aspect of embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program executable by an electronic device, the program, when run on the electronic device, causing the electronic device to perform the steps of:
aiming at a link formed by any two communication devices with connection relation in a system to be opened, acquiring a first power value of a first test signal output by a first communication device in the link and a corresponding second power value when a second communication device in the link receives the first test signal;
calculating and obtaining the isolation degree of the link according to the first power value, the second power value and a preset value of link gain preset for the link;
judging whether the isolation degree reaches a preset standard threshold value or not;
if so, determining that the first communication equipment and the second communication equipment meet the station opening condition;
and when each communication device in the system to be opened meets the opening condition, determining that the system to be opened meets the opening condition, and reminding engineering personnel to open the station.
Specifically, before the obtaining a first power value of a first test signal output by a first communication device in a link formed by any two communication devices having a connection relationship in a system to be opened, and a second power value corresponding to a second communication device receiving the first test signal in the link, the method further includes:
sending an instruction for reporting self state information to each communication device in the system to be opened, and receiving the state information reported by each communication device, wherein the state information at least comprises channel information of the communication device and frequency band information corresponding to each channel;
and establishing a connection relation between corresponding channels of the communication equipment using the same frequency band according to the channel information and the frequency band information reported by each communication equipment.
Specifically, the status information further includes identification information of the communication device, and if the isolation does not reach a preset standard threshold, the method further includes:
and generating first prompt information of failure of isolation detection, wherein the first prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check the first communication device and the second communication device.
Specifically, before determining that the first communication device and the second communication device satisfy the open station condition, the method further includes:
controlling the second communication device to output a second test signal;
acquiring a third power value corresponding to the second test signal received by the first communication device;
judging whether the third power value is within a tolerance range corresponding to a preset target power value for the second test signal;
if so, the subsequent steps are performed.
Specifically, if the third power value is not within the tolerance range corresponding to the preset target power value for the second test signal, the method further includes:
determining a deviation value of the third power value and the target power value, and judging whether the deviation value is within a preset compensation range of compensation gain for the link;
and if so, adjusting the compensation gain of the link according to the absolute value of the deviation value.
Specifically, if the deviation value is not within a preset compensation range of the compensation gain for the link, the method further includes:
and generating second prompt information of failed link gain calibration, wherein the second prompt information carries the first identifier of the first communication device and the second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device.
Specifically, the adjusting the compensation gain of the link according to the absolute value of the deviation value includes:
when the third power value is smaller than the target power value, adjusting the compensation gain of the link up to the absolute value of the deviation value; and when the third power value is larger than the target power value, adjusting the compensation gain of the link down by the absolute value of the deviation value.
Specifically, after the adjusting the compensation gain of the link according to the absolute value of the deviation value, the method further includes:
a: controlling the second communication device to resend the second test signal for the adjusted link;
b: acquiring a fourth power value corresponding to the second test signal received by the first communication device;
c: judging whether the fourth power value is within a tolerance range corresponding to a preset target power value for the second test signal; if so, performing D; if not, performing E;
d: determining that the first communication equipment and the second communication equipment meet an open station condition;
e: updating the failure times of the link gain calibration on the link, and judging whether the failure times reach the preset calibration times; if so, performing F; if not, G is carried out;
f: generating third prompt information of failed link gain calibration, wherein the third prompt information carries a first identifier of the first communication device and a second identifier of the second communication device, so that engineering personnel can check a link formed by the first communication device and the second communication device;
g: and continuously adjusting the compensation gain of the link according to the absolute value of the deviation value of the fourth power value and the target power value, and returning to the step A.
The computer readable storage medium in the above embodiments may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs), etc.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.