A kind of method and system of realizing the monitoring of base station power status remote
[technical field]
The present invention relates to the method and system of the remote real time monitoring of Instrument working state information, relate in particular to a kind of method and system of realizing the remote real time monitoring of base station power state.
[background technology]
The real-time monitoring technique of Instrument working state has almost related to the every field of modern society.Along with the development of modern communications technology, PHS system (Personal Handy-phone system, individual convenient telephone system) constantly enlarges.Because its adopts ' Pico cell net ', so the quantity of system base-station is also very big, the maintenance workload that this has just increased.Therefore, the real-time monitoring technique to the base station operating state just seems important all the more.The correct judgement of base station operating state, especially power supply status plays a part very important to the operating efficiency that improves maintenance work, the normal operation that reduces maintenance workload, guarantee network.
In the design of base station power condition monitoring system,, reduce its maintainability if pursue the complexity that reliability just may increase system merely.The separately simplification of pursuit system may influence its reliability again.Pursuing quick, simple and direct, low-cost and maintainable under the prerequisite of the reliability that guarantees system requirements is the target of this technology pursue.
The at present known power-off of base station status information capture and the method for long-range transmission mainly comprise following two classes:
One, by passing to the CPU of information processing system after the work state information sampling of power information sample circuit with power supply, then through the CPU judgment processing, again corresponding power work state information is reported by interface circuit, thereby reach the real-time monitoring of power supply status on the base station.
The shortcoming of this method is after power down, and information processing system is power down simultaneously also.And the sampling of CPU and handle and all to need the time, CPU to the requirement of working power again than higher, relatively more responsive to the variation of power supply.Because the time that the inertia of circuit can be kept is very short, the power consumption of whole system can bleed off ' surplus ' very soon, so the power supply of this moment can not guarantee the operate as normal of CPU etc., so just can not guarantee the correct reliable transmission of power down information.Usually need add independent electricity sustaining electric circuit, for example UPS, storage battery etc. to system for solving this contradiction.Though can maintain the operate as normal of cpu system after the power down like this, guarantee the reliable transmission of power down information, but also introduced simultaneously non-working condition (for example store, transportation etc.) and the power-down state decision problem when using, thereby increased complexity and failure rate that the hardware cost of system and maintenance cost, while have also increased system.
Two, directly guide to upper system after the power information sampling with the base station, read sample information by upper system by holding wire.
Though this method is very direct, handle also simply relatively, because the base station is distant usually to the distance of controller, so just increased the hardware cost of system.Simultaneously because the influence of the factors such as external electromagnetic environment in cable properties, length and the transmission course, therefore upper system (as base station controller) may be affected from the base station power information that cable collects, so just reduced the reliability that information is transmitted, increase the link of makeing mistakes, also increased maintenance cost simultaneously.
[summary of the invention]
For this reason, the technical problem to be solved in the present invention provides a kind of method that realizes the monitoring of base station power status remote, this method can guarantee the reliability of the correct transmission of base station power supply state information, can not increase cost and system complexity again, not influence the expansion of the maintainability and the function of system simultaneously again.
Another technical problem that the present invention will solve provides a kind of system that realizes the monitoring of base station power status remote.
For solving the problems of the technologies described above, the invention provides a kind of method that realizes the monitoring of base station power status remote, it comprises the steps:
(a) by the power supply sample circuit state information of base station power is sampled;
(b) judge the time slot of ISDN-U bus by time slot distribution circuit, the power state information that sampling is obtained is converted into M passage form and sends in the corresponding time slot position;
(c) by the u interface circuit with the format conversion of this power state information and be coupled to the u interface line;
(d) finish the long-range transmission of this power state information and upper system by the u interface line.
Wherein, time slot distribution circuit is an original position of judging a frame by the frame synchronizing signal of ISDN-U bus, and be the frame slot that counting clock is judged bus with the data clock of system, after reading in, the power state information that this time slot distribution circuit obtains sampling more directly outputs in the corresponding time slot of M passage.
Wherein, step (b) can comprise the steps:
(b1) initial condition of initialization time slot distribution circuit is a known operating state;
(b2) judge the time slot of M passage by synchronous head, and send first byte information, if do not receive answer signal, then resend this first byte information, if receive answer signal at the M of correspondence channel slot; Then
(b3) the M channel slot that continues in correspondence sends second byte information, if do not receive answer signal, then resends this second byte information, if receive answer signal; Then repeating step (b2), step (b3) are restarted the transmission of group M channel information down.
This method can further comprise step (e): upper system reads the information of receiving according to the M channel protocol.
The present invention also provides a kind of realization base station power status remote monitoring system, and it comprises: a power supply sample circuit, sample in order to state information to base station power; One message processing module, it comprises the time slot distribution circuit of a programmable logic chip, in order to judge the time slot of ISDN-U bus by this programmable logic chip, the power state information that sampling is obtained is converted into M passage form and sends in the corresponding time slot position, with a u interface circuit that comprises the u interface chip, in order to by this u interface chip with the format conversion of this power state information and be coupled to a u interface line; With a power circuit, in order to power supply and other part power supplys of system that this message processing module is provided.
Wherein, this power circuit for this message processing module design separately output winding and make the power supply of this message processing module and other part power supplys of system isolated.Other part power supplys of the power supply of this message processing module and system be any altogether.
This method utilizes the M passage (Monitor channel) in the ISDN-U interface bus to transmit the power supply state information of base station, and the transmission of information is carried out according to the agreement of M passage.The characteristics of this method are the hardware resources that does not increase system, by to the reasonable utilization of hardware resource and the collection that has assigned power state information with report, need not be by the support of CPU software.Improved speed with respect to software, also avoided having reduced link, improved reliability because the systematic error that the software aspect causes has reduced the burden of CPU when operate as normal.
Equally, the present invention adopts the system of above-mentioned realization base station power status remote monitoring method also to have following beneficial effect: the reliability that can guarantee the correct transmission of base station power supply state information, can not increase system complexity again, have maintainable preferably simultaneously.
In addition, this power circuit design the output winding separately for this message processing module and make the power supply of this message processing module and other part power supplys of system isolated, and the power supply of this message processing module and other part power supplys of system be any altogether.So design has reduced the scale of the circuit of guarantee information reliable delivery, and has guaranteed follow-up at base station power-down rear port circuit power.Because of power state signal is the primary signal gained of Direct Sampling input power supply, the state of reflection power supply that can be real-time is so also guaranteed the real-time and the correctness of power information.
[description of drawings]
The present invention is described in detail below in conjunction with drawings and Examples:
Fig. 1 is the schematic diagram of realization base station power status remote monitoring system of the present invention.
Fig. 2 is the flow chart that among the present invention work to power state information in time slot distribution circuit inside.
[embodiment]
See also Fig. 1, Fig. 1 is the schematic diagram of realization base station power status remote monitoring system of the present invention.This remote supervision system comprises: a power supply sample circuit 101, a message processing module 105 and a power circuit 104.This power supply sample circuit 101 is sampled in order to the state information to base station power.This message processing module 105 comprises that a time slot distribution circuit 102 and with programmable logic chip comprises the u interface circuit 103 of u interface chip.By the time slot of this programmable logic chip judgement ISDN-U bus, the power state information that sampling can be obtained is converted into M passage form and sends in the corresponding time slot position.Can and be coupled to a u interface line with the format conversion of this power state information by this u interface chip, again this this power state information is passed to long-range upper system by the u interface line.This power circuit 104 power supply and other part power supplys of system in order to this message processing module to be provided.
Realization base station power status remote monitoring method of the present invention roughly comprises the steps:
(a) sample by the state information of 101 pairs of base station powers of power supply sample circuit;
(b) judge the time slot of ISDN-U buses by time slot distribution circuit 102, the power state information that sampling is obtained is converted into M passage form and sends in the corresponding time slot position;
(c) by u interface circuit 103 with the format conversion of this power state information and be coupled to the u interface line;
(d) finish the long-range transmission of this power state information and upper system by the u interface line;
(e) upper system reads the information of receiving according to the M channel protocol.
For ease of this embodiment is described, the each several part of this system is done introduction more specifically below in conjunction with the monitoring method of base station power status remote.
In step (a), power supply sample circuit 101 is at first from the state information of base station power primary signal up-sampling power supply, the digital signal that becomes time slot distribution circuit 102 to discern this conversion of signals after treatment is input to this signal in the time slot distribution circuit 102 again and handles.Because this power state information derives from the original power supply in base station, do not pass through other link, so the state of the reflection base station power that it can be real-time.
In step (b), time slot distribution circuit 102 is judged the original position of a frame by the frame synchronizing signal of ISDN-U bus, and is the frame slot that counting clock is judged bus with the data clock of system.After reading in, the power state information that this time slot distribution circuit 102 obtains sampling more directly outputs in the corresponding time slot of M passage.Concretely, this time slot distribution circuit 102 is the data of each time slot correspondence to be delivered on the bus in order the distribution of integrally-regulated time slot by programmable logic chip.Because of the information source of the correspondence of each time slot has nothing in common with each other, wherein having only the base station power status information data in the M passage is directly to be read the output signal gained of power signal sampling circuit 101 by time slot distribution circuit 102.In the processing to power state information, when the bus time slot transmitted the power state information of M passage to this, time slot distribution circuit 102 directly outputed in the corresponding M time slot after will being read in by the power state information of power signal sampling circuit 101 outputs.So, the software of having handled total detachment to power information and directly finishing by hardware, middle do not have other unnecessary link yet, thereby improved information reliability.With the speed of present programmable logic device nS level, the distribution requirement of satisfying pin real-time signal acquisition and time slot is fully passable.Frame sync rate 8KHz with the ISDN-U bus calculates, and according to the Handshake Protocol that the M channel information transmits, one group of data of reliable delivery need 5 synchronization frames.Transmitting one group of needed time of information like this is less than 1mS, that is to say the reliable delivery information of wanting, and must guarantee can continue at least to keep more than the 1mS at the power supply of message processing module behind the power cut-off.And those of ordinary skill in the art can be easy to will to continue electricity by the whole bag of tricks and the time accomplishes more than the 10mS.
This shows, above method all realizes by hardware, improved speed with respect to software, also avoided because the systematic error that the software aspect causes, reduced the burden of CPU when operate as normal, improve reliability, also reduced the scale of the minimum circuit of guarantee information reliable delivery simultaneously, guaranteed the reliable supply of follow-up power supply.
In step (c), u interface circuit 103 is finished the coupling to the u interface line of the conversion of data passes form and data, and the information on the ISDN-U bus is finished remote switch with upper system information by U mouth line.This function is mainly finished by U muzzle sheet, adds auxiliary circuits such as coupling transformer in addition.This part circuit is that all like products all have, and also is well known to those of ordinary skill in the art, so do not repeat them here.
Power circuit 104 provides required power supply for system.In the power supply design, information in the above method is transmitted used minimum circuit (being the power supply of information-processing circuit), isolated with system other parts power supply, winding is exported in design separately, and with other power supply ' a bit altogether ', purpose is that the power supply of the power supply of message processing module 105 and system's other parts is isolated, so that this part power supply is carried out ' delay process ', so both can make the power supply of message processing module not be subjected to the influence of other circuit of system, because reduced the load of power supply, the message processing module power supply is follow-up under easier assurance power-down conditions under the situation of equal electrical inertia again.In addition, because of power state signal is the primary signal gained of Direct Sampling input power supply, the state of reflection power supply that can be real-time is so also guaranteed the real-time and the correctness of power information.
Fig. 2 shows the inner flow chart that power state information is worked of time slot distribution circuit 102 among the present invention (being programmable logic device).Its course of work is to require to carry out with reference to the Handshake Protocol to the M passage in the ISDN-U bus.In the entire process process, frame synchronizing signal and system data clock are very important.Frame synchronizing signal correctly be preceding topic and the benchmark that frame data can correctly transmit, be benchmark with the frame synchronizing signal, judge the bus time slot and send data by data clock.
A complete M channel information is made up of two bytes, and the data that every frame can transmit are a byte.So the data of M passage need be divided into two frames transmits.In the present invention, because power supply has only two states (normal or power down), so only need take a digit time slot of M passage, other data bit can also be transmitted out of Memory.
Time slot distribution circuit 102 at first carries out initialization to system in processing procedure, i.e. step 201, purpose are to make system you keep a kind of known operating state, avoid the generation of stochastic regime.Then judge the time slot of M passage, in the M of correspondence channel slot, send first byte information of M passage, i.e. step 202 according to synchronous head.According to the agreement of M passage, confirm whether to receive answer signal, i.e. step 203.Resend first byte information when not receiving answer signal, promptly repeating step 202.After receiving answer signal, then send the second byte number information of M passage, i.e. step 204 at corresponding down frame slot.Then, to judge the answer signal of receiving terminal equally, i.e. step 205.If receive answer signal then restart the down transmission of group M channel data, i.e. step 201.As confiscate the answer signal of receiving terminal, and continue to send the data of the M passage of second byte, promptly repeating step 204.By so continuous circulation, base station power state information real-time sampling and transmission have promptly been realized.
After information passed to upper system by u interface circuit 103, upper system read corresponding informance according to the agreement of M passage again, has so just reached the purpose of real-time monitoring.
In sum, the system of the base station power-down alarm that this embodiment discloses and the method for information transmission can not increase cost, do not reduce under the situation of information transfer reliability and finish reporting of base station power-down alarm state, have simple in structure, method is flexible, characteristics such as reliability height have been compared tangible advanced part and advantage with homogeneous system.
Need to prove that above-mentioned explanation only is the detailed description to preferred embodiment of the present invention, narration only is explanation realizability of the present invention and outstanding effect thereof, and concrete feature can not be used as the restriction to technical scheme of the present invention.