WO2017000678A1 - 一种网管系统间报文的通信方法及系统 - Google Patents

一种网管系统间报文的通信方法及系统 Download PDF

Info

Publication number
WO2017000678A1
WO2017000678A1 PCT/CN2016/081762 CN2016081762W WO2017000678A1 WO 2017000678 A1 WO2017000678 A1 WO 2017000678A1 CN 2016081762 W CN2016081762 W CN 2016081762W WO 2017000678 A1 WO2017000678 A1 WO 2017000678A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
network management
configuration file
management system
command
Prior art date
Application number
PCT/CN2016/081762
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 WO2017000678A1 publication Critical patent/WO2017000678A1/zh

Links

Images

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

Definitions

  • This document relates to, but is not limited to, the field of computer communication, and in particular, to a method and system for communicating messages between network management systems.
  • ASN Abstract Syntax Notation
  • the related processing method is to prepare a copy of the differentiated message version for different versions of the network management system, and copy the field-by-field copy by manual coding when converting between different levels.
  • the above processing methods have the following problems: (1) there are many unnecessary copying actions; (2) manual writing is highly prone to problems; (3) each difference message is solved one by one, resulting in a considerable workload; If there are different sub-messages nested in the message of the same name, the message needs to be converted by field-by-field coding. It is often difficult to find in actual operation, which causes runtime error reporting and becomes a potential system hazard.
  • the embodiment of the invention provides a communication method and a system for different packets between the network management systems, which can automatically process the compatibility of the communication packets when the network operation and maintenance system is connected to the network management system of different versions, and improve the processing efficiency of the packets.
  • An embodiment of the present invention provides a method for communicating a packet between network management systems, including: reading a configuration file; and when receiving a command for storing the configuration file, generating a corresponding information according to the processing information corresponding to the command in the configuration file
  • the packet is converted into a packet conforming to the packet format of the target network management system, and the converted packet is sent to the target network management system; the result packet returned by the target network management system is converted into a source network management system.
  • the packet in the system packet format.
  • the method before the reading the configuration file, the method further includes: setting a configuration file, where the configuration file includes processing information corresponding to the command name and the command name.
  • the processing information corresponding to the command name includes: a command code, a message name of the input and output parameters, other auxiliary functions, a attention field of the message, and a processing manner of the corresponding field.
  • the packet is converted to meet the target network management.
  • the method further includes: managing the life cycle of the packet.
  • the method further includes: when the packet is returned in the form of big data, the encapsulated processing function is called, and the return is performed.
  • the packet of the source network management system is processed.
  • the embodiment of the invention further provides a communication system for the message between the network management systems, comprising: a reading module, configured to read the configuration file; and the first packet processing module is configured to receive the command stored in the configuration file. And generating, according to the processing information corresponding to the command in the configuration file, the corresponding packet, converting the packet into a packet conforming to the target network management system packet format, and the converted packet is The packet is sent to the target network management system.
  • the second packet processing module is configured to convert the result packet returned by the target network management system into a packet conforming to the source network management system packet format.
  • system further includes: a setting module, configured to set a configuration file, where the configuration file includes processing information corresponding to the command name and the command name.
  • a setting module configured to set a configuration file, where the configuration file includes processing information corresponding to the command name and the command name.
  • the processing information corresponding to the command name includes: a command code, a message name of the input and output parameters, other auxiliary functions, a attention field of the message, and a processing manner of the corresponding field.
  • the first packet processing module is further configured to manage a life cycle of the packet.
  • the second packet processing module is further configured to: when the result packet returned by the target network management system is converted into a packet conforming to the packet format of the source network management system, when the packet is returned in the form of big data, The encapsulated processing function is called to process the packet returned to the source network management system.
  • the configuration file is read; when the configuration file storage command is received, the corresponding message is generated according to the processing information corresponding to the command in the configuration file, and the packet is converted into the target network management system.
  • the packet in the packet format is sent to the target network management system.
  • the result packet returned by the target network management system is converted into a packet conforming to the source network system packet format.
  • the implementer of the network operation and maintenance system can be compatible with the message communication between different network management systems through the configuration file. This greatly saves development, testing, maintenance and expansion costs. Moreover, the embodiment of the present invention automatically converts the content of the message, which greatly reduces the workload caused by the adaptation and conversion of the ASN message.
  • FIG. 1 is a flowchart of a method for communicating packets between network management systems according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for communicating packets between network management systems according to an application example of the present invention
  • FIG. 3 is a schematic structural diagram of a communication system of a message between network management systems according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for communicating packets between network management systems according to an embodiment of the present invention. As shown in FIG. 1 , the method for communicating packets between network management systems provided in this embodiment includes the following steps:
  • Step 11 Read the configuration file.
  • the method further includes: setting a configuration file, where the configuration file includes processing information corresponding to the command name and the command name.
  • the processing information corresponding to the command name includes: a command code, a message name of the input and output parameters, other auxiliary functions, a attention field of the message, and a processing manner of the corresponding field.
  • the first part of the configuration file is the name of each processing mode (ie, the user-defined command name) and its corresponding command code.
  • the message corresponding to the command code can be processed in a subsequent different processing manner.
  • the correspondence between the read command code and the specific content of the message can be a one-to-many relationship.
  • the second part of the configuration file is the message name of the input and output parameters and other auxiliary functions (for example, filtering, filtering, entering the database, etc.). Through this configuration condition, the user can clearly describe the input and return of the message without coding.
  • the third part of the configuration file is the attention field of the message and the processing method corresponding to each field.
  • the foregoing processing methods include, for example, reservation, exclusion, filtering, conversion, and the like.
  • Step 12 When receiving the command to store the configuration file, generate a corresponding packet according to the processing information corresponding to the command in the configuration file, and convert the packet into a packet conforming to the target network management system packet format, and The converted packet is sent to the target network management system.
  • the processing information in the configuration file is executed, and the corresponding packet is generated.
  • the reflection is used to generate the required packets, and the lifetime of the message is automatically managed by the memory reference counter.
  • the switching of the packet field is performed, and the difference in the content of the packet field between each network management system is processed, and the converted packet is sent to the target network management system.
  • the default packet processing mode matching the target network management system is adopted to ensure backward compatibility of the processing mode.
  • Step 13 Convert the result packet returned by the target network management system to the source network management system message grid. Type of message.
  • the content of the packet in the network management system field is reversely processed and converted into the content format information of the source network management system.
  • the method further includes: when the packet is a packet returned in the form of big data, calling the encapsulated processing function to process the packet returned to the source network management system.
  • the encapsulator invokes the application layer. The function encapsulation is performed, and the encapsulator is called after the packet is converted, so that the application layer network management system does not need to wait for and copy the packet returned by the target network management system.
  • FIG. 2 is a flowchart of a method for communicating packets between network management systems according to an application example of the present invention. As shown in FIG. 2, the communication method of the message between the network management systems provided by the application example is applied to the source network management system, and includes the following steps:
  • Step 101 Read a configuration file, where the configuration file includes, for example, a command name, a command code corresponding to the command name, a message name of the input and output parameters, other auxiliary functions (such as filtering), and a message delivery manner.
  • the configuration file includes, for example, a command name, a command code corresponding to the command name, a message name of the input and output parameters, other auxiliary functions (such as filtering), and a message delivery manner.
  • Step 102 Determine whether the received command name exists in the record of the configuration file
  • Step 103 If there is no record in the configuration file, it is executed according to the original manual implementation manner, and is compatible with the compatible processing manner of the packet communication between the original network management systems, and the process ends;
  • Step 104 If there is a record of the command name in the configuration file, check the legality of the configuration parameters (including the command name, parameters, and actions);
  • Step 105 After passing the legality check, obtain the message name and delivery mode of the input and output parameters.
  • Step 106 Generate a corresponding packet, and perform lifecycle management of the packet.
  • Step 107 Automatically convert according to the target network management system message format, and correct the message content to the target network management system message;
  • Step 108 Automatically determine whether the message needs to be returned in the form of big data
  • Step 109 If the packet is to be returned in the form of big data, the source network management system sends the converted packet to the target network management system, and the target network management system returns the result packet.
  • Step 110 Convert and correct the content of the result packet to the source network management system packet format, and perform other auxiliary functions such as packet filtering in the configuration file.
  • Step 111 Invoking a user-defined processing method, for example, calling the encapsulated processing function, if the message return is still not completed, return to step 109;
  • Step 112 If the packet is not returned in the form of big data, the source network management system sends the converted packet to the target network management system, and the target network management system returns the result packet.
  • Step 113 Convert and correct the content of the result packet to the source network management system packet format, and perform other auxiliary functions such as packet filtering in the configuration file.
  • Step 114 Switch the result to the message pointer delivered by the user, and implement a no-copy return result, and the process ends.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the embodiment of the present invention further provides a communication system for messages between network management systems, as shown in FIG. 3, including:
  • Read module set to read the configuration file
  • the first packet processing module is configured to: when receiving the command for storing the configuration file, generate a corresponding packet according to the processing information corresponding to the command in the configuration file, and convert the packet into a target network management
  • the packet in the system packet format is sent to the target network management system.
  • the second packet processing module is configured to convert the result packet returned by the target network management system into a packet conforming to the source network system packet format.
  • the system further includes a setting module, configured to set a configuration file, where the configuration file includes processing information corresponding to the command name and the command name.
  • the processing information corresponding to the command name includes: a command code, a message name of the input and output parameters, other auxiliary functions, a attention field of the message, and a processing manner of the corresponding field.
  • the first packet processing module is further configured to manage a life cycle of the packet.
  • the second packet processing module is further configured to return the result packet returned by the target network management system to a packet conforming to the packet format of the source network management system, and then return the data in a large data format.
  • the encapsulated processing function is called to process the packet returned to the source network management system.
  • the system is applied, for example, to a source network management system.
  • the present invention is not limited thereto.
  • the system can also be set up independently.
  • the packet processing between the network management systems only needs to be configured, the development test steps are omitted, and the maintenance is facilitated; the message and the command are decoupled, that is, different upper layer requirements can be configured with the same command.
  • the user obtains different names and processing methods to obtain different results; the packets are encapsulated in the network management system to achieve the transparent transmission effect, greatly improving the efficiency and reducing the memory peak; for different network management systems, automatically converting the message content as the target
  • the format recognized by the network management system; packet filtering and additional processing interfaces not only improve efficiency, but also greatly enhance scalability; moreover, provide multiple callback schemes to greatly improve the iterative processing efficiency of big data.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solutions enable the processing performance, stability, and security of communication packets between different versions of the NMS to reach a high level and are easy to maintain.
  • the network operation and maintenance system does not require user intervention when accessing different versions of the NMS, and automatically processes the communication report.
  • the compatibility of the network operation and maintenance system, the implementer of the network operation and maintenance system can be compatible with the message communication between different network management systems through the configuration file, thereby greatly saving the development, testing, maintenance and expansion costs; greatly reducing the ASN message.

