CN104125097A - Management control communication method and equipment - Google Patents

Management control communication method and equipment Download PDF

Info

Publication number
CN104125097A
CN104125097A CN201410367103.1A CN201410367103A CN104125097A CN 104125097 A CN104125097 A CN 104125097A CN 201410367103 A CN201410367103 A CN 201410367103A CN 104125097 A CN104125097 A CN 104125097A
Authority
CN
China
Prior art keywords
management
board
service
main control
control board
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.)
Pending
Application number
CN201410367103.1A
Other languages
Chinese (zh)
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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201410367103.1A priority Critical patent/CN104125097A/en
Publication of CN104125097A publication Critical patent/CN104125097A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a management control communication method and equipment. The management control communication method mainly includes that a business board receives a management message, analyzes the management message according to business management object information of the business board defined in a configured sub-management information base, and returns a respond message to a main control board after executing the management business operation of the management message according to the analyzed result, wherein the management message is transmitted by the main control board when the main control board confirms that the management message is not the management message thereof according to an object board identification in the management message sent from a control manager. The management control communication method prevents the main control board understanding business functions of the business board; each business board is provided with the corresponding sub-management information base, so that the business management coupling relationship between the main control board and each business board is reduced.

Description

Communication method and device for control management
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and device for control management.
Background
The network management refers to operations of a network manager for performing centralized management on resources on a network through a network management program, and the operations include configuration management, performance and accounting management, problem management, operation management, change management and the like.
Currently, communication devices in the industry generally perform network management according to the network management model shown in fig. 1; as shown in fig. 1, the control manager generally resides in the Management workstation, the Network Agent (Agent) is located on the main control board, and can read any information on the main control board, and the main control board and the control manager are connected through a Qx interface or a Simple Network Management Protocol (SNMP) interface. The control manager is a processing entity for implementing network management, and is used for sending a management command to a network agent on the main control board and receiving various response commands or notifications sent by the network agent; the main control board uses the network agent to realize the management, monitoring and control of the running state of each service board in the network element, and meanwhile, the network agent is used as a communication service unit between the control manager and the service board to realize the control of the control manager on each managed resource in the network element.
As shown in fig. 1, after receiving a Management message sent by a control manager, a network agent analyzes the Management message by using Management object Information (including Management object Information of a main control board, service board general Management object Information, and service Management object Information of a service board) defined in a Management Information Base (MIB) and a protocol defined between the main control board and the control manager, obtains a service board identifier carried by the Management message, generates an analyzed Management message (the analyzed Management message is a Management message that can be identified by the service board), and sends the analyzed Management message to a corresponding service board according to the service board identifier, so that the service board performs a service Management operation according to the analyzed Management message.
Before the network agent receives the management packet, the service management object information of all the service boards included in the communication device and the service board general management object information that each service board wants to be maintained and managed by the main control board need to be copied on the main control board, so that the network agent can analyze the management packet sent by the control manager. If the added new service function is not defined in the MIB, the definition of the management object information of the service function needs to be added to the MIB. It can be seen that there is a coupling between the main control board and the service board in service management, and when the service board changes (for example, the service function of the service board is modified or a new service board is added), it is inevitable to adaptively adjust the service management object information of the service board copied on the main control board, which results in that the service management object information of the service board copied on the main control board is frequently revised again.
Disclosure of Invention
Embodiments of the present invention provide a communication method and device for control management, so as to solve the problem in the prior art that service management object information of a service board copied on a main control board is frequently revised due to a change in service functions of the service board or an addition of a new service board.
The embodiment of the invention adopts the following technical scheme:
a communication method for control management is applied to a communication device comprising a main control board and at least one service board, and the method comprises the following steps:
the service board receives the management message, analyzes the management message according to the service management object information of the service board defined in the configured sub-management information base, and returns a response message to the main control board after executing the management service operation requested by the management message according to the analysis result;
the management message is a management message forwarded by the main control board when the main control board determines that the management message is not the management message of the main control board according to a destination board identifier carried in the management message sent by the received control manager.
In the embodiment of the invention, by implementing the scheme, each service board is respectively provided with the sub-management information base, and the service board analyzes the management message according to the service management object information of the service board defined in the sub-management information base, so that the main control board does not analyze the management message any more, and the problem that the service management object information of the service board copied on the main control board is frequently revised again due to the change of the service function of the service board or the addition of a new service board in the prior art is solved; furthermore, the understanding of the main control board on the service function of the service board is avoided, that is, when the service function of the service board changes or a new service board is added, the service management object information of the main control board is not revised again, the coupling relation between the main control board and the service management of each service board is reduced, and the main control board does not revise the service management object information of the service board any more; furthermore, the control manager can directly, accurately and effectively control and manage the service board.
Preferably, the analyzing, by the service board, the management packet according to the service management object information of the service board defined in the configured sub-management information base specifically includes:
and the service board analyzes the management message according to a private protocol between a control manager and the service board and the service management object information of the service board defined in the configured sub-management information base.
In the embodiment of the invention, because the private protocol is directly agreed between the service board and the control manager, the control manager can directly, accurately and effectively control and manage the service board.
Preferably, before the service board receives the management packet, the method further includes:
after the service board is electrified and initialized, the service board receives a registration query request message sent by the main control board;
according to the registration query request message, the service board sends a registration query response message to the main control board, so that the main control board maintains the service board according to the general management object information of the service board;
wherein, the registration inquiry response message contains the general management object information of the service board.
In the embodiment of the invention, the service board informs the main control board of the general management object information which the main control board per se wants to maintain and manage in a registration mode, so that the main control board carries out maintenance and management on the service board aiming at the requirements of different service boards.
A communication method for control management is applied to a communication device comprising a main control board and at least one service board, and the method comprises the following steps:
the master control board receives a management message sent by a control manager;
when the main control board determines that the received management message is not the management message of the main control board according to the destination board identification carried in the management message, the main control board forwards the management message to the corresponding service board, so that the service board analyzes the management message according to the service management object information of the service board defined in the configured sub-management information base, and returns a response message to the main control board after executing the management service operation requested by the management message according to the analysis result.
In the embodiment of the invention, by implementing the scheme, each service board is respectively provided with the sub-management information base, and the service board analyzes the management message according to the service management object information of the service board defined in the sub-management information base, so that the main control board does not analyze the management message any more, and the problem that the service management object information of the service board copied on the main control board is frequently revised again due to the change of the service function of the service board or the addition of a new service board in the prior art is solved; furthermore, the understanding of the main control board on the service function of the service board is avoided, that is, when the service function of the service board changes or a new service board is added, the service management object information of the main control board is not revised again, the coupling relation between the main control board and the service management of each service board is reduced, and the main control board does not revise the service management object information of the service board any more; furthermore, the control manager can directly, accurately and effectively control and manage the service board.
Preferably, the method further comprises:
when the master control board determines that the management message is the management message of the master control board, analyzing the management message according to a private protocol between a control manager and the master control board, the self management object information of the master control board defined in a configured management information base and the general management object information of a service board registered to the master control board;
and according to the analysis result, the main control board carries out management operation on the management object of the main control board.
In the embodiment of the invention, the control manager and the main control board agree with the private protocol, so that the main control board can be prevented from analyzing the received management message of the service board, and the management message is analyzed only after the management message of the main control board is identified, thereby reducing the coupling relation between the main control board and the service management of each service board.
Preferably, the general management object information of the service board registered with the main control board is registered in the following manner:
after a service board is electrified and initialized, the main control board sends a registration query request message to the service board;
the main control board receives a registration query response message returned by the service board according to the registration query request message, so that the main control board maintains the service board according to the general management object information of the service board;
wherein, the registration inquiry response message contains the general management object information of the service board.
In the embodiment of the invention, the service board informs the main control board of the general management object information which the main control board per se wants to maintain and manage in a registration mode, so that the main control board carries out maintenance and management on the service board aiming at the requirements of different service boards.
A communication device for controlling management, the device comprising: the system comprises a main control board and at least one service board; wherein,
the main control board is used for forwarding the management message to the corresponding service board when the management message is determined not to be the management message of the main control board according to the destination board identification carried in the received management message sent by the control manager; receiving a response message returned by the service board;
and the service board is used for analyzing the received management message according to the service management object information of the service board defined in the configured sub-management information base, and returning a response message to the main control board after executing the service management operation requested by the management message according to the analysis result.
In the embodiment of the present invention, by implementing the above-mentioned scheme, in the embodiment of the present invention, because each service board is configured with the sub-management information base, the service board analyzes the management message according to the service management object information of the service board defined in the sub-management information base, so that the main control board does not analyze the management message any more, and the problem that the service management object information of the service board copied on the main control board is often re-corrected due to the change of the service function of the service board or the addition of a new service board in the prior art is solved; furthermore, the understanding of the main control board on the service function of the service board is avoided, that is, when the service function of the service board changes or a new service board is added, the service management object information of the main control board is not revised again, the coupling relation between the main control board and the service management of each service board is reduced, and the main control board does not revise the service management object information of the service board any more; furthermore, the control manager can directly, accurately and effectively control and manage the service board.
Preferably, the service board is specifically configured to:
and analyzing the management message according to the private protocol between the control manager and the service board and the service management object information of the service board defined in the configured sub-management information base.
In the embodiment of the invention, because the private protocol is directly agreed between the service board and the control manager, the control manager can directly, accurately and effectively control and manage the service board.
Preferably, the main control board is further configured to:
when the management message is determined to be the management message of the main control board, analyzing the management message according to a private protocol between the control manager and the main control board, the self management object information of the main control board defined in a configured management information base and the general management object information of a service board registered to the main control board;
and according to the analysis result, performing management operation on the management object on the main control board.
In the embodiment of the invention, the control manager and the main control board agree with the private protocol, so that the main control board can be prevented from analyzing the received management message of the service board, and the management message is analyzed only after the management message of the main control board is identified, thereby reducing the coupling relation between the main control board and the service management of each service board.
Preferably, the master control board is further configured to,
after the service board is electrified and initialized, the main control board sends a registration query request message to the service board;
the service board is further configured to send, according to the registration query request message, a registration query response message to the main control board, so that the main control board maintains the service board according to the general management object information of the service board;
wherein, the registration inquiry response message contains the general management object information of the service board.
In the embodiment of the invention, the service board informs the main control board of the general management object information which the main control board per se wants to maintain and manage in a registration mode, so that the main control board carries out maintenance and management on the service board aiming at the requirements of different service boards.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a diagram of a prior art communication device architecture for control management;
fig. 2 is a diagram of a communication device architecture for control management in an embodiment of the present invention;
fig. 3 is a flowchart illustrating a communication method for controlling management according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another communication method for controlling management according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a service board a registering, with a main control board, generic management object information that needs to be maintained by the main control board according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of the main control board executing the control management operation according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the invention, when the main control board determines that the received management message is not the management message of the main control board, the management message is forwarded to the corresponding service board according to the destination board identification carried in the management message, the service board analyzes the received management message according to the configured sub-management information base, and returns a response message to the main control board after executing the management service operation requested by the management message according to the analysis result. Therefore, understanding of the service function of the service board by the main control board is avoided (namely, the main control board does not need to copy the service management object information of the service board, and analysis of the management message by the main control board is avoided), and only the sub-management information base of the main control board is configured on each service board, so that the coupling relation of the main control board and the service management of each service board is reduced. Meanwhile, a private protocol is directly agreed between the service board and the control manager, so that the control manager can directly, accurately and effectively control and manage the service board.
It should be noted that the original purpose of the present invention is: the main control board and the service board are loosely coupled or not coupled, so that the service management of the service board is not required to be adaptively upgraded by the main control board under the condition that the service function of the service board is upgraded. In the prior art, the management object information defined in the management information base of the main control board includes: the main control board manages the object information, the general management object information of the service board and the service management object information of the service board.
The management object corresponding to the management object information may include: the management objects for the main control board (for example, the type of the main control board, the version information of the main control board, the factory information of the main control board, the current temperature of the main control board, etc.), the general management objects for the service boards (for example, the on-site state of the service boards, the deletion of the service boards, the types of the service boards, the version information of the service boards, etc.), and the service management objects for the service boards (for example, the ethernet port rate, the router port switch state, etc.). Wherein, each service board comprises a plurality of service ports (for example, Eth port, E1 port, etc.), and each service port has at least one service function.
The above three types of Management object information may be defined in the Management information base, and the three types of Management objects defined in the Management information base may be managed regardless of Common Management Information Protocol (CMIP) or SNMP used between the control manager and the main control board.
Compared with the prior art, in the embodiment of the invention, the main control board does not manage the service management object information of the service boards any more, but each service board independently maintains the service management object of the service board.
The technical solution of the present invention is described in detail by the following specific examples, which should be construed that the present invention includes but is not limited to the following examples.
As shown in fig. 2, for an architecture diagram of a communication device for controlling management according to an embodiment of the present invention, main functional units of the device may include: a control manager 101, a main control board 102 and at least one service board 103.
Wherein, the control manager 101 is a manager of the network architecture, and is generally located at a management workstation; in practice, the main control board 102 is generally installed with agent software for assisting the control manager 101 in network management, which is called as a network agent, and therefore, the tasks of message identification, analysis, and the like performed by the main control board 102 are also performed by the network agent.
A management information base is configured on the main control board 102 and is used for defining the self management object information of the main control board and the general management object information of the service board; each service board 103 is configured with a sub-management information base mib for defining service management object information of the service board.
The control manager 101 is configured to send a management packet to the main control board 102; and receiving a response message returned by the main control board 102.
The main control board 102 is configured to forward the management packet to the corresponding service board 103 when determining that the management packet is not a management packet of its own according to a destination board identifier carried in the management packet; and receiving a response message returned by the service board 103, and sending the response message to the control manager 101 after receiving the response message.
The service board 103 is configured to parse the received management packet according to the service management object information of the service board defined in the configured sub-management information base, and return a response packet to the main control board 102 after performing the service management operation requested by the management packet according to the parsing result.
The sub-management information base of the service board 103 and the management information base of the main control board 102 are configured in the same manner, that is, a dedicated storage space is created on the service board for storing the sub-management information base containing the information of the service management object. Therefore, the service management object information does not need to be stored in the management information base of the main control board, and the storage resource of the main control board is saved.
Preferably, the service board 103 is specifically configured to: analyzing the management message according to the private protocol between the control manager 101 and the service board 103 and the service management object information of the service board defined in the configured sub-management information base; and performing service management operation on the corresponding service port according to the analysis result.
For example, after the service board a receives the management packet forwarded by the master control board, the format and the content of the management packet are analyzed, and if the analyzed service function is to modify the x1 attribute of the service port a in the service board a, the parameter of the x1 attribute defined in the configured sub-management information base is modified, and at the same time, the x1 attribute of the service port a is adjusted.
Preferably, the main control board 102 is further configured to: when it is determined that the management packet is a management packet of a master control board, parsing the management packet according to a private protocol between the control manager 101 and the master control board 102, and management object information of the master control board itself and general management object information of a service board registered with the master control board, which are defined in a configured management information base, and performing a management operation on a management object on the master control board according to a parsing result, wherein the management object of the master control board includes: the main control board manages the object itself and the general management object of the business board registered with the main control board.
Preferably, the general management object information of the service board registered with the main control board is registered in the following manner: after a service board 103 is powered on and initialized, the main control board 102 sends a registration query request message to the service board 103; the service board 103 sends a registration query response message to the main control board 102 according to the registration query request message, where the registration query response message includes the general management object information of the service board.
The present invention also provides a communication method of control management based on the communication device of control management provided in the above embodiment, and the method is described in detail below by specific embodiments, but the present invention is not limited to the following embodiments.
As shown in fig. 3, a schematic flow chart of a communication method for control management according to the present invention is shown, where the method is applied to a communication device including a main control board and at least one service board, and mainly includes the following steps:
step 201: and the main control board receives the management message. The management message may be sent by a control manager as a manager.
Step 202: when the main control board determines that the management message is not the management message of the main control board according to the destination board identifier carried in the management message, the main control board forwards the management message to the corresponding service board, so that the service board analyzes the management message according to the service management object information of the service board defined in the configured sub-management information base, and returns a response message to the main control board after executing the management service operation requested by the management message according to the analysis result.
Preferably, the analyzing, by the service board, the management packet specifically includes: the service board analyzes the management message according to a private protocol between a control manager and the service board and service management object information of the service board defined in a configured sub-management information base; and performing service management operation on the corresponding service port according to the analysis result.
Preferably, when the main control board determines that the management packet is a management packet of its own, the main control board parses the management packet according to a private protocol between a control manager and the main control board, and management object information of the main control board itself and general management object information of a service board registered to the main control board, which are defined in a configured management information base; and according to the analysis result, the main control board carries out management operation on the management object of the main control board.
Preferably, the general management object information of the service board registered with the main control board is registered in the following manner:
after a service board is electrified and initialized, the main control board sends a registration query request message to the service board;
and the service board sends a registration query response message to the main control board according to the registration query request message, wherein the registration query response message contains the general management object information of the service board.
The private protocol between the control manager and the main control board is the same as the private protocol between the control manager and the service board, and the private protocol is used for communication and analysis of messages between the control manager and the main control board and communication and analysis of messages between the control manager and the service board. However, unlike the proprietary protocol between the main control board and the service board in the prior art, the format and content of the proprietary protocol related to the present invention are agreed between the main control board, the service board, and the control manager, and other device units cannot be analyzed.
Step 203: and the main control board receives the response message.
As shown in fig. 4, a schematic flow chart of another communication method for controlling management according to the present invention is shown, where the method is applied to a communication device including a main control board and at least one service board, and mainly includes the following steps:
step 301: and the service board receives the management message.
The management message is a management message forwarded by the main control board when the main control board determines that the management message is not the management message of the main control board according to the destination board identification carried in the received management message.
Step 302: and the service board analyzes the management message according to the service management object information of the service board defined in the configured sub-management information base.
Preferably, the analyzing, by the service board, the management packet according to the service management object information of the service board defined in the configured sub-management information base specifically includes:
and the service board analyzes the management message according to a private protocol between a control manager and the service board and the service management object information of the service board defined in the configured sub-management information base.
Step 303: and the service board returns a response message to the main control board after executing the management service operation requested by the management message according to the analysis result.
In the embodiment of the present invention, according to the above scheme, when the main control board determines that the received management packet is not the management packet of the main control board itself, the management packet is forwarded to the corresponding service board according to the destination board identifier carried in the management packet, so that the service board parses the received management packet, and returns a response packet to the main control board after executing the operation service requested by the management packet according to the parsing result. Therefore, the understanding of the main control board to the service functions of the service boards is avoided, only the sub-management information bases of the main control board and the service boards are respectively configured on each service board, and the coupling relation between the main control board and the service management of each service board is reduced. Meanwhile, a private protocol is directly agreed between the service board and the control manager, so that the control manager can directly, accurately and effectively control and manage the service board.
In the embodiment of the present invention, the main control board also periodically polls the port status of each port connected to the service board to check whether there is insertion or detachment of the service board. In one implementation, when the main control board finds that a new service board is inserted into the slot, if the main control board is in a normal working state, the main control board is required to authenticate the service board, and then the main control board is informed of the management function that the main control board needs to assist in maintenance in a mode that the service board registers in the main control board.
It can be understood that, since the MIB of the main control board defines the generic management object information of the service board, but the generic management object that each service board desires to maintain and manage by the main control board may be different, in a case that the service board is not registered with the main control board, the main control board does not know the generic management object that each service board desires to maintain by the main control board, so that after each service board is inserted into the slot, a part of the generic management object that each service board desires to maintain needs to be registered with the main control board, and the main control board is responsible for managing the devices of each service board.
In another implementation, when the main control board finds that the service board is separated from the slot, the main control board determines that the service board is no longer maintained by the main control board, that is, it is determined that the main control board does not need to maintain the generic management object information, which is registered by the main control board before to the main control board and needs to be maintained by the main control board.
Next, a process of registering the service board with the main control board when the main control board finds that a new service board is inserted into the slot position, so that the main control board maintains the common management object information of the service board will be described in detail with reference to fig. 5.
As shown in fig. 5, a flowchart of the embodiment of the present invention that the service board a registers the information of the common management object that needs to be maintained by the main control board to the main control board is shown, which mainly includes:
step 401: and powering on and initializing the service board A.
It should be noted that, in the starting process, the interrupt bit and the ready bit are set to be in an invalid state, so as to prevent the main control board from erroneously recognizing the state of the service board a.
Step 402: after the service board A is electrified and initialized, the interrupt bit is set to be in an effective state, and the main control board is informed that the service board A is initialized.
Step 403: the main control board recognizes the effective interrupt position and sends a basic state query message to the service board A.
The basic state query message is used for querying the type of the service board a, the state of the service board a and whether the service board a requests configuration.
Step 404: and the service board A responds to the basic state query message and clears the interrupt bit.
Step 405: the main control board recognizes that the service board is electrified and sends a registration request message to the service board A.
Step 406: the service board A returns a registration response message containing the registration information to the main control board.
The registration information in the registration response message is general management object information that the service board a needs to be maintained and managed by the main control board, and is generally alarm information and/or performance information. Specifically, the information of the universal management object maintained and managed by the main control board is at least one of the following:
a. function type and its parameters such as configuration restore, reverse configuration query, poll, configuration index range, etc.
b. Index type, alarm type, etc. for the generic management object of the service board a.
Step 407: the main control board stores the registration information in the registration response message and checks whether the service board a has a configuration request, if so, step 408 is executed, otherwise, step 410 is executed.
In this step 407, the configuration request is used to implement a configuration recovery function, and after the service board is powered off and restarted, because the configuration information before the power off is stored, the configuration request is sent to the main control board after being restarted, and the main control board sends the stored configuration information to the service board to recover the configuration information of the service board; the configuration information is configured according to the actual requirement of the user, and the operation of the configuration request ensures that the configuration information of the user can be recovered in time, so that the service board can be started and operated normally.
Step 408: and the main control board sends a configuration recovery message to the service board A.
Step 409: the service board a executes the configuration recovery operation according to the received configuration recovery message, and executes step 410 after the configuration recovery is successful.
Step 410: and the main control board sends a configuration completion message to the service board A.
Step 411: the service board a sets the ready bit valid.
Under the condition that the ready bit is set to be valid by the service board A, if a reverse configuration query message, a basic state query message or a reverse alarm query message is received, response is required.
In the process of establishing the management mechanism of the service board a by the main control board, the service board a informs the main control board of the information of the general management object which needs to be maintained by the main control board by means of registration, so that the main control board performs maintenance management on the service board according to the requirements of different service boards.
The communication scheme for control management in the embodiment of the present invention is described below by way of specific examples.
As shown in fig. 6, a schematic flow chart of the main control board executing the control management operation provided by the present invention mainly includes:
step 501: and the main control board receives the management message.
Specifically, the network agent on the main control board may receive a management packet sent by the control manager and addressed to the main control board or the service board, where the management packet may be a specific configuration packet, a specific status packet, a specific query packet, a specific command packet, a specific notification packet, and the like. The invention does not specifically limit the message type and format, as long as the management of the main control board or the service board can be realized.
Step 502: and judging whether the management message is a management message for the main control board, if so, executing the step 503, otherwise, executing the step 506.
The network agent on the main control board reads the destination board identification carried in the management message, if the destination board corresponding to the destination board identification is read as the main control board, the received management message is determined as the management message of the main control board, and step 503 is executed; if it is read that the destination board corresponding to the destination board identifier is the service board, and it is determined that the received management packet is the management packet of the service board, step 506 is executed.
Step 503: the main control board analyzes the management message and executes corresponding management operation according to the analysis result.
Specifically, the main control board analyzes the management message according to the self management object information of the main control board defined in the configured management information base, the general management object information of the service board registered to the main control board, and a private protocol agreed between the self and the control manager; adjusting or inquiring corresponding management object information according to the analysis result; at the same time, corresponding management operations are performed, such as: resetting operation, current temperature query operation, factory information modification operation and the like are carried out aiming at the main control board; and resetting operation, current temperature query operation, port performance query operation and the like are carried out aiming at the service board.
Step 504: and forming a response message according to the execution result.
Step 505: and sending the response message to the control manager, and finishing the control management operation.
Step 506: and forwarding the management message to a corresponding service board according to the read destination board identifier.
In this step, after determining that the management packet is not a management packet of the main control board, the management packet is directly forwarded to the corresponding service board without performing any parsing operation, thereby saving the processing time of the main control board on the management packet. After receiving the management message, the service board analyzes the management message according to the service management object information of the service board defined in the configured sub-management information base and the private protocol between the service board and the control manager, specifically determines the service port and the service function of the service board to which the management message is directed, and executes corresponding management operation on the corresponding service function of the service port according to the analysis result. Therefore, the understanding of the main control board to the service functions of the service boards is avoided, only the sub-management information bases of the main control board and the service boards are respectively configured on each service board, and the service management coupling relation between the main control board and each service board is reduced. Meanwhile, a private protocol is directly agreed between the service board and the control manager, so that the control manager can directly, accurately and effectively control and manage the service board.
Step 507: and receiving a response message of the service board, and skipping to step 505.
In the embodiment of the present invention, according to the above scheme, when the main control board determines that the received management packet is not a management packet of its own, the management packet is forwarded to the corresponding service board according to the destination board identifier carried in the management packet, so that the service board parses the received management packet, and returns a response packet to the main control board after executing the management service operation requested by the management packet according to the parsing result. Therefore, the understanding of the main control board to the service functions of the service boards is avoided, only the sub-management information bases of the main control board and the service boards are respectively configured on each service board, and the service management coupling relation between the main control board and each service board is reduced. Meanwhile, a private protocol is directly agreed between the service board and the control manager, so that the control manager can directly, accurately and effectively control and manage the service board.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic board memory, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A communication method for control management is applied to a communication device comprising a main control board and at least one service board, and is characterized in that the method comprises the following steps:
the service board receives a management message;
analyzing the management message by the service board according to the service management object information of the service board defined in the configured sub-management information base;
after the management service operation requested by the management message is executed according to the analysis result, the service board sends a response message to the main control board;
the management message is a management message forwarded by the main control board when the main control board determines that the management message is not the management message of the main control board according to a destination board identifier carried in the management message sent by the received control manager.
2. The method according to claim 1, wherein the parsing, by the service board, the management packet according to the service management object information of the service board defined in the configured sub-management information base specifically includes:
and the service board analyzes the management message according to the private protocol between the control manager and the service board and the service management object information of the service board defined in the configured sub-management information base.
3. The method of claim 1, wherein prior to the service board receiving the management message, the method further comprises:
after the service board is electrified and initialized, the service board receives a registration query request message sent by the main control board;
according to the registration query request message, the service board sends a registration query response message to the main control board, so that the main control board maintains the service board according to the general management object information of the service board;
wherein, the registration inquiry response message contains the general management object information of the service board.
4. A communication method for control management is applied to a communication device comprising a main control board and at least one service board, and is characterized in that the method comprises the following steps:
the master control board receives a management message sent by a control manager;
when the main control board determines that the management message is not the management message of the main control board according to the destination board identifier carried in the management message, the main control board forwards the management message to the corresponding service board, so that the service board analyzes the management message according to the service management object information of the service board defined in the configured sub-management information base, and returns a response message to the main control board after executing the management service operation requested by the management message according to the analysis result.
5. The method of claim 4, wherein the method further comprises:
when the main control board determines that the management message is the management message of the main control board according to the destination board identification carried in the management message, the main control board analyzes the management message according to a private protocol between the control manager and the main control board, the self management object information of the main control board defined in a configured management information base, and the general management object information of a service board registered to the main control board;
and according to the analysis result, the main control board carries out management operation on the management object of the main control board.
6. The method of claim 5, wherein the generic management object information of the service board registered with the master control board is registered by:
after a service board is electrified and initialized, the main control board sends a registration query request message to the service board;
the main control board receives a registration query response message returned by the service board according to the registration query request message, so that the main control board maintains the service board according to the general management object information of the service board;
wherein, the registration inquiry response message contains the general management object information of the service board.
7. A communication device for controlling management, the device comprising: the system comprises a main control board and at least one service board; wherein,
the main control board is used for forwarding the management message to the corresponding service board when the management message is determined not to be the management message of the main control board according to the destination board identification carried in the received management message sent by the control manager; receiving a response message returned by the service board;
and the service board is used for analyzing the received management message according to the service management object information of the service board defined in the configured sub-management information base, and returning a response message to the main control board after executing the service management operation requested by the management message according to the analysis result.
8. The device of claim 7, wherein the service board is specifically configured to:
and analyzing the management message according to the private protocol between the control manager and the service board and the service management object information of the service board defined in the configured sub-management information base.
9. The device of claim 7, wherein the master control board is further configured to:
when the management message is determined to be the management message of the main control board, analyzing the management message according to a private protocol between the control manager and the main control board, the self management object information of the main control board defined in a configured management information base and the general management object information of a service board registered to the main control board;
and according to the analysis result, performing management operation on the management object on the main control board.
10. The device of claim 9, wherein the master control board is further to,
after the service board is electrified and initialized, a registration query request message is sent to the service board;
the service board is further used for sending a registration query response message to the main control board according to the registration query request message, so that the main control board maintains the service board according to the general management object information;
wherein, the registration inquiry response message contains the general management object information of the service board.
CN201410367103.1A 2014-07-29 2014-07-29 Management control communication method and equipment Pending CN104125097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410367103.1A CN104125097A (en) 2014-07-29 2014-07-29 Management control communication method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410367103.1A CN104125097A (en) 2014-07-29 2014-07-29 Management control communication method and equipment

