+

WO2009089710A1 - Procédé et appareil de configuration de port - Google Patents

Procédé et appareil de configuration de port Download PDF

Info

Publication number
WO2009089710A1
WO2009089710A1 PCT/CN2008/073419 CN2008073419W WO2009089710A1 WO 2009089710 A1 WO2009089710 A1 WO 2009089710A1 CN 2008073419 W CN2008073419 W CN 2008073419W WO 2009089710 A1 WO2009089710 A1 WO 2009089710A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
configuration
original
configuration information
storage area
Prior art date
Application number
PCT/CN2008/073419
Other languages
English (en)
Chinese (zh)
Inventor
Jianping Sun
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009089710A1 publication Critical patent/WO2009089710A1/fr

Links

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
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a port configuration method and apparatus.
  • ports can be classified into different types, such as Ethernet ports, pos ports, etc., depending on the communication method. Also, the port is typically configured with data to make the port suitable for the corresponding communication environment.
  • the target port needs to be configured and processed. If the maintenance personnel manually clear the configuration information about the original port, and then add configuration information about the target port, the service is switched from the original port to the target port based on the configured target port. Moreover, since the data configuration between the ports usually has a constraint relationship, the clearing operation of the configuration information of the original port is not arbitrary and disordered, but needs to follow certain logical rules, and accordingly cannot be randomly and disorderly configured. Each target port. Therefore, after the port switching operation is performed, the maintenance personnel usually takes a long time to perform the port switching operation, and may cause an operation error due to the long operation time of the human operation, thereby affecting the normal operation of the service and even causing service interruption.
  • the maintenance personnel issue a command to clear all the configurations on the original port.
  • the relevant execution unit automatically follows the data configuration logic on the original port to clear the data configuration on each port. Restore the data configuration on each port to the default configuration. Subsequently, the maintenance personnel manually configure the target port according to certain logical rules.
  • the embodiment of the invention provides a port configuration method, which ensures that after the service needs to be switched from the original port to the target port, the target port of the configuration can be provided, so that the service can be protected.
  • a port configuration method includes:
  • the configuration information of the original port is stored in a storage area for storing configuration information of the target port, where the original port is in a normal working state, and the target port is in an idle state.
  • the embodiment of the invention provides a port configuration device, which ensures that after the service needs to be switched from the original port to the target port, the target port for completing the configuration can be provided, so that the service can be protected.
  • a port configuration device includes:
  • a storage unit configured to store configuration information of the target port, where the configuration information of the target port is the same as the configuration information of the original port;
  • the original port is in a normal working state, and the target port is in an idle state.
  • the embodiment of the invention further provides a port configuration method, which ensures that after the service needs to be switched from the original port to the target port, the target port for completing the configuration can be provided, so that the service can be protected.
  • a port configuration method includes:
  • the configuration information of the original port stored in the second storage area is stored in a third storage area for storing configuration information of the target port.
  • the embodiment of the invention further provides a port configuration device, which ensures that after the service needs to be switched from the original port to the target port, the target port for completing the configuration can be provided, so that the service can be protected.
  • a port configuration device comprising: a first storage area, a second storage area, a third storage area, a pre-configured unit, and a configuration unit;
  • the pre-configuration unit reads the configuration information of the original port from the first storage area for storing the configuration information of the original port, and stores the read configuration information of the original port in the preset second
  • the configuration unit in the storage area clears configuration information of the original port stored in the first storage area, and the The configuration information of the original port stored in the second storage area is stored in a third storage area for storing configuration information of the target port.
  • the above-mentioned port configuration method and device provided by the embodiment of the present invention whether the static port configuration or the dynamic configuration mode is used to configure the target port, is mainly: after acquiring the data configuration information of the original port, The data configuration information is stored as the configuration information of the target port, and the configuration of the target port is implemented.
  • the technical solution provided by the embodiment of the present invention can implement configuration and completion, ensure normal operation of the service, and effectively reduce human error that may occur during the process of configuring the target port.
  • FIG. 1 is a schematic structural diagram of a port configuration apparatus 101 according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a port configuration method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a port configuration apparatus 301 according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of implementing port switching in Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of implementing port configuration in Embodiment 2 of the present invention.
  • the target port configured in the same manner as the original port can be provided to ensure the normal operation of the service.
  • the technical solution provided by the embodiment of the present invention can configure the target port to be used before the service needs to be switched.
  • the original port has the same configuration information, so that after the service needs to be switched, the service can be switched from the original port to the target port, and the service is protected to ensure the normal operation of the service.
  • An embodiment of the present invention provides an embodiment, including: configuring a target port in advance, that is, storing, in a storage area for storing configuration information of a target port, configuration information that is the same as configuration information of a current original port, and currently The original port is in normal working state and the target port is idle.
  • the original port in the process of configuring a target port, or after the configuration is completed, the original port may be in a normal working state.
  • the role of configuring the target port in advance mainly includes the ability to switch the service on the original port to the target port after the port switchover or the physical failure of the original port is required.
  • an embodiment of the present invention provides a port configuration apparatus 101. See Figure 1, 1 is a schematic structural diagram of the port configuration apparatus 101.
  • the port configuration apparatus 101 may include: a storage unit 1011, configured to store configuration information of a target port, where configuration information of the target port is the same as configuration information of a current original port; ⁇ , the current original port can be in normal working state, and the target port is idle.
  • a specific embodiment of the present invention provides another embodiment.
  • This embodiment provides a port configuration method. As shown in FIG. 2, the method includes the following steps:
  • Step 201 The system reads configuration information of the original port from the first storage area for storing configuration information of the original port.
  • Step 202 The system stores the configuration information of the original port that is read in a preset second storage area.
  • Step 203 The system clears configuration information of the original port stored in the first storage area.
  • Step 204 The system stores configuration information of the original port stored in the second storage area in a third storage area for storing configuration information of the target port.
  • Another embodiment provides a process of how the system specifically configures the target port, and automatically configures the target port before the service needs to be switched.
  • the status of the target port needs to be checked, including: first checking whether the type of the original port and the target port are the same, usually, if the port If the type of the original port is the same as that of the target port, the configuration of the original port can be directly configured. For the port type that is refined, it can be configured as the port of the Ethernet port. You can also check whether the current configuration of the target port is the default configuration before configuring the target port. , the current port is not used. Therefore, the configuration information of the original port can be copied to the storage area where the configuration information of the target port is stored as the backup port of the original port. If the target port is not the default configuration, Indicates that the target port may be used to prevent normal traffic from affecting other services. OK, you can select a different port as the destination port.
  • FIG. 3 is a schematic structural diagram of the port configuration apparatus 301.
  • the port configuration apparatus 301 may include: a first storage area 3016, a second storage area 3017, a third storage area 3018, a pre-configuration unit 3014, and a configuration list. Yuan 3015; among them,
  • the pre-configuration unit 3014 reads the configuration information of the original port from the first storage area 3016 for storing the configuration information of the original port, and stores the read configuration information of the original port in the preset.
  • the second storage area 3017 Within the second storage area 3017;
  • the configuration unit 3015 is configured to clear configuration information of the original port stored in the first storage area 3016, and store configuration information of the original port stored in the second storage area 3017 to be used for storage.
  • the third storage area 3018 of the configuration information of the target port is configured to clear configuration information of the original port stored in the first storage area 3016, and store configuration information of the original port stored in the second storage area 3017 to be used for storage.
  • the device may further comprise:
  • the command receiving unit 3012 receives a command for requesting the pre-configuration unit 3014 to transfer the configuration information of the original port stored in the first storage area 3016.
  • the device may further comprise:
  • the port type comparison unit 3013 compares the port types of the original port and the target port, and determines that the port type of the port is the same as or different from the target port. If they are the same, the pre-configuration unit 3014 is triggered.
  • the device may further comprise:
  • the configuration detecting unit 3011 is configured to detect a data configuration on the target port, and determine that the data configuration is a default configuration or a non-default configuration. If the default configuration is configured, the pre-configuration unit 3014 is triggered.
  • FIG. 4 is a flowchart of implementing port switching in this embodiment, and the process may include the following steps:
  • Step 401 Configure the target port in advance.
  • the configuration of the target port can be completed by the maintenance personnel.
  • the maintenance personnel can check the target port first. If the configuration of the target port is the same as that of the original port, and the configuration on the target port is the default configuration, the maintenance personnel can The configuration information of the original port is copied to the storage area where the configuration information of the target port is stored. Thus, the binding relationship between the target port and the configuration information is formed, and the configuration of the target port is completed.
  • the maintenance personnel can select other ports with the same original port type and configured as the default configuration as the target port. [59] After the target port is configured, the configuration of the target port is the same as that of the original port that is still working. Therefore, in order to avoid data transmission errors due to port uncertainty during communication, Temporarily put the alternate destination port in an idle state.
  • Step 402 Currently, the port switching is performed, and the service originally routed to the original port is directly switched to the configured target port.
  • step 402 the target port is set from the idle state to the active state, that is, the active state, and the original port becomes the inactive state.
  • the manner in which the target port is configured in this embodiment can be regarded as a static configuration mode.
  • the original port and the target port can be set as the primary and backup ports.
  • the target port can take over the services on the original port to ensure normal operation of the service. Moreover, since the target port is configured in advance, the maintenance personnel are reserved for the configuration of the target port, thereby reducing human error that may occur during the configuration of the target port.
  • FIG. 5 is a flowchart of implementing port configuration in this embodiment, and the process may include the following steps:
  • Step 501 Currently, port switching is required, and the maintenance personnel communicate with the communication device.
  • This command indicates that the data configuration information on port posl/0/0 is transferred to port pos
  • Port pos 1/0/0 is the original port
  • port pos 1/0/1 is the destination port.
  • Step 502 After receiving the command, the port configuration device 301 in the system compares the port type of the original port and the target port, and if it can be determined that the port type of the original port and the target port are the same, step 503 is performed; otherwise,
  • Step 503 The port configuration device 301 detects the configuration information of the target port. If the configuration information is determined to be the default configuration information, step 504 is performed. Otherwise, step 508 is performed.
  • Step 504 The port configuration device 301 reads the configuration information of the original port from the first storage area where the configuration information of the original port is stored. If the reading is successful, step 505 is performed; otherwise, step 508 is performed.
  • Step 505 The port configuration device 301 stores the read configuration information of the original port in the preset second storage area, and clears the configuration information of the original port in the first storage area.
  • the preset second storage area may be a buffer area in the system, and the function of setting the buffer area is to store the configuration information of the original port that is read, and then clear the first The configuration information of the original port on the storage area, and the pre-order work in the completion port configuration.
  • Step 506 the port configuration device 301 stores the configuration information cached in the second storage area in the third storage area for storing the configuration information of the target port. If the storage is successful, step 507 is performed; otherwise, the execution is performed. Step 508.
  • Step 507 The system displays the prompt information of the successful configuration to the user through the human-computer interaction interface.
  • Step 508 The system displays the prompt information of the configuration failure to the user through the human-computer interaction interface.
  • the port switching may be performed when the original port is different from the target port type.
  • the port type comparison unit may not be enabled; if the configuration detection unit is not required to be enabled, the original configuration information of the target port in the third storage area may be directly overwritten.
  • the target port is configured in a dynamic configuration manner, and after receiving the command to transfer the data configuration information of the original port, the port configuration device 301 backs up the data configuration information of the original port, and backs up the data.
  • the configuration information of the original port is stored in the third storage area, which can realize automatic configuration of the target port, thereby reducing the workload of the user; on the other hand, avoiding human error caused by human operation, ensuring configuration can ensure And successfully completed to ensure the normal operation of the business.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like.
  • the foregoing port configuration method and apparatus configure the target port whether the static port configuration or the dynamic configuration mode is used, which is mainly configured by acquiring the data of the original port. After the information is stored, the data configuration information is stored as the configuration information of the target port, and the configuration of the target port is implemented.
  • the technical solution provided by the embodiment of the present invention can implement configuration and completion, ensure normal operation of the service, and effectively reduce human error that may occur during the process of configuring the target port.

