CN101202671A - Port configuration method and device - Google Patents
Port configuration method and device Download PDFInfo
- Publication number
- CN101202671A CN101202671A CNA2007103016232A CN200710301623A CN101202671A CN 101202671 A CN101202671 A CN 101202671A CN A2007103016232 A CNA2007103016232 A CN A2007103016232A CN 200710301623 A CN200710301623 A CN 200710301623A CN 101202671 A CN101202671 A CN 101202671A
- Authority
- CN
- China
- Prior art keywords
- port
- configuration
- configuration information
- original
- storage area
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Bus Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供一种端口配置方法,包括:在用于存储目标端口的配置信息的存储区内,存储与当前原端口的配置信息相同的配置信息,所述当前原端口处于正常工作状态,所述目标端口处于闲置状态。本发明实施例提供的另一种端口配置方法及端口配置装置。本发明实施例提供的技术方案可实现配置的及时完成,确保业务的正常运行,且有效减少配置目标端口过程中可能产生的人为失误。
An embodiment of the present invention provides a port configuration method, including: storing configuration information identical to configuration information of a current original port in a storage area for storing configuration information of a target port, the current original port being in a normal working state, The target port is idle. Another port configuration method and port configuration device provided by the embodiments of the present invention. The technical solution provided by the embodiment of the present invention can realize the timely completion of the configuration, ensure the normal operation of the business, and effectively reduce the possible human error in the process of configuring the target port.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种端口配置方法及装置。The present invention relates to the technical field of communication, in particular to a port configuration method and device.
背景技术Background technique
通信系统中,网络通信设备之间基于各自的端口来实现通信。通常,按照通信方式的不同,可将端口分为不同的种类,如以太端口、pos端口等等。并且,通常会对端口进行数据配置,以使该端口适用于相应的通信环境。In a communication system, network communication devices communicate based on their respective ports. Generally, ports can be divided into different types according to different communication methods, such as Ethernet ports, pos ports, and so on. Also, data configuration is usually performed on the port so that the port is suitable for a corresponding communication environment.
在网络通信设备运行过程中,若其上的端口出现物理故障,或因业务需求,要将通过某些端口承载的业务切换到其他端口上,则通常需要对目标端口进行配置处理,如由维护人员先手动清除关于原端口的配置信息,然后增加关于目标端口的配置信息,基于被配置的目标端口,将业务从原端口倒换到目标端口。而且,因各端口之间的数据配置通常存在制约关系,因此对关于原端口的配置信息的清除操作并不是随意无序的,而需要遵循一定的逻辑规则进行,相应地也不能随意无序地配置各目标端口。因此,维护人员在进行端口切换操作时,通常需要花费较长时间进行端口切换操作,并可能因为人为操作时间较长甚至操作失误,而影响业务的正常运行,甚至导致业务中断。During the operation of the network communication equipment, if the port on it has a physical failure, or due to business requirements, it is necessary to switch the services carried by some ports to other ports, it is usually necessary to configure the target port, such as by maintenance The personnel manually clear the configuration information about the original port, and then add the configuration information about the target port, and switch the service from the original port to the target port based on the configured target port. Moreover, because the data configuration between ports usually has a restrictive relationship, the clearing operation of the configuration information about the original port is not random and disorderly, but needs to follow certain logic rules, and correspondingly, it cannot be done randomly and disorderly. Configure each target port. Therefore, when the maintenance personnel perform the port switching operation, it usually takes a long time to perform the port switching operation, and the normal operation of the service may be affected or even caused to be interrupted due to the long time of manual operation or even an operation error.
现有技术采用由维护人员发出清除原端口上所有配置的命令,由相关执行单元收到该命令后,自动按照原端口上的数据配置逻辑,清除各端口上的数据配置,并将各端口上的数据配置还原为缺省配置。后续,维护人员按照一定的逻辑规则,对目标端口进行人工配置。In the prior art, maintenance personnel issue a command to clear all configurations on the original port. After the relevant execution unit receives the command, it automatically clears the data configuration on each port according to the data configuration logic on the original port, and transfers the data configuration on each port to The data configuration of the file is restored to the default configuration. Subsequently, maintenance personnel manually configure the target port according to certain logic rules.
现有技术在需要进行端口切换时,能够较及时地清除原端口上的数据配置,但并未能够及时完成对目标端口的配置,则在业务需要切换时,仍难以及时将业务从原端口切换到目标端口上。The existing technology can clear the data configuration on the original port in a timely manner when port switching is required, but cannot complete the configuration of the target port in time, and it is still difficult to switch the service from the original port in time when the service needs to be switched. to the target port.
发明内容Contents of the invention
本发明实施例提供一种端口配置方法,确保在业务需要从原端口切换到目标端口时,能够提供完成配置的目标端口,使得业务能够及时得到保护。The embodiment of the present invention provides a port configuration method to ensure that the configured target port can be provided when the service needs to be switched from the original port to the target port, so that the service can be protected in time.
一种端口配置方法,包括:A port configuration method, comprising:
在用于存储目标端口的配置信息的存储区内,存储与当前原端口的配置信息相同的配置信息,所述当前原端口处于正常工作状态,所述目标端口处于闲置状态。In the storage area for storing the configuration information of the target port, the same configuration information as the configuration information of the current original port is stored, the current original port is in a normal working state, and the target port is in an idle state.
本发明实施例提供一种端口配置装置,确保在业务需要从原端口切换到目标端口时,能够提供完成配置的目标端口,使得业务能够及时得到保护。The embodiment of the present invention provides a port configuration device to ensure that when a service needs to be switched from an original port to a target port, the configured target port can be provided, so that the service can be protected in time.
一种端口配置装置,包括:A port configuration device, comprising:
存储单元,用于存储目标端口的配置信息,所述目标端口的配置信息与当前原端口的配置信息相同;The storage unit is used to store the configuration information of the target port, the configuration information of the target port is the same as the current configuration information of the original port;
所述当前原端口处于正常工作状态,所述目标端口处于闲置状态。The current original port is in a normal working state, and the target port is in an idle state.
本发明实施例还提供一种端口配置方法,确保在业务需要从原端口切换到目标端口时,能够提供完成配置的目标端口,使得业务能够及时得到保护。The embodiment of the present invention also provides a port configuration method to ensure that when the service needs to be switched from the original port to the target port, the configured target port can be provided, so that the service can be protected in time.
一种端口配置方法,包括:A port configuration method, comprising:
从用于存储原端口的配置信息的第一存储区中,读取原端口的配置信息;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 a preset second storage area;
清除所述第一存储区中存储的所述原端口的配置信息;clearing the configuration information of the original port stored in the first storage area;
将所述第二存储区内存储的所述原端口的配置信息,存储到用于存储目标端口的配置信息的第三存储区内。storing the configuration information of the original port stored in the second storage area in a third storage area used for storing the configuration information of the target port.
本发明实施例还提供一种端口配置装置,确保在业务需要从原端口切换到目标端口时,能够提供完成配置的目标端口,使得业务能够及时得到保护。The embodiment of the present invention also provides a port configuration device to ensure that when the service needs to be switched from the original port to the target port, the configured target port can be provided, so that the service can be protected in time.
一种端口配置装置,包括:第一存储区、第二存储区、第三存储区、预配置单元和配置单元;其中,A port configuration device, comprising: a first storage area, a second storage area, a third storage area, a pre-configuration unit, and a configuration unit; wherein,
所述预配置单元,从用于存储原端口的配置信息的第一存储区中,读取原端口的配置信息,将读取到的所述原端口的配置信息,存储在预设的第二存储区内;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 in the storage area;
所述配置单元,清除所述第一存储区中存储的所述原端口的配置信息,将所述第二存储区内存储的所述原端口的配置信息,存储到用于存储目标端口的配置信息的第三存储区内。The configuration unit is configured to clear the configuration information of the original port stored in the first storage area, and store the configuration information of the original port stored in the second storage area to the configuration for storing the target port. Information in the third storage area.
本发明实施例提供的上述端口配置方法及装置,无论是采用静态配置还是动态配置方式来配置目标端口,其实质主要是,通过在获取到原端口的数据配置信息后,将该数据配置信息存储为目标端口的配置信息,实现对目标端口的配置。本发明实施例提供的技术方案可实现配置的及时完成,确保业务的正常运行,且有效减少配置目标端口过程中可能产生的人为失误。The above-mentioned port configuration method and device provided by the embodiments of the present invention, whether static configuration or dynamic configuration is used to configure the target port, its essence is mainly to store the data configuration information of the original port after obtaining the data configuration information of the original port. For the configuration information of the target port, realize the configuration of the target port. The technical solution provided by the embodiment of the present invention can realize the timely completion of the configuration, ensure the normal operation of the business, and effectively reduce the possible human error in the process of configuring the target port.
附图说明Description of drawings
图1是本发明实施例提供的端口配置装置101的结构示意图;FIG. 1 is a schematic structural diagram of a port configuration device 101 provided by an embodiment of the present invention;
图2是本发明实施例提供的端口配置方法流程图;FIG. 2 is a flowchart of a port configuration method provided by an embodiment of the present invention;
图3是本发明实施例提供的端口配置装置301的结构示意图;FIG. 3 is a schematic structural diagram of a port configuration device 301 provided by an embodiment of the present invention;
图4是本发明实施例一中实现端口切换的流程图;FIG. 4 is a flow chart of implementing port switching in Embodiment 1 of the present invention;
图5是本发明实施例二中实现端口配置的流程图。FIG. 5 is a flow chart of implementing port configuration in Embodiment 2 of the present invention.
具体实施方式Detailed ways
下面将结合附图对本发明实施例提供的技术方案作进一步详细描述。The technical solutions provided by the embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.
为在端口切换时,能够及时提供与原端口相同配置的目标端口,确保业务的正常运行,本发明实施例中,可在业务需要切换之前,将目标端口配置为与原端口具有相同配置信息的端口,从而,在业务需要进行切换时,可及时将业务从原端口切换到目标端口上,及时保护业务。In order to provide the target port with the same configuration as the original port in time when the port is switched, to ensure the normal operation of the service, in the embodiment of the present invention, before the service needs to be switched, the target port can be configured as the one with the same configuration information as the original port. Therefore, when the service needs to be switched, the service can be switched from the original port to the target port in time to protect the service in time.
本发明实施例中,具体配置目标端口的方案可包括方案一与方案二。In the embodiment of the present invention, the specific schemes for configuring the target port may include scheme one and scheme two.
方案一包括:事先配置目标端口,即在用于存储目标端口的配置信息的存储区内,存储与当前原端口的配置信息相同的配置信息,而当前原端口处于正常工作状态,目标端口处于闲置状态。Solution 1 includes: configuring the target port in advance, that is, storing the same configuration information as the configuration information of the current original port in the storage area used to store the configuration information of the target port, while the current original port is in normal working state and the target port is idle state.
本发明实施例给出的方案一中,在配置目标端口的过程中,或者配置结束后,原端口均可处于正常工作状态。事先配置目标端口的作用主要包括,在需要进行端口切换或原端口发生物理故障时,能够及时将原端口上的业务切换到目标端口上。In the first solution provided by the embodiment of the present invention, the original port can be in a normal working state during the process of configuring the target port or after the configuration is completed. The function of configuring the target port in advance mainly includes switching the services on the original port to the target port in time when port switching is required or a physical failure occurs on the original port.
与上述方案一相对应,本发明实施例提供一种端口配置装置101。参见图1,图1是该端口配置装置101的结构示意图,该端口配置装置101可包括:存储单元,用于存储目标端口的配置信息,所述目标端口的配置信息与当前原端口的配置信息相同;此时,当前原端口可处于正常工作状态,而目标端口处于闲置状态。Corresponding to the first solution above, an embodiment of the present invention provides a port configuration device 101 . Referring to Fig. 1, Fig. 1 is a schematic structural diagram of the port configuration device 101, the port configuration device 101 may include: a storage unit for storing the configuration information of the target port, the configuration information of the target port and the configuration information of the current original port The same; at this time, the current original port can be in normal working state, while the target port is in idle state.
参见图2,图2是本发明实施例中方案二对应的端口配置方法流程图,该流程可包括以下步骤:Referring to FIG. 2, FIG. 2 is a flow chart of a port configuration method corresponding to Solution 2 in an embodiment of the present invention, and the process may include the following steps:
步骤201、系统从用于存储原端口的配置信息的第一存储区中,读取原端口的配置信息。
步骤202、系统将读取到的所述原端口的配置信息,存储在预设的第二存储区内。
步骤203、系统清除所述第一存储区中存储的所述原端口的配置信息。Step 203, the system clears the configuration information of the original port stored in the first storage area.
步骤204、系统将所述第二存储区内存储的所述原端口的配置信息,存储到用于存储目标端口的配置信息的第三存储区内。
方案二给出系统具体如何配置目标端口的过程,在业务需要切换之前,完成对目标端口的自动配置。Solution 2 provides the process of how to configure the target port in the system, and completes the automatic configuration of the target port before the service needs to be switched.
方案一与方案二中,在对目标端口进行配置之前,需要检查目标端口的情况,包括:先检查原端口与目标端口的类型是否相同,通常情况下,若端口类型相同,则可直接将原端口的配置信息复制到存储目标端口的配置信息的存储区中,实现对目标端口的配置,实际应用中,若原端口与目标端口的类型不同,则一般不能完成配置,对于被细化的端口类型,如同属于以太端口的不同速率的端口,也可实现配置;还可在配置目标端口之前,先检查目标端口的当前配置是否是缺省配置,若是缺省配置,则表示当前该目标端口未被使用,因此,可作为原端口的备用端口,将原端口的配置信息复制到存储该目标端口的配置信息的存储区中,若目标端口不是缺省配置,则表示,目标端口可能被使用,为防止影响其他业务的正常运行,可选择其他端口作为目标端口。In scheme 1 and scheme 2, before configuring the target port, it is necessary to check the status of the target port, including: first check whether the types of the original port and the target port are the same. Usually, if the port types are the same, the original The configuration information of the port is copied to the storage area where the configuration information of the target port is stored to realize the configuration of the target port. In practical applications, if the types of the original port and the target port are different, the configuration cannot be completed generally. For the refined port type , as ports of different speeds belonging to Ethernet ports, can also be configured; before configuring the target port, check whether the current configuration of the target port is the default configuration, if it is the default configuration, it means that the target port is not currently configured Therefore, it can be used as the backup port of the original port, and the configuration information of the original port is copied to the storage area storing the configuration information of the target port. If the target port is not configured by default, it means that the target port may be used. To prevent affecting the normal operation of other services, you can choose other ports as the target port.
与上述图2所示流程相对应,本发明实施例提供另一种端口配置装置301。参见图3,图3是该端口配置装置301的结构示意图,该端口配置装置301可包括:第一存储区、第二存储区、第三存储区、预配置单元和配置单元;其中,Corresponding to the flow shown in FIG. 2 above, 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 device 301, the port configuration device 301 may include: a first storage area, a second storage area, a third storage area, a pre-configuration unit and a configuration unit; wherein,
预配置单元,从用于存储原端口的配置信息的第一存储区中,读取原端口的配置信息,将读取到的所述原端口的配置信息,存储在预设的第二存储区内;The pre-configuration unit reads the configuration information of the original port from the first storage area used to store the configuration information of the original port, and stores the read configuration information of the original port in the preset second storage area Inside;
配置单元,清除所述第一存储区中存储的所述原端口的配置信息,将所述第二存储区内存储的所述原端口的配置信息,存储到用于存储目标端口的配置信息的第三存储区内。The configuration unit is configured to clear the configuration information of the original port stored in the first storage area, and store the configuration information of the original port stored in the second storage area in the configuration information for storing the target port. in the third storage area.
所述装置进一步可包括:The device may further include:
命令接收单元,接收要求所述预配置单元转移所述第一存储区内存储的所述原端口的配置信息的命令。The command receiving unit receives a command that requires the pre-configuration unit to transfer the configuration information of the original port stored in the first storage area.
装置进一步可包括:The device may further include:
端口类型比对单元,比对原端口与目标端口的端口类型,确定端口与目标端口的端口类型相同或不相同,若相同,则触发所述预配置单元。The port type comparison unit compares the port types of the original port and the target port, determines whether the port types of the port and the target port are the same or not, and if they are the same, triggers the pre-configuration unit.
该装置进一步可包括:The device may further include:
配置检测单元,用于检测目标端口上的数据配置,确定该数据配置为缺省配置或非缺省配置,若为缺省配置,则触发所述预配置单元。The configuration detection unit is configured to detect the data configuration on the target port, determine whether the data configuration is a default configuration or a non-default configuration, and trigger the pre-configuration unit if it is a default configuration.
下面结合具体的实施例详细阐述本发明实施例所提供的技术方案。The technical solutions provided by the embodiments of the present invention will be described in detail below in conjunction with specific embodiments.
实施例一:Embodiment one:
本实施例一中,设采用方案一配置目标端口。参见图4,图4是本实施例一中实现端口切换的流程图,该流程可包括以下步骤:In the first embodiment, it is assumed that the first solution is used to configure the target port. Referring to FIG. 4, FIG. 4 is a flow chart of implementing port switching in Embodiment 1, and the process may include the following steps:
步骤401、预先对目标端口进行配置。
该步骤401中,对目标端口的配置工作可由维护人员来完成。维护人员可先对目标端口进行相关检查,若能够满足作为原端口的备用端口的要求,即目标端口与原端口的类型是否相同,以及目标端口上的配置是缺省配置,则,维护人员将获得的原端口的配置信息,复制到存放目标端口的配置信息的存储区内,这样,使目标端口与配置信息之间形成绑定关系,完成对目标端口的配置。In
若所选的目标端口不能够满足备用端口的要求,则维护人员可选择其他的与原端口类型相同且配置为缺省配置的端口作为目标端口。If the selected target port cannot meet the requirements of the standby port, the maintenance personnel can select another port of the same type as the original port and configured as the default port as the target port.
在配置完目标端口后,由于该目标端口的配置与尚处于工作状态的原端口的配置相同,因此,为避免通信过程中,出现因端口不确定而导致数据传输出错的情况,可暂时将备用的目标端口置于闲置状态。After configuring the target port, since the configuration of the target port is the same as that of the original port that is still in working state, in order to avoid data transmission errors due to uncertain ports during the communication process, temporarily set the standby The target port is idled.
步骤402、当前需要进行端口切换,则直接将原先路由至原端口的业务的切换到已配置完成的目标端口上。
该步骤402中,将目标端口从闲置状态设置为激活态,即工作状态,而原端口变为非激活态。In
本实施例一的流程可结束。The process of the first embodiment can end.
本实施例一中配置目标端口的方式可看作是静态配置方式。实际应用中,若采用方案一配置目标端口,则可设置原端口与目标端口设置互为主备端口。The method of configuring the target port in the first embodiment can be regarded as a static configuration method. In practical applications, if the first option is used to configure the target port, the original port and the target port can be set as active and standby ports.
本实施例一中,通过事先对目标端口进行与原端口相同的配置,则在需要进行端口切换的情况下,目标端口可及时承接原端口上的业务,确保业务的正常运行。并且,由于在事先配置目标端口,因此,留给维护人员进行目标端口的配置的时间较富余,从而可减少目标端口配置过程中可能出现的人为失误。In the first embodiment, by performing the same configuration on the target port as the original port in advance, when port switching is required, the target port can promptly undertake the service on the original port to ensure the normal operation of the service. Moreover, because the target port is configured in advance, there is more time left for the maintenance personnel to configure the target port, thereby reducing human errors that may occur during the target port configuration process.
实施例二:Embodiment two:
本实施例二中,设采用方案二配置目标端口。参见图5,图5是本实施例二中实现端口配置的流程图,该流程可包括以下步骤:In the second embodiment, it is assumed that the second solution is used to configure the target port. Referring to FIG. 5, FIG. 5 is a flow chart of implementing port configuration in Embodiment 2, and the process may include the following steps:
步骤501、当前需要进行端口切换,维护人员通过与通信设备之间的交互界面,输入要求系统转移原端口的配置信息的命令。Step 501 , port switching is currently required, and the maintenance personnel input a command to request the system to transfer the configuration information of the original port through an interactive interface with the communication device.
本实施例二中,提供发明者提供的命令格式,列举该命令的实例如下:In the second embodiment, the command format provided by the inventor is provided, and an example of the command is listed as follows:
move-config from interface pos1/0/0 to pos 1/0/1。move-config from interface pos1/0/0 to pos 1/0/1.
该命令表示,将端口pos 1/0/0上的数据配置信息转移到端口pos 1/0/1上。则端口pos 1/0/0为原端口,端口pos 1/0/1为目标端口。This command indicates that the data configuration information on port pos 1/0/0 is transferred to port pos 1/0/1. Then port pos 1/0/0 is the original port, and port pos 1/0/1 is the target port.
实际应用中,可自行设置命令的格式,只要能够命令系统准备端口切换即可。In practical applications, you can set the format of the command yourself, as long as you can command the system to prepare for port switching.
步骤502、系统中的端口配置装置301收到命令后,比对原端口与目标端口的端口类型,若能够确定原端口与目标端口的端口类型相同,则执行步骤503;否则,执行步骤508。Step 502: After receiving the command, the port configuration device 301 in the system compares the port types of the original port and the target port, and if it can be determined that the port types of the original port and the target port are the same, then execute step 503; otherwise, execute step 508.
步骤503、端口配置装置301检测目标端口的配置信息,若确定该配置信息为缺省配置信息,则执行步骤504,否则,执行步骤508。Step 503 , the port configuration device 301 detects the configuration information of the target port, and if it is determined that the configuration information is the default configuration information, execute step 504 ; otherwise, execute step 508 .
步骤504、端口配置装置301从存储原端口的配置信息的第一存储区中,读取到原端口的配置信息,若能够读取成功,则执行步骤505;否则,执行步骤508。Step 504 , the port configuration device 301 reads the configuration information of the original port from the first storage area storing the configuration information of the original port, and if the reading is successful, executes step 505 ; otherwise, executes step 508 .
步骤505,端口配置装置301将读取到的原端口的配置信息,存放到预设的第二存储区中,清除第一存储区中的原端口的配置信息。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 can be a buffer area in the system. The function of setting the buffer area is to store the read configuration information of the original port in time, and then clear the original port configuration information in the first storage area in time. Port configuration information, complete the pre-order work in port configuration in time.
步骤506、端口配置装置301将第二存储区中缓存的配置信息,存储到用于存储目标端口的配置信息的第三存储区内,若能够存储成功,执行步骤507;否则,执行步骤508。Step 506 , the port configuration device 301 stores the configuration information cached in the second storage area into the third storage area for storing the configuration information of the target port, and if the storage is successful, execute step 507 ; otherwise, execute step 508 .
步骤507、系统通过人机交互界面,将配置成功的提示信息显示给用户。Step 507 , the system displays a prompt message of successful configuration to the user through the human-computer interaction interface.
步骤508、系统通过人机交互界面,将配置失败的提示信息显示给用户。Step 508, the system displays the prompt information of configuration failure to the user through the human-computer interaction interface.
该流程可结束。The process can end.
后续,原路由至原端口的业务被路由至目标端口。Subsequently, the service originally routed to the original port is routed to the target port.
实际应用中,可根据实际需要选择是否启用图3中端口配置装置301所包含的端口类型比对单元和配置检测单元,如在原端口与目标端口类型不同时也可进行端口切换的情况下,可不需要启用端口类型比对单元;如可不需要启用配置检测单元,而直接将第三存储区内目标端口的原配置信息覆盖。In practical applications, you can choose whether to enable the port type comparison unit and configuration detection unit included in the port configuration device 301 in Figure 3 according to actual needs. The port type comparison unit needs to be enabled; for example, the configuration detection unit does not need to be enabled, and the original configuration information of the target port in the third storage area is directly overwritten.
本实施例二中,采用动态配置方式配置目标端口,由端口配置装置301在收到要求转移原端口的数据配置信息的命令后,对原端口的数据配置信息进行备份,并将备份的原端口的配置信息存储到第三存储区内,可实现对目标端口的自动配置,一方面减轻用户的工作量;另一方面,可避免因人为操作而可能引起的人为失误,确保配置能够及时且成功完成,进而确保业务的正常运。In the second embodiment, the target port is configured in a dynamic configuration mode, 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 transfers the backup original port The configuration information is stored in the third storage area, which can realize the automatic configuration of the target port, on the one hand, reduce the workload of the user; on the other hand, it can avoid human errors that may be caused by human operation, and ensure that the configuration can be timely and successful Complete, and then ensure the normal operation of the business.
综上所述,本发明实施例提供的上述端口配置方法及装置,无论是采用静态配置还是动态配置方式来配置目标端口,其实质主要是,通过在获取到原端口的数据配置信息后,将该数据配置信息存储为目标端口的配置信息,实现对目标端口的配置。本发明实施例提供的技术方案可实现配置的及时完成,确保业务的正常运行,且有效减少配置目标端口过程中可能产生的人为失误。To sum up, the above-mentioned port configuration method and device provided by the embodiments of the present invention, whether static configuration or dynamic configuration is used to configure the target port, its essence is mainly that after obtaining the data configuration information of the original port, the The data configuration information is stored as the configuration information of the target port, so as to realize the configuration of the target port. The technical solution provided by the embodiment of the present invention can realize the timely completion of the configuration, ensure the normal operation of the business, and effectively reduce the possible human error in the process of configuring the target port.
Claims (13)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007103016232A CN101202671A (en) | 2007-12-20 | 2007-12-20 | Port configuration method and device |
PCT/CN2008/073419 WO2009089710A1 (en) | 2007-12-20 | 2008-12-10 | Method and apparatus for port configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007103016232A CN101202671A (en) | 2007-12-20 | 2007-12-20 | Port configuration method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101202671A true CN101202671A (en) | 2008-06-18 |
Family
ID=39517650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007103016232A Pending CN101202671A (en) | 2007-12-20 | 2007-12-20 | Port configuration method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101202671A (en) |
WO (1) | WO2009089710A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009089710A1 (en) * | 2007-12-20 | 2009-07-23 | Huawei Technologies Co., Ltd. | Method and apparatus for port configuration |
CN105656665A (en) * | 2015-12-24 | 2016-06-08 | 浪潮集团有限公司 | Switch port configuring method and switch |
CN104008637B (en) * | 2014-05-20 | 2017-02-15 | 福建工程学院 | Remote machine tool fault acquisition communication method |
CN106534331A (en) * | 2016-11-30 | 2017-03-22 | 网宿科技股份有限公司 | Data transmission method and system based on dynamic port switching |
CN107204864A (en) * | 2016-03-16 | 2017-09-26 | 北大方正集团有限公司 | Application method, management method, terminal and the server of the network port |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100579393B1 (en) * | 1999-12-02 | 2006-05-12 | 주식회사 케이티 | Apparatus and method for real time notification of customer network failure data in multi-layer data network |
KR100419361B1 (en) * | 2000-10-23 | 2004-02-19 | 주식회사 어니언소프트웨어 | Remote Controlling System and Method |
AU2002368088B2 (en) * | 2002-07-08 | 2007-10-18 | Packetfront Sweden Ab | 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 | 华为技术有限公司 | Port configuration method and device |
-
2007
- 2007-12-20 CN CNA2007103016232A patent/CN101202671A/en active Pending
-
2008
- 2008-12-10 WO PCT/CN2008/073419 patent/WO2009089710A1/en active Application Filing
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009089710A1 (en) * | 2007-12-20 | 2009-07-23 | Huawei Technologies Co., Ltd. | Method and apparatus for port configuration |
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 |
CN107204864A (en) * | 2016-03-16 | 2017-09-26 | 北大方正集团有限公司 | Application method, management method, terminal and the server of the network port |
CN107204864B (en) * | 2016-03-16 | 2020-09-04 | 北大方正集团有限公司 | Application method, management method, terminal and server of network port |
CN106534331A (en) * | 2016-11-30 | 2017-03-22 | 网宿科技股份有限公司 | Data transmission method and system based on dynamic port switching |
Also Published As
Publication number | Publication date |
---|---|
WO2009089710A1 (en) | 2009-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111162941B (en) | Method for automatically managing virtual IP (Internet protocol) in Kubernetes environment | |
CN102223394A (en) | Remote direct storage access | |
JP7116802B2 (en) | Master/standby container system switching | |
CN101110776B (en) | Backup method, backup device and backup system for data service | |
CN102215268A (en) | Method and device for transferring file data | |
US8117391B2 (en) | Storage system and data management method | |
CN101202671A (en) | Port configuration method and device | |
CN107589955A (en) | A kind of upgrade method and system of double CMC firmware versions | |
JP2006195821A (en) | Information processing system control method, information processing system, direct memory access control device, program | |
CN101141282B (en) | A network management system and its management method | |
CN103647710A (en) | Path configuration method and device | |
EP2378434A1 (en) | Mehtod and device of multiple disks grouping hot standby in distributed file system | |
CN102244589B (en) | Method and opposite terminal apparatus for processing link fault in virtual switch unit system | |
CN105119765A (en) | Intelligent processing fault system architecture | |
CN109783401B (en) | Data storage methods and storage systems | |
CN104407806B (en) | The amending method and device of RAID group hard disc information | |
CN101060683B (en) | Method and device for generating alarm information in communication system | |
CN118606117A (en) | A four-controller interconnected mirroring system, data transmission method, device and medium | |
JP2006189963A (en) | Storage access control method, cluster system, path connection switch, and storage access control program | |
CN101222358B (en) | Configuration emigration method and device | |
CN101299206A (en) | A method and device for realizing interrupt acquisition | |
CN116820822A (en) | A read-write link control method, device, and medium | |
CN107395407B (en) | Power-off protection method and device | |
CN116582422A (en) | A network card exception processing method, network card exception processing system and related devices | |
CN110688267B (en) | Method and device for repairing hard disk port |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080618 |