WO2016090768A1 - Procédé et dispositif d'héritage d'attributs de port - Google Patents

Procédé et dispositif d'héritage d'attributs de port Download PDF

Info

Publication number
WO2016090768A1
WO2016090768A1 PCT/CN2015/075300 CN2015075300W WO2016090768A1 WO 2016090768 A1 WO2016090768 A1 WO 2016090768A1 CN 2015075300 W CN2015075300 W CN 2015075300W WO 2016090768 A1 WO2016090768 A1 WO 2016090768A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
port
type
attribute
port attribute
Prior art date
Application number
PCT/CN2015/075300
Other languages
English (en)
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 WO2016090768A1 publication Critical patent/WO2016090768A1/fr

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

  • the present invention relates to the field of communications, and in particular to a port attribute inheritance method and apparatus.
  • the port attribute is saved, and then the result is read out again when the data is loaded again. If the configuration file is modified or the system hardware changes, then the resource check is performed. The result may be incorrect. It needs to be recalculated. If the previous resource check result is used, the current version may be affected. The subsequent interface report and configuration command process will encounter resource check errors.
  • the current data communication equipment also has the following problems:
  • the embodiment of the invention provides a method and device for inheriting port attributes, so as to solve at least one of the above problems in the related art.
  • a port attribute inheritance method including: detecting a type of the second board and the first when the first board is replaced with a second board in the communication device The type of the board is different. The type of the port of the second board is the same as the type of the port of the first board. If the result of the determination is the same, the port attribute of the second board is determined. Configured as the port attribute of the first board.
  • configuring the port attribute of the second board as the port attribute of the first board includes: the number of ports on the second board and the number of ports on the first board are not If the ports of the second board are equal, the port attributes of the first board are sequentially inherited according to the port order of the second board.
  • a default configuration is used for the port attribute of the designated port of the second board, where The designated port is a port in the second board where the port attribute of the first board is not configured.
  • the first board before the first board is replaced with the second board, the first board is connected to the communication device when the first board is disconnected from the communication device.
  • the port property sets the flag bit and saves.
  • the method further includes: clearing a flag bit corresponding to the port attribute of the first board.
  • the method further includes: when the type of the port of the second board is different from the type of the port of the first board, the second board port is defaulted. Configuration.
  • the method further includes: if the type of the second board is the same as the type of the first board, configuring a port attribute of the second board as the first The port attribute of a board and clear the flag.
  • a port attribute inheriting device comprising: a detecting module, configured to detect the first board when the first board is replaced with a second board in the communication device The type of the two boards is different from the type of the first board; the determining module is configured to determine whether the type of the port of the second board is the same as the type of the port of the first board; The port attribute of the second board is configured as a port attribute of the first board, in the case that the determination result is the same.
  • the configuration module is further configured to sequentially follow the port order of the second board in the case that the number of ports of the second board is not equal to the number of ports of the first board. Inherit the port attribute of the first board.
  • the configuration module is further configured to: when the number of ports of the second board is greater than the number of ports of the first board, the port attribute of the designated port of the second board The default configuration is used, wherein the designated port is a port in the second board where the port attribute of the first board is not configured.
  • the type of the second board is different from the type of the first board; and the type of the port of the second board is determined. Whether the port type of the first board is the same. If the judgment result is the same, configure the port attribute of the second board as the first one.
  • the port properties of the board The problem that the original configuration cannot be inherited during the process of switching the board in the related art is solved, and the effect of inheriting the original configuration after the board is switched is realized.
  • FIG. 1 is a flowchart of a port attribute inheritance method according to an embodiment of the present invention.
  • FIG. 2 is a structural block diagram of a port attribute inheriting apparatus according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of inheritance of an interface card hot plug configuration according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a port attribute inheritance method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 When the first board is replaced with the second board in the communication device, the type of the second board is different from the type of the first board.
  • Step S104 determining whether the type of the port of the second board is the same as the type of the port of the first board
  • step S106 if the result of the determination is the same, the port attribute of the second board is configured as the port attribute of the first board.
  • the port attribute of the second board is configured as the port attribute of the first board.
  • the port attribute of the second board is configured as the port attribute of the first board in the case that the determination result indication is the same.
  • the number of ports on the second board is If the number of ports on the first board is not equal, the port attributes of the first board are inherited in the order of the ports of the second board.
  • the port attribute of the second board as the port attribute of the first board
  • the number of ports of the second board is greater than the number of ports of the first board
  • the default port is configured for the port attribute of the specified port on the second card.
  • the specified port is the port on the second card where the port attribute of the first board is not configured. Therefore, the port attributes of all the ports in the second board are configured.
  • the port attribute of the first board is set, and save. Therefore, when the first board is replaced with the second board, the port of the second board can be configured according to the stored flag of the port attribute of the first board.
  • the flag bit corresponding to the port attribute of the first board is cleared. Therefore, the flag corresponding to the port attribute can be updated to the port that inherits the port attribute of the first board.
  • the second board port is configured by default if the type of the port of the second board is different from the type of the port of the first board.
  • the port of the second board cannot be inherited from the port attribute of the first board.
  • the port of the second board cannot be in the same type as the port of the first board.
  • the port of the second board cannot inherit the port attribute of the first board.
  • the board port is configured by default.
  • the port attribute of the second board is configured as the port attribute of the first board, and the flag is set. Clear.
  • a port attribute inheriting device is also provided in this embodiment, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: a detecting module 22 configured to detect when a first board in a communication device is replaced with a second board. The type of the second board is different from the type of the first board; the determining module 24 is configured to determine whether the type of the port of the second board is the same as the type of the port of the first board; the configuration module 26 is set to If the result of the judgment is the same, configure the port attribute of the second board as the port attribute of the first board.
  • the configuration module 26 is further configured to inherit the port attributes of the first board in sequence according to the port order of the second board, in the case that the number of the ports of the second board is not equal to the number of the ports of the first board. .
  • the configuration module 26 is further configured to use a default configuration for the port attribute of the designated port of the second board, where the number of ports of the second board is greater than the number of ports of the first board, where the designated port is The port of the port attribute of the first board is not configured on the second board.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are respectively located.
  • the first processor, the second processor, and the third processor In the first processor, the second processor, and the third processor.
  • the main purpose of this alternative embodiment is to provide a method for inheriting port attribute of a data communication device to solve the problem existing in the existing device.
  • the storage port is used to save the original port attributes when the data communication device hardware changes. After the new port is brought online again, all or part of the previous configuration is delivered according to the specific conditions to implement port attribute inheritance.
  • the system hardware changes, such as port removal, save the port configuration attribute, and update the previously saved port configuration attribute;
  • the port attribute configuration is delivered in whole or in part according to the situation, so that the port attribute is inherited as much as possible;
  • the interface type of the new daughter card is the same as the interface type of the atomic card, the interface and configuration are inherited;
  • the atomic card interface attribute is partially inherited, and the extra interface uses the default configuration
  • the interface type of the new daughter card is different from the interface type of the original daughter card.
  • the interface of the original daughter card is offline, and the interface of the new daughter card is valid, but the default configuration is used.
  • the process of implementing the same block hot swap attribute inheritance is implemented according to the product of the optional embodiment
  • step (1) during the running of the system, a board is pulled out, the database saves the port configuration attribute, and the previously saved port configuration attribute is updated.
  • the system compares the board type and can determine that the board is the same type as the last board.
  • step (3) the system re-delivers the port attribute saved in step 1.
  • the flow chart of the interface card hot plug configuration inheritance flow chart according to the present invention is used;
  • FIG. 3 is a flowchart of inheritance of an interface card hot plug configuration according to an embodiment of the present invention, as shown in FIG. 3:
  • the database adds a flag to the interface configuration for saving without deleting.
  • the new interface card is configured and delivered from the database. After the configuration is normally sent, the flag is cleared in the data. Thereby completing the interface configuration inheritance.
  • Yet another alternative embodiment is the line card and service card attribute inheritance process according to the present alternative embodiment.
  • step (1) during the running of the system, a board is pulled out, the database saves the port configuration attribute, and the previously saved port configuration attribute is updated.
  • step (2) when a service card is re-inserted in the slot of the line card, the system checks the board type and the interface type is different.
  • step (3) the system sets the flag of the attribute saved in step (1) and saves it, but does not re-issue it.
  • the technical solution in the present invention solves the problem that the original configuration cannot be inherited in the process of switching the board in the related art, and further realizes the effect of inheriting the original configuration after the board switching.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • 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.
  • the invention is not limited to any specific combination of hardware and software.
  • the type of the second board is different from the type of the first board; If the type of the port is the same as the port type of the first board, the port attribute of the second board is configured as the port attribute of the first board.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un procédé et un dispositif d'héritage d'attributs de port, le procédé consistant à : lorsqu'une première carte unique est modifiée en une seconde carte unique dans un appareil de communication, détecter qu'un type de la seconde carte unique est différent de celui de la première carte unique ; déterminer si le type de port de la seconde carte unique est le même que le type de port de la première carte unique ; et lorsqu'un résultat de détermination indique une similarité, un attribut de port de la seconde carte unique est configuré comme celui de la première carte unique. La présente invention aborde le problème dans l'état de la technique selon lequel une configuration d'origine ne peut pas être héritée lors de la commutation de la carte unique, la configuration d'origine étant ainsi héritée après que la carte unique est commutée.
