CN104378233B - Unified management apparatus, method and corresponding apparatus into - Google Patents

Unified management apparatus, method and corresponding apparatus into Download PDF

Info

Publication number
CN104378233B
CN104378233B CN 201410653161 CN201410653161A CN104378233B CN 104378233 B CN104378233 B CN 104378233B CN 201410653161 CN201410653161 CN 201410653161 CN 201410653161 A CN201410653161 A CN 201410653161A CN 104378233 B CN104378233 B CN 104378233B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
acquisition
method
management
collection
item
Prior art date
Application number
CN 201410653161
Other languages
Chinese (zh)
Other versions
CN104378233A (en )
Inventor
谢瑞俊
李向辉
王志
熊亚军
Original Assignee
北京百度网讯科技有限公司
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
Grant date

Links

Abstract

本发明实施例公开了一种设备统一管理方法、纳入方法及相应装置。 Embodiment of the present invention discloses a method for unified management apparatus, a method and a corresponding device incorporated. 其中,设备统一管理方法包括:获取被管理设备的至少两个层级标识信息以及至少一个属性采集项;在对被管理设备进行任一属性采集项采集时,依次基于至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找;基于查找到的采集方法对被管理设备进行当前属性采集项的采集。 Wherein the unified device management method comprising: obtaining at least two levels of identification information of the managed device, and at least one attribute item acquired; when the managed collection device according to any one attribute item acquisition, based on at least two levels in sequence identification information from low-to-high level of identification information, find the current collection method for collecting items of property managed device, if any time to find success, then no follow-up from a pre-created lookup database management; based on the found collection methods are management attributes the current collection devices collect items. 本发明实施例提供的技术方案能够提升设备管理的扩展性和可维护性,使设备处理逻辑的利用率最大化,降低设备管理成本,减轻被管理设备的处理负担。 Technical solutions provided by the embodiments of the present invention can improve scalability and maintainability of the device management apparatus so that the processing logic maximize the utilization, reduce equipment management costs, reduce the processing load of the management device.

Description

设备统_管理方法、纳入方法及相应装置 _ Management system apparatus, method and corresponding apparatus into

技术领域 FIELD

[0001] 本发明实施例涉及网络管理技术领域,尤其涉及一种设备统一管理方法、纳入方法及相应装置。 Embodiment [0001] The present invention relates to network management technologies, and in particular, to a method for unified management apparatus, method and corresponding device incorporated.

背景技术 Background technique

[0002] 简单网络管理协议(SNMP,Simple Network Management Protocol)广泛用于管理互联网(Internet)上众多厂家生产的软硬件设备(即网络设备),是管理站与网络设备之间通信采用的标准协议。 Standard protocols [0002] The simple network management protocol (SNMP, Simple Network Management Protocol) is widely used in the management of the Internet (Internet) hardware device (i.e., network devices), the communication between the management station and the network device using many manufacturers of . 这些被管理的软硬件设备统称为被管理设备。 These hardware devices collectively managed by the management device. 被管理设备上通常置备有SNMP代理,并存储有用于描述管理对象组织结构的管理信息库(MIB ,Management Information Base)〇 The management device is typically provisioned with a SNMP agent, and stores management information for managing the object library description organizational structure (MIB, Management Information Base) square

[0003] 其中,S匪P代理是一个运行在被管理设备中的一个软件模块,用来维护网络设备的管理信息,负责接收、处理、响应来自管理站的请求报文,也可主动发送一些通知报文给管理站;MIB由多个节点对象组成,每个节点对象用OID (对象标识符,Object Identif ier) 唯一指定,MIB节点包括被管理设备必须要保存的数据项目、数据类型以及允许在每个数据项目中的操作。 [0003] where, S P bandit agent is running on a managed device in a software module for managing maintenance information of the network device responsible for receiving, processing, in response to the request packet from the management station, may also choose to send some notification message to the management station; the MIB objects by a plurality of nodes, each node object only designated the OID (object identifier, Object Identif ier), MIB management device node comprising data items must be saved, data type, and allow operation of each data item. 管理站通过对这些数据项目的存取访问,来得到被管理设备的所有统计内容。 Access management station through access to these data items, to get all the statistical content of managed devices.

[0004] 目前,互联网机构一般使用了不同厂商的多种网络设备,每种厂商生产的网络设备可能又存在多个型号,并且在某一型号下的网络设备上所置备的软件版本也不同。 [0004] Currently, Internet agencies generally use a variety of network equipment from different vendors, each network equipment manufacturers and there may be multiple models and devices on the network under a provision of the software version of the model is also different. 对于不同厂商、型号和版本的被管理设备而言,其MIB库之间可能会存在差异,相同MIB节点对象的取值表达形式也可能不同。 For different manufacturer, model and version of the managed devices, there may be differences between the MIB, MIB node values ​​in the form of expressing the same object may be different. 因此,需要对不同的网络设备进行高效统一的管理。 Therefore, the need for unified and efficient management of different network devices.

[0005] 然而,在现有技术中,对多厂商、多型号和多版本的网络设备进行管理时,网络设备的版本信息与处理逻辑不能够按照层次结构组织,不可复用不同版本不同对象的处理逻辑,且不可以更好的扩展支持不同的厂商和版本的设备。 [0005] However, in the prior art, when a multi-vendor, multi-multi-type and version management network devices, logical network version information processing apparatus can not be organized in a hierarchy, different versions of different non-reusable objects processing logic, and not be extended to better support different vendors and versions of the equipment.

发明内容 SUMMARY

[0006] 本发明实施例提供一种设备统一管理方法、纳入方法及相应装置,以提升设备管理的扩展性和可维护性,使设备处理逻辑的利用率最大化,降低设备管理成本。 An embodiment provides a unified management apparatus, method and corresponding apparatus into [0006] the present invention, to enhance scalability and maintainability of the device management apparatus so that the processing logic maximize the utilization, reduce equipment management costs.

[0007] 第一方面,本发明实施例提供了一种设备统一管理方法,该方法包括: [0007] In a first aspect, the present invention provides a unified management apparatus, the method comprising:

[0008] 获取被管理设备的至少两个层级标识信息以及至少一个属性采集项; [0008] The management device acquires identification information of the at least two levels, and at least one attribute item acquisition;

[0009] 在对所述被管理设备进行任一属性采集项采集时,依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找; [0009] At the time of the managed collection device according to any one attribute item acquisition, based on at least two levels in sequence identification information low to high level identification information from the managed to find previously created from the library management the current method of collecting item attribute acquisition device, if either a successful lookup, then no subsequent lookup;

[0010] 基于查找到的采集方法对被管理设备进行当前属性采集项的采集; [0010] The current collected on the property item acquired management device based on the searched collection method;

[0011] 其中,所述管理库存储有与各个属性采集项对应的采集列表;采集列表用于描述在当前属性采集项下,不同层级标识信息与不同采集方法之间的映射关系。 [0011] wherein said store manager has acquired the list of items corresponding to the respective attribute acquisition; acquisition list is used to describe items in the current collection properties, the mapping relationship between the identification information of different levels and different acquisition methods.

[0012] 第二方面,本发明实施例还提供了一种新被管理设备纳入方法,该方法包括: [0012] In a second aspect, embodiments of the present invention further provides a new management apparatus is included, the method comprising:

[0013] 获取待纳入的新被管理设备的至少两个层级标识信息和至少一个属性采集项; [0013] acquire new devices to be managed into at least two levels of identification information item and at least one attribute acquisition;

[0014] 分别针对各属性采集项,根据所述至少两个层级标识信息,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,基于查找到的推荐采集方法对所述新被管理设备进行当前属性采集项的采集测试; [0014] were collected for each attribute item according to the identification information of the at least two levels, a pre-created in the pick list management database stored in the current collecting property corresponding to the entry, locate the recommended acquisition method, based on the searched recommended the method of collection of the new managed device for collecting a test current collecting property item;

[0015] 根据采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果是否相同,确定对所述新被管理设备进行当前属性采集项采集的实际采集方法; [0015] The results on the managed device to capture the current collecting property item actually recorded are the same in accordance with the new test results with the acquisition, a new determination of the actual device being managed collection method acquired current property item acquired;

[0016] 根据所述至少两个层级标识信息以及确定结果,相应更新所述采集列表。 [0016] The identification information of the at least two levels, and determining a result, the pick list is updated accordingly.

[0017] 第三方面,本发明实施例还提供了一种设备统一管理装置,该装置包括: [0017] a third aspect, embodiments of the present invention further provides an apparatus for unified management apparatus, the apparatus comprising:

[0018] 标识信息及采集项获取单元,用于获取被管理设备的至少两个层级标识信息以及至少一个属性采集项; [0018] acquiring the identification information items and acquisition unit for acquiring at least two levels of identification information of the managed device and collecting at least one attribute item;

[0019] 采集方法查找单元,用于在对所述被管理设备进行任一属性采集项采集时,依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找; [0019] The method of collecting a searching unit, configured to, when the managed collection device according to any one attribute item acquisition, based on at least two successively higher hierarchy to a lower hierarchy identification information from identification information, from the pre-established management database to find the current collection method acquired attribute items managed device, if any one of a lookup is successful, then no subsequent lookup;

[0020] 采集项采集单元,用于基于所述采集方法查找单元查找到的采集方法对被管理设备进行当前属性采集项的采集; [0020] Acquisition item acquisition unit, a searching unit to find acquisition method based on the method of collecting managed devices collect current collecting property item;

[0021] 其中,所述管理库存储有与各个属性采集项对应的采集列表;采集列表用于描述在当前属性采集项下,不同层级标识信息与不同采集方法之间的映射关系。 [0021] wherein said store manager has acquired the list of items corresponding to the respective attribute acquisition; acquisition list is used to describe items in the current collection properties, the mapping relationship between the identification information of different levels and different acquisition methods.

[0022] 第四方面,本发明实施例还提供了一种新被管理设备纳入装置,该装置包括: [0022] In a fourth aspect, embodiments of the present invention further provides a management device included in the new apparatus, the apparatus comprising:

[0023] 标识信息及采集项获取单元,用于获取待纳入的新被管理设备的至少两个层级标识信息和至少一个属性采集项; [0023] acquiring the identification information items and acquisition unit for acquiring at least two levels of identification information of the new device to be managed, and into at least one attribute item acquisition;

[0024] 采集测试单元,用于分别针对各属性采集项,根据所述至少两个层级标识信息,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,基于查找到的推荐采集方法对所述新被管理设备进行当前属性采集项的采集测试; [0024] Acquisition test unit, for each attribute for each item acquired, in accordance with the identification information of the at least two levels, in the management of pre-created library stored with the current collecting property corresponding to the entry of the pick list, find the recommended acquisition method , based on the searched collection methods are recommended for the management device to acquire a test current for the new collection item properties;

[0025] 采集方法确定单元,用于根据采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果是否相同,确定对所述新被管理设备进行当前属性采集项米集的实际米集方法; [0025] The acquisition method determination unit for collecting the results of the current collecting property of the item is actually recorded on the managed device is the same as the test result and the new acquisition, the management of the new determine the current attribute acquisition device the actual method of item m m set set;

[0026] 采集列表更新单元,用于根据所述至少两个层级标识信息以及确定结果,相应更新所述采集列表。 [0026] updating the list acquisition unit for identification information of said at least two levels, and determining a result, the pick list is updated accordingly.

