WO2024045765A1 - Slave gateway configuration method, electronic device and computer-readable storage medium - Google Patents

Slave gateway configuration method, electronic device and computer-readable storage medium Download PDF

Info

Publication number
WO2024045765A1
WO2024045765A1 PCT/CN2023/100057 CN2023100057W WO2024045765A1 WO 2024045765 A1 WO2024045765 A1 WO 2024045765A1 CN 2023100057 W CN2023100057 W CN 2023100057W WO 2024045765 A1 WO2024045765 A1 WO 2024045765A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
configuration
slave
slave gateway
configuration file
Prior art date
Application number
PCT/CN2023/100057
Other languages
French (fr)
Chinese (zh)
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 WO2024045765A1 publication Critical patent/WO2024045765A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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/0803Configuration setting
    • 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/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

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

Abstract

Provided in the present disclosure are a slave gateway configuration method, an electronic device and a computer-readable storage medium. The slave gateway configuration method comprises: generating a slave gateway configuration file according to a configuration parameter of the current master gateway and a template configuration file that corresponds to a slave gateway; and issuing the slave gateway configuration file to the slave gateway when the slave gateway accesses the current master gateway.

Description

从网关配置方法、电子设备和计算机可读存储介质From gateway configuration methods, electronic devices and computer-readable storage media
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年8月30日提交的名称为“从网关配置方法、电子设备和计算机可读存储介质”的中国专利申请CN202211055723.2的优先权,其全部内容通过引用并入本文中。This application claims priority to Chinese patent application CN202211055723.2 titled "Slave gateway configuration method, electronic device and computer-readable storage medium" filed on August 30, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信领域,尤其涉及一种从网关配置方法、电子设备和计算机可读存储介质。The present disclosure relates to the field of communications, and in particular, to a slave gateway configuration method, an electronic device, and a computer-readable storage medium.
背景技术Background technique
在当前光纤敷设到远端节点(FTTR,Fiber to the Room)全光网关组网方式下,当前主、从网关配置大都仍由自动配置服务器(ACS,Auto-Configuration Server)终端综合管理系统(ITMS,Integrated Terminal Management System)网管或云平台等媒介进行管理。在FTTR组网方式下,由于从网关接入数量较多,主、从网关首次连接时需要上报0boot,需要周期性上报从网关设备状态信息,如部分ITMS规范定义了主网关扩展参数LANDevice节点LANPONInterfaceConfig.{i}以获取主网关用户侧光端口使能、无源光网络(PON,Passive Optical Network)端口状态、设备信息、逻辑标识(LOID)等信息,并在节点状态变更时主动上报网管。而如果从网关的配置管理全部都由ITMS网管或云平台进行管理,对ITMS网管或云平台的处理负载会有一定影响。In the current all-optical gateway networking mode of fiber laying to the remote node (FTTR, Fiber to the Room), most of the current master and slave gateway configurations are still performed by the Auto-Configuration Server (ACS, Auto-Configuration Server) Integrated Terminal Management System (ITMS) , Integrated Terminal Management System) network management or cloud platform and other media for management. In FTTR networking mode, due to the large number of slave gateways, the master and slave gateways need to report 0boot when connecting for the first time, and slave gateway device status information needs to be reported periodically. For example, some ITMS specifications define the master gateway extended parameter LANDevice node LANPONInterfaceConfig .{i}To obtain the main gateway user-side optical port enablement, Passive Optical Network (PON, Passive Optical Network) port status, device information, logical identification (LOID) and other information, and actively report to the network management when the node status changes. And if the configuration and management of the gateway are all managed by the ITMS network management or cloud platform, it will have a certain impact on the processing load of the ITMS network management or cloud platform.
发明内容Contents of the invention
本公开提供一种从网关配置方法、电子设备和计算机可读存储介质。The present disclosure provides a slave gateway configuration method, an electronic device, and a computer-readable storage medium.
本公开提供了一种从网关配置方法,用于主网关,所述从网关配置方法包括:根据当前主网关的配置参数和与从网关对应的模板配 置文件,生成从网关配置文件;在从网关接入到当前主网关的情况下,向所述从网关下发所述从网关配置文件。The present disclosure provides a slave gateway configuration method for a master gateway. The slave gateway configuration method includes: configuring according to the current configuration parameters of the master gateway and the template corresponding to the slave gateway. configuration file to generate a slave gateway configuration file; when the slave gateway accesses the current primary gateway, deliver the slave gateway configuration file to the slave gateway.
本公开还提供了一种从网关配置方法,用于从网关,所述从网关配置方法包括:接收当前从网关所接入的主网关下发的从网关配置文件,其中,所述从网关配置文件包括基于当前从网关接入的主网关的主网关配置参数和与当前从网关对应的模板配置文件生成的从网关配置文件。The present disclosure also provides a slave gateway configuration method for the slave gateway. The slave gateway configuration method includes: receiving a slave gateway configuration file issued by a master gateway currently connected to the slave gateway, wherein the slave gateway configuration The file includes a slave gateway configuration file generated based on the master gateway configuration parameters of the master gateway currently connected to the slave gateway and the template configuration file corresponding to the current slave gateway.
本公开还提供了一种电子设备,所述电子设备包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据本公开的从网关配置方法。The present disclosure also provides an electronic device. The electronic device includes: one or more processors; a memory on which one or more programs are stored. When the one or more programs are processed by the one or more The processor executes, causing the one or more processors to implement the slave gateway configuration method according to the present disclosure.
本公开还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器实现根据本公开的从网关配置方法。The present disclosure also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the processor implements the slave gateway configuration method according to the present disclosure. .
附图说明Description of drawings
图1是根据本公开的从网关配置方法的流程图。Figure 1 is a flow chart of a slave gateway configuration method according to the present disclosure.
图2是根据本公开的从网关配置方法的另一流程图。Figure 2 is another flowchart of a slave gateway configuration method according to the present disclosure.
图3是根据本公开的从网关配置方法的流程图。Figure 3 is a flow chart of a slave gateway configuration method according to the present disclosure.
图4是根据本公开的从网关配置方法的流程图。Figure 4 is a flow chart of a slave gateway configuration method according to the present disclosure.
图5是根据本公开的从网关配置方法的流程图。Figure 5 is a flow chart of a slave gateway configuration method according to the present disclosure.
图6是根据本公开的从网关配置方法的流程图。Figure 6 is a flow chart of a slave gateway configuration method according to the present disclosure.
图7是根据本公开的从网关配置方法的流程图。Figure 7 is a flow chart of a slave gateway configuration method according to the present disclosure.
图8是根据本公开的从网关配置方法的另一流程图。Figure 8 is another flowchart of a slave gateway configuration method according to the present disclosure.
图9是根据本公开的从网关配置方法的另一流程图。Figure 9 is another flowchart of a slave gateway configuration method according to the present disclosure.
图10是根据本公开的从网关配置方法的另一流程图。Figure 10 is another flowchart of a slave gateway configuration method according to the present disclosure.
图11是根据本公开的从网关配置方法的另一流程图。Figure 11 is another flowchart of a slave gateway configuration method according to the present disclosure.
图12是根据本公开的从网关配置方法的另一流程图。Figure 12 is another flowchart of a slave gateway configuration method according to the present disclosure.
图13是根据本公开的从网关配置方法的另一流程图。Figure 13 is another flowchart of a slave gateway configuration method according to the present disclosure.
图14是传统的FTTR主、从网关配置管理架构示意图。 Figure 14 is a schematic diagram of the traditional FTTR master and slave gateway configuration and management architecture.
图15是根据本公开的FTTR主、从网关配置文件同步架构示意图。Figure 15 is a schematic diagram of the FTTR master and slave gateway configuration file synchronization architecture according to the present disclosure.
图16是根据本公开的MIB同步阶段上报文件信息的流程图。Figure 16 is a flow chart of reporting file information in the MIB synchronization stage according to the present disclosure.
图17是根据本公开的MIB同步之后查询文件信息的流程图。Figure 17 is a flowchart of querying file information after MIB synchronization according to the present disclosure.
图18是根据本公开的从网关配置文件下发正常的流程图。Figure 18 is a normal flow chart for delivering a configuration file from a gateway according to the present disclosure.
图19是根据本公开的从网关配置文件下发异常的流程图。Figure 19 is a flow chart of issuing exceptions from a gateway configuration file according to the present disclosure.
图20是根据本公开的从网关配置文件预检的流程图。Figure 20 is a flow diagram for preflighting from a gateway configuration file in accordance with the present disclosure.
图21是根据本公开的从网关XML配置文件格式的示意图。Figure 21 is a schematic diagram of a slave gateway XML configuration file format according to the present disclosure.
图22是根据本公开的从网关JSON配置文件格式的示意图。Figure 22 is a schematic diagram of a slave gateway JSON configuration file format according to the present disclosure.
图23是根据本公开实的电子设备的示意图。Figure 23 is a schematic diagram of an electronic device according to the present disclosure.
图24是根据本公开的计算机可读存储介质的示意图。Figure 24 is a schematic diagram of a computer-readable storage medium in accordance with the present disclosure.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。It should be understood that the specific embodiments described here are only used to explain the present disclosure and are not used to limit the present disclosure.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本公开的说明,其本身没有特有的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present disclosure and have no specific meaning in themselves. Therefore, "module", "component" or "unit" may be used interchangeably.
在FTTR主、从网关组网场景下,同一主网关下各从网关配置基本一致,部分方案提出应支持通过主、从网关之间eLink扩展协议下发从网关有线、无线相关配置,涉及动态主机配置协议(DHCP,Dynamic Host Configuration Protocol)地址分配、流量转发控制、广域网(WAN,Wide Area Network)连接配置、交互式网络电视(IPTV)业务、无线接入等参数配置。现有的通过ITMS网管或通过云平台、eLink插件使用数据总线(DBUS)接口管理光网络单元(ONU,Optical Network Unit)等方式,各业务下发配置管理流程仍相对比较复杂。In the FTTR master and slave gateway networking scenario, the configurations of each slave gateway under the same master gateway are basically the same. Some solutions propose that the wired and wireless related configurations of the slave gateway should be supported through the eLink extension protocol between the master and slave gateways, involving dynamic hosts. Configuration protocol (DHCP, Dynamic Host Configuration Protocol) address allocation, traffic forwarding control, WAN (Wide Area Network) connection configuration, interactive Internet TV (IPTV) business, wireless access and other parameter configurations. In the existing methods of managing optical network units (ONU, Optical Network Unit) through ITMS network management or cloud platforms and eLink plug-ins using data bus (DBUS) interfaces, the configuration management process for each business delivery is still relatively complex.
从网关的配置一般比较简单,而且大多配置可以直接从主网关获取同步,如WIFI帐号密码等。如何简化从网关的配置管理,以实现从网关即插即用,减轻从网关对ITMS网管或云平台的处理负载,需要提供一种有效的解决方法。针对上述问题,针对在FTTR全关组 网场景下如何简化从网关的配置管理,本公开提供了一种由主网关直接下发配置文件给从网关的解决方法,在简化从网关的配置管理的同时,也减轻从网关对ITMS网管或云平台的处理负载。The configuration of the slave gateway is generally relatively simple, and most configurations can be synchronized directly from the main gateway, such as WIFI account passwords, etc. How to simplify the configuration management of the slave gateway to achieve plug-and-play from the slave gateway and reduce the processing load of the slave gateway on the ITMS network management or cloud platform requires an effective solution. In response to the above problems, for the FTTR comprehensive group How to simplify the configuration management of the slave gateway in the network scenario. This disclosure provides a solution in which the master gateway directly issues the configuration file to the slave gateway. While simplifying the configuration management of the slave gateway, it also reduces the slave gateway's need for ITMS network management or The processing load of the cloud platform.
本公开实施例提供一种从网关配置方法,用于主网关,如图1所示,所述从网关配置方法包括如下步骤S100至S200。An embodiment of the present disclosure provides a slave gateway configuration method for a master gateway. As shown in Figure 1, the slave gateway configuration method includes the following steps S100 to S200.
在步骤S100中,根据当前主网关的配置参数和与从网关对应的模板配置文件,生成从网关配置文件。In step S100, a slave gateway configuration file is generated based on the configuration parameters of the current master gateway and the template configuration file corresponding to the slave gateway.
在步骤S200中,在从网关接入到当前主网关的情况下,向所述从网关下发所述从网关配置文件。In step S200, when the slave gateway accesses the current primary gateway, the slave gateway configuration file is delivered to the slave gateway.
由于在FTTR主、从网关组网场景下,同一主网关下各从网关配置基本一致,并且大多配置可以直接从主网关获取同步,因此,可以根据当前主网关的配置参数,生成从网关配置文件。为了方便后续版本更新,以预先规定标准格式的模板配置文件作为所有从网关配置文件的基础模板,将需要同步到从网关的主网关配置参数,按照模板配置文件的格式进行存储,生成用于下发给各个从网关的从网关配置文件。Since in the FTTR master and slave gateway networking scenario, the configurations of the slave gateways under the same master gateway are basically the same, and most configurations can be directly synchronized from the master gateway, therefore, the slave gateway configuration file can be generated based on the configuration parameters of the current master gateway. . In order to facilitate subsequent version updates, a template configuration file in a pre-specified standard format is used as the basic template for all slave gateway configuration files. The master gateway configuration parameters that need to be synchronized to the slave gateway are stored according to the format of the template configuration file and generated for the next step. Slave gateway configuration file sent to each slave gateway.
在一些实施例中,与从网关对应的模板配置文件包括与所述从网关的各个业务分别对应的配置参数模板。In some embodiments, the template configuration file corresponding to the slave gateway includes configuration parameter templates respectively corresponding to each service of the slave gateway.
现实网络中的从网关可能是多种不同厂商的设备,在各个从网关上也运行有多种不同类型的业务。因此,针对各个从网关的设备形态、以及各个业务类型,可以分别设置与之相对应的配置参数模板。主网关根据从网关的设备形态、以及从网关上所运行的各种业务类型确定出与各个业务分别对应的配置参数模板,得到与该从网关相对应的模板配置文件,结合主网关自身的配置参数和确定出的配置模板文件,生成与该从网关相对应的从网关配置文件。The slave gateways in a real network may be devices from many different manufacturers, and multiple different types of services are run on each slave gateway. Therefore, corresponding configuration parameter templates can be set for each slave gateway's device form and each service type. The master gateway determines the configuration parameter template corresponding to each service based on the device form of the slave gateway and the various service types running on the slave gateway, obtains the template configuration file corresponding to the slave gateway, and combines it with the configuration of the master gateway itself parameters and the determined configuration template file to generate a slave gateway configuration file corresponding to the slave gateway.
在一些实施例中,在向所述从网关下发从网关配置文件之前,还包括:通过当前主网关所归属的网管或管理平台下发的业务配置获得所述主网关的配置参数。In some embodiments, before delivering the secondary gateway configuration file to the secondary gateway, the method further includes: obtaining the configuration parameters of the primary gateway through the service configuration issued by the network management or management platform to which the current primary gateway belongs.
需要说明的是,主网关配置文件的来源不做限定,主网关可以根据当前网管或管理平台下发的业务配置自动生成从网关配置文件, 也可以根据主网关上当前存储的配置文件作为从网关配置文件。生成的配置文件格式不做限定,可以是具有模块化结构的可扩展标记语言(XML,Extensible Markup Language)或JS对象简谱(JSON,JavaScript Object Notation)等文件编码格式,便于对配置参数进行添加、删除、赋值、修改、等操作,还便于后续通过光网络单元管理控制接口(OMCI,ONU Management and Control Interface)或扩展操作管理维护(OAM,Operations,Administration and Maintenance)协议直接下发该配置文件给从网关。It should be noted that the source of the master gateway configuration file is not limited. The master gateway can automatically generate a slave gateway configuration file based on the business configuration issued by the current network management or management platform. You can also use the configuration file currently stored on the master gateway as the slave gateway configuration file. The format of the generated configuration file is not limited. It can be a file encoding format such as Extensible Markup Language (XML, Extensible Markup Language) or JSON (JavaScript Object Notation) with a modular structure, which facilitates the addition of configuration parameters. Deletion, assignment, modification, and other operations also facilitate subsequent direct distribution of the configuration file to the optical network unit through the optical network unit management and control interface (OMCI, ONU Management and Control Interface) or extended operations management and maintenance (OAM, Operations, Administration and Maintenance) protocol. from the gateway.
从网关接入时使用预置LOID和密码进行PON认证流程,主网关对接入的从网关进行LOID加密码认证之后,支持迷你光线路终端(MiniOLT,Mini Optical Line Terminal)功能的主网关可以支持通过物理层操作管理维护(PLOAM,Physical Layer Operations,Administration and Maintenance)、OMCI管理配置从网关WAN侧PON接口的PON层特性,其中OMCI实现的功能主要包括:从网关基本信息查询,LOID和LOID密码认证,从网关基本业务模型配置,MiniOLT主动上报从网关或自身信息。在此配置模型下,在具体实现方式上,可进一步通过OMCI私有定义中“ONU XML configuration download”或(MEClass=65300)进行扩展,增加私有属性用于下发从网关相关配置参数项。When accessing from the slave gateway, the preset LOID and password are used for the PON authentication process. After the master gateway performs LOID and password authentication on the accessed slave gateway, the master gateway that supports the Mini Optical Line Terminal (MiniOLT, Mini Optical Line Terminal) function can support Through physical layer operation management and maintenance (PLOAM, Physical Layer Operations, Administration and Maintenance) and OMCI management, the PON layer characteristics of the PON interface on the WAN side of the gateway are configured. The functions implemented by OMCI mainly include: basic information query from the gateway, LOID and LOID password Authentication, basic business model configuration from the gateway, MiniOLT actively reports information from the gateway or itself. Under this configuration model, in terms of specific implementation, it can be further expanded through "ONU XML configuration download" or (MEClass=65300) in the OMCI private definition, and private attributes are added to deliver configuration parameters related to the slave gateway.
从网关上电后根据默认预配置,能够满足基本上网和IPTV业务需求,设备的基本配置包括:向主网关PON口注册的缺省LOID和密码(password)、全球广域网(WEB,World Wide Web)登录帐号密码、无线2.4G和5G无线服务集标识(SSID,Service Set Identifier)名称以及密钥、每个WAN连接工作模式(桥接(bridge)或路由,缺省工作于桥接模式)等。After the gateway is powered on, it can meet the basic Internet and IPTV business needs according to the default preconfiguration. The basic configuration of the device includes: the default LOID and password registered to the main gateway PON port, the World Wide Web (WEB, World Wide Web) Login account password, wireless 2.4G and 5G wireless service set identifier (SSID, Service Set Identifier) name and key, each WAN connection working mode (bridge or routing, the default works in bridge mode), etc.
本公开中从网关无需修改配置,可自动同步主设备的普通用户管理员密码,可自动同步主设备Wi-Fi等配置。可通过主设备web页面修改普通用户管理员密码,修改2.4G和5G SSID或密码。主网关根据本地配置自动生成从网关XML或JSON配置文件,在从网关上电接入时根据吉比特无源光网络(GPON,Gigabit-Capable Passive  Optical Network)或以太无源光网络(EPON,Ethernet Passive Optical Network)等应用场景,通过OMCI或扩展OAM透明通道传输下载。对于新增的参数配置项,通过XML增量配置文件显示指示,从网关解析后调用相关业务模块提供的应用程序编程接口(API,Application Program Interface)接口实时同步生效。如上述操作,所有从网关的2.4G和5G SSID和密码配置都能够实时同步。In this disclosure, the slave gateway does not need to modify the configuration, and can automatically synchronize the ordinary user administrator password of the master device, and can automatically synchronize the master device Wi-Fi and other configurations. You can modify the ordinary user administrator password, and modify the 2.4G and 5G SSID or password through the main device web page. The master gateway automatically generates the slave gateway XML or JSON configuration file based on the local configuration. When the slave gateway is powered on and connected, it generates a Gigabit-Capable Passive optical network (GPON) Optical Network) or Ethernet Passive Optical Network (EPON, Ethernet Passive Optical Network) and other application scenarios, download through OMCI or extended OAM transparent channel transmission. For the newly added parameter configuration items, the instructions are displayed through the XML incremental configuration file, and the application programming interface (API, Application Program Interface) interface provided by the relevant business module is called after parsing from the gateway and takes effect synchronously in real time. As described above, all 2.4G and 5G SSID and password configurations of the slave gateway can be synchronized in real time.
本公开中主网关通过同步下发从网关配置文件至从网关的方法,可实现从网关上电后零配置接入,不再需要ITMS网管下发工单或云平台插件下发配置进行管理,可实现即插即用等优点。In this disclosure, the master gateway can achieve zero-configuration access after the slave gateway is powered on by synchronously delivering the slave gateway configuration file to the slave gateway. It no longer requires the ITMS network management to issue work orders or the cloud platform plug-in to issue configurations for management. It can achieve the advantages of plug and play.
在一些实施例中,如图3所示,所述从网关配置方法还包括以下步骤S211至S212。In some embodiments, as shown in Figure 3, the slave gateway configuration method further includes the following steps S211 to S212.
在步骤S211中,在所述主网关的配置参数发生变更的情况下,根据所述主网关的变更后的配置参数和所述与从网关对应的模板配置文件,重新生成从网关配置文件。In step S211, when the configuration parameters of the master gateway are changed, a slave gateway configuration file is regenerated based on the changed configuration parameters of the master gateway and the template configuration file corresponding to the slave gateway.
在步骤S212中,将重新生成的从网关配置文件下发至与发生变更的配置参数相对应的从网关。In step S212, the regenerated slave gateway configuration file is delivered to the slave gateway corresponding to the changed configuration parameters.
在本公开实施例中,由于从网关不再从网管更新配置文件,而是直接从主网关同步配置文件,因此,当用户通过网管对当前主网关的配置参数做出修改,或者直接在主网关上对部分参数做出了修改,或者由其他原因引起从网关配置文件中的参数发生变更时,当前主网关需要重新生成变更后的从网关配置文件,并且主动向从网关做出配置同步。In this embodiment of the present disclosure, since the slave gateway no longer updates the configuration file from the network management, but directly synchronizes the configuration file from the master gateway, when the user makes modifications to the configuration parameters of the current master gateway through the network management, or directly in the master gateway When some parameters are modified, or the parameters in the slave gateway configuration file are changed due to other reasons, the current master gateway needs to regenerate the changed slave gateway configuration file and actively synchronize the configuration with the slave gateway.
在主网关主动向从网关做出配置同步之前,可以先向从网关发出更新指示的消息,由从网关根据配置文件的版本信息、校验信息等,确定是否进行配置同步。若从网关确定需要进行配置同步,则向主网关发出配置文件更新请求。主网关收到更新请求后,开始执行向从网关同步变更后的从网关配置文件的步骤。Before the master gateway actively synchronizes the configuration to the slave gateway, it can first send an update instruction message to the slave gateway, and the slave gateway determines whether to synchronize the configuration based on the version information and verification information of the configuration file. If the secondary gateway determines that configuration synchronization is required, it sends a configuration file update request to the primary gateway. After receiving the update request, the master gateway starts to synchronize the changed slave gateway configuration file to the slave gateway.
在一些实施例中,如图4所示,所述从网关配置方法还包括以下步骤S221至S222。In some embodiments, as shown in Figure 4, the slave gateway configuration method further includes the following steps S221 to S222.
在步骤S221中,在所述主网关的配置参数发生变更的情况下, 根据所述主网关的变更后的配置参数和所述与从网关对应的模板配置文件,生成从网关的增量配置文件,其中,所述增量配置文件为针对所述主网关的变更的配置参数生成的配置片段。In step S221, when the configuration parameters of the main gateway are changed, Generate an incremental configuration file for the slave gateway based on the changed configuration parameters of the master gateway and the template configuration file corresponding to the slave gateway, where the incremental configuration file is a modified configuration for the master gateway Parameter generated configuration fragment.
在步骤S222中,将所述增量配置文件下发至接入至当前主网关的从网关,以使得所述增量配置文件与所述从网关上存储的从网关配置文件合并组成变更后的从网关配置文件。In step S222, the incremental configuration file is delivered to the slave gateway connected to the current master gateway, so that the incremental configuration file is merged with the slave gateway configuration file stored on the slave gateway to form the changed From the gateway configuration file.
配置参数变化,包括对配置参数的增加、删除、修改等操作。有时只是个别参数发生变化,若每次都重新生成完整的从网关配置文件,再向全部从网关同步完整的配置文件,对网络资源是一种浪费。因此,主网关除了根据变更的参数生成完整的从网关配置文件之外,为了节约资源,减少文件传输对网络产生的负担,还可以采用增量配置文件的方式,向从网关进行配置同步。例如,采用XML、JSON等模块化的文件编码格式,在一个增量文件中,仅包含参数变化的模块内容,实现轻量级的配置同步。从网关收到后,可以在已有配置文件的基础上仅对增量配置中的参数做出同步更新,其他内容不变。Changes in configuration parameters include operations such as adding, deleting, and modifying configuration parameters. Sometimes only a few parameters change. It would be a waste of network resources to regenerate the complete slave gateway configuration file every time and then synchronize the complete configuration file to all slave gateways. Therefore, in addition to generating a complete slave gateway configuration file based on the changed parameters, the master gateway can also use incremental configuration files to synchronize the configuration to the slave gateway in order to save resources and reduce the burden of file transfer on the network. For example, using modular file encoding formats such as XML and JSON, an incremental file only contains module content with parameter changes to achieve lightweight configuration synchronization. After receiving it from the gateway, only the parameters in the incremental configuration can be synchronously updated based on the existing configuration file, leaving other content unchanged.
与全量同步相似,在主网关主动向从网关做出增量配置同步之前,可以先向从网关发出更新指示的消息,由从网关根据配置文件的版本信息、校验信息等,确定是否进行配置同步。若从网关确定需要进行配置同步,则向主网关发出配置文件更新请求。主网关收到更新请求后,开始执行向从网关下发增量配置文件的步骤。Similar to full synchronization, before the master gateway actively performs incremental configuration synchronization with the slave gateway, it can first send an update instruction message to the slave gateway, and the slave gateway will determine whether to configure based on the version information and verification information of the configuration file. Synchronize. If the secondary gateway determines that configuration synchronization is required, it sends a configuration file update request to the primary gateway. After receiving the update request, the master gateway begins to deliver the incremental configuration file to the slave gateway.
在一些实施例中,如图5所示,所述从网关配置方法还包括以下步骤S231至S232。In some embodiments, as shown in Figure 5, the slave gateway configuration method further includes the following steps S231 to S232.
在步骤S231中,根据所述从网关的配置更新信息确定待更新的从网关。In step S231, the slave gateway to be updated is determined according to the configuration update information of the slave gateway.
在步骤S232中,将当前主网关本地存储的从网关配置文件下发至待更新的从网关。In step S232, the slave gateway configuration file stored locally by the current master gateway is delivered to the slave gateway to be updated.
进一步地,如图6所示,在根据所述从网关的配置更新信息确定待更新的从网关(即,步骤S231)之前,还包括以下步骤S233至S234。Further, as shown in Figure 6, before determining the slave gateway to be updated according to the configuration update information of the slave gateway (ie, step S231), the following steps S233 to S234 are also included.
在步骤S233中,向接入到当前主网关的至少一个从网关发出从 网关配置文件的更新检查消息。In step S233, send a slave gateway to at least one slave gateway connected to the current master gateway. Update check message for gateway configuration file.
在步骤S234中,接收各个从网关针对所述更新检查消息向当前主网关反馈的配置更新信息。In step S234, the configuration update information fed back by each slave gateway to the current master gateway in response to the update check message is received.
进一步地,如图7所示,在根据所述从网关的配置更新信息确定待更新的从网关(即,步骤S231)之前,还包括以下步骤S235至S236。Further, as shown in Figure 7, before determining the slave gateway to be updated according to the configuration update information of the slave gateway (ie, step S231), the following steps S235 to S236 are also included.
在步骤S235中,向接入到当前主网关的从网关发出配置文件查询消息。In step S235, a configuration file query message is sent to the slave gateway connected to the current master gateway.
在步骤S236中,接收所述从网关针对所述配置文件查询消息发送的配置更新信息。In step S236, receive the configuration update information sent by the slave gateway for the configuration file query message.
进一步地,根据所述从网关的配置更新信息确定待更新的从网关(即,步骤S231)包括:解析所述配置更新信息,获得从网关本地存储的从网关配置文件的版本信息;在所述从网关上存储的从网关配置文件的版本信息,与当前主网关本地存储的从网关配置文件的版本信息不同的情况下,确定该从网关为待更新的从网关。Further, determining the slave gateway to be updated according to the configuration update information of the slave gateway (ie, step S231) includes: parsing the configuration update information to obtain the version information of the slave gateway configuration file stored locally by the slave gateway; in the If the version information of the slave gateway configuration file stored on the slave gateway is different from the version information of the slave gateway configuration file stored locally on the current master gateway, the slave gateway is determined to be the slave gateway to be updated.
可替换或附加地,根据所述从网关的配置更新信息确定待更新的从网关(即,步骤S231)包括:解析所述配置更新信息,获得用于校验所述从网关上存储的从网关配置文件完整性的哈希码(Hashcode);在所述哈希码校验失败的情况下,确定该从网关为待更新的从网关。Alternatively or additionally, determining the slave gateway to be updated based on the configuration update information of the slave gateway (ie, step S231) includes: parsing the configuration update information, and obtaining the slave gateway stored in the slave gateway for verification. Hashcode of the configuration file integrity; if the hash code verification fails, the slave gateway is determined to be the slave gateway to be updated.
在一些实施例中,通过OMCI的私有定义的通道或扩展OAM的通道,向所述从网关下发从网关配置文件。在主网关上电、主网关上线等场景下,会进行管理信息库(MIB,Management Information Base)同步,在MIB同步阶段,主网关会向所有注册于当前主网关的从网关发出更新检查,根据从网关反馈的版本信息判断哪些从网关的配置文件需要进行同步。同步完成后,在日常运行中,主网关还可以通过MIB审计(Audit)向从网关发出查询(GET)消息,获取到从网关上存储的配置文件的版本信息、Hashcode、时间信息等,判断哪些从网关的配置文件需要进行同步。In some embodiments, the slave gateway configuration file is delivered to the slave gateway through a privately defined channel of OMCI or a channel of extended OAM. In scenarios such as when the main gateway is powered on and the main gateway comes online, the Management Information Base (MIB) will be synchronized. During the MIB synchronization phase, the main gateway will send an update check to all slave gateways registered with the current main gateway. According to Determine which slave gateway configuration files need to be synchronized from the version information fed back by the gateway. After synchronization is completed, in daily operation, the master gateway can also send a query (GET) message to the slave gateway through MIB audit (Audit) to obtain the version information, hashcode, time information, etc. of the configuration file stored on the slave gateway, and determine which Configuration files from the gateway need to be synchronized.
在主网关向从网关发送包含从网关配置文件的版本信息或从网 关向主网关上报从网关上配置文件的版本信息时,均可同时发送用于校验配置文件完整性的Hashcode。The master gateway sends the version information containing the slave gateway configuration file to the slave gateway or the slave network When reporting the version information of the configuration file on the slave gateway to the master gateway, it can also send a Hashcode for verifying the integrity of the configuration file.
主网关向从网关进行配置文件更新检查时,主网关根据从网关上报的“Hashcode”属性值检查配置文件的更新情况,根据更新情况,可选地向从网关发起配置文件下发操作。从网关上报“Hashcode”有两种方案,一种是在MIB Upload阶段,主网关向从网关发出更新检查消息,从网关通过MIB Upload next response消息上报;另一种是在MIB审计完成后,主网关通过配置文件查询消息(GET消息)查询从网关XML配置文件信息。这两种方式均可获取到从网关的配置文件版本信息、对应的Hashcode、以及更新时间信息等,根据这些信息即可确定将哪些从网关作为待更新的从网关。When the master gateway checks the configuration file update to the slave gateway, the master gateway checks the update status of the configuration file based on the "Hashcode" attribute value reported by the slave gateway. Based on the update status, it optionally initiates a configuration file delivery operation to the slave gateway. There are two options for reporting "Hashcode" from the gateway. One is that during the MIB Upload stage, the master gateway sends an update check message to the slave gateway, and the slave gateway reports it through the MIB Upload next response message; the other is that after the MIB audit is completed, the master gateway The gateway queries the XML configuration file information from the gateway through a configuration file query message (GET message). Both methods can obtain the configuration file version information, corresponding Hashcode, and update time information of the slave gateway. Based on this information, you can determine which slave gateways will be used as slave gateways to be updated.
在一些实施例中,向所述从网关下发所述从网关配置文件(即,步骤S200)还包括:响应于接收到从网关的配置文件同步请求,向所述从网关下发所述从网关配置文件。In some embodiments, delivering the secondary gateway configuration file to the secondary gateway (ie, step S200) further includes: in response to receiving a configuration file synchronization request from the secondary gateway, delivering the secondary gateway to the secondary gateway. Gateway configuration file.
除了上述的几种场景之外,还存在从网关空配置上电、从网关重启、从网关初次入网等场景,在这些场景下,从网关主动向主网关发出配置同步请求。无论是主网关发送配置文件,还是从网关下载配置文件,均能实现向从网关下发从网关配置文件的步骤(即,步骤S200)。In addition to the above scenarios, there are also scenarios such as powering on the slave gateway with an empty configuration, restarting the slave gateway, and connecting to the network for the first time. In these scenarios, the slave gateway actively sends a configuration synchronization request to the master gateway. Whether the master gateway sends the configuration file or the slave gateway downloads the configuration file, the step of delivering the slave gateway configuration file to the slave gateway (ie, step S200) can be implemented.
在一些实施例中,通过OMCI的私有定义的通道或扩展OAM的通道,向所述从网关下发从网关配置文件。In some embodiments, the slave gateway configuration file is delivered to the slave gateway through a privately defined channel of OMCI or a channel of extended OAM.
需要说明的是,可以根据GPON或EPON等应用场景,选择采用通过OMCI的私有定义的通道,或扩展OAM的通道,向所述从网关下发从网关配置文件,包括但不限于本公开实施例中所述的各种主网关向从网关下发从网关配置文件的场景,可以包括从网关刚接入时主网关下发的从网关配置文件,也可以包括主网关配置参数变化的情况下主网关下发的变更后的从网关配置文件,或者增量配置文件,还可以包括在MIB同步或MIB审计阶段下发的从网关配置文件,在此不一一列举,凡是主网关通过OMCI的私有定义的通道或扩展OAM的通道向从网关下发配置文件的场景均落入本公开的保护范围。 It should be noted that according to application scenarios such as GPON or EPON, you can choose to use a privately defined channel through OMCI or an extended OAM channel to deliver the slave gateway configuration file to the slave gateway, including but not limited to the embodiments of this disclosure. The various scenarios in which the master gateway delivers the slave gateway configuration file to the slave gateway can include the slave gateway configuration file sent by the master gateway when the slave gateway first accesses, or can include the master gateway configuration file when the master gateway configuration parameters change. The changed slave gateway configuration file or incremental configuration file issued by the gateway can also include the slave gateway configuration file issued during the MIB synchronization or MIB audit phase. We will not list them one by one here. All the private gateway configuration files issued by the master gateway through OMCI Scenarios in which a defined channel or an extended OAM channel delivers a configuration file to a slave gateway fall within the protection scope of this disclosure.
需要说明的是,在光网络中,从网关可以是ONU,主网关可以是光线路终端(OLT,Optical Line Terminal)或支持MiniOLT功能的ONU。为描述方便,本公开实施例中以ONU作为从网关进行举例说明,但本公开并不限于采用ONU作为从网关的场景。It should be noted that in an optical network, the slave gateway can be an ONU, and the master gateway can be an optical line terminal (OLT, Optical Line Terminal) or an ONU that supports the MiniOLT function. For convenience of description, in the embodiment of the present disclosure, the ONU is used as the slave gateway for illustration, but the present disclosure is not limited to the scenario of using the ONU as the slave gateway.
在本公开的实施例中,从网关上电加载默认预配置文件,如默认预配置文件预置了Internet桥可以实现基本的上网和IPTV组播业务,并保证从网关能够正常注册至主网关。主网关中保存了从网关的基本业务XML或JSON默认配置文件模板,该XML或JSON文件格式内容根据TR098参数规范及各业务模块内部DB存储参数定义。主网关上电后读取加载从网关XML模板配置文件,在从网关接入后,获取从网关当前配置文件版本和上次更新时间信息,并确认是否需要更新从网关配置文件。In the embodiment of the present disclosure, the default preconfiguration file is loaded from the gateway when it is powered on. For example, the default preconfiguration file presets the Internet bridge to implement basic Internet access and IPTV multicast services, and ensures that the slave gateway can register to the main gateway normally. The master gateway saves the basic service XML or JSON default configuration file template of the slave gateway. The XML or JSON file format content is defined according to the TR098 parameter specification and the internal DB storage parameters of each business module. After the master gateway is powered on, it reads and loads the slave gateway XML template configuration file. After the slave gateway is connected, it obtains the slave gateway's current configuration file version and last update time information, and confirms whether the slave gateway configuration file needs to be updated.
从网关进行配置下载,涉及私有定义扩展,通过OMCI私有定义中“ONU XML configuration download”或(MEClass=65300)进行扩展,增加如下两个属性:(1)Fi leVersion,表示配置文件版本信息,不等于软件版本信息;(2)Hashcode,表示最近一次更新成功的配置文件的整体MD5摘要信息。Downloading the configuration from the gateway involves private definition expansion, which is expanded through "ONU XML configuration download" or (MEClass=65300) in the OMCI private definition, adding the following two attributes: (1) FileVersion, indicating the configuration file version information, not Equal to the software version information; (2) Hashcode, indicating the overall MD5 summary information of the latest successfully updated configuration file.
主网关进行配置文件更新检查,主网关根据从网关上报的“Hashcode”属性值检查配置文件更新情况,并可选地发起配置文件下发操作。从网关上报“Hashcode”有两种方案,一种是在MIB Upload阶段,从网关通过MIB Upload next response消息上报;另一种是在MIB审计完成后,主网关通过GET消息查询从网关XML配置文件信息。The main gateway checks the configuration file update. The main gateway checks the configuration file update based on the "Hashcode" attribute value reported from the slave gateway, and optionally initiates a configuration file delivery operation. There are two options for reporting "Hashcode" from the gateway. One is during the MIB Upload stage, and the slave gateway reports it through the MIB Upload next response message; the other is that after the MIB audit is completed, the main gateway queries the slave gateway XML configuration file through the GET message. information.
当主网关确认需要更新从网关XML配置文件时,例如,通过WEB进行了修改从网关的用户帐号等操作,需要通知所有在线从网关立即更新相关配置文件。从网关中XML文件与主、从网关版本默认预配置文件基本格式一致,图21示出了XML配置文件基本格式,基本内容如下:在<DB>标签中添加HashCode属性,内容为对整个文件进行MD5摘要算法计算出来的值,用于校验整个XML文件内容完整性。每个XML中必须有CfgFile表的Version字段配置,并且该表的配置必须 位于最前面。CfgFile表仅包括字段Version,Version表示配置文件的迭代,根据Version确认是否适用于当前从网关。HashCode采用MD5摘要算法,在配置文件生效后,用于保存从主网关接收的整个原始配置的文件的Hash值,后续每次重启后从网关上报该字段的内容给主网关用于检测是否需要更新从网关配置文件。When the master gateway confirms that it needs to update the slave gateway XML configuration file, for example, if the user account of the slave gateway is modified through the WEB, it needs to notify all online slave gateways to immediately update the relevant configuration files. The basic format of the XML file in the slave gateway is consistent with the default pre-configuration file of the master and slave gateway versions. Figure 21 shows the basic format of the XML configuration file. The basic content is as follows: Add the HashCode attribute to the <DB> tag, and the content is to perform the entire file The value calculated by the MD5 digest algorithm is used to verify the integrity of the entire XML file content. There must be a Version field configuration of the CfgFile table in each XML, and the configuration of the table must Located at the front. The CfgFile table only includes the field Version. Version represents the iteration of the configuration file. According to the Version, it is confirmed whether it is applicable to the current slave gateway. HashCode uses the MD5 digest algorithm. After the configuration file takes effect, it is used to save the hash value of the entire original configuration file received from the main gateway. After each subsequent restart, the content of this field is reported from the gateway to the main gateway to detect whether it needs to be updated. From the gateway configuration file.
本公开还提供一种从网关配置方法,用于从网关,如图2所示,所述从网关配置方法包括如下步骤S300。The present disclosure also provides a slave gateway configuration method for the slave gateway. As shown in Figure 2, the slave gateway configuration method includes the following steps S300.
在步骤S300中,接收当前从网关所接入的主网关下发的从网关配置文件,其中,所述从网关配置文件包括基于当前从网关接入的主网关的主网关配置参数和与当前从网关对应的模板配置文件生成的从网关配置文件。In step S300, receive the slave gateway configuration file issued by the master gateway currently connected to the slave gateway, wherein the slave gateway configuration file includes the master gateway configuration parameters based on the master gateway currently connected to the slave gateway and the configuration parameters related to the current slave gateway. The gateway configuration file is generated from the template configuration file corresponding to the gateway.
在一些实施例中,所述与从网关对应的模板配置文件包括与所述从网关的各个业务分别对应的配置参数模板。In some embodiments, the template configuration file corresponding to the slave gateway includes configuration parameter templates respectively corresponding to each service of the slave gateway.
本公开中主网关根据当前主网关的业务配置,为注册在当前主网关的从网关生成的从网关配置文件。在一些场景中,如配置参数发生变化、MIB同步阶段、MIB审计阶段等,主网关会主动进行配置更新检查,或是查询从网关的配置相关信息,确定待更新的从网关,并指示待更新的从网关进行配置同步;在另一些场景里,如从网关空配置上电、从网关重启、从网关初次入网等,从网关也会主动向主网关发出配置同步请求。In this disclosure, the master gateway generates a slave gateway configuration file for the slave gateway registered in the current master gateway based on the service configuration of the current master gateway. In some scenarios, such as changes in configuration parameters, MIB synchronization phase, MIB audit phase, etc., the master gateway will actively check for configuration updates, or query the configuration-related information of the slave gateway, determine the slave gateway to be updated, and indicate the slave gateway to be updated. The slave gateway performs configuration synchronization; in other scenarios, such as powering on the slave gateway with an empty configuration, restarting the slave gateway, connecting to the network for the first time, etc., the slave gateway will also actively send a configuration synchronization request to the master gateway.
从网关通过对比当前从网关上存储的配置文件的版本信息与主网关生成的从网关配置文件的版本信息,判断是否需要向主网关发出配置同步请求。版本信息不同则意味着配置文件不同,需要执行从主网关同步从网关配置文件的步骤。The slave gateway determines whether it is necessary to send a configuration synchronization request to the master gateway by comparing the version information of the configuration file currently stored on the slave gateway with the version information of the slave gateway configuration file generated by the master gateway. Different version information means different configuration files, and you need to perform the steps of synchronizing the slave gateway configuration file from the master gateway.
在一些实施例中,如图8所示,在当前从网关已经存储有当前从网关所接入的主网关下发的从网关配置文件的情况下,所述从网关配置方法还包括以下步骤S311。In some embodiments, as shown in Figure 8, in the case that the current slave gateway has stored the slave gateway configuration file issued by the master gateway to which the current slave gateway is connected, the slave gateway configuration method also includes the following step S311 .
在步骤S311中,接收所述主网关重新下发的从网关配置文件。In step S311, the slave gateway configuration file re-issued by the master gateway is received.
在一些实施例中,如图9所示,所述从网关配置方法还包括以下步骤S321至S322。 In some embodiments, as shown in Figure 9, the slave gateway configuration method further includes the following steps S321 to S322.
在步骤S321中,对重新下发的从网关配置文件进行解析,获得增量配置文件,所述增量配置文件为所述主网关针对发生变更的主网关配置参数生成的配置片段。In step S321, the re-issued slave gateway configuration file is parsed to obtain an incremental configuration file. The incremental configuration file is a configuration fragment generated by the master gateway for the changed master gateway configuration parameters.
在步骤S322中,将所述增量的从网关配置文件与当前从网关上存储的从网关配置文件合并组成变更后的从网关配置文件。In step S322, the incremental slave gateway configuration file is merged with the slave gateway configuration file currently stored on the slave gateway to form a modified slave gateway configuration file.
配置变化有时只是个别参数发生变化,若每次都重新生成完整的从网关配置文件,再向全部从网关同步完整的配置文件,对网络资源是一种浪费。因此,主网关除了根据变更的参数生成完整的从网关配置文件之外,为了节约资源,减少文件传输对网络产生的负担,还可以采用增量配置文件的方式,向从网关进行配置同步。例如,采用XML、JSON等模块化的文件编码格式,在一个增量文件中,仅包含必要的模块内容,实现轻量级的配置同步。从网关收到后,可以在已有配置文件的基础上仅对增量配置中的参数做出同步更新,其他内容不变。Configuration changes sometimes only change individual parameters. It would be a waste of network resources to regenerate the complete slave gateway configuration file every time and then synchronize the complete configuration file to all slave gateways. Therefore, in addition to generating a complete slave gateway configuration file based on the changed parameters, the master gateway can also use incremental configuration files to synchronize the configuration to the slave gateway in order to save resources and reduce the burden of file transfer on the network. For example, using modular file encoding formats such as XML and JSON, an incremental file only contains necessary module content to achieve lightweight configuration synchronization. After receiving it from the gateway, only the parameters in the incremental configuration can be synchronously updated based on the existing configuration file, leaving other content unchanged.
在一些实施例中,如图10所示,所述从网关配置方法还包括以下步骤S331。In some embodiments, as shown in Figure 10, the secondary gateway configuration method further includes the following step S331.
在步骤S331中,向所述主网关发送配置更新信息,用于表征当前从网关的版本。In step S331, configuration update information is sent to the master gateway to represent the version of the current slave gateway.
进一步地,如图11所示,在MIB同步阶段,在向所述主网关发送配置更新信息(即,步骤S331)之前,还包括以下步骤S332。Further, as shown in Figure 11, during the MIB synchronization phase, before sending the configuration update information to the main gateway (ie, step S331), the following step S332 is also included.
在步骤S332中,响应于所述主网关的文件更新检查消息,向所述主网关反馈针对所述文件更新检查消息的配置更新信息。In step S332, in response to the file update check message of the main gateway, configuration update information for the file update check message is fed back to the main gateway.
进一步地,如图12所示,在MIB审计完成后,在向所述主网关发送配置更新信息(即,步骤S331)之前,还包括一下步骤S333。Further, as shown in Figure 12, after the MIB audit is completed and before sending the configuration update information to the main gateway (ie, step S331), step S333 is also included.
在步骤S333中,响应于所述主网关的配置文件查询消息,将向所述主网关发送针对所述配置文件查询消息的配置更新信息。In step S333, in response to the configuration file query message of the main gateway, configuration update information for the configuration file query message will be sent to the main gateway.
进一步地,所述配置更新信息包括:所述从网关上存储的从网关配置文件的版本信息,和/或用于校验所述从网关上存储的从网关配置文件完整性的哈希码。Further, the configuration update information includes: version information of the slave gateway configuration file stored on the slave gateway, and/or a hash code used to verify the integrity of the slave gateway configuration file stored on the slave gateway.
在一些场景下,如配置变化、主网关在MIB审计中GET到从网 关配置文件版本不一致等,主网关会主动发起对从网关的配置同步,从网关会收到主网关更新配置文件的更新指示,随后执行配置同步的步骤。In some scenarios, such as configuration changes, the master gateway GETs to the slave network in MIB audit If the configuration file version is inconsistent, etc., the master gateway will actively initiate configuration synchronization with the slave gateway. The slave gateway will receive an update instruction from the master gateway to update the configuration file, and then perform the configuration synchronization steps.
在另一些场景下,如主网关上电,主网关会先发出更新检查消息,收集从网关反馈的版本信息,以及与当前配置文件对应的哈希码,由主网关确定是否继续执行配置同步的步骤。In other scenarios, such as when the main gateway is powered on, the main gateway will first send an update check message to collect the version information fed back from the slave gateway and the hash code corresponding to the current configuration file. The main gateway will determine whether to continue performing configuration synchronization. step.
在一些实施例中,如图13所示,在接收当前从网关所接入的主网关下发的从网关配置文件的步骤(即,步骤300)之后,还包括以下步骤S341至S343。In some embodiments, as shown in Figure 13, after the step of receiving the slave gateway configuration file issued by the primary gateway to which the slave gateway is currently connected (ie, step 300), the following steps S341 to S343 are also included.
在步骤S341中,对所述主网关下发的从网关配置文件进行校验。In step S341, the slave gateway configuration file issued by the master gateway is verified.
在步骤S342中,在校验失败的情况下,向所述主网关应答下载失败。In step S342, if the verification fails, a download failure response is sent to the main gateway.
在步骤S343中,在校验成功的情况下,调用相关业务模块进行参数配置。In step S343, if the verification is successful, the relevant business module is called to configure parameters.
在一些实施例中,对所述主网关下发的从网关配置文件进行校验(即,步骤S341)包括以下校验中的至少一种:文件合法性校验、时间校验、下载完整性校验、内容有效性校验、配置有效性校验。In some embodiments, verifying the slave gateway configuration file issued by the master gateway (ie, step S341) includes at least one of the following verifications: file legality verification, time verification, download integrity Verification, content validity verification, configuration validity verification.
在一些实施例中,在所述校验成功的情况下,在调用相关业务模块进行参数配置的步骤(即,步骤S343)之前,还包括:对所述主网关下发的从网关配置文件进行配置检查。In some embodiments, if the verification is successful, before the step of calling the relevant business module to configure parameters (ie, step S343), it also includes: performing the verification on the slave gateway configuration file issued by the master gateway. Configuration check.
所述配置检查包括以下检查中的至少一种:文件基本元素检查、文件完整性检查、参数值合法性检查。The configuration check includes at least one of the following checks: file basic element check, file integrity check, and parameter value legality check.
当主网关确认需要更新从网关XML配置文件时,例如,通过WEB进行了修改从网关的用户帐号等操作,需要通知所有在线从网关立即更新相关配置文件。从网关中XML文件与主、从网关版本默认预配置文件基本格式一致,图21示出了XML配置文件基本格式,基本内容如下:在<DB>标签中添加HashCode属性,内容为对整个文件进行MD5摘要算法计算出来的值,用于校验整个XML文件内容完整性。每个XML中必须有CfgFile表的Version字段配置,并且该表的配置必须位于最前面。CfgFile表仅包括字段Version,Version表示配置文 件的迭代,产品根据该Version确认是否适用当前网关。When the master gateway confirms that it needs to update the slave gateway XML configuration file, for example, if the user account of the slave gateway is modified through the WEB, it needs to notify all online slave gateways to immediately update the relevant configuration files. The basic format of the XML file in the slave gateway is consistent with the default pre-configuration file of the master and slave gateway versions. Figure 21 shows the basic format of the XML configuration file. The basic content is as follows: Add the HashCode attribute in the <DB> tag, and the content is to perform the entire file The value calculated by the MD5 digest algorithm is used to verify the integrity of the entire XML file content. There must be a Version field configuration of the CfgFile table in each XML, and the configuration of this table must be at the front. The CfgFile table only includes the field Version, which represents the configuration file. According to the iteration of the software, the product confirms whether it is suitable for the current gateway based on the Version.
上述XML配置文件头中的HashCode是根据整个文件使用MD5算法生成,计算出MD5值之后再回填到HashCode字段,即,HashCode是MD5算法的秘钥。从网关ONU内部对XML配置文件的处理主要分为两个过程:校验和配置。校验阶段如果有一个参数校验不通过就立即返回失败,所有项都校验成功后进入配置阶段。配置阶段如果有参数配置失败,继续后面的配置项。对XML配置文件进行分层校验包括如下几个方面:The HashCode in the above XML configuration file header is generated based on the entire file using the MD5 algorithm. After the MD5 value is calculated, it is backfilled into the HashCode field. That is, the HashCode is the secret key of the MD5 algorithm. The processing of XML configuration files from inside the gateway ONU is mainly divided into two processes: verification and configuration. During the verification phase, if a parameter fails to pass the verification, failure will be returned immediately. After all items have been successfully verified, the configuration phase will be entered. If any parameter configuration fails during the configuration phase, continue with subsequent configuration items. Layered verification of XML configuration files includes the following aspects:
1)合法性校验:配置文件头部校验,以确认文件是否适用当前ONU产品;1) Legality verification: Configuration file header verification to confirm whether the file is suitable for the current ONU product;
2)时间校验:配置文件头部校验,以确认文件是否为更新文件;2) Time verification: Configuration file header verification to confirm whether the file is an updated file;
3)下载完整校验:主网关基于整个文件计算CRC,从网关接收并计算对比,此校验为可选校验,其功能与MD5功能接近;3) Download the complete check: the main gateway calculates the CRC based on the entire file, receives it from the gateway and calculates the comparison. This check is optional and its function is close to the MD5 function;
4)内容有效性校验:基于文件头部MD5信息摘要,完成内容校验;4) Content validity verification: Complete content verification based on the MD5 information summary in the file header;
5)配置有效性校验:参数内容逐条预检,主要检查表是否正确,字段及字段取值是否正确。5) Configuration validity verification: Pre-check the parameter content one by one, mainly checking whether the table is correct and whether the fields and field values are correct.
对XML配置文件进行解析配置包括调用各个模块提供的API接口进行参数配置,使得业务配置能够立即生效。Parsing and configuring the XML configuration file includes calling the API interface provided by each module to configure parameters, so that the business configuration can take effect immediately.
从网关需对配置文件进行检查和合并,配置检查主要分为XML文件基本元素检查、整个文件完整性检查、参数值合法性检查,其中:The configuration files need to be checked and merged from the gateway. Configuration checks are mainly divided into basic element checks of XML files, complete file integrity checks, and parameter value legality checks, among which:
1)XML文件基本元素检查由XML框架完成;1) The basic element inspection of XML files is completed by the XML framework;
2)文件完整性检查由配置下载功能框架完成;2) File integrity check is completed by the configuration download function framework;
3)参数值合法性检查由相应业务模块完成。3) Parameter value legality check is completed by the corresponding business module.
主网关配置发现变更时,如涉及从网关,则同步更新该XML配置文件,并通知重新下发,由从网关检查配置文件内容正确性和完整性。When changes are found in the master gateway configuration, if a slave gateway is involved, the XML configuration file will be updated synchronously and notified to be re-issued. The slave gateway will check the correctness and completeness of the content of the configuration file.
在一些实施例中,通过OMCI的私有定义的通道或扩展OAM的通道,接收所述主网关下发的从网关配置文件。In some embodiments, the slave gateway configuration file issued by the master gateway is received through a privately defined channel of OMCI or an extended OAM channel.
需要说明的是,可以根据GPON或EPON等应用场景,选择采用 通过OMCI的私有定义的通道,或扩展OAM的通道,向所述从网关下发从网关配置文件,包括但不限于本公开实施例中所述的各种主网关向从网关下发从网关配置文件的场景,可以包括从网关刚接入时主网关下发的从网关配置文件,也可以包括主网关配置参数变化的情况下主网关下发的变更后的从网关配置文件,或者增量配置文件,还可以包括在MIB同步或MIB审计阶段下发的从网关配置文件,在此不一一列举,凡是主网关通过OMCI的私有定义的通道或扩展OAM的通道向从网关下发配置文件的场景均落入本公开的保护范围。It should be noted that you can choose to use it according to application scenarios such as GPON or EPON. Deliver the slave gateway configuration file to the slave gateway through the privately defined channel of OMCI or the extended OAM channel, including but not limited to the various master gateways described in the embodiments of this disclosure that deliver the slave gateway configuration to the slave gateway. The file scenario can include the slave gateway configuration file issued by the master gateway when the slave gateway first accesses, or the changed slave gateway configuration file issued by the master gateway when the master gateway configuration parameters change, or incremental configuration. Files can also include slave gateway configuration files issued during the MIB synchronization or MIB audit phase. We will not list them all here. All master gateways issue configuration files to the slave gateway through the privately defined channel of OMCI or the extended OAM channel. All scenarios fall within the protection scope of this disclosure.
在一些实施例中,所述从网关配置方法还包括:当所述从网关检测到满足同步条件时,向所述主网关发出配置文件同步请求,其中,所述同步条件包括以下条件中至少一种:从网关上电、从网关重启、从网关新入网、从网关仅有默认配置。In some embodiments, the slave gateway configuration method further includes: when the slave gateway detects that a synchronization condition is met, sending a configuration file synchronization request to the master gateway, wherein the synchronization condition includes at least one of the following conditions: Types: Power on from the gateway, restart from the gateway, newly join the network from the gateway, and only have the default configuration from the gateway.
除了主网关主动向从网关进行配置同步,也可以由从网关主动请求进行配置同步。在从网关默认零配置(也可以有默认的预配置)的情况下,主网关将从网关配置文件方式下发至从网关,并且从网关配置文件在从网关立即生效,从而实现从网关的即插即用。In addition to the master gateway taking the initiative to synchronize configuration with the slave gateway, the slave gateway can also actively request configuration synchronization. When the slave gateway defaults to zero configuration (it can also have a default pre-configuration), the master gateway will deliver the gateway configuration file to the slave gateway, and the slave gateway configuration file will take effect immediately on the slave gateway, thereby realizing immediate deployment of the slave gateway. Plug and play.
本公开目的之一在于,针对从网关配置管理复杂,不再通过ITMS网管管理从网关,简化了ITMS网管管理从网关流程,从网关不单独下发工单,主网关直接将关键配置同步(或下发)到从网关,从网关实现即插即用。One of the purposes of this disclosure is to simplify the process of ITMS network management to manage the slave gateway due to the complicated configuration and management of the slave gateway. The slave gateway is no longer managed through the ITMS network management. The slave gateway does not issue work orders separately, and the master gateway directly synchronizes key configurations (or Delivered) to the slave gateway, and the slave gateway implements plug-and-play.
本公开方案发的主要的优点包括:简化从网关配置流程,能够实现即插即用,不再需要ITMS网管或云平台等直接对从网关进行配置管理,由主网关根据当前组网配置自动生成从网关的XML配置文件,从网关加载该XML文件或增量XML文件以满足业务生效需求。The main advantages of this disclosed solution include: simplifying the configuration process of the slave gateway, enabling plug-and-play, and no longer requiring ITMS network management or cloud platforms to directly configure and manage the slave gateway, which is automatically generated by the master gateway based on the current network configuration. From the gateway's XML configuration file, load the XML file or incremental XML file from the gateway to meet business validation requirements.
本公开的其它特征和优点将在随后的说明书中阐述,并且部分地从说明书中变得显而易见,或者通过实施本公开而了解。本公开的目的和其它优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the disclosure. The objectives and other advantages of the present disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
下面将参考附图并结合实施例来详细说明本公开的从网关配置方法。需要说明的是,在不冲突的情况下,本申请中的实施例及实施 例中的特征可以相互组合。The slave gateway configuration method of the present disclosure will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, without conflict, the embodiments and implementations in this application The features in the examples can be combined with each other.
实施例1Example 1
图14是FTTR主、从网关配置管理架构示意图。在目前主、从网关组网架构中,主、从网关的配置管理仍由ACS网管和云平台下发控制。例如,从网关接入时,需要主网关代理从网关进行设备平台认证,主网关根据网关管理平台的认证结果,对从网关进行控制处理。目前,上述从网关的配置管理和主网关基本一致,对ACS网管和云平台的负载压力较大。在现有主、从网关组网方式下,从网关一般大多工作于桥转发模式,组网配置相对简单,从网关的配置参数依赖于主网关,实际上从网关的配置可以通过主网关直接下发以实现同步。本公开对FTTR主、从网关的配置管理架构进行了优化。Figure 14 is a schematic diagram of the configuration and management architecture of the FTTR master and slave gateways. In the current master and slave gateway networking architecture, the configuration management of the master and slave gateways is still controlled by the ACS network management and cloud platform. For example, when accessing from a gateway, the master gateway needs to perform device platform authentication on behalf of the slave gateway. The master gateway controls the slave gateway based on the authentication results of the gateway management platform. At present, the configuration management of the above-mentioned slave gateway is basically the same as that of the master gateway, which puts a heavy load on the ACS network management and cloud platform. In the existing master and slave gateway networking mode, the slave gateway generally works in bridge forwarding mode, and the network configuration is relatively simple. The configuration parameters of the slave gateway depend on the master gateway. In fact, the configuration of the slave gateway can be directly downloaded through the master gateway. Send for synchronization. This disclosure optimizes the configuration management architecture of the FTTR master and slave gateways.
图15是根据本公开的主、从网关配置文件同步框架示意图。本公开提出主、从网关配置同步的方法,主网关(Master ONU)预置从网关XML模板配置文件,在从网关(Slave ONU)通过LOID或序列号(SN,Serial Number)与主网关注册成功之后,从网关无需修改配置,可自动同步主设备的相关配置。从网关设备上电连接到主网关上,主网关可根据本地配置自动生成从网关XML配置文件,在从网关上电接入时通过OMCI或扩展OAM透明通道传输下载。对于新增的参数配置项,通过XML增量配置文件显示地指示,从网关解析后调用相关业务模块提供的API接口实时同步生效。在从网关默认零配置(也可以有默认的预配置)的情况下,主网关将XML配置文件下发至从网关并立即生效。Figure 15 is a schematic diagram of the master and slave gateway configuration file synchronization framework according to the present disclosure. This disclosure proposes a method for synchronizing the master and slave gateway configurations. The master gateway (Master ONU) presets the slave gateway XML template configuration file, and the slave gateway (Slave ONU) successfully registers with the master gateway through LOID or serial number (SN, Serial Number). Afterwards, the slave gateway does not need to modify the configuration and can automatically synchronize the relevant configuration of the master device. The slave gateway device is powered on and connected to the master gateway. The master gateway can automatically generate the slave gateway XML configuration file according to the local configuration. When the slave gateway is powered on and connected, it is transmitted and downloaded through OMCI or extended OAM transparent channels. For newly added parameter configuration items, the instructions are displayed through the XML incremental configuration file, and the API interface provided by the relevant business module is called after parsing from the gateway to take effect synchronously in real time. When the slave gateway defaults to zero configuration (it can also have default pre-configuration), the master gateway delivers the XML configuration file to the slave gateway and it takes effect immediately.
在FTTR组网开通时,先将基础模板cfg.xml文件保存至主网关,例如,预配置一条Internet透传桥及无线服务集标识(SSID,Service Set Identifier)和密钥相关配置作为默认模板配置文件,以保证从网关接入后可以实现基本业务。从网关上电或恢复出厂后,自动与主网关交互下载XML配置文件,配置文件下发后ONU会调用相关业务模块重新加载该配置并立即生效,而不必重启ONU,以减少配置升级对用户体验的影响。When FTTR networking is activated, first save the basic template cfg.xml file to the main gateway. For example, pre-configure an Internet transparent transmission bridge and wireless service set identifier (SSID, Service Set Identifier) and key-related configurations as the default template configuration file to ensure that basic services can be implemented after accessing from the gateway. After the gateway is powered on or restored to factory settings, it automatically interacts with the main gateway to download the XML configuration file. After the configuration file is delivered, the ONU will call the relevant business module to reload the configuration and take effect immediately without restarting the ONU to reduce the impact of configuration upgrades on the user experience. Impact.
配置文件可以通过主网关本地WEB页面进行查看修改,主网关 在接收到ITMS网管或云平台下发的相关业务配置参数变更消息时,会动态同步更新从网关cfg.xml文件,并自动下发cfg.xml配置到多个从网关ONU上。The configuration file can be viewed and modified through the local WEB page of the main gateway. The main gateway When receiving relevant business configuration parameter change messages issued by ITMS network management or cloud platform, the slave gateway cfg.xml file will be dynamically and synchronously updated, and the cfg.xml configuration will be automatically delivered to multiple slave gateway ONUs.
只要检测到从网关cfg.xml被更新,ONU就必须重新下载cfg.xml。As long as it detects that the slave gateway cfg.xml has been updated, the ONU must re-download cfg.xml.
上述XML文件中的内容,是根据具体业务场景和功能需求私有定义,包括WAN侧、LAN侧基本数据业务转发配置,对于新增功能业务,该XML文件格式需同步进行扩展调整。The content in the above XML file is privately defined based on specific business scenarios and functional requirements, including basic data service forwarding configuration on the WAN side and LAN side. For new functional services, the XML file format needs to be expanded and adjusted simultaneously.
该XML文件也可根据具体定制需求进行预配置,XML文件的内容可以是全集配置也可以是增量配置。The XML file can also be pre-configured according to specific customization requirements. The content of the XML file can be full configuration or incremental configuration.
实施例2Example 2
图16是根据本公开的MIB同步阶段上报文件时间信息流程图,包括如下步骤201至204。Figure 16 is a flow chart of reporting file time information in the MIB synchronization stage according to the present disclosure, including the following steps 201 to 204.
在步骤201中,主网关在MIB同步阶段主动请求文件更新检查(MIB Upload next)。In step 201, the main gateway actively requests a file update check (MIB Upload next) during the MIB synchronization phase.
在步骤202中,从网关通过MIB Upload next response消息上报,在消息中包括:配置文件(xml cfg)的版本信息FileVersion,以及配置文件对应的哈希码(HashCode)。In step 202, the gateway reports the MIB Upload next response message through the MIB Upload next response message, which includes: the version information FileVersion of the configuration file (xml cfg), and the hash code (HashCode) corresponding to the configuration file.
在步骤203中,主网关检查文件是否需要更新。In step 203, the master gateway checks whether the file needs to be updated.
在步骤204中,如需要更新XML配置文件,则进行配置文件下载。In step 204, if the XML configuration file needs to be updated, download the configuration file.
实施例3Example 3
图17是根据本公开的MIB同步之后查询文件时间信息流程图,包括如下步骤301至304。Figure 17 is a flow chart of querying file time information after MIB synchronization according to the present disclosure, including the following steps 301 to 304.
在步骤301中,主、从网关MIB审计(audit)同步完成。In step 301, the master and slave gateway MIB audits are synchronized.
在步骤302中,主网关主动查询(GET)从网关XML文件时间信息。In step 302, the master gateway actively queries (GET) the slave gateway XML file time information.
在步骤303中,主网关收到从网关查询响应(GET response),检查文件是否需要更新。In step 303, the master gateway receives the slave gateway query response (GET response) and checks whether the file needs to be updated.
在步骤304中,如需要更新XML配置文件,则进行配置文件下 载。In step 304, if the XML configuration file needs to be updated, download the configuration file. load.
实施例4Example 4
图18是根据本公开的从网关配置文件下发正常流程图,包括如下步骤401至406。Figure 18 is a normal flow chart for delivering a configuration file from a gateway according to the present disclosure, including the following steps 401 to 406.
在步骤401中,主网关请求获取从网关当前配置文件版本及更新时间(UpdateTime)。In step 401, the master gateway requests to obtain the current configuration file version and update time (UpdateTime) of the slave gateway.
在步骤402中,从网关收到请求后,填充相关参数并响应。In step 402, after receiving the request from the gateway, fill in relevant parameters and respond.
在步骤403中,主网关检查比较XML配置文件是否有更新,如果有更新,则通过OMCI私有定义中的“ONU XML configuration download”,以及MEClass=65300,下载配置文件。In step 403, the main gateway checks and compares the XML configuration file to see if there is an update. If there is an update, it downloads the configuration file through "ONU XML configuration download" in the OMCI private definition and MEClass=65300.
在步骤404中,从网关收到下载配置文件结束消息(EndDownLoad)后,检查循环冗余校验(CRC,Cyclic Redundancy Check),校验合法性及完整性,校验更新时间。In step 404, after receiving the download configuration file end message (EndDownLoad) from the gateway, the Cyclic Redundancy Check (CRC, Cyclic Redundancy Check) is checked to verify legality and integrity, and to verify the update time.
在步骤405中,上述校验均通过,则发送结束消息响应(EndDownLoad response)消息,result=0表示成功,通知主网关下载成功。In step 405, if the above verifications all pass, an EndDownLoad response message will be sent. result=0 indicates success and the main gateway is notified that the download is successful.
在步骤406中,从网关调用各相关业务模块进行配置,并更新本地XML文件版本及更新时间。In step 406, each relevant business module is called from the gateway for configuration, and the local XML file version and update time are updated.
实施例5Example 5
图19是根据本公开的从网关配置文件下发异常流程图,包括如下步骤501至505。Figure 19 is a flow chart of delivering an exception from a gateway configuration file according to the present disclosure, including the following steps 501 to 505.
步骤501至504与上述图17中的步骤301至304相同,在此不再赘述。Steps 501 to 504 are the same as steps 301 to 304 in Figure 17 and will not be described again.
在步骤505中,从网关收到下载配置文件结束消息EndDownLoad后,检查CRC,校验合法性和完整性,校验更新时间,其中之一校验有失败,则发送EndDownLoad response消息,result=1表示失败,通知主网关下载失败。In step 505, after receiving the EndDownLoad message from the gateway to download the configuration file, check the CRC, verify the legality and integrity, and verify the update time. If one of the verifications fails, the EndDownLoad response message is sent, result=1 Indicates failure, notifying the main gateway that the download failed.
实施例6Example 6
图20是根据本公开的从网关XML配置文件预检流程图,包括如下步骤601至605。 Figure 20 is a flow chart of preflighting the gateway XML configuration file according to the present disclosure, including the following steps 601 to 605.
在步骤601中,从网关收到XML配置文件下载结束事件,检查比较XML配置文件版本及更新时间,如果不需要更新则应答支持MiniOLT功能的主网关下载失败;如需要更新,则继续如下步骤602。In step 601, the XML configuration file download end event is received from the gateway, and the XML configuration file version and update time are checked and compared. If no update is required, a download failure of the main gateway that supports the MiniOLT function is responded to; if an update is required, proceed to step 602 as follows. .
在步骤602中,计算并校验CRC,如果校验失败,则应答主网关MiniOLT下载失败;如校验成功,则继续如下步骤603。In step 602, calculate and verify the CRC. If the verification fails, respond to the main gateway that the MiniOLT download failed; if the verification succeeds, proceed to the following step 603.
在步骤603中,计算并校验MD5,如果校验失败,则应答主网关MiniOLT下载失败;如校验成功,则继续如下步骤604。In step 603, calculate and verify the MD5. If the verification fails, respond to the main gateway that the MiniOLT download failed; if the verification succeeds, proceed to the following step 604.
在步骤604,循环逐表检查各个参数字段,如果中间校验出现失败,则应答主网关MiniOLT下载失败;如校验成功,则继续加载其他表项。In step 604, each parameter field is checked table by table in a loop. If the intermediate verification fails, respond to the main gateway that the MiniOLT download failed; if the verification is successful, continue to load other entries.
在步骤605,应答主网关MiniOLT下载成功,对相关参数节点进行解析并调用原TR069相关参数API进行业务分发,以保证业务实时同步生效。In step 605, in response to the successful download of MiniOLT from the main gateway, the relevant parameter nodes are parsed and the original TR069 related parameter API is called for service distribution to ensure that the service takes effect simultaneously and in real time.
实施例7Example 7
图21是本公开实施例的从网关XML配置文件格式示意图,该XML文件的格式定义可参考TR098标准规范,具体实现时可以根据该规范重新定义WAN侧或LAN侧实体对象的具体参数DB存储格式,如InternetGatewayDevice.WANDevice.{i}。Figure 21 is a schematic diagram of the format of the secondary gateway XML configuration file according to an embodiment of the present disclosure. The format definition of this XML file can refer to the TR098 standard specification. During specific implementation, the specific parameter DB storage format of the WAN side or LAN side entity object can be redefined according to this specification. , such as InternetGatewayDevice.WANDevice.{i}.
WANConnectionDevice.XXX参数配置可以转化为DB Table表WANC中的各个参数项。同时该配置文件可以按照从网关业务XML配置文件全集或增量XML配置参数集下发。WANConnectionDevice.XXX parameter configuration can be converted into each parameter item in the DB Table table WANC. At the same time, the configuration file can be delivered from the complete set of gateway service XML configuration files or incremental XML configuration parameter sets.
实施例8Example 8
图22是本公开实施例的从网关JSON配置文件格式示意图,该JSON文件的格式定义按照JSON文件标准的键/值(key/value)格式进行组织,根据各业务对象实体要求定义参数名称和参数值内容。Figure 22 is a schematic diagram of the slave gateway JSON configuration file format according to an embodiment of the present disclosure. The format definition of the JSON file is organized according to the key/value format of the JSON file standard, and parameter names and parameters are defined according to the requirements of each business object entity. value content.
对于主、从网关之间的其他配置文件编码格式也可以支持,具体根据业务需求进行扩展定义。Other configuration file encoding formats between the master and slave gateways can also be supported, and can be expanded and defined based on business needs.
本公开还可有其他多种实施例,在不背离本公开精神及其实质的情况下,熟悉本领域的技术人员当可根据本公开作出各种相应的改变和变形,但这些相应的改变和变形都应属于本公开所附的权利要求 的保护范围。The present disclosure can also have various other embodiments. Without departing from the spirit and essence of the present disclosure, those skilled in the art can make various corresponding changes and modifications based on the present disclosure. However, these corresponding changes and All modifications shall belong to the claims attached to this disclosure. scope of protection.
综上所述,本公开公开了一种FTTR主、从网关通过配置文件进行业务数据同步的方法,通过该方法可以有效简化从网关的配置管理,实现从网关即插即用。In summary, the present disclosure discloses a method for FTTR master and slave gateways to synchronize business data through configuration files. This method can effectively simplify the configuration management of the slave gateway and realize plug-and-play of the slave gateway.
需要说明的是,上述实施例说明了本公开的优选实施例,并非因此局限本公开的权利范围。除上述实施方式外,还可以使主网关充当ITMS网管角色,通过TR069工单给从网关下发配置。It should be noted that the above embodiments illustrate preferred embodiments of the present disclosure and do not limit the scope of rights of the present disclosure. In addition to the above implementation methods, the master gateway can also act as the ITMS network management role and issue configurations to the slave gateways through TR069 work orders.
本公开实施例还提供一种电子设备,如图23所示,其包括:一个或多个处理器701;以及存储器702,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现根据本公开各实施例的从网关配置方法。An embodiment of the present disclosure also provides an electronic device, as shown in Figure 23, which includes: one or more processors 701; and a memory 702, on which one or more programs are stored. When one or more programs are processed by a Or multiple processors execute, so that one or more processors implement the slave gateway configuration method according to various embodiments of the present disclosure.
此外,电子设备还可以包括一个或多个I/O接口703,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。In addition, the electronic device may also include one or more I/O interfaces 703, connected between the processor and the memory, and configured to implement information exchange between the processor and the memory.
处理器701为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器702为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)703连接在处理器701与存储器702间,能实现处理器701与存储器702的信息交互,其包括但不限于数据总线(Bus)等。The processor 701 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 702 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); the I/O interface (read-write interface) 703 is connected between the processor 701 and the memory 702, and can Implement information interaction between the processor 701 and the memory 702, which includes but is not limited to a data bus (Bus), etc.
在一些实施例中,处理器701、存储器702和I/O接口703通过总线704相互连接,进而与计算设备的其它组件连接。In some embodiments, processor 701, memory 702, and I/O interface 703 are connected to each other and, in turn, to other components of the computing device via bus 704.
本公开实施例还提供一种计算机可读存储介质,如图24所示,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现根据本公开各实施例的从网关配置方法。Embodiments of the present disclosure also provide a computer-readable storage medium. As shown in Figure 24, a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the slave gateway configuration method according to various embodiments of the present disclosure is implemented. .
本公开针对现有FTTR全光组网场景下从网关配置管理复杂的问题,提出了一种FTTR主网关直接向从网关同步配置文件,以实现业务数据同步的方法。主网关根据ITMS网管或云平台下发到当前主网关的配置信息自动生成从网关配置文件,后续通过OCMI或扩展OAM透明通道等方式将该配置文件直接下发给从网关。该方法不再通过 ITMS网管管理从网关,可以有效简化从网关的配置管理流程,使得从网关零配置接入,实现从网关即插即用。在简化从网关的配置管理的同时,也减轻从网关对ITMS网管或云平台的处理负载。Aiming at the problem of complicated configuration and management of slave gateways in existing FTTR all-optical networking scenarios, this disclosure proposes a method for the FTTR master gateway to directly synchronize configuration files with the slave gateway to achieve business data synchronization. The master gateway automatically generates a slave gateway configuration file based on the configuration information delivered to the current master gateway by the ITMS network management or cloud platform, and subsequently delivers the configuration file directly to the slave gateway through OCMI or extended OAM transparent channels. This method no longer passes ITMS network management can effectively simplify the configuration and management process of the slave gateway, allowing zero-configuration access from the slave gateway and realizing plug-and-play from the slave gateway. While simplifying the configuration management of the slave gateway, it also reduces the processing load of the slave gateway on the ITMS network management or cloud platform.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . 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). As is known to those of ordinary skill in the art, the term 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 devices, or may Any other medium used to store the desired information and that can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that 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 .
以上参照附图说明了本公开的优选实施例,并非因此局限本公开的权利范围。本领域技术人员不脱离本公开的范围和实质内所作的任何修改、等同替换和改进,均应在本公开的权利范围之内。 The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, but the scope of rights of the present disclosure is not thereby limited. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and essence of the present disclosure shall be within the scope of rights of the present disclosure.

