CN102143006B - Interface topology control method, system and device for communication equipment - Google Patents

Interface topology control method, system and device for communication equipment Download PDF

Info

Publication number
CN102143006B
CN102143006B CN 201110097783 CN201110097783A CN102143006B CN 102143006 B CN102143006 B CN 102143006B CN 201110097783 CN201110097783 CN 201110097783 CN 201110097783 A CN201110097783 A CN 201110097783A CN 102143006 B CN102143006 B CN 102143006B
Authority
CN
China
Prior art keywords
interface
ply
main control
control card
yarn drill
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201110097783
Other languages
Chinese (zh)
Other versions
CN102143006A (en
Inventor
熊途
杨凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN 201110097783 priority Critical patent/CN102143006B/en
Publication of CN102143006A publication Critical patent/CN102143006A/en
Application granted granted Critical
Publication of CN102143006B publication Critical patent/CN102143006B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Looms (AREA)

Abstract

The invention discloses an interface topology control method, an interface topology control system and an interface topology control device for communication equipment. The method comprises that: when receiving line card interface information from line cards, a master control card allocates global identifiers to line card interfaces corresponding to the received line card interface information, and adds the received line card interface information and the corresponding global identifiers into a pre-established master control card interface table; the master control card synchronizes the received line card interface information and the corresponding global identifiers to all the line cards in the communication equipment; and when receiving the line card interface information and the corresponding global identifiers synchronized by the master control card, the line cards update local line card interface tables according to the received line card interface information and the corresponding global identifiers. In the method, the system and the device, the interface information between the master control card and the line cards is maintained and synchronized by the interface tables, interface topology management control is realized conveniently and highly efficiently, and the reliability of the communication equipment is improved.

Description

Interface topology control method in the communication apparatus, system and device
Technical field
The present invention relates to communication technique field, interface topology control method, system and device in espespecially a kind of communication apparatus.
Background technology
Communication apparatus in the network comprises router, switch, bridge, fire compartment wall etc., for example: the framework that Figure 1 shows that conventional network equipment forms schematic diagram, this network equipment comprises the backboard that is arranged in the cabinet, can patch main control card and business board on backboard, business board can comprise a plurality of, business board A as shown in Figure 1 and business board B etc.Wherein the structure of business board can be inserted a plurality of ply-yarn drills on each business board as shown in Figure 2, therefore a plurality of interfaces can be arranged.
Because communication apparatus need to connect various communication apparatus, its interface also must be varied.Take router as example, it both can be positioned at the internal subnet edge, also can be positioned at inside and outside network edge, may need to connect diverse network simultaneously, so its interface also can comprise some classifications such as lan interfaces, Wide Area Network interface and configuration interface.Common lan interfaces has coaxial cable interface AUI, coaxial cable connector (BayonetNut Connector, BNC) and RJ-45 Ethernet interface etc., common Wide Area Network interface has asynchronous transfer mode (Asynchronous Transfer Mode, ATM) interface, Fiber Distributed Data Interface (FiberDistributed Data Interface, FDDI), the E1 interface, the high-speed synchronous mouth, asynchronous serial interface, integrated services digital network (Integrated Service Digital NeTwork, ISDN), isdn primary rate interface (ISDNBasid Rate Interface, ISDN-BRI) etc., common configuration interface has management (CONSOLE) interface and auxiliary management (AUX) interface.Can distinguish interface on the communication apparatus by information such as device number, groove number, pilot trench number.
Because each integrated circuit board on the communication apparatus comprises that business board and master control borad, ply-yarn drill etc. have the interface of oneself, therefore for communication apparatus, it is very important that the interface Topology Management is safeguarded, the quality of maintenance is very large on the impact of systematic function.The at present management maintenance of docking port topology control mainly contains following dual mode:
Mode one: each business board is safeguarded the physical interface of oneself, and each ply-yarn drill is uncorrelated mutually.In this case, main control card is interface quantity and the interface distributed intelligence in the reaction system intuitively, in the time of need to being managed for configuration the related works such as control, must log on by the internal managing path of distributed system the collection that corresponding ply-yarn drill carries out the information such as business configuration deployment and daily record.
Mode two: each ply-yarn drill is safeguarded the interface relationship of oneself, and master control borad creates virtual interface, in order to directly be managed for configuration work in master control by detecting the type of ply-yarn drill.In this case, master control borad carries out specially periodicity and detects by creating a task, reaches the virtual interface that keeps in the master control state consistent with physical interface information on the ply-yarn drill.This mode must be safeguarded background thread at main control card, and this thread periodically starts, and can take a large amount of CPU; And only have interface relationship at master control borad, and do not know the topology situation of interface each other between the ply-yarn drill, when the data retransmission that carries out between ply-yarn drill, need to arrive and carry out routing on the master control borad and process, easily cause performance bottleneck.
As seen, the implementation of existing communication apparatus interface Topology Management control, for the various types of interfaces in the communication apparatus, main control card can not well be realized interface topology maintenance control on the communication apparatus, business board and ply-yarn drill all can only be safeguarded the interface of oneself, can not know the interface message of other integrated circuit boards.Main control card is when carrying out the control and management of interface topology, need to arrive on the ply-yarn drill obtaining information could realize, need to safeguard specific background thread, this all can cause the waste of main control card system resource, simultaneously, can not realize that ply-yarn drill gets access to the interface message of other ply-yarn drills easily, interface Topology Management efficient is low, very flexible, causes equipment operating efficiency and reliability to reduce.
Summary of the invention
The embodiment of the invention provides interface topology control method, system and the device in a kind of communication apparatus, can not realize flexibly in order to solve in the prior art communication apparatus, efficiently interface Topology Management and control, the problem that causes equipment operating efficiency and reliability to reduce.
Interface topology control method in a kind of communication apparatus comprises:
When main control card receives the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives, and the ply-yarn drill interface message and the corresponding overall identification that receive are added in the main control card interface table of setting up in advance; And
Main control card is synchronized to all ply-yarn drills in the communication apparatus with the ply-yarn drill interface message that receives and corresponding overall identification;
When ply-yarn drill receives the overall identification of the synchronous ply-yarn drill interface message of main control card and correspondence, upgrade local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
A kind of main control card interface topology control device comprises:
Receive dispensing unit, when being used for receiving the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives;
Interface table maintenance unit, the ply-yarn drill interface message and the corresponding overall identification that are used for receiving are added the main control card interface table of setting up in advance to; And
Information synchronizing unit is used for all ply-yarn drills that the ply-yarn drill interface message that will receive and corresponding overall identification are synchronized to communication apparatus.
A kind of main control card comprises: above-mentioned main control card interface topology control device.
A kind of ply-yarn drill interface topology control device comprises:
The synchronized transmission unit, the ply-yarn drill interface message that is used for sending is to main control card;
Information receiving unit is used for receiving the synchronous ply-yarn drill interface message of main control card and corresponding overall identification;
Interface table maintenance unit is used for upgrading local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
A kind of ply-yarn drill comprises: above-mentioned ply-yarn drill interface topology control device.
Interface in a kind of communication apparatus topology control system comprises: main control card, ply-yarn drill, be arranged on the above-mentioned main control card interface topology control device on the main control card and be arranged on above-mentioned ply-yarn drill interface topology control device on the ply-yarn drill.
Beneficial effect of the present invention is as follows:
Interface topology control method in the communication apparatus that the embodiment of the invention provides, system and device, by maintenance interface table on main control card and ply-yarn drill, and the interface message between synchronous main control card and the ply-yarn drill, make on main control card and the ply-yarn drill and all to safeguard and also in time know the interface message on the main control card and each ply-yarn drill in the communication apparatus, thereby monitor the last state of each interface; This mode can realize overall dynamic management, maintenance and the control of interface topology, implementation flexibly, efficiently, can not bring too much load to main control card, reduced the processing load of main control card, need not safeguard that background thread just can be so that main control card and ply-yarn drill all can in time learn the variation of interface message, therefore this mode has realized convenience, efficiently interface Topology Management control in the situation that do not reduce systematic function, improves the reliability of communication apparatus.
Description of drawings
Fig. 1 is the structural representation of communication apparatus in the prior art;
Fig. 2 is the structural representation of business board in the prior art;
Fig. 3 is the flow chart of the interface topology control method in the communication apparatus in the embodiment of the invention;
Fig. 4 is the flow chart of the interface topology control method of main control card side in the embodiment of the invention one;
Fig. 5 is the flow chart of the interface topology control method of ply-yarn drill side in the embodiment of the invention two;
Fig. 6 is the structural representation of the topology of the interface in communication apparatus control system in the embodiment of the invention;
Fig. 7 is the structural representation of main control card interface topology control device in the embodiment of the invention;
Fig. 8 is the structural representation of embodiment of the invention center line card interface topology control device.
Embodiment
For communication apparatus in the prior art can not realize flexibly, the problem of efficiently interface Topology Management and control, the embodiment of the invention provides a kind of more flexible, more efficient interface Topology Management scheme.Interface topology control method in the communication apparatus that the embodiment of the invention provides is safeguarded respectively main control card interface table and ply-yarn drill interface table on main control card and ply-yarn drill.
When main control card starts, create main control card interface table, write main control card interface table with self main control card interface message and for the overall identification (Global ID) of main control card interface assignment; During interface variation on the main control card, upgrade main control card interface table according to the main control card interface message of the main control card interface that changes and for the overall identification of the main control card interface assignment that changes.For example: when increasing interface on the main control card, write in the main control card interface table with the interface message (being the main control card interface message) of the main control card interface that increases and for the overall identification of the main control card interface assignment of this increase.When reducing interface on the main control card, delete from main control card interface table with the interface message of the main control card interface that reduces and for the overall identification of the main control card interface assignment of this minimizing.
Preferably, main control card can be internal interface (inside) for self main control card interface configuration local identities (local I D) and with the attribute flags of self main control card interface also.
During ply-yarn drill Insert service card slot, create ply-yarn drill interface table and self ply-yarn drill interface message is write in the ply-yarn drill interface table.
Preferably, ply-yarn drill can be internal interface (inside) for self ply-yarn drill interface configuration local identities (local I D) and with the attribute flags of self ply-yarn drill interface also.
Interface topology control method in the communication apparatus that the embodiment of the invention provides, its flow process comprises the steps: as shown in Figure 3
Step S11: main control card receives the ply-yarn drill interface message that ply-yarn drill sends.
During ply-yarn drill Insert service plate slot, can create ply-yarn drill interface table, and self ply-yarn drill interface message is synchronized to main control card.The main control card Real Time Monitoring receives the ply-yarn drill interface message that each ply-yarn drill sends.
When interface message on the ply-yarn drill changes, self ply-yarn drill interface message is sent to main control card.Interface on the ply-yarn drill generally can not change, but the ply-yarn drill interface message may change owing to the state variation of ply-yarn drill interface.
Step S12: when main control card receives the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives, and the ply-yarn drill interface message and the corresponding overall identification that receive are added in the main control card interface table of setting up in advance.
When main control card receives the ply-yarn drill interface message of ply-yarn drill transmission, can whether store this ply-yarn drill interface message in the main control card interface table according to self maintained, determine to upgrade or create new ply-yarn drill interface message record.Realization writes the ply-yarn drill interface message that receives in the main control card interface table.
Preferably, when main control card receives the ply-yarn drill interface message of ply-yarn drill transmission, also can be the involved ply-yarn drill interface assignment local I D of the ply-yarn drill interface message that receives, the attribute flags of the ply-yarn drill interface that will be referred to simultaneously is external interface (outside)
That is to say, main control card is except for the main control card interface and ply-yarn drill interface assignment overall identification that record in the main control card interface table, also can be main control card interface and the ply-yarn drill interface assignment local identities of the record in the main control card interface table, and be internal interface with the attribute flags of main control card interface of record and be external interface with the attribute flags of the ply-yarn drill interface of record.Wherein, overall identification can only and be synchronized to ply-yarn drill by the main control card unified distribution.
Step S13: main control card is synchronized to all ply-yarn drills in the communication apparatus with the ply-yarn drill interface message that receives and corresponding overall identification.
Main control card can be synchronized to each the ply-yarn drill interface message that receives all ply-yarn drills in the communication apparatus successively, so that the interface message in the ply-yarn drill interface table of safeguarding in the ply-yarn drill and the interface message in the main control card interface table are synchronous, make ply-yarn drill can know easily interface message on other ply-yarn drills and the main control card.
Preferably, the mode of main control card by overall situation broadcasting is synchronized to all ply-yarn drills in the communication apparatus with the ply-yarn drill interface message.
Step S14: when ply-yarn drill receives the overall identification of the synchronous ply-yarn drill interface message of main control card and correspondence, upgrade local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
When ply-yarn drill receives the overall identification of the synchronous ply-yarn drill interface message of main control card and correspondence, upgrade local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.If ply-yarn drill is determined the interface message record that has had the involved interface of the ply-yarn drill interface message that receives in self ply-yarn drill interface table, then whether identical with the ply-yarn drill interface message of record according to the ply-yarn drill interface message that receives, determine whether that needs upgrade the interface message of this ply-yarn drill interface.If ply-yarn drill is determined the interface message record that does not have the involved interface of the ply-yarn drill interface message that receives in self ply-yarn drill interface table, then create new interface message record in the online clamping oral thermometer, the ply-yarn drill interface message that receives is write in the ply-yarn drill interface table.
Preferably, the ply-yarn drill interface assignment local identities that ply-yarn drill also can relate to for the ply-yarn drill interface message that receives, be convenient to ply-yarn drill and search record in the ply-yarn drill interface table, the attribute flags of the ply-yarn drill interface that simultaneously the ply-yarn drill interface message that receives is related to is external interface (outside).
As seen, ply-yarn drill is main control card interface and the ply-yarn drill interface assignment local identities for recording in the local ply-yarn drill interface table only, and the attribute flags of self ply-yarn drill interface that will record is internal interface and is external interface with the attribute flags of the ply-yarn drill interface of other ply-yarn drills of main control card interface of recording.
Interface topology control method in the above-mentioned communication apparatus, also comprise main control card synchronously self main control card interface message to the process of each ply-yarn drill in the communication apparatus.
When main control card starts, main control card interface message and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus; And the main control card interface variation on the main control card or main control card interface message be when changing, and the main control card interface message that changes and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus; When ply-yarn drill receives the overall identification of the synchronous main control card interface message of main control card and correspondence, upgrade local ply-yarn drill interface table according to the main control card interface message that receives and corresponding overall identification.
Comprise one of following message or combination in ply-yarn drill interface message in the said method and the main control card interface message: interface type information, interface IP address information and interface status information.Wherein, interface type information comprises: being physical interface or logic interfacing, is sub-interface or main interface etc.Interface IP address information comprises interface IP address etc.Interface status information comprises that interface is connected state or off-state etc.
Preferably, the interface topology control method in the above-mentioned communication apparatus comprises also that main control card sends to ply-yarn drill to check or obtain order, and receives ply-yarn drill according to the statistics of checking or obtain order returns self ply-yarn drill interface.Because the only synchronous interface message of each interface on the ply-yarn drill on the main control card, and the synchronous higher statistics of change frequency of inconvenience, for example: the statistics of ply-yarn drill interface comprises interface data bag quantity, interface data bag number of errors.Therefore, when main control card wants to know the statistics of the interface on the ply-yarn drill, can initiatively go to obtain.
Below by specific embodiment interface topology control implementation procedure on main control card and the ply-yarn drill is described respectively.
Embodiment one:
Interface topology control method in the communication apparatus that the embodiment of the invention one provides specifically describes the interface topology control implementation procedure on the main control card, and its flow process comprises the steps: as shown in Figure 4
Step S101: main control card starts, and creates main control card interface table.
Main control card is finished the establishment of the main control card interface table of self maintained after starting, and prepares the synchronizing signal of the line synchro card interface information of reception ply-yarn drill transmission.
Step S102: main control card is self main control card interface assignment overall identification, and the overall identification of self main control card interface message and distribution is write main control card interface table.
When main control card writes the main control card interface table of self maintained with self main control card interface message, the interface of correspondence can be stamped the inside mark, its attribute of mark is internal interface.
Step S103: main control card is synchronized to each ply-yarn drill with self main control card interface message.
Interface on the main control card may have a plurality of, main control card can with the mode of broadcasting successively synchronously the interface message of each main control card interface to all ply-yarn drills in the communication apparatus, until the synchronous interface message of complete all main control card interfaces.
Step S104: main control card monitoring self main control card interface variation or self main control card interface message change.
Interface on the main control card may increase or reduce, and the interface message on the main control card also may change because of the variation of Interface status simultaneously.
Step S105: whether the main control card interface variation is arranged or noly have the main control card interface message to change.
If, execution in step S106, otherwise continue execution in step S104.
Step S106: main control card is synchronized to each ply-yarn drill with the main control card interface message that changes.
When the variation of the increase of main control card interface or minimizing is arranged, or when having the main control card interface message to change, main control card is synchronized to each ply-yarn drill in the mode of broadcasting with the main control card interface message that changes, and comprises the variation of main control card interface and the variation of main control card interface message.
Step S107: the main control card Real Time Monitoring receives the ply-yarn drill interface message that ply-yarn drill sends.
Main control card can receive the ply-yarn drill interface message that ply-yarn drill sends by Real Time Monitoring, in order to can in time know interface variation and the Interface status situation of change of ply-yarn drill.
Step S108: main control card is ply-yarn drill interface assignment overall identification corresponding to ply-yarn drill interface message that receives, and the ply-yarn drill interface message and the corresponding overall identification that receive are added in the main control card interface table of setting up in advance.
When main control card receives the ply-yarn drill interface message, can whether store the main control card interface table that synchronous to some extent ply-yarn drill interface message is upgraded local maintenance according to this locality.
For the ply-yarn drill interface message of the ply-yarn drill interface of having stored, whether main control card can change according to interface message, upgrades the corresponding information in the main control card interface table.For the ply-yarn drill interface message of the ply-yarn drill interface of not storing, main control card can create new record clauses and subclauses in main control card interface table, the ply-yarn drill interface message that receives is write in the main control card interface table.
Preferably, the ply-yarn drill interface assignment overall identification that main control card also can relate to for receiving the ply-yarn drill interface message in addition, also can be distributed local identities, is convenient to searching of main control card.
Step S109: main control card is synchronized to all ply-yarn drills in the communication apparatus with the ply-yarn drill interface message that receives and corresponding overall identification.
When main control card received a plurality of ply-yarn drill interface message, the overall identification of synchronous each ply-yarn drill interface message and correspondence was to all ply-yarn drills in the communication apparatus successively, and wherein main control card carries out in the mode of broadcasting synchronously.
The process of the main control card interface message that the described main control card of above-mentioned steps S104-step S106 changes synchronously and step S107-step S109 main control card receive the also process of line synchro card interface information, and execution sequence in no particular order.
Embodiment two:
Interface topology control method in the communication apparatus that the embodiment of the invention two provides specifically describes the interface topology control implementation procedure on the ply-yarn drill, and its flow process comprises the steps: as shown in Figure 5
Step S201: ply-yarn drill starts, and creates ply-yarn drill interface table.
Ply-yarn drill is finished the establishment of the ply-yarn drill interface table of self maintained after starting, and prepares to receive the synchronous main control card interface message of main control card transmission and the synchronizing signal of ply-yarn drill interface message.
Step S202: ply-yarn drill is self ply-yarn drill interface assignment local identities, and self ply-yarn drill interface message is write ply-yarn drill interface table.
When ply-yarn drill writes the ply-yarn drill interface table of self maintained with self ply-yarn drill interface message, the interface of correspondence can be stamped the inside mark, its attribute of mark is internal interface.
Step S203: ply-yarn drill is synchronized to main control card with self ply-yarn drill interface message.
Interface on the ply-yarn drill may have a plurality of, ply-yarn drill can with the mode of broadcasting successively synchronously the interface message of each ply-yarn drill interface to the main control card in the communication apparatus, until the synchronous interface message of complete all ply-yarn drill interfaces.
Step S204: ply-yarn drill monitoring self ply-yarn drill interface message changes.
Interface on the ply-yarn drill can not increase or reduce, but the interface message on the ply-yarn drill may change because of the variation of Interface status.
Step S205: whether wired card interface information changes.
If, execution in step S206, otherwise continue execution in step S204.
Step S206: ply-yarn drill is synchronized to main control card with the ply-yarn drill interface message that changes.
When wired card interface information changed, ply-yarn drill was synchronized to main control card in the mode of broadcasting with the ply-yarn drill interface message that changes.
Step S207: ply-yarn drill receives main control card interface message and the ply-yarn drill interface message that main control card sends.
Ply-yarn drill can Real Time Monitoring receives synchronous main control card interface message and the ply-yarn drill interface message of main control card, in order to can in time dynamically update relevant information in the ply-yarn drill interface table of self maintained, accomplishes effectively and timely interface message updating maintenance.
Step S208: the main control card interface message and the ply-yarn drill interface message that receive are added in the ply-yarn drill interface table of setting up in advance.
Ply-yarn drill receives the synchronous main control card interface message of main control card and ply-yarn drill interface message, can whether store the ply-yarn drill interface table that synchronous to some extent main control card interface message and ply-yarn drill interface message are upgraded local maintenance according to this locality.
For main control card interface message and the ply-yarn drill interface message of the main control card interface of having stored and ply-yarn drill interface, whether ply-yarn drill can change according to interface message, upgrades the corresponding information in the ply-yarn drill interface table.For being the main control card interface of storage and main control card interface message and the ply-yarn drill interface message of ply-yarn drill interface, ply-yarn drill can create new record clauses and subclauses in the online clamping oral thermometer, and main control card interface message and the ply-yarn drill interface message that receives write in the ply-yarn drill interface table.
Preferably, ply-yarn drill also can be the main control card interface message that receives corresponding main control card interface or ply-yarn drill interface assignment local identities corresponding to ply-yarn drill interface message.And be outside with the ply-yarn drill interface flag of main control card interface and other ply-yarn drills, take its attribute of mark as external interface.
The process of the ply-yarn drill interface message that the described ply-yarn drill of above-mentioned steps S204-step S206 changes synchronously and step S207-step S208 ply-yarn drill receive the processing procedure of main control card interface message and ply-yarn drill interface message, and execution sequence in no particular order.
In the method that the said method embodiment of the invention provides, its span of the overall identification that relates to and local identities is natural number, can be since 0 order-assigned, said method is not strict with main control card must finish startup prior to ply-yarn drill, as long as finally can reach the synchronous of interface message, in the situation that guarantee stablely, be that the ply-yarn drill interface table safeguarded on the main control card interface table safeguarded of main control card and the ply-yarn drill all can obtain synchronously correct interface message and gets final product.
Wherein, safeguard on the main control card and safeguard on main control card interface table and the ply-yarn drill that ply-yarn drill interface table can be by the achieve a butt joint management of message breath of following interface data organization definition.In this interface data structure, carry out the information management of interface by the integer that defines 32
struct_ef_intfcb?s{
uint32_tif_attr;
};
By if attr member variable assignment being reached the purpose of carrying out the interface message management.
ef_intf_lgc->if_attr=INSIDE;
By above-mentioned interface data structure, got final product the interface message in the maintenance interface table.
Interface topology control method in the communication apparatus that provides according to the embodiment of the invention, the embodiment of the invention also provides the control system of the interface topology in a kind of communication apparatus, this system configuration comprises as shown in Figure 6: main control card, ply-yarn drill, be arranged on the main control card interface topology control device on the main control card and be arranged on ply-yarn drill interface topology control device on the ply-yarn drill.
Main control card interface topology control device, when being used for receiving the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives, and the ply-yarn drill interface message and the corresponding overall identification that receive are added in the main control card interface table of setting up in advance; And main control card is synchronized to all ply-yarn drills in the communication apparatus with the ply-yarn drill interface message that receives and corresponding overall identification;
Ply-yarn drill interface topology control device when being used for receiving the overall identification of the synchronous ply-yarn drill interface message of main control card and correspondence, upgrades local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
Main control card interface topology control device and ply-yarn drill interface topology control device concrete function are referring to the description of following device part.
Interface topology control method in the communication apparatus that provides according to the embodiment of the invention, the embodiment of the invention also provides a kind of main control card interface topology control device, this device can be arranged on the main control card, its structure comprises as shown in Figure 7: receive dispensing unit 11, interface table maintenance unit 12 and information synchronizing unit 13.
Receive dispensing unit 11, when being used for receiving the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives.
Interface table maintenance unit 12, the ply-yarn drill interface message and the corresponding overall identification that are used for receiving are added the main control card interface table of setting up in advance to.
Information synchronizing unit 13 is used for all ply-yarn drills that the ply-yarn drill interface message that will receive and corresponding overall identification are synchronized to communication apparatus.
Preferably, above-mentioned interface table maintenance unit 12 also is used for: when main control card starts, create main control card interface table, write main control card interface table with self main control card interface message and for the overall identification of main control card interface assignment; During interface variation on the main control card, upgrade main control card interface table according to the main control card interface message of the main control card interface that changes and for the overall identification of the main control card interface assignment that changes.
Preferably, above-mentioned interface table maintenance unit 12, also be used for: be main control card interface and the ply-yarn drill interface assignment local identities of the record of main control card interface table, and be internal interface with the attribute flags of the main control card interface of record and be external interface with the attribute flags of the ply-yarn drill interface of record.
Preferably, above-mentioned information synchronizing unit 13 also is used for: when main control card starts, main control card interface message and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus; And the main control card interface variation on the main control card or main control card interface message be when changing, and the main control card interface message that changes and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus.
Preferably, above-mentioned main control card interface topology control device also comprises information acquisition unit 14, is used for sending to ply-yarn drill checking or obtain order, and receives ply-yarn drill according to the statistics of checking or obtain order returns self ply-yarn drill interface.
Interface topology control method in the communication apparatus that provides according to the embodiment of the invention, the embodiment of the invention also provides a kind of ply-yarn drill interface topology control device, this device can be arranged on the ply-yarn drill, the structure of this device comprises as shown in Figure 8: synchronized transmission unit 21, information receiving unit 22 and interface table maintenance unit 23.
Synchronized transmission unit 21, the ply-yarn drill interface message that is used for sending is to main control card.
Information receiving unit 22 is used for receiving the synchronous ply-yarn drill interface message of main control card and corresponding overall identification.
Interface table maintenance unit 23 is used for upgrading local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
Preferably, above-mentioned interface table maintenance unit 23 also is used for: during ply-yarn drill Insert service card slot, create ply-yarn drill interface table and self ply-yarn drill interface message is write in the ply-yarn drill interface table.
Preferably, above-mentioned interface table maintenance unit 23, also be used for: the main control card interface and the ply-yarn drill interface assignment local identities that record for the ply-yarn drill interface table of this locality, and will record self under the attribute flags of ply-yarn drill interface of ply-yarn drill be internal interface and be external interface with the attribute flags of the ply-yarn drill interface of the main control card interface of record and other ply-yarn drills.
Preferably, above-mentioned synchronized transmission unit 21 specifically is used for: when the Insert service card slot or the interface message on the ply-yarn drill when changing, self ply-yarn drill interface message is sent to main control card.
Preferably, above-mentioned information receiving unit 22 also is used for: receive the synchronous main control card interface message of main control card and corresponding overall identification; Accordingly, above-mentioned interface table maintenance unit 23 also is used for upgrading local ply-yarn drill interface table according to the main control card interface message that receives and corresponding overall identification.
Interface topology control method in the communication apparatus that the embodiment of the invention provides, system and device for the characteristic of communication apparatus, improve interface maintenance, management, the control mode of communication apparatus.Specifically by on main control card and ply-yarn drill, safeguarding separately an interface table, realize the maintenance management to interface message on main control card in the communication apparatus and each ply-yarn drill.Interface message between main control card and the ply-yarn drill is dynamic synchronization in real time, interface message in the interface table that main control card and ply-yarn drill can be safeguarded separately according to the synchronizing signal real-time update, final so that the interface message overall situation in the interface table that main control card and ply-yarn drill are safeguarded is consistent.Make on main control card and the ply-yarn drill and all to safeguard and also in time know in the communication apparatus interface message on the main control card and each ply-yarn drill, thereby monitor the last state of each interface.
This mode main control card directly is synchronized to ply-yarn drill with the interface message of self, and the interface message of video card reports first main control card, be synchronized to each ply-yarn drill by main control card again, thereby can realize the overall dynamic management of interface topology, safeguard and control, implementation is flexible, efficiently, can not bring too much load to main control card, reduced the processing load of main control card, need not safeguard that background thread just can be so that main control card and ply-yarn drill all can in time learn the variation of interface message, this mode has been optimized the implementation of interface Topology Management, in the situation that do not reduce systematic function, realized convenience, efficiently interface Topology Management control, the reliability of raising communication apparatus.
Said method of the present invention, can make things convenient for the interface Topology Management on main control card and the ply-yarn drill, be convenient to obtaining and searching of interface message, improved availability and the stability of interface Topology Management, for the forwarding data flow handling process between the follow-up optimization ply-yarn drill is provided convenience.Because after interface message is updated to ply-yarn drill synchronously, stored overall routing table on the ply-yarn drill, so that when transmitting between the online data card, only will control message repeating to main control card, the data flow message is then transmitted between the direct-on-line card and is got final product, like this because main control card is processed all agreement control messages, and data message is transmitted by ply-yarn drill, improve forward efficiency, simultaneously, also alleviated the processing load of main control card, reduced the systematic function bottleneck that main control card exists in data retransmission is processed, improve the ability of main control card processing controls message, improve the stability of a system of communication apparatus, promoted simultaneously operational efficiency and the reliability of communication apparatus.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (20)

1. the interface topology control method in the communication apparatus is characterized in that, comprising:
When main control card receives the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives, and the ply-yarn drill interface message and the corresponding overall identification that receive are added in the main control card interface table of setting up in advance; And
Main control card is synchronized to all ply-yarn drills in the communication apparatus with the ply-yarn drill interface message that receives and corresponding overall identification;
When ply-yarn drill receives the overall identification of the synchronous ply-yarn drill interface message of main control card and correspondence, upgrade local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
2. the method for claim 1 is characterized in that, main control card creates main control card interface table according to following process:
When main control card starts, create main control card interface table, and write main control card interface table with self main control card interface message and for the overall identification of main control card interface assignment;
Described method also comprises:
During interface variation on the main control card, upgrade main control card interface table according to the main control card interface message of the main control card interface after changing and for the overall identification of the main control card interface assignment after changing;
Ply-yarn drill creates ply-yarn drill interface table according to following process:
During ply-yarn drill Insert service card slot, create ply-yarn drill interface table, and self ply-yarn drill interface message is write in the ply-yarn drill interface table.
3. method as claimed in claim 2 is characterized in that, also comprises:
Main control card is main control card interface and the ply-yarn drill interface assignment local identities that records in the main control card interface table, and is internal interface with the attribute flags of main control card interface of record, and is external interface with the attribute flags of the ply-yarn drill interface of record;
Main control card interface and the ply-yarn drill interface assignment local identities of ply-yarn drill for recording in the local ply-yarn drill interface table, and the attribute flags of self ply-yarn drill interface that will record is internal interface, and is external interface with the attribute flags of the ply-yarn drill interface of the main control card interface of record and other ply-yarn drills.
4. the method for claim 1 is characterized in that, described ply-yarn drill sends to main control card with self the interface message of ply-yarn drill when the Insert service card slot or the interface message on the ply-yarn drill when changing.
5. the method for claim 1 is characterized in that, also comprises:
When main control card starts, main control card interface message and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus; And
When the main control card interface variation on the main control card or main control card interface message change, the main control card interface message that changes and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus;
When ply-yarn drill receives the overall identification of the synchronous main control card interface message of main control card and correspondence, upgrade local ply-yarn drill interface table according to the main control card interface message that receives and corresponding overall identification.
6. the method for claim 1 is characterized in that, comprises one of following message or combination in described ply-yarn drill interface message and the main control card interface message: interface type information, interface IP address information and interface status information.
7. such as the arbitrary described method of claim 1-6, it is characterized in that, also comprise:
Main control card sends to ply-yarn drill and checks or obtain order, and receives ply-yarn drill according to the statistics of checking or obtain order returns self ply-yarn drill interface.
8. a main control card interface topology control device is characterized in that, comprising:
Receive dispensing unit, when being used for receiving the ply-yarn drill interface message of ply-yarn drill transmission, be ply-yarn drill interface assignment overall identification corresponding to the ply-yarn drill interface message that receives;
Interface table maintenance unit, the ply-yarn drill interface message and the corresponding overall identification that are used for receiving are added the main control card interface table of setting up in advance to; And
Information synchronizing unit is used for all ply-yarn drills that the ply-yarn drill interface message that will receive and corresponding overall identification are synchronized to communication apparatus.
9. device as claimed in claim 8 is characterized in that, described interface table maintenance unit also is used for:
When main control card starts, create main control card interface table, write main control card interface table with self main control card interface message and for the overall identification of main control card interface assignment; During interface variation on the main control card, upgrade main control card interface table according to the main control card interface message of the main control card interface after changing and for the overall identification of the main control card interface assignment after changing.
10. device as claimed in claim 9 is characterized in that, described interface table maintenance unit also is used for:
Be main control card interface and the ply-yarn drill interface assignment local identities of the record in the main control card interface table, and be internal interface with the attribute flags of main control card interface of record, and be external interface with the attribute flags of the ply-yarn drill interface of record.
11. device as claimed in claim 8 is characterized in that, described information synchronizing unit also is used for:
When main control card starts, main control card interface message and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus; And the main control card interface variation on the main control card or main control card interface message be when changing, and the main control card interface message that changes and corresponding overall identification are synchronized to all ply-yarn drills in the communication apparatus.
12. such as the arbitrary described device of claim 8-11, it is characterized in that, also comprise:
Information acquisition unit is used for sending to ply-yarn drill and checks or obtain order, and receives ply-yarn drill according to the statistics of checking or obtain order returns self ply-yarn drill interface.
13. a main control card is characterized in that, comprising: such as the arbitrary described main control card interface topology control device of claim 8-12.
14. a ply-yarn drill interface topology control device is characterized in that, comprising:
The synchronized transmission unit is used for sending the ply-yarn drill interface message to main control card;
Information receiving unit is used for receiving the synchronous ply-yarn drill interface message of main control card and corresponding overall identification;
Interface table maintenance unit is used for upgrading local ply-yarn drill interface table according to the ply-yarn drill interface message that receives and corresponding overall identification.
15. device as claimed in claim 14 is characterized in that, described interface table maintenance unit also is used for:
During ply-yarn drill Insert service card slot, create ply-yarn drill interface table and self ply-yarn drill interface message is write in the ply-yarn drill interface table.
16. device as claimed in claim 15 is characterized in that, described interface table maintenance unit also is used for:
The main control card interface that records in the ply-yarn drill interface table for this locality and ply-yarn drill interface assignment local identities, and will record self under the attribute flags of ply-yarn drill interface of ply-yarn drill be internal interface, and be external interface with the attribute flags of the ply-yarn drill interface of the main control card interface of record and other ply-yarn drills.
17. device as claimed in claim 14 is characterized in that, described synchronized transmission unit specifically is used for:
When the Insert service card slot or the interface message on the ply-yarn drill when changing, self ply-yarn drill interface message is sent to main control card.
18. such as the arbitrary described device of claim 14-17, it is characterized in that, described information receiving unit also is used for: receive the synchronous main control card interface message of main control card and corresponding overall identification;
Described interface table maintenance unit also is used for: upgrade local ply-yarn drill interface table according to the main control card interface message that receives and corresponding overall identification.
19. a ply-yarn drill is characterized in that, comprising: such as the arbitrary described ply-yarn drill interface topology control device of claim 14-18.
20. the topology of the interface in communication apparatus control system, it is characterized in that, comprising: main control card, ply-yarn drill, be arranged on the main control card as the arbitrary described main control card interface topology control device of claim 8-12 and be arranged on the ply-yarn drill such as the arbitrary described ply-yarn drill interface topology control device of claim 14-18.
CN 201110097783 2011-04-18 2011-04-18 Interface topology control method, system and device for communication equipment Expired - Fee Related CN102143006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110097783 CN102143006B (en) 2011-04-18 2011-04-18 Interface topology control method, system and device for communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110097783 CN102143006B (en) 2011-04-18 2011-04-18 Interface topology control method, system and device for communication equipment

Publications (2)

Publication Number Publication Date
CN102143006A CN102143006A (en) 2011-08-03
CN102143006B true CN102143006B (en) 2013-09-18

Family

ID=44410247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110097783 Expired - Fee Related CN102143006B (en) 2011-04-18 2011-04-18 Interface topology control method, system and device for communication equipment

Country Status (1)

Country Link
CN (1) CN102143006B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139084B (en) * 2011-12-02 2016-01-20 迈普通信技术股份有限公司 In distributed communication equipment, main control card obtains flux of multicast method and apparatus
CN104052586B (en) * 2013-03-14 2018-01-23 中兴通讯股份有限公司 Realize the method and device that quick table is synchronous between line card
CN110752878B (en) 2014-06-30 2022-12-13 华为技术有限公司 Data processing method and device
CN105939279B (en) * 2015-08-19 2019-02-19 杭州迪普科技股份有限公司 Flow processing method and device
CN108462730A (en) * 2017-02-17 2018-08-28 中兴通讯股份有限公司 Interface ID management methods, client and server-side
CN113115133B (en) * 2021-03-10 2022-08-30 烽火通信科技股份有限公司 Method and system for discovering topology of expansion subframe
CN113992518A (en) * 2021-09-09 2022-01-28 新华三信息安全技术有限公司 Control method and device of network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123603A (en) * 2007-07-05 2008-02-13 中兴通讯股份有限公司 Configurable Ethernet interface backup system and method
CN101364889A (en) * 2008-09-24 2009-02-11 中兴通讯股份有限公司 Method for multicast user quick access
CN101808010A (en) * 2010-03-30 2010-08-18 杭州华三通信技术有限公司 Equipment management method and equipment management device and main control board

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7000052B2 (en) * 2003-02-24 2006-02-14 Cisco Technology, Inc. System and method for configuring and deploying input/output cards in a communications environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123603A (en) * 2007-07-05 2008-02-13 中兴通讯股份有限公司 Configurable Ethernet interface backup system and method
CN101364889A (en) * 2008-09-24 2009-02-11 中兴通讯股份有限公司 Method for multicast user quick access
CN101808010A (en) * 2010-03-30 2010-08-18 杭州华三通信技术有限公司 Equipment management method and equipment management device and main control board

Also Published As

Publication number Publication date
CN102143006A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
CN102143006B (en) Interface topology control method, system and device for communication equipment
EP2260611B1 (en) Automated power topology discovery
CN104486445B (en) Distributed extendable resource monitoring system based on cloud platform
CN108173691B (en) Cross-device aggregation method and device
CN103701913B (en) Data synchronization method and device
CN101902473B (en) Method for synchronously updating data based on grid GIS (Geographic Information System)
CN102843286A (en) Implementation method, device and system of virtual routers
CN102195815B (en) Network management method and device
CN108777668B (en) Routing resource control method and system of three-layer switch
US9054976B2 (en) Network configuration system based on location and configuration method thereof
CN102710436A (en) Network equipment management method, device, relative equipment and system
USRE46770E1 (en) Computer managing method
CN102769544A (en) Equipment service adaptation layer architecture in communication system and service adaptation layer realization method
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
CN102708063B (en) disk space management method and device
CN102957546A (en) Method, device and system for processing configuration
CN105681108A (en) Method and equipment for achieving configuration synchronization
CN102118274A (en) State monitoring method, device and system
CN101729413B (en) Multi-service processing system and method based on ATCA
CN111064622B (en) Network device, synchronization apparatus, and information transmission method
CN103501239B (en) A kind of port status synchronous method, relevant device and system
CN102375763B (en) System and method for realizing interprocess communication
CN100512037C (en) Method of data synchronization in main stock redundance system
CN101499932B (en) Firmware upgrading method for multiple network devices
CN111464346B (en) Main and standby control board synchronization method and system based on ATCA (advanced telecom computing architecture)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Star-net Ruijie Network Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130918

CF01 Termination of patent right due to non-payment of annual fee