A kind of CPU is to the management system of a plurality of business boards and method
Technical field
The invention belongs to technical field of the computer network, relate to a kind of management and method, particularly relate to a kind of CPU to the management system of a plurality of business boards and method.
Background technology
Raising along with network speed, requirement to terminal OLT device is also more and more higher, also from strength to strength, product competition is more and more fierce for the function realizing, thereby manufacturer becomes the original product competitiveness that improves to have active demand on the situation decline low production not affecting quality.Thereby, on OLT product, in the situation that not affecting OLT properties of product, can to business board, be configured issuing and managing of file by the cpu chip of master control borad, thereby remove the cpu chip of business board, can greatly reduce the cost of product.
Main service card management method comprises following three kinds at present:
1, CPU directly manages
Current most of OLT product, be all business board in design process, directly design is used cpu chip to manage business board, uses so directly simply, control and management is simultaneously also more convenient.
2, use Programmable ASIC chip to manage
When the general CPU of function that will realize on business board can not realize its administration configuration, in the situation that considering cost, conventionally can use Programmable ASIC chip to carry out logic coding, finally also can realize the object of control and management.
3, use CPU and Programmable ASIC chip to manage simultaneously
In the situation that the functional requirement of business board is very powerful and some function CPU chip is not realized, can consider to use CPU and Programmable ASIC chip to manage simultaneously, cpu chip is mainly to some common interfaces, as SPI interface, GPIO interface, PCIE interface management, and the aspect that Programmable ASIC chip can not be managed some cpu chips such as the detection of optical module, Panel lights manages, the final like this object that also can realize control and management, but comparatively complicated, high cost.
And along with the raising of technical merit, network technology is required also more and more higher, and what in network technology, develop at present forward position the most is PON technology; In the application of PON technology, OLT (optical line terminal, optical line terminal) equipment is important local side apparatus part.Large-scale computer posture OLT often includes: master control borad, PON plate (GPON plate or EPON plate), upper connective plate, backboard, power panel and fan board; Small-sized 1U boxlike OLT also mainly contains: master control borad, PON card (GPON card or EPON card), power panel and backboard, and provide fan control interface by backboard.In OLT equipment, master control borad is to communicate with each business board, and each veneer also needs to master control borad reporting information, and then master control borad issues configuration file to each business board, and manage.
And there is following shortcoming in traditional service card management method:
If a OLT product has a plurality of business boards, every business board need to increase CPU or programming asic chip manages, CPU just need to increase a large amount of chips to the management of PON chip so, the layout and wiring difficulty of veneer have been increased, increased the design difficulty between master control borad and business board, increase product design costs, and caused the problem of being inconvenient to manage.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of CPU to the management system of a plurality of business boards and method, when solving prior art if be used for and having a plurality of business board, every business board need to increase CPU or programming asic chip manages, CPU just need to increase a large amount of chips to the management of PON chip so, the layout and wiring difficulty of veneer have been increased, increased the design difficulty between master control borad and business board, increase product design costs, and caused the problem of being inconvenient to manage.
For achieving the above object and other relevant objects, one aspect of the present invention provides the management system of a kind of CPU to a plurality of business unit, be applied to optical line terminal equipment, comprise: CPU, attribute information for pre-stored a plurality of business unit, attribute information to described a plurality of business unit manages, and according to the attribute information of described a plurality of business unit, issues respectively the configuration data file that the attribute information with described business unit matches; The crosspoint being connected with described CPU, for receiving attribute information and the described configuration data file of described a plurality of business unit, and detect the quantity of business unit in place in a plurality of business unit of hanging under described crosspoint, the quantity of the business unit in place detecting is fed back to described CPU; A plurality of physical chips that are connected with described crosspoint with described CPU respectively, be used for by corresponding with its physical attribute, the first data-interface that is included in described CPU is connected to select to determine its second data-interface being connected with described crosspoint; Wherein, described CPU configures the quantity of the 3rd data-interface that the attribute with described the second data-interface of described crosspoint is identical according to the quantity of described business unit, the business unit in place that makes described crosspoint by described the 3rd data-interface, the configuration data file receiving is issued to respectively according to the attribute information of business unit hanging under described crosspoint is to realize the configuration management to it; The quantity of described the 3rd data-interface is more than or equal to the quantity of described business unit.
Preferably, described CPU also comprises for connecting described crosspoint and a plurality of business unit the management system of a plurality of business unit, and expands the backboard linkage unit that described configuration data file issues passage; Described crosspoint is issued to described configuration data file respectively according to the attribute information of described business unit a plurality of business unit that are connected with described backboard linkage unit that match with it by described backboard linkage unit.
Preferably, described CPU transfers to described crosspoint by meeting the serial communication bus of MDC/MDIO bus protocol by described configuration data file.
Preferably, described the first data-interface is Media Independent Interface and/or serial kilomegabit Media Independent Interface.
Preferably, described physical chip comprises 100,000,000 physical chips and/or gigabit physical chip, the second data-interface that described 100,000,000 physical chips are corresponding is fastethernet interface, and the second data-interface that described gigabit physical chip is corresponding is gigabit ethernet interface.
Preferably, the 3rd data-interface of described crosspoint be fastethernet interface and/gigabit ethernet interface.
Preferably, described the 3rd data-interface is also used as debug port, business unit described in dereference when described debug port is connected with terminal equipment.
The present invention also provides the management method of a kind of CPU to a plurality of business unit on the other hand, be applied to optical line terminal equipment and comprise CPU, crosspoint, physical chip, and the management system of the CPU of backboard linkage unit composition to a plurality of business unit, described crosspoint is hung a plurality of business unit by connecting under described backboard linkage unit, described CPU comprises the management method of a plurality of business unit: described CPU is according to the actual operation requirements to described optical line terminal equipment, send the attribute information of pre-stored a plurality of business unit, and the configuration data file matching with the attribute information of described business unit is to described crosspoint, the attribute information of the pre-stored a plurality of business unit of described CPU, described crosspoint receives attribute information and the described configuration data file of described a plurality of business unit, and detect the quantity of business unit in place in a plurality of business unit of hanging under described crosspoint, the quantity of the business unit in place detecting is fed back to described CPU, described physical chip is by corresponding with its physical attribute, and the first data-interface that is included in described CPU is connected to select to determine its second data-interface being connected with described crosspoint, described CPU configures the quantity of the 3rd data-interface that the attribute with described the second data-interface of described crosspoint is identical according to the quantity of described business unit, the business unit in place that makes described crosspoint by described the 3rd data-interface, the configuration data file receiving is issued to respectively according to the attribute information of business unit hanging under described crosspoint is to realize the configuration management to it, the quantity of described the 3rd data-interface is more than or equal to the quantity of described business unit.
Preferably, described CPU also comprises that to the management method of a plurality of business unit described crosspoint is issued to described configuration data file respectively according to the attribute information of described business unit a plurality of business unit that are connected with described backboard linkage unit that match by described backboard linkage unit.
Preferably, described the first data-interface is Media Independent Interface and/or serial kilomegabit Media Independent Interface; Described physical chip comprises 100,000,000 physical chips and/or gigabit physical chip, and the second data-interface that described 100,000,000 physical chips are corresponding is fastethernet interface, and the second data-interface that described gigabit physical chip is corresponding is gigabit ethernet interface; The 3rd data-interface of described crosspoint be fastethernet interface and/gigabit ethernet interface.
As mentioned above, CPU of the present invention, to the management system of a plurality of business boards and method, has following beneficial effect:
First in whole OLT equipment, has a cpu chip on master control borad, just can control all business boards, makes using and managing more quick and easy of OLT.
Second in OLT equipment, CPU docks with exchange chip by PHY, by exchange chip management channels out, be connected with business board again, so not only facilitate hardware designs, also make master control borad cpu chip can control whole OLT, avoided so all using cpu chip on each piece business board, not only greatly reduced product cost, be also convenient to master control borad control and management passage and realize the management to each business board simultaneously.
Accompanying drawing explanation
Fig. 1 is shown as the principle assumption diagram of CPU of the present invention to the management system of a plurality of business boards.
Fig. 2 is shown as the embodiment schematic diagram of CPU of the present invention to the management system of a plurality of business boards.
Fig. 3 is shown as the flow chart of CPU of the present invention to the management method of a plurality of business boards.
Element numbers explanation
1 CPU is to a plurality of business
The management system of plate
11 CPU
12 crosspoints
13 physical chips
14 backboard linkage units
2 optical line terminal equipments
21 business unit
S1~S4 step
Embodiment
Below, by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the disclosed content of this specification.The present invention can also be implemented or be applied by other different embodiment, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications or change not deviating under spirit of the present invention.It should be noted that, in the situation that not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram providing in following examples only illustrates basic conception of the present invention in a schematic way, satisfy and only show with assembly relevant in the present invention in graphic but not component count, shape and size drafting while implementing according to reality, during its actual enforcement, kenel, quantity and the ratio of each assembly can be a kind of random change, and its assembly layout kenel also may be more complicated.
Embodiment mono-
The present embodiment provides the management system 1 of a kind of CPU to a plurality of business boards, be applied to optical line terminal equipment 2, refer to Fig. 1, be shown as the principle assumption diagram of described CPU to the management system of a plurality of business boards, described CPU comprises the management system 1 of a plurality of business boards: CPU 11, crosspoint 12, a plurality of physical chip 13, and backboard linkage unit 14, described crosspoint 12 is hung several business unit 21 for 14 times by described backboard linkage unit.
Wherein, described CPU 11 is for the attribute information of pre-stored a plurality of business unit 21, attribute information to described a plurality of business unit 21 manages, and according to the attribute information of described a plurality of business unit 21, issues respectively configuration data file that the attribute information with business unit described in each 21 matches to described crosspoint 12.Described CPU 11 transfers to described crosspoint 12 by meeting the serial communication bus of MDC/MDIO bus protocol by described configuration data file.
Described crosspoint 12 is connected with described CPU 11, for receiving the attribute information of described a plurality of business unit 21 and the described configuration data file matching with business unit described in each 21, and detect the quantity of business unit 21 in place in a plurality of business unit 21 that described crosspoint 12 times hangs, and detect the quantity of the business unit 21 under mode of operation and judge which business unit 21 in place and which business unit 21 in not in place so that described CPU 11 is obtained the attribute information of the attribute information of business unit 21 in place and business unit 21 not in place, the quantity of the business unit in place 21 detecting is fed back to described CPU 12.In the present embodiment, described crosspoint 12 is also for detection of the quantity of business unit 21 not in place, and this incremental data is fed back to described CPU 12.
A plurality of described physical chips 13 are connected with described crosspoint 12 with described CPU 11 respectively, be used for by corresponding with its physical attribute, the first data-interface that is included in described CPU 11 is connected the second data-interface of selecting definite a plurality of described phy chips 13 to be connected with described crosspoint 12.In the present embodiment, described first data-interface of described CPU 11 includes but not limited to Media Independent Interface and/or serial kilomegabit Media Independent Interface.Described physical chip 13 includes but not limited to 100,000,000 physical chips and/or gigabit physical chip, the second data-interface of described crosspoint 12 includes but not limited to that second data-interface corresponding with described 100,000,000 physical chips is fastethernet interface, and second data-interface corresponding with gigabit physical chip is gigabit ethernet interface.
Wherein, described CPU 11 configures the quantity of the 3rd data-interface that the attribute with described the second data-interface of described crosspoint 12 is identical according to the quantity of described business unit 21, and according to the attribute information of the business unit 21 described in place getting, make described crosspoint 12 by described the 3rd data-interface, the configuration data file receiving is issued to respectively to business unit in place 21 configuration management to it with realization of hanging for 12 times at described crosspoint according to the attribute information of business unit 21; The quantity of described the 3rd data-interface is more than or equal to the quantity of described business unit 21, with each the piece service board 12 that guarantees down to hang under described crosspoint 12, all has a management channels.In the present embodiment, described CPU 11 also can according to the state information of business unit 21 in place and business unit 21 not in place control described crosspoint 12 the 3rd data-interface unlatching and/or close.If the state information not in place of described business unit 21 detected, described CPU 11 is controlled described the 3rd data-interface according to the attribute information of the described business unit 21 not in place getting and is not opened effectively to realize the energy-conservation of the 3rd data-interface, effectively saves the power consumption of system.The 3rd data-interface of described crosspoint be fastethernet interface and/gigabit ethernet interface, that is to say that described the second data-interface is identical with described the 3rd data-interface.
In the present embodiment, described CPU also comprises a backboard linkage unit 14 to the management system 1 of a plurality of business unit, described backboard linkage unit 14 is for connecting described crosspoint 12 and a plurality of business unit 21, and issues passage for expanding described configuration data file.Described crosspoint 12 is issued to described configuration data file respectively according to the attribute information of described business unit 21 business unit 21 that matches and be connected with described backboard linkage unit with described business unit 21 by described backboard linkage unit 13.
Described the 3rd data-interface can also be used as debug port in the present embodiment, when described debug port and terminal equipment, for example, PC, notebook, just can dereference when mobile terminal etc. are connected described in business unit 21.
According to the description of above technical scheme, this example provides embodiment, refers to Fig. 2, is shown as the embodiment of CPU to the management system of a plurality of business boards.Described CPU is a 1U boxlike OUT equipment to the embodiment of the management system 1 of a plurality of business boards, described CPU 11 adopts the BCM5300311 of Broadcom company, that described crosspoint 12 is that an exchange chip adopts is the 88E6097 of MARVELL company, described physical chip 13 is the BCM5241 that 100,000,000 PHY chips adopt Broadcom company, because use on boxlike OLT, only have two PON cards, be business unit 21, the exchange chip interface of therefore selecting is less.Concrete annexation is as shown in Figure 2: cpu chip BCM53003 goes out first data-interface, be that MII interface transfers FE interface to through 100,000,000 PHY chip BCM5241 and is connected with 100,000,000 mouthfuls of exchange chip 88E6097 the second data-interfaces, BCM53003 is managed, configures exchange chip 88E6097 by SMI bus simultaneously, the address that simultaneously also can configure 88E6097 by hardware, after software-driven, access 88E6097.Exchange chip the 3rd data-interface P0 is connected with outside RJ45, and as debug port, after can using netting twine to be connected with computer, access PON card joins; First of exchange chip the 3rd data-interface is that FE interface is connected with PON card 2 with PON card 1 with second the 3rd data-interface.Like this, system is after operation, and CPU can directly access PON card by exchange chip 88E6097, and PON card is issued to configuration file, manages.
The CPU part of this embodiment can be used more powerful CPU to substitute as the P2020 system of freescale company according to demand, also can use logic chip to substitute.PHY chip also can be used corresponding 100,000,000 PHY chips or gigabit PHY chip as requested.If design is large-scale OLT equipment, need the business board of management more, can use with the more exchange chip of interface, as the BCM53283 of Broadcom company, can provide a plurality of FE interfaces.
The CPU providing described in the present embodiment in whole OLT equipment, has a cpu chip to the management system first of a plurality of business boards on master control borad, just can control all business boards, makes using and managing more quick and easy of OLT.Second in OLT equipment, CPU docks with exchange chip by PHY, by exchange chip management channels out, be connected with business board again, so not only facilitate hardware designs, also make master control borad cpu chip can control whole OLT, avoided so all using cpu chip on each piece business board, not only greatly reduced product cost, be also convenient to master control borad control and management passage and realize the management to each business board simultaneously.
Embodiment bis-
The present embodiment provides the management method of a kind of CPU to a plurality of business unit, be applied to CPU that optical line terminal equipment comprises that CPU, crosspoint, physical chip and backboard linkage unit the form management system to a plurality of business unit, described crosspoint is hung a plurality of business unit by connecting under described backboard linkage unit, refer to Fig. 3, be shown as the flow chart of CPU to the management method of a plurality of business unit, described CPU comprises the following steps the management method of a plurality of business unit:
S1, described CPU, according to the actual operation requirements to described optical line terminal equipment, sends the attribute information of pre-stored a plurality of business unit, and the configuration data file matching with the attribute information of described business unit is to described crosspoint.The attribute information of the pre-stored a plurality of business unit of described CPU.
S2, described crosspoint receives attribute information and the described configuration data file of described a plurality of business unit, and detect the quantity of business unit in place in a plurality of business unit of hanging under described crosspoint and judge which business unit obtains the attribute information of business unit in place and the attribute information of business unit in place not in place and which business unit in not in place so that described CPU, feeds back to described CPU by the quantity of the business unit in place detecting.In this step, described crosspoint also detects the not quantity of business unit in place, and this incremental data is fed back to described CPU.
S3, described physical chip is by corresponding with its physical attribute, and the first data-interface that is included in described CPU is connected to select to determine its second data-interface being connected with described crosspoint.In the present embodiment, described first data-interface of described CPU includes but not limited to Media Independent Interface and/or serial kilomegabit Media Independent Interface.Described physical chip includes but not limited to 100,000,000 physical chips and/or gigabit physical chip, the second data-interface of described crosspoint includes but not limited to that second data-interface corresponding with described 100,000,000 physical chips is fastethernet interface, and second data-interface corresponding with gigabit physical chip is gigabit ethernet interface.
S4, described CPU configures the quantity of the 3rd data-interface that the attribute with described the second data-interface of described crosspoint is identical according to the quantity of described business unit, and according to the attribute information of the described business unit in place getting, the business unit in place that makes described crosspoint by described the 3rd data-interface, the configuration data file receiving is issued to respectively according to the attribute information of business unit hanging under described crosspoint is to realize the configuration management to it; The quantity of described the 3rd data-interface is more than or equal to the quantity of described business unit.In this step, also comprise according to business unit in place and not the state information of business unit in place control described crosspoint the 3rd data-interface unlatching and/or close.If the state information not in place of described business unit detected, described CPU is controlled described the 3rd data-interface according to the attribute information of the described not business unit in place getting and is not opened effectively to realize the energy-conservation of the 3rd data-interface, effectively saves the power consumption of system.The 3rd data-interface of described crosspoint be fastethernet interface and/gigabit ethernet interface, that is to say that described the second data-interface is identical with described the 3rd data-interface.In this step, the step that described crosspoint is issued to the configuration data file receiving at the business unit in place of lower extension is, by described crosspoint, described configuration data file is sent to described backboard linkage unit, by backboard linkage unit, described configuration data file is issued to respectively to each business unit being connected with described backboard linkage unit of matching according to the attribute information of described business unit to realize the configuration management to it.
CPU of the present invention has following benefit to the management system of a plurality of business unit and method,
First in whole OLT equipment, has a cpu chip on master control borad, just can control all business boards, makes using and managing more quick and easy of OLT.
Second in OLT equipment, CPU docks with exchange chip by PHY, by exchange chip management channels out, be connected with business board again, so not only facilitate hardware designs, also make master control borad cpu chip can control whole OLT, avoided so all using cpu chip on each piece business board, not only greatly reduced product cost, be also convenient to master control borad control and management passage and realize the management to each business board simultaneously.
So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.