Claims (25)

  1. 一种从网关配置方法,用于主网关,包括:A slave gateway configuration method for the master gateway, including:
    根据当前主网关的配置参数和与从网关对应的模板配置文件,生成从网关配置文件;Generate a slave gateway configuration file based on the configuration parameters of the current master gateway and the template configuration file corresponding to the slave gateway;
    在从网关接入到当前主网关的情况下,向所述从网关下发所述从网关配置文件。When the slave gateway accesses the current primary gateway, the slave gateway configuration file is delivered to the slave gateway.
  2. 根据权利要求1所述的从网关配置方法,其中,所述与从网关对应的模板配置文件包括与所述从网关的各个业务分别对应的配置参数模板。The slave gateway configuration method according to claim 1, wherein the template configuration file corresponding to the slave gateway includes configuration parameter templates respectively corresponding to each service of the slave gateway.
  3. 根据权利要求1所述的从网关配置方法,还包括:The secondary gateway configuration method according to claim 1, further comprising:
    在所述主网关的配置参数发生变更的情况下,根据所述主网关的变更后的配置参数和所述与从网关对应的模板配置文件,重新生成从网关配置文件;In the case where the configuration parameters of the primary gateway are changed, regenerate the secondary gateway configuration file based on the changed configuration parameters of the primary gateway and the template configuration file corresponding to the secondary gateway;
    将重新生成的从网关配置文件下发至与发生变更的配置参数相对应的从网关。Deliver the regenerated slave gateway configuration file to the slave gateway corresponding to the changed configuration parameters.
  4. 根据权利要求1所述的从网关配置方法,还包括:The secondary gateway configuration method according to claim 1, further comprising:
    在所述主网关的配置参数发生变更的情况下,根据所述主网关的变更后的配置参数和所述与从网关对应的模板配置文件,生成从网关的增量配置文件,其中,所述增量配置文件为针对所述主网关的变更的配置参数生成的配置片段;In the case where the configuration parameters of the primary gateway are changed, an incremental configuration file of the secondary gateway is generated based on the changed configuration parameters of the primary gateway and the template configuration file corresponding to the secondary gateway, wherein, The incremental configuration file is a configuration fragment generated for the changed configuration parameters of the main gateway;
    将所述增量配置文件下发至接入至当前主网关的从网关,以使得所述增量配置文件与所述从网关上存储的从网关配置文件合并组成变更后的从网关配置文件。The incremental configuration file is delivered to the slave gateway connected to the current master gateway, so that the incremental configuration file is merged with the slave gateway configuration file stored on the slave gateway to form a changed slave gateway configuration file.
  5. 根据权利要求1所述的从网关配置方法,还包括:The secondary gateway configuration method according to claim 1, further comprising:
    根据所述从网关的配置更新信息确定待更新的从网关; Determine the slave gateway to be updated according to the configuration update information of the slave gateway;
    将当前主网关本地存储的从网关配置文件下发至待更新的从网关。Deliver the slave gateway configuration file stored locally on the current master gateway to the slave gateway to be updated.
  6. 根据权利要求5所述的从网关配置方法,其中,在根据所述从网关的配置更新信息确定待更新的从网关之前,所述从网关配置方法还包括:The slave gateway configuration method according to claim 5, wherein before determining the slave gateway to be updated according to the configuration update information of the slave gateway, the slave gateway configuration method further includes:
    向接入到当前主网关的至少一个从网关发出从网关配置文件的更新检查消息;Send an update check message of the slave gateway configuration file to at least one slave gateway connected to the current master gateway;
    接收各个从网关针对所述更新检查消息向当前主网关反馈的配置更新信息。Receive configuration update information fed back by each slave gateway to the current master gateway in response to the update check message.
  7. 根据权利要求5所述的从网关配置方法,其中,在所述根据所述从网关的配置更新信息确定待更新的从网关之前,所述从网关配置方法还包括:The slave gateway configuration method according to claim 5, wherein before determining the slave gateway to be updated based on the configuration update information of the slave gateway, the slave gateway configuration method further includes:
    向接入到当前主网关的从网关发出配置文件查询消息;Send a configuration file query message to the slave gateway connected to the current master gateway;
    接收所述从网关针对所述配置文件查询消息发送的配置更新信息。Receive configuration update information sent by the slave gateway in response to the configuration file query message.
  8. 根据权利要求5所述的从网关配置方法,其中,根据所述从网关的配置更新信息确定待更新的从网关包括:The slave gateway configuration method according to claim 5, wherein determining the slave gateway to be updated according to the configuration update information of the slave gateway includes:
    解析所述配置更新信息,获得从网关本地存储的从网关配置文件的版本信息;Parse the configuration update information and obtain the version information of the slave gateway configuration file stored locally on the slave gateway;
    在所述从网关上存储的从网关配置文件的版本信息,与当前主网关本地存储的从网关配置文件的版本信息不同的情况下,确定该从网关为待更新的从网关。When the version information of the slave gateway configuration file stored on the slave gateway is different from the version information of the slave gateway configuration file stored locally on the current master gateway, the slave gateway is determined to be the slave gateway to be updated.
  9. 根据权利要求5所述的从网关配置方法,其中,根据所述从网关的配置更新信息确定待更新的从网关包括:The slave gateway configuration method according to claim 5, wherein determining the slave gateway to be updated according to the configuration update information of the slave gateway includes:
    解析所述配置更新信息,获得用于校验所述从网关上存储的从网关配置文件完整性的哈希码; Parse the configuration update information and obtain a hash code used to verify the integrity of the secondary gateway configuration file stored on the secondary gateway;
    在所述哈希码校验失败的情况下,确定该从网关为待更新的从网关。If the hash code verification fails, the slave gateway is determined to be the slave gateway to be updated.
  10. 根据权利要求1至9中任意一项所述的从网关配置方法,其中,通过光网络单元管理控制接口OMCI的私有定义的通道或扩展操作管理维护OAM的通道,向所述从网关下发从网关配置文件。The slave gateway configuration method according to any one of claims 1 to 9, wherein the slave gateway is issued to the slave gateway through a privately defined channel of the optical network unit management control interface OMCI or a channel of the extended operation management and maintenance OAM. Gateway configuration file.
  11. 根据权利要求1至9中任意一项所述的从网关配置方法,其中,在向所述从网关下发从网关配置文件之前,所述从网关配置方法还包括:The slave gateway configuration method according to any one of claims 1 to 9, wherein before issuing the slave gateway configuration file to the slave gateway, the slave gateway configuration method further includes:
    通过当前主网关所归属的网管或管理平台下发的业务配置获得所述主网关的配置参数。The configuration parameters of the main gateway are obtained through the service configuration issued by the network management or management platform to which the current main gateway belongs.
  12. 一种从网关配置方法,用于从网关,包括:A slave gateway configuration method for slave gateways, including:
    接收当前从网关所接入的主网关下发的从网关配置文件,其中,所述从网关配置文件包括基于当前从网关接入的主网关的主网关配置参数和与当前从网关对应的模板配置文件生成的从网关配置文件。Receive the slave gateway configuration file issued by the master gateway currently connected to the slave gateway, wherein the slave gateway configuration file includes the master gateway configuration parameters based on the master gateway currently connected to the slave gateway and the template configuration corresponding to the current slave gateway. File generated from the gateway configuration file.
  13. 根据权利要求12所述的从网关配置方法,其中,所述与从网关对应的模板配置文件包括与所述从网关的各个业务分别对应的配置参数模板。The slave gateway configuration method according to claim 12, wherein the template configuration file corresponding to the slave gateway includes configuration parameter templates respectively corresponding to each service of the slave gateway.
  14. 根据权利要求12所述的从网关配置方法,其中,在当前从网关已经存储有当前从网关所接入的主网关下发的从网关配置文件的情况下,所述从网关配置方法还包括:The slave gateway configuration method according to claim 12, wherein in the case that the current slave gateway has stored the slave gateway configuration file issued by the master gateway to which the slave gateway is currently connected, the slave gateway configuration method further includes:
    接收所述主网关重新下发的从网关配置文件。Receive the slave gateway configuration file re-issued by the master gateway.
  15. 根据权利要求14所述的从网关配置方法,还包括:The secondary gateway configuration method according to claim 14, further comprising:
    对重新下发的从网关配置文件进行解析,获得增量配置文件,其中,所述增量配置文件为所述主网关针对发生变更的主网关配置参 数生成的配置片段;The reissued slave gateway configuration file is parsed to obtain an incremental configuration file, where the incremental configuration file is the changed master gateway configuration parameters of the master gateway. Number of generated configuration fragments;
    将所述增量的从网关配置文件与当前从网关上存储的从网关配置文件合并组成变更后的从网关配置文件。The incremental slave gateway configuration file is merged with the slave gateway configuration file currently stored on the slave gateway to form a changed slave gateway configuration file.
  16. 根据权利要求12所述的从网关配置方法,还包括:The slave gateway configuration method according to claim 12, further comprising:
    向所述主网关发送配置更新信息,用于表征当前从网关的版本。Send configuration update information to the master gateway, used to represent the version of the current slave gateway.
  17. 根据权利要求16所述的从网关配置方法,其中,在向所述主网关发送配置更新信息之前,所述从网关配置方法还包括:The slave gateway configuration method according to claim 16, wherein before sending configuration update information to the master gateway, the slave gateway configuration method further includes:
    响应于所述主网关的文件更新检查消息,向所述主网关反馈针对所述文件更新检查消息的配置更新信息。In response to the file update check message of the main gateway, configuration update information for the file update check message is fed back to the main gateway.
  18. 根据权利要求16所述的从网关配置方法,其中,在向所述主网关发送配置更新信息之前,所述从网关配置方法还包括:The slave gateway configuration method according to claim 16, wherein before sending configuration update information to the master gateway, the slave gateway configuration method further includes:
    响应于所述主网关的配置文件查询消息,向所述主网关发送针对所述配置文件查询消息的配置更新信息。In response to the configuration file query message of the main gateway, send configuration update information for the configuration file query message to the main gateway.
  19. 根据权利要求16所述的从网关配置方法,其中,所述配置更新信息包括:The slave gateway configuration method according to claim 16, wherein the configuration update information includes:
    所述从网关上存储的从网关配置文件的版本信息,和/或The version information of the secondary gateway configuration file stored on the secondary gateway, and/or
    用于校验所述从网关上存储的从网关配置文件完整性的哈希码。A hash code used to verify the integrity of the secondary gateway configuration file stored on the secondary gateway.
  20. 根据权利要求12所述的从网关配置方法,其中,在接收当前从网关所接入的主网关下发的从网关配置文件之后,所述从网关配置方法还包括:The slave gateway configuration method according to claim 12, wherein after receiving the slave gateway configuration file issued by the primary gateway to which the slave gateway is currently connected, the slave gateway configuration method further includes:
    对所述主网关下发的从网关配置文件进行校验;Verify the slave gateway configuration file issued by the master gateway;
    在校验失败的情况下,向所述主网关应答下载失败;In the case of verification failure, respond to the main gateway that the download failed;
    在校验成功的情况下,调用相关业务模块进行参数配置。If the verification is successful, call the relevant business module to configure parameters.
  21. 根据权利要求20所述的从网关配置方法,其中,对所述主 网关下发的从网关配置文件进行校验包括以下校验中的至少一种:The slave gateway configuration method according to claim 20, wherein the master The verification from the gateway configuration file issued by the gateway includes at least one of the following verifications:
    文件合法性校验、时间校验、下载完整性校验、内容有效性校验、配置有效性校验。File legality verification, time verification, download integrity verification, content validity verification, and configuration validity verification.
  22. 根据权利要求20所述的从网关配置方法,其中,在所述校验成功的情况下,在调用相关业务模块进行参数配置之前,所述从网关配置方法还包括:The secondary gateway configuration method according to claim 20, wherein, if the verification is successful, before calling the relevant business module for parameter configuration, the secondary gateway configuration method further includes:
    对所述主网关下发的从网关配置文件进行配置检查,Check the configuration of the slave gateway configuration file issued by the master gateway,
    其中,所述配置检查包括以下检查中的至少一种:Wherein, the configuration check includes at least one of the following checks:
    文件基本元素检查、文件完整性检查、参数值合法性检查。Check the basic elements of the file, check the integrity of the file, and check the legality of parameter values.
  23. 根据权利要求12至22中任意一项所述的从网关配置方法,其中,通过光网络单元管理控制接口OMCI的私有定义的通道或扩展操作管理维护OAM的通道,接收所述主网关下发的从网关配置文件。The slave gateway configuration method according to any one of claims 12 to 22, wherein the configuration sent by the master gateway is received through a privately defined channel of the optical network unit management control interface OMCI or a channel of the extended operation management and maintenance OAM. From the gateway configuration file.
  24. 一种电子设备,所述电子设备包括:An electronic device, the electronic device includes:
    一个或多个处理器;one or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至23中任意一项所述的从网关配置方法。A memory having one or more programs stored thereon. When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 23. The slave gateway configuration method described in the item.
  25. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至23中任意一项所述的从网关配置方法。 A computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the slave gateway configuration method according to any one of claims 1 to 23 is implemented.