[0027] 本发明实施例提出的技术方案,通过在管理库中预先对应于各属性采集项创建不同层级标识信息与不同采集方法之间的映射关系,可以使得在对被管理设备进行任一属性采集项采集时,能够依次基于从低到高的层级标识信息,从管理库所存储的映射关系中查找相应的采集方法,如果任一次查找成功,则不再进行后续查找,进而基于所查找到的采集方法对被管理设备进行当前属性采集项的采集。 [0027] The proposed technical solution according to embodiments of the present invention, to create a mapping relationship between the identification information of different levels and different acquisition methods in the management database previously acquired item corresponding to the attribute can be made in any of the managed device an attribute when items for collecting, can be sequentially based on the low to high level identification information acquisition method to find the corresponding relationship management from the mapping stored in the library, at any one time if the search is successful, then no subsequent lookup, to find the basis of the further the acquisition method of the managed device to collect the current property acquisition item. 本发明实施例能够提升设备管理的扩展性和可维护性,使设备处理逻辑的利用率最大化,降低设备管理成本。 Embodiments of the present invention can improve scalability and maintainability of device management, so to maximize the utilization of the processing logic device, reducing equipment management costs.

附图说明 BRIEF DESCRIPTION

[0028] 图IA是本发明实施例一提供的一种设备统一管理方法的流程示意图; [0028] FIG IA is a flow unified management method an apparatus according to a first embodiment of the present invention, a schematic view;

[0029] 图IB是本发明实施例一提供的一种层级组织结构示意图; [0029] FIG. IB is a schematic diagram of a hierarchical organization provided by the embodiment of the present invention;

[0030] 图2是本发明实施例二提供的一种设备统一管理方法的流程示意图; [0030] FIG. 2 is a schematic view of an apparatus for flow unified management method according to a second embodiment of the present invention;

[0031] 图3是本发明实施例三提供的一种设备统一管理方法的流程示意图; [0031] FIG. 3 is a schematic view of an apparatus for flow unified management method according to a third embodiment of the present invention;

[0032] 图4是本发明实施例四提供的一种新被管理设备纳入方法的流程示意图; [0032] FIG. 4 is a flow chart according to a fourth management apparatus is incorporated into a new embodiment of the method of the present invention;

[0033] 图5是本发明实施例五提供的一种设备统一管理装置的结构示意图; [0033] FIG. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the unified management apparatus of the present invention;

[0034] 图6是本发明实施例六提供的一种新被管理设备纳入装置的结构示意图; [0034] FIG. 6 is a schematic structural diagram of a sixth embodiment of a new apparatus into the management device of the embodiment of the present invention;

[0035] 图7是本发明实施例七提供的一种设备管理系统的网络架构示意图。 [0035] FIG. 7 is a schematic diagram of a network device management system architecture according to a seventh embodiment of the present invention.

具体实施方式 detailed description

[0036] 下面结合附图和实施例对本发明作进一步的详细说明。 Drawings and embodiments of the present invention will be further described in detail [0036] below in conjunction. 可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。 It will be appreciated that the specific embodiments described herein are merely to illustrate the invention, not limitation of the invention. 另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。 Also to be noted also that, for convenience of description, the accompanying drawings illustrate only some, but not all of the structure associated with the present invention.

[0037] 实施例一 [0037] Example a

[0038] 图IA是本发明实施例一提供的设备统一管理方法的流程示意图,本实施例可适用于由设备管理平台和多个被管理设备构成的网络架构,其中被管理设备可以是通过互联网与设备管理平台连接的网络设备。 [0038] FIG IA is a schematic flow diagram of a method according to the unified management apparatus provided in the embodiment of the present invention, the present embodiment is applicable to a network architecture embodiment constituted by a plurality of device management platform and management apparatus, wherein the management device through the Internet may be connection to the device management platform for network equipment. 参见图1A,本实施例提供的设备统一管理方法可以由置备在设备管理平台上的设备统一管理装置来执行,具体包括如下操作: 1A, the apparatus of the present embodiment provides a unified management method may be performed by the provisioning device management apparatus in a unified device management platform, includes the following operations:

[0039] 操作110、获取被管理设备的至少两个层级标识信息以及至少一个属性采集项。 [0039] In operation 110, obtaining at least two levels of identification information is managed device and collecting at least one attribute item.

[0040] 操作120、在对被管理设备进行任一属性采集项采集时,依次基于至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找。 [0040] Operation 120, when the managed collection device according to any one attribute item acquisition, based on at least two levels in sequence identification information from low to high level identification information from the managed device to locate a pre-created database management the current collection method attribute collector items, if any one lookup is successful, look no further follow-up.

[0041] 操作130、基于查找到的采集方法对被管理设备进行当前属性采集项的采集。 [0041] operation 130, the current collection properties of the item to be collected based on the management device to find the acquisition method.

[0042] 在本实施例中,设备统一管理装置管理有多个被管理设备。 [0042] In the present embodiment, the unified device management apparatus manages a plurality of managed devices. 这些被管理设备可能属于不同厂商,并且属于相同厂商的各被管理设备也可能属于不同型号,属于相同型号下的各被管理设备也可能属于不同版本。 These managed device may belong to different manufacturers, and belong to the same vendor for each managed device may belong to different models, each managed device belonging to the same type may also fall under a different version. 因此,可采用厂商标识这一最高层级标识来描述被管理设备,使用型号标识这一中间层级标识来描述被管理设备所属型号,使用版本标识这一最低层级标识来描述被管理设备上的软件所属版本。 Therefore, manufacturers can be used to identify the highest level of identity to describe the managed device, using the model to identify the middle-level identification to describe the managed device belongs model, using a version identifier that identifies the lowest level to describe the software on the managed device belongs version. 其中,不同厂商下的各型号标识各不相同,且不同型号下的各版本标识各不相同。 Wherein each model identification under different manufacturers vary, and each version identification under different models vary.

[0043] 在对被管理设备进行管理时,为满足管理需求,需设置至少一个属性采集项,及对属性采集项进行采集时所依据的采集方法。 [0043] When the managed devices are managed, to meet regulatory requirements, set at least one attribute item acquisition, acquisition and collection method when the attribute item based collection. 其中,属性采集项用于指示设备统一管理装置需对各个被管理设备进行哪些属性内容的采集。 Wherein the item attribute acquisition means for instructing the unified management apparatus which properties need to collect the contents of the respective managed devices. 一条属性采集项可对应一项属性内容。 A property collection item may correspond to an attribute of the content. 在被管理设备为网络交换机时,所涉及的属性内容可包括:该交互机上所包含的端口个数,处于阻塞和/或发送状态的端口名称,各端口的数据传输速率等等。 Is a network switch, the contents of the attribute involved in the management device may include: the number of ports on the interactive unit included in the blocked port name and / or transmission status, the data transmission rate of each port, and the like.

[0044] 为实现对多个被管理设备在各个属性采集项下的采集方法的存储,通常的做法是:在设备管理平台上预先存储有与各个被管理设备的各属性采集项一一对应的采集方法,也即,设备管理平台如果管理有N个被管理设备,且预先为这些被管理设备设定有M个属性采集项,则其所存储的采集方法也就有N*M个采集方法;设备管理平台在对某个被管理设备的一个属性采集项进行采集时,需从所存储的关于该属性采集项的所有采集方法中,查找与该被管理设备对应的采集方法,然后基于查找到的采集方法对被管理设备的属性采集项进行米集。 [0044] In order to achieve the storage of a plurality of managed devices acquisition method in each item of the acquired property, the usual practice is: on the facilities management platform are stored in advance with the respective attributes each of the managed devices to collect items respectively acquisition method, i.e., if the management device management platform there are N devices to be managed, and collected in advance has M entries for these properties are set to the management device, the acquisition method will have its stored number N * M collection method ; facilities management platform at the time of the acquisition of a collection item attribute of a managed device, required from all the property acquisition method on the stored item acquired in the acquisition method is to find the corresponding managed device, and based on the lookup collection method to collect item attribute is performed m the management device sets.

[0045] 但是,由于通常会存在对属于同一型号下的各被管理设备的采集方法是相同的, 甚至对属于同一厂商下的各被管理设备的采集方法亦是相同的。 [0045] However, since there are often the same collection methods against each managed device belonging to the same type under even the acquisition method for each managed device belonging to the same manufacturer is also under the same. 因此,上述存储方式显得十分冗余复杂,并且每纳入一个新被管理设备,便要相应存储一次对应于新被管理设备在各属性采集项下的采集方法。 Accordingly, the above-described embodiment is very redundant storage complex, and each incorporate a new device to be managed, will be stored in a corresponding new collection method corresponding to the managed device in each property item acquired. 有鉴于此,本实施例按层级结构来组织各个被管理设备在各属性采集项下的采集方法,以使对采集方法的存储方式更加简单,便于查找,且具有更好地扩展性。 In view of this, according to the present embodiment hierarchical structure to organize the collection method of each property management device at each item acquired, so that storage of the acquisition method is simpler, easy to find, and has better scalability.

[0046] 在本实施例中,可预先创建有管理库。 [0046] In the present embodiment, the library may be created in advance managed. 该管理库中存储有与各属性采集项对应的采集列表。 The collection management database stores a list item corresponding to each attribute acquisition. 采集列表用于描述在当前属性采集项下,不同层级标识信息与不同采集方法之间的映射关系。 Described in the pick list for the current property item acquired mapping relationship between the identification information of different levels and different acquisition methods. 具体的,在被管理设备的至少两个层级标识信息为三个层级标识信息的情形下,采集列表的创建可基于如下方式来实现: Specifically, at least two levels of identification information of the managed device in the case of three levels of identification information, create a list of collection may be implemented based on the following manner:

[0047] 对于属于同一厂商下的各被管理设备而言,如果这些被管理设备在某一属性采集项下的采集方法均相同,则可仅在管理库的相应采集列表中,存储与该厂商标识具有映射关系的采集方法,否则: [0047] For each of the managed devices on the same manufacturer under, if these devices are managed in a property acquisition method are the same items collected may be collected only in the respective list management library, storing the vendor identification method has a collection mappings, otherwise:

[0048] 对于属于同一厂商的同一型号下的各被管理设备而言,如果这些被管理设备在某一属性采集项下的采集方法均相同,则可仅在管理库的相应采集列表中,存储与该型号标识具有映射关系的采集方法;否则: [0048] For each of the managed devices under the same model of the same manufacturer, if these devices are managed in a property acquisition method are the same items collected may be collected only in the respective list management library is stored has a collection method for mapping the relationship with the model number; otherwise:

[0049] 在管理库的相应采集列表中,存储与被管理设备的版本标识具有映射关系的采集方法。 [0049] In the respective list acquisition management library, version identification stored with the management apparatus having acquisition method mappings.

[0050] 在被管理设备的至少两个层级标识信息为两级层级标识信息(仅包含版本标识和型号标识)的情形下,采集列表的创建可基于如下方式来实现: [0050] at least two levels of identification information is managed device in the case for the two levels of identification information (containing only version identification and model identification) to create a pick list can be implemented based on the following way:

[0051] 对于属于同一厂商的同一型号下的各被管理设备而言,如果这些被管理设备在某一属性采集项下的采集方法均相同,则可仅在管理库的相应采集列表中,存储与该型号标识具有映射关系的采集方法;否则: [0051] For each of the managed devices under the same model of the same manufacturer, if these devices are managed in a property acquisition method are the same items collected may be collected only in the respective list management library is stored has a collection method for mapping the relationship with the model number; otherwise:

[0052] 在管理库的相应采集列表中,存储与被管理设备的版本标识具有映射关系的采集方法。 [0052] In the respective list acquisition management library, version identification stored with the management apparatus having acquisition method mappings.

