WO2024007788A1 - 网元管理方法、电子设备、计算机可读存储介质 - Google Patents

网元管理方法、电子设备、计算机可读存储介质 Download PDF

Info

Publication number
WO2024007788A1
WO2024007788A1 PCT/CN2023/098269 CN2023098269W WO2024007788A1 WO 2024007788 A1 WO2024007788 A1 WO 2024007788A1 CN 2023098269 W CN2023098269 W CN 2023098269W WO 2024007788 A1 WO2024007788 A1 WO 2024007788A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
service
information
file
template file
Prior art date
Application number
PCT/CN2023/098269
Other languages
English (en)
French (fr)
Inventor
缪刘雨
李广焱
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024007788A1 publication Critical patent/WO2024007788A1/zh

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/0226Mapping or translating multiple network management protocols
    • 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/08Configuration management of networks or network elements

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular to network element management methods, electronic devices, and computer-readable storage media.
  • the network management needs to be able to manage third-party network elements of different manufacturers, that is, the network management is required to be able to deliver and upload the service configuration of the third-party network elements.
  • embodiments of the present application provide a network element management method, which includes: obtaining issued instructions, where the issued instructions include first service information, network element feature information corresponding to a third-party network element, and a representation operation type of information sent; according to the network element characteristic information and Query the corresponding delivery operation template file in the template file library for the first service information; obtain the first service configuration data corresponding to the first service information, the first service configuration data is based on the network management data model; according to the query
  • the issued operation template file converts the obtained first service configuration data into a first service configuration extensible markup language (XML) message based on a third-party network element data model;
  • the link of the third-party network element delivers the converted first service configuration XML message to the third-party network element.
  • XML extensible markup language
  • embodiments of the present application provide an electronic device, including: at least one processor; and a memory, with at least one computer program stored on the memory.
  • the at least one computer program is executed by the at least one processor, Implement the above network element management method.
  • embodiments of the present application provide a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the above-mentioned network element management method is implemented.
  • Figure 1 is a flow chart of a network element management method provided by an embodiment of the present application.
  • Figure 2 is a flow chart for modifying files in the template file library in the embodiment of the present application.
  • Figure 3 is a flow chart for modifying the third-party network element management configuration file in the embodiment of the present application.
  • Figure 4 is a block diagram of a network element management device provided by an embodiment of the present application.
  • Figure 1 is a flow chart of a network element management method provided by an embodiment of the present application.
  • an embodiment of the present application provides a network element management method, including steps 100 to 104.
  • Step 100 Obtain delivery instructions.
  • the delivery instructions include first service information, network element characteristic information corresponding to the third-party network element, and information indicating that the operation type is delivery.
  • the network element characteristic information includes: manufacturer information, model series information, and version series information.
  • the vendor information may be any information that can distinguish different vendors, for example, vendor names.
  • model series information refers to information characterizing a model series including one or more models.
  • a certain manufacturer's network elements include 10 models, namely model 1 to model 10.
  • model 1 to model 3 can be divided into model series 1 based on the identity or similarity of the data model of the third-party network element.
  • Models 4 to 6 are classified as model series 2
  • models 7 to 10 are classified as model series 3.
  • the version series information refers to a representation that includes one or a Information about the version series of the previous version.
  • a certain network element includes three versions, namely version 1 to version 3, which refers to the update of the network element. Then version 1 to version 2 can be divided into version series 1, and version 3 can be divided into version series 2.
  • Step 101 Query the corresponding issued operation template file in the template file library according to the network element characteristic information and the first service information.
  • querying the template file library for the corresponding issued operation template file according to the network element characteristic information and the first service information includes: determining the issued operation template file according to the network element characteristic information and the first service information. a second storage path in the template file library; and obtain the delivery operation template file from the second storage path.
  • the template file library can store delivery operation template files, business query XML files, and upload operation template files according to an agreed path structure.
  • the agreed path structure may be "manufacturer information/model series information/version series information/business information/information characterizing the operation type".
  • the second storage path of the issued operation template file in the template file library can be determined based on the network element characteristic information and the first service information.
  • Step 102 Obtain first service configuration data corresponding to the first service information.
  • the first service configuration data is based on the network management data model.
  • Step 103 Convert the obtained first service configuration data of the network element into a first service configuration extensible markup language (XML) message based on the third-party network element data model according to the queried delivery operation template file.
  • XML extensible markup language
  • the third-party network element data model may be the YANG data model.
  • a template conversion tool can be used according to the issued operation template file to convert the first service configuration data based on the network management data model into the first service configuration XML message based on the third-party network element data model.
  • the template conversion tool may be freemarker, jinja2, etc., for example.
  • the suffix names of the delivered operation template files, uploaded operation template files, and business query XML files can be selected at will. Different suffix names correspond to different types, and thus correspond to different template conversion tools.
  • Step 104 Deliver the converted first service configuration XML message to the third-party network element through the pre-established link with the third-party network element.
  • the first service configuration XML message based on the third-party network element data model can be sent to the third-party network element through the NETCONF protocol.
  • the network element management method further includes: obtaining an upload instruction, which includes second service information, network element characteristic information corresponding to the third-party network element, and information indicating that the operation type is upload; according to the The network element characteristic information and the second service information are queried in the template file library to obtain the corresponding service query XML file and the upload operation template file; the second service information correspondence is obtained according to the service query XML file and the upload operation template file.
  • second service configuration data based on the network management data model; and storing the second service configuration data.
  • querying the corresponding service query XML file and uploading operation template file in the template file library according to the network element characteristic information and the second service information includes: according to the network element characteristic information and The second business information determines a first storage path of the service query XML file and the upload operation template file in the template file library; and obtains the service query XML file and the upload operation template file from the first storage path.
  • the template file library can store delivery operation template files, business query XML files, and upload operation template files according to an agreed path structure.
  • the agreed path structure may be "manufacturer information/model series information/version series information/business information/information characterizing the operation type".
  • the first storage path of the service query XML file and the upload operation template file in the template file library can be determined based on the network element characteristic information and the second service information.
  • the service query XML file corresponding to the second service information includes a tag header message corresponding to the second service information; the second service information corresponding to the second service information is obtained according to the service query XML file and the upload operation template file.
  • the second service configuration data based on the network management data model includes: sending the label header message to the third-party network element; receiving the second service configuration corresponding to the label header message fed back by the third-party network element information; and according to the uploaded operation template file, convert the received second service configuration information into the network management-based configuration information corresponding to the second service information through a preset template conversion tool.
  • the second business configuration data of the data model includes: sending the label header message to the third-party network element; receiving the second service configuration corresponding to the label header message fed back by the third-party network element information; and according to the uploaded operation template file, convert the received second service configuration information into the network management-based configuration information corresponding to the second service information through a preset template conversion tool.
  • the second service configuration data based on the network management data model can be saved in the database.
  • the network element management method before obtaining and issuing instructions, further includes: receiving selection information for third-party network elements; and querying the third-party network element in a preset network management network element database according to the selection information.
  • the network element configuration file corresponding to the network element contains the network element characteristic information corresponding to the third-party network element.
  • the selected information of the third-party network element includes model information and version information of the third-party network element.
  • querying the network element configuration file corresponding to the third-party network element in the preset network management network element database includes: querying the network element configuration file corresponding to the model information and version information of the third-party network element in the preset network management network element database. Meta configuration file.
  • the network element characteristic information corresponding to the third-party network element is obtained from the attribute information of the third-party network element.
  • the network element configuration corresponding to the third-party network element is queried in the default network management network element database. document.
  • the model information and version information of the third-party network element can be obtained through the NETCONF protocol after establishing a link with the third-party network element.
  • querying the network element configuration file corresponding to the third-party network element in the preset network management network element database includes: combining the model information of the third network element with the network element configuration of the preset network management network element database. Compare the model series information in the file, compare the version information of the third network element with the version series information in the network element configuration file of the preset network management network element database, and obtain the third-party network element correspondence based on the comparison results.
  • network element configuration file, the model series information in the network element configuration file corresponding to the third-party network element includes the model information of the third network element, and the version series information in the network element configuration file corresponding to the third-party network element includes the third network element version information.
  • the network element characteristic information in the network element configuration file corresponding to the third-party network element is stored in the third-party network.
  • element s attribute information.
  • the attribute information of the third-party network element can be stored in a database.
  • the network element management method further includes steps 200 and 201.
  • Step 200 Receive the delivery operation template file, service query XML file and upload operation template file corresponding to the third-party network element that have been modified based on changes in the third-party network element data model.
  • Step 201 When it is detected that the delivery operation template file, the service query XML file and the upload operation template file corresponding to the third-party network element have changed, the modified delivery operation template file corresponding to the third-party network element is , the modified business query XML file and the modified upload operation template file are stored in the template file library.
  • the network element management method further includes steps 202 to 206.
  • Step 202 Obtain delivery instructions.
  • the delivery instructions include first service information, network element characteristic information corresponding to the third-party network element, and information indicating that the operation type is delivery.
  • Step 203 Query the latest issued operation template file in the template file library according to the network element characteristic information and the first service information.
  • Step 204 Obtain first service configuration data corresponding to the first service information.
  • the first service configuration data is based on the network management data model.
  • Step 205 Convert the obtained first service configuration data into a first service configuration XML message based on the third-party network element data model according to the latest delivered operation template file queried.
  • Step 206 Deliver the converted first service configuration XML message to the third-party network element through the pre-established link with the third-party network element.
  • the network element management method further includes steps 207 to 210.
  • Step 207 Obtain an upload instruction, which includes second service information, network element characteristic information corresponding to the third-party network element, and information indicating that the operation type is upload.
  • Step 208 Query the corresponding latest service query XML file and the latest upload operation template file in the template file library according to the network element characteristic information and the second service information.
  • Step 209 Obtain second service configuration data based on the network management data model corresponding to the second service information according to the latest service query XML file and the latest upload operation template file.
  • Step 210 Store the second service configuration data.
  • the network element management method further includes steps 300 and 301.
  • Step 300 Receive a modified network element configuration file of a third-party network element, where the network element configuration file includes network element characteristic information of the third-party network element.
  • Step 301 When a change in the third-party network element configuration file is detected, the modified network element configuration file is associated with the third-party network element and stored in a preset network management network element database.
  • the network element management method provided by this application does not limit whether the monitoring file has changed or whether the third-party network element management configuration file has changed.
  • the specific monitoring method is not used to limit the protection scope of this application.
  • the network element management method provided by this application converts the first service configuration data based on the network management data model into the first service configuration XML message based on the third-party network element data model based on the issued operation template file, without the need for each
  • the third-party network element data model is coded separately, and the network element deployment efficiency is relatively high.
  • embodiments of the present application provide an electronic device, including: at least one processor; and a memory. At least one computer program is stored on the memory. When the at least one computer program is executed by at least one processor, the above network element is implemented. management methods.
  • a processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; a memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR, etc.) , read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH).
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • FLASH flash memory
  • the processor and the memory are connected to each other through a bus and are further connected to other components of the computing device.
  • embodiments of the present application provide a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the above network element management method is implemented.
  • Figure 4 is a block diagram of a network element management device provided by an embodiment of the present application.
  • an embodiment of the present application provides a network element management device, including: a file acquisition module 401 configured to obtain issued instructions, where the issued instructions include first service information, third-party network element corresponding The network element characteristic information and the information indicating that the operation type is issued; query the corresponding issued operation template file in the template file library according to the network element characteristic information and the first service information; the conversion module 402 is configured as Obtain the first service configuration data corresponding to the first service information, the first service configuration data is based on the network management data model; convert the obtained first service configuration data of the network element into A first service configuration extensible markup language XML message based on the third-party network element data model; and a sending module 403 configured to convert the converted first service configuration XML message through a pre-established link with the third-party network element. The document is sent to the third-party network element.
  • a file acquisition module 401 configured to obtain issued instructions, where the issued instructions include first service information, third-party network element corresponding The network element characteristic information and the information indicating that the operation type
  • the file acquisition module 401 is further configured to: acquire an upload instruction, which includes second service information, network element feature information corresponding to a third-party network element, and information indicating that the operation type is upload; according to the The network element characteristic information and the second service information are queried in the template file library to obtain the corresponding service query XML file and the upload operation template file; the conversion module 202 is also configured to: according to the service query XML file and the upload operation template The file obtains second service configuration data based on the network management data model corresponding to the second service information; and stores the second service configuration data.
  • the service query XML file corresponding to the second service information includes a tag header message corresponding to the second service information; the conversion module 402 is specifically configured to use the following method to implement the service query XML file and the upload operation.
  • the template file obtains the second service configuration data based on the network management data model corresponding to the second service information: sending the label header message to the third-party network element; receiving the label header message fed back by the third-party network element the second service configuration information corresponding to the file; and according to the uploaded operation template file, convert the received second service configuration information into the second service configuration based on the network management data model corresponding to the second service information through a preset template conversion tool.
  • Business configuration data
  • the file acquisition module 401 is also configured to: receive the delivery operation template file, the service query XML file and the upload operation template file corresponding to the third-party network element that have been modified for changes in the third-party network element data model; and When it is detected that the delivery operation template file, service query XML file and upload operation template file corresponding to the third-party network element have changed, the modified delivery operation template file corresponding to the third-party network element, the modified The business query XML file and the modified upload operation template file are stored in the template file library.
  • the file acquisition module 401 is further configured to: obtain issued instructions, which include first service information, network element characteristic information corresponding to the third-party network element, and information indicating that the operation type is issued; Query the latest issued operation template file in the template file library according to the network element characteristic information and the first service information; the conversion module 402 is also configured to: obtain the first service configuration data corresponding to the first service information , the first service configuration data is based on the network management data model; convert the obtained first service configuration data into a first service configuration XML message based on the third-party network element data model according to the latest delivered operation template file queried; The sending module 403 is further configured to: deliver the converted first service configuration XML message to the third-party network element through a pre-established link with the third-party network element.
  • the file acquisition module 401 is further configured to: acquire an upload instruction, which includes second service information, network element feature information corresponding to a third-party network element, and information indicating that the operation type is upload; according to the The network element characteristic information and the second service information are queried in the template file library to obtain the corresponding latest service query XML file and the latest upload operation template file; the conversion module 402 is also configured to: according to the latest service query XML file Obtain second service configuration data based on the network management data model corresponding to the second service information with the latest upload operation template file; store the second service configuration data.
  • the file acquisition module 401 is also configured to: receive selection information for a third-party network element; and query the network element corresponding to the third-party network element in a preset network management network element database based on the selection information.
  • Configuration file, the network element configuration file contains network element characteristic information corresponding to the third-party network element.
  • the file acquisition module 401 is also configured to: receive the modified The network element configuration file of the third-party network element, the network element configuration file includes the network element characteristic information of the third-party network element; and when a change in the third-party network element configuration file is detected, the modified The network element configuration file is associated with the third-party network element and stored in a preset network management network element database.
  • the specific implementation process of the above network element management device is the same as the specific implementation process of the aforementioned network element management method, and will not be described again here.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage, or may be used Any other medium that stores the desired information and can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone unless expressly stated otherwise. Or may be used in combination with features, characteristics and/or elements described in connection with other embodiments. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present application as set forth in the appended claims.

