WO2016197617A1 - Packet transport network device, and resource recovery method and apparatus therefor - Google Patents

Packet transport network device, and resource recovery method and apparatus therefor Download PDF

Info

Publication number
WO2016197617A1
WO2016197617A1 PCT/CN2016/071632 CN2016071632W WO2016197617A1 WO 2016197617 A1 WO2016197617 A1 WO 2016197617A1 CN 2016071632 W CN2016071632 W CN 2016071632W WO 2016197617 A1 WO2016197617 A1 WO 2016197617A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
transport network
packet transport
configuration data
board
Prior art date
Application number
PCT/CN2016/071632
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 WO2016197617A1 publication Critical patent/WO2016197617A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • storing the acquired attribute configuration data in the form of a file includes:
  • the method before the restarting of the packet transport network device, the method further includes setting a restart mode of the packet transport network device to a board port attribute loading mode;
  • the setting module is configured to set a restart mode of the packet transport network device to a board port attribute loading mode before the packet transport network device is restarted;
  • the second configuration sub-module is configured to configure, by using the corresponding attribute configuration data reported by the physical line card, the board port determined by the second determining sub-module.
  • the packet transport network device and the resource recovery method and device thereof provided by the present invention before the restart of the packet transport network device, select to back up the attribute configuration data of the board port of the packet transport network device; when the packet transport network device restarts, Configure the board port of the packet transport network device based on the attribute configuration data that is backed up. Therefore, you can ensure the correct configuration of the port port attributes and ensure that the link is up and the network management is removed.
  • FIG. 1 is a schematic flowchart of a resource recovery method for a packet transport network device according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic diagram of a resource backup process of a packet transport network device according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic diagram of a resource recovery process of a packet transport network device according to Embodiment 3 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • Step 102 Configure the board port of the packet transport network device according to the backed up attribute configuration data when the packet transport network device is restarted. Therefore, the correctness of the port port attribute configuration is ensured, and the link up is ensured to prevent the network management from being taken off.
  • the attribute configuration data of the board port of the packet transport network device is backed up, as shown in FIG. 2, including:
  • Step 201 Obtain the attribute configuration data of the board port and the board where the board port is located, from the memory of the packet transport network device.
  • step 201 it is necessary to sort out all the attribute configuration data related to the board and the board port in the packet transfer network device, and divide the part of the data into a set, and store the data in the set as a file. Specifically, it can be stored in a disk local to the packet transport network device, and can of course be stored in other locations.
  • the present embodiment preferably integrates the memory data related to the board and port attributes into the set.
  • the attribute configuration data of the board and the board port is stored in the file format, the attribute data of the board is stored in the board in the embodiment. Before the attribute configuration data of each board port.
  • Step 301 determining whether the restart mode of the packet transport network device is a board port attribute loading mode, if yes, go to step 302; otherwise, go to step 303;
  • Step 302 Configure the configuration data of the backup to configure the port of the board. That is, the corresponding attribute configuration data stored in the storage is read from the disk, and the data is parsed and sent to the opposite phase. The port should be configured.
  • Step 401 Load the backup attribute configuration data to configure the board port.
  • Step 405 Configure the board port by using the corresponding attribute configuration data reported by the physical line card.
  • the processing module 2 is configured to configure a board port of the packet transport network device according to the attribute configuration data of the backup when the packet transport network device is restarted.
  • the obtaining sub-module 11 is configured to obtain, from the memory of the packet transport network device, the board configuration port and the attribute configuration data of the board where the board port is located;
  • the packet transport network device resource recovery device further includes a setting module 3, the processing module 2 includes a first determining sub-module 21 and a second configuration sub-module 22;
  • the second configuration sub-module 22 is configured to configure the corresponding board port according to the received attribute configuration data of the received notification.
  • the packet transport network device resource recovery apparatus in this embodiment may be implemented by software or combination of software and hardware, and exists in a packet transport network device, and the foregoing modules and submodules may also be implemented by software or hardware. It can be stored on a variety of disks when implemented in software.
  • Step 701 The packet transport network device restarts
  • Step 706 Determine whether the board port has been configured according to the attribute data of the backup storage, if not, go to step 707; otherwise, go to step 708;

Landscapes

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

Abstract

Disclosed are a packet transport network device, and a resource recovery method and apparatus therefor. The method comprises: before a packet transport network device is restarted, selecting attribute configuration data of a single-board port of the packet transport network device and backing up same; and when the packet transport network device is restarted, configuring the single-board port of the packet transport network device according to the attribute configuration data that is backed up, so that the accuracy of the attribute configuration of the single-board port can be guaranteed, an up state of a link is guaranteed, and a network is prevented from escaping from management.

Description