PCT/CN2023/100057 2022-08-30 2023-06-14 Slave gateway configuration method, electronic device and computer-readable storage medium WO2024045765A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211055723.2 2022-08-30
CN202211055723.2A CN117675555A (en) 2022-08-30 2022-08-30 Slave gateway configuration method, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2024045765A1 true WO2024045765A1 (en) 2024-03-07

Family

ID=90079435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/100057 WO2024045765A1 (en) 2022-08-30 2023-06-14 Slave gateway configuration method, electronic device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN117675555A (en)
WO (1) WO2024045765A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124240A (en) * 2013-02-07 2013-05-29 北京华为数字技术有限公司 Gateway configuration method, gateway devices and network system
CN103167543A (en) * 2011-12-19 2013-06-19 中国科学院沈阳自动化研究所 Redundance gateway based on windows image acquisition (WIA) network
CN103973476A (en) * 2013-02-06 2014-08-06 上海杰之能信息科技有限公司 Gateway, and gateway hot backup system and method
US20180006880A1 (en) * 2016-06-29 2018-01-04 Nicira, Inc. Ranking of Gateways in Cluster
CN111934912A (en) * 2020-07-15 2020-11-13 浙江中控技术股份有限公司 Hot standby redundancy system of double-host isolation gateway and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167543A (en) * 2011-12-19 2013-06-19 中国科学院沈阳自动化研究所 Redundance gateway based on windows image acquisition (WIA) network
CN103973476A (en) * 2013-02-06 2014-08-06 上海杰之能信息科技有限公司 Gateway, and gateway hot backup system and method
CN103124240A (en) * 2013-02-07 2013-05-29 北京华为数字技术有限公司 Gateway configuration method, gateway devices and network system
US20180006880A1 (en) * 2016-06-29 2018-01-04 Nicira, Inc. Ranking of Gateways in Cluster
CN111934912A (en) * 2020-07-15 2020-11-13 浙江中控技术股份有限公司 Hot standby redundancy system of double-host isolation gateway and control method