Abstract

本申请提供了一种网元管理方法、一种电子设备、一种计算机可读存储介质,方法包括:获取下发指令,下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息(100);根据网元特征信息和第一业务信息在模板文件库中查询出对应的下发操作模板文件(101);获取第一业务信息对应的第一业务配置数据,第一业务配置数据基于网管数据模型(102);根据查询出的下发操作模板文件将获取的第一业务配置数据转换成基于第三方网元数据模型的第一业务配置可扩展标记语言(XML)报文(103);以及通过预先建立的与第三方网元的链接将转换出的第一业务配置XML报文下发至第三方网元(104)。

Description

网元管理方法、电子设备、计算机可读存储介质
相关申请的交叉引用
本申请要求于2022年7月7日提交的中国专利申请NO.202210795486.7的优先权,该中国专利申请的内容通过引用的方式整体合并于此。
技术领域
本申请实施例涉及通信技术领域,特别涉及网元管理方法、电子设备、计算机可读存储介质。
背景技术
在网管领域,如果运营商采集的设备属于多个不同的供应商,则需要网管能管理不同厂商的第三方网元,即要求网管能够下发和上载第三方网元的业务配置。
目前,虽然各家供应商均采用通用的网络配置(NETCONF,The Network Configuration)协议与网元交互,但由于各家采用不同的YANG数据模型,所以下发到网元和上载时读取到的NETCONF协议的可扩展标记语言(XML,Extensible Markup Language)报文的数据模型都是不一致的,对于网管管理第三方网元来说是一大痛点,往往需要针对不同厂商的数据模型编写代码来生成对应厂商设备的XML报文,如果第三方网元的数据模型有改动,还需要重新编写代码,工作量庞杂且很难做到灵活部署。
公开内容
第一方面,本申请实施例提供一种网元管理方法,包括:获取下发指令,所述下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息;根据所述网元特征信息和 所述第一业务信息在模板文件库中查询出对应的下发操作模板文件;获取所述第一业务信息对应的第一业务配置数据,所述第一业务配置数据基于网管数据模型;根据查询出的下发操作模板文件将获取的所述第一业务配置数据转换成基于第三方网元数据模型的第一业务配置可扩展标记语言(XML)报文;以及通过预先建立的与所述第三方网元的链接将转换出的第一业务配置XML报文下发至所述第三方网元。
第二方面,本申请实施例提供一种电子设备,包括:至少一个处理器;以及存储器,存储器上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,实现上述网元管理方法。
第三方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述网元管理方法。
附图说明
图1为本申请实施例提供的网元管理方法的流程图;
图2为本申请实施例中修改模板文件库中的文件的流程图;
图3为本申请实施例中修改第三方网元管理配置文件的流程图;以及
图4为本申请实施例提供的网元管理装置的组成框图。
具体实施方式
为使本领域的技术人员更好地理解本申请的技术方案,下面结合附图对本申请提供的网元管理方法、电子设备、计算机可读存储介质进行详细描述。
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现,且本公开不应当被解释为限于本文阐述的实施例。提供这些实施例的目的在于使本申请更加透彻和完整,并使本领域技术人员充分理解本申请的范围。
在不冲突的情况下,本申请各实施例及实施例中的各特征可相互组合。
如本文所使用的,术语“和/或”包括至少一个相关列举条目的任何和所有组合。
本文所使用的术语仅用于描述特定实施例,且不意欲限制本申请。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在特定特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加至少一个其它特征、整体、步骤、操作、元件、组件和/或其群组。
除非另外限定,否则本文所用的所有术语(包括技术术语和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本申请的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。
图1为本申请实施例提供的网元管理方法的流程图。
第一方面,参照图1,本申请实施例提供一种网元管理方法,包括步骤100至104。
步骤100,获取下发指令,下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息。
在一些实施方式中,网元特征信息包括:厂商信息、型号系列信息、版本系列信息。
在一些实施方式中,厂商信息可以是能够区别不同厂商的任何信息,例如,厂商名称。
在一些实施方式中,型号系列信息是指表征包括一个或一个以上型号的型号系列的信息。例如某一个厂商的网元包括10个型号,分别为型号1至型号10,那么可以根据第三方网元的数据模型的相同性或相似性将型号1至型号3划分为型号系列1,将型号4至型号6划分为型号系列2,将型号7至型号10划分为型号系列3。
在一些实施方式中,版本系列信息是指表征包括一个或一个以 上版本的版本系列的信息。例如某一个网元包括3个版本,分别为版本1至版本3,是指对网元的更新换代,那么可以将版本1至版本2划分为版本系列1,将版本3划分为版本系列2。
步骤101,根据网元特征信息和第一业务信息在模板文件库中查询出对应的下发操作模板文件。
在一些实施方式中,所述根据网元特征信息和第一业务信息在模板文件库中查询出对应的下发操作模板文件包括:根据网元特征信息和第一业务信息确定下发操作模板文件在模板文件库中的第二存储路径;以及从第二存储路径中获取下发操作模板文件。
在一些实施方式中,模板文件库可以按照约定好的路径结构存放下发操作模板文件、业务查询XML文件和上载操作模板文件。例如,约定好的路径结构可以是“厂商信息/型号系列信息/版本系列信息/业务信息/表征操作类型的信息”。
那么根据网元特征信息和第一业务信息就能确定下发操作模板文件在模板文件库中的第二存储路径。
步骤102、获取第一业务信息对应的第一业务配置数据,第一业务配置数据基于网管数据模型。
步骤103、根据查询出的下发操作模板文件将获取的网元第一业务配置数据转换成基于第三方网元数据模型的第一业务配置可扩展标记语言(XML)报文。
在一些实施方式中,第三方网元数据模型可以是YANG数据模型。
在一些实施方式中,可以根据下发操作模板文件采用模板转换工具,将基于网管数据模型的第一业务配置数据转换成基于第三方网元数据模型的第一业务配置XML报文。
在一些实施方式中,模板转换工具例如可以是freemarker、jinja2等。
在一些实施方式中,下发操作模板文件、上载操作模板文件、业务查询XML文件的后缀名可以随意选择,不同的后缀名对应不同的类型,也就对应不同的模板转换工具。
在一些实施方式中,由于某些模板转换工作存在一定转换能力 限制,针对这些限制可以在软件实现时做出能力扩展。
步骤104、通过预先建立的与第三方网元的链接将转换出的第一业务配置XML报文下发至第三方网元。
在一些实施方式中,可以通过NETCONF协议将基于第三方网元数据模型的第一业务配置XML报文下发给第三方网元。
在一些实施方式中,该网元管理方法还包括:获取上载指令,所述上载指令包括第二业务信息、第三方网元对应的网元特征信息以及表征操作类型为上载的信息;根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的业务查询XML文件和上载操作模板文件;根据所述业务查询XML文件和所述上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据;以及存储所述第二业务配置数据。
在一些实施方式中,所述根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的业务查询XML文件和上载操作模板文件包括:根据所述网元特征信息和所述第二业务信息确定业务查询XML文件和上载操作模板文件在模板文件库中的第一存储路径;以及从第一存储路径中获取业务查询XML文件和上载操作模板文件。
在一些实施方式中,模板文件库可以按照约定好的路径结构存放下发操作模板文件、业务查询XML文件和上载操作模板文件。例如,约定好的路径结构可以是“厂商信息/型号系列信息/版本系列信息/业务信息/表征操作类型的信息”。
那么根据网元特征信息和第二业务信息就能确定业务查询XML文件和上载操作模板文件在模板文件库中的第一存储路径。
在一些实施方式中,第二业务信息对应的业务查询XML文件包括第二业务信息对应的标签头报文;所述根据所述业务查询XML文件和所述上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据包括:将所述标签头报文发送给所述第三方网元;接收所述第三方网元反馈的所述标签头报文对应的第二业务配置信息;以及根据上载操作模板文件,通过预设的模板转换工具将接收的所述第二业务配置信息转换为所述第二业务信息对应的基于网管 数据模型的第二业务配置数据。
在一些实施方式中,获得基于网管数据模型的第二业务配置数据后,可以将基于网管数据模型的第二业务配置数据保存到数据库中。
在一些实施方式中,在所述获取下发指令之前,该网元管理方法还包括:接收针对第三方网元的选中信息;以及根据选中信息在预设的网管网元数据库查询到第三方网元对应的网元配置文件,网元配置文件中包含第三方网元对应的网元特征信息。
在一些实施方式中,第三方网元的选中信息包括第三方网元的型号信息和版本信息。
在一些实施方式中,在预设的网管网元数据库查询到第三方网元对应的网元配置文件包括:在预设的网管网元数据库查询第三方网元的型号信息和版本信息对应的网元配置文件。
在一些实施方式中,在第三方网元的属性信息中包括第三方网元对应的网元特征信息的情况下,从第三方网元的属性信息中获取第三方网元对应的网元特征信息。
在一些实施方式中,在第三方网元的属性信息中不包括第三方网元对应的网元特征信息的情况下,在预设的网管网元数据库查询到第三方网元对应的网元配置文件。
在一些实施方式中,第三方网元的型号信息和版本信息可以在与第三方网元建立链接后,通过NETCONF协议获取到。
在一些实施方式中,所述在预设的网管网元数据库查询到第三方网元对应的网元配置文件包括:将第三网元的型号信息与预设的网管网元数据库的网元配置文件中的型号系列信息进行比对,将第三网元的版本信息与预设的网管网元数据库的网元配置文件中的版本系列信息进行比对,根据比对结果获得第三方网元对应的网元配置文件,第三方网元对应的网元配置文件中的型号系列信息包括第三网元的型号信息,第三方网元对应的网元配置文件中的版本系列信息包括第三网元的版本信息。
在一些实施方式中,获得第三方网元对应的网元配置文件后,将第三方网元对应的网元配置文件中的网元特征信息存入第三方网 元的属性信息中。
在一些实施方式中,第三方网元的属性信息可以存储到数据库中。
在一些实施方式中,如图2所示,该网元管理方法还包括步骤200和201。
步骤200,接收针对第三方网元数据模型的变化修改后的第三方网元对应的下发操作模板文件、业务查询XML文件和上载操作模板文件。
步骤201,当监听到所述第三方网元对应的下发操作模板文件、业务查询XML文件和上载操作模板文件发生变化时,将所述第三方网元对应的修改后的下发操作模板文件、修改后的业务查询XML文件和修改后的上载操作模板文件存储到所述模板文件库中。
在一些实施方式中,该网元管理方法还包括步骤202至206。
步骤202,获取下发指令,下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息。
步骤203,根据网元特征信息和第一业务信息在模板文件库中查询出最新的下发操作模板文件。
步骤204,获取第一业务信息对应的第一业务配置数据,第一业务配置数据基于网管数据模型。
步骤205,根据查询出的最新的下发操作模板文件将获取的第一业务配置数据转换成基于第三方网元数据模型的第一业务配置XML报文。
步骤206,通过预先建立的与第三方网元的链接将转换出的第一业务配置XML报文下发至第三方网元。
在一些实施方式中,该网元管理方法还包括步骤207至210。
步骤207,获取上载指令,所述上载指令包括第二业务信息、第三方网元对应的网元特征信息以及表征操作类型为上载的信息。
步骤208,根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的最新的业务查询XML文件和最新的上载操作模板文件。
步骤209,根据所述最新的业务查询XML文件和所述最新的上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据。
步骤210,存储第二业务配置数据。
在本申请提供的网元管理方法中,在第三方网元数据模型发生变化的情况下,仅需要修改对应的文件即可,而不需要重新编写代码,提高了灵活性。
在一些实施方式中,如图3所示,该网元管理方法还包括步骤300和301。
步骤300,接收修改后的第三方网元的网元配置文件,所述网元配置文件包括所述第三方网元的网元特征信息。
步骤301,当监听到所述第三方网元配置文件发生变化时,将修改后的所述网元配置文件与所述第三方网元关联存储入预设的网管网元数据库中。
本申请提供的网元管理方法对监听文件是否发生变化、或监听第三方网元管理配置文件是否发生变化的监听方法不作限定,具体的监听方法也不用于限定本申请的保护范围。
本申请提供的网元管理方法,基于下发操作模板文件将基于网管数据模型的第一业务配置数据转换成基于第三方网元数据模型的第一业务配置XML报文,而不需要针对每一种第三方网元数据模型单独编写代码,网元部署效率比较高。
第二方面,本申请实施例提供一种电子设备,包括:至少一个处理器;以及存储器,存储器上存储有至少一个计算机程序,当至少一个计算机程序被至少一个处理器执行时,实现上述网元管理方法。
处理器为具有数据处理能力的器件,包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。
在一些实施方式中,处理器、存储器通过总线相互连接,进而与计算设备的其它组件连接。
第三方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述网元管理方法。
图4为本申请实施例提供的网元管理装置的组成框图。
第四方面,参照图4,本申请实施例提供一种网元管理装置,包括:文件获取模块401,配置为获取下发指令,所述下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息;根据所述网元特征信息和所述第一业务信息在模板文件库中查询出对应的下发操作模板文件;转换模块402,配置为获取所述第一业务信息对应的第一业务配置数据,所述第一业务配置数据基于网管数据模型;根据查询出的下发操作模板文件将获取的所述网元第一业务配置数据转换成基于第三方网元数据模型的第一业务配置可扩展标记语言XML报文;以及发送模块403,配置为通过预先建立的与所述第三方网元的链接将转换出的第一业务配置XML报文下发至所述第三方网元。
在一些实施方式中,文件获取模块401还配置为:获取上载指令,所述上载指令包括第二业务信息、第三方网元对应的网元特征信息以及表征操作类型为上载的信息;根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的业务查询XML文件和上载操作模板文件;转换模块202还配置为:根据所述业务查询XML文件和所述上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据;存储所述第二业务配置数据。
在一些实施方式中,第二业务信息对应的业务查询XML文件包括第二业务信息对应的标签头报文;转换模块402具体配置为采用以下方式实现根据所述业务查询XML文件和所述上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据:将所述标签头报文发送给所述第三方网元;接收所述第三方网元反馈的所述标签头报文对应的第二业务配置信息;以及根据上载操作模板文件,通过预设的模板转换工具将接收的所述第二业务配置信息转换为所述第二业务信息对应的基于网管数据模型的第二业务配置数据。
在一些实施方式中,文件获取模块401还配置为:接收针对第三方网元数据模型的变化修改后的第三方网元对应的下发操作模板文件、业务查询XML文件和上载操作模板文件;以及当监听到所述第三方网元对应的下发操作模板文件、业务查询XML文件和上载操作模板文件发生变化时,将所述第三方网元对应的修改后的下发操作模板文件、修改后的业务查询XML文件和修改后的上载操作模板文件存储到所述模板文件库中。
在一些实施方式中,文件获取模块401还配置为:获取下发指令,所述下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息;根据所述网元特征信息和所述第一业务信息在模板文件库中查询出最新的下发操作模板文件;转换模块402还配置为:获取所述第一业务信息对应的第一业务配置数据,所述第一业务配置数据基于网管数据模型;根据查询出的最新的下发操作模板文件将获取的第一业务配置数据转换成基于第三方网元数据模型的第一业务配置XML报文;发送模块403还配置为:通过预先建立的与所述第三方网元的链接将转换出的第一业务配置XML报文下发至所述第三方网元。
在一些实施方式中,文件获取模块401还配置为:获取上载指令,所述上载指令包括第二业务信息、第三方网元对应的网元特征信息以及表征操作类型为上载的信息;根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的最新的业务查询XML文件和最新的上载操作模板文件;转换模块402还配置为:根据所述最新的业务查询XML文件和所述最新的上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据;存储所述第二业务配置数据。
在一些实施方式中,文件获取模块401还配置为:接收针对第三方网元的选中信息;以及根据所述选中信息在预设的网管网元数据库查询到所述第三方网元对应的网元配置文件,所述网元配置文件中包含所述第三方网元对应的网元特征信息。
在一些实施方式中,文件获取模块401还配置为:接收修改后 的第三方网元的网元配置文件,所述网元配置文件包括所述第三方网元的网元特征信息;以及当监听到所述第三方网元配置文件发生变化时,将修改后的所述网元配置文件与所述第三方网元关联存储入预设的网管网元数据库中。
上述网元管理装置的具体实现过程与前述的网元管理方法的具体实现过程相同,这里不再赘述。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器(如中央处理器、数字信号处理器或微处理器)执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则与特定实施例相结合描述的特征、特性和/或元素可单独使用, 或可与结合其它实施例相描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本申请的范围的情况下,可进行各种形式和细节上的改变。

Claims (10)

  1. 一种网元管理方法,包括:
    获取下发指令,所述下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息;
    根据所述网元特征信息和所述第一业务信息在模板文件库中查询出对应的下发操作模板文件;
    获取所述第一业务信息对应的第一业务配置数据,所述第一业务配置数据基于网管数据模型;
    根据查询出的下发操作模板文件将获取的所述第一业务配置数据转换成基于第三方网元数据模型的第一业务配置可扩展标记语言(XML)报文;以及
    通过预先建立的与所述第三方网元的链接将转换出的第一业务配置XML报文下发至所述第三方网元。
  2. 根据权利要求1所述的网元管理方法,还包括:
    获取上载指令,所述上载指令包括第二业务信息、第三方网元对应的网元特征信息以及表征操作类型为上载的信息;
    根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的业务查询XML文件和上载操作模板文件;
    根据所述业务查询XML文件和所述上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据;以及
    存储所述第二业务配置数据。
  3. 根据权利要求2所述的网元管理方法,其中,所述第二业务信息对应的业务查询XML文件包括第二业务信息对应的标签头报文;
    所述根据所述业务查询XML文件和所述上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据包括:
    将所述标签头报文发送给所述第三方网元;
    接收所述第三方网元反馈的所述标签头报文对应的第二业务配 置信息;以及
    根据所述上载操作模板文件,通过预设的模板转换工具将接收的所述第二业务配置信息转换为所述第二业务信息对应的基于网管数据模型的第二业务配置数据。
  4. 根据权利要求1至3中任意一项所述的网元管理方法,还包括:
    接收针对第三方网元数据模型的变化修改后的第三方网元对应的下发操作模板文件、业务查询XML文件和上载操作模板文件;以及
    当监听到所述第三方网元对应的下发操作模板文件、业务查询XML文件和上载操作模板文件发生变化时,将所述第三方网元对应的修改后的下发操作模板文件、修改后的业务查询XML文件和修改后的上载操作模板文件存储到所述模板文件库中。
  5. 根据权利要求4所述的网元管理方法,还包括:
    获取下发指令,所述下发指令包括第一业务信息、第三方网元对应的网元特征信息以及表征操作类型为下发的信息;
    根据所述网元特征信息和所述第一业务信息在模板文件库中查询出最新的下发操作模板文件;
    获取所述第一业务信息对应的第一业务配置数据,所述第一业务配置数据基于网管数据模型;
    根据查询出的最新的下发操作模板文件将获取的所述第一业务配置数据转换成基于第三方网元数据模型的第一业务配置可扩展标记语言(XML)报文;以及
    通过预先建立的与所述第三方网元的链接将转换出的第一业务配置XML报文下发至所述第三方网元。
  6. 根据权利要求4所述的网元管理方法,还包括:
    获取上载指令,所述上载指令包括第二业务信息、第三方网元对应的网元特征信息以及表征操作类型为上载的信息;
    根据所述网元特征信息和所述第二业务信息在模板文件库中查询出对应的最新的业务查询XML文件和最新的上载操作模板文件;
    根据所述最新的业务查询XML文件和所述最新的上载操作模板文件获得第二业务信息对应的基于网管数据模型的第二业务配置数据;以及
    存储所述第二业务配置数据。
  7. 根据权利要求1所述的网元管理方法,还包括:
    在所述获取下发指令之前,接收针对第三方网元的选中信息;以及
    根据所述选中信息在预设的网管网元数据库查询到所述第三方网元对应的网元配置文件,所述网元配置文件中包含所述第三方网元对应的网元特征信息。
  8. 根据权利要求1至3、7中任意一项所述的网元管理方法,还包括:
    接收修改后的第三方网元的网元配置文件,所述网元配置文件包括所述第三方网元的网元特征信息;以及
    当监听到所述第三方网元的网元配置文件发生变化时,将修改后的所述网元配置文件与所述第三方网元关联存储入预设的网管网元数据库中。
  9. 一种电子设备,包括:
    至少一个处理器;以及
    存储器,所述存储器上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,实现权利要求1至8中任意一项所述的网元管理方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至8 中任意一项所述的网元管理方法。
PCT/CN2023/098269 2022-07-07 2023-06-05 网元管理方法、电子设备、计算机可读存储介质 WO2024007788A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210795486.7 2022-07-07
CN202210795486.7A CN117411759A (zh) 2022-07-07 2022-07-07 网元管理方法、电子设备、计算机可读介质

Publications (1)

Publication Number Publication Date
WO2024007788A1 true WO2024007788A1 (zh) 2024-01-11

Family

ID=89454134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/098269 WO2024007788A1 (zh) 2022-07-07 2023-06-05 网元管理方法、电子设备、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN117411759A (zh)
WO (1) WO2024007788A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832503A (en) * 1995-02-24 1998-11-03 Cabletron Systems, Inc. Method and apparatus for configuration management in communications networks
US20060075102A1 (en) * 2004-09-29 2006-04-06 Fujitsu Network Communications, Inc. Method and system for provisioning services on a communication network
CN1956394A (zh) * 2006-11-13 2007-05-02 杭州华为三康技术有限公司 进行网络设备业务配置的方法及装置
CN101588268A (zh) * 2009-06-29 2009-11-25 杭州华三通信技术有限公司 通用可扩展的管理设备配置文件的方法及设备
CN107302443A (zh) * 2016-04-15 2017-10-27 华为技术有限公司 基于网络配置协议的设备配置方法及装置
CN112398683A (zh) * 2020-10-27 2021-02-23 烽火通信科技股份有限公司 一种支持yang协议的多设备混合组网的配置方法和装置
CN113438100A (zh) * 2021-06-07 2021-09-24 江西山水光电科技股份有限公司 一种基于netconf协议的网络设备配置同步和上载方法
CN114095348A (zh) * 2020-08-03 2022-02-25 中国联合网络通信集团有限公司 网络能力开放系统及业务编排方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832503A (en) * 1995-02-24 1998-11-03 Cabletron Systems, Inc. Method and apparatus for configuration management in communications networks
US20060075102A1 (en) * 2004-09-29 2006-04-06 Fujitsu Network Communications, Inc. Method and system for provisioning services on a communication network
CN1956394A (zh) * 2006-11-13 2007-05-02 杭州华为三康技术有限公司 进行网络设备业务配置的方法及装置
CN101588268A (zh) * 2009-06-29 2009-11-25 杭州华三通信技术有限公司 通用可扩展的管理设备配置文件的方法及设备
CN107302443A (zh) * 2016-04-15 2017-10-27 华为技术有限公司 基于网络配置协议的设备配置方法及装置
CN114095348A (zh) * 2020-08-03 2022-02-25 中国联合网络通信集团有限公司 网络能力开放系统及业务编排方法
CN112398683A (zh) * 2020-10-27 2021-02-23 烽火通信科技股份有限公司 一种支持yang协议的多设备混合组网的配置方法和装置
CN113438100A (zh) * 2021-06-07 2021-09-24 江西山水光电科技股份有限公司 一种基于netconf协议的网络设备配置同步和上载方法

Also Published As

Publication number Publication date
CN117411759A (zh) 2024-01-16

Similar Documents

Publication Publication Date Title
US8615499B2 (en) Estimating data reduction in storage systems
JP2023525393A (ja) ゲートウェイリソースを更新する方法および装置、ならびにiot制御プラットフォーム
CN108932257B (zh) 多维度数据的查询方法及装置
CN109660372B (zh) 一种sdn的业务配置的方法及装置
TWI548233B (zh) 伺服器、伺服管理系統及伺服管理方法
CN111130962B (zh) 一种交换机自动化配置方法、设备、系统及存储介质
CN109446225B (zh) 数据缓存方法、装置、计算机设备及存储介质
CN112486915B (zh) 数据存储方法及装置
WO2020216077A1 (zh) 一种区块链事件去重方法、装置、计算机设备及存储介质
CN109522043B (zh) 一种配置数据的管理方法、装置及存储介质
WO2021135279A1 (zh) 一种非对称配置的管理方法、装置、设备及可读存储介质
CN113704790A (zh) 一种异常日志信息汇总方法及计算机设备
CN106776125B (zh) 一种实现pc客户端软件实时修复的方法及装置
CN111078213B (zh) 一种代码生成方法及代码生成装置
WO2024007788A1 (zh) 网元管理方法、电子设备、计算机可读存储介质
WO2016086612A9 (zh) 一种单板的软件管理方法、系统及计算机存储介质
CN113438095B (zh) 配置数据的管理方法、装置、设备及存储介质
WO2022127883A1 (zh) 信令数据查询方法、信令数据索引库的构建方法及服务器
CN109947739A (zh) 数据源管理方法及装置
CN114253808A (zh) 一种对象状态的监控方法及装置
WO2017036308A1 (zh) 文件上传方法、访问方法、装置及设备
WO2016202030A1 (zh) 资源配置加载方法及装置
WO2019136914A1 (zh) 自动记录字段变化方法、应用服务器及计算机可读存储介质
CN111858018B (zh) Cgroup配置的方法、装置、计算机设备及存储介质
CN112035413A (zh) 元数据信息查询方法、装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23834562

Country of ref document: EP

Kind code of ref document: A1