The invention discloses a method for collecting a circuit structure based on a type identifier with a north-direction interface, which comprises the following steps: serializing the circuit structure of the operator into a first binary stream, filling in the identifier corresponding to the type of the circuit structure, serializing the circuit structure into a second binary stream, and collecting the second binary stream with a north-direction interface. The identifier and the first binary stream are obtained by streaming and deserialization; the type of the circuit structure is obtained by parsing the identifier, and the first binary stream is converted into a unified circuit model for north-to-interface internal application according to the conversion function corresponding to the type of the circuit structure; and the above-mentioned circuit model is converted according to the standard of the operator. The unified circuit model is converted to the corresponding format output to the operator. By introducing the identifier GUID corresponding to the type of circuit structure, the north interface collects and caches circuit time set circuit structure without paying attention to the type of specific circuit structure, thereby simplifying the processing logic of the collection circuit structure and improving the efficiency.
【技术实现步骤摘要】
一种基于类型标识符的北向接口采集电路结构的方法
本专利技术涉及通信系统管理
,具体涉及一种基于类型标识符的北向接口采集电路结构的方法。
技术介绍
对于通信行业,在业务需求和技术发展的双重驱动下,促使传输网从40G网络向100G网络演进,新网络的建设以及传统网络的升级改造,促使通信行业加快了重新设计新的网络组织架构和技术架构,为进一步提高传输网的灵活调度能力、业务适应能力和安全可靠性,进而提升全网的集约化运营能力提供了契机。目前,传输网的运营维护主要是集团、省和地(市)三级体系,运营维护主要通过人工方式进行,一方面业务的响应时间较长难以满足客户快速开通业务及网络故障或拥塞时,业务快速恢复的需要,另一方面由于维护人员的操作水平参差不齐以及不规范的操作,对后期维护带来较大的影响。集约化管理能够大大提高系统的整体效率,进而提高企业的效益。于是,目前各大运营商对传送网也提出了集约化管理的需求。如图1所示的北向接口组网图中,运营商的EMS通过北向接口同时管理着OTN、Packet业务等多类型电路。随着传送网的电路规模扩大、类型增多,北向接口的业务采集效率和多标准兼容性成为制约集约化管理的性能瓶颈,主要体现在:(1)由于网络管理系统管理的电路数量和电路结构类型不断提升,电路处理逻辑越来越复杂,导致了北向接口采集时间较长;(2)传送网设备从单一功能演进到核心层、汇聚层并存,导致北向接口对电路结构的批量处理能力因模型差异而劣化。(3)众多的不同运营商(厂家)制定了不同的规范,由此,北向接口在输出电路结构时需要遵循不同的标准,影响了北向接口的通用性。由此可见,需要对现有 ...
【技术保护点】
1.一种基于类型标识符的北向接口采集电路结构的方法,其特征在于,包括以下步骤:将运营商的电路结构序列化为第一二进制流,并填入电路结构的类型对应的标识符后,再序列化为第二二进制流;北向接口采集所述第二二进制流;反序列化所述第二二进制流,获得所述标识符和所述第一二进制流;解析所述标识符获得电路结构的类型,根据电路结构的类型对应的转换函数,将所述第一二进制流转换为北向接口内部应用的统一电路模型;根据运营商的标准,将所述统一电路模型转换为对应格式输出给运营商。
【技术特征摘要】
1.一种基于类型标识符的北向接口采集电路结构的方法,其特征在于,包括以下步骤:将运营商的电路结构序列化为第一二进制流,并填入电路结构的类型对应的标识符后,再序列化为第二二进制流;北向接口采集所述第二二进制流;反序列化所述第二二进制流,获得所述标识符和所述第一二进制流;解析所述标识符获得电路结构的类型,根据电路结构的类型对应的转换函数,将所述第一二进制流转换为北向接口内部应用的统一电路模型;根据运营商的标准,将所述统一电路模型转换为对应格式输出给运营商。2.根据权利要求1所述的方法,其特征在于,序列化为第二二进制流的具体步骤包括:定义一个统一的、不区分电路结构的类型的数据结构CircuitEms,该数据结构CircuitEms包含2部分:将运营商的电路结构序列化为第一二进制流的SeriCircuitInfo和电路结构的类型对应的GUID;首先序列化运营商的电路结构为第一二进制流,并填入CircuitEms中的SeriCircuitInfo中;然后将电路结构的类型对应的GUID填入CircuitEms中的GUID;最后将CircuitEms序列化为第二二进制流SeriCircuitEms,并存储至缓存队列EMS-DATA-QUEUE中。3.根据权利要求1所述的方法,其特征在于,北向接口采用多线程并发从EMS采集序列化后的电路结构,即所述第二二进制流。4.根据权利要求2或3所述的方法,北...
【专利技术属性】
技术研发人员:肖浩华,陈彤,
申请(专利权)人:烽火通信科技股份有限公司,
类型:发明
国别省市:湖北,42
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。