[0053] 现就被管理设备的至少两个层级标识信息为三级层级标识信息的情形,对如何创建管理库中的各采集列表的过程,进行举例说明。 [0053] Now on at least two levels of identification information management device for the case of three-level identification information, the process of how to create a list of various acquisition management in the library, are exemplified.

[0054] 如图IB所示的层级组织结构示意图,设备管理平台总共管理有11个被管理设备, 其版本依次为:版本1100、版本1101、版本1102、版本1110、版本1111、版本1112、版本2200、 版本2201、版本2210、版本2211和版本2212。 [0054] The schematic structure shown in FIG hierarchical organization the IB, facilities management platform 11 has a total management of the managed devices, which in turn is a version: version 1100, version 1101, version 1102, version 1110, version 1111, version 1112, version 2200, version 2201, version 2210, version 2211 and version 2212. 其中,对于版本1100、版本1101和版本1102的各被管理设备而言,其均属于厂商1的型号10;对于版本标识为版本1110、版本1111和版本1112的各被管理设备而言,其均属于厂商1的型号11;对于版本标识为版本2200和版本2201 的各被管理设备而言,其均属于厂商2的型号20;对于版本标识为版本2210、版本2211和版本2212的各被管理设备而言,其均属于厂商2的型号21。 Among them, for the 1100 version, version 1101 and version 1102 of each managed device, which are covered by the manufacturer's model 101; 1110 version to version identifier, version 1111 and version 1112 each to be managed in terms of equipment, both of which are belonging to the vendor model 1 11; for version identification for the purposes of version 2200 and version 2201 of each managed device, which belong to the vendor model 2, 20; version identifier for the version 2210, version 2211 and version 2212 of each managed device For that belong to the vendor model 2 of 21.

[0055] 如果预先为这些被管理设备设定有2个属性采集项:第一属性采集项和第二属性采集项,并且:对于厂商1下的各被管理设备而言,其在第一属性采集项下的采集方法均相同,在第二属性采集项下的采集方法也均相同;对于厂商2下的各被管理设备而言,属于型号20的各被管理设备在第一属性采集项下的采集方法均相同,在第二属性采集项下的采集方法不同,属于型号21的各被管理设备在第一属性采集项下的采集方法不同,在第二属性米集项下的米集方法相同。 [0055] If there are two pre-acquired property for these entries are set to the management device: the first term and the second attribute collector collection item properties, and: for each managed device manufacturers under 1, in which the first attribute the method of collection items are collected under the same property acquisition method in a second acquired were also the same item; 2 for each vendor in terms of managed devices, the first item of each attribute is acquired management apparatus 20 belonging to the model the acquisition method is the same, different property acquisition method in a second collection item, each of the models belonging to different management method in a first device to capture properties of the collected item 21, m in the second attribute set method set entries meters the same.

[0056] 此时,在管理库中存储的与第一属性采集项对应的采集列表,可如下表1所示: [0056] In this case, a pick list stored in the management database item corresponding to the first attribute of the collection, shown in Table 1 as follows:

[0057] [0057]

Figure CN104378233BD00101

[0058] 表1 [0058] TABLE 1

[0059] 在管理库中存储的与第二属性采集项对应的采集列表,可如下表2所示: [0059] Acquisition management list stored in the second database entry corresponding to the attribute acquisition, may be shown as follows in Table 2:

[0060] [0060]

Figure CN104378233BD00102

[0061] 表2 [0061] TABLE 2

[0062] 在本实施例中,在创建完毕管理库中的各采集列表后,如果得到对被管理设备的数据采集指示,需首先获取被管理设备的至少两个层级标识信息及至少一个属性采集项。 [0062] In the present embodiment, after completion of each created list management library collection, if the obtained data collection indicating the managed devices, to be acquired first identification information is at least two levels of management device and at least one attribute acquisition item.

[0063] 具体的,如果管理库上的采集列表是按照被管理设备的三个层级标识信息组织创建的,则获取被管理设备的至少两个层级标识信息,包括:获取被管理设备的版本标识;根据所述版本标识,在预先创建的管理库所存储的厂商标识、型号标识和版本标识的映射关系中,查找被管理设备的厂商标识和型号标识。 [0063] Specifically, if the acquisition listing on library management in accordance with the three levels of organizational identification information management device is created, then get at least two levels of identification information management device, comprising: obtaining a managed device version identification ; according to the version identifier, the mapping between the vendor ID, model number and version identification of pre-created storage management library, look for the managed device vendor identification and model identification. 其中,获取被管理设备的版本标识,可以为: 基于简单网络管理协议与被管理设备建立通信连接,从被管理设备获取能够唯一识别该被管理设备的版本标识。 Wherein obtaining the version identification of the managed device may include: establishing a communication connection based on the simple network management protocol and the management device, acquires capable of uniquely identifying the managed device from the management device version identification.

[0064] 如果管理库上的采集列表是按照被管理设备的两个层级标识信息组织创建的,则获取被管理设备的至少两个层级标识信息,包括:获取被管理设备的版本标识;根据所述版本标识,在预先创建的管理库所存储的型号标识和版本标识的映射关系中,查找被管理设备的型号标识。 [0064] If the acquisition listing on library management is in accordance with the two-level organization managed device identification information created, then get at least two levels of identification information management device, comprising: obtaining a version identification of the managed device; according to the said version identifier, the mapping between the model and the version identifier identifies the pre-created storage management library, look for the model number of managed devices.

[0065] 当然,也可直接基于简单网络管理协议与被管理设备建立通信连接,从被管理设备获取至少两个层级标识信息。 [0065] Of course, be directly based SNMP management device with the communication connection is established, obtaining at least two levels of identification information from the managed device.

[0066] 获取至少一个属性采集项,可具体为:通过查询预先创建的管理库中所存储的属性采集项列表,获取至少一个属性采集项。 [0066] obtaining at least one attribute collector item, can be specifically: by querying the management of pre-created library stored in the property list of items collected, get at least one attribute collection items.

[0067] 在获取被管理设备的至少两个层级标识信息及至少一个属性采集项后,要根据预先创建的管理库的采集列表,确定被管理设备在各个属性采集项下的采集方法。 [0067] The management device acquires the identification information of at least two levels and at least one property acquired after entry, list management database according to the collection created in advance, in the acquisition method is determined in the management device collecting each attribute item.

[0068] 具体的,在对被管理设备进行任一属性采集项采集时,可先基于至少两个层级标识信息中最低层级标识(版本标识),从该属性采集项对应的采集列表中查找相应的采集方法,如果查找成功,则基于查找到的采集方法对被管理设备进行当前属性采集项的采集。 [0068] Specifically, when the managed collection device according to any one attribute item acquisition, based on at least two levels first identification information identifying the lowest level (version identifier), find the corresponding acquired from the attribute list corresponding to the item acquired the acquisition method, if the search is successful, the acquisition of the current property acquisition item based on the managed device to find collection methods.

[0069] 如果查找失败,则初步判断该被管理设备在当前属性采集项下的采集方法,可能与同型号的其他被管理设备在当前属性采集项下的采集方法相同,此时再基于至少两个层级标识信息中较高层级标识(型号标识),从该属性采集项对应的采集列表中查找相应的采集方法,如果查找成功,则基于查找到的采集方法对被管理设备进行当前属性采集项的采集。 [0069] If the lookup fails, and determined that the management device is in the current collecting property acquisition method in terms, may be the same with the other devices of the same type are managed in a method of collecting current property item acquired, at which time based on at least two a higher-level hierarchy identifying identification information (model ID), find the corresponding collection method acquired from the attribute list corresponding to the acquired item, if the search is successful, based on the found current property acquisition method is acquisition of the item management device collection.

[0070] 对于被管理设备的至少两个层级标识信息为层级依次降低的厂商标识、型号标识和版本标识的情形而言,如果再次查找失败,则进一步判断该被管理设备在当前属性采集项下的采集方法,可能与同厂商的其他被管理设备在当前属性采集项下的采集方法相同, 此时再基于至少两个层级标识信息中最高层级标识(厂商标识),从该属性采集项对应的采集列表中查找相应的采集方法,如果查找成功,则基于查找到的采集方法对被管理设备进行当前属性采集项的采集。 [0070] For the case of at least two levels of identification information management device is in turn reduce levels of vendor ID, model number and version identification, if the lookup fails again, it is further judged under the current property acquisition in terms of the managed devices acquisition methods, may be the same acquisition method in the current collecting property item and other manufacturers with the managed device, then at this time based on at least two levels of identification information identifying the highest level (vendor ID), corresponding to the item acquired from the attribute Find the appropriate collection methods collection list, if the search is successful, based on the acquisition method to find current collection items of property acquisition on the managed device.

[0071] 在本实施例的一种优选实施方式中,在依次基于至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法之后,还包括:如果均查找失败,则判断该被管理设备在当前属性采集项下的采集方法, 可能与其他所有厂商的被管理设备在当前属性采集项下的采集方法相同,则基于预先设定的与当前属性采集项对应的公共采集方法,对被管理设备进行当前属性采集项的采集。 [0071] In a preferred embodiment of the present embodiment, in order based on at least two levels of identification information from low to high level identification information, find the current collection properties of the managed device from the management of pre-created library after the acquisition method item, further comprising: if all the lookup fails, the acquisition method of the managed devices in the current property acquisition entry is judged, it may be the same with all other manufacturers of managed devices acquisition method in the current property acquisition entry, the common attribute collector current collection method corresponding to the entry set in advance based on the managed device to collect current property item acquired.

[0072] 其中,所述公共采集方法可被存储在与当前属性采集项对应的采集列表中,在该采集列表中与所述公共采集方法具有映射关系的层级标识可被设定为公有标识ALL。 [0072] wherein said common collection method may be stored in the current collecting property corresponding to the entry list acquired in the identifier acquisition hierarchical list has a mapping relation with the common collection method may be set to ALL Public Identity . 当然, 该公共采集方法也可独立于采集列表而被存储于其他位置。 Of course, the common collection method can also be collected independently of the list is stored in other locations. 本实施例对此不作限定。 The present embodiment is not limited to this embodiment.

[0073]本实施例提供的技术方案,无需在米集列表中逐一存储与被管理设备对应的采集方法,而是按照版本、型号和厂商(或者版本和型号)这种层级结构来存储相应的采集方法,这样不仅可以屏蔽底层异构设备的MIB差异,而且十分便于查找。 [0073] The technical solution provided according to the present embodiment, one by one without a corresponding storage device is managed meters acquisition method set list, but according to the version, manufacturer and model (or model and version) of this hierarchical structure to store the corresponding acquisition method, not only can mask the underlying differences MIB heterogeneous devices, and very easy to find. 例如,在属于同一厂商的各被管理设备的采集方法均相同时,仅存储一份对应于该厂商的处理方法即可。 For example, in the methods of the collection management device belonging to the same manufacturer being equal, a store only processing corresponding to the vendor's method may be. 特别是,在属于同一厂商的各被管理设备个数十分庞大的情形下,能够大大减小采集列表的容量,大大提高了后续查询的速度。 In particular, in each of the very large number of case management equipment belonging to the same manufacturer, can greatly reduce the capacity of the pick list, greatly improving the speed of subsequent queries. 并且,这种层次结构的管理库具有良好的扩展性,在有新被管理设备纳入时,如果管理库创建的采集列表中已存储有与之相对应的采集方法,且与该采集方法具有映射关系的是新被管理设备所属的型号标识或厂商标识时,则可不必在该采集列表中插入相应的采集方法,从而能够最大限度地复用已存储的采集方法,减少采集版本库数据规模。 The management of this library hierarchy has good scalability, when a new device is incorporated into the management, list management if the acquisition has been created by the library collection is stored corresponding method, and has the collection method for mapping the model identifies the relationship is new or vendor managed device belongs when the identity does not have to be inserted in the appropriate collection methods in the collection list, which has been able to maximize reuse acquisition method of storage, reducing data collection repository scale.

