WO2009089710A1 - Method and apparatus for port configuration - Google Patents

Method and apparatus for port configuration 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
French (fr)
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/en

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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Bus Control (AREA)

Abstract

In one embodiment, a method for port configuration is provided, wherein the configuration information that is the same as the current original port configuration information is stored in a storing area used for storing the target port configuration information; the current original port is in a normal operating state and the target port is in an idle state. Another embodiment includes a port configuration method and a port configuration device. The technical scheme provided by the embodiment of the invention can complete the configuration in time, ensure the normal service operation, while effectively reducing human errors that may be generated during the target port configuration.

Description

说明书 端口配置方法及装置  Manual port configuration method and device
[1] 本申请要求于 2007年 12月 20日提交中国专利局, 申请号为, 200710301623.2发 明名称为"端口配置方法及装置"的中国专利申请的优先权, 其全部内容通过弓 I用 结合在本申请中。 [1] This application claims priority to Chinese Patent Application No. 200710301623.2, entitled "Port Configuration Method and Apparatus", filed on December 20, 2007, the entire contents of which are incorporated by In this application.
[2] 技术领域  [2] Technical field
[3] 本发明涉及通信技术领域, 尤其涉及一种端口配置方法及装置。  [3] The present invention relates to the field of communications technologies, and in particular, to a port configuration method and apparatus.
[4] 发明背景  [4] Background of the invention
[5] 通信系统中, 网络通信设备之间基于各自的端口来实现通信。 通常, 按照通信 方式的不同, 可将端口分为不同的种类, 如以太端口、 pos端口等等。 并且, 通 常会对端口进行数据配置, 以使该端口适用于相应的通信环境。  [5] In a communication system, communication between network communication devices is based on respective ports. Generally, 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.
[6] 在网络通信设备运行过程中, 若设备上的端口出现物理故障, 或因业务需求, 要将通过某些端口承载的业务切换到其他端口上, 则通常需要对目标端口进行 配置处理, 如由维护人员先手动清除关于原端口的配置信息, 然后增加关于目 标端口的配置信息, 基于被配置的目标端口, 将业务从原端口倒换到目标端口 。 而且, 因各端口之间的数据配置通常存在制约关系, 因此对于原端口的配置 信息的清除操作并不是随意无序的, 而需要遵循一定的逻辑规则进行, 相应地 也不能随意无序地配置各目标端口。 因此, 维护人员在进行端口切换操作吋, 通常需要花费较长吋间进行端口切换操作, 并可能因为人为操作吋间过长而导 致操作失误, 进而影响业务的正常运行, 甚至导致业务中断。  [6] During the operation of the network communication device, if the port on the device is physically faulty, or the service carried by the port is switched to another port due to service requirements, 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.
[7] 现有技术釆用由维护人员发出清除原端口上所有配置的命令, 由相关执行单元 收到该命令后, 自动按照原端口上的数据配置逻辑, 清除各端口上的数据配置 , 并将各端口上的数据配置还原为缺省配置。 后续, 维护人员按照一定的逻辑 规则, 对目标端口进行人工配置。  [7] In the prior art, the maintenance personnel issue a command to clear all the configurations on the original port. After receiving the command, 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.
[8] 现有技术在进行端口切换吋, 能够较及吋地清除原端口上的数据配置, 却不能 够及吋完成对目标端口的配置, 所以在业务需要切换吋, 仍难以及吋将业务从 原端口切换到目标端口上。 发明内容 [8] In the prior art, after port switching, the data configuration on the original port can be cleared more ambiguously, but the configuration of the target port cannot be completed. Therefore, it is still difficult and difficult to switch services after the service needs to be switched. Switch from the original port to the target port. Summary of the invention
本发明实施例提供一种端口配置方法, 确保在业务需要从原端口切换到目标端 口吋, 能够提供完成配置的目标端口, 使得业务能够及吋得到保护。 一种端口 配置方法, 包括:  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:
从用于存储原端口的配置信息的第一存储区中, 读取原端口的配置信息; 将读取到的所述原端口的配置信息, 存储在预设的第二存储区内, 并清除存储 在所述第一存储区中的原端口的配置信息;  Reading the configuration information of the original port from the first storage area for storing the configuration information of the original port; storing the read configuration information of the original port in the preset second storage area, and clearing Configuration information of the original port stored in the first storage area;
将所述第二存储区内存储的所述原端口的配置信息, 存储到用于存储目标端口 的配置信息的第三存储区内。  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.
[25] 本发明实施例提供的上述端口配置方法及装置, 无论是釆用静态配置还是动态 配置方式来配置目标端口, 其实质主要是, 通过在获取到原端口的数据配置信 息后, 将该数据配置信息存储为目标端口的配置信息, 实现对目标端口的配置 。 本发明实施例提供的技术方案可实现配置的及吋完成, 确保业务的正常运行 , 且有效减少配置目标端口过程中可能产生的人为失误。  [25] 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.
[26] 附图简要说明  [26] BRIEF DESCRIPTION OF THE DRAWINGS
[27] 图 1是本发明实施例提供的端口配置装置 101的结构示意图;  1 is a schematic structural diagram of a port configuration apparatus 101 according to an embodiment of the present invention;
[28] 图 2是本发明实施例提供的端口配置方法流程图;  2 is a flowchart of a port configuration method according to an embodiment of the present invention;
[29] 图 3是本发明实施例提供的端口配置装置 301的结构示意图;  FIG. 3 is a schematic structural diagram of a port configuration apparatus 301 according to an embodiment of the present invention;
[30] 图 4是本发明实施例一中实现端口切换的流程图;  FIG. 4 is a flowchart of implementing port switching in Embodiment 1 of the present invention; FIG.
[31] 图 5是本发明实施例二中实现端口配置的流程图。  FIG. 5 is a flowchart of implementing port configuration in Embodiment 2 of the present invention.
[32] 具体实施方式  [32] Specific implementation
[33] 下面将结合附图对本发明实施例提供的技术方案作进一步详细描述。  The technical solutions provided by the embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
[34] 为了在端口切换吋, 能够及吋提供与原端口相同配置的目标端口, 确保业务的 正常运行, 本发明实施例提供的技术方案, 可在业务需要切换之前, 将目标端 口配置为与原端口具有相同配置信息的端口, 从而, 在业务需要进行切换吋, 可及吋将业务从原端口切换到目标端口上, 及吋保护业务, 确保业务的正常运 行。 [34] In the port switch, 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.
[35] 本发明具体实施方式提供一实施例, 包括: 事先配置目标端口, 即在用于存储 目标端口的配置信息的存储区内, 存储与当前原端口的配置信息相同的配置信 息, 而当前原端口处于正常工作状态, 目标端口处于闲置状态。  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.
[36] 本发明具体实施方式提供一实施例中, 在配置目标端口的过程中, 或者配置结 束后, 原端口均可处于正常工作状态。 事先配置目标端口的作用主要包括, 在 需要进行端口切换或原端口发生物理故障吋, 能够及吋将原端口上的业务切换 到目标端口上。  According to an embodiment of the present invention, 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.
[37] 与上述一实施例相对应, 本发明实施例提供一种端口配置装置 101。 参见图 1, 图 1是该端口配置装置 101的结构示意图, 该端口配置装置 101可包括: 存储单元 1011, 用于存储目标端口的配置信息, 所述目标端口的配置信息与当前原端口 的配置信息相同; 此吋, 当前原端口可处于正常工作状态, 而目标端口处于闲 置状态。 Corresponding to the above embodiment, 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.
[38] 本发明具体实施方式提供另一实施例, 本实施例提供一种端口配置方法, 该方 法如图 2所示, 包括以下步骤:  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:
[39] 步骤 201、 系统从用于存储原端口的配置信息的第一存储区中, 读取原端口的 配置信息。 [39] Step 201: The system reads configuration information of the original port from the first storage area for storing configuration information of the original port.
[40] 步骤 202、 系统将读取到的所述原端口的配置信息, 存储在预设的第二存储区 内。  [40] Step 202: The system stores the configuration information of the original port that is read in a preset second storage area.
[41] 步骤 203、 系统清除所述第一存储区中存储的所述原端口的配置信息。  [41] Step 203: The system clears configuration information of the original port stored in the first storage area.
[42] 步骤 204、 系统将所述第二存储区内存储的所述原端口的配置信息, 存储到用 于存储目标端口的配置信息的第三存储区内。  [42] 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.
[43] 另一实施例给出系统具体如何配置目标端口的过程, 在业务需要切换之前, 完 成对目标端口的自动配置。  [43] 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.
[44] 一实施例与另一实施例中, 在对目标端口进行配置之前, 需要检査目标端口的 情况, 包括: 先检査原端口与目标端口的类型是否相同, 通常情况下, 若端口 类型相同, 则可直接将原端口的配置信息复制到存储目标端口的配置信息的存 储区中, 实现对目标端口的配置, 实际应用中, 若原端口与目标端口的类型不 同, 则一般不能完成配置, 对于被细化的端口类型, 如同属于以太端口的不同 速率的端口, 也可实现配置; 还可在配置目标端口之前, 先检査目标端口的当 前配置是否是缺省配置, 若是缺省配置, 则表示当前该目标端口未被使用, 因 此, 可作为原端口的备用端口, 将原端口的配置信息复制到存储该目标端口的 配置信息的存储区中, 若目标端口不是缺省配置, 则表示, 目标端口可能被使 用, 为防止影响其他业务的正常运行, 可选择其他端口作为目标端口。  In an embodiment and another embodiment, before the configuration of the target port, 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.
[45] 与上述图 2所示流程相对应, 本发明实施例提供另一种端口配置装置 301。 参见 图 3, 图 3是该端口配置装置 301的结构示意图, 该端口配置装置 301可包括: 第 一存储区 3016、 第二存储区 3017、 第三存储区 3018、 预配置单元 3014和配置单 元 3015 ; 其中, [45] Corresponding to the flow shown in FIG. 2, the embodiment of the present invention provides another port configuration apparatus 301. Referring to FIG. 3, 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,
[46] 预配置单元 3014, 从用于存储原端口的配置信息的第一存储区 3016中, 读取原 端口的配置信息, 将读取到的所述原端口的配置信息, 存储在预设的第二存储 区 3017内;  [46] 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. Within the second storage area 3017;
[47] 配置单元 3015, 清除所述第一存储区 3016中存储的所述原端口的配置信息, 将 所述第二存储区 3017内存储的所述原端口的配置信息, 存储到用于存储目标端 口的配置信息的第三存储区 3018内。  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.
[48] 该装置进一步可以包括:  [48] The device may further comprise:
[49] 命令接收单元 3012, 接收要求所述预配置单元 3014转移所述第一存储区 3016内 存储的所述原端口的配置信息的命令。  [49] 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.
[50] 该装置进一步还可以包括: [50] The device may further comprise:
[51] 端口类型比对单元 3013, 比对原端口与目标端口的端口类型, 确定端口与目标 端口的端口类型相同或不相同, 若相同, 则触发所述预配置单元 3014。  [51] 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.
[52] 该装置进一步可包括: [52] The device may further comprise:
[53] 配置检测单元 3011, 用于检测目标端口上的数据配置, 确定该数据配置为缺省 配置或非缺省配置, 若为缺省配置, 则触发所述预配置单元 3014。  [53] 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.
[54] 下面结合具体的实施例详细阐述本发明实施例所提供的技术方案。  The technical solutions provided by the embodiments of the present invention are described in detail below with reference to specific embodiments.
[55] 本发明具体实施方式还提供下一实施例, 本实施例釆用一实施例的技术方案配 置目标端口。 参见图 4, 图 4是本实施例中实现端口切换的流程图, 该流程可包 括以下步骤:  The embodiment of the present invention further provides a next embodiment. In this embodiment, the target port is configured by using the technical solution of an embodiment. Referring to FIG. 4, FIG. 4 is a flowchart of implementing port switching in this embodiment, and the process may include the following steps:
[56] 步骤 401、 预先对目标端口进行配置。  [56] Step 401. Configure the target port in advance.
[57] 该步骤 401中, 对目标端口的配置工作可由维护人员来完成。 维护人员可先对 目标端口进行相关检査, 若能够满足作为原端口的备用端口的要求, 即目标端 口与原端口的类型是否相同, 以及目标端口上的配置是缺省配置, 则, 维护人 员将获得的原端口的配置信息, 复制到存放目标端口的配置信息的存储区内, 这样, 使目标端口与配置信息之间形成绑定关系, 完成对目标端口的配置。  [57] In step 401, 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.
[58] 若所选的目标端口不能够满足备用端口的要求, 则维护人员可选择其他的与原 端口类型相同且配置为缺省配置的端口作为目标端口。 [59] 在配置完目标端口后, 由于该目标端口的配置与尚处于工作状态的原端口的配 置相同, 因此, 为避免通信过程中, 出现因端口不确定而导致数据传输出错的 情况, 可暂吋将备用的目标端口置于闲置状态。 [58] If the selected target port does not meet the requirements of the standby port, 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.
[60] 步骤 402、 当前需要进行端口切换, 则直接将原先路由至原端口的业务的切换 到已配置完成的目标端口上。 [60] 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.
[61] 该步骤 402中, 将目标端口从闲置状态设置为激活态, 即工作状态, 而原端口 变为非激活态。 [61] In 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.
[62] 本实施例的流程可结束。 [62] The flow of this embodiment can be ended.
[63] 本实施例中配置目标端口的方式可看作是静态配置方式。 实际应用中, 若釆用 一实施例的技术方案配置目标端口, 则可设置原端口与目标端口设置互为主备 端口。  [63] The manner in which the target port is configured in this embodiment can be regarded as a static configuration mode. In the actual application, if the target port is configured in the technical solution of the embodiment, the original port and the target port can be set as the primary and backup ports.
[64] 本实施例中, 通过事先对目标端口进行与原端口相同的配置, 则在需要进行端 口切换的情况下, 目标端口可及吋承接原端口上的业务, 确保业务的正常运行 。 并且, 由于在事先配置目标端口, 因此, 留给维护人员进行目标端口的配置 的吋间较富余, 从而可减少目标端口配置过程中可能出现的人为失误。  In this embodiment, by performing the same configuration on the target port as the original port, 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.
[65] 本发明具体实施方式提供又一实施例, 本实施例釆用另一实施例的技术方案配 置目标端口。 参见图 5, 图 5是本实施例中实现端口配置的流程图, 该流程可包 括以下步骤:  A specific embodiment of the present invention provides a further embodiment. In this embodiment, the target port is configured by using the technical solution of another embodiment. Referring to FIG. 5, FIG. 5 is a flowchart of implementing port configuration in this embodiment, and the process may include the following steps:
[66] 步骤 501、 当前需要进行端口切换, 维护人员通过与通信设备之间的交互界面 [66] Step 501. Currently, port switching is required, and the maintenance personnel communicate with the communication device.
, 输入要求系统转移原端口的配置信息的命令。 , Enter the command that asks the system to transfer the configuration information of the original port.
[67] 本实施例中, 提供发明者提供的命令格式, 列举该命令的实例如下: [67] In this embodiment, a command format provided by the inventor is provided, and an example of the command is listed as follows:
[68] move-config from interface pos 1/0/0 to pos 1/0/1。 [68] move-config from interface pos 1/0/0 to pos 1/0/1.
[69] 该命令表示, 将端口 posl/0/0上的数据配置信息转移到端口 pos [69] This command indicates that the data configuration information on port posl/0/0 is transferred to port pos
1/0/1上。 则端口 pos 1/0/0为原端口, 端口 pos 1/0/1为目标端口。  On 1/0/1. Port pos 1/0/0 is the original port, and port pos 1/0/1 is the destination port.
[70] 实际应用中, 可自行设置命令的格式, 只要能够命令系统准备端口切换即可。 [70] In practical applications, you can set the format of the command yourself, as long as you can command the system to prepare port switching.
[71] 步骤 502、 系统中的端口配置装置 301收到命令后, 比对原端口与目标端口的端 口类型, 若能够确定原端口与目标端口的端口类型相同, 则执行步骤 503 ; 否则[71] 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,
, 执行步骤 508。 [72] 步骤 503、 端口配置装置 301检测目标端口的配置信息, 若确定该配置信息为缺 省配置信息, 则执行步骤 504, 否则, 执行步骤 508。 , go to step 508. [72] 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.
[73] 步骤 504、 端口配置装置 301从存储原端口的配置信息的第一存储区中, 读取到 原端口的配置信息, 若能够读取成功, 则执行步骤 505 ; 否则, 执行步骤 508。 [73] 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.
[74] 步骤 505, 端口配置装置 301将读取到的原端口的配置信息, 存放到预设的第二 存储区中, 清除第一存储区中的原端口的配置信息。 [74] 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.
[75] 该预设的第二存储区可以是系统内的缓存区, 设置缓存区的作用在于, 可及吋 将读取到的原端口的配置信息存放起来, 之后, 可及吋清除第一存储区上的原 端口的配置信息, 及吋完成端口配置中的前序工作。 [75] 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.
[76] 步骤 506、 端口配置装置 301将第二存储区中缓存的配置信息, 存储到用于存储 目标端口的配置信息的第三存储区内, 若能够存储成功, 执行步骤 507 ; 否则, 执行步骤 508。 [76] 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.
[77] 步骤 507、 系统通过人机交互界面, 将配置成功的提示信息显示给用户。  [77] Step 507: The system displays the prompt information of the successful configuration to the user through the human-computer interaction interface.
[78] 步骤 508、 系统通过人机交互界面, 将配置失败的提示信息显示给用户。 [78] Step 508: The system displays the prompt information of the configuration failure to the user through the human-computer interaction interface.
[79] 该流程可结束。 [79] The process can be ended.
[80] 后续, 原路由至原端口的业务被路由至目标端口。  [80] Subsequently, the original route to the original port is routed to the destination port.
[81] 实际应用中, 可根据实际需要选择是否启用图 3中端口配置装置 301所包含的端 口类型比对单元和配置检测单元, 如在原端口与目标端口类型不同吋也可进行 端口切换的情况下, 可不需要启用端口类型比对单元; 如可不需要启用配置检 测单元, 而直接将第三存储区内目标端口的原配置信息覆盖。  [81] In practical applications, whether the port type comparison unit and the configuration detection unit included in the port configuration apparatus 301 in FIG. 3 are enabled according to actual needs, for example, the port switching may be performed when the original port is different from the target port type. In the following, 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.
[82] 本实施例中, 釆用动态配置方式配置目标端口, 由端口配置装置 301在收到要 求转移原端口的数据配置信息的命令后, 对原端口的数据配置信息进行备份, 并将备份的原端口的配置信息存储到第三存储区内, 可实现对目标端口的自动 配置, 一方面减轻用户的工作量; 另一方面, 可避免因人为操作而可能引起的 人为失误, 确保配置能够及吋且成功完成, 进而确保业务的正常运行。  [82] In this embodiment, 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.
[83] 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤可以通 过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介 质中, 该程序在执行吋, 包括方法实施例的步骤之一或其组合。 [84] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理模块中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个模块中。 上述集成的模块既可以釆用硬件的形式实现, 也可以釆用软件功能模块的形式 实现。 所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售 或使用吋, 也可以存储在一个计算机可读取存储介质中。 [83] It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium. Execution, including one or a combination of the steps of the method embodiments. In addition, 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.
[85] 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 [85] The storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like.
[86] 综上所述, 本发明实施例提供的上述端口配置方法及装置, 无论是釆用静态配 置还是动态配置方式来配置目标端口, 其实质主要是, 通过在获取到原端口的 数据配置信息后, 将该数据配置信息存储为目标端口的配置信息, 实现对目标 端口的配置。 本发明实施例提供的技术方案可实现配置的及吋完成, 确保业务 的正常运行, 且有效减少配置目标端口过程中可能产生的人为失误。  [86] In summary, the foregoing port configuration method and apparatus provided by the embodiments of the present invention 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.