PCT/CN2015/075300 2014-12-12 2015-03-27 Procédé et dispositif d'héritage d'attributs de port WO2016090768A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410767951.1A CN105743686B (zh) 2014-12-12 2014-12-12 端口属性继承方法及装置
CN201410767951.1 2014-12-12

Publications (1)

Publication Number Publication Date
WO2016090768A1 true WO2016090768A1 (fr) 2016-06-16

Family

ID=56106540

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075300 WO2016090768A1 (fr) 2014-12-12 2015-03-27 Procédé et dispositif d'héritage d'attributs de port

Country Status (2)

Country Link
CN (1) CN105743686B (fr)
WO (1) WO2016090768A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885521B (zh) * 2019-02-28 2021-03-09 苏州浪潮智能科技有限公司 一种中断处理方法、系统及电子设备和存储介质
CN111610732B (zh) * 2020-04-28 2021-09-24 同方泰德国际科技(北京)有限公司 更换可配置型输入/输出模块的方法、装置及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020067336A (ko) * 2001-02-16 2002-08-22 삼성전자 주식회사 네트워크 시스템의 안정성을 기하는 방법
CN1592137A (zh) * 2003-09-02 2005-03-09 华为技术有限公司 可继承主接口业务特性的备份方法
CN101729319A (zh) * 2009-12-11 2010-06-09 成都市华为赛门铁克科技有限公司 一种单板槽位号识别方法、装置及系统
CN102571450A (zh) * 2012-02-16 2012-07-11 华为技术有限公司 网络接口模块的端口配置方法、装置及框式通信设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079734B (zh) * 2007-06-22 2012-03-07 中兴通讯股份有限公司 一种机架式设备热插拔配置恢复的方法
CN103812680B (zh) * 2012-11-14 2017-12-19 中兴通讯股份有限公司 一种实现单板切换的系统及方法
CN103259733B (zh) * 2013-05-15 2016-12-28 杭州华三通信技术有限公司 一种子卡单元动态适配方法和线卡板

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020067336A (ko) * 2001-02-16 2002-08-22 삼성전자 주식회사 네트워크 시스템의 안정성을 기하는 방법
CN1592137A (zh) * 2003-09-02 2005-03-09 华为技术有限公司 可继承主接口业务特性的备份方法
CN101729319A (zh) * 2009-12-11 2010-06-09 成都市华为赛门铁克科技有限公司 一种单板槽位号识别方法、装置及系统
CN102571450A (zh) * 2012-02-16 2012-07-11 华为技术有限公司 网络接口模块的端口配置方法、装置及框式通信设备