[0074] 实施例二 [0074] Second Embodiment

[0075] 图2是本发明实施例二提供的设备统一管理方法的流程示意图。 [0075] FIG. 2 is a flow chart of the method of the unified management apparatus according to a second embodiment of the present invention. 本实施例在上述实施例一的基础上,对操作120和操作130进行优化。 In the present embodiment based on the above-described first embodiment, operation 120 and operation 130 are optimized. 参见图2,本实施例提供的设备统一管理方法具体包括如下操作: Referring to Figure 2, a unified device management method according to this embodiment includes the following operations:

[0076] 操作210、获取被管理设备的至少两个层级标识信息以及至少一个属性采集项。 [0076] Operation 210, obtain identification information is at least two levels of management device and at least one attribute item collection.

[0077] 操作220、在对被管理设备进行任一属性采集项采集时,依次基于至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找。 [0077] Operation 220, when the managed collection device according to any one attribute item acquisition, based on at least two levels in sequence identification information from low to high level identification information from the managed device to locate a pre-created database management the current collection method attribute collector items, if any one lookup is successful, look no further follow-up.

[0078] 在本实施例中,采集方法包括:处理逻辑(handle)和采集项参数;其中,采集项参数包括:管理信息节点对象标识符(OID)信息、OID值解析规则正则表达式和采集项因子。 [0078] In the present embodiment, the acquisition method comprising: processing logic (handle) and collecting parameter item; wherein the key acquisition parameters include: management information node object identifier (OID) information, the value of the OID and the regular expression parsing rules collection key factor.

[0079] 考虑到对不同被管理设备的同一属性采集项(如CPU利用率)进行采集时,所得到的采集值格式可能不一样,故本实施例在采集方法中的采集项参数中加入采集项因子这参数。 [0079] Considering the different items of the same property collection of managed devices (such as CPU utilization) acquisition, acquisition format value obtained may not be the same, so the present embodiment Item Parameter Example acquisition acquisition method was added acquisition this key factor parameters. 利用该采集项因子能够将所采集到的各采集值统一换算为相同格式的采集值,例如可将CPU利用率统一换算成百分比的形式。 With this acquisition of each item can be acquired factor values ​​collected to acquire the same value in terms of uniform format, for example, CPU utilization may be unified in terms of percentage.

[0080] 操作230、根据查找到的采集方法所包含的采集项参数中的OID信息,基于简单网络管理协议对被管理设备进行当前属性采集项的采集。 [0080] operation 230, based on the OID information collection items to find acquisition parameters included in the method, the current collection properties of the item to be collected management device based on SNMP. 在本实施例中,OID信息包括至少一个0ID。 In the present embodiment, OID information comprises at least one 0ID. 具体的,可基于简单网络管理协议,将查找到的采集方法所包含的采集项参数中的OID信息进行封装,发送至被管理设备,以指示被管理设备执行如下操作:对所接收的数据进行解析得到OID信息;确定OID信息中与各个OID对应的MIB节点;基于MIB节点进行相关属性采集项的采集,以得到与各个OID对应的OID值,作为采集结果。 Specifically, based on Simple Network Management Protocol, the OID information collection item parameter lookup to acquisition method included in the encapsulated, transmitted to the management apparatus, is performed as follows to indicate the management device: the received data is performed OID parsed information; determining information OID of the MIB corresponding to each OID; acquisition related item based on the attribute acquisition of the MIB, OID values ​​to obtain the respective corresponding OID, as a result of the acquisition. 进而,接收被管理设备基于简单网络管理协议返回的采集结果。 Further, the management device receives the returned result acquired based Simple Network Management Protocol.

[0081] 操作240、根据查找到的采集方法所包含的采集项参数中的OID值解析规则正则表达式、采集项因子以及所包含的处理逻辑handle,对采集结果进行解析和转换,得到新的采集结果。 [0081] operation 240, based on the OID value resolution rule acquisition item parameter lookup to acquisition method included in the regular expression, collection items factor and processing logic handle included, the collected results of parsing and conversion results in a new collection results.

[0082] 在获取到采集结果之后,可根据采集项因子将采集结果中的各个OID值的表达形式换算成目标表达形式;根据OID值解析规则正则表达式,对经过换算操作后的各个OID值进行过滤,以从中提取相关内容;然后,根据查找到的处理逻辑,对所提取的多项内容进行关联处理,得到新的采集结果。 [0082] After acquiring the acquisition result, according to the collected items factor collected expressions each OID values ​​results in terms of target expression form; The OID value parsing rules regular expressions, each OID value after the elapse of conversion operations filtered to extract relevant content; then, according to the found processing logic, for several of the extracted association to give new acquisition results.

[0083] 操作250、将新的采集结果整合成可扩展标识语言文件,发送至网管数据中心,以指示网管数据中心解析该可扩展标识语言文件,并将解析结果存储到数据库。 [0083] operation 250, the result of the integration of the new acquisition to be extensible markup language file, the data is sent to the network management center, to indicate that the data network management center Extensible Markup Language parsing the document, and the analysis results stored in the database.

[0084] 在现有技术中,一般是将被管理设备的版本标识与其在各个属性采集项下的处理方法保存于设备管理平台。 [0084] In the prior art, it is generally to be the management device identifies the version of its treatment in each property item stored in the collection device management platform. 该设备管理平台在对被管理设备执行其中任一属性采集项的采集时,会先根据被管理设备的版本标识查找对应的采集方法(包含处理逻辑),然后将该采集方法全部下发至被管理设备,以指示被管理设备根据该采集方法进行相关采集操作。 The facilities management platform, when executed by the management device to either a collection of items collected attributes, will first search for a corresponding acquisition method according to the version identifier management apparatus (comprising the processing logic), then the entire acquisition method is issued to management device, the management device to indicate that the operation according to the related acquisition acquisition method. 显然,这样会大大增加网络通信开销,加重了被管理设备的处理负担。 Obviously, this would greatly increase the network traffic overhead and increased processing burden of managed devices.

[0085] 本实施例提供的技术方案,设备统一管理装置在查找到相应的采集方法后,并未将该采集方法下发给被管理设备,而是使用该采集方法所包含的采集项参数中的OID信息, 基于简单网络管理协议对被管理设备进行当前属性采集项的采集,并在该采集操作完成后,进一步根据该采集方法所包含的采集项参数中的OID值解析规则正则表达式、采集项因子以及所包含的处理逻辑,对采集结果进行解析和转换,得到新的采集结果。 [0085] The present embodiment provides a technical solution, unified device management apparatus after finding the corresponding acquisition method, the acquisition method is not distributed to the devices to be managed, but the use of item acquisition parameters included in the acquisition method the OID information acquisition current property acquired item to the managed device based on SNMP, and, after the capture operation is completed, further a regular expression based on the OID value resolution rule acquisition entry parameters of the acquisition method included in, acquisition and processing logic term factors included, analyzing the results collected and converted to obtain the new results collected. 由于设备统一管理装置并不下发处理逻辑,因此被管理设备无需再进行特殊配置或解析处理逻辑,能够有效减轻被管理设备的处理负担,降低网络通信开销。 Since the device is not a unified management apparatus delivers the processing logic, the management device is thus no need for special configuration or analysis processing logic, can effectively reduce the processing load of the management apparatus, reduces network overhead.

[0086] 实施例三 [0086] Example three

[0087] 图3是本发明实施例三提供的设备统一管理方法的流程示意图。 [0087] FIG. 3 is a flow chart of the method of the unified management apparatus according to a third embodiment of the present invention. 本实施例在上述各实施例为基础,提供一优选实施例。 In the present embodiment based on the above embodiments, there is provided a preferred embodiment. 在本实施例中,被管理设备的至少两个层级标识信息包括:层级依次降低的公有标识(ALL)、厂商标识、型号标识和版本标识。 In the present embodiment, the identification information is at least two levels of management device comprising: a public identity successively lower level (ALL), the manufacturer ID, model ID and the version identification. 参见图3,本实施例提供的设备统一管理方法具体包括如下操作: Referring to Figure 3, the unified device management method according to this embodiment includes the following operations:

[0088] 操作310、创建管理库,其中所述管理库包括层级标识结构表、属性采集项列表以及与属性米集项列表中各属性米集项对应的米集列表。 [0088] operation 310, creating management library, wherein the library comprises a hierarchical management structure table identifier, list of items and attribute collector current meters meters set entries listing the properties corresponding to each of the items in the list attribute set rice.

[0089] 在本实施例中,层级标识结构表用于存储厂商标识、型号标识、版本标识之间的映射关系。 [0089] In the present embodiment, a hierarchical structure table identifies the mapping between the storage vendor ID, model ID, the version identification. 优选的,该结构表还可进一步存储有与各版本标识对应的更新时间。 Preferably, the configuration table may be further stored with the Updated versions corresponding to the identifier. 厂商标识用于表示被管理设备所属厂商,如Cisc〇、H3C;型号标识用于表示被管理设备所属特定厂商的具体类型,如Cisco的7609交换机,H3C的S5800交换机;版本标识为通过简单网络管理协议从被管理设备获取的对被管理设备的描述信息,作为对被管理设备的最细粒度表示,如: CiscoIOS Software,c7600s72033_rp Software (c7600s72033_rp-ADVIPSERVICESK9-M), Version 12.2 (33) SRE6,RELEASE SOFTWARE (fcl),更新时间记录被管理设备版本变更的时间戳。 Vendor identification for indicating the managed devices belongs vendors, such as Cisc〇, H3C; type designation is used to indicate the particular type of the vendor-specific managed devices belongs, switches such as the Cisco 7609, H3C S5800 the switch; version identification through the Simple Network Management protocol, as the most fine-grained management device description information indicates the managed device is acquired from the management device, such as: CiscoIOS Software, c7600s72033_rp Software (c7600s72033_rp-ADVIPSERVICESK9-M), Version 12.2 (33) SRE6, RELEASE SOFTWARE (fcl), to update the time stamp is recorded change management device version.

[0090] 属性采集项列表,用于存储设备统一管理装置所需要采集的各个属性采集项。 [0090] Properties collection item list, items for the respective storage device attribute collector unified management means to be collected. 当被管理设备为交换机时,属性采集项可以是交换机上的各端口名称、端口状态、端口速率、 CPU信息等。 When the management device to the switch, each attribute item may be collected on the switch port name, port state, port rate, the CPU information.

[0091] 与任一属性采集项对应的采集列表,用于描述在该属性采集项下,不同层级标识信息与不同采集方法之间的映射关系。 [0091] list of items corresponding to the collection of any one attribute acquisition, this property is used to describe the collection item, the mapping relationship between the identification information of different levels and different acquisition methods. 具体的,采集列表包括多条记录,每条记录均包含如下三项:设备标识信息、处理逻辑handle、采集项参数和记录时间。 Specifically, the collection comprising a list of a plurality of records, each record contains the following three: device identification information, processing logic handle, item acquisition parameters and the recording time. 其中,任一条记录中的设备标识信息可以为ALL、厂商标识、型号标识或版本标识。 Among them, any one device identification information may be recorded in ALL, vendor ID, model number or version identification. ALL可视为比厂商标识更高一级的公有标识,其所对应的处理逻辑和采集项参数,组成公共采集方法。 ALL vendor identification may be considered a higher level than the public identifier, processing logic and its corresponding item acquisition parameters, the composition of the public collection method. 采集项参数包括管理信息节点对象标识符OID信息、OID值解析规则正则表达式和采集项因子。 Item management information acquisition parameters include node information object identifier OID, OID value of the regular expression parsing rules and collection items factor. handle和采集项参数构成采集方法。 Item Parameter acquisition and handle configuration acquisition method. 具体的,对采集列表的创建方式可参见上述实施例一,在此不再赘述。 Specifically, the manner of creating a pick list can be found in the above-described first embodiment, not described herein again.

