[go: up one dir, main page]

CN108055142A - A kind of interface automatic configuration method and system of vCPE equipment - Google Patents

A kind of interface automatic configuration method and system of vCPE equipment Download PDF

Info

Publication number
CN108055142A
CN108055142A CN201710932254.0A CN201710932254A CN108055142A CN 108055142 A CN108055142 A CN 108055142A CN 201710932254 A CN201710932254 A CN 201710932254A CN 108055142 A CN108055142 A CN 108055142A
Authority
CN
China
Prior art keywords
interface
vcpe
file
module
back end
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
CN201710932254.0A
Other languages
Chinese (zh)
Other versions
CN108055142B (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.)
Guangzhou Vcmy Technology Co Ltd
Original Assignee
Guangzhou Vcmy Technology 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 Guangzhou Vcmy Technology Co Ltd filed Critical Guangzhou Vcmy Technology Co Ltd
Priority to CN201710932254.0A priority Critical patent/CN108055142B/en
Publication of CN108055142A publication Critical patent/CN108055142A/en
Application granted granted Critical
Publication of CN108055142B publication Critical patent/CN108055142B/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/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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
    • H04L41/0866Checking the configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种vCPE设备的接口自动化配置方法及系统,该方法包括:对vCPE设备的功能配置命令进行数据建模,获得相应的YANG模型,并提取该YANG模型的数据节点,保存到节点路径文件中,依据该YANG模型和节点路径文件构建vCPE设备的接口功能模块,最后将接口功能模块集成到vCPE设备中,实现vCPE设备的接口自动化配置。采用本发明实施例,能够实现vCPE设备自动化配置,减少网络运维人员的工作量和运营商的运维成本,同时缩短了企业用户的业务开通周期,提升企业用户的用户体验。

The invention discloses a vCPE device interface automatic configuration method and system. The method includes: performing data modeling on the function configuration command of the vCPE device, obtaining a corresponding YANG model, extracting the data node of the YANG model, and saving it to the node In the path file, the interface function module of the vCPE device is constructed according to the YANG model and the node path file, and finally the interface function module is integrated into the vCPE device to realize the automatic configuration of the interface of the vCPE device. By adopting the embodiment of the present invention, it is possible to realize automatic configuration of vCPE equipment, reduce the workload of network operation and maintenance personnel and the operation and maintenance cost of operators, shorten the service provisioning cycle of enterprise users, and improve the user experience of enterprise users.

Description

一种vCPE设备的接口自动化配置方法及系统A method and system for automatic interface configuration of vCPE equipment

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种vCPE设备的接口自动化配置方法及系统。The present invention relates to the field of computer technology, in particular to an interface automatic configuration method and system of a vCPE device.

背景技术Background technique

电信运营商通过位于接入网边缘的虚拟客户终端设备(Virtual CustomerPremise Equipment,简称vCPE)和CPE设备为企业客户提供网络服务。但vCPE设备和CPE设备的配置命令复杂,只能通过手动或者半自动化配置与调试设备,繁杂耗时,且容易出错,给网络维护人员的工作带来很多麻烦,也增加了运营商的运维成本。另外,由于设备的配置与调试复杂,也给企业用户带来开通业务周期长、流程繁琐等问题,降低企业的运行效率。Telecom operators provide enterprise customers with network services through virtual customer premises equipment (Virtual Customer Premise Equipment, vCPE for short) and CPE equipment located at the edge of the access network. However, the configuration commands of vCPE devices and CPE devices are complex, and can only be configured and debugged manually or semi-automatically, which is complicated, time-consuming, and error-prone, which brings a lot of trouble to the work of network maintenance personnel and increases the operation and maintenance of operators. cost. In addition, due to the complex configuration and debugging of equipment, it also brings problems such as long service activation cycle and cumbersome process to enterprise users, which reduces the operating efficiency of enterprises.

发明内容Contents of the invention