Publications (1)

Publication Number Publication Date
CN104125097A true CN104125097A (en) 2014-10-29

Family

ID=51770367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410367103.1A Pending CN104125097A (en) 2014-07-29 2014-07-29 Management control communication method and equipment

Country Status (1)

Country Link
CN (1) CN104125097A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559236A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 The equipment resource management method of business board, device, master control borad and frame type equipment
CN107547246A (en) * 2017-05-31 2018-01-05 新华三技术有限公司 A kind of method for reading data and device
CN109831326A (en) * 2019-01-25 2019-05-31 新华三技术有限公司 Network equipment control method and the network equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1269650A (en) * 1999-04-07 2000-10-11 深圳市华为技术有限公司 Network management method with distributed network agent manager
EP1376932A2 (en) * 2002-04-26 2004-01-02 Extreme Networks Method and apparatus for dynamic configuration management
CN101043361A (en) * 2006-06-16 2007-09-26 华为技术有限公司 Method and system for SNMP protocol based network management
CN101594320A (en) * 2009-06-23 2009-12-02 中兴通讯股份有限公司 A kind of method for message interaction based on snmp protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1269650A (en) * 1999-04-07 2000-10-11 深圳市华为技术有限公司 Network management method with distributed network agent manager
EP1376932A2 (en) * 2002-04-26 2004-01-02 Extreme Networks Method and apparatus for dynamic configuration management
CN101043361A (en) * 2006-06-16 2007-09-26 华为技术有限公司 Method and system for SNMP protocol based network management
CN101594320A (en) * 2009-06-23 2009-12-02 中兴通讯股份有限公司 A kind of method for message interaction based on snmp protocol

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559236A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 The equipment resource management method of business board, device, master control borad and frame type equipment
CN106559236B (en) * 2015-09-28 2020-11-20 中兴通讯股份有限公司 Equipment resource management method and device of service board, main control board and frame type equipment
CN107547246A (en) * 2017-05-31 2018-01-05 新华三技术有限公司 A kind of method for reading data and device
CN107547246B (en) * 2017-05-31 2021-04-16 新华三技术有限公司 Data reading method and device
CN109831326A (en) * 2019-01-25 2019-05-31 新华三技术有限公司 Network equipment control method and the network equipment
CN109831326B (en) * 2019-01-25 2021-08-06 新华三技术有限公司 Network equipment control method and network equipment

