CN105144630A - Network element equipment presentation device, method and network element - Google Patents

Network element equipment presentation device, method and network element Download PDF

Info

Publication number
CN105144630A
CN105144630A CN201480000226.XA CN201480000226A CN105144630A CN 105144630 A CN105144630 A CN 105144630A CN 201480000226 A CN201480000226 A CN 201480000226A CN 105144630 A CN105144630 A CN 105144630A
Authority
CN
China
Prior art keywords
network element
element device
information
configuration
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201480000226.XA
Other languages
Chinese (zh)
Other versions
CN105144630B (en
Inventor
廖胜天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105144630A publication Critical patent/CN105144630A/en
Application granted granted Critical
Publication of CN105144630B publication Critical patent/CN105144630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0233Object-oriented techniques, for representation of network management data, e.g. common object request broker architecture [CORBA]

Landscapes

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

Abstract

本申请公开了一种网元设备的呈现装置,方法及网元,其中,所述网元设备的呈现装置,包括第一判断模块、第一生成模块和第一呈现模块,所述第一判断模块用于在检测到安装网元设备时,判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO,所述第一生成模块用于在所述网元中未预先配置所述第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,所述第一呈现模块用于将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。通过上述方式,本申请能够统一使用MO呈现网元设备的信息,且网元能够识别并主动删除非配置对象的MO。

The present application discloses a network element device presentation device, a method, and a network element, wherein the network element device presentation device includes a first judging module, a first generation module, and a first presentation module, and the first judging The module is used to determine whether the first management object MO used to identify the network element device is pre-configured in the network element when the installation of the network element device is detected, and the first generation module is used to pre-configure in the network element When configuring the first MO, generate a second MO, and record the detected information of the network element device into the second MO, and the first presentation module is configured to use the second MO as a user The second MO for identifying the network element device is used to present the information of the network element device. Through the above method, the present application can uniformly use MOs to present information of network element devices, and network elements can identify and actively delete MOs that are not configuration objects.

Description

一种网元设备的呈现装置、方法及网元 Apparatus, method and network element for presenting network element equipment

【技术领域】【Technical field】

本发明涉及网络管理技术领域,特别涉及一种网元设备的呈现装置、方法及网元。The present invention relates to the technical field of network management, in particular to a presenting device, method and network element of network element equipment.

【背景技术】 【Background technique】

网元管理系统(英文:Element Management System,简称:EMS),是管理特定类型的一个或多个网元(英文:Network Element,简称:NE)的系统。一般,EMS通过南向接口管理每个网元的功能和容量。网元在检测到安装了设备如单板(本申请将可在网元上安装的设备统称为网元设备)时,则将检测到的该网元设备的信息发送给EMS,即实现对网元设备信息的呈现。Network element management system (English: Element Management System, referred to as: EMS), is to manage one or more network elements of a specific type (English: Network Element, referred to as: NE) system. Generally, the EMS manages the function and capacity of each network element through the southbound interface. When the network element detects that a device such as a single board is installed (the devices that can be installed on the network element are collectively referred to as network element equipment in this application), it will send the detected information of the network element device to the EMS, that is, realize network Presentation of meta-device information.

具体,现有对网元设备的呈现方法主要是:通过给网元设备预先配置管理对象(英文:Managed Object,简称MO)来呈现网元设备的信息。具体,用户预先通过EMS对网元设备配置一管理对象(英文:Managed Object,简称:MO),网元在检测到安装所述网元设备时,则将检测到的网元设备信息直接更新到预先配置的MO中,将更新后的 MO发送给EMS以实现对网元设备信息的呈现。而对于未配置MO的网元设备,则(1)采用独立于MO的HW自定义模型,呈现该对象的信息。如网元将检测到的网元设备信息记录在XML文件上:Specifically, the existing methods for presenting network element devices are mainly: by pre-configuring management objects (English: Managed Objects) for network element devices Object, referred to as MO) to present the information of network element devices. Specifically, the user configures a management object (English: Managed Object, referred to as: MO), when the network element detects that the network element device is installed, it will directly update the detected network element device information to the pre-configured MO, and the updated The MO is sent to the EMS to realize the presentation of network element equipment information. For the network element equipment without MO, then (1) use the HW custom model independent of MO to present the information of the object. For example, the network element records the detected network element device information on the XML file:

<XML><XML>

<Subrack SubrackNo=0> <Subrack SubrackNo=0>

</Subrack> </subrack>

<Subrack SubrackNo=1> <Subrack SubrackNo=1>

</Subrack> </subrack>

<Board SubrackNo=1 BoardNo=3> <Board SubrackNo=1BoardNo=3>

</Board> </Board>

</XML></XML>

将XML文件发送给EMS以呈现信息。或者(2)在网元支持自动配置管理开关,且网元能够直接确定该网元设备的连接关系或位置时,通过将该开关配置为开,网元为该网元设备自动生成MO,以向EMS呈现所述网元设备的信息。Send the XML file to EMS to render the information. Or (2) When the network element supports the automatic configuration management switch, and the network element can directly determine the connection relationship or location of the network element device, by configuring the switch to be on, the network element automatically generates MO for the network element device, so as to Presenting the information of the network element device to the EMS.

然而,上述对未配置MO的网元设备的管理方式(1)中,需要采用独立于MO模型的其他自定义模型规则,使得EMS需要能够识别两种模型。上述对未配置MO的网元设备的管理方式(2),网元如果不能直接确定该网元设备的连接关系或位置时,则无法自动生成MO,即无法实现呈现该网元设备的信息。且由于现有网元中的MO默认是配置对象,一旦生成网元无权自动删除,如误安装网元设备,则可能导致生成异常的MO,却无法进行删除。However, in the above-mentioned management method (1) for network element devices not configured with MO, other self-defined model rules independent of the MO model need to be adopted, so that the EMS needs to be able to recognize the two models. In the management method (2) of the above-mentioned network element equipment not configured with MO, if the network element cannot directly determine the connection relationship or location of the network element equipment, the MO cannot be automatically generated, that is, the information of the network element equipment cannot be presented. And because the MO in the existing network element is the configuration object by default, once the network element is generated, there is no right to automatically delete it. If the network element device is installed by mistake, it may cause an abnormal MO to be generated, but it cannot be deleted.

【发明内容】 【Content of invention】

本申请主要解决的技术问题是提供一种网元设备的呈现装置、方法及网元,能够统一使用MO呈现网元设备的信息,且网元能够识别并主动删除非配置对象的MO。The main technical problem to be solved in this application is to provide a network element device presentation device, method and network element, which can uniformly use MO to present network element equipment information, and the network element can identify and actively delete MOs that are not configuration objects.

为解决上述技术问题,本申请第一方面提供一种网元设备的呈现装置,包括第一判断模块、第一生成模块和第一呈现模块,所述第一判断模块用于在检测到安装网元设备时,判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO,并将所述第一判断结果发送所述第一生成模块,其中,所述第一MO的配置对象属性为配置标记,所述配置标记用于表示所述第一MO是配置对象,以提示所述网元不能主动删除所述第一MO;所述第一生成模块用于在所述网元中未预先配置所述第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,将所述第二MO发送给所述第一呈现模块,其中,所述第二MO的配置对象属性设置为非配置标记,所述非配置标记用于表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO;所述第一呈现模块用于将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。In order to solve the above technical problems, the first aspect of the present application provides a network element device presentation device, including a first judging module, a first generation module and a first presentation module, the first judging module is used to detect the installed network For element equipment, it is judged whether the network element is pre-configured to identify the first management object MO of the network element equipment, and the first judgment result is sent to the first generating module, wherein the first MO’s The configuration object attribute is a configuration mark, and the configuration mark is used to indicate that the first MO is a configuration object, so as to prompt that the network element cannot actively delete the first MO; the first generating module is used to When the first MO is not pre-configured in the element, generate a second MO, record the detected information of the network element equipment into the second MO, and send the second MO to the first The presenting module, wherein the configuration object attribute of the second MO is set to a non-configuration flag, and the non-configuration flag is used to indicate that the second MO is not a configuration object, so as to prompt the network element to actively delete the second MO. MO: the first presenting module is configured to use the second MO as the second MO for identifying the network element device, so as to present the information of the network element device.

结合第一方面,本申请第一方面第一种可能的实施方式为:所述第一呈现模块包括第一判断单元、第一呈现单元和第二呈现单元,所述第一判断单元用于判断所述第二MO是否为非确定标识对象,并将第二判断结果发送给所述第一呈现单元和第二呈现单元,其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,所述对象标识即为MO的识别标记,且用于表示出所述MO所标识的网元设备;所述第一呈现单元用于在所述第二MO不为非确定标识对象时,直接将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息;所述第二呈现单元用于在所述第二MO为非确定标识对象时,为所述第二MO设置非确定标识标记,将设置后的第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息,其中,所述非确定标识标记用于提示所述第二MO为非确定标识对象。With reference to the first aspect, the first possible implementation manner of the first aspect of the present application is: the first presentation module includes a first judgment unit, a first presentation unit, and a second presentation unit, and the first judgment unit is used to judge Whether the second MO is an undetermined identification object, and send the second judgment result to the first presentation unit and the second presentation unit, wherein, if the object identification of the second MO cannot pass through the network element device If it is directly represented by the connection relationship or position of the MO, it is a non-determined identification object, and the object identification is the identification mark of the MO, and is used to indicate the network element equipment identified by the MO; the first presentation unit is used to When the second MO is not an undetermined identification object, directly use the second MO as the second MO for identifying the network element device, so as to present the information of the network element device; the second The presenting unit is configured to set an undetermined identification flag for the second MO when the second MO is an undetermined identification object, and use the set second MO as the second MO for identifying the network element device, In order to present the information of the network element device, wherein the non-deterministic identification mark is used to prompt that the second MO is a non-deterministic identification object.

结合第一方面或第一方面第一种可能的实施方式,本申请第一方面第二种可能的实施方式为:所述装置还包括第二生成模块,所述第二生成模块用于在第一判断模块判断所述网元中已预先配置所述第一MO时,检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,并将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备。With reference to the first aspect or the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect of the present application is: the device further includes a second generation module, and the second generation module is used to When a judging module judges that the first MO has been pre-configured in the network element, it detects the compatibility state between the first MO and the network element equipment, and records the detected compatibility state in the first MO Compatibility status attribute, and set the installation status attribute of the first MO to the installed flag, and update the detected information of the network element device to the first MO, and use the first MO as The first MO for identifying the network element device, so as to realize the presentation of the network element device information, wherein the installed flag indicates that the network element device identified by the first MO is currently installed.

结合第一方面或第一方面第一至二任一种可能的实施方式,本申请第一方面第三种可能的实施方式为:所述装置还包括第二判断模块、保留模块和第一删除模块,所述第二判断模块用于在检测到拔出网元设备时,根据用于标识所述网元设备的MO的配置对象属性,判断所述用于标识所述网元设备的MO为第一MO还是第二MO,并将所述第三判断结果发送到所述保留模块和第一删除模块;所述保留模块用于在所述用于标识所述网元设备的MO为第一MO时,保留所述用于标识所述网元设备的MO;所述第一删除模块用于在标识所述网元设备的MO为第二MO,则删除所述用于标识所述网元设备的MO。In combination with the first aspect or any one of the first to second possible implementation manners of the first aspect, the third possible implementation manner of the first aspect of the present application is: the device further includes a second judging module, a retention module, and a first deletion module, the second judging module is used to judge that the MO used to identify the network element device is The first MO is still the second MO, and the third judgment result is sent to the reservation module and the first deletion module; the reservation module is used to identify the network element device as the first MO When MO, retain the MO used to identify the network element device; the first deletion module is used to identify the MO of the network element device as the second MO, then delete the MO used to identify the network element The MO of the device.

结合第一方面或第一方面第一至三任一种可能的实施方式,本申请第一方面第四种可能的实施方式为:所述装置还包括第三判断模块和第三生成模块,所述第三判断模块用于在接收到为网元设备配置第一MO的配置指令时,判断所述网元当前是否安装所述网元设备,并将第四判断结果发送给所述第三生成模块,其中,所述配置指令包括所述网元设备的信息;所述第三生成模块用于在所述网元当前未安装所述网元设备时,生成第一MO,将所述第一MO的安装状态属性设置为未安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中后,将所述第一MO作为用于标识所述网元设备的第一MO进行保存,其中,所述未安装标记表示当前未安装所述第一MO标识的网元设备。In combination with the first aspect or any one of the first to third possible implementation manners of the first aspect, the fourth possible implementation manner of the first aspect of the present application is: the device further includes a third judging module and a third generating module, so The third judging module is used to judge whether the network element is currently installed with the network element device when receiving a configuration instruction for configuring the first MO for the network element device, and send the fourth judgment result to the third generation module, wherein the configuration instruction includes the information of the network element device; the third generation module is used to generate a first MO when the network element is not currently installed with the network element device, and the first MO The installation status attribute of the MO is set to an uninstalled flag, and after recording the network element equipment information in the configuration instruction into the first MO, the first MO is used as the first MO for identifying the network element equipment. An MO is stored, wherein the uninstalled flag indicates that the network element device identified by the first MO is not currently installed.

结合第一方面第四种可能的实施方式,本申请第一方面第五种可能的实施方式为:所述装置还包括第四判断模块、更新模块和第四生成模块,所述第四判断模块用于在所述网元当前已安装所述网元设备,且所述网元中已生成用于标识所述网元设备的第二MO时,判断所述第二MO是否为非确定标识对象,并把第五判断结果发送给所述更新模块和第四生成模块;所述更新模块用于在所述第二MO不是非确定标识对象时,将所述第二MO的配置对象属性设置为所述配置标记,以作为用于标识所述网元设备的第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备;所述第四生成模块用于在所述第二MO是非确定标识对象时,删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,以将所述第一MO作为用于标识所述网元设备的第一MO。In combination with the fourth possible implementation manner of the first aspect, the fifth possible implementation manner of the first aspect of the present application is: the device further includes a fourth judging module, an updating module, and a fourth generating module, and the fourth judging module It is used to determine whether the second MO is an undetermined identification object when the network element device is currently installed on the network element and a second MO for identifying the network element device has been generated in the network element , and send the fifth judgment result to the update module and the fourth generation module; the update module is used to set the configuration object attribute of the second MO to The configuration mark is used as the first MO used to identify the network element device, the installation status attribute of the first MO is set as the installed mark, and the network element device information in the configuration instruction is updated to In the first MO, wherein the installed flag indicates that the network element device identified by the first MO is currently installed; the fourth generation module is used to delete when the second MO is an unidentified object The second MO, and generating a first MO, setting the installation state attribute of the first MO to the installed flag, and recording the network element device information in the configuration command into the first MO , so that the first MO is used as the first MO for identifying the network element device.

结合第一方面第五种可能的实施方式,本申请第一方面第六种可能的实施方式为:所述装置还包括第五判断模块、第五生成模块和第二删除模块,所述第五判断模块用于在接收到删除第一MO的指令时,根据所述需要删除的第一MO的安装状态属性,判断当前是否安装所述第一MO标识的网元设备,并将第六判断结果发送给所述第五生成模块和第二删除模块;所述第五生成模块用于在已安装时,删除所述第一MO,并生成第二MO,并将检测到的所述网元设备的信息记录到第二MO中,以实现呈现所述网元设备的信息;所述第二删除模块用于在未安装时,直接在网元中删除所述第一MO。With reference to the fifth possible implementation manner of the first aspect, the sixth possible implementation manner of the first aspect of the present application is: the device further includes a fifth judging module, a fifth generating module, and a second deleting module, and the fifth The judging module is used to judge whether the network element device identified by the first MO is currently installed according to the installation state attribute of the first MO to be deleted when receiving the instruction to delete the first MO, and report the sixth judgment result Send it to the fifth generation module and the second deletion module; the fifth generation module is used to delete the first MO when installed, and generate a second MO, and send the detected network element device The information of the device is recorded in the second MO to present the information of the network element device; the second deletion module is used to directly delete the first MO in the network element when it is not installed.

结合第一方面或第一方面第一至六任一种可能的实施方式,本申请第一方面第七种可能的实施方式为:所述第一生成模块包括第二判断单元、第一生成单元和第二生成单元,所述第二判断单元用于在所述网元中未预先配置所述第一MO时,判断所述网元设备是否满足预设自动配置条件,并将第七判断结果发送给所述第一、第二生成单元;所述第一生成单元用于在所述网元设备满足预设自动配置条件时,生成第一MO,将检测到的所述网元设备信息记录到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO;所述第二生成单元用于在所述网元设备不满足预设自动配置条件时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中。In combination with the first aspect or any one of the first to sixth possible implementation manners of the first aspect, the seventh possible implementation manner of the first aspect of the present application is: the first generating module includes a second judging unit, a first generating unit and a second generating unit, the second judging unit is configured to judge whether the network element device meets the preset automatic configuration condition when the first MO is not pre-configured in the network element, and the seventh judging result Send to the first and second generation units; the first generation unit is used to generate a first MO when the network element device meets the preset automatic configuration conditions, and record the detected network element device information Into the first MO, use the first MO as the first MO for identifying the network element device; the second generation unit is used for when the network element device does not meet the preset automatic configuration condition , generating a second MO, and recording the detected information of the network element device into the second MO.

为了解决上述技术问题,本申请第二方面提供一种网元,包括第一方面或第一方面第一至七任一种可能的实施方式中所述的网元设备的呈现装置。In order to solve the above technical problem, the second aspect of the present application provides a network element, including the presenting apparatus of the network element device described in the first aspect or any one of the first to seventh possible implementation manners of the first aspect.

为了解决上述技术问题,本申请第三方面提供一种网元设备的呈现方法,包括以下步骤:如果检测到安装网元设备,则判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO,其中,所述第一MO的配置对象属性为配置标记,所述配置标记用于表示所述第一MO是配置对象,以提示所述网元不能主动删除所述第一MO;如果所述网元中未预先配置所述第一MO,则生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,其中,所述第二MO的配置对象属性设置为非配置标记,所述非配置标记用于表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO;将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。In order to solve the above technical problems, the third aspect of the present application provides a method for presenting a network element device, which includes the following steps: if it is detected that the network element device is installed, then judging whether the network element is pre-configured to identify the network element device The first management object MO, wherein, the configuration object attribute of the first MO is a configuration mark, and the configuration mark is used to indicate that the first MO is a configuration object, so as to remind the network element that the first MO cannot be actively deleted. MO; if the first MO is not pre-configured in the network element, generate a second MO, and record the detected information of the network element device into the second MO, where the second The configuration object attribute of the MO is set to a non-configuration flag, and the non-configuration flag is used to indicate that the second MO is not a configuration object, so as to prompt the network element to actively delete the second MO; use the second MO as The second MO used to identify the network element device, so as to present the information of the network element device.

