CN101741596A - Method, system and management node for feeding back error message of simple network management protocol - Google Patents
Method, system and management node for feeding back error message of simple network management protocol Download PDFInfo
- Publication number
- CN101741596A CN101741596A CN200810179017A CN200810179017A CN101741596A CN 101741596 A CN101741596 A CN 101741596A CN 200810179017 A CN200810179017 A CN 200810179017A CN 200810179017 A CN200810179017 A CN 200810179017A CN 101741596 A CN101741596 A CN 101741596A
- Authority
- CN
- China
- Prior art keywords
- error
- management node
- community
- message
- management
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a method, a system and a management node for feeding back error message of simple network management protocol. The management node carries the error message by utilizing a community field of a response message. The invention overcomes the disadvantage that an error state field is restrained by types and can only express messages with integral quantity, adds express error indication and error codes expressing the error message by utilizing a community of a string type, feeds back the detailed error message in virtue of the characteristic of no length limitation, improves the friendliness of network management, and can determine a delimiter and a position of the error message according to the negotiation of a management station and the management node to have better flexibility and maneuverability.
Description
Technical field
The invention belongs to field of network management, be specifically related to method, system and the management node of the error message feedback of Simple Network Management Protocol (SNMP).
Background technology
Along with the fast development of network technology, network size is also come also big more.Also increase day by day for the operation of network, the workload of maintenance and management.So increasing Virtual network operator provides remote supervisory, manages simple, as to use close friend network-management tool to network equipment vendor.Based on the TCP/IP network, SNMP is the NMP that is most widely used.Nearly all network equipment manufacturer has all realized the support to SNMP, becomes the standard agreement of network management.As shown in Figure 1, SNMP comes the network equipment is configured and manages by the mode (just management station sends request, the management node response) of asking-replying.
As shown in Figure 2, the error state field has been represented the execution result of asking in the response of management node.The SNMP of standard has defined tens error number and has been illustrated in the error situation that takes place in the network management.But above tens error number can't be represented the constraint and the restriction of wherein various configurations in the network equipment of function complexity.Do not exist as VLAN 2, ADSL profile is used and can not delete or the like by the 3/2-4 port; If these informations can't be prompted to the user clearly, the user can't understand that actually what is wrong on the management node, can't know ownly to have made what mistake in operation.Like this, the user is difficult to managing network device.
We often need obtain on the management node in detail and directly error reason in actual use, with the operational mistake of prompting user.And can't represent these miscues based on the standard error sign indicating number of SNMP, greatly reduce user's friendly like this.
Therefore, need a kind of solution from error message on the management node to management station that can return, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method, system and management node of error message feedback of Simple Network Management Protocol, to feed back detailed miscue, improves the friendly of network management.
In order to address the above problem, the invention provides a kind of error message feedback method of Simple Network Management Protocol, management node utilizes the community's field in the response message to carry error message.
Further, described error message comprises miscue and error code by string representation.
Further, described error message separates by decollator with community.
Further, described method comprises:
(a) management station sends request message to management node;
(b) after described management node is received the described request message, carry out operation accordingly;
(c) make mistakes as execution, described management node generation error prompting and error code character string, and append to miscue and error code character string in community's field of replying by separator;
(d) described management node sends response message to described management station;
(e) described management station receives and resolves described response message, takes out miscue and error code character string from community's field.
Further, in the step (e), management station resolves and obtains the error state field, judges according to this field whether described management node carries out failure, then resolves and obtain community's field if carry out failure, therefrom takes out miscue and error code character string.
For solving the problems of the technologies described above, the present invention also provides a kind of error message reponse system of Simple Network Management Protocol, this system comprises management station and management node, and described management node is used for utilizing community's field of response message to carry error message to described management station.
Further, also comprise the error state field in the described response message, described management station is used for judging according to the error state field of response message whether described management node carries out failure, then obtains the error message in the community if judge the execution failure.
Further, described error message comprises miscue and error code by string representation, and described error message separates by decollator with community.
Stating error message separates by decollator with community.
For solving the problems of the technologies described above, the present invention also provides a kind of management node of Simple Network Management Protocol, and described management node is used for utilizing community's field of response message to carry error message.
Further, described error message comprises miscue and error code by string representation, and described error message separates by decollator with community.
Compared to prior art, the inventive method, system and management node, overcome the error state field and be subjected to class limitations, can only express the defective of integer number information, utilize the community of word string type to come the miscue and the error code of additional representation error message, be not subjected to the detailed error message of characteristics feedback of length restriction by it, improve the friendly of network management, and can determine according to the negotiation of management station and management node the position of decollator and error message to make it have more flexibility and operability.
Description of drawings
Fig. 1 is a SNMP request-answering schematic diagram.
Fig. 2 is a SNMP message format schematic diagram.
Fig. 3 is management station's bookkeeping process schematic diagram.
Fig. 4 is that management node receives request and answering schematic diagram.
Embodiment
The main thought of the inventive method, system and management node is to utilize the community's field in the SNMP message to carry error message, by its detailed error message of characteristics feedback that is not subjected to length restriction, improves the friendly of network management.
Community's field is a character string, is the password between management station and the management node.The coding of SNMP message adopts ASN.1 and BER form, so the additional management node is carried out the miscue of request and the restriction that the error code character string can not be subjected to length in community's field.
Management station and management node through consultation after, adopt the discernible decollator of both sides that error message (as miscue and error code) character string is replied with SNMP in the community field and separate, be convenient to discern the error message that execution is asked thereby be convenient to management station.
The method of the error message feedback of Simple Network Management Protocol of the present invention may further comprise the steps:
Step 1: management station sends the SNMP request message to management node;
Step 2: after management node is received the SNMP request message of management station's transmission, carry out operation accordingly;
Step 3: make mistakes if carry out, prompting of management node generation error and error code character string append to miscue and error code character string in community's field that SNMP replys by special separator;
Step 4: management node sends the SNMP response message to management station;
Step 5: management station receives and resolves response message, takes out miscue and error code character string from community's field, and gives the detailed miscue of user according to miscue and error code information.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further details.
As shown in Figure 3, the flow process sent after the request carried out of management station may further comprise the steps:
Step 301: management station sends the SNMP request to management node;
Step 302: the SNMP that management station's receiving management node sends replys;
Step 303: management station resolves the SNMP response message, obtains the error state field;
Step 304: management station judges to carry out whether make mistakes according to this error state field, as the then execution in step 305 of makeing mistakes, otherwise carries out normal flow, and flow process finishes;
Step 305: management station resolves the SNMP response message, obtains community's character string;
Step 306: management station is that decollator extracts miscue and the error code information character string be attached to former community back with " @ " in the community of message;
(0x03320001), then according to decollator, can extract except that error message and be: ZX17A.PRFcan ' t be deleted, because it is applied by port 3/1-4! (0x03320001), comprising miscue: ZX17A.PRF can ' t be deleted, because it is applied by port 3/1-4! And error code: 0x03320001.
Step 307: miscue and error code information are shown to the user.
This instance management station and management node negotiation usefulness " @ " is the separator in community as miscue and error code information.
As shown in Figure 4, after management node is received management station requests, carry out following operation:
Step 401: the SNMP request that send at management node receiving management station;
Step 402: management node is resolved SNMP request, executable operations;
Step 403: whether the management node decision operation runs succeeded, if fail then execution in step 404, otherwise forms response message, execution in step 408;
Step 404: management node generates into detailed miscue and error code information;
(0x03320001).
Step 405: management node is resolved the SNMP request, takes out community's character string (as public) from request message;
Step 406: management node is that separator appends to the back of former community character string as new community's character string with miscue and error code information with " @ ";
(0x03320001).
Step 407: management node is formed response message, and wherein new community's character string is as the character string in the response message;
Step 408: management node sends to management station with response message.
Be the feedback method of the miscue information that realizes above NMP, the present invention also provides a kind of system of error message feedback of Simple Network Management Protocol, and this system comprises management station and management node, wherein,
Management station is used for judging according to the error state field of response message whether described management node carries out failure, then obtain the error message in the community if judge the execution failure, this management station comprises transmitting element, receiving element, packet parsing unit and negotiation element, wherein
Transmitting element is used for sending the SNMP request message to management node;
Receiving element is used for the SNMP response message that the receiving management node sends;
Resolution unit is used to resolve the SNMP response message that management node sends, and obtains the error state field and obtains error message in community's field according to the negotiation element negotiation result;
Negotiation element is used for holding consultation with management node, determines error message decollator and error message position;
Described error message comprises miscue and error code, and described error message separates by decollator with community.Separator and miscue and error code information are attached to position in community's field all by management station and management node consult to decide.
Display unit is used for error message is shown to the user.
Management node is used for utilizing community's field of response message to carry error message to described management station, and this management node comprises receiving element, resolution unit, performance element, response unit, transmitting element and negotiation element, wherein,
Receiving element is used for the SNMP request message that the receiving management station sends;
Resolution unit is used to resolve the SNMP request message of reception, and carries out corresponding operating;
Response unit is used for organizing response message according to execution result, if carry out failure, also is used for generation error information, and according to negotiation result error message is appended in the community;
Transmitting element is used to send response message to management station;
Negotiation element is used for holding consultation with management station, determines error message decollator and error message position.
The inventive method, system and management node, overcome the error state field and be subjected to class limitations, can only express the defective of integer number information, utilize the community of word string type to come the miscue and the error code of additional representation error message, be not subjected to the detailed error message of characteristics feedback of length restriction by it, improve the friendly of network management, and can determine the position of decollator and error message, make it have more flexibility and operability according to the negotiation of management station and management node.
Claims (10)
1. the error message feedback method of a Simple Network Management Protocol is characterized in that, management node utilizes the community's field in the response message to carry error message.
2. the method for claim 1, it is characterized in that: described error message comprises miscue and error code by string representation.
3. the method for claim 1, it is characterized in that: described error message separates by decollator with community.
4. the method for claim 1 is characterized in that, described method comprises:
(a) management station sends request message to management node;
(b) after described management node is received the described request message, carry out operation accordingly;
(c) make mistakes as execution, described management node generation error prompting and error code character string, and append to miscue and error code character string in community's field of replying by separator;
(d) described management node sends response message to described management station;
(e) described management station receives and resolves described response message, takes out miscue and error code character string from community's field.
5. the method for claim 1, it is characterized in that: in the step (e), management station resolves and obtains the error state field, judge according to this field whether described management node carries out failure, then resolve and obtain community's field if carry out failure, therefrom take out miscue and error code character string.
6. the error message reponse system of a Simple Network Management Protocol, this system comprises management station and management node, it is characterized in that: described management node is used for utilizing community's field of response message to carry error message giving described management station.
7. system as claimed in claim 6, it is characterized in that: also comprise the error state field in the described response message, described management station is used for judging according to the error state field of response message whether described management node carries out failure, then obtains the error message in the community if judge the execution failure.
8. management node as claimed in claim 6 is characterized in that: described error message comprises miscue and error code by string representation, and described error message separates by decollator with community.
9. the management node of a Simple Network Management Protocol, it is characterized in that: described management node is used for utilizing community's field of response message to carry error message.
10. management node as claimed in claim 9 is characterized in that: described error message comprises miscue and error code by string representation, and described error message separates by decollator with community.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810179017A CN101741596A (en) | 2008-11-25 | 2008-11-25 | Method, system and management node for feeding back error message of simple network management protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810179017A CN101741596A (en) | 2008-11-25 | 2008-11-25 | Method, system and management node for feeding back error message of simple network management protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101741596A true CN101741596A (en) | 2010-06-16 |
Family
ID=42464533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810179017A Pending CN101741596A (en) | 2008-11-25 | 2008-11-25 | Method, system and management node for feeding back error message of simple network management protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101741596A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123051A (en) * | 2011-03-13 | 2011-07-13 | 合肥华云通信技术有限公司 | Method for extending simple network management protocol (SNMP) error feedback messages |
CN107360037A (en) * | 2017-08-08 | 2017-11-17 | 京信通信系统(中国)有限公司 | A kind of error message acquisition methods and network management device |
-
2008
- 2008-11-25 CN CN200810179017A patent/CN101741596A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123051A (en) * | 2011-03-13 | 2011-07-13 | 合肥华云通信技术有限公司 | Method for extending simple network management protocol (SNMP) error feedback messages |
CN107360037A (en) * | 2017-08-08 | 2017-11-17 | 京信通信系统(中国)有限公司 | A kind of error message acquisition methods and network management device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10686775B2 (en) | Method and apparatus of providing messaging service and callback feature to mobile stations | |
EP2854374B1 (en) | Method and device for managing terminal in home network and home network | |
EP2404457B1 (en) | Device determination | |
EP1729444B1 (en) | A snmp-based asynchronous communication mechanism process method | |
JP2010519812A (en) | Method, system, server, and terminal for processing messages | |
EP2151949A1 (en) | A method, apparatus and system for informing warning message | |
JP2010509835A (en) | Method and system for managing message threads in an integrated IP messaging service | |
WO2011140844A1 (en) | Method for processing messages on m2m platform and m2m platform system | |
WO2006007789A1 (en) | A method for realizing terminals management in the network device | |
WO2012041029A1 (en) | Method and device for server processing service | |
CN106790728A (en) | information push method and system | |
CN104320765A (en) | Group information display method, group information sending method and terminal | |
CN101741596A (en) | Method, system and management node for feeding back error message of simple network management protocol | |
US20110289166A1 (en) | Method for realizing a message interaction and a converged service system | |
WO2012034390A1 (en) | Method and system for configuring wireless terminal | |
WO2009086773A1 (en) | Charging method, system and charging trigger device | |
CN102263796B (en) | Data transmission method based on simple network management protocol | |
WO2009156733A1 (en) | Method and apparatus for generating error keys for fault diagnosis in communication networks | |
KR20140121716A (en) | Method and Apparatus for Push service provided using the integration of the mobile device operating system conversion | |
KR100250118B1 (en) | Apparatus of alarm gateway and methods of alarm message tramslation between systems of heterogeneous protocol | |
JP2009152741A (en) | Terminal management system, terminal management server, and terminal device | |
CN103873538A (en) | DM (device management)-protocol-based sever and terminal communication method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100616 |