[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101848107B - SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element - Google Patents

SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element Download PDF

Info

Publication number
CN101848107B
CN101848107B CN201010184173.5A CN201010184173A CN101848107B CN 101848107 B CN101848107 B CN 101848107B CN 201010184173 A CN201010184173 A CN 201010184173A CN 101848107 B CN101848107 B CN 101848107B
Authority
CN
China
Prior art keywords
snmp
request message
protocol
network element
protocol request
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
CN201010184173.5A
Other languages
Chinese (zh)
Other versions
CN101848107A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010184173.5A priority Critical patent/CN101848107B/en
Publication of CN101848107A publication Critical patent/CN101848107A/en
Priority to PCT/CN2011/071106 priority patent/WO2011140848A1/en
Application granted granted Critical
Publication of CN101848107B publication Critical patent/CN101848107B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0226Mapping or translating multiple network management protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种SNMP网元及SNMP网元与私有协议网元通信的方法,其中,SNMP网元与私有协议网元通信的方法包括:SNMP代理接收SNMP管理站发送的SNMP协议请求报文;上述SNMP代理将上述SNMP协议请求报文适配成私有协议请求报文;上述SNMP代理将上述私有协议请求报文发送给私有协议网元。本发明通过SNMP代理对SNMP协议报文和私有协议报文进行适配,解决了现有技术中SNMP网元无法直接与私有协议网元进行通信的问题,从而可以在SNMP网元与私有协议网元之间进行通信。

The invention discloses an SNMP network element and a method for communicating between the SNMP network element and a private protocol network element, wherein, the method for communicating between the SNMP network element and the private protocol network element includes: the SNMP agent receives the SNMP protocol request message sent by the SNMP management station ; The above-mentioned SNMP agent adapts the above-mentioned SNMP protocol request message to a private protocol request message; the above-mentioned SNMP agent sends the above-mentioned private protocol request message to a private protocol network element. The present invention adapts the SNMP protocol message and the private protocol message through the SNMP agent, and solves the problem that the SNMP network element cannot directly communicate with the private protocol network element in the prior art, so that the SNMP network element and the private protocol network communicate between elements.

Description

The method of SNMP NE and SNMP NE and proprietary protocol net element communication
Technical field
The present invention relates to the communications field, in particular to a kind of method of SNMP NE and SNMP NE and proprietary protocol net element communication.
Background technology
SNMP (Simple Network Management Protocol) is a set of NMP by IETF (The Internet EngineeringTask Force) definition, this agreement is based on simple gateway monitoring protocol (SGMP), and can be loaded in multiple transport protocols, as current most popular udp protocol.Snmp management station can the multiple support snmp protocols of telemanagement the network equipment (embedded SNMP agency), a SNMP agent side also can be simultaneously by multiple snmp management station administrations simultaneously, comprise monitoring network state, revise network equipments configuration, receive network event warning etc.SNMP has adopted the special shape of Client/Server model: management station/agent model.Management to network and maintenance realize by mutual SNMP message message between snmp management station and SNMP agency.Each SNMP agency is responsible for replying snmp management station about MIB (Management Information Base, management information bank) inquiry and the setting of node, and in the mode of trap (TRAP) initiatively to events such as management station's report and alarms.
Between existing management station, agency, as shown in Figure 1, management station sends Get, GetNext, GetBulk, Set request to agency to the process of interacting message, after agency receives request, calls inter-process function, obtains desired data.Snmp protocol is as middle de facto standards agreement, and at present a lot of network equipments all adopt snmp protocol to manage it.But not all network equipment is all to support snmp protocol, some network equipment uses the proprietary protocol oneself customizing, and therefore needs again to develop a set of SNMP agent software, realizes the management to the network equipment.The mode that existing snmp stack generally calls by sync cap realizes, be that SNMP agency receives after management station requests, carry out the adaptation between protocol data according to request type invoke synchronous operation-interface, in agent equipment internal memory or other storage mediums, inquire about or setting operation.If now need to operate sub agent time, because agency is transmitted by network with the data between sub agent, cannot synchronization call, will cause obtaining data failure.
Visible, in existing technology, SNMP NE cannot be directly and proprietary protocol network element communicate.
Summary of the invention
Main purpose of the present invention is to provide a kind of method of SNMP NE and SNMP NE and proprietary protocol net element communication, cannot be directly and the problem that communicates of proprietary protocol network element at least to solve SNMP NE in prior art.
According to an aspect of the present invention, provide a kind of method of SNMP NE and proprietary protocol net element communication, it comprises: SNMP agency receives the snmp protocol request message that snmp management station sends; Above-mentioned snmp protocol request message is adapted to proprietary protocol request message by above-mentioned SNMP agency; Above-mentioned proprietary protocol request message is sent to proprietary protocol network element by above-mentioned SNMP agency.
Further, after above-mentioned proprietary protocol request message is sent to proprietary protocol network element by above-mentioned SNMP agency, also comprise: above-mentioned proprietary protocol network element sends the proprietary protocol response message in response to above-mentioned proprietary protocol request message to above-mentioned SNMP agency; Above-mentioned SNMP acts on behalf of the mark of the above-mentioned snmp protocol request message carrying according to above-mentioned proprietary protocol response message and finds the local above-mentioned snmp protocol request message of preserving; Above-mentioned proprietary protocol response message is adapted to above-mentioned snmp protocol response message by above-mentioned SNMP agency; Above-mentioned snmp protocol response message is sent to above-mentioned snmp management station by above-mentioned SNMP agency.
Further, after above-mentioned SNMP agency receives the snmp protocol request message of snmp management station transmission, also comprise: above-mentioned SNMP agency obtains the MIB nodal information corresponding with above-mentioned snmp protocol request message; Above-mentioned SNMP agency judges that according to obtained MIB nodal information above-mentioned snmp protocol request message is carried out to synchronous processing still carries out asynchronous process; In the time judging execution asynchronous process, above-mentioned SNMP agency carries out the step that above-mentioned snmp protocol request message is adapted to proprietary protocol request message.
Further, when above-mentioned snmp protocol request message is adapted to proprietary protocol request message by above-mentioned SNMP agency, also comprise: above-mentioned SNMP agency obtains the MIB nodal information corresponding with above-mentioned snmp protocol request message; Above-mentioned SNMP agency registers the command code of above-mentioned proprietary protocol according to obtained MIB nodal information; The asynchronous process interface that above-mentioned SNMP agency of trademark registration is corresponding with the command code of above-mentioned proprietary protocol; Above-mentioned SNMP agency of trademark registration is preserved above-mentioned snmp protocol request message on above-mentioned asynchronous process interface.
Further, the mark that above-mentioned SNMP acts on behalf of the above-mentioned snmp protocol request message carrying according to above-mentioned response message is found the local above-mentioned snmp protocol request message of preserving and is comprised: above-mentioned SNMP agency obtains the asynchronous process interface corresponding to command code of the proprietary protocol carrying with above-mentioned response message; Above-mentioned SNMP agency searches the above-mentioned snmp protocol request message corresponding with the mark of above-mentioned snmp protocol request message on the asynchronous process interface obtaining.
Further, above-mentioned proprietary protocol network element comprises: proprietary protocol agency and/or proprietary protocol sub agent.
According to a further aspect in the invention, provide a kind of SNMP NE, having comprised: the first receiver module, the snmp protocol request message sending for receiving snmp management station; The first adaptation module, for being adapted to proprietary protocol request message by above-mentioned snmp protocol request message; The first sending module, for sending to proprietary protocol network element by above-mentioned proprietary protocol request message.
Further, above-mentioned SNMP NE also comprises: the second receiver module, the proprietary protocol response message in response to above-mentioned proprietary protocol request message sending for above-mentioned proprietary protocol network element; Search module, find the local above-mentioned snmp protocol request message of preserving for the mark of the above-mentioned snmp protocol request message that carries according to above-mentioned proprietary protocol response message; The second adaptation module, for being adapted to above-mentioned snmp protocol response message by above-mentioned proprietary protocol response message; The second sending module, for sending to above-mentioned snmp management station by above-mentioned snmp protocol response message.
Further, above-mentioned SNMP NE also comprises: acquisition module, for after receiving the snmp protocol request message of snmp management station transmission, obtains the MIB nodal information corresponding with above-mentioned snmp protocol request message; Judge module, for judging that according to obtained MIB nodal information above-mentioned snmp protocol request message is carried out to synchronous processing still carries out asynchronous process; Notification module, in the time judging execution asynchronous process, notifies above-mentioned the first adaptation module that above-mentioned snmp protocol request message is adapted to proprietary protocol request message.
Further, above-mentioned proprietary protocol network element comprises: proprietary protocol agency and/or proprietary protocol sub agent.
The present invention has following beneficial effect:
1) act on behalf of snmp protocol message and proprietary protocol message are carried out to adaptation by SNMP, thereby can between SNMP NE and proprietary protocol network element, communicate.
2) by the adaptation between asynchronous process Interface realization snmp protocol message and proprietary protocol message, avoid under synchronous processor system the correctly defect of obtaining communication message, thereby greatly improve the development efficiency of SNMP agent software, shorten development process, save development cost, there is applicability widely.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the schematic diagram of the interacting message between the snmp management station of correlation technique and SNMP agency;
Fig. 2 is according to the flow chart of the method for the SNMP NE of the embodiment of the present invention and proprietary protocol net element communication;
Fig. 3 is according to the schematic diagram of the interacting message between the snmp management station of the embodiment of the present invention and SNMP agency and proprietary protocol network element;
Fig. 4 is according to the preferred flow charts of the method for the SNMP NE of the embodiment of the present invention and proprietary protocol net element communication;
Fig. 5 is according to the structural representation of the SNMP NE of the embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
Fig. 2 is according to the flow chart of the method for the SNMP NE of the embodiment of the present invention and proprietary protocol net element communication.As shown in Figure 2, comprise the steps: according to the method for the SNMP NE of the embodiment of the present invention and proprietary protocol net element communication
S202, SNMP agency receives the snmp protocol request message that snmp management station sends;
S204, above-mentioned snmp protocol request message is adapted to proprietary protocol request message by above-mentioned SNMP agency;
S206, above-mentioned proprietary protocol request message is sent to proprietary protocol network element by above-mentioned SNMP agency.
In existing technology, SNMP NE cannot be directly and proprietary protocol network element communicate.Review the embodiment of the present invention, act on behalf of snmp protocol message and proprietary protocol message are carried out to adaptation by SNMP, thereby can between SNMP NE and proprietary protocol network element, communicate.
Preferably, after described proprietary protocol request message is sent to proprietary protocol network element by described SNMP agency, described proprietary protocol network element sends the proprietary protocol response message of the described proprietary protocol request message of response to described SNMP agency; Described SNMP acts on behalf of the mark of the described snmp protocol request message carrying according to described proprietary protocol response message and finds the local described snmp protocol request message of preserving; Described proprietary protocol response message is adapted to described snmp protocol response message by described SNMP agency; Described snmp protocol response message is sent to described snmp management station by described SNMP agency.
Preferably, after described SNMP agency receives the snmp protocol request message of snmp management station transmission, described SNMP agency obtains the MIB nodal information corresponding with described snmp protocol request message; Described SNMP agency judges that according to obtained MIB nodal information described snmp protocol request message is carried out to synchronous processing still carries out asynchronous process; In the time judging execution asynchronous process, described SNMP agency carries out the step that described snmp protocol request message is adapted to proprietary protocol request message.
By above-mentioned mode, SNMP has acted on behalf of the slitless connection of snmp stack and proprietary protocol stack, like this, can select according to the actual requirements request message synchronously to process or asynchronous process, thereby increase the applicability of the embodiment of the present invention.
When described snmp protocol request message is adapted to proprietary protocol request message by described SNMP agency, described SNMP agency obtains the MIB nodal information corresponding with described snmp protocol request message; Described SNMP agency registers the command code of described proprietary protocol according to obtained MIB nodal information; The asynchronous process interface that described SNMP agency of trademark registration is corresponding with the command code of described proprietary protocol; Described SNMP agency of trademark registration is preserved described snmp protocol request message on described asynchronous process interface.
By the adaptation between asynchronous process Interface realization snmp protocol message and proprietary protocol message, avoid under synchronous processor system the correctly defect of obtaining communication message, thereby greatly improve the development efficiency of SNMP agent software, shorten development process, save development cost, there is applicability widely.
The mark that described SNMP acts on behalf of the described snmp protocol request message carrying according to described response message is found the local described snmp protocol request message of preserving and is comprised: described SNMP agency obtains the asynchronous process interface corresponding to command code of the proprietary protocol carrying with described response message; Described SNMP agency searches the described snmp protocol request message corresponding with the mark of described snmp protocol request message on the asynchronous process interface obtaining.
Preferably, described proprietary protocol network element comprises: proprietary protocol agency and/or proprietary protocol sub agent.Like this, in embodiments of the present invention, not only can realize communicating by letter between SNMP NE and proprietary protocol agency, can also further realize communicating by letter between SNMP NE and proprietary protocol sub agent, thereby expand the scope of application of the present invention.
Fig. 3 is according to the schematic diagram of the interacting message between the snmp management station of the embodiment of the present invention and SNMP agency and proprietary protocol network element.As shown in Figure 3, SNMP agency can with proprietary protocol agent communication, also can further communicate by letter with proprietary protocol sub agent.
Describe in detail according to the preferred flow charts of the method for the SNMP NE of the embodiment of the present invention and proprietary protocol net element communication below in conjunction with accompanying drawing.As shown in Figure 4, comprise the following steps according to the method for the SNMP NE of the embodiment of the present invention and proprietary protocol net element communication:
Step S402:SNMP management station sends request message to SNMP agent side, then performs step S404.Snmp management station receives response message or the TRAP trap message of SNMP agent side to association requests.
Step S404:SNMP reception task is responsible for receiving the request message of network management workstation, and forwards downwards, execution step S406.
Step S406:SNMP consultative management station and agency rely on MIB management information bank to carry out interacting message, and SNMP agency generates inner discernible MIB nodal information according to MIB management holder.SNMP acts on behalf of after the request of receiving management station, searches relevant MIB nodal information, and can judge and need synchronous processing or asynchronous process according to the relevant field in MIB nodal information (information of static registration, fills in identification field).Synchronous or the asynchronous process of MIB node is customized according to different device systems by SNMP agency, execution step S408.
Step S408: distinguish different operating processes according to the identification field in MIB nodal information, if synchronously process, perform step S416; If asynchronous process performs step S410.
Step S410: call the integrated asynchronous process interface of snmp stack, (Main Function of mapping function is message conversion, the adaptation between treatment S NMP agreement and proprietary protocol to generate mapping function according to MIB nodal information-command code.Especially, mapping function is not only the adaptation of data field, also should comprise other information, to reach and originally to use proprietary protocol to process identical follow-up processing flow).Snmp stack only provides corresponding interface, the registration of interface can configuration file dynamic load or in program static registration.The specific implementation of interface, comprises and need to realize the adaptation of message data field separately, execution step S412.
Step S412: the request message issuing according to snmp management station, register the asynchronous node of replying (integrated in snmp stack, the line asynchronous of going forward side by side is replied the management of node chained list), identify each SNMP datagram by the Request id field of the PDU in snmp protocol, execution step S414.
Step S414: complete the adaptation between snmp protocol message and proprietary protocol message, downward message can be consistent with former proprietary protocol system.Following flow process is generally proprietary protocol system operating process, and different equipment may use different proprietary protocols, execution step S420.
Step S416: call the synchronous Processing Interface of snmp stack (normal flow), according to the request at snmp management station, inquire about or arrange related data in the storage mediums such as internal memory or SD card.Execution step S418.
Step S418: preserve equipment operating data in internal memory or database medium.The system of being used for such as inquires about or arranges at the operation.
Step S420: proprietary protocol sub agent system, realizes the management function of the network equipment, as functions such as configuration management, fault management, performance managements.
Step S422: after sub agent is replied, complete the adaptation between proprietary protocol message and snmp protocol message.Preferably, process the conversion of proprietary protocol message and snmp protocol message, adaptation according to MIB nodal information-command code mapping function.Then, execution step S424.
Step S424: search original SNMP request message asynchronous in replying node chained list according to the Request id field of the response message of sub agent.It is asynchronous that what reply node is mainly can correctly find original message in order to realize sub agent after replying, reply with the management station to SNMP, its major function has snmp protocol to reply management, and (encapsulation snmp stack is replied interface, to snmp management station response operation result), overtime management (prevents sub agent unresponsive situation always, prevent redundant data terminate-and-stay-resident, report overtime, abnormal in the mode of TRAP trap), asynchronous insertion of replying node, modification, deletion etc.
Step S426: judge whether to find original SNMP request message according to Request ID, if found, perform step S428; If do not found, perform step S430.
Step S428: according to the source address in original SNMP message, SNMP response message is sent to SNMP and send task queue, execution step S432.
Step S430: structure TRAP trap message, sends to SNMP by SNMP operation overtime information and send task queue.Execution step S432.
Step S432:SNMP sends task, is mainly used in to snmp management station response operation result or reports TRAP trap.Preferably, again perform step S402.
By above step, under the cooperation of snmp management station, SNMP agency and proprietary protocol agency/sub agent, use Asynchronous Invocation between agreement, can improve greatly the development efficiency of SNMP agent software, shorten development process, save development cost, there is applicability widely.
The present invention also provides a kind of embodiment of SNMP NE, and this SNMP NE is applicable to said method embodiment.
Fig. 5 is according to the structural representation of the SNMP NE of the embodiment of the present invention.As shown in Figure 5, comprise according to the SNMP NE of the embodiment of the present invention: the first receiver module 502, the snmp protocol request message sending for receiving snmp management station; The first adaptation module 504, for being adapted to proprietary protocol request message by above-mentioned snmp protocol request message; The first sending module 506, for sending to proprietary protocol network element by above-mentioned proprietary protocol request message.
In embodiments of the present invention, act on behalf of snmp protocol message and proprietary protocol message are carried out to adaptation by SNMP, thereby can between SNMP NE and proprietary protocol network element, communicate.
Preferably, above-mentioned SNMP NE also comprises: the second receiver module 508, the proprietary protocol response message in response to above-mentioned proprietary protocol request message sending for above-mentioned proprietary protocol network element; Search module 510, find the local above-mentioned snmp protocol request message of preserving for the mark of the above-mentioned snmp protocol request message that carries according to above-mentioned proprietary protocol response message; The second adaptation module 512, for being adapted to above-mentioned snmp protocol response message by above-mentioned proprietary protocol response message; The second sending module 514, for sending to above-mentioned snmp management station by above-mentioned snmp protocol response message.
In embodiments of the present invention, by the adaptation between asynchronous process Interface realization snmp protocol message and proprietary protocol message, avoid under synchronous processor system the correctly defect of obtaining communication message, thereby greatly improve the development efficiency of SNMP agent software, shorten development process, save development cost, there is applicability widely.
Preferably, above-mentioned SNMP NE also comprises: acquisition module 516, for after receiving the snmp protocol request message of snmp management station transmission, obtains the MIB nodal information corresponding with above-mentioned snmp protocol request message; Judge module 518, for judging that according to obtained MIB nodal information above-mentioned snmp protocol request message is carried out to synchronous processing still carries out asynchronous process; Notification module 520, in the time judging execution asynchronous process, notifies above-mentioned the first adaptation module 504 that above-mentioned snmp protocol request message is adapted to proprietary protocol request message.
By above-mentioned mode, can select according to the actual requirements request message synchronously to process or asynchronous process, thereby increase the applicability of the embodiment of the present invention.
Preferably, above-mentioned proprietary protocol network element comprises: proprietary protocol agency and/or proprietary protocol sub agent.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1.一种简单网络管理协议SNMP网元与私有协议网元通信的方法,其特征在于,包括:1. A method for simple network management protocol SNMP network element and private protocol network element communication, is characterized in that, comprises: SNMP代理接收SNMP管理站发送的SNMP协议请求报文;The SNMP agent receives the SNMP protocol request message sent by the SNMP management station; 所述SNMP代理将所述SNMP协议请求报文适配成私有协议请求报文;The SNMP agent adapts the SNMP protocol request message into a private protocol request message; 所述SNMP代理将所述私有协议请求报文发送给私有协议网元;The SNMP agent sends the private protocol request message to a private protocol network element; 其中,所述SNMP代理将所述SNMP协议请求报文适配成所述私有协议请求报文时,所述方法还包括:所述SNMP代理获取与所述SNMP协议请求报文对应的管理信息库MIB节点信息;所述SNMP代理根据所获得的MIB节点信息注册私有协议的命令码;所述SNMP代理注册与所述私有协议的命令码对应的异步处理接口;所述SNMP代理在所述异步处理接口上保存所述SNMP协议请求报文。Wherein, when the SNMP agent adapts the SNMP protocol request message to the private protocol request message, the method further includes: the SNMP agent obtains the management information base corresponding to the SNMP protocol request message MIB node information; the SNMP agent registers the command code of the private protocol according to the obtained MIB node information; the SNMP agent registers the asynchronous processing interface corresponding to the command code of the private protocol; the SNMP agent registers the command code corresponding to the private protocol; The interface saves the SNMP protocol request message. 2.根据权利要求1所述的方法,其特征在于,在所述SNMP代理将所述私有协议请求报文发送给私有协议网元之后,还包括:2. The method according to claim 1, characterized in that, after the SNMP agent sends the private protocol request message to the private protocol network element, it also includes: 所述私有协议网元向所述SNMP代理发送响应于所述私有协议请求报文的私有协议应答报文;The private protocol network element sends a private protocol response message in response to the private protocol request message to the SNMP agent; 所述SNMP代理根据所述私有协议应答报文携带的所述SNMP协议请求报文的标识查到本地保存的所述SNMP协议请求报文;The SNMP agent finds the locally stored SNMP protocol request message according to the identifier of the SNMP protocol request message carried in the private protocol response message; 所述SNMP代理将所述私有协议应答报文适配成所述SNMP协议应答报文;The SNMP agent adapts the private protocol response message to the SNMP protocol response message; 所述SNMP代理将所述SNMP协议应答报文发送给所述SNMP管理站。The SNMP agent sends the SNMP protocol response message to the SNMP management station. 3.根据权利要求1所述的方法,其特征在于,在所述SNMP代理接收SNMP管理站发送的SNMP协议请求报文之后,还包括:3. method according to claim 1, is characterized in that, after described SNMP agent receives the SNMP protocol request message that SNMP management station sends, also comprises: 所述SNMP代理获取与所述SNMP协议请求报文对应的所述MIB节点信息;The SNMP agent obtains the MIB node information corresponding to the SNMP protocol request message; 所述SNMP代理根据所获得的MIB节点信息判断对所述SNMP协议请求报文执行同步处理还是执行异步处理;The SNMP agent judges whether to perform synchronous processing or asynchronous processing on the SNMP protocol request message according to the obtained MIB node information; 在判断出执行异步处理时,所述SNMP代理执行将所述SNMP协议请求报文适配成所述私有协议请求报文的步骤。When it is judged that asynchronous processing is to be performed, the SNMP agent executes the step of adapting the SNMP protocol request message to the private protocol request message. 4.根据权利要求2所述的方法,其特征在于,所述SNMP代理根据所述私有协议应答报文携带的所述SNMP协议请求报文的标识查到本地保存的所述SNMP协议请求报文包括:4. The method according to claim 2, wherein the SNMP agent finds the locally stored SNMP protocol request message according to the identification of the SNMP protocol request message carried by the private protocol response message include: 所述SNMP代理获取与所述私有协议应答报文携带的私有协议的命令码对应的异步处理接口;The SNMP agent obtains the asynchronous processing interface corresponding to the command code of the private protocol carried by the private protocol response message; 所述SNMP代理在获取的异步处理接口上查找与所述SNMP协议请求报文的标识对应的所述SNMP协议请求报文。The SNMP agent searches for the SNMP protocol request message corresponding to the identifier of the SNMP protocol request message on the acquired asynchronous processing interface. 5.根据权利要求1所述的方法,其特征在于,所述私有协议网元包括:私有协议代理和/或私有协议子代理。5. The method according to claim 1, wherein the private protocol network element comprises: a private protocol agent and/or a private protocol subagent. 6.一种SNMP网元,其特征在于,包括:6. A kind of SNMP network element, is characterized in that, comprises: 第一接收模块,用于接收SNMP管理站发送的SNMP协议请求报文;The first receiving module is used to receive the SNMP protocol request message sent by the SNMP management station; 第一适配模块,用于将所述SNMP协议请求报文适配成私有协议请求报文;A first adaptation module, configured to adapt the SNMP protocol request message to a private protocol request message; 第一发送模块,用于将所述私有协议请求报文发送给私有协议网元;A first sending module, configured to send the private protocol request message to a private protocol network element; 所述SNMP网元还用于在所述第一适配模块将所述SNMP协议请求报文适配成私有协议请求报文时,获取与所述SNMP协议请求报文对应的管理信息库MIB节点信息;根据所获得的MIB节点信息注册私有协议的命令码;注册与所述私有协议的命令码对应的异步处理接口;在所述异步处理接口上保存所述SNMP协议请求报文。The SNMP network element is also used to obtain the management information base MIB node corresponding to the SNMP protocol request message when the first adaptation module adapts the SNMP protocol request message to a private protocol request message information; register the command code of the private protocol according to the obtained MIB node information; register the asynchronous processing interface corresponding to the command code of the private protocol; save the SNMP protocol request message on the asynchronous processing interface. 7.根据权利要求6所述的SNMP网元,其特征在于,还包括:7. SNMP network element according to claim 6, is characterized in that, also comprises: 第二接收模块,用于所述私有协议网元发送的响应于所述私有协议请求报文的私有协议应答报文;The second receiving module is used for the private protocol response message sent by the private protocol network element in response to the private protocol request message; 查找模块,用于根据所述私有协议应答报文携带的所述SNMP协议请求报文的标识查到本地保存的所述SNMP协议请求报文;A search module, configured to find the locally stored SNMP protocol request message according to the identifier of the SNMP protocol request message carried in the private protocol response message; 第二适配模块,用于将所述私有协议应答报文适配成所述SNMP协议应答报文;A second adaptation module, configured to adapt the private protocol response message to the SNMP protocol response message; 第二发送模块,用于将所述SNMP协议应答报文发送给所述SNMP管理站。The second sending module is configured to send the SNMP protocol response message to the SNMP management station. 8.根据权利要求6所述的SNMP网元,其特征在于,还包括:8. SNMP network element according to claim 6, is characterized in that, also comprises: 获取模块,用于在接收SNMP管理站发送的SNMP协议请求报文之后,获取与所述SNMP协议请求报文对应的MIB节点信息;Obtaining module, for after receiving the SNMP protocol request message sent by SNMP management station, obtain the MIB node information corresponding to the SNMP protocol request message; 判断模块,用于根据所获得的MIB节点信息判断对所述SNMP协议请求报文执行同步处理还是执行异步处理;A judging module, configured to judge whether to perform synchronous processing or asynchronous processing on the SNMP protocol request message according to the obtained MIB node information; 通知模块,用于在判断出执行异步处理时,通知所述第一适配模块将所述SNMP协议请求报文适配成所述私有协议请求报文。The notification module is configured to notify the first adaptation module to adapt the SNMP protocol request message to the private protocol request message when it is determined that asynchronous processing is to be performed. 9.根据权利要求6所述的SNMP网元,其特征在于,所述私有协议网元包括:私有协议代理和/或私有协议子代理。9. The SNMP network element according to claim 6, wherein the private protocol network element comprises: a private protocol agent and/or a private protocol subagent.
CN201010184173.5A 2010-05-14 2010-05-14 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element Expired - Fee Related CN101848107B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010184173.5A CN101848107B (en) 2010-05-14 2010-05-14 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
PCT/CN2011/071106 WO2011140848A1 (en) 2010-05-14 2011-02-18 Simple network management protocol (snmp) network element and method for communication between snmp network element and private protocol network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010184173.5A CN101848107B (en) 2010-05-14 2010-05-14 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element