结合第三方面,本申请第三方面第一种可能的实施方式为:所述将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息的步骤具体包括:判断所述第二MO是否为非确定标识对象,其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,所述对象标识即为MO的识别标记,且用于表示出所述MO所标识的网元设备;如果不是,则直接将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息;如果是,则为所述第二MO设置非确定标识标记,将设置后的第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息,其中,所述非确定标识标记用于提示所述第二MO为非确定标识对象。With reference to the third aspect, the first possible implementation manner of the third aspect of the present application is: the second MO is used as the second MO for identifying the network element device, so as to realize the presenting of the network element device The information step specifically includes: judging whether the second MO is an unidentified object, wherein if the object identifier of the second MO cannot be directly represented by the connection relationship or position of the network element device, it is unidentified To identify an object, the object identifier is the identification mark of the MO, and is used to indicate the network element device identified by the MO; if not, directly use the second MO as the identifier for identifying the network element device The second MO is to present the information of the network element device; if yes, set a non-determined identification flag for the second MO, and use the set second MO as the second MO for identifying the network element device The MO is configured to present the information of the network element device, wherein the non-deterministic identification mark is used to prompt that the second MO is an indeterminate identification object.

结合第三方面或第三方面第一种可能的实施方式,本申请第三方面第二种可能的实施方式为:在所述如果检测到安装网元设备,则判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO的步骤之后,所述方法还包括:如果所述网元中已预先配置所述第一MO,则检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备。In combination with the third aspect or the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect of the present application is: if it is detected that a network element device is installed, then judging whether the network element is pre-configured After the step of identifying the first management object MO of the network element device, the method further includes: if the first MO has been pre-configured in the network element, detecting the relationship between the first MO and the network element Compatibility state between devices, recording the detected compatibility state in the compatibility state attribute of the first MO, setting the installation state attribute of the first MO as an installed flag, and recording the detected network element updating the information of the device into the first MO, using the first MO as the first MO for identifying the network element device, so as to realize the presentation of the network element device information, wherein the installed flag Indicates that the network element device identified by the first MO is currently installed.

结合第三方面或第三方面第一至二任一种可能的实施方式,本申请第三方面第三种可能的实施方式为:所述方法还包括:如果检测到拔出网元设备,则根据用于标识所述网元设备的MO的配置对象属性,判断所述用于标识所述网元设备的MO为第一MO还是第二MO;如果所述用于标识所述网元设备的MO为第一MO,则保留所述用于标识所述网元设备的MO;如果所述用于标识所述网元设备的MO为第二MO,则删除所述用于标识所述网元设备的MO。In combination with the third aspect or any of the first to second possible implementation manners of the third aspect, the third possible implementation manner of the third aspect of the present application is: the method further includes: if it is detected that the network element device is pulled out, then According to the configuration object attribute of the MO used to identify the network element device, determine whether the MO used to identify the network element device is the first MO or the second MO; if the MO used to identify the network element device If the MO is the first MO, then retain the MO used to identify the network element device; if the MO used to identify the network element device is the second MO, delete the MO used to identify the network element device The MO of the device.

结合第三方面或第三方面第一至三任一种可能的实施方式,本申请第三方面第四种可能的实施方式为:所述方法还包括:如果接收到为网元设备配置第一MO的配置指令,则判断所述网元当前是否安装所述网元设备,其中,所述配置指令包括所述网元设备的信息;如果所述网元当前未安装所述网元设备,则生成第一MO,将所述第一MO的安装状态属性设置为未安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中后,将所述第一MO作为用于标识所述网元设备的第一MO进行保存,其中,所述未安装标记表示当前未安装所述第一MO标识的网元设备。With reference to the third aspect or any of the first to third possible implementation manners of the third aspect, the fourth possible implementation manner of the third aspect of the present application is: the method further includes: if receiving the first MO configuration instruction, then judge whether the network element is currently installed with the network element device, wherein the configuration instruction includes the information of the network element device; if the network element is not currently installed with the network element device, then Generate a first MO, set the installation state attribute of the first MO to an uninstalled flag, and record the network element device information in the configuration command into the first MO, and use the first MO as The first MO used to identify the network element device is saved, wherein the uninstalled flag indicates that the network element device identified by the first MO is currently not installed.

结合第三方面或第三方面第一至四任一种可能的实施方式,本申请第三方面第五种可能的实施方式为:在如果接收到为网元设备配置第一MO的配置指令,则判断所述网元当前是否安装所述网元设备的步骤之后,所述方法还包括:如果所述网元当前已安装所述网元设备,且所述网元中已生成用于标识所述网元设备的第二MO,则判断所述第二MO是否为非确定标识对象;如果不是,则将所述第二MO的配置对象属性设置为所述配置标记,以作为用于标识所述网元设备的第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备;如果是,则删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,以将所述第一MO作为用于标识所述网元设备的第一MO。In combination with the third aspect or any of the first to fourth possible implementation manners of the third aspect, the fifth possible implementation manner of the third aspect of the present application is: if a configuration instruction for configuring the first MO for the network element device is received, After the step of judging whether the network element is currently installed with the network element device, the method further includes: if the network element is currently installed with the network element device, and the network element has generated a If the second MO of the network element device is used, it is judged whether the second MO is an undetermined identification object; if not, the configuration object attribute of the second MO is set as the configuration flag, as the object used to identify the the first MO of the network element device, set the installation status attribute of the first MO to the installed flag, and update the network element device information in the configuration instruction to the first MO, wherein the The installed flag indicates that the network element device identified by the first MO is currently installed; if yes, delete the second MO, generate the first MO, and set the installation status attribute of the first MO to the installed Installing a mark, and recording the network element device information in the configuration instruction into the first MO, so that the first MO is used as the first MO for identifying the network element device.

结合第三方面或第三方面第一至五任一种可能的实施方式,本申请第三方面第六种可能的实施方式为:所述方法包括:如果接收到删除第一MO的指令,则根据所述需要删除的第一MO的安装状态属性,判断当前是否安装所述第一MO标识的网元设备;如果已安装,则删除所述第一MO,并生成第二MO,并将检测到的所述网元设备的信息记录到第二MO中,以实现呈现所述网元设备的信息;如果未安装,则直接在网元中删除所述第一MO。In combination with the third aspect or any of the first to fifth possible implementation manners of the third aspect, the sixth possible implementation manner of the third aspect of the present application is: the method includes: if an instruction to delete the first MO is received, then According to the installation status attribute of the first MO that needs to be deleted, it is judged whether the network element device identified by the first MO is currently installed; if it is installed, then delete the first MO, and generate a second MO, and detect The obtained information of the network element device is recorded in the second MO, so as to present the information of the network element device; if it is not installed, the first MO is directly deleted in the network element.

结合第三方面或第三方面第一至六任一种可能的实施方式,本申请第三方面第七种可能的实施方式为:所述如果所述网元中未预先配置所述第一MO,则生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中的步骤还包括:如果所述网元中未预先配置所述第一MO,则判断所述网元设备是否满足预设自动配置条件;如果满足,则生成第一MO,将检测到的所述网元设备信息记录到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO;如果不满足,则生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中。In combination with the third aspect or any of the first to sixth possible implementation manners of the third aspect, the seventh possible implementation manner of the third aspect of the present application is: if the first MO is not pre-configured in the network element , then generate a second MO, and the step of recording the detected information of the network element device into the second MO further includes: if the first MO is not pre-configured in the network element, then judging that the Whether the network element device meets the preset automatic configuration conditions; if so, generate the first MO, record the detected network element device information into the first MO, and use the first MO as a The first MO of the network element device; if not satisfied, generate a second MO, and record the detected information of the network element device into the second MO.

区别于现有技术,本申请对所有的网元设备均统一采用MO来呈现所述网元设备的信息,统一了对网元设备信息的呈现方式,使得EMS仅要求能够对MO模型进行解析,即可识别所有的网元设备信息,以实现对网元设备的操作,同时,在检测到安装未配置第一MO的网元设备时,生成第二MO,通过配置对象属性可区分该MO是否为配置对象,使得网元能够保证不会误删作为配置对象的第一MO,且对作为非配置对象的第二MO具有可自动删除的权限。Different from the prior art, this application uniformly adopts MO to present the information of the network element equipment for all the network element equipment, and unifies the presentation mode of the information of the network element equipment, so that the EMS only needs to be able to analyze the MO model, It can identify all the network element equipment information to realize the operation of the network element equipment. At the same time, when the installation of the network element equipment that is not configured with the first MO is detected, the second MO is generated, and the configuration object attribute can be used to distinguish whether the MO is It is a configuration object, so that the network element can ensure that the first MO that is the configuration object will not be deleted by mistake, and has the authority to automatically delete the second MO that is not the configuration object.

【附图说明】 【Description of drawings】

图1是本申请网元设备的呈现装置一实施方式的结构示意图;FIG. 1 is a schematic structural diagram of an embodiment of a presentation device of a network element device in the present application;

图2是图1所示的网元设备的呈现装置所在的网元系统的结构示意图;FIG. 2 is a schematic structural diagram of a network element system where the presentation device of the network element equipment shown in FIG. 1 is located;

图3是本申请网元设备的呈现装置另一实施方式的结构示意图;FIG. 3 is a schematic structural diagram of another embodiment of a presentation device of a network element device in the present application;

图4是本申请网元设备的呈现装置再一实施方式的结构示意图;FIG. 4 is a schematic structural diagram of yet another embodiment of a presentation device of a network element device in the present application;

图5是本申请网元设备的呈现方法一实施方式的流程图;FIG. 5 is a flowchart of an embodiment of a method for presenting a network element device according to the present application;

图6是本申请网元设备的呈现方法另一实施方式的流程图;FIG. 6 is a flow chart of another embodiment of a method for presenting a network element device in the present application;

图7是本申请网元设备的呈现方法再一实施方式的流程图。Fig. 7 is a flow chart of still another embodiment of a method for presenting a network element device according to the present application.

【具体实施方式】 【Detailed ways】

为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

为便于理解,先对本申请中的MO进行同一说明,本申请网元设备的呈现装置中设置有统一的MO模型,所述呈现装置可根据MO模型和网元设备信息生成标识所述网元设备的MO,以通过所述MO实现将网元设备的信息呈现。For ease of understanding, the MO in this application is described firstly. A unified MO model is set in the presentation device of the network element equipment in this application, and the presentation device can generate and identify the network element equipment according to the MO model and network element equipment information. The MO is used to present the information of the network element device through the MO.

其中,所述MO模型具有对象标识,即为用于区别所述MO的识别标记,具体,所述对象标识,用于记录网元设备的位置/连接关系或网元设备的序号等可确定该网元设备的识别性信息,以表示出所述MO所标识的网元设备,根据所述MO的对象标识即可确定所述MO标识的网元设备。一般,可采用本地识别名(英文:Local Distinguished Name,简称:LDN)来表示MO的对象标识,例如,MO的对象标识具体为LDN:ME=0,Equipment=0,Stubrack=2,则确定所述MO标识的网元设备为2号框、4号槽的单板;MO的对象标识具体为LDN:ME=0,Equipment=0,RU=A01,则确定该MO标识的网元设备为A01号的可更换单元(英文:Replace Uint,简称:RU)。Wherein, the MO model has an object identifier, which is an identification mark used to distinguish the MO. Specifically, the object identifier is used to record the position/connection relationship of the network element device or the serial number of the network element device, etc., which can determine the The identification information of the network element device is used to indicate the network element device identified by the MO, and the network element device identified by the MO can be determined according to the object identifier of the MO. Generally, the local distinguished name (English: Local Distinguished Name, referred to as: LDN) to represent the object identifier of the MO. For example, the object identifier of the MO is specifically LDN: ME=0, Equipment=0, Stubrack=2, then it is determined that the network element equipment identified by the MO is box 2, The single board in slot 4; the object identifier of MO is specifically LDN: ME=0, Equipment=0, RU=A01, then it is determined that the network element equipment identified by the MO is the replaceable unit of A01 (English: Replace Uint, referred to as: RU).

所述MO模型包括多个用于记录网元设备信息的属性,每个所述属性用于表示网元设备具体的不同信息,如状态信息、配置信息等。The MO model includes a plurality of attributes for recording network element equipment information, and each of the attributes is used to represent different specific information of the network element equipment, such as status information, configuration information, and the like.

除上述记录网元设备信息的属性外,本申请MO模型还设置有配置对象属性,所述配置对象属性用于表示所述MO是否为配置对象。本申请中,根据MO是否为配置对象,将网元中的MO分为第一MO和第二MO,所述第一MO的配置对象属性设置为配置标记,以表示第一MO为配置对象,所述第二MO的配置对象属性设备为非配置标记,以表示第二MO不为配置对象。如,配置对象属性为ConfigureStatus,配置标记为Configured,非配置标记为UnConfigured。对于作为配置对象的第一MO,在未经授权时,网元不能主动生成、修改或者删除。而对于作为非配置对象的第二MO,则网元无需授权,即可自主进行生成、修改或者删除。例如,网元设置有配置开关,当配置开关为开时,即为授权状态,网元可自动生成、修改或者删除配置对象,当配置开关为关时,即为未授权状态,网元不能自动生成、修改或者删除配置对象,其中,所述配置开关的状态可通过EMS或者本地维护终端(Local Maintenance Terminal,简称LMT)进行设置。故在此作出声明,本发明中网元生成第一MO以及对第一MO的修改均默认是网元在授权状态下进行的。In addition to the above attributes for recording network element equipment information, the MO model of this application is also provided with a configuration object attribute, and the configuration object attribute is used to indicate whether the MO is a configuration object. In this application, according to whether the MO is a configuration object, the MO in the network element is divided into a first MO and a second MO, and the configuration object attribute of the first MO is set as a configuration flag to indicate that the first MO is a configuration object, The configuration object property device of the second MO is a non-configuration flag, which indicates that the second MO is not a configuration object. For example, the configuration object attribute is ConfigureStatus, the configuration mark is Configured, and the non-configuration mark is UnConfigured. For the first MO as the configuration object, the network element cannot actively generate, modify or delete it without authorization. As for the second MO that is not a configuration object, the network element can independently generate, modify or delete it without authorization. For example, the network element is set with a configuration switch. When the configuration switch is on, it is in the authorized state, and the network element can automatically generate, modify or delete configuration objects. When the configuration switch is off, it is in the unauthorized state, and the network element cannot automatically Generate, modify or delete a configuration object, wherein the state of the configuration switch can be passed through EMS or a local maintenance terminal (Local Maintenance Terminal, referred to as LMT) to set. Therefore, it is hereby declared that in the present invention, the network element generates the first MO and the modification to the first MO is performed by the network element in an authorized state by default.

可选地,本申请中的MO模型还可设置有安装状态属性,以用于表示当前是否安装MO标识的网元设备,如果所述安装状态属性设置为已安装标记,则表示网元当前已安装所述MO标识的网元设备,如果安装状态属性设置为未安装标记,则表示网元当前未安装MO表示的设备。例如,MO的安装状态属性表示为InstallStatus属性,已安装标记表示为Installed,未安装标记表示为Uninstalled。本申请中,第二MO是在检测到安装网元设备之后生成的,故本申请第二MO的安装状态属性默认为已安装标记。Optionally, the MO model in this application can also be set with an installation status attribute, which is used to indicate whether the network element device identified by the MO is currently installed. If the installation status attribute is set to the installed flag, it means that the network element is currently installed. If the network element device identified by the MO is installed, if the installation state attribute is set to the not installed flag, it means that the network element is not currently installed with the device indicated by the MO. For example, the installation status attribute of the MO is expressed as the InstallStatus attribute, the installed flag is expressed as Installed, and the uninstalled flag is expressed as Uninstalled. In this application, the second MO is generated after the installation of network element equipment is detected, so the installation status attribute of the second MO in this application defaults to the installed flag.

可选地,本申请中的MO模型还可设置有兼容状态属性,以表示第一MO与所述第一MO标识的网元设备间的兼容状态。例如,第一MO的兼容状态属性具体为MatchStatus属性,当MatchStatus属性设置为Matched时,表示第一MO中配置信息与所述网元设备的信息完全一致,当MatchStatus属性设置为Unmatched时,表示第一MO中的配置信息与所述网元设备的信息不一致,但能够第一MO的配置信息能够兼容所述网元设备的信息,当MatchStatus属性设置为Incompatible,表示第一MO的配置信息与所述网元设备的信息不一致,且第一MO的配置信息不能兼容所述网元设备的信息。需要说明的是,所述兼容状态属性仅针对第一MO,对应第二MO,则该兼容状态属性即为一缺省值,以表示该属性无效。Optionally, the MO model in this application may also be set with a compatibility status attribute to indicate the compatibility status between the first MO and the network element device identified by the first MO. For example, the compatibility status attribute of the first MO is specifically the MatchStatus attribute. When the MatchStatus attribute is set to Matched, it means that the configuration information in the first MO is completely consistent with the information of the network element device. When the MatchStatus attribute is set to Unmatched, it means that the first MO The configuration information in an MO is inconsistent with the information of the network element device, but the configuration information of the first MO can be compatible with the information of the network element device. When the MatchStatus attribute is set to Incompatible, it means that the configuration information of the first MO is consistent with the information of the network element device. The information of the network element device is inconsistent, and the configuration information of the first MO cannot be compatible with the information of the network element device. It should be noted that the compatibility status attribute is only for the first MO, and corresponds to the second MO, so the compatibility status attribute is a default value, which indicates that the attribute is invalid.

需要说明的是,上述安装状态属性和兼容状态属性为本申请的MO的可选属性,在一些无需获知安装状态或者兼容状态的实施方式中,MO可不设置上述属性。另外,本申请中的MO模型未必仅限于保存在网元设备的呈现装置中,也可保存在网元中的其他装置中,所述呈现装置能够向所述装置读取所述MO模型。It should be noted that the above-mentioned installation state attributes and compatibility state attributes are optional attributes of the MO of this application, and in some implementations that do not need to know the installation state or compatibility state, the MO may not set the above attributes. In addition, the MO model in this application is not necessarily limited to being stored in the presentation device of the network element equipment, but may also be stored in other devices in the network element, and the presentation device can read the MO model from the device.