分组传送网设备及其资源恢复方法、装置Packet transmission network device and resource recovery method and device thereof 技术领域Technical field
本发明涉及通信领域,具体涉及一种分组传送网设备及其资源恢复方法、装置。The present invention relates to the field of communications, and in particular, to a packet transport network device and a resource recovery method and apparatus thereof.
背景技术Background technique
在PTN(Packet Transport Network,分组传送网)组网环境中,小型的PTN设备作为UNI(User Networks interface,用户网络接口)侧的环境下,需要清库重启的场景很多,比如业务大规模重置,设备异常等经常需要清库重启,相当于业务重新开局,然后用网管配置或者下载数据。而这种场景必须要保证网管能够连接管理设备,因为作为UNI侧的PTN设备一般放置的地方比较偏远,大部分是在中心统一建立网管服务器对各个网元进行管理,如果网管断链,则会给工程人员带来非常大的麻烦。目前网管管理设备从工程应用角度上都使用DCN(Data Communication Network,数据通信网络)便捷开通,而大部分设备是作为非接入网元的,这就要求设备互联的端口能够保持链路up,才能保证DCN使用的路由建立起来。而目前的设备在清库重启后,所有的端口属性恢复了默认值,而目前的端口比如以太网端口如光电、速率自协商模式不一致的时候会导致链路down,在百兆口单板和千兆口光电混合板子的端口进行对接的时候,使用清库重启的默认值是不能协商成功的,要保证协商成功,必须要修改光电属性和自协商属性配置才能保证链路up,从而保证设备在作为非接入网元的时候才能通过DCN管理上。因此现有的PTN重启恢复场景中,不能保证在清除业务的前提下,保证单板端口属性的正确配置,并不能满足目前需求。 In a PTN (Packet Transport Network) network environment, a small PTN device is used as the UNI (User Network Interface). , equipment abnormalities, etc. often need to clear the library restart, which is equivalent to the business restart, and then use the network management configuration or download data. In this scenario, the network management system must be connected to the management device. The PTN device on the UNI side is generally placed in a remote location. Most of them are managed by the network management server in the center. If the network management is broken, It brings a lot of trouble to the engineering staff. At present, the network management device uses the DCN (Data Communication Network) to be easily opened from the perspective of engineering applications, and most of the devices are used as non-access network elements, which requires the ports of the devices to be connected to maintain the link up. In order to ensure that the route used by the DCN is established. After the current device is restarted, all the port attributes are restored to the default values. If the current port, such as the optical port and the rate auto-negotiation mode, are inconsistent, the link will be down. When the port of the Gigabit optical hybrid board is docked, the default value of the library restart cannot be negotiated successfully. To ensure successful negotiation, you must modify the photoelectric attribute and auto-negotiation attribute configuration to ensure the link up, thus ensuring the device. It can be managed by the DCN when it is a non-access network element. Therefore, in the existing PTN restart and recovery scenarios, the correct configuration of the port attributes of the board is not guaranteed and the current requirements cannot be met.
发明内容Summary of the invention
本发明实施例提供了一种分组传送网设备及其资源恢复方法、装置,以至少解决相关技术中PTN清库重启业务全部删除后,单板端口配置数据不正确,而导致链路不能up的问题。The embodiment of the present invention provides a packet transmission network device and a resource recovery method and device thereof, so as to at least solve the problem that the configuration information of the board port is incorrect after the PTN clearing pool restart service is deleted in the related art, and the link cannot be up. problem.
为解决上述技术问题,本发明实施例提供一种分组传送网设备资源恢复方法,包括:To solve the above technical problem, an embodiment of the present invention provides a method for recovering a resource of a packet transport network device, including:
在分组传送网设备重启前,将该分组传送网设备的单板端口的属性配置数据进行备份;Before the packet transport network device is restarted, the attribute configuration data of the board port of the packet transport network device is backed up;
在所述分组传送网设备重启时,根据所述属性配置数据对所述分组传送网设备的单板端口进行配置。When the packet transport network device is restarted, the board port of the packet transport network device is configured according to the attribute configuration data.
在本发明的一种实施例中,将所述分组传送网设备的单板端口的属性配置数据进行备份包括:In an embodiment of the present invention, backing up the attribute configuration data of the board port of the packet transport network device includes:
从所述分组传送网设备的内存中获取单板端口以及该单板端口所在单板的属性配置数据;Obtaining, from the memory of the packet transport network device, a board port and attribute configuration data of a board where the board port is located;
将获取的所述属性配置数据以文件的形式进行存储。The obtained attribute configuration data is stored in the form of a file.
在本发明的一种实施例中,将获取的所述属性配置数据以文件的形式进行存储包括:In an embodiment of the present invention, storing the acquired attribute configuration data in the form of a file includes:
将单板的属性配置数据存储在该单板上各单板端口的属性配置数据之前。Store the attribute configuration data of the board before the attribute configuration data of each board port on the board.
在本发明的一种实施例中,在所述分组传送网设备重启之前,还包括将所述分组传送网设备的重启模式设置为单板端口属性加载模式;In an embodiment of the present invention, before the restarting of the packet transport network device, the method further includes setting a restart mode of the packet transport network device to a board port attribute loading mode;
所述分组传送网设备重启过程中根据所述属性配置数据对所述单板端口进行配置包括: The configuration of the board port according to the attribute configuration data during the restart of the packet transport network device includes:
判断所述分组传送网设备的重启模式是否为单板端口属性加载模式,如是,加载所述备份的属性配置数据对所述单板端口进行配置。And determining whether the restart mode of the packet transport network device is a board port attribute loading mode, and if yes, loading the attribute configuration data of the backup to configure the board port.
在本发明的一种实施例中,加载所述备份的属性配置数据对所述单板端口进行配置后,还包括:In an embodiment of the present invention, after the attribute configuration data of the backup is configured to configure the board port, the method further includes:
接收物理线卡上报的单板端口属性配置数据;Receiving the board port attribute configuration data reported by the physical line card;
对于根据所述备份的属性配置数据还未进行配置的单板端口,采用所述物理线卡上报的对应属性配置数据对该单板端口进行配置。The board port is configured by using the corresponding attribute configuration data reported by the physical line card for the board port that has not been configured according to the attribute of the backup.
为了解决上述问题,本发明实施例还提供了一种分组传送网设备资源恢复装置,包括:In order to solve the above problem, the embodiment of the present invention further provides a packet transport network device resource recovery apparatus, including:
备份模块,设置为在分组传送网设备重启前,将该分组传送网设备的单板端口的属性配置数据进行备份;The backup module is configured to back up the attribute configuration data of the board port of the packet transport network device before the packet transport network device is restarted;
处理模块,设置为在所述分组传送网设备重启时,根据所述属性配置数据对所述分组传送网设备的单板端口进行配置。The processing module is configured to configure a board port of the packet transport network device according to the attribute configuration data when the packet transport network device is restarted.
在本发明的一种实施例中,所述备份模块包括获取子模块和存储子模块;In an embodiment of the present invention, the backup module includes an acquisition submodule and a storage submodule;
所述获取子模块设置为从所述分组传送网设备的内存中获取单板端口以及该单板端口所在单板的属性配置数据;The obtaining sub-module is configured to obtain, from the memory of the packet transport network device, a board port and attribute configuration data of a board where the board port is located;
所处存储子模块设置为将获取的所述属性配置数据以文件的形式进行存储。The storage submodule is set to store the acquired attribute configuration data in the form of a file.
在本发明的一种实施例中,所述分组传送网设备资源恢复装置还包括设置模块,所述处理模块包括第一判断子模块和配置子模块;In an embodiment of the present invention, the packet transport network device resource recovery apparatus further includes a setting module, where the processing module includes a first determining submodule and a configuration submodule;
所述设置模块设置为在所述分组传送网设备重启之前,将所述分组传送网设备的重启模式设置为单板端口属性加载模式;The setting module is configured to set a restart mode of the packet transport network device to a board port attribute loading mode before the packet transport network device is restarted;
所述第一判断子模块设置为判断所述分组传送网设备的重启模式是 否为单板端口属性加载模式,如是,通知所述配置子模块;The first determining submodule is configured to determine that the restart mode of the packet transport network device is Whether it is a board port attribute loading mode, and if so, notifying the configuration submodule;
所述配置子模块设置为根据所述通知加载所述备份的属性配置数据对所述单板端口进行配置。The configuration sub-module is configured to configure the board port by configuring the attribute configuration data of the backup according to the notification.
在本发明的一种实施例中,分组传送网设备资源恢复装置还包括接收模块,所述处理模块还包括第二判断子模块和第二配置子模块;In an embodiment of the present invention, the packet transport network device resource recovery apparatus further includes a receiving module, and the processing module further includes a second determining submodule and a second configuration submodule;
所述接收模块设置为接收物理线卡上报的单板端口属性配置数据;The receiving module is configured to receive the board port attribute configuration data reported by the physical line card;
所述第二判断子模块设置为判断出根据所述备份的属性配置数据还未进行配置的单板端口;The second determining sub-module is configured to determine a board port that has not been configured according to the attribute configuration data of the backup;
所述第二配置子模块设置为采用所述物理线卡上报的对应属性配置数据对所述第二判断子模块判断出的单板端口进行配置。The second configuration sub-module is configured to configure, by using the corresponding attribute configuration data reported by the physical line card, the board port determined by the second determining sub-module.
为了解决上述问题,本发明实施例还提供了一种分组传送网设备,包括如上所述的分组传送网设备资源恢复装置。In order to solve the above problem, an embodiment of the present invention further provides a packet transport network device, including the packet transport network device resource recovery device as described above.
本发明的有益效果是:The beneficial effects of the invention are:
本发明提供的分组传送网设备及其资源恢复方法、装置,在分组传送网设备重启前,选择将该分组传送网设备的单板端口的属性配置数据进行备份;在分组传送网设备重启时,根据所备份的属性配置数据对分组传送网设备的单板端口进行配置,因此能够保证单板端口属性配置的正确性,保证链路up,避免网管脱管。The packet transport network device and the resource recovery method and device thereof provided by the present invention, before the restart of the packet transport network device, select to back up the attribute configuration data of the board port of the packet transport network device; when the packet transport network device restarts, Configure the board port of the packet transport network device based on the attribute configuration data that is backed up. Therefore, you can ensure the correct configuration of the port port attributes and ensure that the link is up and the network management is removed.
附图说明DRAWINGS
图1为本发明实施例一提供的分组传送网设备资源恢复方法流程示意图;1 is a schematic flowchart of a resource recovery method for a packet transport network device according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的分组传送网设备单板端口属性配置数据备份流程示意图; 2 is a schematic flowchart of a data backup process of a port port attribute configuration data of a packet transport network device according to Embodiment 1 of the present invention;
图3为本发明实施例一提供的根据备份的属性配置数据对单板端口进行配置流程示意图;FIG. 3 is a schematic flowchart of configuring a board port according to the attribute configuration data of the backup according to the first embodiment of the present invention;
图4为本发明实施例一提供的根据物理线卡上报的属性配置数据对单板端口进行配置流程示意图;4 is a schematic flowchart of configuring a board port according to attribute configuration data reported by a physical line card according to Embodiment 1 of the present invention;
图5为本发明实施例二提供的分组传送网设备资源恢复装置结构示意图;FIG. 5 is a schematic structural diagram of a device for resource recovery of a packet transport network device according to Embodiment 2 of the present invention;
图6为本发明实施例三提供的分组传送网设备资源备份流程示意图;FIG. 6 is a schematic diagram of a resource backup process of a packet transport network device according to Embodiment 3 of the present invention; FIG.
图7为本发明实施例三提供的分组传送网设备资源恢复流程示意图。FIG. 7 is a schematic diagram of a resource recovery process of a packet transport network device according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
请参见图1所示,本实施例中的分组传送网设备资源恢复方法包括:Referring to FIG. 1, the packet transport network device resource recovery method in this embodiment includes:
步骤101:在分组传送网设备重启前,将该分组传送网设备的单板端口的属性配置数据进行备份;Step 101: Back up the attribute configuration data of the board port of the packet transport network device before the packet transport network device is restarted;
步骤102:在分组传送网设备重启时,根据所备份的属性配置数据对该分组传送网设备的单板端口进行配置。因此能够保证单板端口属性配置的正确性,保证链路up,避免网管脱管。Step 102: Configure the board port of the packet transport network device according to the backed up attribute configuration data when the packet transport network device is restarted. Therefore, the correctness of the port port attribute configuration is ensured, and the link up is ensured to prevent the network management from being taken off.
上述步骤101中,将分组传送网设备的单板端口的属性配置数据进行备份请参见图2所示,包括:In the foregoing step 101, the attribute configuration data of the board port of the packet transport network device is backed up, as shown in FIG. 2, including:
步骤201:从分组传送网设备的内存中获取单板端口以及该单板端口所在单板的属性配置数据;Step 201: Obtain the attribute configuration data of the board port and the board where the board port is located, from the memory of the packet transport network device.
该步骤中,单板的属性配置数据可包括逻辑板ID、单板端口数据中的至少一种;单板端口的属性配置数据可包括协议机制数据、单/双工工作 模式数据、光电属性数据、交叉连接方式数据、环回数据等中的至少一种。In this step, the attribute configuration data of the board may include at least one of a logic board ID and a board port data; the attribute configuration data of the board port may include protocol mechanism data, single/duplex work. At least one of mode data, photoelectric attribute data, cross-connection mode data, loopback data, and the like.
步骤202:将获取的所属性配置数据以文件的形式进行存储。Step 202: Store the acquired attribute configuration data in the form of a file.
上述步骤201中,需要梳理出分组传送网络设备中所有跟单板以及单板端口相关的属性配置数据,可以将这部分数据划分为一个集合,将这个集合中的数据以文件的形式进行存储,具体可存储到分组传送网设备本地的磁盘中,当然也可存储在其他位置。本实施例中,虽然一个端口属性数据对于链路的up或down并不影响,为了数据恢复的统一处理,本实施例优选只要涉及单板和端口属性的内存数据就统一放在该集合中。另外,将单板和单板端口的属性配置数据以文件的形式进行存储时,保证被依赖的数据放在依赖的数据之前,因此本实施例中将单板的属性配置数据存储在该单板上各单板端口的属性配置数据之前。In the foregoing step 201, it is necessary to sort out all the attribute configuration data related to the board and the board port in the packet transfer network device, and divide the part of the data into a set, and store the data in the set as a file. Specifically, it can be stored in a disk local to the packet transport network device, and can of course be stored in other locations. In this embodiment, although one port attribute data does not affect the up or down of the link, in order to perform unified processing of data recovery, the present embodiment preferably integrates the memory data related to the board and port attributes into the set. In addition, when the attribute configuration data of the board and the board port is stored in the file format, the attribute data of the board is stored in the board in the embodiment. Before the attribute configuration data of each board port.
在上述步骤102之前,也即在分组传送网设备重启之前,本实施例还包括将分组传送网设备的重启模式设置为单板端口属性加载模式;且设置的单板端口属性加载模式也可以文件的进行存储,优选存储到分组传送网设备本地的磁盘中。Before the foregoing step 102, that is, before the packet transport network device is restarted, the embodiment further includes setting a restart mode of the packet transport network device to a board port attribute loading mode; and setting the board port attribute loading mode to a file. The storage is preferably stored in a disk local to the packet transport network device.
本实施例中对上述数据以文件形式进行存储时可以由用户执行写库操作命令进行写库,也可以由内部定时将内存中的上述集合以及设定的加载模式数据进行写库。In the embodiment, when the data is stored in the file form, the user may execute the write library operation command to write the library, or the internal timing may be used to write the set in the memory and the set load mode data.
上述步骤102中,分组传送网设备重启过程中根据备份的属性配置数据对单板端口进行配置请参见图3所示,包括:In the above step 102, the configuration of the board port according to the attribute configuration data of the backup is performed in the process of restarting the packet transport network device, as shown in FIG. 3, including:
步骤301:判断分组传送网设备的重启模式是否为单板端口属性加载模式,如是,转至步骤302;否则,转至步骤303;Step 301: determining whether the restart mode of the packet transport network device is a board port attribute loading mode, if yes, go to step 302; otherwise, go to step 303;
步骤302:加载备份的属性配置数据对单板端口进行配置。也即从磁盘中读取存储的相应的属性配置数据,解析出这些数据并进行下发以对相 应的端口进行配置。Step 302: Configure the configuration data of the backup to configure the port of the board. That is, the corresponding attribute configuration data stored in the storage is read from the disk, and the data is parsed and sent to the opposite phase. The port should be configured.
步骤303:按照现有流程进行属性数据的接收和配置。Step 303: Performing and configuring attribute data according to an existing process.
在本实施例中,即使采用上述方式数据恢复,但分组传送网设备的物理线卡仍会上报默认的单板端口数据,因此本实施例为了保证单板端口配置的正确性和数据库恢复的一致性,同时由于物理线卡运行并上报端口资源时间的不确定性,本实施例优选先按照上述图3所示的步骤根据备份的属性配置数据对相应的端口进行配置,然后再接受物理线卡发送的端口数据,并判断对应的单板端口是否已根据备份的属性配置数据进行配置,如是,则不再对其进行配置,也即不再生成默认值;否则,根据物理线卡上报的对应属性配置数据对该端口进行配置,生成默认属性。该控制过程请参见图4所示,包括:In this embodiment, even if the data recovery is performed in the foregoing manner, the physical line card of the packet transport network device still reports the default card port data. Therefore, in this embodiment, the correctness of the port port configuration and the database recovery are consistent. Sexually, at the same time, due to the uncertainty of the physical line card running and reporting the resource time of the port, the embodiment preferably first configures the corresponding port according to the attribute configuration data of the backup according to the steps shown in FIG. 3 above, and then accepts the physical line card. The port data is sent, and the corresponding card port is configured according to the configuration data of the backup. If yes, the configuration is no longer configured, that is, the default value is no longer generated. Otherwise, the corresponding data is reported according to the physical line card. The attribute configuration data configures the port to generate default attributes. The control process is shown in Figure 4 and includes:
步骤401:加载备份的属性配置数据对所述单板端口进行配置;Step 401: Load the backup attribute configuration data to configure the board port.
步骤402:接收物理线卡上报的单板端口属性配置数据;Step 402: Receive the board port attribute configuration data reported by the physical line card.
步骤403:判断单板端口是否已根据备份的属性配置数据进行配置了,如是,转至步骤404;否则,转至步骤405;Step 403: Determine whether the board port has been configured according to the attribute configuration data of the backup, and if yes, go to step 404; otherwise, go to step 405;
步骤404:则不再对其进行配置。Step 404: It is no longer configured.
步骤405:采用物理线卡上报的对应属性配置数据对该单板端口进行配置。Step 405: Configure the board port by using the corresponding attribute configuration data reported by the physical line card.
实施例二:Embodiment 2:
本实施例提供了一种分组传送网设备资源恢复装置,请参见图5所示,包括:This embodiment provides a packet transport network device resource recovery device, as shown in FIG. 5, including:
备份模块1,设置为在分组传送网设备重启前,将该分组传送网设备的单板端口的属性配置数据进行备份; The backup module 1 is configured to back up the attribute configuration data of the board port of the packet transport network device before the packet transport network device is restarted;
处理模块2,设置为在分组传送网设备重启时,根据备份的属性配置数据对分组传送网设备的单板端口进行配置。The processing module 2 is configured to configure a board port of the packet transport network device according to the attribute configuration data of the backup when the packet transport network device is restarted.
其中,备份模块1包括获取子模块11和存储子模块12;The backup module 1 includes an acquisition submodule 11 and a storage submodule 12;
获取子模块11设置为从分组传送网设备的内存中获取单板端口以及该单板端口所在单板的属性配置数据;The obtaining sub-module 11 is configured to obtain, from the memory of the packet transport network device, the board configuration port and the attribute configuration data of the board where the board port is located;
存储子模块12设置为将获取的所述属性配置数据以文件的形式进行存储。具体可存储到分组传送网设备本地的磁盘中,当然也可存储在其他位置。本实施例中,虽然一个端口属性数据对于链路的up或down并不影响,为了数据恢复的统一处理,本实施例优选只要涉及单板和端口属性的内存数据就统一放在该集合中。另外,将单板和单板端口的属性配置数据以文件的形式进行存储时,保证被依赖的数据放在依赖的数据之前,因此本实施例中将单板的属性配置数据存储在该单板上各单板端口的属性配置数据之前。The storage sub-module 12 is arranged to store the acquired attribute configuration data in the form of a file. Specifically, it can be stored in a disk local to the packet transport network device, and can of course be stored in other locations. In this embodiment, although one port attribute data does not affect the up or down of the link, in order to perform unified processing of data recovery, the present embodiment preferably integrates the memory data related to the board and port attributes into the set. In addition, when the attribute configuration data of the board and the board port is stored in the file format, the attribute data of the board is stored in the board in the embodiment. Before the attribute configuration data of each board port.
分组传送网设备资源恢复装置还包括设置模块3,处理模块2包括第一判断子模块21和第二配置子模块22;The packet transport network device resource recovery device further includes a setting module 3, the processing module 2 includes a first determining sub-module 21 and a second configuration sub-module 22;
设置模块3设置为在分组传送网设备重启之前,将分组传送网设备的重启模式设置为单板端口属性加载模式;且设置的单板端口属性加载模式也可以文件的进行存储,优选存储到分组传送网设备本地的磁盘中。The setting module 3 is configured to set the restart mode of the packet transport network device to the board port attribute loading mode before the packet transport network device is restarted; and the set board port attribute loading mode can also be stored in a file, preferably stored in a group. The disk on the local device of the transport network device.
第一判断子模块21设置为判断分组传送网设备的重启模式是否为单板端口属性加载模式,如是,通知配置子模块;The first judging sub-module 21 is configured to determine whether the restart mode of the packet transport network device is a board port attribute loading mode, and if yes, notify the configuration sub-module;
第二配置子模块22设置为根据接收到的通知加载备份的属性配置数据对相应的单板端口进行配置。The second configuration sub-module 22 is configured to configure the corresponding board port according to the received attribute configuration data of the received notification.
分组传送网设备资源恢复装置还包括接收模块4,处理模块2还包括第二判断子模块23和第二配置子模块24; The packet transmission network device resource recovery device further includes a receiving module 4, the processing module 2 further comprising a second determining sub-module 23 and a second configuration sub-module 24;
接收模块4设置为接收物理线卡上报的单板端口属性配置数据;The receiving module 4 is configured to receive the board port attribute configuration data reported by the physical line card;
第二判断子模块23设置为判断出根据备份的属性配置数据还未进行配置的单板端口;The second judging sub-module 23 is configured to determine a board port that has not been configured according to the attribute configuration data of the backup;
第二配置子模块24设置为采用物理线卡上报的对应属性配置数据对第二判断子模块判断出的单板端口进行配置。The second configuration sub-module 24 is configured to configure the board port determined by the second determining sub-module by using the corresponding attribute configuration data reported by the physical line card.
应当理解的是,本实施例中的分组传送网设备资源恢复装置可以通过软件或软硬件结合实现,并存在于分组传送网设备中,且上述各模块和子模块也都可通过软件或硬件实现,通过软件实现时其可存储于各种磁盘中。It should be understood that the packet transport network device resource recovery apparatus in this embodiment may be implemented by software or combination of software and hardware, and exists in a packet transport network device, and the foregoing modules and submodules may also be implemented by software or hardware. It can be stored on a variety of disks when implemented in software.
实施例三:Embodiment 3:
为了更好的理解本发明,下面对分组传送网设备资源备份和恢复过程分别进行示例性说明。In order to better understand the present invention, the following describes the packet transport network device resource backup and recovery process separately.
分组传送网设备资源备份的过程请参见图6所示,包括:The process of backing up the packet transport network device resources is shown in Figure 6, including:
步骤601:终端与分组传送网设备连接,该终端可以是OTN(OpticalTransportNetwork,光传送网)设备或MSTP(Multi-Service Transfer Platform)中的网管、CLI(command-line interface,命令行界面)、MIB(Management Information Base,管理信息库);Step 601: The terminal is connected to the packet transport network device, and the terminal may be an OTN (Optical Transport Network) device or a network management system in the MSTP (Multi-Service Transfer Platform), a CLI (command-line interface), and an MIB. (Management Information Base);
步骤602:配置分组传送网设备单板及单板端口的属性配置数据,例如光电等属性,保存在内存中,保证链路up;对于这类数据在内存中进行存储时可以对齐进行打标签,以便于后续识别存储;Step 602: Configure attribute configuration data of the board and the board port of the packet transport network, such as photoelectricity, and store the information in the memory to ensure that the link is up; for such data, it can be aligned and tagged when stored in the memory. In order to facilitate subsequent identification of storage;
步骤603:将单板和单板端口的属性配置数据以文件的形式备份存储在磁盘中;Step 603: The attribute configuration data of the board and the board port are backed up and stored in the file as a file.
步骤604:设置分组传送网设备单板的重启模式设置为单板端口属性 加载模式并保存在磁盘中。Step 604: Set the restart mode of the packet transport network device to be the board port attribute. Load the mode and save it on disk.
分组传送网设备资源恢复的过程请参见图7所示,包括:The process of resource recovery of the packet transport network device is shown in Figure 7, including:
步骤701:分组传送网设备重启;Step 701: The packet transport network device restarts;
步骤702:从磁盘中读取分组传送网设备单板的重启模式;Step 702: Read a restart mode of the packet transport network device board from the disk.
步骤703:判断重启模式是否为单板端口属性加载模式,如是,转至步骤704,否则,转至步骤705;Step 703: Determine whether the restart mode is a board port attribute loading mode, if yes, go to step 704, otherwise, go to step 705;
步骤704:从磁盘中读取备份存储的属性配置数据对相应的单板端口进行配置;Step 704: Read the attribute configuration data of the backup storage from the disk to configure the corresponding board port.
步骤705:从物理线卡接收单板属性配置数据;Step 705: Receive board attribute configuration data from the physical line card.
步骤706:判断单板端口是否已根据备份存储的属性配置数据进行配置,如否,转至步骤707;否则,转至步骤708;Step 706: Determine whether the board port has been configured according to the attribute data of the backup storage, if not, go to step 707; otherwise, go to step 708;
步骤707:根据物理线卡接收的相应的属性配置数据对该单板端口进行默认配置。Step 707: Perform default configuration on the board port according to the corresponding attribute configuration data received by the physical line card.
步骤708:不做处理。Step 708: No processing.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精 神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Where in the essence of the invention Any modifications, equivalent substitutions, improvements, etc. made within the principles of God and the principles are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种分组传送网设备及其资源恢复方法、装置具有以下有益效果:能够保证单板端口属性配置的正确性,保证链路up,避免网管脱管。 As described above, the packet transport network device and the resource recovery method and apparatus provided by the embodiments of the present invention have the following beneficial effects: ensuring the correctness of the port port attribute configuration, ensuring the link up, and avoiding the network management being disconnected.

