Communication equipment distributed system and backboard BASE bus self adaptation implementation method thereof
Technical field
The present invention relates to communication technical field, adaptive particularly to a kind of communication equipment distributed system and backboard BASE bus thereof
Answer implementation method.
Background technology
At communication technical field, larger communication equipment uses distributed system architecture to build its system mostly, typically contains in system
The important component parts such as main control card, backboard, line card.The communication of whole system is typically by datum plane, management plane and monitoring
Plane completes.Data transmission, management plane that wherein datum plane is responsible between each line card are then responsible for main control card CPU and each line card
The data transmission that data transmission between CPU, monitoring plane are then responsible between main control card and each line card CMM single-chip microcomputer.
For management plane, according to the difference of the actual framework of system, generally use single gigabit ether electric connection mode
1000BASE-T or SGMII(serial gigabit medium independent interface) mode communicates.System Management Plane communication mode
Difference, causes that interface form corresponding between system line card and main control card is the most corresponding to change, namely backboard BASE bus
There is corresponding change (changing between gigabit ether electric connection mode 1000BASE-T and SGMII) in bus form;
But in real system the function of line card the most single-minded and general (single-minded refer to that board only realizes certain specific function, as
24GET board provides 24 tunnel gigabit electrical interfaces;General refer to the most all this line card is had demand.), having completely must
Same line card is used on various devices the versatility i.e. strengthening line card.
In distributed structure/architecture system, connecting between main control card and line card realizes typically by backboard cabling mode, and each
Planting the connection between board and backboard is then to be realized by plug connector one by one.Space in view of real system limits and grafting
The factors such as part cost, in real system, the resource of plug connector is the most all more nervous.
The versatility the most how supporting line card under limited plug connector resource is current problem demanding prompt solution.
Summary of the invention
The technical problem to be solved is: propose a kind of communication equipment distributed system and backboard BASE bus is adaptive
Answer implementation method, under limited plug connector resource, support the versatility of line card.
The present invention solves the scheme that above-mentioned technical problem used:
Communication equipment distributed system, including main control card, line card and backboard;Described main control card is with line card by backboard plug connector even
Connect backboard;Described main control card includes CPU element, gigabit exchange chip, gigabit ether electricity mouth PHY chip, the first switching mould
Block, the second handover module;Described CPU element is connected with gigabit exchange chip;The input of described first handover module and gigabit
Exchange chip is connected, and its outfan connects the input of described second handover module and described gigabit ether electricity mouth PHY chip;Institute
State gigabit ether electricity mouth PHY chip and connect backboard plug connector by two pairs of differential signal lines, by two further pairs differential signal line even
Connect the input of the second handover module;The outfan of described second handover module connects backboard plug connector.
Concrete, described first handover module, the second handover module are analog switch.
Concrete, described gigabit ether electricity mouth PHY chip is 1000BASE-T PHY chip.
Additionally, another object of the present invention also resides in the BASE bus self adaptation realization proposing a kind of communication equipment distributed system
Method, comprising: main control card externally provides two kinds of gigabit BASE buses, and the BASE used according to actual disposition line card
The type of bus, the type of the main control card external BASE bus of automatic switchover, it is achieved the self adaptation of backboard BASE bus.
Concrete, the method comprises the following steps:
A. line card whether is had to insert on main control card monitoring backboard plug connector, if any, then enter step b, otherwise return step a;
B. main control card detects the type of this line card, and judges the interface shape of this line card management plane, if interface shape is
1000BASE-T, then enter step c, if interface shape is SGMII, then enters step d;
C. the BASE bus type realizing main control card external by the switching effect of the first handover module and the second handover module is
1000BASE-T form;
D. the BASE bus type realizing main control card external by the switching effect of the first handover module and the second handover module is
SGMII form.
Concrete, described first handover module and the second handover module are analog switch.
Concrete, described step c specifically includes:
The SGMII signal of gigabit exchange chip output is realized as gigabit ether electricity mouth PHY by the switching of the first handover module
The input signal of chip, the output signal of gigabit ether electricity mouth PHY chip includes two difference to being directly connected with backboard plug connector
Signal and the differential signal that is connected with backboard plug connector of two further pairs realized by the switching of the second handover module, main control card this
Time external BASE bus type be 1000BASE-T.
Concrete, described step d specifically includes: realized the SGMII of gigabit exchange chip output by the switching of the first handover module
Signal, as the input signal of the second handover module, realizes SGMII signal by the switching of the second handover module and is directly output to the back of the body
Plate plug connector, the most external BASE bus type of main control card is SGMII.
The invention has the beneficial effects as follows: realized the self adaptation of backboard BASE bus by the application of analog switch, be effectively saved
Nervous connector resource, reduces device hardware cost, and is easy to user and line card carries out smooth upgrade i.e. supports that line card leads to
With property, to greatest extent protection user investment in early days.
Accompanying drawing explanation
Fig. 1 is the main control card structural representation in the communication equipment distributed system embodiment of the present invention;
Fig. 2 is the BASE bus adaptive approach embodiment flow chart of communication equipment distributed system in the present invention.
Detailed description of the invention
It is contemplated that propose a kind of communication equipment distributed system and backboard BASE bus self adaptation implementation method thereof, limited
Plug connector resource under support the versatility of line card.The basic thought that the present invention realizes is: main control card externally provides two kinds of gigabits
BASE bus (1000BASE-T and SGMII), according to the difference of actual disposition line card used BASE bus, main control card
The bus type of the external BASE bus that can automatically switch, thus realize the self adaptation of backboard BASE bus.
Below in conjunction with the accompanying drawings and embodiment the solution of the present invention is further described:
Communication equipment distributed system in this example, including main control card, line card, backboard, backboard plug connector;Described main control card,
Line card connects backboard by backboard plug connector;
Wherein the structure of main control card is as it is shown in figure 1, it includes CPU element, gigabit exchange chip, 1000BASE-T PHY core
Sheet, analog switch 0, analog switch 1;Described CPU element is connected with gigabit exchange chip;The input of described analog switch 0
End is connected with gigabit exchange chip, and its outfan connects the input of analog switch 1 and described 1000BASE-T PHY chip;
Described 1000BASE-T PHY chip connects backboard plug connector by two pairs of differential signal lines, by two further pairs differential signal line
Connect the input of analog switch 1;The outfan of described analog switch 1 connects backboard plug connector.
Owing to 1000BASE-T connected mode needs 4 are to differential signal line, and SGMII connected mode has only to 2 pairs of difference letters
Number line, and (i.e. mutual exclusion) can not be there is at synchronization in two kinds of connected modes simultaneously, thus the present invention uses 1000BASE-T
Two pairs of differential signal line multiplexing SGMII interfaces of interface also introduce the mode of two analog switches to realize backboard BASE bus
Self adaptation.
Based on said system, the BASE bus adaptive approach embodiment flow process of the communication equipment distributed system in the present invention is such as
Shown in Fig. 2, it includes implemented below step:
A. line card whether is had to insert on main control card monitoring backboard plug connector, if any, then enter step B, otherwise return step A;
B. main control card detects the type of this line card, and judges the interface shape of this line card management plane, if interface shape is
1000BASE-T, then enter step C, if interface shape is SGMII, then enters step D;In this step, main control card passes through
The Card Type of monitoring plane identification outside institute plug wire card, thus determine its communication mode with line card management plane be use gigabit with
The most electric 1000BASE-T connected mode still uses SGMII connected mode.
C. the BASE bus type realizing main control card external by the switching effect of the first handover module and the second handover module is
1000BASE-T form;In this step, when main control card detects the Card Type of line card, and connecing of line card management plane is learnt
Degree of lip-rounding formula is 1000BASE-T, i.e. line card uses gigabit ether electric connection mode 1000BASE-T and main control card to be managed plane
Communication time, the analog switch 0 on main control card switches over the connection realized between signal SGMII and SGMII0;Analog switch 1
Realize the connection between signal TRD [3..2] _ P/N and Common [1..0] _ P/N;Wherein, SGMII is the defeated of gigabit exchange chip
Going out signal, SGMII0 is that analog switch 0 switching exports the signal to 1000BASE-T PHY chip, and TRD [1..0] _ P/N represents
Serial number 0 and the differential pair signal of serial number 1, TRD [3..2] _ P/N represents serial number 2 and the differential pair signal of serial number 3,
Common [1..0] _ P/N represents the output signal of analog switch 1;
D. the BASE bus type realizing main control card external by the switching effect of the first handover module and the second handover module is
SGMII form;In this step, when main control card detects the Card Type of line card, and connecing of line card management configuration plane is learnt
Degree of lip-rounding formula is SGMII.When i.e. line card uses the communication that SGMII mode and main control card are managed plane, the simulation on main control card
Switch 0 realizes the connection between SGMII and SGMII1;Analog switch 1 realizes signal SGMII1 Yu Common [1..0] _ P/N
Between connection;Wherein SGMII1 is that analog switch 0 switching exports the signal to analog switch 1.
To those skilled in the art, it is to be understood that the above-mentioned 1000BASE-T PHY chip in the present invention is in work
When making, differential signal TRD [1..0] _ P/N, TRD [3..2] _ P/N is the signal after transformator Transformer isolates.
The scope of protection of present invention comprises but is not limited only to above-described embodiment, and those skilled in the art are not as described above
Equivalent modifications/the replacement in the case of disengaging spirit of the invention made the technology contents of the present invention, all in the protection of the present invention
Within the scope of.