[0092] 操作320、在接收到对被管理设备的采集请求后,基于简单网络管理协议从被管理设备获取能够唯一识别该被管理设备的版本标识。 [0092] operation 320, after receiving the request for acquisition of the management device, capable of uniquely identifying acquires the version identification of the managed device from the management device based on SNMP.

[0093] 操作330、根据获取到的版本标识,在管理库的层级标识结构表中,查找被管理设备的厂商标识和型号标识。 [0093] operation 330, according to the acquired version identifier identifies the hierarchical structure of the table management library, look for the managed device vendor identification and model identification.

[0094] 操作340、通过查询管理库的属性采集项列表,获取至少一个属性采集项。 [0094] operation 340, the list of items collected by the attribute management database query, obtaining at least one attribute item collection.

[0095] 操作350、在对被管理设备进行任一属性采集项采集时,依次基于版本标识、型号标识、厂商标识和公有标识,从管理库的与当前属性采集项对应的采集列表中查找采集方法,如果任一次查找成功,则不再进行后续查找。 [0095] operation 350, when the managed devices either property collection item collection, turn-based version identifier, model number, vendor identification and public identity, look for acquisition from a list of collection corresponding to the current property acquisition Manager library method, if any one lookup is successful, look no further follow-up.

[0096] 在本实施例的一种优选实施方式中,如果依次基于版本标识、型号标识、厂商标识和公有标识,从管理库的与当前属性采集项对应的采集列表中查找采集方法,均未查找成功,则进行报警提示,以表明不支持该被管理设备在当前属性采集项下的采集。 [0096] In a preferred embodiment of the present embodiment, if the sequence identifier based version, model number, manufacturer ID and the public identifier from the collection method to find the current collecting property corresponding to the entry list management library collection, no Find successful, will alarm to indicate that the device does not support the managed property acquisition in the current collection items.

[0097] 操作360、根据查找到的采集方法所包含的采集项参数中的OID信息,基于简单网络管理协议对被管理设备进行当前属性采集项的采集。 [0097] operation 360, based on the OID information collection items to find acquisition parameters included in the method, the current collection properties of the item to be collected management device based on SNMP.

[0098] 操作370、根据查找到的采集方法所包含的采集项参数中的OID值解析规则正则表达式、采集项因子以及所包含的处理逻辑,对采集结果进行解析和转换,得到新的采集结果。 [0098] operation 370, based on the OID value resolution rule acquisition item parameter lookup to acquisition method included in the regular expression, collection items factor and processing logic contained, the collected results of parsing and conversion to obtain new acquisition result.

[0099] 操作380、将新的采集结果整合成可扩展标识语言文件,发送至网管数据中心,以指示网管数据中心解析该可扩展标识语言文件,并将解析结果存储到数据库。 [0099] Operation 380 will be integrated into a new acquisition result Extensible Markup Language file, the data is sent to the network management center, to indicate that the data network management center Extensible Markup Language parsing the document, and the analysis results stored in the database.

[0100] 本实施例能够按照厂商、型号和版本的层级结构创建管理库,从而可以灵活地支持对不同厂商、型号和版本的被管理设备的管理,最大限度地复用不同厂商或型号的采集方式,例如所有不同被管理设备在一些属性采集项的采集方法均相同,此时仅在相应采集列表中存储一条包含有公有标识和公有采集方法的记录即可,或者同一厂商的各被管理设备在特定属性采集项下的处理方法相同,此时仅在相应采集列表中存储一条包含有厂商标识和处理方法的记录即可。 Acquisition [0100] The present embodiment can create a hierarchy management repository in accordance with the manufacturer, model and version, which can flexibly support the management of different vendors, models, and versions of the managed device, to maximize the reuse of different manufacturers or models manner, for example, all of the different devices are managed in the same number of items collected attribute acquisition method, only in the case of each of the same manufacturer are stored in the list management device comprises a public user identity to the recording and public collection methods, or a corresponding collection the method of processing the same at a specific property item acquired, only this time in the recording can be stored in the list contains a vendor identification processing method and a corresponding collection. 并且,本实施例可以同时支持对特殊版本的特殊采集方式,只要将特殊版本标识及其相应的特殊采集方法作为一条记录,添加到相应采集列表中即可。 Further, the present embodiment can support the special acquisition mode for a particular version, as long as the special version identification methods and corresponding special collection as a record, the list can be added to the respective acquired. 因此,在后续查找被管理设备在某一属性采集项下的处理方法时,只要按照版本标识、型号标识、厂商标识和公有标识,在相应的采集列表中逐层查找即可,查找十分便捷、快速。 Therefore, when the subsequent processing method to find the managed devices in a property acquisition terms, just follow the version identifier, model number, vendor identification and public identity, in the corresponding collection list you can find step by step, very easy to find, fast.

[0101] 实施例四 [0101] Fourth Embodiment

[0102] 综上各实施例,可知对被管理设备进行属性采集项的采集的基础是管理库。 [0102] In summary embodiments, it is understood to be the basis of the acquisition management device attribute item is acquired management library. 随着设备管理系统的发展,会不断有新设备被采购,已有设备也会被升级软件版本,因此,需要一种高效智能的新设备纳入方法,将新设备的相关采集方式加入管理库。 With the development of equipment management system, will continue to be the procurement of new equipment, existing equipment will be upgraded version of the software, therefore, a need for an efficient and intelligent new devices into the method, manner related to the acquisition of new equipment added to the library management.

[0103] 为此,本实施例以上述各实施例为基础,提供一种智能高效的新设备纳入机制。 [0103] For this reason, in the present embodiment based on the above-described embodiments, there is provided an intelligent and efficient new device into mechanisms. 图4是本发明实施例四提供的一种新被管理设备纳入方法的流程示意图。 FIG 4 is a schematic flow chart of a method into a new managed device according to a fourth embodiment of the present invention. 本实施例同样适用于如上述任意实施例所述的设备统一管理方法所适用的网络架构。 The present embodiment as described above is equally applicable to any device management method according to the unified applicable network architecture embodiment. 该网络架构由设备管理平台和多个被管理设备构成的网络架构,其中被管理设备可以是通过互联网与设备管理平台连接的网络设备。 The facilities management platform by the network infrastructure and network architecture is composed of a plurality of managed devices, wherein the management device through the Internet may be connected with the device management platform for a network device. 参见图4,本实施例提供的设备统一管理方法可以由置备在设备管理平台上的新被管理设备纳入装置来执行,具体包括如下操作: Referring to Figure 4, a unified device management method according to this embodiment may be performed by the provisioning of new equipment to be managed in the device management apparatus into the platform, includes the following operations:

[0104] 操作410、获取待纳入的新被管理设备的至少两个层级标识信息和至少一个属性采集项。 [0104] operation 410, to acquire new devices to be managed into at least two levels of identification information and at least one attribute item collection.

[0105] 在本实施例中,如果管理库中不存在新被管理设备的层级标识信息,可根据用户作用在人机交互界面上的输入指令,来获取新被管理设备的层级标识信息,并将其加以存储。 [0105] In the present embodiment, if the level identification information of the new device to be managed is not present in the management database, according to user input instructions on the role of human-computer interaction interface, to acquire identification information of the new hierarchy of managed devices, and it is stored. 例如,将其存储至管理库所创建的厂商标识、型号标识和版本标识的映射关系中。 For example, the vendor management repository to store the created identification, mapping relationship model number and version of identity. 可通过读取管理库中存储的属性采集项列表,来获取至少一个属性采集项。 Can be collected by reading the list of items stored in the library-managed property, to get at least one attribute item collection.

[0106] 其中,对管理库、至少两个层级标识信息、以及属性采集项的解释说明,可参见上述任意实施例提供的设备统一管理方法中的相关描述,在此不再赘述。 [0106] wherein, explanation of the management database, the at least two levels of identification information, and the attribute collection items, any device can be found in the above-described embodiment provides a unified management method described in the related, are not repeated here.

[0107] 操作420、分别针对各属性采集项,根据至少两个层级标识信息,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,基于查找到的推荐采集方法对新被管理设备进行当前属性采集项的采集测试。 [0107] Operation 420, respectively, for each attribute item acquisition, the identification information based on at least two levels, in the management of pre-created library stored with the current collecting property corresponding to the entry of the pick list, find the recommended acquisition method, based on the found recommended collection methods to test the current collection items of property acquisition of new managed device.

[0108] 具体的,采集测试过程可以是:根据查找到的推荐采集方法所包含的采集项参数中的OID信息,基于简单网络管理协议对新被管理设备进行当前属性采集项的采集;根据查找到的推荐采集方法所包含的采集项参数中的OID值解析规则正则表达式、采集项因子以及所包含的处理逻辑handle,对采集结果进行解析和转换,得到采集测试结果。 [0108] Specifically, the acquisition test procedure may be: The OID information collection item parameters found recommended acquisition method included in based on Simple Network Management Protocol to collect this attribute collection item new managed device; according to the search parsing rules OID value acquisition parameters to the recommended item acquisition method included in the regular expression, acquisition and processing logic factor handle items included, and analyzing the collected results conversion, testing results obtained.

[0109] 操作430、根据采集测试结果与新被管理设备上实际记录的对当前属性采集项的采集结果是否相同,确定对新被管理设备进行当前属性采集项采集的实际采集方法。 [0109] operation 430, the results of the current collecting property item acquired actually recorded on the managed device is the same as the test results with the new acquisition, the management device determines the new actual current collection method acquired property item acquired.

[0110] 在本实施例中,操作430可具体包括: [0110] In the present embodiment, operation 430 may specifically include:

[0111] 如果采集测试结果与新被管理设备上实际记录的对当前属性采集项的采集结果相同,则确定对新被管理设备进行当前属性采集项采集的实际采集方法为推荐采集方法; [0111] If the same collection acquisitions are collected for the current property item actually recorded on the new test results with the managed device, the new determination of the current actual managed devices collection method acquired property item acquired recommended acquisition method;

[0112] 如果采集测试结果与新被管理设备上实际记录的对当前属性采集项的采集结果不同,则生成对待纳入的新被管理设备进行当前属性采集项的实际采集方法。 [0112] If the result of the current collection properties of different acquisition acquired item is actually recorded with the new test results on the management device, the management device generates the new treatment were included in the actual current collecting property item collection method.

[0113] 操作440、根据至少两个层级标识信息以及确定结果,相应更新所述采集列表。 [0113] operation 440, according to at least two levels of identification information and a determination result, the pick list is updated accordingly.

[0114] 在本实施例中,根据至少两个层级标识信息以及确定结果,相应更新所述采集列表,可具体为: [0114] In the present embodiment, at least two levels in accordance with identification information and a determination result, the respective updating the pick list, may be specifically:

[0115] 如果实际采集方法,是在采集测试结果与新被管理设备上实际记录的对当前属性采集项的采集结果不同的情况下所生成的,则在所述采集列表中添加一条记录,该记录包括被管理设备的最低层级标识(版本标识)和所生成的实际采集方法; [0115] If the actual acquisition method, device management is a result of current collection properties actually recorded item acquired under different circumstances generated, then add a record in the list acquired in the acquisition of the new test results with the record management apparatus comprises lowest level identifier (version identification) actually acquired and generated by the method;