Landscapes

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

Abstract

一种网管系统间报文的通信方法及系统,包括:读取配置文件;当接收到配置文件存储的命令时,根据配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系统;将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。上述技术方案提供的网管系统间不同报文的通信方法及系统,能够解决相关技术中存在的报文兼容及效率弊端。

Description

一种网管系统间报文的通信方法及系统 技术领域
本文涉及但不限于计算机通信领域,尤其涉及一种网管系统间报文的通信方法及系统。
背景技术
同一个软件产品的不同衍生品,随着各自的演进过程,其内部的通信报文会不断演进,但是当这些同源产品之间需要通信的时候,报文之间的兼容性会逐渐成为一个严重的问题,使得不同产品之间的通信变得十分脆弱和低效,在网管产品之间这种情况尤为突出。
实际运用中,网管产品通常采用抽象语法标记(ASN,Abstract Syntax Notation)报文进行通信,ASN报文之中的字段经常变化,但其变化具有以下特点:(1)报文字段大多都是递增的,很少有删减;(2)报文之间编解码协议通常不会发生变化,变化的只是报文量;(3)报文名称很少改变,即使改变也是有限的,字面上有迹可循;(4)最常用及最有意义的字段保持不变。当更高层次的网管系统(如网络运维系统)需要接入不同版本的网管系统来获取数据(例如,实现对这些网管系统的智能健康检查)时,不同版本系统报文的差异性会随着管理的网管系统的版本增多而快速增加。
针对上述问题,相关的处理方式是为不同版本网管系统都准备一份有差异性的报文版本的副本,并且在不同层次间转换的时候,用手工编码形式逐字段拷贝。然而,上述处理方式存在以下问题:(1)存在很多不必要的拷贝动作;(2)手工编写极易出现问题;(3)每个差异报文逐个解决,造成相当大的工作量;(4)若在相同名称的报文内有不同的子报文嵌套入,则该报文整体需要进行逐字段编码转换操作,实际经常难以发现,造成运行时报错,更甚成为潜在的系统隐患。
鉴于以上情况,随着各系统的发展,需要提供一种新的报文处理机制, 以简单易用的形式,处理以上各种现存的报文兼容及效率弊端。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种网管系统间不同报文的通信方法及系统,能够实现网络运维系统在接入不同版本网管系统时自动处理通信报文的兼容性,提高报文处理效率。
本发明实施例提供一种网管系统间报文的通信方法,包括:读取配置文件;当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系统;将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。
可选地,所述读取配置文件之前,还包括:设置配置文件,其中,所述配置文件包括命令名称、命令名称对应的处理信息。
可选地,所述命令名称对应的处理信息包括:命令码、输入输出参数的报文名称、其他辅助功能、报文的关注字段以及相应字段的处理方式。
可选地,所述当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文之后,所述将所述报文转换为符合目标网管系统报文格式的报文之前,还包括:管理所述报文的生命周期。
可选地,所述将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文之后,还包括:当以大数据形式返回报文时,调用封装的处理函数,对返回给源网管系统的报文进行处理。
本发明实施例还提供一种网管系统间报文的通信系统,包括:读取模块,设置为读取配置文件;第一报文处理模块,设置为当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下 发给目标网管系统;第二报文处理模块,设置为将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。
可选地,上述系统还包括:设置模块,设置为设置配置文件,其中,所述配置文件包括命令名称、命令名称对应的处理信息。
可选地,所述命令名称对应的处理信息包括:命令码、输入输出参数的报文名称、其他辅助功能、报文的关注字段以及相应字段的处理方式。
可选地,所述第一报文处理模块,还设置为管理所述报文的生命周期。
可选地,所述第二报文处理模块,还设置为将目标网管系统返回的结果报文转换为符合源网管系统的报文格式的报文之后,当以大数据形式返回报文时,调用封装的处理函数,对返回给源网管系统的报文进行处理。
在本发明实施例中,读取配置文件;当接收到配置文件存储的命令时,根据配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系统;将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。如此,使得不同版本网管系统之间通信报文处理性能、稳定性、安全性均达到较高水平,而且,便于维护。网络运维系统在接入不同版本网管系统时无需用户干预,自动处理通信报文的兼容性,网络运维系统的实现者只需通过配置文件就可以兼容不同网管系统之间的报文通信,从而极大地节省开发、测试、维护及扩展成本。而且,本发明实施例自带报文内容转换,大大地减少了ASN报文适配及转换所带来的工作量。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例提供的网管系统间报文的通信方法的流程图;
图2为本发明应用示例提供的网管系统间报文的通信方法的流程图;
图3为本发明实施例提供的网管系统间报文的通信系统组成模块图。
本发明的实施方式
以下结合附图对本发明的实施例进行详细说明,应当理解,以下所说明的实施例仅用于说明和解释本发明,并不用于限定本发明。
图1为本发明实施例提供的网管系统间报文的通信方法的流程图。如图1所示,本实施例提供的网管系统间报文的通信方法包括以下步骤:
步骤11:读取配置文件。
可选的,于步骤11之前,该方法还包括:设置配置文件,其中,配置文件包括命令名称、命令名称对应的处理信息。其中,命令名称对应的处理信息包括:命令码、输入输出参数的报文名称、其他辅助功能、报文的关注字段以及相应字段的处理方式。
可选的,配置文件第一部分为每种处理方式的名称(即,用户定义的命令名称)及其对应的命令码。如此,使得命令码对应返回的报文可以用后续不同的处理方式处理,换句话说,使读取命令码与报文的具体内容的对应关系可以成为一对多的关系。配置文件第二部分为输入输出参数的报文名称以及其他辅助功能(例如,过滤、筛选,入数据库等)。通过此配置条件,使得用户可以不用通过编码即可清楚描述报文的输入和返回。配置文件第三部分为报文的关注字段以及对应每个字段的处理方式,上述处理方式例如包括保留、排除、过滤、转换等。
步骤12:当接收到配置文件存储的命令时,根据配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系统。
可选的,当配置文件包含相应命令对应的处理信息时,执行配置文件内的处理信息,生成相应的报文。例如,使用反射生成配置所需报文,并通过内存引用计数器对报文的生命周期进行自动管理。其中,在切换报文字段的同时,处理每个网管系统之间报文字段的内容上的差异性,并将转换后的报文下发给目标网管系统。
另外,当配置文件没有包含相应命令对应的处理信息时,采用与目标网管系统匹配的默认的报文处理方式,以保证处理方式的向下兼容性。
步骤13:将目标网管系统返回的结果报文转换为符合源网管系统报文格 式的报文。
可选的,当收到目标网管系统的内容信息后,反向处理网管系统字段的报文内容,转换为源网管系统的内容格式信息。
可选的,于步骤13之后,该方法还包括:当所述报文为以大数据形式返回的报文时,调用封装的处理函数,对返回给源网管系统的报文进行处理。可选的,当命令需要查询的数据量较大时,报文从应用层网管系统到目标网管系统之间的传递时间和占用资源变得不可忽略,此时,采用封装器将应用层调用的处理函数封装,在报文转换后调用该封装器,使应用层网管系统无需等待和复制目标网管系统回传的报文。
图2为本发明应用示例提供的网管系统间报文的通信方法的流程图。如图2所示,本应用示例提供的网管系统间报文的通信方法,应用于源网管系统,包括以下步骤:
步骤101:读取配置文件,其中,配置文件例如包括命令名称、命令名称对应的命令码、输入输出参数的报文名称、其他辅助功能(如过滤)、报文下发方式等信息;
步骤102:判断接收到的命令名称是否存在配置文件的记录里;
步骤103:若配置文件内无记录,则按照原有手工实现方式执行,以兼容原有的网管系统间报文通信的兼容处理方式,流程结束;
步骤104:若配置文件内有该命令名称的记录,则检查配置参数(包括命令名称、参数及动作)的合法性;
步骤105:通过合法性检查后,获取输入输出参数的报文名称及下发方式;
步骤106:生成对应的报文,并进行报文的生命周期管理;
步骤107:自动根据目标网管系统报文格式进行转换,并修正报文内容为目标网管系统报文;
步骤108:自动判断是否需以大数据形式返回报文;
步骤109:若需以大数据形式返回报文,源网管系统下发转换后的报文给目标网管系统,目标网管系统返回结果报文;
步骤110:转换并修正结果报文内容为源网管系统报文格式,同时执行配置文件中报文过滤等其他辅助功能;
步骤111:调用用户定义的处理方法,例如,调用封装的处理函数,若报文返回仍未完成,返回步骤109;
步骤112:若无需以大数据形式返回报文,源网管系统下发转换后的报文给目标网管系统,目标网管系统返回结果报文;
步骤113:转换并修正结果报文内容为源网管系统报文格式,同时执行配置文件中报文过滤等其他辅助功能;
步骤114:将结果切换到用户传递的报文指针,实现无拷贝返回结果,流程结束。
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。
此外,本发明实施例还提供一种网管系统间报文的通信系统,如图3所示,包括:
读取模块,设置为读取配置文件;
第一报文处理模块,设置为当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系统;
第二报文处理模块,设置为将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。
可选的,于一实施例中,该系统还包括设置模块,设置为设置配置文件,其中,所述配置文件包括命令名称、命令名称对应的处理信息。其中,命令名称对应的处理信息包括:命令码、输入输出参数的报文名称、其他辅助功能、报文的关注字段以及相应字段的处理方式。
可选的,于一实施例中,第一报文处理模块,还设置为管理报文的生命周期。
可选的,于一实施例中,第二报文处理模块,还设置为将目标网管系统返回的结果报文转换为符合源网管系统的报文格式的报文之后,当以大数据形式返回报文时,调用封装的处理函数,对返回给源网管系统的报文进行处理。
于此,该系统例如应用于源网管系统。然而,本发明对此并不限定。该系统亦可独立设置。
此外,上述系统的具体处理流程同上述方法所述,故于此不再赘述。
综上所述,在本发明实施例中,网管系统间报文处理只需配置文件即可,省略了开发测试步骤,便于维护;报文与命令解耦合,即不同上层需求可配置相同的命令,但通过用户定义不同的名称及处理方式得到不同的结果;报文在网管系统内通过封装,达到透传的效果,大幅提高效率降低内存峰值;针对不同网管系统,自动转换报文内容为目标网管系统可识别的格式;报文添加过滤及额外处理接口,不仅提高效率,也极大增强了可扩展性;而且,提供多种回调方案,大大提高对大数据的迭代处理效率。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。
以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的 原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。
工业实用性
上述技术方案使得不同版本网管系统之间通信报文处理性能、稳定性、安全性均达到较高水平,便于维护;网络运维系统在接入不同版本网管系统时无需用户干预,自动处理通信报文的兼容性,网络运维系统的实现者只需通过配置文件就可以兼容不同网管系统之间的报文通信,从而极大地节省开发、测试、维护及扩展成本;大大地减少了ASN报文适配及转换所带来的工作量。