Also Published As

Publication number Publication date
CN117675555A (en) 2024-03-08

Similar Documents

Publication Publication Date Title
WO2020140667A1 (en) Consortium blockchain node management system and method
US11943376B1 (en) Template based credential provisioning
CN103297529B (en) Based on the tree-type structure data synchronous method of timestamp
CN102006334B (en) Method, system and device for installing software component
US7376719B1 (en) Automatic generation of configuration data using implementation-specific configuration policies
US8326953B2 (en) Configuration management method and system for customer premises equipment
US7558835B1 (en) Application of a configuration patch to a network device
US7865578B1 (en) Generation of a configuration patch for network devices
US20190288995A1 (en) Autonomous secrets management for a managed service identity
US20150305008A1 (en) Method and apparatus for updating information regarding specific resource in wireless communication system
US10691790B2 (en) Autonomous secrets management for a temporary shared access signature service
WO2011137793A1 (en) Method, apparatus and network system for achieving remote update of zigbee devices
CN111404924B (en) Security management and control method, device, equipment and storage medium of cluster system
WO2019184775A1 (en) Management data storage method and device, and storage medium
CN103024065A (en) System configuration management method for cloud storage system
WO2011082684A1 (en) Data configuration method and apparatus
CN111628886A (en) Method and device for building block chain network under private cloud environment, and computer equipment
US7483965B1 (en) Generation of a configuration patch for network devices
KR102558266B1 (en) Data collection method, apparatus, device and computer readable storage medium
CN105635218A (en) Software center system
WO2020010906A1 (en) Method and device for operating system (os) batch installation, and network device
WO2008151571A1 (en) Method, system, dm client and dm server for installing software component
WO2024045765A1 (en) Slave gateway configuration method, electronic device and computer-readable storage medium
WO2018036521A1 (en) Resource adjustment method, apparatus, and system
WO2023151428A1 (en) Home all-optical network gateway version upgrading method, electronic device, and storage medium

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: 23858804

Country of ref document: EP

Kind code of ref document: A1