请参阅图1和2,图1是本申请网元设备的呈现装置一实施方式的结构示意图,图2是图1所示的网元设备的呈现装置所在的网元系统的结构示意图。本实施方法中,所述网元系统包括至少一个网元100和EMS 100,所述EMS 200通过南向接口来管理所述网元100。其中,网元100中设置有网元设备的呈现装置110。所述网元100可安装一个或多个设备(本申请将可在网元上安装的设备统成为网元设备,图未示),如现场可更换单元(英文:Field Replace Uint,简称:FRU),具体如单板等。网元设备的呈现装置110可检测到所述网元是否安装网元设备,并在检测到网元100安装网元设备时,根据MO模型生成MO后,将MO对应的属性设置为表示检测到的网元设备相关信息的标记,以作为标识网元设备的MO,并发送给EMS 200,EMS 200根据与网元100约定的协议,对MO属性进行解析,以得到所述网元设备的信息,实现对网元设备的信息的呈现,以及对所述网元设备进行操作。Please refer to FIGS. 1 and 2. FIG. 1 is a schematic structural diagram of an embodiment of a presenting device of a network element device in the present application, and FIG. 2 is a schematic structural diagram of a network element system where the presenting device of a network element device shown in FIG. 1 is located. In this implementation method, the network element system includes at least one network element 100 and an EMS 100, the EMS 200 manages the network element 100 through the southbound interface. Wherein, the network element 100 is provided with a presentation device 110 of the network element equipment. The network element 100 can be installed with one or more devices (in this application, the devices that can be installed on the network element are collectively referred to as network element devices, not shown in the figure), such as a field replaceable unit (English: Field replace Uint, referred to as: FRU), specifically such as a single board. The presenting device 110 of the network element device can detect whether the network element is installed with the network element device, and when it detects that the network element 100 is installed with the network element device, after generating the MO according to the MO model, set the attribute corresponding to the MO to indicate that the network element device is detected The mark of the relevant information of the network element equipment is used as the MO for identifying the network element equipment, and sent to the EMS 200, EMS 200 analyzes the MO attribute according to the protocol agreed with the network element 100 to obtain the information of the network element device, implements the presentation of the information of the network element device, and operates the network element device.

如上面所述,本申请的MO根据是否为配置对象分为第一、第二MO。其中,第二MO即非配置对象为呈现装置110在检测到网元设备后临时生成的。第一MO即配置对象则一般为用户通过EMS 200进行配置的,或者呈现装置110在获得EMS 200授权配置时,根据检测到的网元设备信息自动生成的,例如,用户通过EMS 200向网元发送配置指令,所述配置指令中包括定义所述网元100的1号机框上安装的为单板1,且可进一步包括单板1中的具体信息如设备类型、硬件性能信息等,呈现装置110根据所述配置指令,生成MO,将MO的配置对象属性设置为配置标记,以提示网元自身和EMS所述MO为第一MO即为配置对象,呈现装置110按照预设的规则将指令中的单板1的位置信息(在1号机框上)对应记录在所述第一MO的对象标识上,将指令中单板1的其他信息记录在所述第一MO的对应属性,将所述第一MO保存在本地,以在安装相应的网元设备时,通过保存的第一MO呈现所述网元设备的信息。As mentioned above, the MOs of this application are divided into first and second MOs according to whether they are configuration objects. Wherein, the second MO, that is, the non-configuration object is temporarily generated by the presenting apparatus 110 after detecting the network element device. The first MO is the configuration object, which is generally for the user through EMS 200 for configuration, or when the presentation device 110 obtains EMS 200 authorized configuration, it is automatically generated according to the detected network element equipment information, for example, the user passes EMS 200 200 sends a configuration command to the network element, the configuration command includes defining that the No. 1 chassis of the network element 100 is installed as a single board 1, and may further include specific information on the single board 1 such as device type and hardware performance information, etc., the presentation device 110 generates MOs according to the configuration instructions, and sets the configuration object attribute of the MO as a configuration flag to prompt the network element itself and the EMS that the MO described is the first MO, that is, the configuration object. The set rule records the position information of the board 1 in the instruction (on the No. 1 chassis) correspondingly on the object identifier of the first MO, and records other information of the board 1 in the instruction in the first MO The corresponding attribute of the first MO is saved locally, so that when the corresponding network element device is installed, the information of the network element device is presented through the saved first MO.

需要说明的是,本申请中的第一MO未必仅限于保存在网元设备的呈现装置中,也可保存在网元中的其他装置中,所述呈现装置能够向所述装置读取所述第一MO。It should be noted that the first MO in this application is not necessarily limited to being stored in the presentation device of the network element equipment, but may also be stored in other devices in the network element, and the presentation device can read the First MO.

具体,本实施方式中网元设备的呈现装置110包括第一判断模块111、第一生成模块112和第一呈现模块113。Specifically, the presenting apparatus 110 of the network element device in this embodiment includes a first judging module 111 , a first generating module 112 and a first presenting module 113 .

第一判断模块111用于在检测到安装网元设备时,判断网元100中是否预先配置用于标识所述网元设备的第一MO,其中,所述第一MO的配置对象属性为配置标记,所述配置标记表示所述第一MO是配置对象,以提示所述网元不能主动删除所述第二MO。The first judging module 111 is configured to judge whether the first MO for identifying the network element device is pre-configured in the network element 100 when the installation of the network element device is detected, wherein the configuration object attribute of the first MO is configuration mark, the configuration mark indicates that the first MO is a configuration object, so as to remind the network element that the second MO cannot be deleted actively.

第一判断模块111定时或者在硬件触发时检测网元100是否安装网元设备,在检测到网元100安装网元设备时,根据检测到所述网元设备所表示出的位置信息或者连接关系等,查找本地中是否保存有对象标识与所述位置信息或者连接关系匹配的第一MO,在保存有所述匹配的第一MO时,判断网元100上已预先配置用于识别所述网元设备的第一MO,所述匹配的第一MO即为用于识别所述网元设备的第一MO,在没有保存所述匹配的第一MO时,判断网元100上未预先配置用于识别所述网元设备的第一MO。The first judging module 111 detects whether the network element 100 is equipped with a network element device at regular intervals or when the hardware is triggered. etc., find whether there is a first MO whose object identifier matches the location information or the connection relationship stored locally, and if the matched first MO is saved, it is determined that the network element 100 has been pre-configured to identify the network element 100. The first MO of the element device, the matching first MO is the first MO used to identify the network element device. If the matching first MO is not saved, it is determined that the network element 100 is not pre-configured. used to identify the first MO of the network element device.

第一生成模块112用于在所述网元100中未预先配置所述第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,将所述第二MO发送给所述第一呈现模块113,其中,所述第二MO的配置对象属性设置为非配置标记,所述非配置标记表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO。The first generation module 112 is configured to generate a second MO when the first MO is not pre-configured in the network element 100, and record the detected information of the network element device into the second MO, Sending the second MO to the first presentation module 113, wherein the configuration object attribute of the second MO is set to a non-configuration flag, and the non-configuration flag indicates that the second MO is not a configuration object, to prompt The network element can actively delete the second MO.

在第一判断模块111判断网元100上未预先配置所述网元设备的第一MO时,第一生成模块112根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为非配置标记,以作为第二MO。并且,第一生成模块112将检测到的所述网元设备的信息记录到所述第二MO中,例如,将网元设备的识别信息如连接关系、位置或者序号等,记录在第二MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。When the first judgment module 111 judges that the first MO of the network element device is not pre-configured on the network element 100, the first generation module 112 automatically generates an MO according to the MO model, and sets the configuration object attribute of the MO to non- Configure the flag to act as a second MO. Moreover, the first generation module 112 records the detected information of the network element device into the second MO, for example, records the identification information of the network element device such as connection relationship, location or serial number, etc., in the second MO On the object identifier of the network element device, record other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element device, into other corresponding attributes of the second MO.

第一呈现模块113用于将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。The first presenting module 113 is configured to use the second MO as the second MO for identifying the network element device, so as to present the information of the network element device.

第一呈现模块113将记录网元设备信息的第二MO主动发送给EMS 200,或者在EMS 200询问时将所述第二MO发送给所述EMS 200,以使EMS 200能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。例如,第一呈现模块通过南向接口向EMS发送所述第二MO,当然,在实际应用中,第一呈现模块还可通过其他接口发送MO,如北向接口等,在此不作限定。The first presentation module 113 actively sends the second MO recording the network element equipment information to the EMS 200, or the EMS 200 sends the second MO to the EMS 200 when inquiring, so that the EMS 200 can obtain the information of the network element device according to the second MO, and implement the presentation of the network element device information. For example, the first presentation module sends the second MO to the EMS through the southbound interface. Of course, in practical applications, the first presentation module can also send the MO through other interfaces, such as the northbound interface, which is not limited herein.

本实施方式对所有的网元设备均统一采用MO来呈现所述网元设备的信息,统一了对网元设备信息的呈现方式,使得EMS仅要求能够对MO模型进行解析,即可识别所有的网元设备信息,以实现对网元设备的操作,同时,在检测到安装未配置第一MO的网元设备时,生成第二MO,通过配置对象属性可区分该MO是否为配置对象,使得网元能够保证不会误删作为配置对象的第一MO,且对作为非配置对象的第二MO具有可自动删除的权限。In this embodiment, all network element devices are uniformly presented with MO to present the information of the network element devices, and the presentation mode of the network element device information is unified, so that the EMS can identify all network element devices only by analyzing the MO model. Network element device information to realize the operation of the network element device. At the same time, when the installation of the network element device that is not configured with the first MO is detected, the second MO is generated, and whether the MO is a configuration object can be distinguished through the configuration object attribute, so that The network element can ensure that the first MO that is the configuration object will not be deleted by mistake, and has the authority to automatically delete the second MO that is not the configuration object.

请参阅图3,图3 是本申请网元设备的呈现装置另一实施方式的结构示意图。所述呈现装置设置在网元系统的网元中,所述网元系统包括EMS和网元。作为优化实施方式,所述呈现装置设置在网元中,包括第一判断模块301、第一生成模块302、第一呈现模块303、第二生成模块304、第二判断模块305、保留模块306、第一删除模块307、第三判断模块308、第三生成模块309、第四判断模块310、更新模块311、第四生成模块312、第五判断模块313、第五生成模块314和第二删除模块315,其中,第一生成模块302包括第二判断单元3021、第一生成单元3022和第二生成单元3023,第一呈现模块303包括第一判断单元3031、第一呈现单元3032和第二呈现单元3033。且,所述MO模型包括安装状态属性和兼容状态属性。See Figure 3, Figure 3 It is a schematic structural diagram of another embodiment of the presenting apparatus of the network element equipment in the present application. The presentation device is set in a network element of a network element system, and the network element system includes an EMS and a network element. As an optimized implementation, the presenting device is set in a network element, and includes a first judging module 301, a first generating module 302, a first presenting module 303, a second generating module 304, a second judging module 305, a retaining module 306, The first deletion module 307, the third judgment module 308, the third generation module 309, the fourth judgment module 310, the update module 311, the fourth generation module 312, the fifth judgment module 313, the fifth generation module 314 and the second deletion module 315, wherein the first generating module 302 includes a second judging unit 3021, a first generating unit 3022 and a second generating unit 3023, and the first presenting module 303 includes a first judging unit 3031, a first presenting unit 3032 and a second presenting unit 3033. Moreover, the MO model includes an installation state attribute and a compatible state attribute.

第一判断模块301用于在检测到安装网元设备时,判断网元中是否预先配置用于标识所述网元设备的第一MO,并将所述第一判断结果发送第一生成模块302和第二生成模块304。The first judging module 301 is used to judge whether the first MO for identifying the network element device is pre-configured in the network element when the installation of the network element device is detected, and send the first judgment result to the first generation module 302 and the second generation module 304 .

第一判断模块301定时或者在硬件触发时检测网元是否安装网元设备,在检测到安装网元设备时,根据检测到所述网元设备所表示出的位置信息或者连接关系等,查找本地中是否保存有对象标识与所述位置信息或者连接关系匹配的第一MO,得到第一判断结果为:在没有保存时,判断网元上未预先配置所述网元设备的第一MO,在有保存时,判断网元上已预先配置所述网元设备的第一MO。The first judging module 301 detects whether a network element device is installed on a network element at regular intervals or when the hardware is triggered. When the network element device is detected, it searches the local Whether the first MO whose object identifier matches the location information or the connection relationship is saved in the database, the first judgment result is: if it is not saved, it is judged that the first MO of the network element device is not pre-configured on the network element, and the If there is saving, it is determined that the first MO of the network element device has been pre-configured on the network element.

第二判断单元3021用于在所述网元中未预先配置所述第一MO时,判断所述网元设备是否满足预设自动配置条件,并将第七判断结果发送给所述第一生成单元3022、第二生成单元3023。The second judging unit 3021 is configured to judge whether the network element device meets the preset automatic configuration condition when the first MO is not pre-configured in the network element, and send the seventh judging result to the first generation The unit 3022 and the second generating unit 3023.