Claims (10)

  1. 一种分组传送网设备资源恢复方法,包括:A packet transport network device resource recovery method includes:
    在分组传送网设备重启前,将该分组传送网设备的单板端口的属性配置数据进行备份;Before the packet transport network device is restarted, the attribute configuration data of the board port of the packet transport network device is backed up;
    在所述分组传送网设备重启时,根据所述属性配置数据对所述分组传送网设备的单板端口进行配置。When the packet transport network device is restarted, the board port of the packet transport network device is configured according to the attribute configuration data.
  2. 如权利要求1所述的分组传送网设备资源恢复方法,其中,将所述分组传送网设备的单板端口的属性配置数据进行备份包括:The packet transfer network device resource recovery method according to claim 1, wherein the backing up the attribute configuration data of the board port of the packet transport network device comprises:
    从所述分组传送网设备的内存中获取单板端口以及该单板端口所在单板的属性配置数据;Obtaining, from the memory of the packet transport network device, a board port and attribute configuration data of a board where the board port is located;
    将获取的所述属性配置数据以文件的形式进行存储。The obtained attribute configuration data is stored in the form of a file.
  3. 如权利要求2所述的分组传送网设备资源恢复方法,其中,将获取的所述属性配置数据以文件的形式进行存储包括:The packet transfer network device resource recovery method according to claim 2, wherein storing the acquired attribute configuration data in the form of a file comprises:
    将单板的属性配置数据存储在该单板上各单板端口的属性配置数据之前。Store the attribute configuration data of the board before the attribute configuration data of each board port on the board.
  4. 如权利要求1-3任一项所述的分组传送网设备资源恢复方法,其中,在所述分组传送网设备重启之前,还包括将所述分组传送网设备的重启模式设置为单板端口属性加载模式;The packet transfer network device resource recovery method according to any one of claims 1 to 3, wherein before the restarting of the packet transport network device, the method further comprises setting a restart mode of the packet transport network device to a board port attribute. Loading mode
    所述分组传送网设备重启过程中根据所述属性配置数据对所述单板端口进行配置包括:The configuration of the board port according to the attribute configuration data during the restart of the packet transport network device includes:
    判断所述分组传送网设备的重启模式是否为单板端口属性加载模式,如是,加载所述备份的属性配置数据对所述单板端口进行配置。And determining whether the restart mode of the packet transport network device is a board port attribute loading mode, and if yes, loading the attribute configuration data of the backup to configure the board port.
  5. 如权利要求4所述的分组传送网设备资源恢复方法,其中,加载所述备份的属性配置数据对所述单板端口进行配置后,还包括:The packet transfer network device resource recovery method according to claim 4, wherein after the attribute configuration data of the backup is loaded to configure the board port, the method further includes:
    接收物理线卡上报的单板端口属性配置数据; Receiving the board port attribute configuration data reported by the physical line card;
    对于根据所述备份的属性配置数据还未进行配置的单板端口,采用所述物理线卡上报的对应属性配置数据对该单板端口进行配置。The board port is configured by using the corresponding attribute configuration data reported by the physical line card for the board port that has not been configured according to the attribute of the backup.
  6. 一种分组传送网设备资源恢复装置,包括:A packet transport network device resource recovery device includes:
    备份模块,设置为在分组传送网设备重启前,将该分组传送网设备的单板端口的属性配置数据进行备份;The backup module is configured to back up the attribute configuration data of the board port of the packet transport network device before the packet transport network device is restarted;
    处理模块,设置为在所述分组传送网设备重启时,根据所述属性配置数据对所述分组传送网设备的单板端口进行配置。The processing module is configured to configure a board port of the packet transport network device according to the attribute configuration data when the packet transport network device is restarted.
  7. 如权利要求6所述的分组传送网设备资源恢复装置,其中,所述备份模块包括获取子模块和存储子模块;The packet transfer network device resource recovery device of claim 6, wherein the backup module comprises an acquisition submodule and a storage submodule;
    所述获取子模块设置为从所述分组传送网设备的内存中获取单板端口以及该单板端口所在单板的属性配置数据;The obtaining sub-module is configured to obtain, from the memory of the packet transport network device, a board port and attribute configuration data of a board where the board port is located;
    所处存储子模块设置为将获取的所述属性配置数据以文件的形式进行存储。The storage submodule is set to store the acquired attribute configuration data in the form of a file.
  8. 如权利要求6或7所述的分组传送网设备资源恢复装置,其中,所述分组传送网设备资源恢复装置还包括设置模块,所述处理模块包括第一判断子模块和第一配置子模块;The packet transfer network device resource recovery device according to claim 6 or 7, wherein the packet transfer network device resource recovery device further comprises a setting module, the processing module comprising a first determining submodule and a first configuration submodule;
    所述设置模块设置为在所述分组传送网设备重启之前,将所述分组传送网设备的重启模式设置为单板端口属性加载模式;The setting module is configured to set a restart mode of the packet transport network device to a board port attribute loading mode before the packet transport network device is restarted;
    所述第一判断子模块设置为判断所述分组传送网设备的重启模式是否为单板端口属性加载模式,如是,通知所述配置子模块;The first determining sub-module is configured to determine whether the restart mode of the packet transport network device is a board port attribute loading mode, and if yes, notify the configuration sub-module;
    所述第一配置子模块设置为根据所述通知加载所述备份的属性配置数据对所述单板端口进行配置。The first configuration sub-module is configured to configure the board port according to the notification to load the attribute configuration data of the backup.
  9. 如权利要求8所述的分组传送网设备资源恢复装置,设置为,分组传送网设备资源恢复装置还包括接收模块,所述处理模块还包括第二 判断子模块和第二配置子模块;The packet transfer network device resource recovery device of claim 8, wherein the packet transport network device resource recovery device further comprises a receiving module, the processing module further comprising a second Determining a submodule and a second configuration submodule;
    所述接收模块设置为接收物理线卡上报的单板端口属性配置数据;The receiving module is configured to receive the board port attribute configuration data reported by the physical line card;
    所述第二判断子模块设置为判断出根据所述备份的属性配置数据还未进行配置的单板端口;The second determining sub-module is configured to determine a board port that has not been configured according to the attribute configuration data of the backup;
    所述第二配置子模块设置为采用所述物理线卡上报的对应属性配置数据对所述第二判断子模块判断出的单板端口进行配置。The second configuration sub-module is configured to configure, by using the corresponding attribute configuration data reported by the physical line card, the board port determined by the second determining sub-module.
  10. 一种分组传送网设备,包括如权利要求6-9任一项所述的分组传送网设备资源恢复装置。 A packet transport network device comprising the packet transport network device resource recovery device according to any one of claims 6-9.