Publications (2)

Publication Number Publication Date
CN101848107A CN101848107A (en) 2010-09-29
CN101848107B true CN101848107B (en) 2014-06-11

Family

ID=42772573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010184173.5A Expired - Fee Related CN101848107B (en) 2010-05-14 2010-05-14 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element

Country Status (2)

Country Link
CN (1) CN101848107B (en)
WO (1) WO2011140848A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848107B (en) * 2010-05-14 2014-06-11 中兴通讯股份有限公司 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
CN102694675A (en) * 2011-03-25 2012-09-26 中兴通讯股份有限公司 Asynchronous communication method and device based on SNMP (Simple Network Management Protocol)
CN103312753A (en) * 2012-03-14 2013-09-18 中国移动通信集团公司 Communication method and device of Internet of things
CN102684924B (en) * 2012-05-25 2015-02-04 迈普通信技术股份有限公司 Network management workstation and debugging method of network management software
CN104468170A (en) * 2013-09-22 2015-03-25 中兴通讯股份有限公司 Asynchronous communication method and device
CN106487598B (en) * 2016-11-15 2018-06-29 国家数字交换系统工程技术研究中心 The more examples of isomery redundancy Snmp agreements realize system and its implementation
CN108155981B (en) * 2016-12-05 2022-05-31 中兴通讯股份有限公司 SNMP server and method for packaging SNMP communication data
CN107154872A (en) * 2017-05-05 2017-09-12 烽火通信科技股份有限公司 The method and system of distributed asynchronous management telecommunication apparatus based on snmp protocol
CN107508713B (en) * 2017-09-21 2020-07-14 烽火通信科技股份有限公司 System and method for realizing network element management by mapping NMS MIB and network element private MIB
CN112383408B (en) * 2020-09-29 2023-04-11 武汉虹信科技发展有限责任公司 Management platform end for data format conversion and data format conversion method
CN113507449B (en) * 2021-06-17 2022-05-20 北京惠而特科技有限公司 Deep identification method and device for GE private protocol
CN113726574B (en) * 2021-08-31 2025-02-28 杭州迪普信息技术有限公司 A method and device for generating SNMP response message

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561071A (en) * 2004-03-10 2005-01-05 迈普(四川)通信技术有限公司 Method for implementing network management to equipment in private network
CN1599370A (en) * 2003-09-16 2005-03-23 深圳市格林耐特通信技术有限责任公司 Method for managing non-IP equipment by SNMP network management system
CN1708044A (en) * 2004-06-08 2005-12-14 华为技术有限公司 Processing Method of Asynchronous Communication Mechanism Based on Simple Network Management Protocol
CN1859183A (en) * 2005-12-30 2006-11-08 华为技术有限公司 Method and device for realizing equipment state polling
CN101227348A (en) * 2008-02-02 2008-07-23 杭州华三通信技术有限公司 Server and method for collecting performance statistics data of network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100283169B1 (en) * 1998-09-28 2001-03-02 윤종용 Internal Information Management Method of Base Station Control System in Mobile Communication System
US20040044756A1 (en) * 2002-08-30 2004-03-04 General Instrument Corporation Method and apparatus for providing management access to devices behind a network address translator (NAT)
US8195944B2 (en) * 2007-01-04 2012-06-05 Motorola Solutions, Inc. Automated method for securely establishing simple network management protocol version 3 (SNMPv3) authentication and privacy keys
CN101848107B (en) * 2010-05-14 2014-06-11 中兴通讯股份有限公司 SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599370A (en) * 2003-09-16 2005-03-23 深圳市格林耐特通信技术有限责任公司 Method for managing non-IP equipment by SNMP network management system
CN1561071A (en) * 2004-03-10 2005-01-05 迈普(四川)通信技术有限公司 Method for implementing network management to equipment in private network
CN1708044A (en) * 2004-06-08 2005-12-14 华为技术有限公司 Processing Method of Asynchronous Communication Mechanism Based on Simple Network Management Protocol
CN1859183A (en) * 2005-12-30 2006-11-08 华为技术有限公司 Method and device for realizing equipment state polling
CN101227348A (en) * 2008-02-02 2008-07-23 杭州华三通信技术有限公司 Server and method for collecting performance statistics data of network equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
汪振东等.自动协议转换的嵌入式SNMP委托代理系统.《计算机应用与软件》.2007,第24卷(第12期),引言、正文第1-3节,图1.
自动协议转换的嵌入式SNMP委托代理系统;汪振东等;《计算机应用与软件》;20071231;第24卷(第12期);引言、正文第1-3节,图1 *