本发明实施例提出一种vCPE设备的接口自动化配置方法及系统,实现vCPE设备的接口自动化配置,降低运营商的运维成本,提升企业用户的用户体验。The embodiment of the present invention proposes a vCPE device interface automatic configuration method and system, which realizes the vCPE device interface automatic configuration, reduces the operation and maintenance cost of the operator, and improves the user experience of the enterprise user.

本发明实施例提供一种vCPE设备的接口自动化配置方法,包括:An embodiment of the present invention provides an automatic configuration method for an interface of a vCPE device, including:

对vCPE设备的功能配置命令进行数据建模,获得以数据节点和RPC形式构成的YANG模型;Perform data modeling on the function configuration commands of vCPE equipment, and obtain the YANG model composed of data nodes and RPC;

提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中;Extract the data nodes of the YANG model, and save the extracted data nodes in the node path file;

根据所述YANG模型和所述节点路径文件,构建所述vCPE设备的接口功能模块;其中,所述接口功能模块包括API接口文件和由所述YANG模型转换而成的XML文件;所述API接口文件用于调用所述vCPE设备提供的自定义API接口,执行所述功能配置命令;According to the YANG model and the node path file, construct the interface function module of the vCPE device; wherein, the interface function module includes an API interface file and an XML file converted from the YANG model; the API interface The file is used to call the custom API interface provided by the vCPE device, and execute the function configuration command;

将所述接口功能模块集成到所述vCPE设备中。Integrating the interface function module into the vCPE device.

进一步的,在所述提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中之后,还包括:Further, after extracting the data nodes of the YANG model and saving the extracted data nodes into the node path file, it also includes:

根据所述YANG模型和所述节点路径文件,构建语法和语义校验文件;其中,所述语法和语义校验文件用于校验所述功能配置命令的语法和语义。According to the YANG model and the node path file, a syntax and semantics verification file is constructed; wherein, the syntax and semantics verification file is used to verify the syntax and semantics of the function configuration command.

进一步的,所述接口功能模块还包括:所述语法与语义校验文件。Further, the interface function module further includes: the syntax and semantics verification file.

进一步的,所述提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中,具体为:Further, the data nodes of the YANG model are extracted, and the extracted data nodes are saved in the node path file, specifically:

按照所述数据节点在所述YANG模型的层次,提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中。Extract the data nodes of the YANG model according to the level of the data nodes in the YANG model, and save the extracted data nodes into a node path file.

进一步的,所述功能配置命令包括:增加、修改、删除vCPE设备配置命令以及查看设备配置与状态命令。Further, the function configuration commands include: adding, modifying, and deleting vCPE device configuration commands, and viewing device configuration and status commands.

相应地,本发明实施例还提供一种vCPE设备的接口自动化配置系统,包括:建模模块、提取模块、构建模块和集成模块;Correspondingly, the embodiment of the present invention also provides an interface automatic configuration system of vCPE equipment, including: a modeling module, an extraction module, a construction module and an integration module;

其中,所述建模模块用于对vCPE设备的功能配置命令进行数据建模,获得以数据节点和RPC形式构成的YANG模型;Wherein, the modeling module is used to perform data modeling on the functional configuration commands of the vCPE equipment, and obtain a YANG model formed in the form of data nodes and RPC;

所述提取模块用于提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中;The extraction module is used to extract the data nodes of the YANG model, and save the extracted data nodes into the node path file;

所述构建模块用于根据所述YANG模型和所述节点路径文件,构建所述vCPE设备的接口功能模块;其中,所述接口功能模块包括API接口文件和由所述YANG模型转换而成的XML文件;所述API接口文件用于调用所述vCPE设备提供的自定义API接口,执行所述功能配置命令;The construction module is used to construct an interface function module of the vCPE device according to the YANG model and the node path file; wherein, the interface function module includes an API interface file and XML converted from the YANG model file; the API interface file is used to call the custom API interface provided by the vCPE device, and execute the function configuration command;

所述集成模块用于将所述接口功能模块集成到所述vCPE设备中。The integration module is used to integrate the interface function module into the vCPE device.

进一步的,所述接口自动化配置系统还包括:校验模块;Further, the interface automatic configuration system also includes: a verification module;

