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
identifying
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

Disclosed are a network element equipment presentation device, method and network element, the network element equipment presentation device comprising: a first judging module, a first generating module and a first presenting module; the first judging module is used for judging, upon detection of the installation of network element equipment, whether a first management object (MO) for identifying the network element equipment is preconfigured in the network element; the first generating module is used for generating a second MO when the first MO is not preconfigured in the network element, and recording the detected information of the network element equipment into the second MO; and the first presenting module is used for using the second MO as the second MO for identifying the network element equipment to present the information of the network element equipment. The present invention can uniformly use an MO to present the information of network element equipment, and the network element can identify and actively delete the MO of a non-configuration object.

Description

Presenting device and method of network element equipment and network element
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of network management technologies, and in particular, to a device and a method for presenting a network element device, and a network element.
[ background of the invention ]
An Element Management System (EMS) is a system for managing one or more Network Elements (NE) of a specific type. Generally, the EMS manages the function and capacity of each network element through a southbound interface. When a network element detects that a device such as a board (devices that can be installed on the network element are collectively referred to as network element devices in this application) is installed, the detected information of the network element device is sent to an EMS, that is, the information of the network element device is presented.
Specifically, the existing method for presenting network element devices mainly includes: the information of the network element device is presented by pre-configuring a Management Object (MO) for the network element device. Specifically, a user configures a Management Object (MO) for a network element device in advance through an EMS, and when the network element detects that the network element device is installed, the network element directly updates the detected information of the network element device to the pre-configured MO, and sends the updated MO to the EMS to implement presentation of the information of the network element device. And for the network element equipment which is not configured with the MO, adopting a HW self-defined model independent of the MO to present the information of the object. If the network element records the detected network element equipment information on an XML file:
<XML>
<Subrack SubrackNo=0>
</Subrack>
<Subrack SubrackNo=1>
</Subrack>
<Board SubrackNo=1 BoardNo=3>
</Board>
</XML>
the XML file is sent to the EMS to present 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 the position of the network element device, the network element automatically generates an MO for the network element device by configuring the switch to be on, so as to present the information of the network element device to the EMS.
However, in the management method (1) for the network element device not configured with the MO, another customized model rule independent from the MO model needs to be adopted, so that the EMS needs to be able to identify the two models. In the management manner (2) for the network element device not configured with the MO, if the network element cannot directly determine the connection relationship or the position of the network element device, the MO cannot be automatically generated, that is, the information of the network element device cannot be presented. And because the default of the MO in the existing network element is the configuration object, once the generated network element is not authorized to be automatically deleted, if the network element equipment is installed by mistake, the abnormal MO may be generated, but the deletion cannot be performed.
[ summary of the invention ]
The present application mainly solves the technical problem of providing a presentation apparatus, a method and a network element for network element devices, which can present information of network element devices uniformly using MOs, and the network element can identify and actively delete MOs of non-configuration objects.
In order to solve the foregoing technical problem, a first aspect of the present application provides a presentation apparatus for a network element device, including a first determining module, a first generating module and a first presentation module, where the first determining module is configured to determine, when it is detected that a network element device is installed, whether a first management object MO for identifying the network element device is pre-configured in a network element, and send a first determination result to the first generating module, where a configuration object attribute of the first MO is a configuration flag, and the configuration flag 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 configured to generate a second MO when the first MO is not preconfigured in the network element, record the detected information of the network element device in the second MO, and send the second MO to the first presenting module, where a configuration object attribute of the second MO is set to be 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; the first presenting module is configured to use the second MO as a second MO for identifying the network element device, so as to present information of the network element device.
With reference to the first aspect, a first possible implementation manner of the first aspect of the present application is: the first presenting module includes a first determining unit, a first presenting unit, and a second presenting unit, where the first determining unit is configured to determine whether the second MO is a non-deterministic identity object, and send a second determination result to the first presenting unit and the second presenting unit, where if an object identifier of the second MO cannot be directly represented by a connection relationship or a position of the network element device, the object identifier is a non-deterministic identity object, and the object identifier is an identification mark of the MO and is used to represent the network element device identified by the MO; the first presenting unit is configured to, when the second MO is not a non-specific identification object, directly use the second MO as the second MO for identifying the network element device, so as to implement presenting information of the network element device; the second presenting unit is configured to set a non-specific identifier for the second MO when the second MO is a non-specific identifier, and use the set second MO as the second MO for identifying the network element device, so as to present information of the network element device, where the non-specific identifier is used to prompt the second MO to be a non-specific identifier.
With reference to the first aspect or the first possible implementation manner of the first aspect, a second possible implementation manner of the first aspect of the present application is: the device further includes a second generating module, where the second generating module is configured to, when the first determining module determines that the first MO has been pre-configured in the network element, detect a compatible state between the first MO and the network element device, record the detected compatible state in a compatible state attribute of the first MO, set an installation state attribute of the first MO as an installed flag, 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 implement presentation of the information of the network element device, where the installed flag indicates the network element device that has currently installed the identifier of the first MO.
With reference to the first aspect or any one of the first to the second possible implementation manners of the first aspect, a third possible implementation manner of the first aspect of the present application is: the device further comprises a second judging module, a reserving module and a first deleting module, wherein the second judging module is used for judging whether the MO used for identifying the network element equipment is a first MO or a second MO according to the attribute of a configuration object used for identifying the MO of the network element equipment when the network element equipment is detected to be pulled out, and sending a third judging result to the reserving module and the first deleting module; the reserving 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; the first deleting module is configured to delete the MO for identifying the network element device when the MO for identifying the network element device is the second MO.
With reference to the first aspect or any one of the first to third possible implementations of the first aspect, a fourth possible implementation of the first aspect of the present application is: the device further comprises a third judging module and a third generating module, wherein the third judging module is used for judging whether the network element is currently provided with the network element equipment or not when receiving a configuration instruction for configuring the first MO for the network element equipment, and sending a fourth judgment result to the third generating module, wherein the configuration instruction comprises information of the network element equipment; 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 an installation status attribute of the first MO as an uninstalled flag, record network element device information in the configuration instruction into the first MO, and store the first MO as the first MO used for identifying the network element device, where the uninstalled flag indicates that the network element device identified by the first MO is not currently installed.
With reference to the fourth possible implementation manner of the first aspect, a fifth possible implementation manner of the first aspect of the present application is: the device further includes a fourth determining module, an updating module, and a fourth generating module, where the fourth determining module is configured to determine whether a second MO for identifying the network element device is a non-deterministic identification object when the network element is currently installed with the network element device and the second MO is generated in the network element, and send a fifth determination result to the updating module and the fourth generating module; the updating module is configured to set a configuration object attribute of the second MO as the configuration flag to serve as a first MO for identifying the network element device when the second MO is not a non-deterministic identification object, set an installation status attribute of the first MO as an installed flag, and update network element device information in the configuration instruction to the first MO, where the installed flag indicates a network element device to which the first MO identifier is currently installed; the fourth generating module is configured to delete the second MO and generate a first MO when the second MO is a non-specific identity object, set an installation status attribute of the first MO as the installed flag, and record network element device information in the configuration instruction to the first MO, so that the first MO is used as the first MO for identifying the network element device.
With reference to the fifth possible implementation manner of the first aspect, a sixth possible implementation manner of the first aspect of the present application is: the device further comprises a fifth judging module, a fifth generating module and a second deleting module, wherein the fifth judging module is used for judging whether the network element equipment identified by the first MO is installed currently or not according to the installation state attribute of the first MO needing to be deleted when receiving an instruction of deleting the first MO, and sending a sixth judging result to the fifth generating module and the second deleting module; the fifth generating module is configured to delete the first MO when the network element device is installed, generate a second MO, and record the detected information of the network element device in the second MO, so as to implement presenting the information of the network element device; the second deleting module is configured to directly delete the first MO in the network element when the first MO is not installed.
With reference to the first aspect or any one of the first to sixth possible implementation manners of the first aspect, a seventh possible implementation manner of the first aspect of the present application is: the first generating module comprises a second judging unit, a first generating unit and a second generating unit, wherein the second judging unit is used for judging whether the network element equipment meets a preset automatic configuration condition or not when the first MO is not pre-configured in the network element, and sending a seventh judging result to the first generating unit and the second generating unit; 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 in the first MO, and use the first MO as a first MO for identifying the network element device; 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 in the second MO.
In order to solve the above technical problem, a 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 implementations of the first aspect.
In order to solve the above technical problem, a third aspect of the present application provides a method for presenting a network element device, including the following steps: if the network element equipment is detected to be installed, judging whether a first management object MO used for identifying the network element equipment is pre-configured in a network element or not, wherein the configuration object attribute of the first MO is a configuration mark, and the configuration mark is used for indicating that the first MO is a configuration object so as to prompt that the network element cannot actively delete the first MO; if the first MO is not preconfigured in the network element, generating a second MO, and recording the detected information of the network element device in the second MO, where a configuration object attribute of the second MO is set to be 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 that the network element can actively delete the second MO; and using the second MO as a second MO for identifying the network element equipment so as to realize the presentation of the information of the network element equipment.
With reference to the third aspect, a first possible implementation manner of the third aspect of the present application is: the step of using the second MO as the second MO for identifying the network element device to realize presenting the information of the network element device specifically includes: judging whether the second MO is a non-deterministic identification object, wherein if the object identifier of the second MO cannot be directly represented by the connection relationship or the position of the network element device, the second MO is a non-deterministic identification object, and the object identifier is an identification mark of the MO and is used for representing the network element device identified by the MO; if not, directly taking the second MO as the second MO used for identifying the network element equipment so as to realize the presentation of the information of the network element equipment; if so, setting a non-determined identification mark for the second MO, and using the set second MO as the second MO for identifying the network element device to realize presenting information of the network element device, wherein the non-determined identification mark is used for prompting that the second MO is a non-determined identification object.
With reference to the third aspect or the first possible implementation manner of the third aspect, a second possible implementation manner of the third aspect of the present application is: after the step of determining whether a 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 further includes: if the first MO is configured in the network element in advance, detecting a compatible state between the first MO and the network element device, recording the detected compatible state in a compatible state attribute of the first MO, setting an installation state attribute of the first MO as an installed mark, updating the detected information of the network element device into the first MO, and taking the first MO as the first MO for identifying the network element device to realize the presentation of the information of the network element device, wherein the installed mark represents the network element device which has currently installed the identifier of the first MO.
With reference to the third aspect or any one of the first to second possible implementation manners of the third aspect, a third possible implementation manner of the third aspect of the present application is: the method further comprises the following steps: if the network element equipment is detected to be pulled out, judging whether the MO used for identifying the network element equipment is a first MO or a second MO according to the attribute of the configuration object used for identifying the MO of the network element equipment; if the MO used for identifying the network element equipment is the first MO, reserving the MO used for identifying the network element equipment; and if the MO used for identifying the network element equipment is the second MO, deleting the MO used for identifying the network element equipment.
With reference to the third aspect or any one of the first to third possible implementation manners of the third aspect, a fourth possible implementation manner of the third aspect of the present application is: the method further comprises the following steps: if a configuration instruction for configuring a first MO for network element equipment is received, judging whether the network element equipment is installed at present or not, wherein the configuration instruction comprises information of the network element equipment; if the network element device is not currently installed by the network element, generating a first MO, setting an installation state attribute of the first MO as an uninstalled flag, recording network element device information in the configuration instruction into the first MO, and then storing the first MO as the first MO for identifying the network element device, wherein the uninstalled flag indicates that the network element device identified by the first MO is not currently installed.
With reference to the third aspect or any one of the first to fourth possible implementation manners of the third aspect, a fifth possible implementation manner of the third aspect of the present application is: after the step of judging whether the network element currently installs the network element device if a configuration instruction for configuring a first MO for the network element device is received, the method further includes: if the network element is currently provided with the network element equipment and a second MO used for identifying the network element equipment is generated in the network element, judging whether the second MO is a non-determined identification object; if not, setting the configuration object attribute of the second MO as the configuration flag to serve as a first MO for identifying the network element device, setting the installation state attribute of the first MO as an installed flag, and updating the network element device information in the configuration instruction to the first MO, where the installed flag indicates a network element device to which the first MO identifier is currently installed; if so, deleting the second MO, generating a first MO, setting the installation status attribute of the first MO as the installed flag, and recording the network element device information in the configuration instruction to the first MO, so as to use the first MO as the first MO for identifying the network element device.
With reference to the third aspect or any one of the first to fifth possible implementation manners of the third aspect, a sixth possible implementation manner of the third aspect of the present application is: the method comprises the following steps: if an instruction for deleting the first MO is received, judging whether network element equipment of the first MO identifier is installed currently or not according to the installation state attribute of the first MO needing to be deleted; if the network element equipment is installed, deleting the first MO, generating a second MO, and recording the detected information of the network element equipment into the second MO so as to realize the presentation of the information of the network element equipment; and if not, directly deleting the first MO in the network element.
With reference to the third aspect or any one of the first to sixth possible implementation manners of the third aspect, a seventh possible implementation manner of the third aspect of the present application is: the step of generating a second MO and recording the detected information of the network element device in the second MO if the first MO is not preconfigured in the network element further includes: if the first MO is not pre-configured in the network element, judging whether the network element equipment meets a preset automatic configuration condition; if yes, generating a first MO, recording the detected network element equipment information into the first MO, and using the first MO as a first MO for identifying the network element equipment; and if not, generating a second MO, and recording the detected information of the network element equipment into the second MO.
Different from the prior art, the method and the device for displaying the information of the network element equipment uniformly adopt the MO to display the information of the network element equipment, unify the displaying mode of the information of the network element equipment, enable the EMS to only require to analyze an MO model, namely identify all the information of the network element equipment, and realize the operation of the network element equipment.
[ description of the drawings ]
Fig. 1 is a schematic structural diagram of an embodiment of a presentation apparatus of a network element device according to the present application;
fig. 2 is a schematic structural diagram of a network element system in which a presentation means of the network element device shown in fig. 1 is located;
fig. 3 is a schematic structural diagram of another embodiment of a presentation apparatus of a network element device according to the present application;
fig. 4 is a schematic structural diagram of a presentation apparatus of a network element device according to still another embodiment of the present application;
fig. 5 is a flowchart of an embodiment of a presenting method of a network element device according to the present application;
fig. 6 is a flowchart of another embodiment of a presence method of a network element device according to the present application;
fig. 7 is a flowchart of a further embodiment of a presenting method of a network element device according to the present application.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
For convenience of understanding, the same description is first given to the MOs in the present application, a uniform MO model is provided in the presentation device of the network element device in the present application, and the presentation device may generate an identifier according to the MO model and the network element device information, so as to present the information of the network element device through the MO.
Specifically, the object identifier is used for recording the position/connection relationship of the network element device or the serial number of the network element device, and the like, so that the identifying information of the network element device can be determined, so as to represent 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, a local identification name (LDN) can be used to represent the object id of the MO, for example, the object id of the MO is specifically LDN: ME =0, Equipment =0, Stubrack =2, then it is determined that the network element device identified by the MO is a single board with a frame number 2 and a slot number 4; the object identifier of the MO is specifically LDN: and ME =0, Equipment =0, and RU = A01, and then the network element device identified by the MO is determined to be a replaceable unit (English: replaceUint, abbreviated as RU) No. A01.
The MO model includes a plurality of attributes for recording network element device information, where each attribute is used to represent different specific information of a network element device, such as status information, configuration information, and the like.
Besides the above-mentioned attribute of recording network element device information, the MO model of the present application is further provided with a configuration object attribute, where the configuration object attribute is used to indicate whether the MO is a configuration object. In the present application, an MO in a network element is divided into a first MO and a second MO according to whether the MO is a configuration object, a configuration object attribute of the first MO is set to be a configuration flag to indicate that the first MO is the configuration object, and a configuration object attribute device of the second MO is a non-configuration flag to indicate that the second MO is not the configuration object. For example, the configuration object attribute is ConfigureStatus, the configuration flag is Configured, and the non-configuration flag is UnConfigured. For the first MO as the object of configuration, the network element cannot actively generate, modify or delete without authorization. And for the second MO which is a non-configuration object, the network element can autonomously generate, modify or delete without authorization. For example, a network element is provided with a configuration switch, when the configuration switch is on, that is, in an authorized state, the network element may automatically generate, modify or delete a configuration object, and when the configuration switch is off, that is, in an unauthorized state, the network element may not automatically generate, modify or delete the configuration object, where the state of the configuration switch may be set by an EMS or a Local Maintenance Terminal (LMT). It is stated that the generation of the first MO and the modification of the first MO by the network element in the present invention are both performed by the network element in an authorized state by default.
Optionally, the MO model in this application may further be provided with an installation status attribute, so as to indicate whether network element equipment of the MO identifier is installed currently, if the installation status attribute is set to an installed flag, it indicates that the network element equipment of the MO identifier is installed currently by the network element, and if the installation status attribute is set to an uninstalled flag, it indicates that the network element is not installed with equipment represented by the MO currently. For example, the installation state attribute of the MO is denoted as InstallStatus attribute, the Installed flag is denoted as Installed, and the Uninstalled flag is denoted as Uninstalled. In this application, the second MO is generated after detecting that the network element device is installed, so the installation status attribute of the second MO in this application is defaulted to the installed flag.
Optionally, the MO model in this application may further be provided with a compatible state attribute to indicate a compatible state between the first MO and the network element device identified by the first MO. For example, the compatible status attribute of the first MO is specifically a MatchStatus attribute, when the MatchStatus attribute is set to Matched, it indicates 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 unamted, it indicates that the configuration information in the first 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, and when the MatchStatus attribute is set to Incompatible, it indicates that the configuration information of the first MO is inconsistent with the information of the network element device, 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 compatible state attribute is only for the first MO and corresponds to the second MO, and then the compatible state attribute is a default value to indicate that the attribute is invalid.
It should be noted that the installation state attribute and the compatible state attribute are optional attributes of the MO of the present application, and in some embodiments where the installation state or the compatible state does not need to be known, the MO may not set the attributes. The MO model in the present application is not necessarily limited to be stored in a presentation apparatus of a network element device, and may be stored in another apparatus in a network element, and the presentation apparatus can read the MO model to the apparatus.
Referring to fig. 1 and 2, fig. 1 is a schematic structural diagram of an embodiment of a presence apparatus of a network element device in the present application, and fig. 2 is a schematic structural diagram of a network element system in which the presence apparatus of the network element device shown in fig. 1 is located. In this embodiment, the network element system includes at least one network element 100 and an EMS100, and the EMS200 manages the network element 100 through a southbound interface. Wherein, the network element 100 is provided with a presentation device 110 of the network element equipment. The network element 100 may be configured with one or more devices (in this application, the devices that can be installed on the network element are unified into a network element device, which is not shown in the drawings), such as a field replaceable unit (english: field replaceable uint, abbreviated as FRU), specifically, a single board, and the like. The presentation device 110 of the network element device may detect whether the network element is installed with the network element device, and when it is detected that the network element device is installed with the network element device 100, after generating an MO according to the MO model, set an attribute corresponding to the MO as a mark indicating the detected related information of the network element device, and send the mark to the EMS200, and the EMS200 analyzes the MO attribute according to a protocol agreed with the network element 100 to obtain the information of the network element device, thereby implementing presentation of the information of the network element device, and operating the network element device.
As described above, MOs of the present application are classified into the first and second MOs according to whether they are configuration objects. The second MO, i.e. the non-configuration object, is generated temporarily by the presentation apparatus 110 after detecting the network element device. The first MO, i.e. the configuration object, is generally configured by the user through the EMS200, or the presentation device 110 automatically generates the configuration according to the detected network element device information when obtaining the authorized configuration of the EMS200, for example, the user sends a configuration instruction to the network element through the EMS200, the configuration instruction includes a single board 1 installed on the frame No. 1 of the network element 100, and may further include specific information in the single board 1, such as a device type, hardware performance information, and the like, the presentation device 110 generates an MO according to the configuration instruction, sets the configuration object attribute of the MO as a configuration flag to prompt the network element itself and the EMS that the MO is the first MO, the presentation device 110 correspondingly records the position information (on the frame No. 1) of the single board 1 in the instruction on the object identifier of the first MO according to a preset rule, and records other information of the single board 1 in the instruction on the corresponding attribute of the first MO, and storing the first MO locally, so that the information of the network element equipment is presented through the stored first MO when the corresponding network element equipment is installed.
It should be noted that the first MO in the present application is not necessarily limited to be stored in the presentation apparatus of the network element device, but may also be stored in another apparatus in the network element, and the presentation apparatus can read the first MO to the apparatus.
Specifically, the presentation apparatus 110 of the network element device in this embodiment includes a first determining module 111, a first generating module 112, and a first presenting module 113.
The first determining module 111 is configured to, when detecting that a network element device is installed, determine whether a first MO for identifying the network element device is pre-configured in the network element 100, where a configuration object attribute of the first MO is a configuration flag, and the configuration flag indicates that the first MO is a configuration object, so as to prompt that the network element cannot actively delete the second MO.
The first determining module 111 detects, at regular time or when hardware is triggered, whether the network element 100 installs the network element device, when it is detected that the network element 100 installs the network element device, according to detecting that the location information or the connection relation indicated by the network element device is or is not stored locally, it is determined whether the first MO matching the object identifier with the location information or the connection relation is stored, when the matched first MO is stored, it is determined that the first MO used for identifying the network element device has been pre-configured on the network element 100, the matched first MO is the first MO used for identifying the network element device, and when the matched first MO is not stored, it is determined that the first MO used for identifying the network element device is not pre-configured on the network element 100.
The first generating module 112 is configured to generate a second MO when the first MO is not preconfigured in the network element 100, record the detected information of the network element device in the second MO, and send the second MO to the first presenting module 113, where a configuration object attribute of the second MO is set to be a non-configuration flag, and 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.
When the first determining module 111 determines that the first MO of the network element device is not preconfigured on the network element 100, the first generating module 112 automatically generates an MO according to the MO model, and sets the attribute of the configuration object of the MO as a non-configuration flag to serve as a second MO. The first generating module 112 records the detected information of the network element device in the second MO, for example, records the identification information of the network element device, such as connection relationship, location, or serial number, on the object identifier of the second MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, and configuration information of the network element device, in other corresponding attributes of the second MO.
The first presenting module 113 is configured to use the second MO as a second MO for identifying the network element device, so as to implement presenting the information of the network element device.
The first presenting module 113 actively sends the second MO recording the network element device information to the EMS200, or sends the second MO to the EMS200 when the EMS200 makes an inquiry, so that the EMS200 can obtain the information of the network element device according to the second MO, thereby implementing presentation of the network element device information. For example, the first rendering module sends the second MO to the EMS through the southbound interface, but in practical applications, the first rendering module may also send the MO through other interfaces, such as the northbound interface, and the like, which is not limited herein.
In the embodiment, the MO is uniformly adopted to present the information of the network element device for all the network element devices, and the manner of presenting the information of the network element device is uniform, so that the EMS only requires to analyze the MO model, that is, all the information of the network element device can be identified, so as to realize the operation on the network element device.
Referring to fig. 3, fig. 3 is a schematic structural diagram of another embodiment of a presentation apparatus of a network element device according to the present application. The presentation device is arranged in a network element of a network element system, and the network element system comprises an EMS and a network element. As an optimized implementation manner, the presentation apparatus is disposed in a network element and includes a first determining module 301, a first generating module 302, a first presenting module 303, a second generating module 304, a second determining module 305, a reserving module 306, a first deleting module 307, a third determining module 308, a third generating module 309, a fourth determining module 310, an updating module 311, a fourth generating module 312, a fifth determining module 313, a fifth generating module 314, and a second deleting module 315, where the first generating module 302 includes a second determining unit 3021, a first generating unit 3022, and a second generating unit 3023, and the first presenting module 303 includes a first determining unit 3031, a first presenting unit 3032, and a second presenting unit 3033. And, the MO model includes an installation state attribute and a compatible state attribute.
The first determining module 301 is configured to, when detecting that a network element device is installed, determine whether a first MO for identifying the network element device is pre-configured in a network element, and send the first determination result to the first generating module 302 and the second generating module 304.
The first determining module 301 detects, at regular time or when hardware is triggered, whether a network element is installed in a network element, and when it is detected that the network element is installed, according to detecting location information or a connection relationship, etc. indicated by the network element, whether a first MO matching an object identifier with the location information or the connection relationship is stored locally is searched, and a first determining result is obtained: and when the first MO is not stored, judging that the first MO of the network element equipment is not configured on the network element in advance, and when the first MO is stored, judging that the first MO of the network element equipment is configured on the network element in advance.
The second determining unit 3021 is configured to determine whether the network element device meets a preset automatic configuration condition when the first MO is not preconfigured in the network element, and send a seventh determination result to the first generating unit 3022 and the second generating unit 3023.
In this embodiment, the presentation device supports an automatic configuration function, and a user may set a condition for executing automatic configuration in advance through an EMS, and when detecting a network element device, determine whether the network element device meets a preset automatic configuration condition, to obtain a seventh determination result. The automatic configuration condition may include a plurality of conditions, where it is necessary to determine the MO for identifying the network element device as an identification object, that is, the presentation apparatus can directly detect the network element device to obtain its connection relationship or location information, and may further set other conditions, for example, 1) MOCName, a specific MOC; 2) RootLDN/, designating all objects under RootLDN; 3) RootLDN + MOCName, the specific MOC object under the specified RootLDN.
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 in the first MO, and use the first MO as a first MO for identifying the network element device.
When the network element device meets the automatic configuration condition, it indicates that the EMS authorizes the network element to perform the self-configuration object for the network element device, the first generating unit 3022 automatically generates the MO according to the MO model, and sets the configuration object attribute of the MO as a configuration flag as a first MO, sets the installation state attribute as an installed flag, setting a compatibility status attribute of the first MO as a match flag when the compatibility status attribute is set, for example, Matched, and records the detected network element device information into the first MO, for example, the identification information of the network element device, such as the connection relationship, the location or the serial number, is recorded on the object identifier of the first MO, and 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 are recorded in other corresponding attributes of the first MO. The first MO is used as a first MO for identifying the network element device, and the first generating unit 3022 stores the first MO.
The second generating unit 3023 is configured to generate a second MO when the network element device does not meet a preset automatic configuration condition, and record the detected information of the network element device in the second MO.
When the network element device does not satisfy the automatic configuration condition, it indicates that the EMS does not authorize the network element to configure the network element device by itself, and the second generating unit 3023 automatically generates an MO according to the MO model, and sets the configuration object attribute of the MO as a non-configuration flag to serve as a second MO. Wherein the non-configuration flag indicates that the second MO is not a configuration object, so as to prompt that the network element can actively delete the second MO.
The second generating unit 3023 records the detected information of the network element device in the second MO, for example, the network element device records the identification information of the detected network element device, such as a connection relationship, a location, or a serial number, on the object identifier of the second MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, and configuration information of the network element device, in other corresponding attributes of the second MO.
It should be noted that, the presentation apparatus of the present application is not limited to support an automatic configuration function, and in an embodiment that does not support an automatic configuration, the presentation apparatus does not include a first determining unit and a first generating unit, and the second generating unit directly receives the first determining result, generates a second MO when determining that the first MO of the network element device is not configured, and records the detected information of the network element device to the second MO.
The first determining unit 3031 is configured to determine whether the second MO is a non-specific identifier object, and send a second determination result to the first presenting unit 3032 and the second presenting unit 3033.
After the second generating unit 3023 records the detected information of the network element device to the corresponding attribute of the second MO, the first determining unit 3031 determines whether the second MO is a non-determined identity object, and obtains a second determination result. If the object identifier of the second MO cannot be directly represented by the connection relationship or the position of the network element device, the second MO is a non-specific identifier object, and if the object identifier of the second MO can be directly represented by the connection relationship or the position of the network element device or the second MO is the first MO, the second MO is a non-specific identifier object. For example, in the present embodiment, the object id of the MO is represented by an LDN, and if the object id of the second MO is specifically the LDN: ME =0, Equipment =0, stumbrack =2, and Board =4, the second MO identifies the single Board in the frame No. 2 and the slot No. 4, that is, the second MO can directly determine the LDN through the position of the single Board, so that the identification object is determined. If the generated second MO is specifically denoted as LDN: ME =0, Equipment =0, and RU = a01, the object id of the second MO can only be identified as the RU No. a01, and cannot identify the specific connection relationship/location of the RU (the specific location or connection relationship of the RU needs to be expressed by other attributes of the second MO, such as the RUChain where the RU is located, or the number of stages of the RU in the RUChain, etc.), that is, the second MO cannot directly determine the LDN through the location/connection relationship of the RU, and therefore the object is identified without determination.
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 the non-determined identification object, so as to implement presenting the information of the network element device.
When the second MO is not a non-specific identifier, the first presenting unit 3032 actively sends the second MO recording the network element device information to the EMS, or sends the second MO to the EMS when the EMS queries, so that the EMS can obtain the information of the network element device according to the second MO to present the network element device information.
The second presenting unit 3033 is configured to set a non-specific identifier for the second MO when the second MO is a non-specific identifier object, and use the set second MO as the second MO for identifying the network element device to implement presenting information of the network element device, where the non-specific identifier is used to prompt that the second MO is the non-specific identifier object.
When the second MO is a non-specific identification object, the second presenting unit 3033 sets a non-specific identification mark to the second MO that records the network element device information, for example, adds a prefix "AUTO _" to an object identifier of the second MO, specifically, the object identifier of the second MO is specifically LDN: ME =0, Equipment =0, RU = AUTO _ 01. And after the non-determined identification mark is set, actively sending a second MO to an EMS (element management system), or sending the second MO to the EMS when the EMS inquires, so that the EMS can obtain the information of the network element equipment according to the second MO to realize the presentation of the information of the network element equipment.
In other embodiments, an attribute indicating whether the second MO is a fixed marker object may be added to the second MO, and the attribute may be set as a non-fixed marker to indicate that the second MO is a non-fixed marker object.
The second generating module 304 is configured to, when the first determining module 301 determines that the first MO has been preconfigured in the network element, detect a compatible state between the first MO and the network element device, record the detected compatible state in a compatible state attribute of the first MO, set an installation state attribute of the first MO as an installed flag, 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 implement presentation of the information of the network element device.
The second generating module 304, when the first MO has been configured in advance in the network element, detects a compatible state between the first MO and the network element device, records the detected compatible state in the compatible state attribute, sets the installation state attribute as an installed flag, and updates the detected specific information of the network element device to the corresponding attribute of the first MO, for example, records hardware and manufacturing information, state information, performance information, configuration information, and the like of the network element device to the corresponding attribute of the first MO.
The second generating module 304 actively sends the first MO recording the information of the network element device to the EMS, or sends the first MO to the EMS when the EMS queries, so that the EMS can obtain the information of the network element device according to the first MO, thereby implementing the presentation of the information of the network element device.
It can be understood that the above-mentioned compatible status attribute is an optional attribute, in other embodiments, the compatible status attribute may not be set, and the second generating module does not perform compatibility detection on the first MO and the network element device, directly performs installation status attribute setting, and updates the network element device information.
The second determining module 305 is configured to, when it is detected that the network element device is pulled out, determine, according to a configuration object attribute of an MO used for identifying the network element device, whether the MO used for identifying the network element device is a first MO or a second MO, and send the third determination result to the reserving module 306 and the first deleting module 307.
The second determining module 305 detects whether the network element device currently installed on the network element is pulled out at regular time, finds an MO for identifying the network element device when detecting that the network element device is pulled out, determines whether the attribute of the configuration object of the MO is the first or non-configuration mark, and obtains a third determination result as follows: and when the configuration mark is the configuration mark, judging the MO to be a first MO, and when the non-configuration mark is the non-configuration mark, judging the MO to be a second MO.
The reserving 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.
When the MO for identifying the pulled network element device is the first MO, the retention module 306 determines that the MO is the configuration object, and before the network element does not obtain the delete instruction of the EMS, sets the installation status information of the MO as an uninstalled flag, and retains the MO.
The first deleting module 307 is configured to delete the MO for identifying the network element device when the MO for identifying the network element device is the second MO.
When the MO for identifying the pulled network element device is the second MO, the first deleting module 307 determines that the MO is a non-configuration object, and the network element may automatically delete the MO without being authorized.
The third determining module 308 is configured to, when receiving a configuration instruction for configuring a first MO for a network element device, determine whether the network element device is currently installed on the network element, and send a fourth determination result to the third generating module 309 and the fourth determining module 310.
The user may send a configuration instruction to the third determining module 308 through the EMS, so as to configure the first MO for the network element device that is not installed or installed, where the configuration instruction includes information of the network element device, for example, hardware and manufacturing information, performance information, configuration information, and the like of the network element device that is input by the user through the EMS. The third determining module 308 determines whether the network element device is currently installed when receiving the configuration instruction sent by the EMS, to obtain a fourth determination result.
The third generating module 309 is configured to generate a first MO when the network element device is not currently installed in the network element, set an installation status attribute of the first MO as an uninstalled flag, record the network element device information in the configuration instruction in the first MO, and store the first MO as the first MO used for identifying the network element device.
When the network element device is not currently installed on the network element, the third generating module 309 generates an MO according to the MO model, sets a configuration object attribute of the MO as a configuration flag to serve as a first MO, and sets an installation status attribute of the first MO as an uninstalled flag to indicate that the network element device identified by the first MO is not currently installed. The third generating module 309 records the network element device information in the received configuration instruction to the first MO, for example, records the detected identification information of the network element device, such as a connection relationship, a location, or a serial number, on the object identifier of the first MO, records other specific information of the network element device, such as hardware and manufacturing information, state information, performance information, and configuration information of the network element device, in other corresponding attributes of the second MO, and stores the first MO locally as the first MO for identifying the network element device.
The fourth determining module 310 is configured to determine whether a second MO used for identifying the network element device is a non-deterministic identification object when the network element is currently installed with the network element device and the second MO is generated in the network element, and send a fifth determination result to the updating module 311 and the fourth generating module 312.
When the network element has installed the network element device currently, the fourth determining module 310 determines whether the network element has generated a second MO for identifying the network element device, and when the network element has not generated the second MO, generates a first MO, sets an installation status attribute of the first MO as an installed flag, and stores the first MO as a first MO for identifying the network element device after updating the network element device information in the configuration instruction to the first MO. When the second MO is generated, the fourth determining module 310 continues to determine whether the second MO for identifying the network element device is a non-deterministic identification object, and obtains a fifth determination result.
The updating module 311 is configured to set, when the second MO is not a non-specific identity object, a configuration object attribute of the second MO as the configuration flag to serve as a first MO for identifying the network element device, set an installation status attribute of the first MO as an installed flag, and update network element device information in the configuration instruction to the first MO.
When the second MO for identifying the network element device is the determined identification object, the updating module 311 sets the attribute of the configuration object of the second MO as the configuration flag to serve as the first MO, sets the installation status attribute of the first MO as the installed flag, and updates the network element device information in the configuration instruction to the first MO, for example, records the hardware and manufacturing information, the performance information, the configuration information, and the like of the network element device in the corresponding attribute of the first MO.
The fourth generating module 312 is configured to delete the second MO and generate a first MO when the second MO is a non-specific identity object, set the installation status attribute of the first MO as 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.
When the second MO for identifying the network element device is a non-specific identification object, the fourth generating module 312 deletes the second MO, generates the first MO, sets the installation status attribute of the first MO as the installed flag, and records the network element device information in the configuration instruction into the first MO, for example, records the identification information of the network element device detected by the network element device, such as a connection relationship, a position, or a serial number, on the object identifier of the first MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, and configuration information of the network element device, into other corresponding attributes of the second MO.
The fifth determining module 313 is configured to, when receiving the instruction to delete the first MO, determine whether the network element device identified by the first MO is installed currently according to the installation status attribute of the first MO that needs to be deleted, and send a sixth determination result to the fifth generating module 314 and the second deleting module 315.
When receiving an instruction for deleting a first MO sent by an EMS, the fifth determining module 313 searches for the first MO to be deleted according to the instruction, determines whether the installation status attribute of the first MO is an installed flag or an uninstalled flag, and obtains a sixth determining result that: and when the mark is installed, judging the network element equipment which is currently installed with the first MO mark, and when the mark is not installed, judging the network element equipment which is not currently installed with the first MO mark.
The fifth generating module 314 is configured to delete the first MO when the network element device is installed, generate a second MO, and record the detected information of the network element device in the second MO, so as to implement presenting the information of the network element device.
When the network element device of the first MO identifier that needs to be deleted is currently installed, the fifth generating module 314 deletes the first MO, generates a second MO, detects and obtains information of the network element device, records the information of the network element device in the second MO, and sets the installation status attribute of the second MO as an installed flag to indicate that the network element device of the second MO identifier is currently installed.
The second deleting module 315 is configured to delete the first MO directly in the network element when the first MO is not installed.
When the network element device of the first MO identifier that needs to be deleted is not installed currently, the second deleting module 315 directly deletes the first MO stored locally.
It should be noted that, the present application may use, but is not limited to use, the configuration object attribute, the installation status attribute, and the compatible status attribute to respectively represent the type of the MO, the installation status of the network element device, and the compatible status between the first MO and the network element device, and in other embodiments, only one attribute may be used to represent the type of the MO, the installation status of the network element device, and the compatible status between the first MO and the network element device, or one attribute may be used to represent both of them. For example, when the attribute is label 1, it is denoted as a first MO, and the network element device is currently installed, and the first MO matches with the network element device, and when the attribute is label 2, it is denoted as a second MO, and the network element device is currently installed, and the compatible status is invalid … …, so the configuration object attribute, the installation status attribute, and the compatible status attribute described in this application may be divided into three independent attributes, or substantially refer to one attribute, which is not limited herein.
When detecting that the network element equipment is configured with the first MO, the embodiment can automatically generate the second MO to present the information of the network element equipment to the EMS, so that the EMS can identify the network element equipment in all situations only by analyzing the MO model. Moreover, the unified MO is adopted for presentation, so that the EMS can conveniently perform further expansion processing, such as: viewing all objects (a first object of installed network element equipment, a first MO and a second MO of uninstalled network element equipment) in a unified view; the EMS can design the automatic configuration rule conveniently, so that the presentation device can automatically configure the first MO according to the automatically detected network element equipment information and the automatic configuration rule.
In addition, whether the configuration object is the configuration object or not is identified through the attribute of the configuration object, so that the configuration object cannot be deleted by mistake under the condition of unauthorized, and the non-configuration object can be automatically deleted when being pulled out. Meanwhile, the embodiment adds the non-deterministic identification mark to enable the network element and the EMS to identify the non-deterministic identification object, thereby avoiding the conflict between the non-deterministic identification object and the object identification of the deterministic identification object.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a presentation apparatus of a network element device according to still another embodiment of the present application. The presentation device is arranged in a network element of a network element system, and the network element system comprises an EMS and a network element. The presentation apparatus is disposed 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 by a bus 440. Detecting a compatible state between the first MO and the network element equipment, recording the detected compatible state in a compatible state attribute of the first MO, setting an installation state attribute of the first MO as an installed mark, updating the detected information of the network element equipment into the first MO, and using the first MO as the first MO for identifying the network element equipment to realize the presentation of the information of the network element equipment
The storage medium 420 is used for storing computer instructions executed by the processor 410 and data stored when the processor 410 operates.
The transmitter 430 is configured to send the MO identifying the network element device in the processor 410 to the EMS, so as to implement presentation of the network element device.
Processor 410 executes computer instructions stored in storage medium 420, and is configured to, when detecting that a network element device is installed, determine whether a first management object MO for identifying the network element device is pre-configured in a network element, and when determining that the first MO is not pre-configured in the network element, generate a second MO, record the detected information of the network element device in the second MO, and send the second MO to sender 430 as the second MO for identifying the network element device, so as to implement presenting the information of the network element device.
The processor 410 detects whether a network element is installed by a network element at regular time, when it is detected that the network element is installed, searches whether a first MO matching an object identifier with the position information or the connection relation is stored locally according to the position information or the connection relation and the like indicated by the network element, when the first MO is not stored, judges that the first MO of the network element is not configured on the network element in advance, and when the first MO is stored, judges that the first MO of the network element is configured on the network element in advance.
Optionally, the presentation device supports an automatic configuration function, and a user may set a condition for executing automatic configuration in advance through the EMS, and when detecting the network element device, determine whether the network element device satisfies a preset automatic configuration bar. The automatic configuration condition may include a plurality of conditions, where it is necessary to determine the MO for identifying the network element device as an identification object, that is, the presentation apparatus can directly detect the network element device to obtain its connection relationship or location information, and may further set other conditions, for example, 1) MOCName, a specific MOC; 2) RootLDN/, designating all objects under RootLDN; 3) RootLDN + MOCName, the specific MOC object under the specified RootLDN.
When the network element device meets the automatic configuration condition, it means that the EMS authorizes the network element to perform self-configuration object for the network element device, the processor 410 automatically generates MO according to the MO model, and sets the configuration object attribute of the MO as a configuration flag as a first MO, sets the installation state attribute as an installed flag, setting a compatibility status attribute of the first MO as a match flag when the compatibility status attribute is set, for example, Matched, and records the detected network element device information into the first MO, for example, the identification information of the network element device, such as the connection relationship, the location or the serial number, is recorded on the object identifier of the first MO, and 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 are recorded in other corresponding attributes of the first MO. The processor 410 stores the first MO as a first MO for identifying the network element device.
When the network element device does not satisfy the automatic configuration condition, it indicates that the EMS does not authorize the network element to configure the network element device by itself, and the processor 410 automatically generates an MO according to the MO model, and sets the attribute of the configuration object of the MO as a non-configuration flag to serve as a second MO. The processor 410 records the detected information of the network element device in 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, on the object identifier of the second MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, and configuration information of the network element device, in other corresponding attributes of the second MO.
It should be noted that, the apparatus of the present application is not limited to support an automatic configuration function, and in an embodiment that the automatic configuration is not supported, when the processor determines that the first MO of the network element device is not configured, the processor generates a second MO, and records the detected information of the network element device to the second MO.
Further, after recording the detected information of the network element device to the corresponding attribute of the second MO, the processor 410 first determines whether the second MO is a non-deterministic identity object. If the object identifier of the second MO cannot be directly represented by the connection relationship or the position of the network element device, the second MO is a non-specific identifier object, and if the object identifier of the second MO can be directly represented by the connection relationship or the position of the network element device or the second MO is the first MO, the second MO is a non-specific identifier object.
When the second MO is not a non-deterministic identification object, the processor 410 sends the second MO recording network element device information to the sender 430. The transmitter 430 actively transmits the second MO to the EMS, or transmits the second MO to the EMS when the EMS queries, so that the EMS can obtain the information of the network element device according to the second MO, thereby implementing the presentation of the information of the network element device.
When the second MO is a non-specific identification object, the processor 410 sets a non-specific identification flag to the second MO recording the network element device information, for example, adds a prefix "AUTO _" to the LDN in the object identification of the second MO. After the non-deterministic identification flag is set, the second MO is sent to the sender 430. The transmitter 430 actively transmits the second MO to the EMS, or transmits the second MO to the EMS when the EMS queries, so that the EMS can obtain the information of the network element device according to the second MO, thereby implementing the presentation of the information of the network element device. In other embodiments, an attribute indicating whether the second MO is a fixed marker object may be added to the second MO, and the attribute may be set as a non-fixed marker to indicate that the second MO is a non-fixed marker object.
Further, the MO model of this embodiment is further provided with a compatible status attribute and an installation status attribute.
When the first MO has been configured in advance in the network element, the processor 410 detects a compatible state between the first MO and the network element device, records the detected compatible state in the compatible state attribute, sets the installation state attribute as an installed flag, and updates the detected specific information of the network element device to the corresponding attribute of the first MO, for example, records hardware and manufacturing information, state information, performance information, configuration information, and the like of the network element device to the corresponding attribute of the first MO. The processor 410 sends the first MO recording the network element device information to the sender 430. The transmitter 430 actively transmits the first MO to the EMS, or transmits the first MO to the EMS when the EMS queries, so that the EMS can obtain the information of the network element device according to the first MO, thereby implementing the presentation of the information of the network element device.
It can be understood that the above-mentioned compatible status attribute is an optional attribute, and in other embodiments, the compatible status attribute may not be set, and the processor does not perform compatibility detection on the first MO and the network element device, directly performs installation status attribute setting, and updates the network element device information.
Further, the processor 410 detects whether a network element device currently installed in the network element is pulled out at regular time, finds an MO for identifying the network element device when it is detected that the network element device is pulled out, determines whether a configuration object attribute of the MO is a first or non-configuration mark, determines that the MO is a first MO when the configuration object attribute is the configuration mark, and determines that the MO is a second MO when the configuration object attribute is the non-configuration mark.
When the MO for identifying the pulled network element device is the first MO, the processor 410 determines that the MO is a configuration object, and before the network element does not obtain the delete instruction of the EMS, the installation state information of the MO is set as an uninstalled flag, and the MO is reserved.
When the MO for identifying the pulled network element device is the second MO, the processor 410 determines that the MO is a non-configuration object, and the network element may automatically delete the MO without being authorized.
Further, the user may send a configuration instruction to the processor 410 through the EMS to configure the first MO for the network element device that is not installed or installed, where the configuration instruction includes information of the network element device, for example, hardware and manufacturing information, performance information, configuration information, and the like of the network element device that is input by the user through the EMS. When receiving the configuration instruction sent by the EMS, the processor 410 determines whether the network element device is currently installed, and obtains a fourth determination result.
When the network element device is not currently installed in the network element, the processor 410 generates a first MO according to the MO model, and sets an installation status attribute of the first MO as an uninstalled flag to indicate that the network element device identified by the first MO is not currently installed. The processor 410 records the network element device information in the received configuration instruction to the first MO, for example, records the detected identification information of the network element device, such as connection relationship, location, or serial number, on the object identifier of the first MO, records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, configuration information, and the like of the network element device, in other corresponding attributes of the second MO, and stores the first MO locally as the first MO for identifying the network element device.
When the network element has installed the network element device currently, processor 410 determines whether the network element has generated a second MO for identifying the network element device, and when the network element has not generated the second MO, generates a first MO, sets an installation status attribute of the first MO as an installed flag, and stores the first MO as a first MO for identifying the network element device after updating the network element device information in the configuration instruction to the first MO. When generated, the processor 410 continues to determine whether the second MO for identifying the network element device is a non-deterministic identification object.
When it is determined that the second MO for identifying the network element device is the identification object, the processor 410 sets the configuration object attribute of the second MO as the configuration flag to serve as the first MO, sets the installation status attribute of the first MO as an installed flag, and updates the network element device information in the configuration instruction to the first MO.
When it is determined that the second MO for identifying the network element device is a non-specific identification object, the processor 410 deletes the second MO, generates a first MO, sets the installation status attribute of the first MO as the installed flag, and records the network element device information in the configuration instruction to the first MO.
Further, when receiving an instruction to delete a first MO sent by the EMS, the processor 410 finds the first MO to be deleted according to the instruction, determines whether the installation status attribute of the first MO is an installed flag or an uninstalled flag, determines, when the installation status attribute is the installed flag, a network element device to which the first MO identifier is currently installed, and determines, when the installation status attribute is the uninstalled flag, a network element device to which the first MO identifier is not currently installed.
When the network element device of the first MO identifier that needs to be deleted is currently installed, the processor 410 deletes the first MO, generates a second MO, detects and obtains information of the network element device, records the information of the network element device in the second MO, and sets the installation status attribute of the second MO as an installed flag to indicate that the network element device of the second MO identifier is currently installed.
When the network element device of the first MO identifier that needs to be deleted is not installed currently, the processor 410 directly deletes the first MO stored locally.
It should be noted that, the present application may use, but is not limited to use, the configuration object attribute, the installation status attribute, and the compatible status attribute to respectively represent the type of the MO, the installation status of the network element device, and the compatible status between the first MO and the network element device, and in other embodiments, only one attribute may be used to represent the type of the MO, the installation status of the network element device, and the compatible status between the first MO and the network element device, or one attribute may be used to represent both of them. Therefore, the configuration object attribute, the installation state attribute, and the compatible state attribute described in the present application may be divided into three independent attributes, or substantially refer to one attribute, which is not limited herein.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for presenting network element devices according to an embodiment of the present application. The method comprises the following steps:
step S501: if the presence device of the network element equipment detects that the network element equipment is installed, judging whether a first MO used for identifying the network element equipment is pre-configured in the network element, wherein the configuration object attribute of the first MO is a configuration mark, and the configuration mark indicates that the first MO is a configuration object, so as to prompt that the network element cannot actively delete the second MO.
The method is applied to a network element system, wherein the network element system comprises an EMS and at least one network element, and the EMS manages the network element through a southbound interface. The network element may be configured with one or more devices (in this application, devices that can be installed on the network element are unified into network element devices), such as an FRU, specifically, a single board. The network element is provided with a presenting device of the network element equipment, and the presenting device can detect whether the network element is provided with the network element equipment or not and generate an MO (machine object) for identifying the network element equipment so as to present the MO to the EMS.
In this embodiment, the presentation device detects, at regular time or when hardware is triggered, whether a network element is installed in the network element, if it is detected that the network element is installed, whether a first MO matching the object identifier with the location information or the connection relation is stored in the local network element is searched according to the detected location information or the connection relation indicated by the network element, if so, it is determined that the first MO used for identifying the network element has been pre-configured on the network element 100, the matched first MO is the first MO used for identifying the network element, the presentation device updates specific information of the network element to a corresponding attribute of the first MO, presents the information of the network element to the EMS through the first MO, if not, it is determined that the first MO used for identifying the network element has not been pre-configured on the network element, and step S502 is executed.
Step S502: the presentation device generates a second MO, and records the detected information of the network element device in the second MO, wherein a configuration object attribute of the second MO is set to be a non-configuration flag, and the non-configuration flag indicates that the second MO is not a configuration object, so as to prompt that the network element can actively delete the second MO.
And if the first MO of the network element equipment is not configured on the network element in advance, 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 mark to serve as a second MO. The presence apparatus records the detected information of the network element device in the second MO, for example, records the identification information of the network element device, such as connection relationship, location, or serial number, on the object identifier of the second MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, and configuration information of the network element device, in other corresponding attributes of the second MO.
Step S503: and the presenting device takes the second MO as the second MO used for identifying the network element equipment so as to present the information of the network element equipment.
The presentation 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 information of the network element equipment according to the second MO, and the presentation of the information of the network element equipment is realized. For example, the presentation device sends the second MO to the EMS through the southbound interface, but in practical applications, the presentation device may also send the MO through other interfaces, such as the northbound interface, and the like, which is not limited herein.
In the embodiment, the MO is uniformly adopted to present the information of the network element device for all the network element devices, and the manner of presenting the information of the network element device is uniform, so that the EMS only requires to analyze the MO model, that is, all the information of the network element device can be identified, so as to realize the operation on the network element device.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for presenting network element devices according to another embodiment of the present application. In this embodiment, the method comprises the steps of:
step S601: if the presence device detects that the network element equipment is installed, judging whether a first MO used for identifying the network element equipment is pre-configured in the network element.
The network element detects whether the network element equipment is installed or not at regular time or when hardware is triggered, if the installation of the network element equipment is detected, whether a first MO with an object identifier matched with the position information or the connection relation is stored in the local network element is searched according to the detected position information or the connection relation and the like shown by the network element equipment, if the first MO is not stored in the local network element, the first MO of the network element equipment is not configured in advance on the network element, and step S602 is executed, if the first MO is stored in the local network element, the first MO of the network element equipment is configured in advance on the network element, and step S608 is executed.
Step S602: and the presenting device judges whether the network element equipment meets a preset automatic configuration condition.
In this embodiment, the presentation apparatus supports an auto-configuration function, and the user may set a condition for performing auto-configuration in advance through the EMS, and if the network element device meets a preset auto-configuration condition, step S603 is performed, and if not, step S604 is performed. The automatic configuration condition may include a plurality of conditions, where it is necessary to determine the MO for identifying the network element device as an identification object, that is, the network element may directly detect the network element device to obtain its connection relationship or location information, and may further set other conditions, for example, 1) MOCName, a specific MOC; 2) RootLDN/, designating all objects under RootLDN; 3) RootLDN + MOCName, the specific MOC object under the specified RootLDN.
Step S603: the presentation device generates a first MO, records the detected information of the network element device in the first MO, and uses the first MO as a first MO for identifying the network element device.
If the network element equipment meets the automatic configuration condition, the network element equipment indicates that the EMS authorizes the network element to automatically configure the object for the network element equipment, the presentation device automatically generates the MO according to the MO model, and sets the configuration object attribute of the MO as a configuration flag as a first MO, sets the installation state attribute as an installed flag, setting a compatibility status attribute of the first MO as a match flag when the compatibility status attribute is set, for example, Matched, and records the detected network element device information into the first MO, for example, the identification information of the network element device, such as the connection relationship, the location or the serial number, is recorded on the object identifier of the first MO, and 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 are recorded in other corresponding attributes of the first MO. And the first MO is used as the first MO for identifying the network element equipment, and the presentation device stores the first MO.
Step S604: and the presentation device generates a second MO and records the detected information of the network element equipment into the second MO.
If the network element equipment does not meet the automatic configuration condition, the EMS does not authorize the network element to configure the network element equipment by itself, the presentation device automatically generates an MO according to the MO model, and the attribute of the configuration object of the MO is set as a non-configuration mark to be used as a second MO. Wherein the non-configuration flag indicates that the second MO is not a configuration object, so as to prompt that the network element can actively delete the second MO.
The presentation device records the detected information of the network element device in the second MO, for example, the network element device records the identification information of the detected network element device, such as a connection relationship, a position, or a sequence number, on the object identifier of the second MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, configuration information, and the like of the network element device, in other corresponding attributes of the second MO.
It should be noted that, the presentation apparatus of the present application is not limited to support the auto-configuration function, and in an embodiment that does not support the auto-configuration, after executing step S601, if it is determined that the first MO of the network element device is not configured, the presentation apparatus directly executes step S604.
Step S605: and the presentation device judges whether the second MO is a non-determined identification object.
After recording the detected information of the network element device to the corresponding attribute of the second MO, the presentation apparatus determines whether the second MO is a non-deterministic identity object, if not, performs step S606, and if so, performs step S607. If the object identifier of the second MO cannot be directly represented by the connection relationship or the position of the network element device, the second MO is a non-specific identifier object, and if the object identifier of the second MO can be directly represented by the connection relationship or the position of the network element device or the second MO is the first MO, the second MO is a non-specific identifier object. For example, in the present embodiment, the object id of the MO is represented by an LDN, and if the object id of the second MO is specifically the LDN: ME =0, Equipment =0, stumbrack =2, and Board =4, the second MO identifies the single Board in the frame No. 2 and the slot No. 4, that is, the second MO can directly determine the LDN through the position of the single Board, so that the identification object is determined. If the generated second MO is specifically denoted as LDN: ME =0, Equipment =0, and RU = a01, the object id of the second MO can only be identified as the RU No. a01, and cannot identify the specific connection relationship/location of the RU (the specific location or connection relationship of the RU needs to be expressed by other attributes of the second MO, such as the RUChain where the RU is located, or the number of stages of the RU in the RUChain, etc.), that is, the second MO cannot directly determine the LDN through the location/connection relationship of the RU, and therefore the object is identified without determination.
Step S606: and the presentation device directly takes the second MO as the second MO used for identifying the network element equipment so as to realize the presentation of the information of the network element equipment.
If the second MO is the determined identification object, the presentation 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 information of the network element equipment according to the second MO to realize the presentation of the information of the network element equipment.
Step S607: and the presentation device sets a non-determined identification mark for the second MO, and takes the set second MO as the second MO used for identifying the network element equipment so as to realize presentation of the information of the network element equipment, wherein the non-determined identification mark is used for prompting that the second MO is a non-determined identification object.
If the second MO is a non-specific identification object, the presentation apparatus sets a non-specific identification flag to the second MO that records the network element device information, for example, adds a prefix "AUTO _" to an LDN in the object identification of the second MO, specifically, the object identification of the second MO is ME =0, Equipment =0, and RU = AUTO _ 01. And after the non-determined identification mark is set, actively sending a second MO to an EMS (element management system), or sending the second MO to the EMS when the EMS inquires, so that the EMS can obtain the information of the network element equipment according to the second MO to realize the presentation of the information of the network element equipment.
In other embodiments, an attribute indicating whether the second MO is a fixed marker object may be added to the second MO, and the attribute may be set as a non-fixed marker to indicate that the second MO is a non-fixed marker object.
Step S608: the presentation device detects a compatible state between the first MO and the network element device, records the detected compatible state in a compatible state attribute of the first MO, sets an installation state attribute of the first MO as an installed flag, updates the detected information of the network element device to the first MO, and presents the information of the network element device by using the first MO as a first MO for identifying the network element device.
The MO model of this embodiment is further provided with a compatible status attribute and an installation status attribute.
If the first MO has been configured in advance in the network element, the presentation device detects a compatible state between the first MO and the network element device, records the detected compatible state in the compatible state attribute, sets the installation state attribute as an installed flag, and updates the detected specific information of the network element device into the corresponding attribute of the first MO, for example, records hardware and manufacturing information, state information, performance information, configuration information, and the like of the network element device into the corresponding attribute of the first MO.
The presentation device actively sends the first MO recording the information of the network element equipment to an EMS (energy management system), or sends the first MO to the EMS when the EMS inquires, so that the EMS can obtain the information of the network element equipment according to the first MO to realize the presentation of the information of the network element equipment.
It can be understood that the above-mentioned compatible status attribute is an optional attribute, and in other embodiments, the compatible status attribute may not be set, and the presentation device does not perform compatibility detection on the first MO and the network element device, directly performs installation status attribute setting, and updates the network element device information.
Step S609: if the presence device detects that the network element equipment is pulled out, judging whether the MO used for identifying the network element equipment is a first MO or a second MO according to the configuration object attribute of the MO used for identifying the network element equipment.
The presentation device regularly detects whether a network element device currently installed by a network element is pulled out, if the network element device is detected to be pulled out, the MO for identifying the network element device is found, whether a configuration object attribute of the MO is a first or non-configuration mark is judged, if the configuration object attribute is the configuration mark, the MO is judged to be a first MO, and step S610 is executed, and if the configuration object attribute is the non-configuration mark, the MO is judged to be a second MO, and step S611 is executed.
Step S610: and the presentation device reserves the MO used for identifying the network element equipment.
If the MO used for identifying the pulled network element device is the first MO, determining that the MO is a configuration object, and before a deletion instruction of the EMS is not obtained, the presentation device sets the installation attribute of the MO as an uninstalled mark and retains the MO.
Step S611: and the presentation device deletes the MO used for identifying the network element equipment.
And if the MO used for identifying the pulled network element equipment is the second MO, determining that the MO is a non-configuration object, and automatically deleting the MO by the presentation device without authorization.
With continuing reference to fig. 7, fig. 7 is a partial flowchart of a further embodiment of a method for presenting a network element device according to the present application. Optimally, the embodiment includes the following steps in addition to the steps shown in fig. 6:
step S712: and if receiving a configuration instruction for configuring a first MO for network element equipment, the presentation device judges whether the network element equipment is installed at present.
A user may send a configuration instruction to a presentation apparatus through the EMS to configure the first MO for an uninstalled or installed network element device, where the configuration instruction includes information of the network element device, for example, hardware and manufacturing information, performance information, configuration information, and the like of the network element device. If the presentation device receives the configuration instruction sent by the EMS, it determines whether the network element device is currently installed, if not, step S713 is executed, and if an installation is performed and a second MO for identifying the network element device has been generated in the network element, step S714 is executed.
Step S713: and the presentation device generates a first MO, sets the installation state attribute of the first MO as an uninstalled mark, updates the network element equipment information in the configuration instruction into the first MO, and then stores the first MO as the first MO for identifying the network element equipment.
If the network element equipment is not installed currently, the presentation device generates an MO according to the MO model, sets the attribute of the configuration object of the MO as a configuration mark to serve as a first MO, and sets the attribute of the installation state of the first MO as an uninstalled mark to represent the network element equipment which is not installed with the first MO identifier currently. The network element records the network element device information in the received configuration instruction to the first MO, for example, the network element device records the detected identification information of the network element device, such as a connection relationship, a position, or a serial number, on an object identifier of the first MO, records other specific information of the network element device, such as hardware and manufacturing information, state information, performance information, configuration information, and the like of the network element device, in other corresponding attributes of the second MO, and stores the first MO locally as the first MO for identifying the network element device.
Step S714: and the presentation device judges whether the second MO is a non-determined identification object.
If the network element has installed the network element device currently, the presentation device determines whether the network element has generated a second MO for identifying the network element device, if not, generates a first MO, sets an installation state attribute of the first MO as an installed flag, and stores the first MO as a first MO for identifying the network element device after updating the network element device information in the configuration instruction to the first MO. If the second MO is generated, the presenting apparatus continues to determine whether the second MO for identifying the network element device is a non-deterministic identification object, if not, step S715 is performed, and if so, step S716 is performed.
Step S715: the presenting device sets the attribute of the configuration object of the second MO as the configuration mark to serve as a first MO for identifying the network element device, sets the attribute of the installation state of the first MO as an installed mark, and updates the network element device information in the configuration instruction to the first MO.
If the second MO for identifying the network element device is the determined identification object, the presentation apparatus sets a configuration object attribute of the second MO as the configuration flag to serve as the first MO, sets an installation status attribute of the first MO as an installed flag, and updates the network element device information in the configuration instruction to the first MO, for example, records hardware and manufacturing information, performance information, configuration information, and the like of the network element device in a corresponding attribute of the first MO, where the installed flag indicates that the network element device of the first MO identifier is currently installed.
Step S716: and the presentation device deletes the second MO, generates a first MO, sets the installation status attribute of the first MO as the installed flag, and records the network element device information in the configuration instruction into the first MO, so as to use the first MO as the first MO for identifying the network element device.
If the second MO for identifying the network element device is a non-specific identification object, the presentation device deletes the second MO, generates a first MO, sets the installation status attribute of the first MO as the installed flag, and records the network element device information in the configuration instruction into the first MO, for example, records the identification information of the network element device, such as a connection relationship, a location, or a sequence number, detected by the network element device, on the object identifier of the first MO, and records other specific information of the network element device, such as hardware and manufacturing information, status information, performance information, configuration information, and the like of the network element device, into other corresponding attributes of the second MO.
Step S717: and if the presentation device receives an instruction of deleting the first MO, judging whether the network element equipment of the first MO identifier is installed currently or not according to the installation state attribute of the first MO needing to be deleted.
If receiving an instruction for deleting a first MO sent by an EMS, the presentation device finds the first MO to be deleted according to the instruction, and determines whether the installation status attribute of the first MO is an installed flag or an uninstalled flag, if the installation status attribute of the first MO is the installed flag, determines that the network element device of the first MO identifier is installed currently, and performs step S718, and if the installation status attribute is the uninstalled flag, determines that the network element device of the first MO identifier is not installed currently, and performs step S719.
Step S718: and the presentation device deletes the first MO, generates a second MO, and records the detected information of the network element equipment into the second MO so as to realize the presentation of the information of the network element equipment.
If the presenting device judges that the network element equipment of the first MO identification needing to be deleted is installed currently, the first MO is deleted, a second MO is generated, the information of the network element equipment is detected and obtained, the information of the network element equipment is recorded in the second MO, and the installation state attribute of the second MO is set to be an installed mark to represent the network element equipment of the second MO identification which is installed currently.
Step S719: the presentation device directly deletes the first MO in the network element.
And if the presenting device judges that the network element equipment of the first MO identifier needing to be deleted is not installed at present, directly deleting the first MO stored locally.
The present application further provides an implementation of a network element, where the network element is used in a network element system including an EMS, the EMS may manage the network element through an interface such as a southbound interface, the network element includes the presentation device of the network element device described in the above implementation, and specific descriptions please refer to fig. 1 to 6 and the above implementation, which are not repeated herein.
Through the scheme, MO is uniformly adopted for presenting the information of the network element equipment for all the network element equipment, the presenting mode of the network element equipment information is unified, EMS only requires to analyze an MO model, all the network element equipment information can be identified, the operation on the network element equipment is realized, meanwhile, when the network element equipment which is not configured with the first MO is detected to be installed, the second MO is generated, whether the MO is a configuration object or not can be distinguished through the attribute of the configuration object, the network element can ensure that the first MO which is used as the configuration object cannot be deleted by mistake, and the second MO which is used as a non-configuration object has the authority of automatic deletion.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (17)

  1. A presentation device of network element equipment comprises a first judgment module, a first generation module and a first presentation module,
    the first determining module is configured to, when it is detected that a network element device is installed, determine whether a first management object MO for identifying the network element device is pre-configured in a network element, and send the first determination result to the first generating module, where a configuration object attribute in the first MO is a configuration flag, and the configuration flag 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 configured to generate a second MO when the first MO is not preconfigured in the network element, record the detected information of the network element device in the second MO, and send the second MO to the first presenting module, where a configuration object in the second MO is 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 that the network element can actively delete the second MO;
    the first presenting module is configured to use the second MO as a second MO for identifying the network element device, so as to present information of the network element device.
  2. The apparatus of claim 1, wherein the first presentation module comprises a first determination unit, a first presentation unit, and a second presentation unit,
    the first judging unit is configured to judge whether the second MO is a non-deterministic identification object, and send a second judgment result to the first presenting unit and the second presenting unit, where if the object identifier of the second MO cannot be directly represented by the connection relationship or the position of the network element device, the object identifier is a non-deterministic identification object, and the object identifier is an identification mark of the MO and is used to represent the network element device identified by the MO;
    the first presenting unit is configured to, when the second MO is not a non-specific identification object, directly use the second MO as the second MO for identifying the network element device, so as to implement presenting information of the network element device;
    the second presenting unit is configured to set a non-specific identifier for the second MO when the second MO is a non-specific identifier, and use the set second MO as the second MO for identifying the network element device, so as to present information of the network element device, where the non-specific identifier is used to prompt the second MO to be a non-specific identifier.
  3. The apparatus of claim 1 or 2, wherein the apparatus further comprises a second generation module,
    the second generating module is configured to, when the first determining module determines that the first MO has been preconfigured in the network element, detect a compatible status between the first MO and the network element device, record the detected compatible status in a compatible status attribute of the first MO, set an installation status attribute of the first MO as an installed flag, 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 implement presentation of the information of the network element device, where the installed flag indicates that the network element device has currently installed the identifier of the first MO.
  4. The apparatus according to any one of claims 1 to 3, wherein the apparatus further comprises a second judging module, a reserving module and a first deleting module,
    the second judging module is configured to, when it is detected that the network element device is pulled out, judge, according to a configuration object attribute of an MO used for identifying the network element device, whether the MO used for identifying the network element device is a first MO or a second MO, and send the third judgment result to the reserving module and the first deleting module;
    the reserving 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;
    the first deleting module is configured to delete the MO for identifying the network element device when the MO for identifying the network element device is the second MO.
  5. The apparatus according to any one of claims 1 to 4, wherein the apparatus further comprises a third determining module and a third generating module,
    the third judging module is configured to, when receiving a configuration instruction for configuring a first MO for a network element device, judge whether the network element device is currently installed on the network element, and send a fourth judgment result to the third generating module, where the configuration instruction includes information of the network element device;
    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 an installation status attribute of the first MO as an uninstalled flag, record network element device information in the configuration instruction into the first MO, and store the first MO as the first MO used for identifying the network element device, where the uninstalled flag indicates that the network element device identified by the first MO is not currently installed.
  6. The apparatus of claim 5, wherein the apparatus further comprises a fourth determination module, an update module, and a fourth generation module,
    the fourth determining module is configured to determine, when the network element is currently installed with the network element device and a second MO for identifying the network element device is generated in the network element, whether the second MO is a non-deterministic-identification object, and send a fifth determination result to the updating module and the fourth generating module;
    the updating module is configured to set a configuration object attribute of the second MO as the configuration flag to serve as a first MO for identifying the network element device when the second MO is not a non-deterministic identification object, set an installation status attribute of the first MO as an installed flag, and update network element device information in the configuration instruction to the first MO, where the installed flag indicates a network element device to which the first MO identifier is currently installed;
    the fourth generating module is configured to delete the second MO and generate a first MO when the second MO is a non-specific identity object, set an installation status attribute of the first MO as the installed flag, and record network element device information in the configuration instruction to the first MO, so that the first MO is used as the first MO for identifying the network element device.
  7. The apparatus of claim 6, wherein the apparatus further comprises a fifth determining module, a fifth generating module, and a second deleting module,
    the fifth judging module is configured to, when receiving an instruction to delete a first MO, judge whether a network element device identified by the first MO is currently installed according to the installation status attribute of the first MO that needs to be deleted, and send a sixth judgment result to the fifth generating module and the second deleting module;
    the fifth generating module is configured to delete the first MO when the network element device is installed, generate a second MO, and record the detected information of the network element device in the second MO, so as to implement presenting the information of the network element device;
    the second deleting module is configured to directly delete the first MO in the network element when the first MO is not installed.
  8. The apparatus of any one of claims 1 to 7, wherein the first generating means comprises a second determining unit, a first generating unit, and a second generating unit,
    the second judging unit is configured to, when the first MO is not preconfigured in the network element, judge whether the network element device meets a preset automatic configuration condition, and send a seventh judgment result to the first and second generating units;
    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 in the first MO, and use the first MO as a first MO for identifying the network element device;
    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 in the second MO.
  9. A network element comprising the presentation apparatus of the network element device of any one of claims 1 to 8.
  10. A presenting method of network element equipment comprises the following steps:
    if the network element equipment is detected to be installed, judging whether a first management object MO used for identifying the network element equipment is pre-configured in a network element or not, wherein the configuration object attribute of the first MO is a configuration mark, and the configuration mark is used for indicating that the first MO is a configuration object so as to prompt that the network element cannot actively delete the first MO;
    if the first MO is not preconfigured in the network element, generating a second MO, and recording the detected information of the network element device in the second MO, where a configuration object attribute of the second MO is set to be 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 that the network element can actively delete the second MO;
    and using the second MO as a second MO for identifying the network element equipment so as to realize the presentation of the information of the network element equipment.
  11. The method according to claim 10, wherein the step of using the second MO as the second MO for identifying the network element device to realize presenting the information of the network element device specifically includes:
    judging whether the second MO is a non-deterministic identification object, wherein if the object identifier of the second MO cannot be directly represented by the connection relationship or the position of the network element device, the second MO is a non-deterministic identification object, and the object identifier is an identification mark of the MO and is used for representing the network element device identified by the MO;
    if not, directly taking the second MO as the second MO used for identifying the network element equipment so as to realize the presentation of the information of the network element equipment;
    if so, setting a non-determined identification mark for the second MO, and using the set second MO as the second MO for identifying the network element device to realize presenting information of the network element device, wherein the non-determined identification mark is used for prompting that the second MO is a non-determined identification object.
  12. The method according to claim 10 or 11, wherein after the step of determining whether a 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 further comprises:
    if the first MO is configured in the network element in advance, detecting a compatible state between the first MO and the network element device, recording the detected compatible state in a compatible state attribute of the first MO, setting an installation state attribute of the first MO as an installed mark, updating the detected information of the network element device into the first MO, and taking the first MO as the first MO for identifying the network element device to realize the presentation of the information of the network element device, wherein the installed mark represents the network element device which has currently installed the identifier of the first MO.
  13. The method of any of claims 10 to 12, wherein the method further comprises:
    if the network element equipment is detected to be pulled out, judging whether the MO used for identifying the network element equipment is a first MO or a second MO according to the attribute of the configuration object used for identifying the MO of the network element equipment;
    if the MO used for identifying the network element equipment is the first MO, reserving the MO used for identifying the network element equipment;
    and if the MO used for identifying the network element equipment is the second MO, deleting the MO used for identifying the network element equipment.
  14. The method of any of claims 10 to 13, wherein the method further comprises:
    if a configuration instruction for configuring a first MO for network element equipment is received, judging whether the network element equipment is installed at present or not, wherein the configuration instruction comprises information of the network element equipment;
    if the network element device is not currently installed by the network element, generating a first MO, setting an installation state attribute of the first MO as an uninstalled flag, recording network element device information in the configuration instruction into the first MO, and then storing the first MO as the first MO for identifying the network element device, wherein the uninstalled flag indicates that the network element device identified by the first MO is not currently installed.
  15. The method of claim 14, wherein after the step of determining whether the network element currently installs the network element device if the configuration instruction for configuring the first MO for the network element device is received, the method further comprises:
    if the network element is currently provided with the network element equipment and a second MO used for identifying the network element equipment is generated in the network element, judging whether the second MO is a non-determined identification object;
    if not, setting the configuration object attribute of the second MO as the configuration flag to serve as a first MO for identifying the network element device, setting the installation state attribute of the first MO as an installed flag, and updating the network element device information in the configuration instruction to the first MO, where the installed flag indicates a network element device to which the first MO identifier is currently installed;
    if so, deleting the second MO, generating a first MO, setting the installation status attribute of the first MO as the installed flag, and recording the network element device information in the configuration instruction to the first MO, so as to use the first MO as the first MO for identifying the network element device.
  16. The method of claim 15, wherein the method comprises:
    if an instruction for deleting the first MO is received, judging whether network element equipment of the first MO identifier is installed currently or not according to the installation state attribute of the first MO needing to be deleted;
    if the network element equipment is installed, deleting the first MO, generating a second MO, and recording the detected information of the network element equipment into the second MO so as to realize the presentation of the information of the network element equipment;
    and if not, directly deleting the first MO in the network element.
  17. The method according to any of claims 10 to 16, wherein the step of generating a second MO and recording the detected information of the network element device in the second MO if the first MO is not preconfigured in the network element further comprises:
    if the first MO is not pre-configured in the network element, judging whether the network element equipment meets a preset automatic configuration condition;
    if yes, generating a first MO, recording the detected network element equipment information into the first MO, and using the first MO as a first MO for identifying the network element equipment;
    and if not, generating a second MO, and recording the detected information of the network element equipment 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 华为技术有限公司 Method, device and system for automatic allocation in operation
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 华为技术有限公司 Method, device and system for automatic allocation in operation
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
EP2472402B1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
US7647397B2 (en) Method and apparatus for modifying remote devices monitored by a monitoring system
CN102236536B (en) Print controlling apparatus, print control program and supervision method
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN103490941A (en) Real-time monitoring on-line configuration method in cloud computing environment
EP2681942A2 (en) System and method to provide remote device management for mobile virtualized platforms
EP4009680A1 (en) Profile management method, embedded universal integrated circuit card, and terminal
CN104765621A (en) Method and system for deploying program on cluster node
US9716623B2 (en) Automatic and secure activation of a universal plug and play device management device
JP5617304B2 (en) Switching device, information processing device, and fault notification control program
CN112099836A (en) Configuration file updating method, configuration server, version control server and system
TW201601489A (en) Server, server management system and server management method
US20160226953A1 (en) Device management apparatus, relay apparatus, relay method, and computer readable medium
CN113138886A (en) Method and device for testing embedded equipment and testing equipment
US8838790B2 (en) Configuration value management apparatus and management method
KR20120105281A (en) Method for generating electronic appliance identifier and managing information by using the electronic appliance identifier
CN105144630A (en) Network element equipment presentation device, method and network element
JP2021144639A (en) Asset information management system, and asset information management method
CN114328130B (en) Server monitoring method, system, equipment and computer readable storage medium
US11924037B2 (en) IoT deployment configuration template
US11644975B2 (en) Software-defined storage information in view of available hardware resources
CN111092765B (en) Intelligent driving method, system, electronic device and readable storage medium
CN114008563B (en) System and method for identifying servers on a rack and assigning appropriate IP addresses to servers based on the physical location of the servers
JP2018156492A (en) Remote management system, mediation device, remote management method, and remote management program

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