Also Published As

Publication number Publication date
WO2011140848A1 (en) 2011-11-17
CN101848107A (en) 2010-09-29

Similar Documents

Publication Publication Date Title
CN101848107B (en) SNMP (Simple Network Management Protocol) network element and communication method of SNMP network element and proprietary protocol network element
CN113301166B (en) Service calling method and device, storage medium and electronic device
US9009278B2 (en) Device management server, device management client, and method for locating a target operation object
CN113891430A (en) A method, device and system for communication
RU2005127418A (en) DEVICE SERVICES SUPPLIERS INTERFACE
CN102064954A (en) Distributed fault tolerant system, equipment and method
KR101139836B1 (en) Method and system for two-phase mechanism for discovering web services based management service
CN103812838A (en) Service calling method and device and system
US9749362B2 (en) Method, device, and system for obtaining address of SIP registration server
CN110674172A (en) Data query method and device
CN112104680B (en) Method, device and equipment for determining edge application and storage medium
CN101022364A (en) Trap message reporting method and system warning information resource/warning agent service device
WO2017165999A1 (en) Network service implementation method, service controller, and communication system
CN102857953A (en) Self-configuration method and device of base station
CN102694675A (en) Asynchronous communication method and device based on SNMP (Simple Network Management Protocol)
CN101729530B (en) Data synchronization method and data synchronization system
CN101753561B (en) Business cluster processing method and cluster system
US8918491B2 (en) Use of an identification information in a network management
CN101510901A (en) Communication method, communication apparatus and system between distributed equipment
US9071507B2 (en) System and method for registering a CIM provider in a CIM system using information of a device to be configured
JP6509413B1 (en) Device, method and program for transmitting and receiving data with IoT device
JPH11239135A (en) Network management information acquisition method and relay device
CN119788718A (en) Data processing method, device, electronic device and storage medium
WO2013174347A2 (en) User data processing method and device
CN116390076A (en) User message forwarding method, network element, electronic equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140611