Electric installation and method under the veneer
Technical field
The present invention relates to the communications field, electric installation and method under a kind of veneer.
Background technology
At present, a lot of communication equipments all are made up of modules such as machine frame, veneer, backboards, and veneer inserts in the backboard, realizes interconnection by backboard between the veneer.Arbitrary veneer if can carry out power down protection, can reduce the impact that other equipment, veneer in the same machine frame are caused and disturb when extracting from backboard, can prolong the useful life of equipment effectively.
Adopt Advanced telecom computing architecture (Advanced Telecom Computing Architecture, abbreviating ATCA as) advanced interlayer card (Advanced Mezzanine Card the abbreviates AMC as) module of standard finishes the power down protection of veneer by a sensitive switch.The AMC module is made up of a push-and-pull spanner and a touch-switch at powering on of adopting of panel/following electric system; after veneer inserts; the push-and-pull spanner pushes; can clash into the plastic contact of touch-switch; for several times; the plastic contact of touch-switch may lose efficacy, and caused veneer have to cancel sensitive switch, had not so also just had power-down protection.
In addition, at the engineering maintenance scene of telecommunication apparatus, the attendant is if find single board default, generally all can directly change veneer and without any failure-description.To the reparation of failing single board, depend on attendant's record description, normal inaccurate or not have record to influence quality and the speed of keeping in repair because of attendant's record trouble phenomenon.
Summary of the invention
The invention provides electric installation and method under a kind of veneer, to solve the problem of not carrying out the data storage under the veneer in the correlation technique before the electricity at least.
According to an aspect of the present invention, provide electric installation under a kind of veneer, having comprised: the repositioning information processing module, for the action message that triggers the touch-switch that resets according to the user who collects, determine to give under the veneer of the touch-switch correspondence that resets; First control module is used for the data that the control data memory module is stored veneer; The single board state indicating module is in power-down state but be used to indicate veneer, but wherein power-down state is used for informing that the user is under the veneer.
Preferably, if collect repeatedly action message in the predefined time, then the repositioning information processing module is determined under the veneer.
Preferably, if only collect action message one time in the predefined time, then the repositioning information processing module is determined to board resetting.
Preferably, also comprise: second control module is used for the control power management module and gives under the module that existence is disturbed to bus.
Preferably, but the single board state indicating module is in power-down state by LED lamp showing veneer.
According to another aspect of the present invention, provide method for electrically under a kind of veneer, having comprised: according to the action message that the user who collects triggers the touch-switch that resets, determined to give under the veneer of the touch-switch correspondence that resets; The data of control data memory module storage veneer; But showing veneer is in power-down state, but wherein power-down state is used for informing that the user is under the veneer.
Preferably, trigger the action message of the touch-switch that resets according to the user who collects, determine to comprise to electricity under the veneer of the touch-switch correspondence that resets: if collect repeatedly action message in the predefined time, then the repositioning information processing module is determined under the veneer.
Preferably, if only collect action message one time in the predefined time, then the repositioning information processing module is determined to board resetting.
Preferably, after the data of control data memory module storage veneer, also comprise: give bus is existed under the module of disturbing.
Preferably, but showing veneer is in power-down state comprises: but be in power-down state by LED lamp showing veneer.
By the present invention, corresponding data is stored, under failing single board, preserved phenomenon of the failure before the electricity, solved and do not carried out the data storage under the veneer before the electricity, to the problem that the maintenance of veneer brings inconvenience, be convenient to locate fast single board default, provide good foundation for safeguarding and improving veneer.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not constitute improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the structured flowchart according to electricity under the veneer of the embodiment of the invention;
Fig. 2 is the structured flowchart one of electricity under the veneer according to the preferred embodiment of the invention;
Fig. 3 is according to the veneer power down protection of the embodiment of the invention and the structural representation of on-line data acquisition device;
Fig. 4 is the principle schematic according to the application example of the veneer power down protection of the embodiment of the invention and on-line data acquisition device;
Fig. 5 is according to the veneer power down protection of the embodiment of the invention and the applicating flow chart of on-line data acquisition device;
Fig. 6 is the flow chart according to method for electrically under the veneer of the embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
The embodiment of the invention provides electric installation under a kind of veneer, and Fig. 1 is according to the structured flowchart of electricity under the veneer of the embodiment of the invention, as shown in Figure 1, comprising: repositioning information processing module 12, first control module 14, single board state indicating module 16.
Repositioning information processing module 12 for the action message that triggers the touch-switch that resets according to the user who collects, is determined to give under the veneer of the touch-switch correspondence that resets; First control module 14 is connected to repositioning information processing module 12, is used for the data of control data memory module storage veneer; Single board state indicating module 16 is connected to first control module 14, is in power-down state but be used to indicate veneer, but wherein power-down state is used for informing that the user is under the veneer.
In the correlation technique, do not carry out data storages under the veneer before the electricity, the maintenance of veneer is brought inconvenience, by the embodiment of the invention, corresponding data is stored, under failing single board, preserved phenomenon of the failure before the electricity, be convenient to locate fast single board default, provide good foundation for safeguarding and improving veneer.
Fig. 2 is the structured flowchart one of electricity under the veneer according to the preferred embodiment of the invention, and as shown in Figure 2, said apparatus also comprises: second control module 18 is used for the control power management module and gives bus is existed under the module of disturbing.
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with accompanying drawing and concrete application example.
Fig. 3 is according to the veneer power down protection of the embodiment of the invention and the structural representation of on-line data acquisition device.As shown in Figure 3, the present invention includes as lower module:
Power down trigger module 32 mainly is that the attendant is used to trigger the veneer power-down actions, belongs to the part of man-machine interaction.Can realize with the existing touch-switch that resets on the panel, the touch-switch that resets is also born the function of original Reset Board, once move or twice action distinguished and resetted or power down by reset switch in the scheduled time, therefore need have the repositioning information processing module to distinguish two kinds of purposes.
Repositioning information processing module 34 is arranged on the veneer, can utilize original programmable logic device realization on the veneer.The repositioning information processing module is general on veneer to be realized with programmable logic device EPLD, for the treatment of the action of the touch-switch that resets that collects, distinguishes different functions.
Control module 36 is used for being responsible for giving electricity under the module that easily takes place to disturb after the power down indication that receives repositioning information processing module 34, and writes data to data memory module.Can utilize on the veneer original processor to realize.
Data memory module 38, this module can utilize existing nonvolatile storage on the veneer, as FLASH.Be used for storing the power down warning information of veneer, system before, crucial register value.
Power management module 310 is used on the management single board power supply everywhere, controls the power-on and power-off of each module.
Single board state indicating module 312 is used to indicate the preparation before whether veneer has finished power down, generally can indicate with the LED lamp.When the indication of this module can safe power down, veneer can be pulled out.
Sensitive switch is replaced by the long-lived touch-switch that resets in the device provided by the invention, also no longer accepts mechanical collision, thereby has increased its useful life.Compared with prior art; the device of veneer power down protection provided by the present invention and on-line data acquisition; improve by a spot of software and hardware; not only solved the perishable problem of sensitive switch in original technology; phenomenon of the failure, the function of online acquisition field data have also been realized under failing single board, preserving before the electricity.For locating single board default fast, reduce the OPX of operator, safeguard that improving veneer provides good foundation.
Fig. 4 is the principle schematic according to the application example of the veneer power down protection of the embodiment of the invention and on-line data acquisition device, and as shown in Figure 4,42 are the power down trigger module 32 among Fig. 3, and touch-switch is realized to reset.Touch-switch needs power down triggering and two kinds of multiplexing functions of Reset Board owing to reset, the touch-switch that herein resets will link to each other with the repositioning information processing module, the information of touch-switch of will resetting is handled, and the repositioning information processing module can realize by programmable logic device.A reset pin ground connection of touch-switch 42, another pin is received on the common input and output pin (IO) of programmable logic device 44.
The 44th, programmable logic device (EPLD), the repositioning information processing module 34 in the corresponding diagram 3.This logical device plays the effect that repositioning information is handled.This part links to each other by 4 IO with external module, simultaneously the inner signal that has a timer to handle to reset touch-switch 42 to transmit.IO1 links to each other with the touch-switch 42 that resets, and an interrupt pin IRQ of IO2 and central processing unit 48 links to each other, and IO3 links to each other with the hand-reset pin MR of watchdog chip 46, and IO4 links to each other with the output pin RESET that resets of watchdog chip 46.
Timers in the EPLD 44 can be decided a scheduled time, if the IO1 of EPLD 44 at this moment between in only receive a low pulse, just be confirmed to be veneer and will descend electricity, can send out by IO2 so and interrupt giving central processing unit 48.If IO1 receives two low pulses at this moment, being confirmed to be needs the hand-reset veneer, just by IO3 low pulse of MR pin to the watchdog chip 46 on the veneer.
The hand-reset pin MR of watchdog chip 46 links to each other with two IO of EPLD 44 respectively with the output pin RESET that resets.After the MR of watchdog chip 46 pin was received low pulse, RESET can export reset signal.After this reset signal was input to the IO4 of EPLD 44, EPLD 44 need on the Reset Board to remove the device that resets again.
Control module 36 in central processing unit 48 corresponding diagram 3.The effect of central processing unit 48 in power down protection is to judge power down opportunity and preserve the power down scene.The interruption (IRQ) that central processing unit 48 receives from EPLD 44 is communicated by letter with power supervisor 412 by I2C or other universal serial bus.Watchdog chip 46 is also lighted central processing unit 48 by an IO control in addition.
The 410th, LED lamp is used to refer to state, and an IO by central processing unit 48 controls, and the high level of IO output and low level be the lighting and extinguish two states of corresponding LED lamp 410 respectively.After power down preparation was carried out, LED lamp 410 was lighted, and the attendant can extract veneer safely.
Power management module 310 in power supervisor 412 corresponding diagram 3, the power-on and power-off of each module of control veneer.Central processing unit 48 is communicated by letter with power supervisor 412 by I2C or other buses, is used for notifying power supervisor 412 under the module.
The 414th, memory FLASH, the data memory module 38 in the corresponding diagram 1.Be used for to preserve warning information and critical registers value before the veneer power down, for checking during maintenance after the veneer power down.Central processing unit 48 can write these information by Local Bus or other buses in FLASH414, read out the maintenance personal when waiting to keep in repair again and confirm fault in-situ.
The invention provides method for electrically under a kind of veneer, Fig. 5 is the flow chart according to method for electrically under the veneer of the embodiment of the invention, as shown in Figure 5, comprises that following step S502 is to step S506.
Step S502 according to the action message that the user who collects triggers the touch-switch that resets, determines to give under the veneer of the touch-switch correspondence that resets.
Step S504, the data of control data memory module storage veneer.
Step S506, but showing veneer is in power-down state, but wherein power-down state is used for informing that the user is under the veneer.
In the correlation technique, do not carry out data storages under the veneer before the electricity, the maintenance of veneer is brought inconvenience, by the embodiment of the invention, corresponding data is stored, under failing single board, preserved phenomenon of the failure before the electricity, be convenient to locate fast single board default, provide good foundation for safeguarding and improving veneer.
Preferably, trigger the action message of the touch-switch that resets according to the user who collects, determine to comprise to electricity under the veneer of the touch-switch correspondence that resets: if collect repeatedly action message in the predefined time, then the repositioning information processing module is determined under the veneer.By this preferred embodiment, the repositioning information processing module determines to be about to down the electricity operation after receiving repeatedly information.
Preferably, if only collect action message one time in the predefined time, then the repositioning information processing module is determined to board resetting.By this preferred embodiment, the repositioning information processing module determines to be about to carry out reset operation after receiving primary information.
Preferably, after the data of control data memory module storage veneer, also comprise: give bus is existed under the module of disturbing.
Preferably, but showing veneer is in power-down state comprises: but be in power-down state by LED lamp showing veneer.This preferred embodiment is easy to realize, and realizes with low cost.
Fig. 5 is the application flow schematic diagram of veneer power down protection and on-line data acquisition method, as shown in Figure 5, comprises following step S602 to S608.
Step S602, EPLD 44 receive the information from the touch-switch 42 that resets.
Step S604, EPLD 44 analysis and judgement need Reset Board or to the veneer power down.
If need to give board resetting.Turn to step S606.
If need to give the veneer power down, turn to step S608.
Step S606, EPLD 44 provides the hand-reset signal for watchdog chip 46, makes board resetting.
Step S608, central processing unit 48 writes warning information and critical registers value on the current single board in the FLASH414 by Local Bus, informs that by I2C power supervisor 412 gives under the module of easily disturbing bus simultaneously.After above-mentioned two things were finished, central processing unit 48 control LED lamps 410 were lighted, and the preparation that indicates the veneer power down is carried out, at this moment just can be safe extracted veneer.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Need to prove that also method for electrically is corresponding to above-mentioned device embodiment under the veneer of describing among the method embodiment, its concrete implementation procedure had been carried out detailed description in method embodiment, do not repeat them here.
The present invention has following beneficial effect:
1. solve the perishable problem of touch-switch in the existing power down protector, effectively realized the power-down protection of veneer, reduced when veneer is extracted the impact to other modules.
2. improve the efficient of location single board default, for scene or depot repair veneer provide effective help, reduced the number of times that the attendant repeatedly comes and goes the fault in-situ image data, reduced the OPX of operator.Before the failing single board power down, the warning information with veneer writes among the FLASH with the critical registers value that is beneficial to fault location.When the single board default of location, these information are read, just can learn failure cause very soon, quickly that the veneer reparation is normal and return to the operator, make the operator keep a fairly large network operation by enough less slave board spare parts, also reduce operator's IPX simultaneously.On the other hand, can also help the research staff to find potential design defect, for the client provides the equipment of better quality, improve the running quality of customer network, increase customer satisfaction degree.
In sum, according to the abovementioned embodiments of the present invention, electric installation and method under a kind of veneer are provided.By the present invention, corresponding data is stored, under failing single board, preserved phenomenon of the failure before the electricity, solved and do not carried out the data storage under the veneer before the electricity, to the problem that the maintenance of veneer brings inconvenience, be convenient to locate fast single board default, provide good foundation for safeguarding and improving veneer.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.