[0116] 如果实际采集方法,是在采集测试结果与新被管理设备上实际记录的对当前属性采集项的采集结果相同的情况下对应的推荐采集方法,则判断所述采集列表中与该推荐采集方法对应的层级标识是否为被管理设备的较高层级标识(型号标识或厂商标识),如果是,不对所述采集列表执行任何更新,否则在所述采集列表中添加一条记录,该记录包括被管理设备的最低层级标识(版本标识)和所生成的实际采集方法。 [0116] If the actual acquisition method, and test results are collected on the collection method recommendation apparatus corresponding to the case where the same result of the current collecting property item acquired actual recording of new managed, it is determined that the recommended list to the acquisition collection method corresponding to a higher-level hierarchy identifying whether identification (ID or vendor model ID) managed devices, and if so, does not perform any updates the pick list, or add a record in the list acquired, the record comprising lowest level managed device identifier (version identifier) ​​and the actual collection methods generated.

[0117] 在本实施例的一种具体实施方式中,被管理设备的至少两个层级标识信息包括: 层级依次降低的厂商标识、型号标识和版本标识;管理库创建有厂商标识、型号标识和版本标识的映射关系。 [0117] In a specific embodiment of the present embodiment, at least two levels of identification information management apparatus comprising: successively lower levels vendor identification, identification and model version identification; management repository has created vendor identification, and model identification mapping relationships version identification. 相应的,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,可具体包括: Accordingly, in the list of pre-created collection management database stored in the current property acquisition and the corresponding item, look for the recommended acquisition method, including:

[0118] —、如果预先创建的版本库所存储的厂商标识、型号标识和版本标识的映射关系中,不存在新版本被管理设备的厂商标识,则: [01] - if pre-created repository stored vendor identification, mapping relationship model number and version identification, there are no manufacturers identify the new version of the managed device, then:

[0119] 在预先创建的版本库存储的对应于当前属性采集项的采集列表中,查找相近厂商标识的采集方法,作为对新版本被管理设备进行当前属性采集项的推荐采集方法; [0119] In the list of the corresponding collection of pre-created repository to store the collected items in the current property, find the acquisition method similar companies identified as the management of the new version of the equipment currently recommended acquisition method attribute collector items;

[0120] 二、如果预先创建的版本库所存储的厂商标识、型号标识和版本标识的映射关系中,存在新版本被管理设备的厂商标识,但不存在新版本被管理设备的型号标识,则: [0120] Second, if mapping between vendor ID, model number and version identification of pre-created repository stored, there are manufacturers identify the new version of the managed device, but there is no model to identify new version of the managed device, then :

[0121] 在预先创建的版本库所存储的对应于当前属性采集项的采集列表中,查找对应于相近型号标识的采集方法,或者查找对应于新版本被管理设备的厂商标识的采集方法,作为对新版本被管理设备进行当前属性采集项的推荐采集方法。 [0121] In a pick list of pre-created repository stored corresponding to the current property acquisition entry, look for the corresponds to similar models to identify the acquisition method, or find collection methods vendor identification correspond to the new version of the managed devices, as the new version of the managed devices currently recommended acquisition method attribute collector items.

[0122] 三、如果预先创建的版本库所存储的厂商标识、型号标识和版本标识的映射关系中,存在新版本被管理设备的厂商标识和型号标识,但不存在新版本被管理设备的版本标识,则: [0122] Third, if the mapping between vendor ID, model number and version identification of pre-created repository stored, there is a vendor identification and model identifies the new version of the managed device, but there is no new version of the managed device version logo, then:

[0123] 在预先创建的版本库所存储的对应于当前属性采集项的采集列表中,查找相近版本标识的采集方法,或者查找对应于新版本被管理设备的型号标识的采集方法,作为对新版本被管理设备进行当前属性采集项的推荐采集方法。 [0123] In a pick list of pre-created repository stored corresponds to the current attribute collector items, look for acquisition method similar version identification, or check collection method type identifier corresponding to the new version of managed devices, as new the current version of the managed devices recommended acquisition method attribute collector items.

[0124] 本实施例提供的技术方案,能够基于已有管理库,获取新被管理设备在各属性采集项下的推荐采集方法,然后基于推荐采集方法进行采集测试,进而可以根据测试结构结合被管理设备的实际情况确定最终的实际采集方法,从而能够高效准确地将新被管理设备的采集方法及各层级标识信息纳入管理库中,便于后续对该被管理设备的管理。 [0124] Technical solutions provided in the present embodiment, can be based on existing database management, acquiring new acquisition method is recommended management device at each item's property acquisition, acquisition and collection method recommendation based on testing, in turn, may be combined according to the test structure the management device determines the actual final actual acquisition method, it is possible to efficiently and accurately capture the new method and each managed device identification information included in the hierarchy management database, to facilitate the subsequent management of the managed devices.

[0125] 实施例五 [0125] Embodiment V

[0126] 图5是本发明实施例五提供的设备统一管理装置的结构示意图。 [0126] FIG. 5 is a schematic structural diagram of a unified device management apparatus according to a fifth embodiment of the present invention. 参见图5,该装置的具体结构如下: Referring to Figure 5, a specific configuration of the device is as follows:

[0127] 标识信息及采集项获取单元510,用于获取被管理设备的至少两个层级标识信息以及至少一个属性采集项; [0127] and the identification information acquisition unit 510 collecting items, for obtaining at least two levels of identification information of the managed device and collecting at least one attribute item;

[0128] 采集方法查找单元520,用于在对所述被管理设备进行任一属性采集项采集时,依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找; [0128] The method of collecting a searching unit 520, when used in the managed collection device according to any one attribute item acquisition, based on at least two levels in sequence identification information from low to high level identification information from the pre-created lookup of database management method properties acquired current collection items managed device, if any one of a lookup is successful, then no subsequent lookup;

[0129] 采集项采集单元530,用于基于所述采集方法查找单元520查找到的采集方法对被管理设备进行当前属性采集项的采集; [0129] Acquisition item acquisition unit 530, a searching unit 520 to find acquisition method based on the method of collecting managed devices collect current collecting property item;

[0130] 其中,所述管理库存储有与各个属性采集项对应的采集列表;采集列表用于描述在当前属性采集项下,不同层级标识信息与不同采集方法之间的映射关系。 [0130] wherein said store manager has acquired the list of items corresponding to the respective attribute acquisition; acquisition list is used to describe items in the current collection properties, the mapping relationship between the identification information of different levels and different acquisition methods.

[0131] 进一步的,所述至少两个层级标识信息包括:层级依次降低的厂商标识、型号标识和版本标识。 [0131] Further, the identification information comprises at least two levels: level successively lower vendor ID, model ID and the version identification.

[0132] 进一步的,所述标识信息及采集项获取单元510,包括: [0132] Further, the identification information acquisition unit 510 and the collection items, comprising:

[0133] 标识信息获取子单元5101,用于获取被管理设备的版本标识;根据所述版本标识, 在预先创建的管理库所存储的厂商标识、型号标识和版本标识的映射关系中,查找被管理设备的厂商标识和型号标识。 [0133] The identification information obtaining sub-unit 5101, configured to obtain a version identifier of the managed device; according to the version identifier, the vendor identifier, type identifier mapping relationship created in advance and the version identification of the stored management database, looking up vendor management device identifier and model identification.

[0134] 进一步的,所述标识信息及采集项获取单元520,包括: [0134] Further, the identification information acquisition unit 520 and the collection items, comprising:

[0135] 采集项获取子单元5102,用于通过查询预先创建的管理库中所存储的属性采集项列表,获取至少一个属性采集项。 [0135] Acquisition item obtaining subunit 5102, for a list of items collected by querying the pre-established stored in the management database attributes, acquiring at least one attribute item collection.

[0136] 进一步的,设备统一管理装置还包括: [0136] Further, the unified device management apparatus further comprises:

[0137] 公共采集单元540,用于在所述采集方法查找单元520依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法之后,如果均查找失败,则基于预先设定的与当前属性采集项对应的公共采集方法,对被管理设备进行当前属性采集项的采集。 [0137] common collecting unit 540, a searching unit 520 sequentially in the acquisition method based on at least two levels of identification information from low to high level identification information from the managed device to locate a pre-created database management after the current collecting property item collection method, if both the lookup fails, the common method of collecting current collecting property corresponding to the entry set in advance based on the managed device to collect current property item acquired.

[0138] 进一步的,所述采集方法包括:处理逻辑handle和采集项参数; [0138] Further, the acquisition method comprising: processing logic that handle items and acquisition parameters;

[0139] 其中,采集项参数包括:管理信息节点对象标识符OID信息、OID值解析规则正则表达式和采集项因子; [0139] wherein the acquisition parameters comprise items: object identifier information of the node management information of OID, OID value of the regular expression parsing rules and collection items factor;

[0140] 所述采集项采集单元530,包括: [0140] The acquisition unit 530 collecting items, comprising:

[0141] 根据查找到的采集项参数中的OID信息,基于简单网络管理协议对所述被管理设备进行当前属性采集项的采集; [0141] The OID information items found acquisition parameters, based on the SNMP managed device to collect the current collecting property item;

[0142] 根据查找到的采集项参数中的OID值解析规则正则表达式、采集项因子以及handle,对采集结果进行解析和转换,得到新的采集结果。 [0142] The OID value parsing rules to find the items parameter acquisition regular expression, and factor collection items handle, for collecting and analyzing the results for conversion, new acquisition result obtained.

[0143] 进一步的,设备统一管理装置还包括: [0143] Further, the unified device management apparatus further comprises:

[0144] 采集结果发送单元550,用于在所述采集项采集单元530得到新的采集结果之后, 将新的采集结果整合成可扩展标识语言文件,发送至网管数据中心,以指示所述网管数据中心解析所述可扩展标识语言文件,并将解析结果存储到数据库。 [0144] acquisition result transmitting unit 550, for collecting the items after acquisition unit 530 to obtain new acquisition result, the integration of new acquisition result to be extensible markup language file, the data is sent to the network management center, to indicate that the network management parsing the data center extensible Markup language file and the analysis result stored in the database.

[0145] 上述产品可执行本发明任意实施例所提供的设备统一管理方法,具备执行方法相应的功能模块和有益效果。 [0145] The apparatus may perform the unified product management method provided in any embodiment of the present invention includes a method of performing the respective function module and benefits.

[0146] 实施例六 [0146] Sixth Embodiment

[0147] 图6是本发明实施例六提供的新被管理设备纳入装置的结构示意图。 [0147] FIG. 6 is a schematic diagram of apparatus incorporating new devices to be managed according to a sixth embodiment of the present invention. 参见图6,该装置的具体结构如下: Referring to Figure 6, a specific configuration of the device is as follows:

[0148] 标识信息及采集项获取单元610,用于获取待纳入的新被管理设备的至少两个层级标识信息和至少一个属性采集项; [0148] and the identification information acquisition unit 610 collecting items, for obtaining at least two levels of identification information of the new device to be managed, and into at least one attribute item acquisition;

[0149] 采集测试单元620,用于分别针对各属性采集项,根据所述至少两个层级标识信息,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,基于查找到的推荐采集方法对所述新被管理设备进行当前属性采集项的采集测试; [0149] Acquisition test unit 620, for each item collected for each attribute, the at least two levels according to the identification information, the list of pre-created in the acquisition management library stored in the current entry corresponding to the attribute acquisition locate the recommended collection the method, based on the searched collection methods are recommended for the management device to acquire a test current for the new collection item properties;