所述校验模块用于在所述提取模块提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中之后,还包括:The verification module is used to extract the data nodes of the YANG model in the extraction module, and after saving the extracted data nodes in the node path file, it also includes:

根据所述YANG模型和所述节点路径文件,构建语法和语义校验文件;其中,所述语法和语义校验文件用于校验所述功能配置命令的语法和语义。According to the YANG model and the node path file, a syntax and semantics verification file is constructed; wherein, the syntax and semantics verification file is used to verify the syntax and semantics of the function configuration command.

进一步的,所述接口功能模块还包括:所述语法与语义校验文件。Further, the interface function module further includes: the syntax and semantics verification file.

进一步的,所述提取模块用于提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中,具体为:Further, the extraction module is used to extract the data nodes of the YANG model, and save the extracted data nodes into the node path file, specifically:

所述提取模块按照所述数据节点在所述YANG模型的层次,提取所述YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中。The extraction module extracts the data nodes of the YANG model according to the level of the data nodes in the YANG model, and saves the extracted data nodes into a node path file.

进一步的,所述功能配置命令包括:增加、修改、删除vCPE设备配置命令以及查看设备配置与状态命令。Further, the function configuration commands include: adding, modifying, and deleting vCPE device configuration commands, and viewing device configuration and status commands.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例提供的vCPE设备的接口自动化配置方法及系统,对vCPE设备的功能配置命令进行数据建模,获得相应的YANG模型,并提取该YANG模型的数据节点,保存到节点路径文件中,依据该YANG模型和节点路径文件构建vCPE设备的接口功能模块,最后将接口功能模块集成到vCPE设备中,实现vCPE设备的接口自动化配置。相比于现有技术的人工或半自动配置方法,本发明技术方案能够实现vCPE设备自动化配置,减少网络运维人员的工作量和运营商的运维成本,同时缩短了企业用户的业务开通周期,提升企业用户的用户体验。The interface automatic configuration method and system of the vCPE equipment provided by the embodiment of the present invention perform data modeling on the function configuration commands of the vCPE equipment, obtain the corresponding YANG model, and extract the data node of the YANG model, save it in the node path file, According to the YANG model and the node path file, the interface function module of the vCPE device is constructed, and finally the interface function module is integrated into the vCPE device to realize the automatic configuration of the interface of the vCPE device. Compared with the manual or semi-automatic configuration method in the prior art, the technical solution of the present invention can realize the automatic configuration of vCPE equipment, reduce the workload of network operation and maintenance personnel and the operation and maintenance cost of operators, and shorten the service provisioning cycle of enterprise users. Improve the user experience of enterprise users.

附图说明Description of drawings

图1是本发明提供的vCPE设备的接口自动化配置方法的一种实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of an interface automatic configuration method of a vCPE device provided by the present invention;

图2是本发明提供的vCPE设备的接口自动化配置系统的一种实施例的结构示意图。Fig. 2 is a schematic structural diagram of an embodiment of an interface automatic configuration system of a vCPE device provided by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例提供了一种vCPE设备的接口自动化配置方法及系统,通过该接口对接支持NETCONF协议的SDN控制器,可以实现vCPE设备的自动化配置、远程配置和管理。参见图1,是本发明提供的vCPE设备的接口自动化配置方法的一种实施例的流程示意图,该方法包括步骤101至步骤104,各步骤具体如下:The embodiment of the present invention provides a vCPE device interface automatic configuration method and system, through which the interface is connected to an SDN controller supporting the NETCONF protocol, automatic configuration, remote configuration and management of the vCPE device can be realized. Referring to FIG. 1 , it is a schematic flow diagram of an embodiment of an interface automatic configuration method of a vCPE device provided by the present invention. The method includes steps 101 to 104, and each step is specifically as follows:

步骤101:对vCPE设备的功能配置命令进行数据建模,获得以数据节点和RPC形式构成的YANG模型。Step 101: Perform data modeling on the function configuration commands of the vCPE device to obtain a YANG model in the form of data nodes and RPCs.