Claims

权利要求书 Claim
[1] 一种端口配置方法, 其特征在于, 包括:  [1] A port configuration method, comprising:
在用于存储目标端口的配置信息的存储区内存储原端口的配置信息, 所述 原端口处于正常工作状态, 所述目标端口处于闲置状态。  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.
[2] 根据权利要求 1所述的方法, 其特征在于, 所述在用于存储目标端口的配置 信息的存储区内存储原端口的配置信息之前, 该方法还包括: 比对原端口与目标端口的端口类型, 确定原端口与目标端口的端口类型相 同。  [2] The method according to claim 1, wherein before the storing the configuration information of the original port in the storage area for storing the configuration information of the target port, the method further includes: comparing the original port with the target The port type of the port, which determines that the original port is the same as the port type of the target port.
[3] 根据权利要求 2所述的方法, 其特征在于, 在所述确定原端口与目标端口的 端口类型相同之后, 该方法还包括:  [3] The method according to claim 2, wherein after the determining that the original port is the same as the port type of the target port, the method further includes:
检测目标端口上的数据配置, 确定该数据配置为缺省配置。  Detect the data configuration on the target port and determine that the data is configured as the default.
[4] 根据权利要求 1所述的方法, 其特征在于, 所述存储原端口的配置信息后, 该方法进一步包括: 若需要进行原端口与目标端口的切换, 则直接将原端 口上运行的业务切换到目标端口。 [4] The method according to claim 1, wherein, after the storing the configuration information of the original port, the method further comprises: if the switching between the original port and the target port is required, directly running the original port The service is switched to the target port.
[5] —种端口配置装置, 其特征在于, 包括: [5] A port configuration device, comprising:
存储单元, 用于存储目标端口的配置信息, 所述目标端口的配置信息与原 端口的配置信息相同;  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.
[6] —种端口配置方法, 其特征在于, 包括: [6] A port configuration method, which is characterized in that:
从用于存储原端口的配置信息的第一存储区中, 读取原端口的配置信息; 将读取到的所述原端口的配置信息, 存储在预设的第二存储区内, 并清除 存储在所述第一存储区中的原端口的配置信息;  Reading the configuration information of the original port from the first storage area for storing the configuration information of the original port; storing the read configuration information of the original port in the preset second storage area, and clearing Configuration information of the original port stored in the first storage area;
将所述第二存储区内存储的所述原端口的配置信息, 存储到用于存储目标 端口的配置信息的第三存储区内。  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.
[7] 根据权利要求 6所述的方法, 其特征在于, 从所述第一存储区中, 读取原端 口的配置信息之前, 该方法进一步包括: [7] The method according to claim 6, wherein, before the configuration information of the original port is read from the first storage area, the method further includes:
接收要求转移所述第一存储区内存储的所述原端口的配置信息的命令。  Receiving a command to transfer configuration information of the original port stored in the first storage area.
[8] 根据权利要求 6所述的方法, 其特征在于, 从所述第一存储区中, 读取原端 口的配置信息之前, 该方法进一步包括: [8] The method according to claim 6, wherein: reading the original end from the first storage area Before the configuration information of the port, the method further includes:
比对原端口与目标端口的端口类型, 确定原端口与目标端口的端口类型相 同。  Compare the port type of the original port with the target port to determine the port type of the original port and the destination port.
[9] 根据权利要求 8所述的方法, 其特征在于, 在确定原端口与目标端口的端口 类型相同之后, 该方法进一步包括:  [9] The method according to claim 8, wherein after determining that the original port is the same as the port type of the target port, the method further includes:
检测目标端口上的数据配置, 确定该数据配置为缺省配置。  Detect the data configuration on the target port and determine that the data is configured as the default.
[10] 一种端口配置装置, 其特征在于, 包括: 第一存储区、 第二存储区、 第三 存储区、 预配置单元和配置单元; 其中, [10] A port configuration apparatus, comprising: a first storage area, a second storage area, a third storage area, a pre-configuration 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 Storage area
所述配置单元, 清除所述第一存储区中存储的所述原端口的配置信息, 将 所述第二存储区内存储的所述原端口的配置信息, 存储到用于存储目标端 口的配置信息的第三存储区内。  The configuration unit clears configuration information of the original port stored in the first storage area, and stores configuration information of the original port stored in the second storage area to a configuration for storing a target port The third storage area of information.
[11] 根据权利要求 10所述的装置, 其特征在于, 所述装置进一步包括: [11] The device according to claim 10, wherein the device further comprises:
命令接收单元, 接收要求所述预配置单元转移所述第一存储区内存储的所 述原端口的配置信息的命令。  The command receiving unit receives a command for requesting the pre-configured unit to transfer configuration information of the original port stored in the first storage area.
[12] 根据权利要求 10所述的装置, 其特征在于, 所述装置进一步包括:  [12] The device according to claim 10, wherein the device further comprises:
端口类型比对单元, 比对原端口与目标端口的端口类型, 确定端口与目标 端口的端口类型相同或不相同, 若相同, 则触发所述预配置单元。  The port type comparison unit 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-configured unit is triggered.
[13] 根据权利要求 10所述的装置, 其特征在于, 所述装置进一步包括:  [13] The device according to claim 10, wherein the device further comprises:
配置检测单元, 用于检测目标端口上的数据配置, 确定该数据配置为缺省 配置或非缺省配置, 若为缺省配置, 则触发所述预配置单元。  The configuration detecting unit is configured to detect the data configuration on the target port, and determine whether the data configuration is a default configuration or a non-default configuration. If the default configuration is configured, the pre-configured unit is triggered.
PCT/CN2008/073419 2007-12-20 2008-12-10 Method and apparatus for port configuration WO2009089710A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2007103016232A CN101202671A (en) 2007-12-20 2007-12-20 Method and apparatus for terminal port allocating
CN200710301623.2 2007-12-20