PCT/CN2016/071632 2015-06-09 2016-01-21 Packet transport network device, and resource recovery method and apparatus therefor WO2016197617A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510312445.8A CN106301858A (en) 2015-06-09 2015-06-09 Packet Transport Network equipment and resource recovery method, device
CN201510312445.8 2015-06-09

Publications (1)

Publication Number Publication Date
WO2016197617A1 true WO2016197617A1 (en) 2016-12-15

Family

ID=57504530

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071632 WO2016197617A1 (en) 2015-06-09 2016-01-21 Packet transport network device, and resource recovery method and apparatus therefor

Country Status (2)

Country Link
CN (1) CN106301858A (en)
WO (1) WO2016197617A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098182A (en) * 2011-03-30 2011-06-15 成都市华为赛门铁克科技有限公司 Method for restoring allocation of distributed equipment and distributed equipment
CN103618618A (en) * 2013-11-13 2014-03-05 福建星网锐捷网络有限公司 Line card fault recovery method and related device based on distributed PCIE system
US8705408B2 (en) * 2011-09-09 2014-04-22 Cisco Technology Inc. Identifying a wireless network device across factory resets
CN104184614A (en) * 2014-08-05 2014-12-03 杭州华三通信技术有限公司 Rollback configuration method and apparatus
CN104683264A (en) * 2013-11-26 2015-06-03 上海斐讯数据通信技术有限公司 Method for switching rate modes of switch interface

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471813B (en) * 2007-12-29 2012-06-27 华为技术有限公司 Configuration method, system and equipment for implementing domain-striding maintenance management
JP5701708B2 (en) * 2011-07-26 2015-04-15 株式会社日立製作所 Communications system
CN103051466B (en) * 2011-10-12 2018-06-08 南京中兴软件有限责任公司 Automatic recovery method and device after a kind of IMA equipment faults
CN104166626B (en) * 2013-05-16 2018-01-02 上海斐讯数据通信技术有限公司 The storage of the configuration file of datacom device and restoration methods and datacom device
CN104468419A (en) * 2014-12-22 2015-03-25 上海斐讯数据通信技术有限公司 Method and system for recovering configuration of interchanger and interchanger

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098182A (en) * 2011-03-30 2011-06-15 成都市华为赛门铁克科技有限公司 Method for restoring allocation of distributed equipment and distributed equipment
US8705408B2 (en) * 2011-09-09 2014-04-22 Cisco Technology Inc. Identifying a wireless network device across factory resets
CN103618618A (en) * 2013-11-13 2014-03-05 福建星网锐捷网络有限公司 Line card fault recovery method and related device based on distributed PCIE system
CN104683264A (en) * 2013-11-26 2015-06-03 上海斐讯数据通信技术有限公司 Method for switching rate modes of switch interface
CN104184614A (en) * 2014-08-05 2014-12-03 杭州华三通信技术有限公司 Rollback configuration method and apparatus