在本实施例中,采用YANG模型建模语言对vCPE设备的功能配置命令进行数据建模,获得以数据节点和RPC形式构成的YANG模型。该功能配置命令包括增加、修改、删除vCPE设备配置命令以及查看设备配置与状态命令,实现vCPE设备的配置和管理。In this embodiment, the YANG model modeling language is used to perform data modeling on the function configuration commands of the vCPE device, and a YANG model composed of data nodes and RPCs is obtained. The function configuration commands include adding, modifying, and deleting vCPE device configuration commands and viewing device configuration and status commands to realize the configuration and management of vCPE devices.

步骤102:提取YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中。Step 102: Extract the data nodes of the YANG model, and save the extracted data nodes into a node path file.

在本实施例中,步骤102具体为按照数据节点在YANG模型的层次,提取YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中。该节点路径文件用于构建步骤103中的API接口文件。该YANG模型的层次根据vCPE设备的功能复杂程度而定,功能越复杂,YANG模型的层次越多。In this embodiment, step 102 is specifically to extract the data nodes of the YANG model according to the level of the data nodes in the YANG model, and save the extracted data nodes into a node path file. The node path file is used to construct the API interface file in step 103 . The layers of the YANG model are determined according to the complexity of the functions of the vCPE device, the more complex the functions, the more layers of the YANG model.

步骤103:根据YANG模型和节点路径文件,构建vCPE设备的接口功能模块;其中,接口功能模块包括API接口文件和由YANG模型转换而成的XML文件;API接口文件用于调用vCPE设备提供的自定义API接口,执行功能配置命令。Step 103: According to the YANG model and the node path file, construct the interface function module of the vCPE equipment; Wherein, the interface function module includes the API interface file and the XML file converted by the YANG model; Define the API interface and execute function configuration commands.

在本实施例中,根据YANG模型和节点路径文件,利用libnetconf提供的python脚本工具lnctool或者自定义的软件工具,构建vCPE设备的接口功能模块。接口功能模块包括API接口文件和由YANG模型转换而成的XML文件。API接口文件用于调用vCPE设备提供的自定义API接口,执行相应的功能配置命令。XML文件用于定义模块配置命令总集,所有用户配置命令都是XML文件的一个子集。In this embodiment, according to the YANG model and the node path file, the interface function module of the vCPE device is constructed by using the python script tool lnctool provided by libnetconf or a custom software tool. The interface function module includes the API interface file and the XML file converted from the YANG model. The API interface file is used to call the custom API interface provided by the vCPE device and execute corresponding function configuration commands. XML files are used to define the total set of module configuration commands, and all user configuration commands are a subset of XML files.

作为本实施例的一种举例,在步骤102之后,还包括:根据YANG模型和节点路径文件,构建语法和语义校验文件;其中,语法和语义校验文件用于校验功能配置命令的语法和语义。在校验完成后,该构建的接口功能模块还包括:该语法与语义校验文件。As an example of this embodiment, after step 102, it also includes: constructing syntax and semantic verification files according to the YANG model and node path files; wherein, the syntax and semantic verification files are used to verify the syntax of function configuration commands and semantics. After the verification is completed, the constructed interface function module also includes: the syntax and semantics verification file.

在本实施例中,接口功能模块可以但不限于还包括编译文件。In this embodiment, the interface function module may also include, but is not limited to, compiled files.

步骤104:将接口功能模块集成到vCPE设备中。Step 104: Integrate the interface function module into the vCPE device.

在本实施例中,接口功能模块集成到vCPE设备后,通过该接口功能模块与SDN控制器进行连接,能够实现vCPE设备的增加、修改、删除设备配置并返回设备执行结果,查看设备配置与状态。In this embodiment, after the interface function module is integrated into the vCPE device, it can be connected with the SDN controller through the interface function module to realize the addition, modification, and deletion of the device configuration of the vCPE device and return the execution result of the device, and check the device configuration and status .