Landscapes

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

Abstract

Le mode de réalisation de la présente invention porte sur un procédé de configuration de port qui comprend les opérations suivantes : les informations de configuration, identiques que les informations de configuration du port d'origine courant, sont stockées dans une zone de stockage utilisée pour stocker les informations de configuration d'un port cible; le port d'origine courant est dans un état de fonctionnement normal et le port cible est dans un état inactif. Le mode de réalisation de l'invention porte sur un autre procédé de configuration de port et sur un dispositif de configuration de port. Le schéma technique décrit par le mode de réalisation de l'invention permet de terminer la configuration à temps, d'assurer le fonctionnement normal des services, tout en réduisant efficacement les erreurs humaines susceptibles d'apparaître lors de la configuration du port cible.
PCT/CN2008/073419 2007-12-20 2008-12-10 Procédé et appareil de configuration de port WO2009089710A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710301623.2 2007-12-20
CNA2007103016232A CN101202671A (zh) 2007-12-20 2007-12-20 端口配置方法及装置

Publications (1)

Publication Number Publication Date
WO2009089710A1 true WO2009089710A1 (fr) 2009-07-23

Family

ID=39517650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073419 WO2009089710A1 (fr) 2007-12-20 2008-12-10 Procédé et appareil de configuration de port

Country Status (2)

