CN101202671A - Method and apparatus for terminal port allocating - Google Patents

Method and apparatus for terminal port allocating Download PDF

Info

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
former
configuration
memory block
information
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
Application number
CNA2007103016232A
Other languages
Chinese (zh)
Inventor
孙建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
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
Priority to CNA2007103016232A priority Critical patent/CN101202671A/en
Publication of CN101202671A publication Critical patent/CN101202671A/en
Priority to PCT/CN2008/073419 priority patent/WO2009089710A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration 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

The embodiment of the invention provides a port collocating method, including the collocating information that is the same as the collocating information of the current original port is stored in a storing area used for storing the collocating information of a target port; the current original port is in a normal working state and the target port is in an idle state. The embodiment of the invention provides another port collocating method and a port collocating device. The technical scheme provided by the embodiment of the invention can realize in time finishing of the collocation, ensure the normal running of the services and effectively reduce the human errors that can be generated in the process of collocating the target port.

Description

Port configuration method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of port configuration method and device.
Background technology
In the communication system, realize communication based on port separately between the network communication equipment.Usually, according to the difference of communication mode, port can be divided into different kinds, as ether port, pos port or the like.And, can carry out data configuration to port usually, so that this port is applicable to the corresponding communication environment.
In the network communication equipment running, if physical fault appears in the port on it, or because of business demand, to will switch on other ports by the certain port loaded service, then need be configured processing to target port usually,, increase configuration information then about target port as manually removing earlier about former configuring ports information by the attendant, based on the target port that is configured, with business from former port switching to target port.And, because of there is restricting relation usually in the data configuration between each port, therefore be not arbitrarily unordered to clear operation, carry out, correspondingly can not arbitrarily dispose each target port disorderly and need follow certain logic rules about former configuring ports information.Therefore, the attendant need take a long time usually and carry out the port handover operation when carrying out the port handover operation, and possibility long even operate miss because of the manual operation time, and traffic affecting normally moves, even causes service disconnection.
Prior art adopts by the attendant and sends all configure order on the former port of removing, after receiving this order by relevant performance element, automatically according to the data configuration logic on the former port, remove the data configuration on each port, and the data configuration on each port is reduced to default configuration.Follow-up, the attendant carries out human configuration according to certain logic rules to target port.
When prior art is carried out the port switching at needs, can remove the data configuration on the former port more in time, but can in time not finish configuration, then when service needed is switched, still be difficult in time business be switched on the target port from former port target port.
Summary of the invention
The embodiment of the invention provides a kind of port configuration method, and guaranteeing in service needed can provide the target port of finishing configuration when former port switches to target port, and the business that makes can in time be protected.
A kind of port configuration method comprises:
In the memory block of the configuration information that is used to store target port, storage and the identical configuration information of current former configuring ports information, described current former port is in normal operating conditions, and described target port is in idle state.
The embodiment of the invention provides a kind of port arrangement device, and guaranteeing in service needed can provide the target port of finishing configuration when former port switches to target port, and the business that makes can in time be protected.
A kind of port arrangement device comprises:
Memory cell is used to store the configuration information of target port, and the configuration information of described target port is identical with current former configuring ports information;
Described current former port is in normal operating conditions, and described target port is in idle state.
The embodiment of the invention also provides a kind of port configuration method, and guaranteeing in service needed can provide the target port of finishing configuration when former port switches to target port, and the business that makes can in time be protected.
A kind of port configuration method comprises:
From being used for storing first memory block of former configuring ports information, read former configuring ports information;
With the described former configuring ports information that reads, be stored in the second default memory block;
Remove the described former configuring ports information of storing in described first memory block;
With the described former configuring ports information of the described second memory block stored, store in the 3rd memory block of the configuration information that is used to store target port.
The embodiment of the invention also provides a kind of port arrangement device, and guaranteeing in service needed can provide the target port of finishing configuration when former port switches to target port, and the business that makes can in time be protected.
A kind of port arrangement device comprises: first memory block, second memory block, the 3rd memory block, pre-configured unit and dispensing unit; Wherein,
Described pre-configured unit from being used for storing first memory block of former configuring ports information, reads former configuring ports information, with the described former configuring ports information that reads, is stored in the second default memory block;
Described dispensing unit is removed the described former configuring ports information of storing in described first memory block, with the described former configuring ports information of the described second memory block stored, stores in the 3rd memory block of the configuration information that is used to store target port.
Above-mentioned port configuration method and device that the embodiment of the invention provides, no matter be to adopt static configuration or the dynamic-configuration mode disposes target port, its essence mainly is, by after getting access to the data configuration information of former port, with the configuration information that this data configuration information stores is a target port, realize configuration to target port.What the technical scheme that the embodiment of the invention provides can realize disposing in time finishes, and guarantees professional normal operation, and effectively reduces issuable human error in the configuration target port process.
Description of drawings
Fig. 1 is the structural representation of the port arrangement device 101 that provides of the embodiment of the invention;
Fig. 2 is the port configuration method flow chart that the embodiment of the invention provides;
Fig. 3 is the structural representation of the port arrangement device 301 that provides of the embodiment of the invention;
Fig. 4 realizes the flow chart that port switches in the embodiment of the invention one;
Fig. 5 is a flow chart of realizing port arrangement in the embodiment of the invention two.
Embodiment
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described in further detail.
For when port switches; target port with the identical configuration of former port can in time be provided; guarantee professional normal operation; in the embodiment of the invention, can before switching, service needed target port be configured to have with former port the port of identical configuration information; thereby; when service needed is switched, can in time business be switched on the target port from former port, in time protection is professional.
In the embodiment of the invention, the scheme of concrete configuration target port can comprise scheme one and scheme two.
Scheme one comprises: the configured in advance target port, promptly in the memory block of the configuration information that is used to store target port, storage and the identical configuration information of current former configuring ports information, and current former port is in normal operating conditions, target port is in idle state.
In the scheme one that the embodiment of the invention provides, in the process of configuration target port, after perhaps configuration finished, former port all can be in normal operating conditions.The effect of configured in advance target port mainly comprises, when needs carry out port switching or former port generation physical fault, can in time the business on the former port be switched on the target port.
Corresponding with such scheme one, the embodiment of the invention provides a kind of port arrangement device 101.Referring to Fig. 1, Fig. 1 is the structural representation of this port arrangement device 101, and this port arrangement device 101 can comprise: memory cell, be used to store the configuration information of target port, and the configuration information of described target port is identical with current former configuring ports information; At this moment, current former port can be in normal operating conditions, and target port is in idle state.
Referring to Fig. 2, Fig. 2 is scheme two corresponding port collocation method flow charts in the embodiment of the invention, and this flow process can may further comprise the steps:
Step 201, system read former configuring ports information from being used for storing first memory block of former configuring ports information.
The described former configuring ports information that step 202, system will read is stored in the second default memory block.
The described former configuring ports information of storing in step 203, described first memory block of System Cleaning.
Step 204, system be the described former configuring ports information of the described second memory block stored, stores in the 3rd memory block of the configuration information that is used to store target port.
Scheme two provides the process how system specifically disposes target port, before service needed is switched, finishes the automatic configuration to target port.
In scheme one and the scheme two, before target port is configured, need to check the situation of target port, comprise: check earlier whether former port is identical with the type of target port, generally, if port type is identical, then can be directly with former configuring ports information reproduction in the memory block of the configuration information of storage target port, realization is to the configuration of target port, in the practical application, if former port is different with the type of target port, then generally can not finish configuration, for by the port type of refinement, as belong to the port of the different rates of ether port, also can realize configuration; Also can be before the configuration target port, whether the current configuration of checking target port earlier is default configuration, if default configuration represents that then current this target port is not used, therefore, can be used as the standby port of former port, in the memory block of the configuration information of this target port of storage, is not default configuration as if target port with former configuring ports information reproduction, then expression, target port may be used, and for preventing to influence the normal operation of other business, can select other ports as target port.
Corresponding with above-mentioned flow process shown in Figure 2, the embodiment of the invention provides another kind of port arrangement device 301.Referring to Fig. 3, Fig. 3 is the structural representation of this port arrangement device 301, and this port arrangement device 301 can comprise: first memory block, second memory block, the 3rd memory block, pre-configured unit and dispensing unit; Wherein,
Pre-configured unit from being used for storing first memory block of former configuring ports information, reads former configuring ports information, with the described former configuring ports information that reads, is stored in the second default memory block;
Dispensing unit is removed the described former configuring ports information of storing in described first memory block, with the described former configuring ports information of the described second memory block stored, stores in the 3rd memory block of the configuration information that is used to store target port.
Described device further can comprise:
The order receiving element, reception requires described pre-configured unit to shift the order of the described former configuring ports information of the described first memory block stored.
Device further can comprise:
The port type comparing unit is compared the port type of former port and target port, determines that port is identical or inequality with the port type of target port, if identical, then triggers described pre-configured unit.
This device further can comprise:
The configuration detection unit is used to detect the data configuration on the target port, determines that this data configuration is default configuration or non-default configuration, if default configuration then triggers described pre-configured unit.
Elaborate the technical scheme that the embodiment of the invention provides below in conjunction with specific embodiment.
Embodiment one:
In the present embodiment one, establish employing scheme one configuration target port.Referring to Fig. 4, Fig. 4 realizes the flow chart that port switches in the present embodiment one, and this flow process can may further comprise the steps:
Step 401, in advance target port is configured.
In this step 401, can finish by the attendant the configuration effort of target port.The attendant can carry out coherence check to target port earlier, if can satisfy requirement as the standby port of former port, be whether target port is identical with the type of former port, and the configuration on the target port is default configuration, then, and the former configuring ports information that the attendant will obtain, copy in the memory block of stored target configuring ports information, like this, make between target port and the configuration information and form binding relationship, finish configuration target port.
If selected target port can not satisfy the requirement of standby port, then the attendant's port that can select the identical with former port type of other and be configured to default configuration is as target port.
After having disposed target port, because the configuration of this target port is identical with still in running order former configuring ports, therefore, for avoiding in the communication process, the situation that appearance causes transfer of data to be made mistakes because of port is uncertain can temporarily place idle state with standby target port.
Step 402, current needs carry out port and switch, and the switching to of business that then directly will originally route to former port disposed on the target port of finishing.
In this step 402, target port is set to activated state from idle state, i.e. operating state, and former port becomes non-activated state.
The flow process of present embodiment one can finish.
The mode of configuration target port can be regarded the static configuration mode as in the present embodiment one.In the practical application, if employing scheme one configuration target port then can be provided with the active and standby each other port of former port and target port setting.
In the present embodiment one, by in advance target port being carried out the configuration identical with former port, then carry out under the situation of port switching at needs, target port can in time be accepted the business on the former port, guarantees professional normal operation.And because at the configured in advance target port, therefore, leaving the attendant for, to carry out time of configuration of target port more more than needed, thereby can reduce the human error that may occur in the target port layoutprocedure.
Embodiment two:
In the present embodiment two, establish employing scheme two configuration target ports.Referring to Fig. 5, Fig. 5 is a flow chart of realizing port arrangement in the present embodiment two, and this flow process can may further comprise the steps:
Step 501, current needs carry out port and switch, the attendant by and communication equipment between interactive interface, input requires system to shift the order of former configuring ports information.
In the present embodiment two, the command format that provides the inventor to provide, the example of enumerating this order is as follows:
move-config?from?interface?pos1/0/0?to?pos?1/0/1。
This orders expression, with the data configuration information transfer on the port pos 1/0/0 to port pos 1/0/1.Then port pos 1/0/0 is former port, and port pos 1/0/1 is a target port.
In the practical application, the form of order can be set voluntarily, as long as can command system prepare the port switching.
After port arrangement device 301 in step 502, the system receives orders, compare the port type of former port and target port, if can determine that former port is identical with the port type of target port, then execution in step 503; Otherwise, execution in step 508.
Step 503, port arrangement device 301 detect the configuration information of target port, if determine that this configuration information is a default configuration information, then execution in step 504, otherwise, execution in step 508.
Step 504, port arrangement device 301 read former configuring ports information from first memory block of storing former configuring ports information, if can read success, then execution in step 505; Otherwise, execution in step 508.
The former configuring ports information that step 505, port arrangement device 301 will read is stored in the second default memory block, removes the former configuring ports information in first memory block.
Should the second default memory block can be intrasystem buffer area, the effect that buffer area is set is, can in time the former configuring ports information that reads be deposited, afterwards, can in time remove the former configuring ports information on first memory block, in time finish the preorder work in the port arrangement.
Step 506, port arrangement device 301 be the configuration information of buffer memory in second memory block, stores in the 3rd memory block of the configuration information that is used to store target port, if can store success, execution in step 507; Otherwise, execution in step 508.
Step 507, system be by human-computer interaction interface, and the information of configuration successful is shown to the user.
Step 508, system be by human-computer interaction interface, and the information of configuration failure is shown to the user.
This flow process can finish.
Follow-up, the former business that routes to former port is routed to target port.
In the practical application, can select whether to enable port type comparing unit and the configuration detection unit that Fig. 3 middle port inking device 301 is comprised according to actual needs, as not carrying out simultaneously can not needing to enable the port type comparing unit under the situation of port switching at former port and target port type yet; As can not needing to enable the configuration detection unit, and directly the former configuration information of the 3rd memory block internal object port is covered.
In the present embodiment two, adopt the dynamic-configuration mode to dispose target port, by port arrangement device 301 after the order of receiving the data configuration information that require to shift former port, data configuration information to former port backs up, and in former configuring ports information stores to the three memory blocks that will back up, can realize automatic configuration, alleviate user's workload on the one hand target port; On the other hand, can avoid the human error that may cause, guarantee that configuration can in time and complete successfully, and then guarantee the normal fortune of business because of manual operation.
In sum, above-mentioned port configuration method and device that the embodiment of the invention provides, no matter be to adopt static configuration or the dynamic-configuration mode disposes target port, its essence mainly is, by after getting access to the data configuration information of former port, with the configuration information that this data configuration information stores is a target port, realize configuration to target port.What the technical scheme that the embodiment of the invention provides can realize disposing in time finishes, and guarantees professional normal operation, and effectively reduces issuable human error in the configuration target port process.