Claims (10)

  1. 一种网管系统间报文的通信方法,包括:
    读取配置文件;
    当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系统;
    将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。
  2. 如权利要求1所述的方法,还包括:
    所述读取配置文件之前,设置配置文件,其中,所述配置文件包括命令名称、命令名称对应的处理信息。
  3. 如权利要求2所述的方法,其中,所述命令名称对应的处理信息包括:命令码、输入输出参数的报文名称、其他辅助功能、报文的关注字段以及相应字段的处理方式。
  4. 如权利要求1所述的方法,还包括:
    所述当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文之后,所述将所述报文转换为符合目标网管系统报文格式的报文之前,管理所述报文的生命周期。
  5. 如权利要求1所述的方法,还包括:
    所述将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文之后,当以大数据形式返回报文时,调用封装的处理函数,对返回给源网管系统的报文进行处理。
  6. 一种网管系统间报文的通信系统,包括:
    读取模块,设置为读取配置文件;
    第一报文处理模块,设置为当接收到所述配置文件存储的命令时,根据所述配置文件内该命令对应的处理信息,生成对应的报文,将所述报文转换为符合目标网管系统报文格式的报文,并将转换后的报文下发给目标网管系 统;
    第二报文处理模块,设置为将目标网管系统返回的结果报文转换为符合源网管系统报文格式的报文。
  7. 如权利要求6所述的系统,还包括:
    设置模块,设置为设置配置文件,其中,所述配置文件包括命令名称、命令名称对应的处理信息。
  8. 如权利要求7所述的系统,其中,
    所述命令名称对应的处理信息包括:命令码、输入输出参数的报文名称、其他辅助功能、报文的关注字段以及相应字段的处理方式。
  9. 如权利要求6所述的系统,
    所述第一报文处理模块,还设置为管理所述报文的生命周期。
  10. 如权利要求6所述的系统,
    所述第二报文处理模块,还设置为将目标网管系统返回的结果报文转换为符合源网管系统的报文格式的报文之后,当以大数据形式返回报文时,调用封装的处理函数,对返回给源网管系统的报文进行处理。
PCT/CN2016/081762 2015-07-01 2016-05-11 一种网管系统间报文的通信方法及系统 WO2017000678A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510379818.3 2015-07-01
CN201510379818.3A CN106330519B (zh) 2015-07-01 2015-07-01 一种网管系统间报文的通信方法及系统

Publications (1)

Publication Number Publication Date
WO2017000678A1 true WO2017000678A1 (zh) 2017-01-05

Family

ID=57607744

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081762 WO2017000678A1 (zh) 2015-07-01 2016-05-11 一种网管系统间报文的通信方法及系统

Country Status (2)

Country Link
CN (1) CN106330519B (zh)
WO (1) WO2017000678A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729117B (zh) * 2017-10-30 2020-10-27 华为技术有限公司 一种报文处理的方法、芯片系统以及计算机存储介质
CN113296745B (zh) * 2021-05-21 2024-04-09 中国邮政储蓄银行股份有限公司 数据的处理方法及装置、计算机可读存储介质、处理器
CN114398322B (zh) * 2021-12-07 2023-10-03 中国船舶重工集团公司第七0七研究所 一种适用于水下装备的网络文件管理方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094104A (zh) * 2007-07-30 2007-12-26 中兴通讯股份有限公司 一种通过安全网管代理进行设备管理的方法及其装置
WO2008052389A1 (fr) * 2006-11-02 2008-05-08 Zte Corporation Procédé et système de réalisation d'interfaces universelles dans le système de gestion de réseau
CN101325514A (zh) * 2008-07-21 2008-12-17 中兴通讯股份有限公司 一种流程可配置的通讯网管适配器框架及实现方法
CN101335648A (zh) * 2008-07-25 2008-12-31 中兴通讯股份有限公司 一种不同接口报文间的自动转换方法及其装置
WO2012106938A1 (zh) * 2011-07-27 2012-08-16 华为技术有限公司 一种基于北向接口的业务实现方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008052389A1 (fr) * 2006-11-02 2008-05-08 Zte Corporation Procédé et système de réalisation d'interfaces universelles dans le système de gestion de réseau
CN101094104A (zh) * 2007-07-30 2007-12-26 中兴通讯股份有限公司 一种通过安全网管代理进行设备管理的方法及其装置
CN101325514A (zh) * 2008-07-21 2008-12-17 中兴通讯股份有限公司 一种流程可配置的通讯网管适配器框架及实现方法
CN101335648A (zh) * 2008-07-25 2008-12-31 中兴通讯股份有限公司 一种不同接口报文间的自动转换方法及其装置
WO2012106938A1 (zh) * 2011-07-27 2012-08-16 华为技术有限公司 一种基于北向接口的业务实现方法及装置