Publications (1)

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

Family

ID=39517650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073419 WO2009089710A1 (en) 2007-12-20 2008-12-10 Method and apparatus for port configuration

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Method and apparatus for terminal port allocating
CN104008637B (en) * 2014-05-20 2017-02-15 福建工程学院 Remote machine tool fault acquisition communication method
CN105656665A (en) * 2015-12-24 2016-06-08 浪潮集团有限公司 Switch port configuring method and switch
CN107204864B (en) * 2016-03-16 2020-09-04 北大方正集团有限公司 Application method, management method, terminal and server of network port
CN106534331B (en) * 2016-11-30 2019-10-11 网宿科技股份有限公司 A kind of data transmission method and system based on dynamic port switching

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010053861A (en) * 1999-12-02 2001-07-02 이계철 Device for the real-time notification of a customer network fault in multi-layer data networks and method thereof
WO2002037880A1 (en) * 2000-10-23 2002-05-10 Onionsoftware Inc. Remote controlling system and method
KR20040026854A (en) * 2002-09-26 2004-04-01 주식회사 케이티 Method for managing network element in Asymmetric Digital Subscriber Line network
CN1669270A (en) * 2002-07-08 2005-09-14 帕克特弗兰特瑞典股份公司 Dynamic port configuration of network equipment
CN101083561A (en) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 Method for summarizing and reporting XDSL user connection parameter to network management
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Method and apparatus for terminal port allocating

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010053861A (en) * 1999-12-02 2001-07-02 이계철 Device for the real-time notification of a customer network fault in multi-layer data networks and method thereof
WO2002037880A1 (en) * 2000-10-23 2002-05-10 Onionsoftware Inc. Remote controlling system and method
CN1669270A (en) * 2002-07-08 2005-09-14 帕克特弗兰特瑞典股份公司 Dynamic port configuration of network equipment
KR20040026854A (en) * 2002-09-26 2004-04-01 주식회사 케이티 Method for managing network element in Asymmetric Digital Subscriber Line network
CN101083561A (en) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 Method for summarizing and reporting XDSL user connection parameter to network management
CN101202671A (en) * 2007-12-20 2008-06-18 华为技术有限公司 Method and apparatus for terminal port allocating