Claims (13)

1. a port configuration method is characterized in that, comprising:
In the memory block of the configuration information that is used to store target port, storage and the identical configuration information of current former configuring ports information, described current former port is in normal operating conditions, and described target port is in idle state.
2. method according to claim 1 is characterized in that, in the memory block of the configuration information that is used to store target port, stores before the configuration information identical with current former configuring ports information, and this method further comprises:
Compare the port type of former port and target port, determine that former port is identical with the port type of target port.
3. method according to claim 1 and 2 is characterized in that, in the memory block of the configuration information that is used to store target port, stores before the configuration information identical with current former configuring ports information, and this method further comprises:
Detect the data configuration on the target port, determine that this data configuration is a default configuration.
4. method according to claim 1 is characterized in that, behind the configuration information of storage target port, this method further comprises: if need carry out the switching of former port and target port, then directly the business of moving on the former port is switched to target port.
5. a port arrangement device is characterized in that, comprising:
Memory cell is used to store the configuration information of target port, and the configuration information of described target port is identical with current former configuring ports information;
Described current former port is in normal operating conditions, and described target port is in idle state.
6. a port configuration method is characterized in that, comprising:
From being used for storing first memory block of former configuring ports information, read former configuring ports information;
With the described former configuring ports information that reads, be stored in the second default memory block;
Remove the described former configuring ports information of storing in described first memory block;
With the described former configuring ports information of the described second memory block stored, store in the 3rd memory block of the configuration information that is used to store target port.
7. method according to claim 6 is characterized in that, from described first memory block, reads before the former configuring ports information, and this method further comprises:
Receive the order of the described former configuring ports information that requires the described first memory block stored of transfer.
8. according to claim 6 or 7 described methods, it is characterized in that from described first memory block, read before the former configuring ports information, this method further comprises:
Compare the port type of former port and target port, determine that former port is identical with the port type of target port.
9. method according to claim 8 is characterized in that, from described first memory block, reads before the former configuring ports information, and this method further comprises:
Detect the data configuration on the target port, determine that this data configuration is a default configuration.
10. a port arrangement device is characterized in that, comprising: first memory block, second memory block, the 3rd memory block, pre-configured unit and dispensing unit; Wherein,
Described pre-configured unit from being used for storing first memory block of former configuring ports information, reads former configuring ports information, with the described former configuring ports information that reads, is stored in the second default memory block;
Described dispensing unit is removed the described former configuring ports information of storing in described first memory block, with the described former configuring ports information of the described second memory block stored, stores in the 3rd memory block of the configuration information that is used to store target port.
11. device according to claim 10 is characterized in that, described device further comprises:
The order receiving element, reception requires described pre-configured unit to shift the order of the described former configuring ports information of the described first memory block stored.
12. device according to claim 10 is characterized in that, described device further comprises:
The port type comparing unit is compared the port type of former port and target port, determines that port is identical or inequality with the port type of target port, if identical, then triggers described pre-configured unit.
13. device according to claim 10 is characterized in that, described device further comprises:
The configuration detection unit is used to detect the data configuration on the target port, determines that this data configuration is default configuration or non-default configuration, if default configuration then triggers described pre-configured unit.
CNA2007103016232A 2007-12-20 2007-12-20 Method and apparatus for terminal port allocating Pending CN101202671A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA2007103016232A CN101202671A (en) 2007-12-20 2007-12-20 Method and apparatus for terminal port allocating
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 Method and apparatus for terminal port allocating

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 Method and apparatus for terminal port allocating

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100579393B1 (en) * 1999-12-02 2006-05-12 주식회사 케이티 Device for the real-time notification of a customer network fault in multi-layer data networks and method thereof
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 华为技术有限公司 Method and apparatus for terminal port allocating