Country Link
CN (1) CN101202671A (fr)
WO (1) WO2009089710A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202671A (zh) * 2007-12-20 2008-06-18 华为技术有限公司 端口配置方法及装置
CN104008637B (zh) * 2014-05-20 2017-02-15 福建工程学院 一种机床远程故障采集通信方法
CN105656665A (zh) * 2015-12-24 2016-06-08 浪潮集团有限公司 一种交换机端口配置的方法和交换机
CN107204864B (zh) * 2016-03-16 2020-09-04 北大方正集团有限公司 网络端口的申请方法、管理方法、终端和服务器
CN106534331B (zh) * 2016-11-30 2019-10-11 网宿科技股份有限公司 一种基于动态端口切换的数据传输方法和系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010053861A (ko) * 1999-12-02 2001-07-02 이계철 다계층 데이터망에서의 고객망 장애 데이터 실시간 통지를위한 장치 및 그 방법
WO2002037880A1 (fr) * 2000-10-23 2002-05-10 Onionsoftware Inc. Systeme et procede de commande a distance
KR20040026854A (ko) * 2002-09-26 2004-04-01 주식회사 케이티 Atm 망 및 atm 기반 adsl 망에서의 망자원 관리 방법
CN1669270A (zh) * 2002-07-08 2005-09-14 帕克特弗兰特瑞典股份公司 网络设备的动态端口配置
CN101083561A (zh) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 xDSL用户连接参数汇总上报网管的方法
CN101202671A (zh) * 2007-12-20 2008-06-18 华为技术有限公司 端口配置方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010053861A (ko) * 1999-12-02 2001-07-02 이계철 다계층 데이터망에서의 고객망 장애 데이터 실시간 통지를위한 장치 및 그 방법
WO2002037880A1 (fr) * 2000-10-23 2002-05-10 Onionsoftware Inc. Systeme et procede de commande a distance
CN1669270A (zh) * 2002-07-08 2005-09-14 帕克特弗兰特瑞典股份公司 网络设备的动态端口配置
KR20040026854A (ko) * 2002-09-26 2004-04-01 주식회사 케이티 Atm 망 및 atm 기반 adsl 망에서의 망자원 관리 방법
CN101083561A (zh) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 xDSL用户连接参数汇总上报网管的方法
CN101202671A (zh) * 2007-12-20 2008-06-18 华为技术有限公司 端口配置方法及装置