Also Published As

Publication number Publication date
CN106301858A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US10255102B2 (en) Transaction control arrangement for device management system
US20110231833A1 (en) Upgrading system software in a chassis without traffic loss
CN106657167B (en) Management server, server cluster, and management method
CN109375933B (en) Method and equipment for upgrading client
EP3101842B1 (en) Method, system and computer readable medium for network management automation
WO2010057332A1 (en) Provisioning method and system
US9380001B2 (en) Deploying and modifying a service-oriented architecture deployment environment model
CN111966466A (en) Container management method, device and medium
US10015089B1 (en) Enhanced node B (eNB) backhaul network topology mapping
WO2022100108A1 (en) Method, apparatus and system for processing fault
CN109189403B (en) Operating system OS batch installation method and device and network equipment
CN107463390A (en) A kind of method for upgrading software and upgrade server
JP2000066978A (en) Network management information collection system, network management device to be used for the system and node to be managed
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
WO2016197617A1 (en) Packet transport network device, and resource recovery method and apparatus therefor
CN115102862A (en) Automatic synchronization method and device for SDN equipment
CN108683540B (en) Cross-platform lightweight implementation method and system for network management protocol channel
CN112579247A (en) Method and device for determining task state
US11743108B1 (en) Dynamic customization of network controller data path based on controller internal state awareness
CN112866359B (en) Data chaining method and device, electronic equipment and storage medium
US11881997B1 (en) Determining reorder commands for remote reordering of policy rules
CN112422305B (en) Upgrading method and device of communication equipment
US20240111579A1 (en) Termination of sidecar containers
CN112035446B (en) Data extraction method, device and storage medium
US20240187904A1 (en) Load Query Processing Method and Apparatus, Storage Medium and Electronic Apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806515

Country of ref document: EP

Kind code of ref document: A1