Cited By (6)

* Cited by examiner, † Cited by third party
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
CN101102219B (en) Software update system and software update method
CN202798798U (en) High availability system based on cloud computing technology
CN108964948A (en) Principal and subordinate's service system, host node fault recovery method and device
CN104468521B (en) Online moving method, device and system
CN101110776B (en) Backup method, backup device and backup system for data business
CN103491192B (en) The Namenode changing method of a kind of distributed system and system
CN101162988A (en) Data synchronization method of implementing uninterrupted service using main standby data section
CN101202671A (en) Method and apparatus for terminal port allocating
KR20060048930A (en) Communication system
CN102035683A (en) Control method and system for switching of main board and standby board
CN102708027A (en) Method and system for avoiding outage of communication device
CN102148751B (en) Method and device as well as network equipment for managing logical interface
CN103188098A (en) Method, system and device for disaster recovery switching
CN104683486A (en) Method and device for processing synchronous messages in distributed system and distributed system
CN100546256C (en) A kind of method that realizes that the unit self adaptation is supported
CN109298977A (en) A kind of virtual machine business quick recovery method, system, device and storage medium
CN113282246A (en) Data processing method and device
CN103678163A (en) Method, device and system for switching of data stream
CN101855839B (en) Method for doubly backing up files asynchronously
CN104753714A (en) Network device and network service handling method
CN101835062B (en) Method for processing service plate changeover and shelf control unit
CN104866245A (en) Method and device for synchronous snapshot between cache equipment and storage system
CN115408038A (en) Hot upgrading method, device, storage medium and equipment for user mode protocol stack
CN101789854A (en) Main/standby load sharing method, device and system
CN100499387C (en) A method of singleboard N+1 backup in communication system

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