The present invention is the space division cross connection equipment in a kind of TST cross connecting structure.
Digital crossover connects intersects the speed of data and rank by it and can be divided into kind such as 4/4 and 4/1.Purpose of the present invention realizes finishing 4/4 exactly, can finish the space division cross connection equipment of 4/1 cross connect function again.
For reaching this purpose, the solution that the present invention takes is: Synchronous Digital Hierarchy (SDH) space division cross connection equipment comprises that one contains the intersection kernel unit of cross matrix and the control unit that intersects; Intersect control unit to intersect kernel unit output control signal (CCSR, CCSRa), to realize 4/4 or 4/1 two kind of interconnection;
Described intersection control unit comprises multiplexing control register, the standby random access memory ram of advocating peace, switching controls register, the first multicircuit switch MUX1, command register and the second multicircuit switch MUX2; Main random access memory ram, standby random access memory ram and switching controls register link to each other with first multicircuit switch; Multiplexing control register, command register and first multicircuit switch link to each other with second multicircuit switch.The first multicircuit switch MUX1 changes the control data that receives main RAM or standby RAM under the signal controlling of switching controls register; The second multicircuit switch MUX2 changes ground and receives the output of the first multicircuit switch MUX1 or the output of described multiplexing control register under the command signal COM_REG of command register control, and the control signal CCS of output control intersection kernel unit.
Described intersection control unit also comprises a d type flip flop on output signal (SR) path that is connected the switching controls register, it is the control end of the Q termination first multicircuit switch MUX1 of d type flip flop, and the D of trigger, CE, C end respectively with the switching controls register, the switching controls position (GEN) of command register, and frame-synchronizing impulse input (SFP) is continuous, switches to realize no error code.
Because the present invention adopts the corresponding two cover cross matrix control units of each cross-connection unit, wherein one the cover be used for current exchange another set of give over to switch refresh, Cross Connect equipment was controlled and inserted in the switching of two inner rooms by synchronizing signal signal content has nothing to do, thereby have relative independentability, simplified the implementation process of handover operation greatly.Because what adopt is 4/1 cross modal, the SDH signal that enters Cross Connect equipment is that frame alignment and branch road are aimed at, and its frame head position is by intersecting the unified control of control unit, produce the switching synchronizing signal by frame alignment control signal, the frame head that assurance switches in every road SDH signal carries out, thereby has realized the zero defect switching.In addition, the present invention has adopted intersection kernel unit and the design of intersection control unit one, can realize 4/4 interconnection of different cross modals: 64*64 and 4/1 interconnection of 16*16 by the working method position in the command register in the configuration intersection control unit.
Now be described with reference to the accompanying drawings embodiments of the invention:
At first referring to Fig. 7, the figure shows profile and each pin of one embodiment of the invention, wherein the implication of each pin mark is as follows:
UHW0~UHW63 is the upstream data input pin
DHW0~DHW63 is the downlink data output pin
/ RST-reset signal
SFP-frame-synchronizing impulse input
The CK38-38M clock
The CK19-19M clock
TST mode: 0: normal mode of operation, 1: test pattern
/ RD-μ P interface read signal end
/ WR-μ P interface write signal end
/ ACS-chip selection signal
Da-μ P interface data
Ad-μ P interface IP address
Above-mentioned last five ends are formed MPU (Microprocessor Unit) interface end 601.
The internal structure that Fig. 1 then illustrates this embodiment comprises the intersection kernel unit 11 and control unit 12 two large divisions of intersecting, and these two parts are by holding wire CCS0[5:0]~CCS63[5:0] connect.
Fig. 2 shows intersection kernel unit 11 and includes 64 cross matrixes (100~163).The signal UHW that the kernel unit 11 of intersecting receives from upstream data input pin UHW0~UHW63, its cross matrix 100~163 carries out interconnection under the control (below will describe in detail) of the signal CCS0~CCS63 of intersection control unit 12, and output downlink data signal DHW is to downlink data output pin DHW0~DHW63.
Fig. 3 shows the structure of intersection control unit 12 and forms.Scheme as seen thus, this control unit comprises multiplexing control register 22, and its each memory cell mark SEL5~SEL0 represents control signal CCS[5:0 respectively shown in Fig. 5 a].In order to realize the switching under the register working method, multiplexing control register 22 is connected with multiplexing control temporary register 21 by a d type flip flop 27, the D of this trigger 27 (D0, D1 ..., D5), CE, C each the end link to each other with multiplexing control temporary register 21, GEN and SFP signal respectively, its Q (Q0, Q1 ..., Q5) end links multiplex controller 22.D type flip flop 27, multiplexing control temporary register 21 and multiplexing register 22 have 64 groups, each group is exported control datas by second multicircuit switch 32 to intersection kernel unit 11, the interconnection of control intersection kernel unit 11 interior cross matrixes, thereby 4/4 cross connect function of realization 64*64.
According to Fig. 3, the control unit 12 that intersects comprises that also main RAM25 links to each other with first multicircuit switch 31 with standby RAM26, under the control of switching controls register 23, first multicircuit switch 31 is transferred to intersection kernel unit 11 with the control data signal of main RAM25 or standby RAM26 through second multicircuit switch 32.Main RAM25 and standby RAM26 have 16 groups, the switching controls register is 16, shown in Fig. 5 c, the operating state of every one group of master RAM25 of control and standby RAM26, when being 0 (or 1), certain position represents the main RAM25 work of its control, be the standby RAM26 work that its control is represented in 1 (or 0), thereby realize 4/1 cross connect function of 16*16.
According to Fig. 3, the intersection control unit 12 of this embodiment also comprises the command register 24 that is used for mask register or RAM working method, and this command register 24 is an eight bit register, and its memory cell assignment implication is shown in Fig. 5 b, in this example:
GEN is that permission is switched in 0 expression; GEN is that 1 expression switching is forbidden.
REN is that read register REG/RAM content is forbidden in 1 expression; Be that 0 expression allows to read the REG/RAM content;
OEN is that 1 expression output is ternary, 0 expression dateout;
REG/RAM:0 represents register REG mode, 1 expression RAM mode;
Below again in conjunction with Fig. 4 and Fig. 6 to the embodiment of the invention 4/4,4/1 two kind of cross-coupled switching and operation principle be elaborated.
Order COM_REG when command register 24, be set to " selecting the register working method ", promptly its most last unit R EG/RAM is 0 o'clock, intersection control unit 12, promptly structure is finished 4/4 cross connect function of 64*64 as shown in Figure 4, and output intersects control signal CCSR to intersecting kernel unit 11.
More particularly, under the register working method, the control unit 12 that intersects selects the data of multiplexing control register 22 as crossing control data, article 64, input signal cable UHW (63:0) enters intersection kernel unit 11, cross matrix annexation by crossing control data control intersection kernel unit 11 is connected to downlink data signal line DHW (63:0) with holding wire UHW (63:0).This moment, each road upstream data UHW signal was done as a whole the intersection, thereby realized 4/4 interconnection of 64*64.
On the other hand when command register is set to " selecting the RAM working method ", be that REG/RAM byte assignment is 1 o'clock, then as shown in Figure 6, the control unit 12 that intersects is under the RAM working method, by RAM25, data in 26 are as the interconnection relation between crossing control data control cross matrix 100~163 (Fig. 2) is from UHW to DHW, and be by row in SDH frame structure to intersect to each road UHW data this moment, thereby realize 4/1 interconnection.
More particularly, at this moment, signal UHW (63:0) is divided into 16 groups (1 group of 4bit) when intersecting.UHW (4n), UHW (4n+1), UHW (4n+2), UHW (4n+3) [n=0,1,2 ... 15] be one group.DHW (63~0) also is divided into 16 groups by the same manner is corresponding, every group has active/standby two RAM25,26, its main and standby relation control is finished by the switching register 23 shown in Fig. 5 C, this signal comprises 8 high-order H bytes (8~15) and 8 low level L bytes (0~7), and its each 1bit0/1 controls 1 group.Be 0 o'clock, represent main RAM work; Be 1 o'clock, expression is equipped with RAM work.Every group of UHW signal to the annexation of DHW signal by the Data Control in the corresponding RAM, data in the RAM are to organize by the row of SDH STM-1 frame signal, thereby every group of UHW also undertake by row to the annexation of DHW, thereby realize 4/1 interconnection of 16*16 (one group of 4bit).
Below in conjunction with Fig. 8 and Fig. 9 the realization that no error code switches is described.
As shown in Figure 8, the SDH signal is to have frame structure A1, A2 ... data, no error code switches the integrality that will guarantee to switch this frame structure of front and back exactly, that is to say to guarantee to realize switching as shown in Figure 8 that the present invention utilizes the rising edge of the frame-synchronizing impulse SFP of outside input to indicate frame head position Hd's at Hd place, frame head position.In other words, as long as switching when aliging with the frame head of SDH signal, the rising edge of assurance synchronization pulse SFP just can realize not having the error code switching.
Fig. 9 is the control principle figure that realizes that no error code switches under the RAM control mode of the present invention, how it and Fig. 6 schematic diagram difference only have been a d type flip flop 71, the D of this trigger, CE, each end of C link to each other with switching controls register, GEN and SFP signal respectively, and its Q terminates to MUX1.Under the RAM working method, realization be 4/1 interconnection, the signal frame head that enter into cross matrix this moment aligns, frame head Hd aligns with SFP signal rising edge as shown in Figure 8.So, the present invention carries out following handoff procedure: before carrying out switching, the control data that will switch to cross-connect matrix earlier writes standby RAM26, a switching permission position GEN who puts command register 24 simultaneously is 1, promptly switch and be under an embargo, change the content (Fig. 5 C) of switching controls register 23 this moment on request, and then put that switch to allow a position GEN be 0, promptly allow to switch, as shown in Figure 8, before carrying out switching point Hd, GEN has finished from forbidding switching → allowing the said process that switches, in conjunction with Fig. 9 as can be known, this moment d type flip flop 71 and be equipped with RAM and all performed to switch and prepare, so arrive when frame-synchronizing impulse one, its rising edge just triggers the Q end of d type flip flop and exports switch-over control signal SR, the conversion of control MUX1 and MUX2 switches to cross-connect matrix with those corresponding crossing control data CCSRa that write standby RAM26 that the switching controls register has been changed.Thereby realized no error code switching by the frame head position of SFP signal indication.