Also Published As

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

Similar Documents

Publication Publication Date Title
US11194679B2 (en) Method and apparatus for redundancy in active-active cluster system
US7945753B2 (en) Computer system, management method and storage network system
JP5597104B2 (en) Data transfer apparatus and control method thereof
US20070047436A1 (en) Network relay device and control method
CN101110776B (en) Backup method, backup device and backup system for data business
US20190081853A1 (en) Link Handover Method for Service in Storage System, and Storage Device
JP2005535241A (en) Method of moving application software in multicomputer architecture, multicomputer method and apparatus for realizing continuity of operation using the moving method
JP2002063126A (en) Multi-path computer system
JP7116802B2 (en) Master/standby container system switching
JP2005508551A (en) Data mirroring using a shared bus
JP2006195821A (en) Method for controlling information processing system, information processing system, direct memory access controller, and program
WO2009089710A1 (en) Method and apparatus for port configuration
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
JP2001043026A (en) Inter-system information communication system
WO2018157605A1 (en) Message transmission method and device in cluster file system
CN104170307B (en) Failover methods, devices and systems
US8990619B1 (en) Method and systems to perform a rolling stack upgrade
CN104683486A (en) Method and device for processing synchronous messages in distributed system and distributed system
EP1670190B1 (en) Switching between layer 2 switches
US20190109764A1 (en) Method and system for spanning tree protocol role protection
WO2018054109A1 (en) Port setting method, device, and system
JP2006189963A (en) Storage access control method, cluster system, path connection switch, and storage access control program
JP2011000977A (en) Input and output management system for input/output part-integrated double-system cpu
JP2006260141A (en) Control method for storage system, storage system, storage control device, control program for storage system, and information processing system
WO2017181778A1 (en) Method and apparatus for extending link between master controls of dual-master-control device

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