Also Published As

Publication number Publication date
CN101202671A (zh) 2008-06-18

Similar Documents

Publication Publication Date Title
US11194679B2 (en) Method and apparatus for redundancy in active-active cluster system
JP5597104B2 (ja) データ転送装置及びその制御方法
US20100138689A1 (en) Computer system, management method and storage network system
CN101110776B (zh) 数据业务的备份方法、备份装置与备份系统
JP2002063126A (ja) マルチパス計算機システム
JP2005535241A (ja) マルチコンピュータ・アーキテクチャにおけるアプリケーション・ソフトウェアの移動方法、前記移動方法を用いて作動の連続性を実現するマルチコンピュータ方法および装置
US20190081853A1 (en) Link Handover Method for Service in Storage System, and Storage Device
CN108880898B (zh) 主备容器系统切换方法及装置
CN100407646C (zh) 一种实现数据业务备份的方法
WO2009089710A1 (fr) Procédé et appareil de configuration de port
CN107589955A (zh) 一种双cmc固件版本的升级方法及系统
JP2006195821A (ja) 情報処理システムの制御方法、情報処理システム、ダイレクトメモリアクセス制御装置、プログラム
US6654880B1 (en) Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage
CN101141282B (zh) 一种网管系统及其管理方法
JP2001043026A (ja) 系間情報通信システム
CN104170307B (zh) 失效切换方法、装置和系统
US10541874B2 (en) Method and system for spanning tree protocol role protection
WO2018157605A1 (fr) Procédé et dispositif de transmission de messages dans un système de fichiers en grappe
CN104683486A (zh) 分布式系统中处理同步消息的方法、装置、分布式系统
JP2006189963A (ja) ストレージアクセス制御方法、クラスタシステム、パス接続スイッチおよびストレージアクセス制御プログラム
JP2011000977A (ja) 入出力部一体型2重系cpuにおける入出力管理方式
WO2018054109A1 (fr) Procédé, dispositif et système de réglage de port
CN118606117A (zh) 一种四控互联镜像系统、数据传输方法、设备和介质
WO2017181778A1 (fr) Procédé et appareil permettant d'étendre une liaison entre des commandes maîtres d'un dispositif de commande maître double
EP1670190B1 (fr) Commutation entre commutateurs de réseau au deuxieme couche

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

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

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载