相应地,参见图2,图2是本发明提供的vCPE设备的接口自动化配置系统的一种实施例的结构示意图。如图2所示,该接口自动化配置系统包括:建模模块1、提取模块2、构建模块3和集成模块4。Correspondingly, referring to FIG. 2 , FIG. 2 is a schematic structural diagram of an embodiment of an interface automatic configuration system of a vCPE device provided by the present invention. As shown in FIG. 2 , the interface automatic configuration system includes: a modeling module 1 , an extraction module 2 , a construction module 3 and an integration module 4 .

其中,建模模块1用于对vCPE设备的功能配置命令进行数据建模,获得以数据节点和RPC形式构成的YANG模型。Among them, the modeling module 1 is used to perform data modeling on the function configuration commands of the vCPE equipment, and obtain a YANG model composed of data nodes and RPC.

提取模块2用于提取YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中。The extraction module 2 is used to extract the data nodes of the YANG model, and save the extracted data nodes into the node path file.

构建模块3用于根据YANG模型和节点路径文件,构建vCPE设备的接口功能模块;其中,接口功能模块包括API接口文件和由YANG模型转换而成的XML文件;API接口文件用于调用vCPE设备提供的自定义API接口,执行功能配置命令。The building block 3 is used to construct the interface function module of the vCPE device according to the YANG model and the node path file; wherein, the interface function module includes the API interface file and the XML file converted from the YANG model; the API interface file is used to call the vCPE device to provide A custom API interface to execute function configuration commands.

集成模块4用于将接口功能模块集成到vCPE设备中。The integration module 4 is used to integrate the interface function module into the vCPE device.

作为本实施例的一种举例,接口自动化配置系统还包括:校验模块。校验模块用于在提取模块提取YANG模型的数据节点,并将提取的数据节点保存到节点路径文件中之后,还包括:根据YANG模型和节点路径文件,构建语法和语义校验文件;其中,语法和语义校验文件用于校验功能配置命令的语法和语义。As an example of this embodiment, the interface automatic configuration system further includes: a verification module. The verification module is used to extract the data nodes of the YANG model after the extraction module, and save the extracted data nodes into the node path file, and also include: according to the YANG model and the node path file, construct a grammar and semantic verification file; wherein, Syntax and semantic verification files are used to verify the syntax and semantics of function configuration commands.

本系统更详细的工作原理和流程步骤可以但不限于参见上述描述。For more detailed working principles and process steps of the system, refer to the above description, but are not limited to.

由上可见,本发明实施例提供的vCPE设备的接口自动化配置方法及系统,对vCPE设备的功能配置命令进行数据建模,获得相应的YANG模型,并提取该YANG模型的数据节点,保存到节点路径文件中,依据该YANG模型和节点路径文件构建vCPE设备的接口功能模块,最后将接口功能模块集成到vCPE设备中,实现vCPE设备的接口自动化配置。相比于现有技术的人工或半自动配置方法,本发明技术方案能够实现vCPE设备自动化配置,减少网络运维人员的工作量和运营商的运维成本,同时缩短了企业用户的业务开通周期,提升企业用户的用户体验。It can be seen from the above that the vCPE device interface automatic configuration method and system provided by the embodiments of the present invention perform data modeling on the function configuration commands of the vCPE device, obtain the corresponding YANG model, and extract the data node of the YANG model, and save it to the node In the path file, the interface function module of the vCPE device is constructed according to the YANG model and the node path file, and finally the interface function module is integrated into the vCPE device to realize the automatic configuration of the interface of the vCPE device. Compared with the manual or semi-automatic configuration method in the prior art, the technical solution of the present invention can realize the automatic configuration of vCPE equipment, reduce the workload of network operation and maintenance personnel and the operation and maintenance cost of operators, and shorten the service provisioning cycle of enterprise users. Improve the user experience of enterprise users.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above description is a preferred embodiment of the present invention, and it should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered Be the protection scope of the present invention.

Claims (10)

1. a kind of interface automatic configuration method of vCPE equipment, which is characterized in that including:
Data modeling is carried out to the functional configuration order of vCPE equipment, obtains the YANG moulds formed in the form of back end and RPC Type;
The back end of the YANG models is extracted, and the back end of extraction is saved in node path file;
According to the YANG models and the node path file, the functional module interface of the vCPE equipment is built;Wherein, institute Stating functional module interface includes api interface file and the XML file formed by the YANG model conversions;The api interface text Part is used for the self-defined api interface that the vCPE equipment is called to provide, and performs the functional configuration order;
The functional module interface is integrated into the vCPE equipment.
2. the interface automatic configuration method of vCPE equipment according to claim 1, which is characterized in that in the extraction institute The back end of YANG models is stated, and after the back end of extraction is saved in node path file, is further included:
According to the YANG models and the node path file, structure syntax and semantics verification file;Wherein, the grammer and Semanteme verification file is used to verify the syntax and semantics of the functional configuration order.
3. the interface automatic configuration method of vCPE equipment according to claim 2, which is characterized in that the interface function Module further includes:The grammer and semantic verification file.
4. the interface automatic configuration method of vCPE equipment according to claim 1, which is characterized in that described in the extraction The back end of YANG models, and the back end of extraction is saved in node path file, it is specially:
According to the back end in the level of the YANG models, the back end of the YANG models is extracted, and will extraction Back end be saved in node path file.
5. the interface automatic configuration method of vCPE equipment according to claim 1, which is characterized in that the functional configuration Order includes:Increase, change, deleting the order of vCPE device configurations and check device configuration and status command.
6. a kind of interface automatic configuration system of vCPE equipment, which is characterized in that including:Modeling module, extraction module, structure Module and integration module;
Wherein, the functional configuration order that the modeling module is used for vCPE equipment carries out data modeling, obtains with back end The YANG models formed with RPC forms;
The extraction module is used to extract the back end of the YANG models, and the back end of extraction is saved in node road In the file of footpath;
The structure module is used to, according to the YANG models and the node path file, build the interface of the vCPE equipment Function module;Wherein, the functional module interface includes api interface file and the XML texts formed by the YANG model conversions Part;The api interface file is used for the self-defined api interface that the vCPE equipment is called to provide, and performs the functional configuration life Order;
The integration module is used to the functional module interface being integrated into the vCPE equipment.
7. the interface automatic configuration system of vCPE equipment according to claim 6, which is characterized in that the interface is automatic Change configuration system to further include:Correction verification module;
The correction verification module is used to extract the back end of the YANG models in the extraction module, and by the data section of extraction After point is saved in node path file, further include:
According to the YANG models and the node path file, structure syntax and semantics verification file;Wherein, the grammer and Semanteme verification file is used to verify the syntax and semantics of the functional configuration order.
8. the interface automatic configuration system of vCPE equipment according to claim 7, which is characterized in that the interface function Module further includes:The grammer and semantic verification file.
9. the interface automatic configuration system of vCPE equipment according to claim 6, which is characterized in that
The extraction module is used to extract the back end of the YANG models, and the back end of extraction is saved in node road In the file of footpath, it is specially:
The extraction module in the level of the YANG models, extracts the data sections of the YANG models according to the back end Point, and the back end of extraction is saved in node path file.
10. the interface automatic configuration system of vCPE equipment according to claim 6, which is characterized in that the function is matched somebody with somebody Putting order includes:Increase, change, deleting the order of vCPE device configurations and check device configuration and status command.
CN201710932254.0A 2017-09-30 2017-09-30 Interface automatic configuration method and system for vCPE device Active CN108055142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710932254.0A CN108055142B (en) 2017-09-30 2017-09-30 Interface automatic configuration method and system for vCPE device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710932254.0A CN108055142B (en) 2017-09-30 2017-09-30 Interface automatic configuration method and system for vCPE device

Publications (2)

Publication Number Publication Date
CN108055142A true CN108055142A (en) 2018-05-18
CN108055142B CN108055142B (en) 2021-02-02

Family