Also Published As

Publication number Publication date
CN105743686B (zh) 2019-02-19
CN105743686A (zh) 2016-07-06

Similar Documents

Publication Publication Date Title
US10585691B2 (en) Distribution system, computer, and arrangement method for virtual machine
US8495618B1 (en) Updating firmware in a high availability enabled computer system
CN106469103B (zh) 硬盘的维护方法和装置
CN109726066B (zh) 用于标识存储系统中的问题部件的方法和设备
CN111858146B (zh) 用于恢复数据的方法、设备和计算机程序产品
JP6662987B2 (ja) ケーブルのエラーをチェックする方法及びシステム
WO2021004256A1 (fr) Procédé de commutation de nœud dans une panne de nœud et dispositif associé
US10511487B2 (en) Method and mechanism for efficiently managing flows
WO2016090768A1 (fr) Procédé et dispositif d'héritage d'attributs de port
CN109379223A (zh) 一种实现网卡自动化设置的方法和装置
US20180081930A1 (en) Maintaining storage profile consistency in a cluster having local and shared storage
US20180338007A1 (en) System and method for providing extensible communication gateway with session pooling
CN107562650B (zh) 一种物理主机映射到存储系统的方法及系统
CN115756955A (zh) 一种数据备份、数据恢复的方法、装置及计算机设备
CN108055159A (zh) 一种集群节点操作同步方法及装置
CN109408485B (zh) 一种分布式锁实现方法和系统
CN110058790B (zh) 用于存储数据的方法、设备和计算机程序产品
CN112463228A (zh) 一种存储池混合部署的方法和设备
JP6694145B2 (ja) 情報処理装置および管理プログラム
CN105490817B (zh) 接口板热插拔处理方法及装置
CN110703988A (zh) 一种分布式存储的存储池创建方法、系统、终端及存储介质
CN106941413B (zh) 一种业务管理的方法及装置
CN112579384B (zh) 一种sas域的节点监控方法、装置、系统及节点
CN113254271B (zh) 一种数据序列恢复方法、装置、设备及存储介质
US11474904B2 (en) Software-defined suspected storage drive failure identification

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

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

Country of ref document: EP

Kind code of ref document: A1