Similar Documents

Publication Publication Date Title
CN106060088B (en) Service management method and device
US8782212B2 (en) Detecting whether components are functioning together according to an operating hybrid solution
WO2017215441A1 (en) Self-recovery method and apparatus for board configuration in distributed system
CN106982133B (en) Method, equipment and system for changing configuration information of virtual network card
US10114436B2 (en) Aux power controller
CN111984561B (en) IPMI command processing method, system, device and medium for BMC
US11159372B2 (en) Method and apparatus for restoring network device to factory defaults, and network device
US20160241635A1 (en) M2m data querying and invoking methods, querying and invoking devices, and system
JP6433578B2 (en) Information self-registration method, apparatus, system, and computer storage medium
US10037253B2 (en) Fault handling methods in a home service system, and associated household appliances and servers
CN114201197A (en) Firmware upgrading method and device, electronic equipment and readable storage medium
CN104125097A (en) Management control communication method and equipment
CN107547608A (en) Distributed task scheduling treating method and apparatus
CN106411574B (en) Management control method and device
CN106559236B (en) Equipment resource management method and device of service board, main control board and frame type equipment
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
WO2017071430A1 (en) Message processing method, network card, system, information update method, and server
CN116820527A (en) Program upgrading method, device, computer equipment and storage medium
US8977899B1 (en) Assisted device recovery
CN113259468B (en) Network equipment configuration method and device
US10263915B2 (en) Method for processing event between controller and network device
CN107104811B (en) Network function implementation method and control device
US9832075B2 (en) Terminal management method and apparatus
CN111200508B (en) Message sending method and gateway
CN103338117A (en) Management method, management device and management system of virtual switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141029

RJ01 Rejection of invention patent application after publication