[0150] 采集方法确定单元630,用于根据采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果是否相同,确定对所述新被管理设备进行当前属性采集项米集的实际米集方法; [0150] The method of determining acquisition unit 630 for acquiring a result of the current collecting property of the item is actually recorded on the managed device is the same as the test result and the new acquisition, the management of the new determining device current attributes the actual method of item m m set set acquisition;

[0151] 采集列表更新单元640,用于根据所述至少两个层级标识信息以及确定结果,相应更新所述采集列表。 [0151] Acquisition list update unit 640, for at least two levels according to the determination result and the identification information, the pick list is updated accordingly.

[0Ί52]进一步的,所述采集方法确定单元630,具体用于: [0Ί52] Furthermore, the acquisition method determination unit 630, specifically configured to:

[0153] 如果采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果相同,则确定对所述新被管理设备进行当前属性采集项采集的实际采集方法为所述推荐采集方法; [0153] If the acquisition of the new test result is the same as a result of the current collecting property item acquired actually recorded on the management apparatus, it is determined that the new device is actually collected management method properties acquired current item is collected the collection method recommendation;

[0154] 如果采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果不同,则生成对所述待纳入的新被管理设备进行当前属性采集项的实际采集方法。 [0154] If the test result with a different collection of new managed collection device actually recorded on a result of the current collecting property item is generated for the current actual acquisition of the new property item acquired by said management device to be included method.

[0155] 进一步的,所述至少两个层级标识信息包括:层级依次降低的厂商标识、型号标识和版本标识。 [0155] Further, the identification information comprises at least two levels: level successively lower vendor ID, model ID and the version identification.

[0156] 上述产品可执行本发明任意实施例所提供的新被管理设备纳入方法,具备执行方法相应的功能模块和有益效果。 [0156] These products are new executable management device provided by the embodiment of the present invention into any embodiment of the method, the method comprising performing a respective function module and benefits.

[0157] 实施例七 [0157] Seventh Embodiment

[0158] 图7是本发明实施例七提供的一种设备管理系统的网络架构示意图。 [0158] FIG. 7 is a schematic diagram of a network device management system architecture according to a seventh embodiment of the present invention. 参见图7,该设备管理系统包括:统一监控平台710、基础数据采集平台720、采集执行平台730和网管数据中心740。 7, the device management system includes: a unified monitoring platform 710, basic data collection platforms 720, 730 and acquisition execution platform network management data center 740. 其中: among them:

[0159] 统一监控平台710,用于向基础数据采集平台720发起对被管理设备的采集请求, 从管理库获取层级标识信息,以及向管理库添加新被管理设备的层级标识信息。 [0159] 710 unified monitoring platform for acquisition platform 720 initiates a request for collection of managed devices to the underlying data, obtain identification information from the management level libraries, and add new levels of identification information to the managed device management library.

[0160] 基础数据采集平台720,用于在接收到采集请求后,加载管理库和采集方法库,然后基于上述任意实施例提供的设备统一管理方法,查找被管理设备在各属性采集项下的采集方法,并指示采集执行平台730根据查找结果,基于简单网络管理协议对被管理设备进行各属性采集项的采集,然后将最终的采集结果发送至网管数据中心740。 [0160] The underlying data collection platform 720, after receiving a request for acquisition, and a load manager library library collection methods, the unified management apparatus and method provided by any of the above embodiments, looking up the management device at each of the acquired property entry collection method and collection indicating execution platform 730 according to a search result, based on simple network management protocol to collect each attribute item of the collection management device, and then sends the final result to the network management data collection center 740.

[0161] 其中,管理库包括层级标识结构表、属性采集项列表以及与属性采集项列表中各属性采集项一一对应的采集列表,采集列表存储有不同层级标识信息与不同采集方法标识之间的映射关系。 [0161] wherein the library comprises a collection management structure identifies hierarchical list table, a list of attributes and attribute items acquired collection items with each attribute in the list of collected items respectively, a pick list of the identification information stored at different levels and between different acquisition method of identifying the mappings. 由于此处的映射关系仅仅两种不同标识之间的映射,故基础数据采集平台720在加载管理库的同时,还需一并加载与各个采集方法标识对应的采集方法库。 Since only the mapping between the two different identifier mapping relationship here, so that the basic data collection platform 720 while loading the library management, the need to identify the respective load together collection method corresponding to the library collection method.

[0162] 网管数据中心740,用于将所接收的采集结果存储到数据库,并提供对采集结果的查询服务。 [0162] Data network management center 740, for collecting the received results stored in the database, and provide access to services of the collected results. 数据库中存储的采集结果可作为对被管理设备进行监控和业务管理的基础。 The results stored in the acquisition database may be managed as a basis for monitoring equipment and business management.

[0163] 注意,上述仅为本发明的较佳实施例及所运用技术原理。 [0163] Note that, examples, and techniques using the principles described above is only the preferred embodiment of the present invention. 本领域技术人员会理解, 本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、 重新调整和替代而不会脱离本发明的保护范围。 Those skilled in the art will appreciate, the present invention is not limited to the particular embodiments described herein, the skilled person that various obvious changes, and substitutions without readjustment departing from the scope of the present invention. 因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Thus, while the above embodiments of the present invention has been described in detail, but the present invention is not limited to the above embodiments, without departing from the spirit of the present invention may further comprise additional other equally effective embodiments, the present invention by the scope of the appended claims range determination.