Also Published As

Publication number Publication date
CN106330519B (zh) 2019-12-17
CN106330519A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
US10715630B2 (en) Common information model interoperability system
US10834013B2 (en) Network slice management
JP5052568B2 (ja) ネットワーク内の装置を管理するための方法、システム、およびプログラム
US8626778B2 (en) System and method for conversion of JMS message data into database transactions for application to multiple heterogeneous databases
TWI479341B (zh) 資訊系統中轉換資料之高處理能力,可靠複寫
US10310828B2 (en) System and method for providing and executing a domain-specific language for cloud services infrastructure
US7085851B2 (en) SNMP interface to existing resource management extension-enabled management agents
CN102447585B (zh) 将网络配置协议响应报文转换为命令行的方法及装置
US9646020B2 (en) Integrated format conversion during disk upload
US10565169B2 (en) System and method for dynamic generation of a management information base through common information model class transformation
WO2017000678A1 (zh) 一种网管系统间报文的通信方法及系统
CN101043379A (zh) 网络管理装置与网络管理方法
US11303583B2 (en) Resource trees by management controller
KR20080043517A (ko) 통신 소프트웨어 구조에서의 도메인 프로파일 파싱 장치 및그 방법
US10262024B1 (en) Providing consistent access to data objects transcending storage limitations in a non-relational data store
US20180347842A1 (en) Energy operations across domains
US20170032052A1 (en) Graph data processing system that supports automatic data model conversion from resource description framework to property graph
US8997116B2 (en) Event logging application programming interface (API)
CN113381870A (zh) 报文处理方法和设备
CN109144512B (zh) 一种生成api的方法和系统
US20240095033A1 (en) Systems and methods for handling macro compatibility for documents at a storage system
WO2023029881A1 (zh) 设备控制方法及装置
CN112148299A (zh) 字节码对象拷贝方法、装置、设备和存储介质
CN111723036B (zh) 数据处理方法、相关设备及计算机存储介质
WO2016206469A1 (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: 16817042

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817042

Country of ref document: EP

Kind code of ref document: A1