ID=62119494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710932254.0A Active CN108055142B (en) 2017-09-30 2017-09-30 Interface automatic configuration method and system for vCPE device

Country Status (1)

Country Link
CN (1) CN108055142B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361550A (en) * 2018-11-21 2019-02-19 国家计算机网络与信息安全管理中心 Method, device and device for configuration management of network equipment
CN111988179A (en) * 2020-08-21 2020-11-24 华信塞姆(成都)科技有限公司 A YANG model management system, method and storage medium
CN112597343A (en) * 2020-12-21 2021-04-02 安徽皖通邮电股份有限公司 Netconf automatic configuration generation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701653A (en) * 2014-01-06 2014-04-02 迈普通信技术股份有限公司 Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN106559251A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of Compilation Method and corresponding interface, component and system based on YANG models

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701653A (en) * 2014-01-06 2014-04-02 迈普通信技术股份有限公司 Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN106559251A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of Compilation Method and corresponding interface, component and system based on YANG models

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SRINI: "Experimenting with NETCONF connector in OpenDaylight", 《HTTP://SDNHUB.ORG/TUTORIALS/OPENDAYLIGHT-TUTORIAL/EXPERIMENTING-WITH-NETCONF-CONNECTOR-IN-OPENDAYLIGHT/》 *
WELLBEING: "SDN开发笔记(六):yang模型理解", 《SDNLAB专注网络创新技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361550A (en) * 2018-11-21 2019-02-19 国家计算机网络与信息安全管理中心 Method, device and device for configuration management of network equipment
CN109361550B (en) * 2018-11-21 2021-06-08 国家计算机网络与信息安全管理中心 Method, device and device for configuration management of network equipment
CN111988179A (en) * 2020-08-21 2020-11-24 华信塞姆(成都)科技有限公司 A YANG model management system, method and storage medium
CN112597343A (en) * 2020-12-21 2021-04-02 安徽皖通邮电股份有限公司 Netconf automatic configuration generation method

Also Published As

Publication number Publication date
CN108055142B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN106254127B (en) Automatic deployment method of RabbitMQ cluster service based on virtualization platform
CN108418704A (en) A network access method for network element equipment based on automatic template configuration
CN111061817A (en) Adaptive service construction system, method and computer readable medium
CN112735406B (en) Device control method and apparatus, storage medium, and electronic apparatus
CN110704518A (en) Business data processing method and device based on Flink engine
CN108055142A (en) A kind of interface automatic configuration method and system of vCPE equipment
WO2012034440A1 (en) Method and device for generating database upgrading script
CN103457761B (en) Cross-platform command line configuration interface implementation method
CN109840074B (en) Service generation method, device and network equipment
CN105959302B (en) A kind of terminal management system and method
CN108459951B (en) Test method and apparatus
CN102902547A (en) Command construction and analysis method of command line interface
CN108055143A (en) The collocation method and system of a kind of SDN-Hub
CN103425497A (en) Network engineering script across-manufacturer conversion method and device
CN101303646A (en) A Modeling Method for Telecommunications Domain Based on Executable Meta-Language
CN101136780A (en) Method and system for acquiring user command information and device for registering user commands
CN115495068A (en) VUE page generation method and device
CN110532305B (en) Service data cutting-over method and system
CN111130864A (en) Method for collecting formatable network metadata by using template
CN112235164B (en) A controller-based neural network flow prediction device
CN109033483B (en) Method, device and system for defining data relationship in YANG model
CN106201513A (en) Method and device for creating service number in operation and maintenance platform
CN114092030A (en) Approval process business configuration method and device
CN114205789A (en) Method, system and storage medium for opening 5G station
CN106911499A (en) The method and device that a kind of rapid configuration BMC systems are set

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and system for automated interface configuration of vCPE devices

Granted publication date: 20210202

Pledgee: CITIC Bank Co.,Ltd. Guangzhou Branch

Pledgor: GUANGZHOU VCMY TECHNOLOGY Co.,Ltd.

Registration number: Y2024980059710

PE01 Entry into force of the registration of the contract for pledge of patent right