Claims (12)

  1. 1. 一种设备统一管理方法,其特征在于,包括: 获取被管理设备的至少两个层级标识信息以及至少一个属性采集项; 在对所述被管理设备进行任一属性采集项采集时,依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找; 基于查找到的采集方法对被管理设备进行当前属性采集项的采集; 其中,所述管理库存储有与各个属性采集项对应的采集列表;采集列表用于描述在当前属性采集项下,不同层级标识信息与不同采集方法之间的映射关系; 其中,所述至少两个层级标识信息包括:层级依次降低的厂商标识、型号标识和版本标识; 在被所述管理设备的所述至少两个层级标识信息为三个层级标识信息的情形下,所述采集列表 1. An apparatus for unified management method, comprising: obtaining at least two levels of identification information of the managed device, and at least one attribute item acquired; when the managed collection device according to any one attribute item collection, sequentially at least two levels of said identification information based on the low to high level identification information from the pre-created lookup database management method properties acquired current collection items managed device, if any one of a lookup is successful, then no further subsequent lookups; attribute collector current collection item based on the managed device to find acquisition method; wherein said store manager has acquired the list of attributes corresponding to each item collection; pick list for the description items in the current collection properties , the mapping relationship between the identification information of different levels and different collection method; wherein said identification information comprises at least two levels: level successively lower vendor ID, model number and version identifier; the management device by said at least two case level identification information for the three levels of identification information, the pick list 创建可基于如下方式来实现: 如果所述厂商标识相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述厂商标识具有映射关系的采集方法; 和/或,如果所述厂商标识相同且所述型号标识也相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述型号标识具有映射关系的采集方法。 Create may be implemented based on the mode: the same acquisition method in a single property item acquired vendor if the same identifier to all the managed devices, and is stored only in the collection corresponding to the list one item acquisition the acquisition method having a vendor identification mappings; and / or, if the same vendor ID and the same model ID is the same for all of the managed device acquisition method in a single property item acquired, and then collecting the one item corresponding to the list acquisition stores only the identification model mappings having acquisition method.
  2. 2. 根据权利要求1所述的设备统一管理方法,其特征在于,获取被管理设备的至少两个层级标识信息,包括: 获取被管理设备的版本标识; 根据所述版本标识,在预先创建的管理库所存储的厂商标识、型号标识和版本标识的映射关系中,查找被管理设备的厂商标识和型号标识。 2. The apparatus according to the unified management method as claimed in claim 1, wherein obtaining at least two levels of identification information is managed device, comprising: obtaining a version identification of the managed device; according to the version identifier in the pre-created management library stored vendor identification, mapping relationship model number and version identification, look for the managed device vendor identification and model identification.
  3. 3. 根据权利要求1所述的设备统一管理方法,其特征在于,获取至少一个属性采集项, 包括: 通过查询预先创建的管理库中所存储的属性采集项列表,获取至少一个属性采集项。 3. The apparatus according to the unified management method as claimed in claim 1, wherein obtaining at least one attribute item acquisition, comprising: a list of items collected by querying the pre-established stored in the management database attributes, acquiring at least one attribute item collection.
  4. 4. 根据权利要求1-3中任一项所述的设备统一管理方法,其特征在于,在依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法之后,还包括: 如果均查找失败,则基于预先设定的与当前属性采集项对应的公共采集方法,对被管理设备进行当前属性采集项的采集。 The unified management apparatus 4. The method according to any one of the preceding claims, characterized in that, in order based on at least two levels of identification information from low to high level identification information, from the management of pre-created after the library to find a method of collecting current collecting property item managed device, further comprising: if the average lookup fails, the common attribute collector current collection method corresponding to the entry is set in advance based on the managed device attribute collector current collection items.
  5. 5. 根据权利要求1-3中任一所述的设备统一管理方法,其特征在于,所述采集方法包括:处理逻辑handle和采集项参数; 其中,采集项参数包括:管理信息节点对象标识符OID信息、OID值解析规则正则表达式和采集项因子; 基于查找到的采集方法对被管理设备进行当前属性采集项的采集,包括: 根据查找到的采集项参数中的OID信息,基于简单网络管理协议对所述被管理设备进行当前属性采集项的采集; 根据查找到的采集项参数中的OID值解析规则正则表达式、采集项因子以及handle,对采集结果进行解析和转换,得到新的采集结果。 Unified management apparatus 5. The method according to any of claims 1-3, characterized in that, the acquisition method comprising: processing logic that handle items and acquisition parameters; wherein the acquisition parameters comprise items: object identifier management node information OID information, OID value parsing rules of regular expressions and collection items factor; collected current property acquired item to the managed device based on the found acquisition method, comprising: based on the OID information found acquisition key parameters, simple network management protocol of the managed device to collect the current collecting property item; OID values ​​according to parsing rules to find the items parameter acquisition regular expression, and factor collection items handle, for collecting and analyzing the results for conversion, to obtain a new collection results.
  6. 6. 根据权利要求5所述的设备统一管理方法,其特征在于,在得到新的采集结果之后, 还包括: 将新的采集结果整合成可扩展标识语言文件,发送至网管数据中心,以指示所述网管数据中心解析所述可扩展标识语言文件,并将解析结果存储到数据库。 Unified management apparatus 6. The method as claimed in claim 5, wherein, after obtaining the new results collected, further comprising: integrating new acquisition result to be extensible markup language file, the data is sent to the network management center to indicate the network management center data extensible Markup language parsing the file and the analysis result stored in the database.
  7. 7. —种新被管理设备纳入方法,其特征在于,包括: 获取待纳入的新被管理设备的至少两个层级标识信息和至少一个属性采集项; 分别针对各属性采集项,根据所述至少两个层级标识信息,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,基于查找到的推荐采集方法对所述新被管理设备进行当前属性采集项的采集测试; 根据采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果是否相同,确定对所述新被管理设备进行当前属性采集项采集的实际采集方法; 根据所述至少两个层级标识信息以及确定结果,相应更新所述采集列表; 其中,所述至少两个层级标识信息包括:层级依次降低的厂商标识、型号标识和版本标识; 在被所述管理设备的所述至少两个层级标识信息为三个层级标识信 7. - the managed devices into a new kind of method, comprising: acquiring new devices to be managed into at least two levels of identification information item and at least one attribute acquisition; respectively for each attribute item acquired, in accordance with at least two levels of identification information list acquired in the current collecting property corresponding to the entry created in advance stored in the library management, look up the recommended method for acquiring recommendations based on collection methods to find the managed device to the new entry for the current collection properties acquisition test; the test results in accordance with the new collection on a managed device to capture the current result of the property item acquired actually recorded are the same, is determined by the management of the new method of this device actually acquired property item acquired collected ; at least two levels according to the identification information and the result of the determination, updating the corresponding list acquisition; wherein the identifying information comprises at least two levels: level successively lower vendor ID, model ID and version identification; being the the management device identification information of at least two hierarchy levels to three letter identifier 息的情形下,所述采集列表的创建可基于如下方式来实现: 如果所述厂商标识相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述厂商标识具有映射关系的采集方法; 和/或,如果所述厂商标识相同且所述型号标识也相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述型号标识具有映射关系的采集方法。 In the case of interest, creating a pick list may be implemented based on the mode: the same if the same vendor identifies all the managed device acquisition method in a single property item acquired, then the one with a pick list of collected items corresponding to the stores only vendor identification mappings having acquisition method; and / or, if the same identification and vendor model identification also the same for all the managed devices at a single property acquisition acquisition method under the same, only the model identification stored mapping relationship with collection method acquired in the list corresponding to the item acquired one.
  8. 8. 根据权利要求7所述的新被管理设备纳入方法,其特征在于,根据采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果是否相同,确定对所述新被管理设备进行当前属性采集项采集的实际采集方法,包括: 如果采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果相同,则确定对所述新被管理设备进行当前属性采集项采集的实际采集方法为所述推荐米集方法; 如果采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果不同,则生成对所述待纳入的新被管理设备进行当前属性采集项的实际采集方法。 Newly according to claim 7 into said management device, characterized in that the result of the current collecting property item acquired actually recorded on the managed device is the same as the test result and the new acquisition, determination of the new device is the current actual management method properties acquired collection item acquisition, comprising: the management device if the same acquisition result and the new test results are collected for the current collection properties of the item actually recorded, is determined by said new current actual managed devices collection method acquired property item acquired in meters the method of the recommendation set; with different results if the acquisition of new managed device actually recorded on a result of the current collecting property item acquired, is generated for the new device to be managed is included in the method attribute collector current actual collection of items.
  9. 9. 一种设备统一管理装置,其特征在于,包括: 标识信息及采集项获取单元,用于获取被管理设备的至少两个层级标识信息以及至少一个属性采集项; 采集方法查找单元,用于在对所述被管理设备进行任一属性采集项采集时,依次基于所述至少两个层级标识信息中从低到高的层级标识信息,从预先创建的管理库中查找对被管理设备的当前属性采集项的采集方法,如果任一次查找成功,则不再进行后续查找; 采集项采集单元,用于基于所述采集方法查找单元查找到的采集方法对被管理设备进行当前属性采集项的采集; 其中,所述管理库存储有与各个属性采集项对应的采集列表;采集列表用于描述在当前属性采集项下,不同层级标识信息与不同采集方法之间的映射关系; 其中,所述至少两个层级标识信息包括:层级依次降低的厂商标识、型号标识和版 9. An apparatus unified management apparatus, characterized by comprising: acquiring the identification information items and acquisition unit for obtaining at least two levels of identification information of the managed device, and at least one attribute item acquisition; acquisition method searching unit for when the managed collection device according to any one attribute item acquisition, based on at least two levels in sequence identification information, the management device to find the current from the pre-created database management from low to high level identification information collecting attribute item collection method, if any one of a lookup is successful, then no follow-up to find; collecting item acquisition unit, a searching unit to find acquisition method of collecting managed devices based on the current attributes of the acquired item acquisition method ; wherein said management database stores a list of acquired items corresponding to the respective acquired attribute; a pick list of attributes used to describe the current collection item, the mapping relationship between the identification information of different levels and different collection method; wherein said at least two levels of identification information includes: successively lower levels of vendor identification, model identification and version 本标识; 在被所述管理设备的所述至少两个层级标识信息为三个层级标识信息的情形下,所述采集列表的创建可基于如下方式来实现: 如果所述厂商标识相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述厂商标识具有映射关系的采集方法; 和/或,如果所述厂商标识相同且所述型号标识也相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述型号标识具有映射关系的采集方法。 This identifier; in the case where the management device is at least two levels to three levels of identification information identifying information, the acquisition may be created based on the list of ways to achieve: if all of the same identity of the vendor said management apparatus is the same collection method acquired at a single property item, only the vendor identifier having stored mapping relationship in the collection method corresponding to the acquired list one item acquisition; and / or, if the same acquisition method in a single property item acquired in said same vendor identification and model identification also the same for all the managed devices, and is stored only in the list of models corresponding to the collecting one collecting items identifying mappings having acquisition method.
  10. 10. 根据权利要求9所述的设备统一管理装置,其特征在于,所述标识信息及采集项获取单元,包括: 标识信息获取子单元,用于获取被管理设备的版本标识;根据所述版本标识,在预先创建的管理库所存储的厂商标识、型号标识和版本标识的映射关系中,查找被管理设备的厂商标识和型号标识。 10. The apparatus according to the unified management apparatus according to claim 9, wherein the identification information acquiring unit and the collection items, comprising: identification information obtaining sub-unit, configured to obtain a version identifier of the managed device; according to the version logo, pre-created in the vendor management library stored identification, mapping relationship model number and version identification, look for the managed device vendor identification and model identification.
  11. 11. 根据权利要求9所述的设备统一管理装置,其特征在于,所述标识信息及采集项获取单元,包括: 采集项获取子单元,用于通过查询预先创建的管理库中所存储的属性采集项列表,获取至少一个属性采集项。 11. The apparatus according to the unified management apparatus according to claim 9, wherein the identification information acquiring unit and the collection items, comprising: obtaining subunit collection item, an attribute previously created by the query stored in the management repository list of items collected, get at least one attribute collection items.
  12. 12. —种新被管理设备纳入装置,其特征在于,包括: 标识信息及采集项获取单元,用于获取待纳入的新被管理设备的至少两个层级标识信息和至少一个属性采集项; 采集测试单元,用于分别针对各属性采集项,根据所述至少两个层级标识信息,在预先创建的管理库所存储的与当前属性采集项对应的采集列表中,查找推荐采集方法,基于查找到的推荐采集方法对所述新被管理设备进行当前属性采集项的采集测试; 采集方法确定单元,用于根据采集测试结果与所述新被管理设备上实际记录的对所述当前属性采集项的采集结果是否相同,确定对所述新被管理设备进行当前属性采集项采集的实际米集方法; 采集列表更新单元,用于根据所述至少两个层级标识信息以及确定结果,相应更新所述采集列表; 其中,所述至少两个层级标识信息包括:层级依次降 12. - New species were management device containing means, characterized by comprising: acquiring the identification information items and acquisition unit for acquiring new devices to be managed into at least two levels of identification information item and at least one attribute acquisition; acquisition test means for collecting separately for each attribute item according to the identification information of the at least two levels, a pre-created in the pick list management database stored in the current collecting property corresponding to the entry, locate the recommended acquisition method, based on the look the the collection method is recommended for the new management device for collecting a test current collecting property item; acquisition method determination unit for collecting attribute of the current item is actually recorded on the managed apparatus according to the acquisition result and the new test the results are the same collection, the new determination of the actual device being managed meters current property acquisition method set item acquired; list updating acquisition unit for identification information of said at least two levels, and a determination result, updates the appropriate collection list; wherein said identification information comprises at least two levels: level sequentially drop 低的厂商标识、型号标识和版本标识; 在被所述管理设备的所述至少两个层级标识信息为三个层级标识信息的情形下,所述采集列表的创建可基于如下方式来实现: 如果所述厂商标识相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述厂商标识具有映射关系的采集方法; 和/或,如果所述厂商标识相同且所述型号标识也相同的所有所述被管理设备在某一个属性采集项下的采集方法相同,则在与所述某一个采集项对应的采集列表中仅存储与所述型号标识具有映射关系的采集方法。 Low vendor identification, identification and model version identification; in the case where the management device is at least two levels to three levels of identification information identifying information, the acquisition may be created based on the list of ways to achieve: if the same vendor identifier management apparatus is the same for all the acquisition method in a single property item acquired, storing only the vendor ID in the list has a mapping relation with the corresponding collecting one collecting collection items method; and / or, if the vendor ID and the same model ID is the same for all the managed devices with the same acquisition method in a single property item acquired, then acquisition and one corresponding to the acquired item list only stores the type identifier having a mapping relationship acquisition method.
CN 201410653161 2014-11-17 2014-11-17 Unified management apparatus, method and corresponding apparatus into CN104378233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410653161 CN104378233B (en) 2014-11-17 2014-11-17 Unified management apparatus, method and corresponding apparatus into

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410653161 CN104378233B (en) 2014-11-17 2014-11-17 Unified management apparatus, method and corresponding apparatus into

Publications (2)

Publication Number Publication Date
CN104378233A true CN104378233A (en) 2015-02-25
CN104378233B true CN104378233B (en) 2018-04-03

Family

ID=52556911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410653161 CN104378233B (en) 2014-11-17 2014-11-17 Unified management apparatus, method and corresponding apparatus into

Country Status (1)

Country Link
CN (1) CN104378233B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998687A (en) * 2009-08-18 2011-03-30 中国移动通信集团广东有限公司 Method and device for collecting network parameters of WLAN (Wireless Local Area Network)
CN103166776A (en) * 2011-12-13 2013-06-19 成都勤智数码科技有限公司 Access network device total management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5243804B2 (en) * 2008-01-21 2013-07-24 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Computer system for managing the components, as well as methods and computer program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998687A (en) * 2009-08-18 2011-03-30 中国移动通信集团广东有限公司 Method and device for collecting network parameters of WLAN (Wireless Local Area Network)
CN103166776A (en) * 2011-12-13 2013-06-19 成都勤智数码科技有限公司 Access network device total management system

Also Published As

Publication number Publication date Type
CN104378233A (en) 2015-02-25 application

Similar Documents

Publication Publication Date Title
US6052724A (en) Method and system for managing a directory service
US9077611B2 (en) Self configuring network management system
US7926031B2 (en) Configuration management database and system
US20030074436A1 (en) Management information base object model
US20080010366A1 (en) System and method for generating unique and persistent identifiers
US20060143179A1 (en) Apparatus and method for managing security policy information using a device management tree
US20080027981A1 (en) System and method for ontology-based translation between directory schemas
US6615201B1 (en) Computer network management
US7814114B2 (en) Tree-based information query model
US7120678B2 (en) Method and apparatus for configurable data collection on a computer network
US20040153536A1 (en) System and method for mapping between and controlling different device abstractions
US20030009543A1 (en) Network management system and computer-based methods for network management
US20080040467A1 (en) Method and system for dynamic loading of management information bases on network devices
US20040181541A1 (en) Relational model for management information in network devices
US20110085461A1 (en) Flexible network measurement
US6484160B1 (en) Process for optimizing accesses to a database
US20140351312A1 (en) Lightweight iot information model
US20040158625A1 (en) System and method for efficient master agent utilization
CN101022366A (en) Trouble correlation analytic system and method
US20130006935A1 (en) Methods and apparatus related to graph transformation and synchronization
US20090300199A1 (en) Methods and Media for a Protocol Abstraction Layer for Information Handling Systems
CN1984170A (en) Method for processing network alerting information
US20100115100A1 (en) Federated configuration data management
CN101354696A (en) Data integration and application service system based on electric communication field sharing information model
US20120096143A1 (en) System and method for indicating the impact to a business application service group resulting from a change in state of a single business application service group node

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01