本实施方式中,所述呈现装置支持自动配置功能,用户可预先通过EMS设置执行自动配置的条件,当检测到网元设备时,判断网元设备是否满足预设的自动配置条件,得到第七判断结果。其中,自动配置条件可包括多个条件,其中必要的是确定用于标识所述网元设备的MO为确定标识对象,即呈现装置能够直接检测所述网元设备获得其连接关系或者位置信息,另外还可设置其他条件,例如,1)MOCName,特定的MOC;2)RootLDN/*,指定RootLDN下的所有对象;3)RootLDN+MOCName,指定的RootLDN下的特定MOC对象。In this embodiment, the presentation device supports the automatic configuration function, and the user can set the conditions for performing automatic configuration through EMS in advance, and when the network element device is detected, it is judged whether the network element device meets the preset automatic configuration condition, and the seventh critical result. Wherein, the automatic configuration conditions may include a plurality of conditions, among which it is necessary to determine that the MO used to identify the network element device is the identification object, that is, the presentation device can directly detect the network element device to obtain its connection relationship or location information, In addition, other conditions can also be set, for example, 1) MOCName, specific MOC; 2) RootLDN/*, all objects under the specified RootLDN; 3) RootLDN+MOCName, specific MOC objects under the specified RootLDN.

第一生成单元3022用于在所述网元设备满足预设自动配置条件时,生成第一MO,将检测到的所述网元设备信息记录到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO。The first generating unit 3022 is configured to generate a first MO when the network element device meets a preset automatic configuration condition, record the detected network element device information into the first MO, and store the first MO The MO is used as the first MO for identifying the network element device.

在网元设备满足自动配置条件时,则表示EMS授权网元可对该网元设备自行进行配置对象,第一生成单元3022根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为配置标记,以作为第一MO,将安装状态属性设置为已安装标记,在设置有兼容状态属性时,将所述第一MO的兼容状态属性设置为匹配标记,例如为Matched,并将检测到的所述网元设备信息记录到所述第一MO中,例如,将网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第一MO的其他对应属性中。所述第一MO则作为用于标识所述网元设备的第一MO,第一生成单元3022将所述第一MO进行保存。When the network element device meets the automatic configuration conditions, it means that the EMS authorized network element can configure the network element device by itself, and the first generation unit 3022 automatically generates MO according to the MO model, and sets the configuration object attribute of the MO For the configuration mark, as the first MO, the installation state attribute is set to the installed mark, when the compatibility state attribute is set, the compatibility state attribute of the first MO is set to the matching mark, such as Matched, and the detection Record the obtained network element device information into the first MO, for example, record the identification information of the network element device, such as connection relationship, location or serial number, etc., on the object identifier of the first MO, and record the network element device Other specific information, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of network element equipment, is recorded in other corresponding attributes of the first MO. The first MO is used as the first MO for identifying the network element device, and the first generating unit 3022 saves the first MO.

第二生成单元3023用于在所述网元设备不满足预设自动配置条件时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中。The second generation unit 3023 is configured to generate a second MO when the network element device does not meet the preset automatic configuration condition, and record the detected information of the network element device into the second MO.

在网元设备不满足自动配置条件时,则表示EMS没有授权网元对该网元设备自行进行配置,第二生成单元3023根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为非配置标记,以作为第二MO。其中,所述非配置标记表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO。When the network element device does not meet the automatic configuration conditions, it means that the EMS does not authorize the network element to configure the network element device itself, and the second generation unit 3023 automatically generates MO according to the MO model, and sets the configuration object attribute of the MO to Mark as non-configured to act as a second MO. Wherein, the non-configuration flag indicates that the second MO is not a configuration object, so as to prompt the network element to actively delete the second MO.

第二生成单元3023将检测到的所述网元设备的信息记录到所述第二MO中,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第二MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。The second generating unit 3023 records the detected information of the network element device into the second MO, for example, the identification information of the network element device to be detected by the network element device, such as connection relationship, position or serial number, etc., Record on the object identifier of the second MO, and record other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, into other corresponding attributes of the second MO middle.

需要说明的是,本申请呈现装置不限定为支持自动配置功能,在不支持自动配置的实施方式中,呈现装置不包括第一判断单元和第一生成单元,第二生成单元直接接收所述第一判断结果,在判断为未配置网元设备的第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO。It should be noted that the presenting device of the present application is not limited to support the automatic configuration function. In an embodiment that does not support automatic configuration, the presenting device does not include the first judging unit and the first generating unit, and the second generating unit directly receives the first As a result of the judgment, when it is judged that the first MO of the network element device is not configured, a second MO is generated, and the detected information of the network element device is recorded in the second MO.

第一判断单元3031用于判断所述第二MO是否为非确定标识对象,并将第二判断结果发送给所述第一呈现单元3032和第二呈现单元3033。The first judging unit 3031 is configured to judge whether the second MO is an unidentified object, and send a second judging result to the first presentation unit 3032 and the second presentation unit 3033 .

在第二生成单元3023将检测到的所述网元设备的信息记录到所述第二MO的对应属性后,第一判断单元3031判断所述第二MO是否为非确定标识对象,得到第二判断结果。其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,如果所述第二MO的对象标识能通过所述网元设备的连接关系或位置来直接表示或者为第一MO,则为非确定标识对象。例如,本实施方式采用LDN来表示MO的对象标识,如果生成第二MO的对象标识具体为LDN:ME=0,Equipment=0,Stubrack=2,Board=4,则该第二MO标识在2号框、4号槽的单板,即该第二MO能够通过该单板的位置直接确定LDN,故为确定标识对象。如果生成的第二MO具体表示为LDN:ME=0,Equipment=0,RU=A01,则该第二MO的对象标识只能标识为A01号的RU,无法标识RU的具体连接关系/位置(该RU的具体位置或者连接关系则需要通过该第二MO的其他属性表达,如:RU所在的RUChain,或者RU在RUChain的级数等),即该第二MO不能通过该RU的位置/连接关系直接确定LDN,故为非确定标识对象。After the second generating unit 3023 records the detected information of the network element equipment into the corresponding attribute of the second MO, the first judging unit 3031 judges whether the second MO is an unidentified object, and obtains the second critical result. Wherein, if the object identifier of the second MO cannot be directly represented by the connection relationship or position of the network element device, it is an unidentified object; if the object identifier of the second MO can be directly represented by the network element device If the connection relationship or position is directly represented or is the first MO, then it is a non-deterministic identification object. For example, in this embodiment, LDN is used to represent the object identifier of MO. If the object identifier of the second MO is specifically LDN: ME=0, Equipment=0, Stubrack=2, Board=4, then the second MO identifier is in 2 The single board of No. frame and slot No. 4, that is, the second MO can directly determine the LDN through the position of the single board, so it is the identification object to be determined. If the generated second MO is specifically expressed as LDN: ME=0, Equipment=0, RU=A01, then the object identifier of the second MO can only be identified as the RU of A01, and the specific connection relationship/location of the RU cannot be identified ( The specific position or connection relationship of the RU needs to be expressed through other attributes of the second MO, such as: the RUChain where the RU is located, or the level of the RU in the RUChain, etc.), that is, the second MO cannot pass the position/connection of the RU The relationship directly determines the LDN, so it is a non-deterministic identification object.

第一呈现单元3032用于在所述第二MO不为非确定标识对象时,直接将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。The first presenting unit 3032 is configured to directly use the second MO as the second MO for identifying the network element device when the second MO is not an unidentified identification object, so as to realize presenting the network element device Information.

在所述第二MO不为非确定标识对象时,第一呈现单元3032将记录网元设备信息的第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。When the second MO is not an unidentified object, the first presentation unit 3032 actively sends the second MO recording the network element equipment information to the EMS, or sends the second MO to the EMS when inquired by the EMS so that the EMS can obtain the information of the network element device according to the second MO, so as to realize the presentation of the network element device information.

第二呈现单元3033用于在所述第二MO为非确定标识对象时,为所述第二MO设置非确定标识标记,将设置后的第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息,其中,所述非确定标识标记用于提示所述第二MO为非确定标识对象。The second presenting unit 3033 is configured to set an undetermined identification flag for the second MO when the second MO is an undetermined identification object, and use the set second MO as the second MO for identifying the network element device Two MOs, so as to present the information of the network element device, wherein the non-deterministic identification mark is used to prompt that the second MO is an indeterminate identification object.

在所述第二MO为非确定标识对象时,第二呈现单元3033将记录网元设备信息的第二MO设置非确定标识标记,例如,在第二MO的对象标识中添加前缀“AUTO_”,具体如第二MO的对象标识具体为LDN:ME=0,Equipment=0,RU=AUTO_01。在设置非确定标识标记后,将第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。When the second MO is an unidentified object, the second presentation unit 3033 sets an unidentified flag on the second MO recording network element equipment information, for example, adding a prefix "AUTO_" to the object identifier of the second MO, Specifically, the object identifier of the second MO is LDN: ME=0, Equipment=0, RU=AUTO_01. After setting the non-deterministic identification flag, actively send the second MO to the EMS, or send the second MO to the EMS when the EMS inquires, so that the EMS can obtain the network element according to the second MO Device information to realize the presentation of network element device information.

需要说明的是,本申请未必限定在第二MO的对象标识中设置非确定标识标记,在其他实施方式中,可在第二MO中添加用于表示是否为确定标识对象的属性,将该属性设置为非确定标识标记,提示该第二MO为非确定标识对象,故在此对非确定标识标记的具体设置不作具体限定。It should be noted that this application is not necessarily limited to setting a non-deterministic identification flag in the object identification of the second MO. In other implementations, an attribute indicating whether it is a definite identification object can be added to the second MO, and the attribute Setting it as an indeterminate identification flag indicates that the second MO is an indeterminate identification object, so the specific setting of the indeterminate identification flag is not specifically limited here.

第二生成模块304用于在第一判断模块301判断所述网元中已预先配置所述第一MO时,检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,并将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现。The second generating module 304 is configured to detect the compatibility state between the first MO and the network element device when the first judging module 301 judges that the first MO has been pre-configured in the network element, and convert the detected record the compatibility status in the compatibility status attribute of the first MO, set the installation status attribute of the first MO as an installed flag, and update the detected information of the network element device to the first MO In the MO, the first MO is used as the first MO for identifying the network element device, so as to realize the presentation of the network element device information.

第二生成模块304在所述网元中已预先配置所述第一MO时,检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述兼容状态属性中,并将安装状态属性设置为已安装标记,并将检测到的所述网元设备的具体信息更新到所述第一MO的对应属性中,例如,将网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第一MO的对应属性中。The second generation module 304 detects the compatibility state between the first MO and the network element device when the first MO has been preconfigured in the network element, and records the detected compatibility state in the compatibility state attribute, and set the installation status attribute to the installed flag, and update the detected specific information of the network element device to the corresponding attribute of the first MO, for example, the hardware and manufacturing information of the network element device , state information, performance information, configuration information, etc., are recorded in the corresponding attributes of the first MO.

第二生成模块304将记录网元设备信息的第一MO主动发送给EMS,或者在EMS询问时将所述第一MO发送给所述EMS,以使EMS能够根据所述第一MO,获得所述网元设备的信息,实现网元设备信息的呈现。The second generation module 304 actively sends the first MO recording the network element equipment information to the EMS, or sends the first MO to the EMS when the EMS inquires, so that the EMS can obtain the Describe the information of network element equipment to realize the presentation of network element equipment information.

可以理解的是,上述兼容状态属性为可选属性,在其他实施方式中,可不设置兼容状态属性,第二生成模块不对第一MO和网元设备进行兼容性检测,直接进行安装状态属性设置,并更新网元设备信息。It can be understood that the above-mentioned compatibility status attribute is an optional attribute, and in other implementation manners, the compatibility status attribute may not be set, and the second generation module does not perform compatibility detection on the first MO and the network element device, and directly sets the installation status attribute. And update the network element device information.

第二判断模块305用于在检测到拔出网元设备时,根据用于标识所述网元设备的MO的配置对象属性,判断所述用于标识所述网元设备的MO为第一MO还是第二MO,并将所述第三判断结果发送到所述保留模块306和第一删除模块307。The second judging module 305 is configured to judge that the MO used to identify the network element device is the first MO according to the configuration object attribute of the MO used to identify the network element device when it is detected that the network element device is pulled out It is also the second MO, and sends the third judgment result to the retention module 306 and the first deletion module 307 .

第二判断模块305定时检测网元当前安装的网元设备是否被拔出,在检测到有网元设备被拔出时,查找到用于标识所述网元设备的MO,判断该MO的配置对象属性是第一还是非配置标记,得到第三判断结果为:在为配置标记时,判断所述MO为第一MO,在为非配置标记时,判断所述MO为第二MO。The second judging module 305 regularly detects whether the network element device currently installed in the network element is pulled out, and when it is detected that the network element device is pulled out, it finds the MO used to identify the network element device, and judges the configuration of the MO Whether the object attribute is the first or non-configuration mark, the third judgment result obtained is: when it is a configuration mark, it is judged that the MO is the first MO, and when it is a non-configuration mark, it is judged that the MO is the second MO.

保留模块306用于在所述用于标识所述网元设备的MO为第一MO时,保留所述用于标识所述网元设备的MO。The retaining module 306 is configured to reserve the MO for identifying the network element device when the MO for identifying the network element device is the first MO.

在用于标识被拔出的网元设备的MO为第一MO时,保留模块306确定该MO为配置对象,网元在未得到EMS的删除指令前,将所述MO的安装状态信息设置为未安装标记,并保留所述MO。When the MO used to identify the unplugged network element device is the first MO, the reservation module 306 determines that the MO is the configuration object, and the network element sets the installation status information of the MO to The flag is not installed, and the MO remains.

第一删除模块307用于在标识所述网元设备的MO为第二MO,则删除所述用于标识所述网元设备的MO。The first deletion module 307 is configured to delete the MO for identifying the network element device when the MO that identifies the network element device is the second MO.

在用于标识被拔出的网元设备的MO为第二MO时,第一删除模块307确定该MO为非配置对象,网元无需得到授权,即可自动删除所述MO。When the MO used to identify the unplugged network element device is the second MO, the first deletion module 307 determines that the MO is not a configuration object, and the network element can automatically delete the MO without authorization.

第三判断模块308用于在接收到为网元设备配置第一MO的配置指令时,判断所述网元当前是否安装所述网元设备,并将第四判断结果发送给所述第三生成模块309和第四判断模块310。The third judging module 308 is configured to judge whether the network element is currently installed with the network element device when receiving a configuration instruction for configuring the first MO for the network element device, and send the fourth judgment result to the third generation module 309 and a fourth judging module 310 .

用户可通过EMS向第三判断模块308发送配置指令,以给未安装或者已安装的网元设备配置第一MO,其中,所述配置指令中包括所述网元设备的信息,例如,用户通过EMS输入的网元设备的硬件和制造信息、性能信息、配置信息等。第三判断模块308在接收到EMS发送的所述配置指令时,判断当前是否安装所述网元设备,得到第四判断结果。The user can send a configuration instruction to the third judging module 308 through EMS, so as to configure the first MO for an uninstalled or installed network element device, wherein the configuration instruction includes the information of the network element device, for example, the user passes The hardware and manufacturing information, performance information, configuration information, etc. of network element equipment input by EMS. When receiving the configuration instruction sent by the EMS, the third judging module 308 judges whether the network element device is currently installed, and obtains a fourth judging result.

第三生成模块309用于在所述网元当前未安装所述网元设备时,生成第一MO,将所述第一MO的安装状态属性设置为未安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中后,将所述第一MO作为用于标识所述网元设备的第一MO进行保存。The third generating module 309 is configured to generate a first MO when the network element is not currently installed with the network element device, set the installation status attribute of the first MO to an uninstalled flag, and set the After the network element equipment information is recorded in the first MO, the first MO is saved as the first MO for identifying the network element equipment.

在网元当前未安装所述网元设备时,第三生成模块309根据MO模型生成MO,将MO的配置对象属性设置为配置标记,以作为第一MO,将第一MO的安装状态属性设置为未安装标记,以表示当前未安装所述第一MO标识的网元设备。第三生成模块309将接收到的配置指令中的网元设备信息记录到第一MO,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中,并将所述第一MO保存在本地,以作为用于标识所述网元设备的第一MO。When the network element is not currently installed with the network element device, the third generating module 309 generates MO according to the MO model, sets the configuration object attribute of the MO as a configuration tag, as the first MO, and sets the installation state attribute of the first MO Marked as not installed, to indicate that the network element device identified by the first MO is not currently installed. The third generation module 309 records the network element equipment information in the received configuration instruction to the first MO, for example, records the identification information of the network element equipment detected by the network element equipment, such as connection relationship, location or serial number, etc., in the On the object identifier of the first MO, record other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, into other corresponding attributes of the second MO, and saving the first MO locally as the first MO for identifying the network element device.

第四判断模块310用于在所述网元当前已安装所述网元设备,且所述网元中已生成用于标识所述网元设备的第二MO时,判断所述第二MO是否为非确定标识对象,并把第五判断结果发送给所述更新模块311和第四生成模块312。The fourth judging module 310 is configured to judge whether the second MO is installed in the network element when the network element device is currently installed and a second MO for identifying the network element device has been generated in the network element. The object is identified as undetermined, and the fifth judgment result is sent to the update module 311 and the fourth generation module 312 .

在所述网元当前已安装所述网元设备时,第四判断模块310判断所述网元是否已生成用于标识所述网元设备的第二MO,在未生成时,生成第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中后,将所述第一MO保存以作为用于标识所述网元设备的第一MO。在已生成时,第四判断模块310继续判断用于标识所述网元设备的第二MO是否为非确定标识对象,得到第五判断结果。When the network element has currently installed the network element device, the fourth judging module 310 judges whether the network element has generated a second MO for identifying the network element device, and if not generated, generates a first MO , after setting the installation status attribute of the first MO to the installed flag, and after updating the network element device information in the configuration instruction to the first MO, saving the first MO as a Identify the first MO of the network element device. When generated, the fourth judging module 310 continues to judge whether the second MO used to identify the network element device is an undetermined identification object, and obtains a fifth judging result.

更新模块311用于在所述第二MO不是非确定标识对象时,将所述第二MO的配置对象属性设置为所述配置标记,以作为用于标识所述网元设备的第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中。The update module 311 is configured to set the configuration object attribute of the second MO as the configuration flag when the second MO is not an undetermined identification object, as the first MO used to identify the network element device, Set the installation status attribute of the first MO to the installed flag, and update the network element equipment information in the configuration instruction to the first MO.

在用于标识所述网元设备的第二MO为确定标识对象时,更新模块311将所述第二MO的配置对象属性设置为所述配置标记,以作为第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中,例如,将网元设备的硬件和制造信息、性能信息、配置信息等,记录到所述第一MO的对应属性中。When the second MO used to identify the network element device is the identified identification object, the update module 311 sets the configuration object attribute of the second MO as the configuration flag, so as to serve as the first MO and set the first The installation status attribute of the MO is set to the installed flag, and the network element device information in the configuration instruction is updated to the first MO, for example, the hardware and manufacturing information, performance information, configuration information, etc. of the network element device , recorded in the corresponding attribute of the first MO.

第四生成模块312用于在所述第二MO是非确定标识对象时,删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,以将所述第一MO作为用于标识所述网元设备的第一MO。The fourth generating module 312 is configured to delete the second MO when the second MO is an unidentified object, and generate the first MO, and set the installation status attribute of the first MO to the installed flag, And record the network element device information in the configuration instruction into the first MO, so that the first MO is used as the first MO for identifying the network element device.

在用于标识所述网元设备的第二MO为非确定标识对象时,第四生成模块312删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,例如,将网元设备检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。When the second MO used to identify the network element device is an unidentified object, the fourth generation module 312 deletes the second MO, generates the first MO, and sets the installation status attribute of the first MO to The installed mark, and record the network element device information in the configuration instruction into the first MO, for example, the identification information of the network element device detected by the network element device, such as connection relationship, position or serial number, etc. , record it on the object identifier of the first MO, and record other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, into other corresponding information of the second MO properties.

第五判断模块313用于在接收到删除第一MO的指令时,根据所述需要删除的第一MO的安装状态属性,判断当前是否安装所述第一MO标识的网元设备,并将第六判断结果发送给所述第五生成模块314和第二删除模块315。The fifth judging module 313 is used to judge whether the network element device identified by the first MO is currently installed according to the installation state attribute of the first MO to be deleted when receiving the instruction to delete the first MO, and send the Six judgment results are sent to the fifth generating module 314 and the second deleting module 315 .

第五判断模块313在接收到EMS发送的删除第一MO的指令时,根据所述指令查找到需要删除的第一MO,并判断所述第一MO的安装状态属性为已安装标记还是未安装标记,得到第六判断结果为:在为已安装标记时,判断当前已安装所述第一MO标识的网元设备,在为未安装标记时,判断当前未安装所述第一MO标识的网元设备。When the fifth judging module 313 receives the instruction to delete the first MO sent by the EMS, it finds the first MO that needs to be deleted according to the instruction, and judges whether the installation state attribute of the first MO is an installed flag or not installed mark, and the sixth judgment result is obtained: when the mark is installed, it is judged that the network element equipment with the first MO mark is currently installed; when the mark is not installed, it is judged that the network element equipment with the first MO mark is not currently installed meta device.

第五生成模块314用于在已安装时,删除所述第一MO,并生成第二MO,并将检测到的所述网元设备的信息记录到第二MO中,以实现呈现所述网元设备的信息。The fifth generation module 314 is configured to delete the first MO when installed, and generate a second MO, and record the detected information of the network element device into the second MO, so as to present the network Metadevice information.

在当前已安装需要删除的第一MO标识的网元设备时,第五生成模块314删除所述第一MO,并生成第二MO,检测获得所述网元设备的信息,并将网元设备的信息记录到第二MO中,并将所述第二MO的安装状态属性设置为已安装标记,以表示当前已安装所述第二MO标识的网元设备。When the network element device identified by the first MO that needs to be deleted has been installed, the fifth generating module 314 deletes the first MO, generates a second MO, detects and obtains the information of the network element device, and stores the network element device Record the information of the second MO into the second MO, and set the installation status attribute of the second MO to the installed flag, to indicate that the network element device identified by the second MO is currently installed.

第二删除模块315用于在未安装时,直接在网元中删除所述第一MO。The second deletion module 315 is configured to directly delete the first MO in the network element when it is not installed.

在当前未安装需要删除的第一MO标识的网元设备时,第二删除模块315直接删除保存在本地的所述第一MO。When the network element device identified by the first MO that needs to be deleted is not currently installed, the second deletion module 315 directly deletes the locally stored first MO.

需要说明的是,本申请可采用但并不限定采用配置对象属性、安装状态属性、兼容状态属性来分别表示MO的类型、网元设备的安装状态、第一MO与网元设备间的兼容状态,在其他实施方式中,可仅采用一个属性来表示上述MO的类型、网元设备的安装状态、第一MO与网元设备间的兼容状态,或者可采用一个属性来表示上述其中两种。例如,该属性为标记1时,表示为第一MO,且当前已安装网元设备,且第一MO与网元设备间匹配,该属性为标记2时,表示为第二MO,且当前已安装网元设备,且兼容状态无效……故本申请所述的配置对象属性、安装状态属性、兼容状态属性可以为分作三种独立的属性,或者实质指的是一种属性,在此不作限定。It should be noted that this application may use but not limit to use configuration object attributes, installation state attributes, and compatibility state attributes to respectively represent the type of MO, the installation state of the network element equipment, and the compatibility state between the first MO and the network element equipment , in other embodiments, only one attribute may be used to represent the type of MO, the installation state of the network element device, and the compatibility state between the first MO and the network element device, or one attribute may be used to represent two of the above. For example, when the attribute is marked 1, it is indicated as the first MO, and the network element device is currently installed, and the first MO matches the network element device; when the attribute is marked 2, it is indicated as the second MO, and the network element device is currently installed. The network element equipment is installed, and the compatibility status is invalid... Therefore, the configuration object attributes, installation status attributes, and compatibility status attributes mentioned in this application can be divided into three independent attributes, or essentially refer to one attribute, which will not be described here limited.

本实施方式在检测到为配置第一MO的网元设备时,能够自动生成第二MO,以向EMS呈现网元设备信息,使得EMS只需能够解析MO模型即可实现对所有情况的网元设备进行识别。而且,采用统一MO进行呈现,也方便EMS做进一步的扩展处理,如:在统一的视图中查看所有对象(已安装网元设备的第一对象、未安装网元设备的第一MO、第二MO);便于EMS设计自动配置规则,使得呈现装置根据自动检测到的网元设备信息及自动配置规则,自动配置第一MO。In this embodiment, when the network element equipment configured with the first MO is detected, the second MO can be automatically generated to present the information of the network element equipment to the EMS, so that the EMS only needs to be able to analyze the MO model to realize the network element equipment in all situations. The device is identified. Moreover, using a unified MO for presentation is also convenient for EMS to do further expansion processing, such as: view all objects in a unified view (the first object of the installed network element device, the first MO of the uninstalled network element device, the second MO); it is convenient for EMS to design automatic configuration rules, so that the presentation device automatically configures the first MO according to the automatically detected network element equipment information and automatic configuration rules.

另外,本申请通过配置对象属性识别是否为配置对象,保证在未经授权下,不会误删配置对象,并可对非配置对象在拔出时进行自动删除。同时,本实施方式增加非确定标识标记能够使网元和EMS标识出非确定标识对象,避免非确定标识对象与确定标识对象的对象标识发生冲突。In addition, the application identifies whether it is a configuration object through the attributes of the configuration object, so as to ensure that the configuration object will not be deleted by mistake without authorization, and can automatically delete the non-configuration object when it is pulled out. At the same time, the addition of the non-deterministic identification flag in this embodiment can enable the network element and the EMS to identify the non-deterministic identification object, and avoid conflicts between the object identifications of the non-deterministic identification object and the definite identification object.

请参阅图4,图4是本申请网元设备的呈现装置再一实施方式的结构示意图。所述呈现装置设置在网元系统的网元中,所述网元系统包括EMS和网元。所述呈现装置设置在网元中,包括处理器410、存储介质420及发送器430,其中,所述处理器410、存储介质420和发送器430通过总线440连接。检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,并将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another implementation manner of a presenting apparatus of a network element device according to the present application. The presentation device is set in a network element of a network element system, and the network element system includes an EMS and a network element. The presentation device is set in a network element and includes a processor 410 , a storage medium 420 and a transmitter 430 , wherein the processor 410 , the storage medium 420 and the transmitter 430 are connected through a bus 440 . Detecting the compatibility status between the first MO and the network element device, recording the detected compatibility status in the compatibility status attribute of the first MO, and setting the installation status attribute of the first MO to Install a mark, and update the detected information of the network element device into the first MO, and use the first MO as the first MO for identifying the network element device, so as to implement the network element Presentation of device information

存储介质420用于存储处理器410执行的计算机指令以及处理器410工作时所需存储的数据。The storage medium 420 is used for storing computer instructions executed by the processor 410 and data required to be stored when the processor 410 works.

发送器430用于将处理器410中标识网元设备的MO发送给EMS,实现对网元设备的呈现。The sender 430 is configured to send the MO identifying the network element device in the processor 410 to the EMS, so as to realize the presentation of the network element device.

处理器410执行存储介质420存储的计算机指令,用于在检测到安装网元设备时,判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO,在判断所述网元中未预先配置所述第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,将所述第二MO作为用于标识所述网元设备的第二MO发送给发送器430,以实现呈现所述网元设备的信息。The processor 410 executes the computer instructions stored in the storage medium 420, and is used to determine whether the first management object MO for identifying the network element device is pre-configured in the network element when the installation of the network element device is detected. When the first MO is not pre-configured in the network element, a second MO is generated, and the detected information of the network element device is recorded in the second MO, and the second MO is used to identify the The second MO of the network element device is sent to the sender 430, so as to present the information of the network element device.

处理器410定时检测网元是否安装网元设备,在检测到安装网元设备时,根据检测到所述网元设备所表示出的位置信息或者连接关系等,查找本地中是否保存有对象标识与所述位置信息或者连接关系匹配的第一MO,在没有保存时,判断网元上未预先配置所述网元设备的第一MO,在有保存时,判断网元上已预先配置所述网元设备的第一MO。The processor 410 regularly detects whether the network element is installed with a network element device, and when detecting the installation of the network element device, according to the location information or connection relationship indicated by the detected network element device, finds whether there is an object identifier and If the location information or the first MO that matches the connection relationship is not saved, it is judged that the first MO of the network element device is not pre-configured on the network element, and when it is saved, it is judged that the network element has been pre-configured. The first MO for metadevices.

可选地,所述呈现装置支持自动配置功能,用户可预先通过EMS设置执行自动配置的条件,当检测到网元设备时,判断网元设备是否满足预设的自动配置条。其中,自动配置条件可包括多个条件,其中必要的是确定用于标识所述网元设备的MO为确定标识对象,即呈现装置能够直接检测所述网元设备获得其连接关系或者位置信息,另外还可设置其他条件,例如,1)MOCName,特定的MOC;2)RootLDN/*,指定RootLDN下的所有对象;3)RootLDN+MOCName,指定的RootLDN下的特定MOC对象。Optionally, the presentation device supports an automatic configuration function, and the user can pre-set the conditions for performing automatic configuration through the EMS, and when a network element device is detected, determine whether the network element device meets the preset automatic configuration conditions. Wherein, the automatic configuration conditions may include a plurality of conditions, among which it is necessary to determine that the MO used to identify the network element device is the identification object, that is, the presentation device can directly detect the network element device to obtain its connection relationship or location information, In addition, other conditions can also be set, for example, 1) MOCName, specific MOC; 2) RootLDN/*, all objects under the specified RootLDN; 3) RootLDN+MOCName, specific MOC objects under the specified RootLDN.

在网元设备满足自动配置条件时,则表示EMS授权网元可对该网元设备自行进行配置对象,处理器410根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为配置标记,以作为第一MO,将安装状态属性设置为已安装标记,在设置有兼容状态属性时,将所述第一MO的兼容状态属性设置为匹配标记,例如为Matched,并将检测到的所述网元设备信息记录到所述第一MO中,例如,将网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第一MO的其他对应属性中。处理器410将所述第一MO则作为用于标识所述网元设备的第一MO进行保存。When the network element device meets the automatic configuration conditions, it means that the EMS authorized network element can configure the network element device by itself, and the processor 410 automatically generates the MO according to the MO model, and sets the configuration object attribute of the MO to configuration mark, as the first MO, the installation state attribute is set to the installed mark, and when the compatibility state attribute is set, the compatibility state attribute of the first MO is set to a matching mark, such as Matched, and the detected The network element device information is recorded in the first MO, for example, the identification information of the network element device, such as connection relationship, location or serial number, etc., is recorded on the object identifier of the first MO, and other specific information about the network element device Information, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of network element equipment, is recorded in other corresponding attributes of the first MO. The processor 410 saves the first MO as the first MO for identifying the network element device.

在网元设备不满足自动配置条件时,则表示EMS没有授权网元对该网元设备自行进行配置,处理器410根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为非配置标记,以作为第二MO。处理器410将检测到的所述网元设备的信息记录到所述第二MO中,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第二MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。When the network element device does not meet the automatic configuration conditions, it means that the EMS does not authorize the network element to configure the network element device itself, and the processor 410 automatically generates the MO according to the MO model, and sets the configuration object attribute of the MO to non- Configure the flag to act as a second MO. The processor 410 records the detected information of the network element device into the second MO, for example, the network element device records the identification information of the detected network element device, such as connection relationship, location or serial number, in On the object identifier of the second MO, record other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, into other corresponding attributes of the second MO.

需要说明的是,本申请呈现装置不限定为支持自动配置功能,在不支持自动配置的实施方式中,处理器在判断为未配置网元设备的第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO。It should be noted that the presenting apparatus of the present application is not limited to support the automatic configuration function, and in an embodiment that does not support automatic configuration, when the processor determines that the first MO of the network element device is not configured, the second MO is generated, and the The detected information of the network element device is recorded in the second MO.

进一步地,在将检测到的所述网元设备的信息记录到所述第二MO的对应属性后,处理器410先判断所述第二MO是否为非确定标识对象。其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,如果所述第二MO的对象标识能通过所述网元设备的连接关系或位置来直接表示或者为第一MO,则为非确定标识对象。Further, after recording the detected information of the network element device in the corresponding attribute of the second MO, the processor 410 first judges whether the second MO is an unidentified object. Wherein, if the object identifier of the second MO cannot be directly represented by the connection relationship or position of the network element device, it is an unidentified object; if the object identifier of the second MO can be directly represented by the network element device If the connection relationship or position is directly represented or is the first MO, then it is a non-deterministic identification object.

在所述第二MO不为非确定标识对象时,处理器410将记录网元设备信息的第二MO发送给发送器430。发送器430将所述第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。When the second MO is not an unidentified object, the processor 410 sends the second MO recording the network element device information to the transmitter 430 . The transmitter 430 actively sends the second MO to the EMS, or sends the second MO to the EMS when the EMS inquires, so that the EMS can obtain the information of the network element device according to the second MO , realizing the presentation of network element device information.

在所述第二MO为非确定标识对象时,处理器410将记录网元设备信息的第二MO设置非确定标识标记,例如,在第二MO的对象标识中的LDN添加前缀“AUTO_”。在设置非确定标识标记后,将第二MO发送给发送器430。发送器430将所述第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。需要说明的是,本申请未必限定在第二MO的对象标识中设置非确定标识标记,在其他实施方式中,可在第二MO中添加用于表示是否为确定标识对象的属性,将该属性设置为非确定标识标记,提示该第二MO为非确定标识对象,故在此对非确定标识标记的具体设置不作具体限定。When the second MO is an unidentified object, the processor 410 sets an unidentified flag on the second MO recording network element equipment information, for example, adding a prefix "AUTO_" to the LDN in the object identifier of the second MO. After setting the non-deterministic identification flag, the second MO is sent to the transmitter 430 . The transmitter 430 actively sends the second MO to the EMS, or sends the second MO to the EMS when the EMS inquires, so that the EMS can obtain the information of the network element device according to the second MO , realizing the presentation of network element device information. It should be noted that this application is not necessarily limited to setting a non-deterministic identification flag in the object identification of the second MO. In other implementations, an attribute indicating whether it is a definite identification object can be added to the second MO, and the attribute Setting it as an indeterminate identification flag indicates that the second MO is an indeterminate identification object, so the specific setting of the indeterminate identification flag is not specifically limited here.

进一步地,本实施方式MO模型中还设置有兼容状态属性和安装状态属性。Further, the MO model in this embodiment is also provided with a compatibility status attribute and an installation status attribute.

处理器410在所述网元中已预先配置所述第一MO时,检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述兼容状态属性中,并将安装状态属性设置为已安装标记,并将检测到的所述网元设备的具体信息更新到所述第一MO的对应属性中,例如,将网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第一MO的对应属性中。处理器410将记录网元设备信息的第一MO发送给发送器430。发送器430将所述第一MO主动发送给EMS,或者在EMS询问时将所述第一MO发送给所述EMS,以使EMS能够根据所述第一MO,获得所述网元设备的信息,实现网元设备信息的呈现。When the first MO has been pre-configured in the network element, the processor 410 detects a compatibility state between the first MO and the network element device, and records the detected compatibility state in the compatibility state attribute , and set the installation status attribute to the installed flag, and update the detected specific information of the network element device to the corresponding attribute of the first MO, for example, the hardware and manufacturing information, status of the network element device Information, performance information, configuration information, etc. are recorded in the corresponding attributes of the first MO. The processor 410 sends the first MO recording the network element device information to the transmitter 430 . The transmitter 430 actively sends the first MO to the EMS, or sends the first MO to the EMS when inquired by the EMS, so that the EMS can obtain the information of the network element device according to the first MO , realizing the presentation of network element device information.

可以理解的是,上述兼容状态属性为可选属性,在其他实施方式中,可不设置兼容状态属性,处理器不对第一MO和网元设备进行兼容性检测,直接进行安装状态属性设置,并更新网元设备信息。It can be understood that the above compatibility status attribute is an optional attribute. In other implementation manners, the compatibility status attribute may not be set, and the processor does not perform compatibility detection on the first MO and the network element device, but directly sets the installation status attribute and updates the NE device information.

进一步地,处理器410定时检测网元当前安装的网元设备是否被拔出,在检测到有网元设备被拔出时,查找到用于标识所述网元设备的MO,判断该MO的配置对象属性是第一还是非配置标记,在为配置标记时,判断所述MO为第一MO,在为非配置标记时,判断所述MO为第二MO。Further, the processor 410 regularly detects whether the network element device currently installed on the network element is pulled out, and when it is detected that a network element device is pulled out, finds the MO used to identify the network element device, and determines the MO's Whether the configuration object attribute is the first or non-configuration mark, if it is a configuration mark, it is judged that the MO is the first MO, and when it is a non-configuration mark, it is judged that the MO is the second MO.

在用于标识被拔出的网元设备的MO为第一MO时,处理器410确定该Mo为配置对象,网元在未得到EMS的删除指令前,将所述MO的安装状态信息设置为未安装标记,并保留所述MO。When the MO used to identify the unplugged network element device is the first MO, the processor 410 determines that the Mo is the configuration object, and the network element sets the installation status information of the MO to The flag is not installed, and the MO remains.

在用于标识被拔出的网元设备的MO为第二MO时,处理器410确定该MO为非配置对象,网元无需得到授权,即可自动删除所述MO。When the MO used to identify the unplugged network element device is the second MO, the processor 410 determines that the MO is not a configuration object, and the network element can automatically delete the MO without authorization.

进一步地,用户可通过EMS向处理器410发送配置指令,以给未安装或者已安装的网元设备配置第一MO,其中,所述配置指令中包括所述网元设备的信息,例如,用户通过EMS输入的网元设备的硬件和制造信息、性能信息、配置信息等。处理器410在接收到EMS发送的所述配置指令时,判断当前是否安装所述网元设备,得到第四判断结果。Further, the user may send a configuration instruction to the processor 410 through EMS to configure the first MO for an uninstalled or installed network element device, wherein the configuration instruction includes the information of the network element device, for example, the user Hardware and manufacturing information, performance information, configuration information, etc. of network element equipment input through EMS. When the processor 410 receives the configuration instruction sent by the EMS, it judges whether the network element device is currently installed, and obtains a fourth judgment result.

在网元当前未安装所述网元设备时,处理器410根据MO模型生成第一MO,将第一MO的安装状态属性设置为未安装标记,以表示当前未安装所述第一MO标识的网元设备。处理器410将接收到的配置指令中的网元设备信息记录到第一MO,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中,并将所述第一MO保存在本地,以作为用于标识所述网元设备的第一MO。When the network element is not currently installed with the network element device, the processor 410 generates a first MO according to the MO model, and sets the installation status attribute of the first MO to an uninstalled flag to indicate that the first MO identified by the first MO is not currently installed. Network element equipment. The processor 410 records the network element device information in the received configuration command to the first MO, for example, records the identification information of the network element device detected by the network element device, such as connection relationship, location or serial number, etc., in the first MO. On the object identifier of the MO, other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, is recorded in other corresponding attributes of the second MO, and the The first MO is stored locally as the first MO for identifying the network element device.

在所述网元当前已安装所述网元设备时,处理器410判断所述网元是否已生成用于标识所述网元设备的第二MO,在未生成时,生成第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中后,将所述第一MO保存以作为用于标识所述网元设备的第一MO。在已生成时,处理器410继续判断用于标识所述网元设备的第二MO是否为非确定标识对象。When the network element has currently installed the network element device, the processor 410 determines whether the network element has generated a second MO for identifying the network element device, and if not generated, generates the first MO, and The installation status attribute of the first MO is set to the installed flag, and after updating the network element device information in the configuration instruction to the first MO, the first MO is saved as a The first MO of the network element device. When generated, the processor 410 continues to determine whether the second MO used to identify the network element device is an undetermined identification object.

在判断用于标识所述网元设备的第二MO为确定标识对象时,处理器410将所述第二MO的配置对象属性设置为所述配置标记,以作为第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中。When judging that the second MO used to identify the network element device is the identification object, the processor 410 sets the configuration object attribute of the second MO as the configuration flag, so that as the first MO, the second MO The installation status attribute of an MO is set to the installed flag, and the network element equipment information in the configuration instruction is updated to the first MO.

在判断用于标识所述网元设备的第二MO为非确定标识对象时,处理器410删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中。When judging that the second MO used to identify the network element device is an unidentified object, the processor 410 deletes the second MO, generates a first MO, and sets the installation status attribute of the first MO to the specified the installed flag, and record the network element equipment information in the configuration instruction into the first MO.

进一步地,处理器410在接收到EMS发送的删除第一MO的指令时,根据所述指令查找到需要删除的第一MO,并判断所述第一MO的安装状态属性为已安装标记还是未安装标记,在为已安装标记时,判断当前已安装所述第一MO标识的网元设备,在为未安装标记时,判断当前未安装所述第一MO标识的网元设备。Further, when the processor 410 receives the instruction to delete the first MO sent by the EMS, it finds the first MO that needs to be deleted according to the instruction, and judges whether the installation status attribute of the first MO is marked as installed or not. If the installation flag is an installed flag, it is judged that the network element equipment with the first MO identifier is currently installed, and when it is an uninstalled flag, it is judged that the network element equipment with the first MO identifier is not currently installed.

在当前已安装需要删除的第一MO标识的网元设备时,处理器410删除所述第一MO,并生成第二MO,检测获得所述网元设备的信息,并将网元设备的信息记录到第二MO中,并将所述第二MO的安装状态属性设置为已安装标记,以表示当前已安装所述第二MO标识的网元设备。When the network element device identified by the first MO that needs to be deleted has been installed, the processor 410 deletes the first MO, generates a second MO, detects and obtains the information of the network element device, and stores the information of the network element device Record it into the second MO, and set the installation status attribute of the second MO to the installed flag, to indicate that the network element device identified by the second MO is currently installed.

在当前未安装需要删除的第一MO标识的网元设备时,处理器410直接删除保存在本地的所述第一MO。When the network element device identified by the first MO that needs to be deleted is not currently installed, the processor 410 directly deletes the locally stored first MO.

需要说明的是,本申请可采用但并不限定采用配置对象属性、安装状态属性、兼容状态属性来分别表示MO的类型、网元设备的安装状态、第一MO与网元设备间的兼容状态,在其他实施方式中,可仅采用一个属性来表示上述MO的类型、网元设备的安装状态、第一MO与网元设备间的兼容状态,或者可采用一个属性来表示上述其中两种。故本申请所述的配置对象属性、安装状态属性、兼容状态属性可以为分作三种独立的属性,或者实质指的是一种属性,在此不作限定。It should be noted that this application may use but not limit to use configuration object attributes, installation state attributes, and compatibility state attributes to respectively represent the type of MO, the installation state of the network element equipment, and the compatibility state between the first MO and the network element equipment , in other embodiments, only one attribute may be used to represent the type of MO, the installation state of the network element device, and the compatibility state between the first MO and the network element device, or one attribute may be used to represent two of the above. Therefore, the configuration object attributes, installation state attributes, and compatibility state attributes mentioned in this application can be divided into three independent attributes, or essentially refer to one attribute, which is not limited here.

请参阅图5,图5是本申请网元设备的呈现方法一实施方式的流程图。所述方法包括以下步骤:Please refer to FIG. 5 . FIG. 5 is a flowchart of an embodiment of a method for presenting a network element device in the present application. The method comprises the steps of:

步骤S501:网元设备的呈现装置如果检测到安装网元设备,则判断网元中是否预先配置用于标识所述网元设备的第一MO,其中,所述第一MO的配置对象属性为配置标记,所述配置标记表示所述第一MO是配置对象,以提示所述网元不能主动删除所述第二MO。Step S501: If the presenting device of the network element device detects that the network element device is installed, it judges whether the first MO for identifying the network element device is pre-configured in the network element, wherein the configuration object attribute of the first MO is A configuration flag, where the configuration flag indicates that the first MO is a configuration object, so as to indicate that the network element cannot actively delete the second MO.

本申请方法应用在网元系统中,其中,所述网元系统包括EMS和至少一个网元,所述EMS通过南向接口来管理所述网元。所述网元可安装一个或多个设备(本申请将可在网元上安装的设备统成为网元设备),如FRU,具体如单板等。网元中设置有网元设备的呈现装置,所述呈现装置能够检测网元是否安装网元设备,并生成标识所述网元设备的MO,以呈现给EMS。The method of the present application is applied in a network element system, wherein the network element system includes an EMS and at least one network element, and the EMS manages the network element through a southbound interface. The network element can be installed with one or more devices (in this application, the devices that can be installed on the network element are collectively referred to as network element devices), such as FRU, specifically, a single board, etc. The network element is provided with a presentation device of the network element equipment, and the presentation device can detect whether the network element is installed with the network element equipment, and generate an MO identifying the network element equipment, so as to present it to the EMS.

本实施方式中,呈现装置定时或在硬件触发时检测网元是否安装网元设备,如果检测到安装网元设备,则根据检测到所述网元设备所表示出的位置信息或者连接关系等,查找网元本地中是否保存有对象标识与所述位置信息或者连接关系匹配的第一MO,如果有,则判断网元100上已预先配置用于识别所述网元设备的第一MO,所述匹配的第一MO即为用于识别所述网元设备的第一MO,呈现装置将网元设备的具体信息更新到所述第一MO的对应属性中,通过所述第一MO向EMS呈现所述网元设备的信息,如果没有,则判断网元上未预先配置用于识别所述网元设备的第一MO,并执行步骤S502。In this embodiment, the presentation device detects whether a network element is installed with a network element device at regular intervals or when the hardware is triggered. Finding whether there is a first MO whose object identifier matches the location information or the connection relationship stored locally in the network element, and if so, judging that the first MO for identifying the network element device has been pre-configured on the network element 100, so The matched first MO is the first MO used to identify the network element equipment, and the presenting device updates the specific information of the network element equipment into the corresponding attribute of the first MO, and reports to the EMS through the first MO Present the information of the network element device, if not, determine that the first MO for identifying the network element device is not pre-configured on the network element, and perform step S502.

步骤S502:呈现装置生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,其中,所述第二MO的配置对象属性设置为非配置标记,所述非配置标记表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO。Step S502: The presenting means generates a second MO, and records the detected information of the network element device into the second MO, wherein the configuration object attribute of the second MO is set to a non-configuration flag, and the The non-configuration flag indicates that the second MO is not a configuration object, so as to prompt the network element to actively delete the second MO.

如果判断网元上未预先配置所述网元设备的第一MO,则呈现装置根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为非配置标记,以作为第二MO。并且,呈现装置将检测到的所述网元设备的信息记录到所述第二MO中,例如,将网元设备的识别信息如连接关系、位置或者序号等,记录在第二MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。If it is judged that the first MO of the network element device is not pre-configured on the network element, the presenting means automatically generates an MO according to the MO model, and sets the configuration object attribute of the MO to a non-configuration flag as the second MO. In addition, the presenting means records the detected information of the network element equipment into the second MO, for example, records the identification information of the network element equipment such as connection relationship, location or serial number, etc., in the object identifier of the second MO First, record other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element device, into other corresponding attributes of the second MO.

步骤S503:呈现装置将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。Step S503: the presenting means uses the second MO as the second MO for identifying the network element device, so as to present the information of the network element device.

呈现装置将记录网元设备信息的第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。例如,呈现装置通过南向接口向EMS发送所述第二MO,当然,在实际应用中,呈现装置还可通过其他接口发送MO,如北向接口等,在此不作限定。The presenting device actively sends the second MO recording the information of the network element equipment to the EMS, or sends the second MO to the EMS when the EMS inquires, so that the EMS can obtain the network element according to the second MO Device information to realize the presentation of network element device information. For example, the presentation device sends the second MO to the EMS through the southbound interface. Of course, in practical applications, the presentation device may also send the MO through other interfaces, such as the northbound interface, which is not limited herein.

本实施方式对所有的网元设备均统一采用MO来呈现所述网元设备的信息,统一了对网元设备信息的呈现方式,使得EMS仅要求能够对MO模型进行解析,即可识别所有的网元设备信息,以实现对网元设备的操作,同时,在检测到安装未配置第一MO的网元设备时,生成第二MO,通过配置对象属性可区分该MO是否为配置对象,使得网元能够保证不会误删作为配置对象的第一MO,且对作为非配置对象的第二MO具有可自动删除的权限。In this embodiment, all network element devices are uniformly presented with MO to present the information of the network element devices, and the presentation mode of the network element device information is unified, so that the EMS can identify all network element devices only by analyzing the MO model. Network element device information to realize the operation of the network element device. At the same time, when the installation of the network element device that is not configured with the first MO is detected, the second MO is generated, and whether the MO is a configuration object can be distinguished through the configuration object attribute, so that The network element can ensure that the first MO that is the configuration object will not be deleted by mistake, and has the authority to automatically delete the second MO that is not the configuration object.

请参阅图6,图6是本申请网元设备的呈现方法另一实施方式的流程图。本实施方式中,所述方法包括以下步骤:Referring to FIG. 6 , FIG. 6 is a flow chart of another embodiment of a method for presenting a network element device according to the present application. In this embodiment, the method includes the following steps:

步骤S601:呈现装置如果检测到安装网元设备,则判断网元中是否预先配置用于标识所述网元设备的第一MO。Step S601: If the presenting apparatus detects that a network element device is installed, it judges whether the network element is pre-configured with a first MO for identifying the network element device.

网元定时或者在硬件触发时检测是否安装网元设备,如果检测到安装网元设备,则根据检测到所述网元设备所表示出的位置信息或者连接关系等,查找网元本地中是否保存有对象标识与所述位置信息或者连接关系匹配的第一MO,如果没有,则判断网元上未预先配置所述网元设备的第一MO,并执行步骤S602,如果有,则判断网元上已预先配置所述网元设备的第一MO,并执行步骤S608。The network element detects whether to install the network element device at regular intervals or when the hardware is triggered. If the installation of the network element device is detected, it searches whether the network element is saved locally according to the location information or connection relationship indicated by the detected network element device. There is a first MO whose object identifier matches the location information or connection relationship, if not, then judge that the first MO of the network element device is not pre-configured on the network element, and perform step S602, if there is, judge that the network element The first MO of the network element device has been pre-configured, and step S608 is executed.

步骤S602:呈现装置判断所述网元设备是否满足预设自动配置条件。Step S602: the presenting device judges whether the network element device satisfies a preset automatic configuration condition.

本实施方式中,呈现装置支持自动配置功能,用户可预先通过EMS设置执行自动配置的条件,当网元设备满足预设的自动配置条件时,则执行步骤S603,如果不满足,在执行步骤S604。其中,自动配置条件可包括多个条件,其中必要的是确定用于标识所述网元设备的MO为确定标识对象,即网元能够直接检测所述网元设备获得其连接关系或者位置信息,另外还可设置其他条件,例如,1)MOCName,特定的MOC;2)RootLDN/*,指定RootLDN下的所有对象;3)RootLDN+MOCName,指定的RootLDN下的特定MOC对象。In this embodiment, the presentation device supports the automatic configuration function, and the user can set the conditions for performing automatic configuration through EMS in advance. When the network element equipment meets the preset automatic configuration conditions, step S603 is executed; if not, step S604 is executed. . Wherein, the automatic configuration condition may include a plurality of conditions, wherein it is necessary to determine that the MO used to identify the network element device is the identification object, that is, the network element can directly detect the network element device to obtain its connection relationship or location information, In addition, other conditions can also be set, for example, 1) MOCName, specific MOC; 2) RootLDN/*, all objects under the specified RootLDN; 3) RootLDN+MOCName, specific MOC objects under the specified RootLDN.

步骤S603:呈现装置生成第一MO,将检测到的所述网元设备信息记录到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO。Step S603: the presenting means generates a first MO, records the detected information of the network element equipment into the first MO, and takes the first MO as the first MO for identifying the network element equipment.

如果网元设备满足自动配置条件,则表示EMS授权网元可对该网元设备自行进行配置对象,呈现装置根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为配置标记,以作为第一MO,将安装状态属性设置为已安装标记,在设置有兼容状态属性时,将所述第一MO的兼容状态属性设置为匹配标记,例如为Matched,并将检测到的所述网元设备信息记录到所述第一MO中,例如,将网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第一MO的其他对应属性中。所述第一MO则作为用于标识所述网元设备的第一MO,呈现装置将所述第一MO进行保存。If the network element device meets the automatic configuration conditions, it means that the EMS authorized network element can configure the object of the network element device itself, and the presentation device automatically generates the MO according to the MO model, and sets the configuration object attribute of the MO as a configuration tag, As the first MO, the installation state attribute is set to the installed flag, and when the compatibility state attribute is set, the compatibility state attribute of the first MO is set to a matching flag, such as Matched, and the detected Record the network element equipment information in the first MO, for example, record the identification information of the network element equipment, such as connection relationship, location or serial number, etc., on the object identifier of the first MO, and record other specific information of the network element equipment, For example, hardware and manufacturing information, status information, performance information, configuration information, etc. of network element equipment are recorded in other corresponding attributes of the first MO. The first MO is used as the first MO for identifying the network element device, and the presenting means saves the first MO.

步骤S604:呈现装置生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中。Step S604: the presenting apparatus generates a second MO, and records the detected information of the network element device into the second MO.

如果网元设备不满足自动配置条件,则表示EMS没有授权网元对该网元设备自行进行配置,呈现装置根据MO模型,自动生成MO,并将所述MO的配置对象属性设置为非配置标记,以作为第二MO。其中,所述非配置标记表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO。If the network element device does not meet the automatic configuration conditions, it means that the EMS does not authorize the network element to configure the network element device itself, and the presentation device automatically generates the MO according to the MO model, and sets the configuration object attribute of the MO as a non-configuration flag , as the second MO. Wherein, the non-configuration flag indicates that the second MO is not a configuration object, so as to prompt the network element to actively delete the second MO.

呈现装置将检测到的所述网元设备的信息记录到所述第二MO中,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第二MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。The presenting means records the detected information of the network element equipment in the second MO, for example, records the identification information of the network element equipment detected by the network element equipment, such as connection relationship, position or serial number, etc., in the On the object identifier of the second MO, record other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, into other corresponding attributes of the second MO.

需要说明的是,本申请呈现装置不限定为支持自动配置功能,在不支持自动配置的实施方式中,呈现装置在执行步骤S601后,如果判断为未配置网元设备的第一MO,则直接执行步骤S604。It should be noted that the presentation device of the present application is not limited to support the automatic configuration function. In an embodiment that does not support automatic configuration, after the presentation device executes step S601, if it determines that the first MO of the network element device is not configured, it will directly Execute step S604.

步骤S605:呈现装置判断所述第二MO是否为非确定标识对象。Step S605: the presenting device judges whether the second MO is an unidentified object.

呈现装置在将检测到的所述网元设备的信息记录到所述第二MO的对应属性后,判断所述第二MO是否为非确定标识对象,如果不是,则执行步骤S606,如果是,则执行步骤S607。其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,如果所述第二MO的对象标识能通过所述网元设备的连接关系或位置来直接表示或者为第一MO,则为非确定标识对象。例如,本实施方式采用LDN来表示MO的对象标识,如果生成第二MO的对象标识具体为LDN:ME=0,Equipment=0,Stubrack=2,Board=4,则该第二MO标识在2号框、4号槽的单板,即该第二MO能够通过该单板的位置直接确定LDN,故为确定标识对象。如果生成的第二MO具体表示为LDN:ME=0,Equipment=0,RU=A01,则该第二MO的对象标识只能标识为A01号的RU,无法标识RU的具体连接关系/位置(该RU的具体位置或者连接关系则需要通过该第二MO的其他属性表达,如:RU所在的RUChain,或者RU在RUChain的级数等),即该第二MO不能通过该RU的位置/连接关系直接确定LDN,故为非确定标识对象。After the presenting device records the detected information of the network element equipment into the corresponding attribute of the second MO, it judges whether the second MO is an unidentified object, if not, executes step S606, if yes, Then step S607 is executed. Wherein, if the object identifier of the second MO cannot be directly represented by the connection relationship or position of the network element device, it is an unidentified object; if the object identifier of the second MO can be directly represented by the network element device If the connection relationship or position is directly represented or is the first MO, then it is a non-deterministic identification object. For example, in this embodiment, LDN is used to represent the object identifier of MO. If the object identifier of the second MO is specifically LDN: ME=0, Equipment=0, Stubrack=2, Board=4, then the second MO identifier is in 2 The single board of No. frame and slot No. 4, that is, the second MO can directly determine the LDN through the position of the single board, so it is the identification object to be determined. If the generated second MO is specifically expressed as LDN: ME=0, Equipment=0, RU=A01, then the object identifier of the second MO can only be identified as the RU of A01, and the specific connection relationship/location of the RU cannot be identified ( The specific position or connection relationship of the RU needs to be expressed through other attributes of the second MO, such as: the RUChain where the RU is located, or the level of the RU in the RUChain, etc.), that is, the second MO cannot pass the position/connection of the RU The relationship directly determines the LDN, so it is a non-deterministic identification object.

步骤S606:呈现装置直接将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。Step S606: the presenting means directly uses the second MO as the second MO for identifying the network element device, so as to present the information of the network element device.

如果所述第二MO为确定标识对象,则呈现装置将记录网元设备信息的第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。If the second MO is the identification object, the presenting means will actively send the second MO recording the network element equipment information to the EMS, or send the second MO to the EMS when the EMS inquires, so that the EMS can According to the second MO, the information of the network element equipment is obtained, and the presentation of the information of the network element equipment is realized.

步骤S607:呈现装置为所述第二MO设置非确定标识标记,将设置后的第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息,其中,所述非确定标识标记用于提示所述第二MO为非确定标识对象。Step S607: The presenting means sets an undetermined identification flag for the second MO, and uses the set second MO as the second MO for identifying the network element device, so as to present the information of the network element device, wherein , the non-deterministic identification mark is used to prompt that the second MO is a non-deterministic identification object.

如果所述第二MO为非确定标识对象,则呈现装置将记录网元设备信息的第二MO设置非确定标识标记,例如,在第二MO的对象标识中的LDN添加前缀“AUTO_”,具体如第二MO的对象标识具体为ME=0,Equipment=0,RU=AUTO_01。在设置非确定标识标记后,将第二MO主动发送给EMS,或者在EMS询问时将所述第二MO发送给所述EMS,以使EMS能够根据所述第二MO,获得所述网元设备的信息,实现网元设备信息的呈现。If the second MO is an unidentified object, the presentation means sets an unidentified flag on the second MO that records network element equipment information, for example, adding a prefix "AUTO_" to the LDN in the object identifier of the second MO, specifically For example, the object identifier of the second MO is specifically ME=0, Equipment=0, RU=AUTO_01. After setting the non-deterministic identification flag, actively send the second MO to the EMS, or send the second MO to the EMS when the EMS inquires, so that the EMS can obtain the network element according to the second MO Device information to realize the presentation of network element device information.

需要说明的是,本申请未必限定在第二MO的对象标识中设置非确定标识标记,在其他实施方式中,可在第二MO中添加用于表示是否为确定标识对象的属性,将该属性设置为非确定标识标记,提示该第二MO为非确定标识对象,故在此对非确定标识标记的具体设置不作具体限定。It should be noted that this application is not necessarily limited to setting a non-deterministic identification flag in the object identification of the second MO. In other implementations, an attribute indicating whether it is a definite identification object can be added to the second MO, and the attribute Setting it as an indeterminate identification flag indicates that the second MO is an indeterminate identification object, so the specific setting of the indeterminate identification flag is not specifically limited here.

步骤S608:呈现装置检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,并将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现。Step S608: The presenting device detects the compatibility status between the first MO and the network element equipment, records the detected compatibility status in the compatibility status attribute of the first MO, and records the installation status of the first MO The status attribute is set to the installed flag, and the detected information of the network element device is updated into the first MO, and the first MO is used as the first MO for identifying the network element device, so that Realize the presentation of the network element equipment information.

本实施方式MO模型中还设置有兼容状态属性和安装状态属性。In this embodiment, the MO model is also provided with a compatibility status attribute and an installation status attribute.

如果所述网元中已预先配置所述第一MO,则呈现装置检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述兼容状态属性中,并将安装状态属性设置为已安装标记,并将检测到的所述网元设备的具体信息更新到所述第一MO的对应属性中,例如,将网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第一MO的对应属性中。If the first MO has been pre-configured in the network element, the presenting means detects the compatibility status between the first MO and the network element device, and records the detected compatibility status in the compatibility status attribute, And set the installation status attribute as an installed flag, and update the detected specific information of the network element device to the corresponding attribute of the first MO, for example, the hardware and manufacturing information, status information of the network element device , performance information, configuration information, etc., are recorded in the corresponding attributes of the first MO.

呈现装置将记录网元设备信息的第一MO主动发送给EMS,或者在EMS询问时将所述第一MO发送给所述EMS,以使EMS能够根据所述第一MO,获得所述网元设备的信息,实现网元设备信息的呈现。The presenting device actively sends the first MO recording the information of the network element equipment to the EMS, or sends the first MO to the EMS when inquired by the EMS, so that the EMS can obtain the network element according to the first MO Device information to realize the presentation of network element device information.

可以理解的是,上述兼容状态属性为可选属性,在其他实施方式中,可不设置兼容状态属性,呈现装置不对第一MO和网元设备进行兼容性检测,直接进行安装状态属性设置,并更新网元设备信息。It can be understood that the above-mentioned compatibility state attribute is an optional attribute. In other implementation manners, the compatibility state attribute may not be set, and the presentation device does not perform compatibility detection on the first MO and the network element device, but directly sets the installation state attribute and updates the NE device information.

步骤S609:呈现装置如果检测到拔出网元设备,则根据用于标识所述网元设备的MO的配置对象属性,判断用于标识所述网元设备的MO为第一MO还是第二MO。Step S609: If the presentation device detects that the network element device is unplugged, it judges whether the MO used to identify the network element device is the first MO or the second MO according to the configuration object attribute of the MO used to identify the network element device .

呈现装置定时检测网元当前安装的网元设备是否被拔出,如果检测到有网元设备被拔出,则查找到用于标识所述网元设备的MO,判断该MO的配置对象属性是第一还是非配置标记,如果为配置标记,则判断所述MO为第一MO,并执行步骤S610,如果为非配置标记,则判断所述MO为第二MO,并执行步骤S611。The presenting device regularly detects whether the network element device currently installed on the network element is pulled out, and if it detects that a network element device is pulled out, it finds the MO used to identify the network element device, and judges that the configuration object attribute of the MO is Whether the first is a non-configuration mark, if it is a configuration mark, judge that the MO is the first MO, and perform step S610, if it is a non-configuration mark, determine that the MO is the second MO, and perform step S611.

步骤S610:呈现装置保留所述用于标识网元设备的MO。Step S610: the presenting apparatus reserves the MO for identifying the network element device.

如果用于标识被拔出的网元设备的MO为第一MO,则确定该MO为配置对象,呈现装置在未得到EMS的删除指令前,将所述MO的安装属性设置为未安装标记,并保留所述MO。If the MO used to identify the unplugged network element device is the first MO, it is determined that the MO is a configuration object, and the presentation device sets the installation attribute of the MO to an uninstalled flag before receiving a deletion instruction from the EMS, And keep said MO.

步骤S611:呈现装置删除所述用于标识网元设备的MO。Step S611: the presenting device deletes the MO used to identify the network element device.

如果用于标识被拔出的网元设备的MO为第二MO,则确定该MO为非配置对象,呈现装置无需得到授权,即可自动删除所述MO。If the MO used to identify the unplugged network element device is the second MO, it is determined that the MO is not a configuration object, and the presenting apparatus can automatically delete the MO without authorization.

请继续参阅图7,图7是本申请网元设备的呈现方法再一实施方式的部分流程图。优化地,本实施方式包括图6所示的步骤之外,还包括以下步骤:Please continue to refer to FIG. 7 . FIG. 7 is a partial flow chart of still another embodiment of a method for presenting a network element device in the present application. Optimally, in addition to the steps shown in Figure 6, this embodiment also includes the following steps:

步骤S712:呈现装置如果接收到为网元设备配置第一MO的配置指令,则判断所述网元当前是否安装所述网元设备。Step S712: If the presentation device receives a configuration instruction to configure the first MO for the network element device, it judges whether the network element device is currently installed with the network element device.

用户可通过EMS向呈现装置发送配置指令,以给未安装或者已安装的网元设备配置第一MO,其中,所述配置指令中包括所述网元设备的信息,例如,将网元设备的硬件和制造信息、性能信息、配置信息等。呈现装置如果接收到EMS发送的所述配置指令,则判断当前是否安装所述网元设备,如果未安装,则执行步骤S713,如果安装,且所述网元中已生成用于标识所述网元设备的第二MO,则执行步骤S714。The user can send a configuration instruction to the presentation device through EMS to configure the first MO for the uninstalled or installed network element equipment, wherein the configuration instruction includes the information of the network element equipment, for example, the network element equipment Hardware and manufacturing information, performance information, configuration information, etc. If the presenting device receives the configuration instruction sent by the EMS, it judges whether the network element equipment is currently installed, and if not installed, executes step S713; For the second MO of the meta-device, step S714 is performed.

步骤S713:呈现装置生成第一MO,将所述第一MO的安装状态属性设置为未安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中后,将所述第一MO作为用于标识所述网元设备的第一MO进行保存。Step S713: The presenting device generates the first MO, sets the installation status attribute of the first MO to the uninstalled flag, and after updating the network element equipment information in the configuration instruction to the first MO, updates the The first MO is saved as the first MO used to identify the network element device.

呈现装置如果当前未安装所述网元设备,则根据MO模型生成MO,将MO的配置对象属性设置为配置标记,以作为第一MO,将第一MO的安装状态属性设置为未安装标记,以表示当前未安装所述第一MO标识的网元设备。网元将接收到的配置指令中的网元设备信息记录到第一MO,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中,并将所述第一MO保存在本地,以作为用于标识所述网元设备的第一MO。If the presenting device is not currently installed with the network element device, then generate an MO according to the MO model, set the configuration object attribute of the MO as a configuration flag as the first MO, and set the installation state attribute of the first MO as an uninstalled flag, to indicate that the network element device identified by the first MO is currently not installed. The network element records the network element device information in the configuration command received in the first MO, for example, the network element device records the identification information of the network element device detected, such as connection relationship, location or serial number, etc., in the first MO On the object identifier of the network element device, record other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element device, into other corresponding attributes of the second MO, and record the The first MO is stored locally as the first MO for identifying the network element device.

步骤S714:呈现装置判断所述第二MO是否为非确定标识对象。Step S714: the presenting device judges whether the second MO is an unidentified object.

如果所述网元当前已安装所述网元设备,则呈现装置判断所述网元是否已生成用于标识所述网元设备的第二MO,如果未生成,则生成第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中后,将所述第一MO保存以作为用于标识所述网元设备的第一MO。如果已生成,则呈现装置继续判断用于标识所述网元设备的第二MO是否为非确定标识对象,如果不是,则执行步骤S715,如果是,则执行步骤S716。If the network element has currently installed the network element device, the presenting means judges whether the network element has generated a second MO for identifying the network element device, if not generated, generates the first MO, and stores the Set the installation status attribute of the first MO to the installed flag, and after updating the network element equipment information in the configuration instruction to the first MO, save the first MO as a The first MO of network element equipment. If it has been generated, the presenting means continues to judge whether the second MO used to identify the network element device is an unidentified object, if not, execute step S715, and if yes, execute step S716.

步骤S715:呈现装置将所述第二MO的配置对象属性设置为所述配置标记,以作为用于标识所述网元设备的第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中。Step S715: the presenting means sets the configuration object attribute of the second MO as the configuration flag as the first MO used to identify the network element device, and sets the installation status attribute of the first MO to Install the mark, and update the network element device information in the configuration instruction to the first MO.

如果用于标识所述网元设备的第二MO为确定标识对象,则呈现装置将所述第二MO的配置对象属性设置为所述配置标记,以作为第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中,例如,将网元设备的硬件和制造信息、性能信息、配置信息等,记录到所述第一MO的对应属性中,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备。If the second MO used to identify the network element device is a definite identification object, the presenting means sets the configuration object attribute of the second MO as the configuration flag, so as to serve as the first MO, and set the first MO The installation status attribute of the network element device is set to the installed flag, and the network element device information in the configuration instruction is updated to the first MO, for example, the hardware and manufacturing information, performance information, configuration information, etc. of the network element device, Recorded in the corresponding attribute of the first MO, wherein the installed flag indicates that the network element device identified by the first MO is currently installed.

步骤S716:呈现装置删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,以将所述第一MO作为用于标识所述网元设备的第一MO。Step S716: The presenting device deletes the second MO, generates the first MO, sets the installation status attribute of the first MO to the installed flag, and records the network element equipment information in the configuration instruction to In the first MO, the first MO may be used as the first MO for identifying the network element device.

如果用于标识所述网元设备的第二MO为非确定标识对象,则呈现装置删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,例如,将网元设备将检测到的网元设备的识别信息如连接关系、位置或者序号等,记录在第一MO的对象标识上,将网元设备的其他具体信息,如网元设备的硬件和制造信息、状态信息、性能信息、配置信息等,记录到所述第二MO的其他对应属性中。If the second MO used to identify the network element equipment is an indeterminate identification object, the presenting means deletes the second MO, generates a first MO, and sets the installation state attribute of the first MO to the established Install the mark, and record the network element device information in the configuration instruction into the first MO, for example, record the identification information of the network element device to be detected by the network element device, such as connection relationship, position or serial number, etc. On the object identifier of the first MO, record other specific information of the network element equipment, such as hardware and manufacturing information, status information, performance information, configuration information, etc. of the network element equipment, into other corresponding attributes of the second MO .

步骤S717:呈现装置如果接收到删除第一MO的指令,则根据所述需要删除的第一MO的安装状态属性,判断当前是否安装所述第一MO标识的网元设备。Step S717: If the presenting device receives the instruction to delete the first MO, it judges whether the network element device identified by the first MO is currently installed according to the installation status attribute of the first MO to be deleted.

呈现装置如果接收到EMS发送的删除第一MO的指令,则根据所述指令查找到需要删除的第一MO,并判断所述第一MO的安装状态属性为已安装标记还是未安装标记,如果为已安装标记,则判断当前已安装所述第一MO标识的网元设备,并执行步骤S718,如果为未安装标记,则判断当前未安装所述第一MO标识的网元设备,并执行步骤S719。If the presentation device receives the instruction to delete the first MO sent by the EMS, it will find the first MO that needs to be deleted according to the instruction, and judge whether the installation status attribute of the first MO is an installed flag or an uninstalled flag, if If the flag is installed, it is determined that the network element device with the first MO logo is currently installed, and step S718 is executed; if the flag is not installed, it is judged that the network element device with the first MO logo is not currently installed, and execute Step S719.

步骤S718:呈现装置删除所述第一MO,并生成第二MO,并将检测到的所述网元设备的信息记录到第二MO中,以实现呈现所述网元设备的信息。Step S718: the presenting means deletes the first MO, generates a second MO, and records the detected information of the network element device into the second MO, so as to present the information of the network element device.

呈现装置如果判断当前已安装需要删除的第一MO标识的网元设备,则删除所述第一MO,并生成第二MO,检测获得所述网元设备的信息,并将网元设备的信息记录到第二MO中,并将所述第二MO的安装状态属性设置为已安装标记,以表示当前已安装所述第二MO标识的网元设备。If the presenting device judges that the network element device identified by the first MO that needs to be deleted is currently installed, delete the first MO, generate a second MO, detect and obtain the information of the network element device, and store the information of the network element device Record it into the second MO, and set the installation status attribute of the second MO to the installed flag, to indicate that the network element device identified by the second MO is currently installed.

步骤S719:呈现装置直接在网元中删除所述第一MO。Step S719: the presenting device directly deletes the first MO in the network element.

呈现装置如果判断当前未安装需要删除的第一MO标识的网元设备,则直接删除保存在本地的所述第一MO。If the presenting device judges that the network element device identified by the first MO to be deleted is not currently installed, it directly deletes the locally stored first MO.

本申请还提供一种网元的实施方式,所述网元用于包括EMS的网元系统中,EMS可通过接口如南向接口管理所述网元,所述网元包括上述实施方式所述的网元设备的呈现装置,具体说明请残垣图1至6以及上面实施方式,在此不作赘述。The present application also provides an embodiment of a network element. The network element is used in a network element system including an EMS. The EMS can manage the network element through an interface such as a southbound interface. The network element includes the network element described in the above embodiment. For the presenting apparatus of the network element equipment, please refer to Figures 1 to 6 and the above implementation manner for specific description, and details are not repeated here.

通过上述方案,本申请对所有的网元设备均统一采用MO来呈现所述网元设备的信息,统一了对网元设备信息的呈现方式,使得EMS仅要求能够对MO模型进行解析,即可识别所有的网元设备信息,以实现对网元设备的操作,同时,在检测到安装未配置第一MO的网元设备时,生成第二MO,通过配置对象属性可区分该MO是否为配置对象,使得网元能够保证不会误删作为配置对象的第一MO,且对作为非配置对象的第二MO具有可自动删除的权限。Through the above solution, this application uniformly uses MO to present the information of the network element equipment for all network element equipment, and unifies the presentation mode of the network element equipment information, so that EMS only requires the ability to analyze the MO model, that is, Identify all the network element equipment information to realize the operation of the network element equipment. At the same time, when the installation of the network element equipment that is not configured with the first MO is detected, the second MO is generated, and the configuration object attribute can be used to distinguish whether the MO is configured. Object, so that the network element can ensure that the first MO that is the configuration object will not be deleted by mistake, and has the authority to automatically delete the second MO that is not the configuration object.

在本申请所提供的几个实施方式中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several implementation manners provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device implementations described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。 If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code.

Claims (17)

一种网元设备的呈现装置,其中,包括第一判断模块、第一生成模块和第一呈现模块,An apparatus for presenting network element equipment, including a first judging module, a first generating module, and a first presenting module, 所述第一判断模块用于在检测到安装网元设备时,判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO,并将所述第一判断结果发送所述第一生成模块,其中,所述第一MO中的配置对象属性为配置标记,所述配置标记用于表示所述第一MO是配置对象,以提示所述网元不能主动删除所述第一MO;The first judging module is configured to judge whether a first management object MO for identifying the network element device is pre-configured in the network element when the installation of the network element device is detected, and send the first judgment result to the The first generation module, wherein, the configuration object attribute in the first MO is a configuration mark, and the configuration mark is used to indicate that the first MO is a configuration object, so as to prompt the network element that the first MO cannot be actively deleted. MO; 所述第一生成模块用于在所述网元中未预先配置所述第一MO时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,将所述第二MO发送给所述第一呈现模块,其中,所述第二MO中的配置对象属为非配置标记,所述非配置标记用于表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO;The first generating module is configured to generate a second MO when the first MO is not pre-configured in the network element, and record the detected information of the network element device into the second MO, sending the second MO to the first presentation module, wherein the configuration object in the second MO is a non-configuration flag, and the non-configuration flag is used to indicate that the second MO is not a configuration object, and Prompting that the network element can actively delete the second MO; 所述第一呈现模块用于将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。The first presenting module is configured to use the second MO as the second MO for identifying the network element device, so as to present the information of the network element device. 根据权利要求1所述的装置,其中,所述第一呈现模块包括第一判断单元、第一呈现单元和第二呈现单元,The device according to claim 1, wherein the first presentation module comprises a first judging unit, a first presentation unit and a second presentation unit, 所述第一判断单元用于判断所述第二MO是否为非确定标识对象,并将第二判断结果发送给所述第一呈现单元和第二呈现单元,其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,所述对象标识即为MO的识别标记,且用于表示出所述MO所标识的网元设备;The first judging unit is used to judge whether the second MO is an unidentified identification object, and send the second judging result to the first presentation unit and the second presentation unit, wherein, if the second MO’s If the object identifier cannot be directly represented by the connection relationship or position of the network element equipment, it is an unidentified object, and the object identifier is the identification mark of the MO, and is used to indicate the network element equipment identified by the MO ; 所述第一呈现单元用于在所述第二MO不为非确定标识对象时,直接将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息;The first presenting unit is configured to directly use the second MO as the second MO for identifying the network element device when the second MO is not an undetermined identification object, so as to present the network element device information; 所述第二呈现单元用于在所述第二MO为非确定标识对象时,为所述第二MO设置非确定标识标记,将设置后的第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息,其中,所述非确定标识标记用于提示所述第二MO为非确定标识对象。The second presentation unit is configured to set an undetermined identification flag for the second MO when the second MO is an undetermined identification object, and use the set second MO as an object for identifying the network element device The second MO is configured to present the information of the network element device, wherein the non-deterministic identification mark is used to prompt that the second MO is a non-definite identification object. 根据权利要求1或2所述的装置,其中,所述装置还包括第二生成模块,The device according to claim 1 or 2, wherein the device further comprises a second generating module, 所述第二生成模块用于在第一判断模块判断所述网元中已预先配置所述第一MO时,检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,并将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备。The second generating module is used to detect the compatibility state between the first MO and the network element device when the first judging module judges that the first MO has been pre-configured in the network element, and convert the detected record the compatibility status in the compatibility status attribute of the first MO, set the installation status attribute of the first MO as an installed flag, and update the detected information of the network element device to the first MO In the MO, the first MO is used as the first MO for identifying the network element device, so as to realize the presentation of the network element device information, wherein the installed flag indicates that the first MO is currently installed The identified network element device. 根据权利要求1至3任一项所述的装置,其中,所述装置还包括第二判断模块、保留模块和第一删除模块,The device according to any one of claims 1 to 3, wherein the device further comprises a second judgment module, a retention module and a first deletion module, 所述第二判断模块用于在检测到拔出网元设备时,根据用于标识所述网元设备的MO的配置对象属性,判断所述用于标识所述网元设备的MO为第一MO还是第二MO,并将所述第三判断结果发送到所述保留模块和第一删除模块;The second judging module is configured to judge that the MO used to identify the network element device is the first according to the configuration object attribute of the MO used to identify the network element device when it is detected that the network element device is pulled out. The MO is also the second MO, and sends the third judgment result to the retention module and the first deletion module; 所述保留模块用于在所述用于标识所述网元设备的MO为第一MO时,保留所述用于标识所述网元设备的MO;The retaining module is configured to reserve the MO for identifying the network element device when the MO for identifying the network element device is the first MO; 所述第一删除模块用于在标识所述网元设备的MO为第二MO,则删除所述用于标识所述网元设备的MO。The first deleting module is configured to delete the MO for identifying the network element device when the MO identifying the network element device is the second MO. 根据权利要求1至4任一项所述的装置,其中,所述装置还包括第三判断模块和第三生成模块,The device according to any one of claims 1 to 4, wherein the device further comprises a third judging module and a third generating module, 所述第三判断模块用于在接收到为网元设备配置第一MO的配置指令时,判断所述网元当前是否安装所述网元设备,并将第四判断结果发送给所述第三生成模块,其中,所述配置指令包括所述网元设备的信息;The third judging module is configured to judge whether the network element is currently installed with the network element device when receiving a configuration instruction for configuring the first MO for the network element device, and send a fourth judgment result to the third A generating module, wherein the configuration instruction includes the information of the network element device; 所述第三生成模块用于在所述网元当前未安装所述网元设备时,生成第一MO,将所述第一MO的安装状态属性设置为未安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中后,将所述第一MO作为用于标识所述网元设备的第一MO进行保存,其中,所述未安装标记表示当前未安装所述第一MO标识的网元设备。The third generating module is configured to generate a first MO when the network element is not currently installed with the network element device, set the installation status attribute of the first MO to an uninstalled flag, and set the configuration instruction After recording the network element equipment information in the first MO, save the first MO as the first MO used to identify the network element equipment, wherein the uninstalled flag indicates that the The network element device identified by the first MO. 根据权利要求5所述的装置,其中,所述装置还包括第四判断模块、更新模块和第四生成模块,The device according to claim 5, wherein the device further comprises a fourth judging module, an updating module and a fourth generating module, 所述第四判断模块用于在所述网元当前已安装所述网元设备,且所述网元中已生成用于标识所述网元设备的第二MO时,判断所述第二MO是否为非确定标识对象,并把第五判断结果发送给所述更新模块和第四生成模块;The fourth judging module is configured to judge the second MO when the network element device is currently installed on the network element and a second MO for identifying the network element device has been generated in the network element Whether it is a non-determined identification object, and send the fifth judgment result to the update module and the fourth generation module; 所述更新模块用于在所述第二MO不是非确定标识对象时,将所述第二MO的配置对象属性设置为所述配置标记,以作为用于标识所述网元设备的第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备;The update module is configured to set the configuration object attribute of the second MO as the configuration flag when the second MO is not an undetermined identification object, as the first MO used to identify the network element device , setting the installation state attribute of the first MO to an installed flag, and updating the network element equipment information in the configuration instruction to the first MO, wherein the installed flag indicates that the The network element device identified by the first MO; 所述第四生成模块用于在所述第二MO是非确定标识对象时,删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,以将所述第一MO作为用于标识所述网元设备的第一MO。The fourth generation module is used to delete the second MO when the second MO is an unidentified object, and generate the first MO, and set the installation status attribute of the first MO to the installed flag , and record the network element device information in the configuration instruction into the first MO, so that the first MO is used as the first MO for identifying the network element device. 根据权利要求6所述的装置,其中,所述装置还包括第五判断模块、第五生成模块和第二删除模块,The device according to claim 6, wherein the device further comprises a fifth judging module, a fifth generating module and a second deleting module, 所述第五判断模块用于在接收到删除第一MO的指令时,根据所述需要删除的第一MO的安装状态属性,判断当前是否安装所述第一MO标识的网元设备,并将第六判断结果发送给所述第五生成模块和第二删除模块;The fifth judging module is configured to judge whether the network element device identified by the first MO is currently installed according to the installation status attribute of the first MO to be deleted when receiving an instruction to delete the first MO, and The sixth judgment result is sent to the fifth generation module and the second deletion module; 所述第五生成模块用于在已安装时,删除所述第一MO,并生成第二MO,并将检测到的所述网元设备的信息记录到第二MO中,以实现呈现所述网元设备的信息;The fifth generating module is configured to delete the first MO when installed, and generate a second MO, and record the detected information of the network element device into the second MO, so as to realize the presentation of the Network element equipment information; 所述第二删除模块用于在未安装时,直接在网元中删除所述第一MO。The second deleting module is used to directly delete the first MO in the network element when it is not installed. 根据权利要求1至7任一项所述的装置,其中,所述第一生成模块包括第二判断单元、第一生成单元和第二生成单元,The device according to any one of claims 1 to 7, wherein the first generating module includes a second judging unit, a first generating unit and a second generating unit, 所述第二判断单元用于在所述网元中未预先配置所述第一MO时,判断所述网元设备是否满足预设自动配置条件,并将第七判断结果发送给所述第一、第二生成单元;The second judging unit is configured to judge whether the network element device meets a preset automatic configuration condition when the first MO is not pre-configured in the network element, and send a seventh judgment result to the first MO. , the second generating unit; 所述第一生成单元用于在所述网元设备满足预设自动配置条件时,生成第一MO,将检测到的所述网元设备信息记录到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO;The first generating unit is configured to generate a first MO when the network element device meets a preset automatic configuration condition, record the detected network element device information into the first MO, and record the first MO An MO as the first MO used to identify the network element device; 所述第二生成单元用于在所述网元设备不满足预设自动配置条件时,生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中。The second generating unit is configured to generate a second MO when the network element device does not satisfy a preset automatic configuration condition, and record the detected information of the network element device into the second MO. 一种网元,其中,包括权利要求1至8任一项所述的网元设备的呈现装置。A network element, comprising the presenting device of the network element device according to any one of claims 1 to 8. 一种网元设备的呈现方法,其中,包括以下步骤:A method for presenting a network element device, comprising the following steps: 如果检测到安装网元设备,则判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO,其中,所述第一MO的配置对象属性为配置标记,所述配置标记用于表示所述第一MO是配置对象,以提示所述网元不能主动删除所述第一MO;If it is detected that the network element device is installed, it is judged whether the first management object MO used to identify the network element device is pre-configured in the network element, wherein the configuration object attribute of the first MO is a configuration mark, and the configuration mark It is used to indicate that the first MO is a configuration object, so as to remind the network element that the first MO cannot be deleted actively; 如果所述网元中未预先配置所述第一MO,则生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中,其中,所述第二MO的配置对象属性设置为非配置标记,所述非配置标记用于表示所述第二MO不是配置对象,以提示所述网元能够主动删除所述第二MO;If the first MO is not pre-configured in the network element, generate a second MO, and record the detected information of the network element device into the second MO, where the information of the second MO is The configuration object attribute is set to a non-configuration mark, and the non-configuration mark is used to indicate that the second MO is not a configuration object, so as to prompt the network element to actively delete the second MO; 将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息。The second MO is used as the second MO for identifying the network element device, so as to present the information of the network element device. 根据权利要求10所述的方法,其中,所述将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息的步骤具体包括:The method according to claim 10, wherein the step of using the second MO as the second MO for identifying the network element device so as to present the information of the network element device specifically comprises: 判断所述第二MO是否为非确定标识对象,其中,如果所述第二MO的对象标识不能通过所述网元设备的连接关系或位置来直接表示,则为非确定标识对象,所述对象标识即为MO的识别标记,且用于表示出所述MO所标识的网元设备;judging whether the second MO is an unidentified object, wherein if the object identifier of the second MO cannot be directly represented by the connection relationship or position of the network element device, it is an unidentified object, and the object The identifier is the identification mark of the MO, and is used to indicate the network element device identified by the MO; 如果不是,则直接将所述第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息;If not, directly use the second MO as the second MO for identifying the network element device, so as to present the information of the network element device; 如果是,则为所述第二MO设置非确定标识标记,将设置后的第二MO作为用于标识所述网元设备的第二MO,以实现呈现所述网元设备的信息,其中,所述非确定标识标记用于提示所述第二MO为非确定标识对象。If so, setting an undetermined identification flag for the second MO, and using the set second MO as the second MO for identifying the network element device, so as to present information about the network element device, wherein, The non-deterministic identification mark is used to prompt that the second MO is a non-deterministic identification object. 根据权利要求10或11所述的方法,其中,在所述如果检测到安装网元设备,则判断网元中是否预先配置用于标识所述网元设备的第一管理对象MO的步骤之后,所述方法还包括:The method according to claim 10 or 11, wherein, after the step of determining whether the first management object MO for identifying the network element device is pre-configured in the network element if the installation of the network element device is detected, The method also includes: 如果所述网元中已预先配置所述第一MO,则检测所述第一MO与所述网元设备间的兼容状态,将检测到的兼容状态记录在所述第一MO的兼容状态属性中,将所述第一MO的安装状态属性设置为已安装标记,并将检测到的所述网元设备的信息更新到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO,以实现所述网元设备信息的呈现,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备。If the first MO has been pre-configured in the network element, then detect the compatibility status between the first MO and the network element device, and record the detected compatibility status in the compatibility status attribute of the first MO , set the installation status attribute of the first MO to the installed flag, and update the detected information of the network element device into the first MO, and use the first MO as a The first MO of the network element device, so as to realize the presentation of the network element device information, wherein the installed flag indicates that the network element device identified by the first MO is currently installed. 根据权利要求10至12任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 10 to 12, wherein the method further comprises: 如果检测到拔出网元设备,则根据用于标识所述网元设备的MO的配置对象属性,判断所述用于标识所述网元设备的MO为第一MO还是第二MO;If it is detected that the network element device is pulled out, according to the configuration object attribute of the MO used to identify the network element device, determine whether the MO used to identify the network element device is the first MO or the second MO; 如果所述用于标识所述网元设备的MO为第一MO,则保留所述用于标识所述网元设备的MO;If the MO used to identify the network element device is the first MO, then reserve the MO used to identify the network element device; 如果所述用于标识所述网元设备的MO为第二MO,则删除所述用于标识所述网元设备的MO。If the MO used to identify the network element device is the second MO, delete the MO used to identify the network element device. 根据权利要求10至13任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 10 to 13, wherein the method further comprises: 如果接收到为网元设备配置第一MO的配置指令,则判断所述网元当前是否安装所述网元设备,其中,所述配置指令包括所述网元设备的信息;If a configuration instruction for configuring the first MO for the network element device is received, judge whether the network element is currently installed with the network element device, where the configuration instruction includes information about the network element device; 如果所述网元当前未安装所述网元设备,则生成第一MO,将所述第一MO的安装状态属性设置为未安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中后,将所述第一MO作为用于标识所述网元设备的第一MO进行保存,其中,所述未安装标记表示当前未安装所述第一MO标识的网元设备。If the network element is not currently installed with the network element device, then generate a first MO, set the installation status attribute of the first MO to an uninstalled flag, and record the network element device information in the configuration command to After the first MO is installed, save the first MO as the first MO used to identify the network element device, wherein the uninstalled flag indicates that the network element identified by the first MO is not currently installed equipment. 根据权利要求14所述的方法,其中,在如果接收到为网元设备配置第一MO的配置指令,则判断所述网元当前是否安装所述网元设备的步骤之后,所述方法还包括:The method according to claim 14, wherein, after the step of judging whether the network element is currently installed with the network element device if a configuration instruction for configuring the first MO for the network element device is received, the method further comprises : 如果所述网元当前已安装所述网元设备,且所述网元中已生成用于标识所述网元设备的第二MO,则判断所述第二MO是否为非确定标识对象;If the network element is currently installed with the network element device, and a second MO for identifying the network element device has been generated in the network element, then judging whether the second MO is an undetermined identification object; 如果不是,则将所述第二MO的配置对象属性设置为所述配置标记,以作为用于标识所述网元设备的第一MO,将所述第一MO的安装状态属性设置为已安装标记,并将所述配置指令中的网元设备信息更新到所述第一MO中,其中,所述已安装标记表示当前已安装所述第一MO标识的网元设备;If not, setting the configuration object attribute of the second MO to the configuration tag as the first MO used to identify the network element device, and setting the installation state attribute of the first MO to installed mark, and update the network element device information in the configuration instruction to the first MO, wherein the installed mark indicates that the network element device identified by the first MO is currently installed; 如果是,则删除所述第二MO,并生成第一MO,将所述第一MO的安装状态属性设置为所述已安装标记,并将所述配置指令中的网元设备信息记录到所述第一MO中,以将所述第一MO作为用于标识所述网元设备的第一MO。If so, then delete the second MO, and generate the first MO, set the installation status attribute of the first MO to the installed flag, and record the network element equipment information in the configuration command to the In the first MO, the first MO is used as the first MO for identifying the network element device. 根据权利要求15所述的方法,其中,所述方法包括:The method of claim 15, wherein the method comprises: 如果接收到删除第一MO的指令,则根据所述需要删除的第一MO的安装状态属性,判断当前是否安装所述第一MO标识的网元设备;If an instruction to delete the first MO is received, then according to the installation status attribute of the first MO to be deleted, determine whether the network element device identified by the first MO is currently installed; 如果已安装,则删除所述第一MO,并生成第二MO,并将检测到的所述网元设备的信息记录到第二MO中,以实现呈现所述网元设备的信息;If it has been installed, deleting the first MO, generating a second MO, and recording the detected information of the network element device into the second MO, so as to present the information of the network element device; 如果未安装,则直接在网元中删除所述第一MO。If not installed, directly delete the first MO in the network element. 根据权利要求10至16任一项所述的方法,其中,所述如果所述网元中未预先配置所述第一MO,则生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中的步骤还包括:The method according to any one of claims 10 to 16, wherein if the first MO is not pre-configured in the network element, generating a second MO and using the detected network element device The step of recording information into the second MO also includes: 如果所述网元中未预先配置所述第一MO,则判断所述网元设备是否满足预设自动配置条件;If the first MO is not pre-configured in the network element, judging whether the network element device meets a preset automatic configuration condition; 如果满足,则生成第一MO,将检测到的所述网元设备信息记录到所述第一MO中,将所述第一MO作为用于标识所述网元设备的第一MO;If so, generating a first MO, recording the detected network element device information into the first MO, and using the first MO as the first MO for identifying the network element device; 如果不满足,则生成第二MO,并将检测到的所述网元设备的信息记录到所述第二MO中。If not, generate a second MO, and record the detected information of the network element device into the second MO.
CN201480000226.XA 2014-03-31 2014-03-31 A kind of presentation device of network element device, method and network element Active CN105144630B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074364 WO2015149217A1 (en) 2014-03-31 2014-03-31 Network element equipment presentation device, method and network element

Publications (2)

Publication Number Publication Date
CN105144630A true CN105144630A (en) 2015-12-09
CN105144630B CN105144630B (en) 2019-01-11

Family

ID=54239211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480000226.XA Active CN105144630B (en) 2014-03-31 2014-03-31 A kind of presentation device of network element device, method and network element

Country Status (2)

Country Link
CN (1) CN105144630B (en)
WO (1) WO2015149217A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370233A (en) * 2008-09-18 2009-02-18 华为技术有限公司 A method, device and system for automatic configuration at runtime
US20090070425A1 (en) * 2007-09-12 2009-03-12 Hewlett-Packard Development Company, L.P. Data processing system, method of updating a configuration file and computer program product
CN101447895A (en) * 2009-01-12 2009-06-03 华为技术有限公司 Collocation method for synchronizing network management and network element and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090070425A1 (en) * 2007-09-12 2009-03-12 Hewlett-Packard Development Company, L.P. Data processing system, method of updating a configuration file and computer program product
CN101370233A (en) * 2008-09-18 2009-02-18 华为技术有限公司 A method, device and system for automatic configuration at runtime
CN101447895A (en) * 2009-01-12 2009-06-03 华为技术有限公司 Collocation method for synchronizing network management and network element and device thereof

Also Published As

Publication number Publication date
CN105144630B (en) 2019-01-11
WO2015149217A1 (en) 2015-10-08

Similar Documents

Publication Publication Date Title
US9647891B2 (en) Managing network configurations
US7577729B1 (en) Distributed storage management services
US20170244596A1 (en) Configuration Information Management Method, Device, Network Element Management System and Storage Medium
US20020069271A1 (en) Event manager for network operating system
CN105281937B (en) Server, service management system, and service management method
JP2004005693A (en) Method and apparatus for modifying a device remotely monitored by a monitoring system
CN104765621A (en) Method and system for deploying program on cluster node
US10404577B2 (en) Network compatibility determination based on flow requirements of an application and stored flow capabilities of a software-defined network
CN104158858A (en) Method and system for accessing distributed cluster file system
JP5617304B2 (en) Switching device, information processing device, and fault notification control program
CN105592122A (en) Cloud platform monitoring method and cloud platform monitoring system
JP2019036293A (en) System and method for providing secure airborne network-attached storage node
US20160226953A1 (en) Device management apparatus, relay apparatus, relay method, and computer readable medium
CN112612577A (en) Method, device and equipment for monitoring large-scale K8s cluster and readable medium
CN104601366A (en) Configuration service method and device for control and service nodes
JP2023530996A (en) Cluster capacity reduction/expansion method and system, capacity reduction/expansion control terminal, and medium
JP2022526706A (en) Cloud support for legacy reliability network devices for zero-touch provisioning and enterprise-as-a-service
CN107193563B (en) A method for server stateless firmware version management
CN102298560A (en) Equipment managing apparatus, equipment managing method, and equipment managing system
JP5157775B2 (en) Network management apparatus, network management method, network management program, and recording medium
CN107872336B (en) Mounting point identification method and system and identification management equipment
CN105144630A (en) Network element equipment presentation device, method and network element
WO2016090768A1 (en) Port attribute inheritance method and device
CN105760431A (en) Method and device for transferring file blocks
CN108170577B (en) Server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant