CN109257199A - A kind of method, apparatus, system and the storage medium of port migration - Google Patents

A kind of method, apparatus, system and the storage medium of port migration Download PDF

Info

Publication number
CN109257199A
CN109257199A CN201710569782.4A CN201710569782A CN109257199A CN 109257199 A CN109257199 A CN 109257199A CN 201710569782 A CN201710569782 A CN 201710569782A CN 109257199 A CN109257199 A CN 109257199A
Authority
CN
China
Prior art keywords
port
server
data
migration
network elements
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.)
Granted
Application number
CN201710569782.4A
Other languages
Chinese (zh)
Other versions
CN109257199B (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710569782.4A priority Critical patent/CN109257199B/en
Publication of CN109257199A publication Critical patent/CN109257199A/en
Application granted granted Critical
Publication of CN109257199B publication Critical patent/CN109257199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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
    • 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/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

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

Abstract

The invention discloses method, apparatus, system and the storage mediums of a kind of migration of port.Method includes: when at least a pair of of migration port in specified network element carries out port migration by selection, and NM client is handled to the related data that NM server sends migration port, and migration port includes former port and destination port;Receive the processing result that NM server returns;The first request message is sent to NM server;Instruction triggers execution is switched based on the received to switch the execution of migration port accordingly;The second request message migrated to NM server sending port, second request message is used to indicate NM server and sends download command to the corresponding adapter of related network elements, and download command indication adapter downloads all data including the data after storage of related network elements.Using the present invention, overcomes the heavy workload of prior art middle port migration, short time consumption length, error rate height, configures the shortcomings that omitting.

Description

A kind of method, apparatus, system and the storage medium of port migration
Technical field
Method, apparatus, system and the storage migrated the present invention relates to communication technique field more particularly to a kind of port is situated between Matter.
Background technique
As more and more service applications are run on the network architecture, lasting, efficient, the safe fortune of Logistics networks Row, becomes the huge challenge that network manager faces.Although the investment in network management is more and more, and has done carefully It disposes, be configured with stringent security strategy, but still emerge one after another the problem of network, if port is damaged, veneer damage, port Bottleneck etc..
When there is above-mentioned network problem, under the premise of non-interrupting service (if having during protection can guarantee business not It is disconnected), it needs business to realize port migration from A port switching to the port B.
In the prior art, it when occurring port, veneer damage, port bottleneck in network, needs to be existed by network O&M personnel The modules such as the port configuration of network management, interface configuration, protocol configuration, business configuration carry out the configuration one by one of destination port to realize end Mouth migration.But since the data configured on port are numerous, above-mentioned port migration pattern, not only workload is huge, short time consumption is long, And configuration error probability is high, and it is very more that place is omitted in configuration, and it is unobstructed to have seriously affected network, affects user experience.Meanwhile Above-mentioned port migration pattern is high to network O&M personnel's skill requirement, need network O&M personnel to each module and each module it Between dependence have deep understanding.In addition, above-mentioned port migration pattern is complete when large quantities of ports, veneer damage simultaneously It is not able to satisfy the time requirement of operator and network user.
Summary of the invention
In view of this, the purpose of the present invention is to provide method, apparatus, system and the storage medium of a kind of migration of port, To solve the problems, such as the shortcomings that heavy workload, the short time consumption of existing port migration are long, error rate is high, configuration is omitted.
It is as follows that the present invention solves technical solution used by above-mentioned technical problem:
According to the first aspect of the invention, it provides when at least a pair of of migration port in specified network element is selected to be held When mouth migration, NM client is handled to the related data that NM server sends migration port, the migration port packet Include former port and destination port;
The NM client receives the processing result that the NM server returns;
The NM client sends the first request message to the NM server, and first request message is for referring to Show that the processing result is put in storage by the NM server;
The NM client is switched instruction triggers execution based on the received and is switched accordingly to migration port execution;
The second request message that the NM client is migrated to the NM server sending port, second request Message is used to indicate the NM server and sends download command to the corresponding adapter of related network elements, and the related network elements include By all network elements on the showing paths of the specified network element, the download command indicates that the adapter downloads the correlation All data including the data after storage of network element, to realize that port migrates.
Preferably, the related data includes port type, port attribute, the interface data, service of the migration port Qualitative data, operation and maintenance management data, two or three layer protocol data, business datum, protection relation data.
Preferably, before the related data for sending migration port to NM server is handled, the method is also Include:
The NM client obtains the data for the related network elements of its process to show paths according to the specified network element;
The NM client sends to the data of the related network elements and locks message, so that the NM server is to institute It states related network elements to be locked, the data for locking message and carrying the related network elements.
Preferably, before the data of the related network elements are sent to the NM server by the NM client, institute State method further include:
The NM client verifies the former port of every a pair of of migration port and whether destination port meets transition condition;
If satisfied, executing the movement that the data by the related network elements are sent to the NM server.
Preferably, before the second request message that the NM client is migrated to the NM server sending port, The method also includes:
The NM client classifies the related network elements according to the upper and lower load mode of the related network elements;
The classification of the related network elements is sent to the NM server so that the network management takes by the NM client The information of the related network elements is sent to corresponding adapter according to the classification by business device, is called by the corresponding adapter The device data of the related network elements is backed up to intermediate file by the upload module of corresponding network element.
According to the second aspect of the invention, a kind of method of port migration is provided, which comprises
NM server receives the related data for the migration port that NM client is sent, and the migration port includes specified The former port of network element and destination port;
The NM server according to the related data to the port data of the former port and the destination port into Row processing;
Processing result is sent to the NM client by the NM server;
The NM server receives the first request message that the NM client is sent;
The NM server is sent to the corresponding adapter of related network elements containing processing according to first request message As a result message enters library command, and the related network elements include by all network elements on the showing paths of the specified network element;
The NM server receives the second request message of the port migration that the NM client is sent;
The NM server sends download command to the corresponding adapter of related network elements according to second request message, The download command indicates that the adapter downloads all data including the data after storage of the related network elements, with Realize port migration.
Preferably, it is described before the NM server receives the related data for migrating port that NM client is sent Method further include:
The NM server receives the locking message that the NM client is sent, described in the lockings message carrying The data of related network elements;
The NM server locks the related network elements, and returns to the network management client for label is locked End.
Preferably, the NM server will contain according to the request message to the corresponding adapter transmission of related network elements Processing result message enter library command before, the method also includes:
The NM server receives the classification for the related network elements that the NM client is sent;
The information of the related network elements is sent to corresponding adapter according to the classification by the NM server, by institute Stating corresponding adapter calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate file.
Preferably, after second request message migrated to the NM server sending port, the method is also Include:
NM server sends the download command to the adapter;
When downloading successfully, the NM server returns to downloading success message to the NM client;
When failed download, the NM server returns to failed download message to the NM client, by the net Pipe Client-Prompt user carries out data recovery to the related network elements using the device data.
Preferably, at the end of migration, the method also includes:
NM server is unlocked the related network elements.
According to the third aspect of the present invention, a kind of device of port migration is provided, NM client, the dress are suitable for It sets and includes:
Sending module, when carrying out port migration by selection at least a pair of of migration port in specified network element, to net The related data that pipe server sends migration port is handled, and the migration port includes former port and destination port;
Receiving module, the processing result returned for receiving the NM server;
The sending module is also used to after the processing result is identified, is sent first to the NM server and is asked Message is sought, first request message is used to indicate the NM server and is put in storage the processing result;
Trigger module is switched, executes to fall migration port execution accordingly for switching instruction triggers based on the received It changes;
The sending module, is also used to the second request message migrated to the NM server sending port, and described the Two request messages are used to indicate the NM server and send download command, the phase to the corresponding adapter of the related network elements Closing network element includes by all network elements on the showing paths of the specified network element, and the download command indicates under the adapter All data including the data after storage of the related network elements are carried, to realize that port migrates.
Preferably, the related data include the migration port attribute of port, interface data, quality of service data, Operation and maintenance management data, two or three layer protocol data, business datum, protection relation data.
Preferably, described device further include:
Correction verification module, for before being handled in the related data for sending migration port to NM server, verification to be every Whether the former port of a pair of migration port and destination port meet transition condition;
The sending module is also used to when verification passes through, and executes the phase that migration port is sent to NM server Close the movement that data are handled.
Preferably, described device further include:
Module is obtained, the number of all related network elements to show paths for obtaining its process according to the specified network element According to;
The sending module is also used to send locking message to the NM server, so that the NM server pair The related network elements are locked, the data for locking message and carrying the related network elements.
Preferably, described device further include:
Categorization module, for before the second request message migrated to the NM server sending port, according to institute The upper and lower load mode for stating related network elements classifies the related network elements;
The sending module is also used to the classification of the related network elements being sent to the NM server.
Preferably, described device further includes cue module:
The sending module is also used to after the request message migrated to the NM server sending port, is received The downloading success message or failed download message that the NM server returns;
The cue module is also used to prompt user using the device data to institute when receiving failed download message It states related network elements and carries out data recovery.
According to the fourth aspect of the present invention, a kind of device of port migration is provided, NM server, feature are suitable for It is, described device includes:
Receiving module, the related data of the migration port for receiving NM client transmission, the migration port includes The former port of specified network element and destination port;
Processing module, for being handled according to port data of the related data to former port and destination port:
Sending module, for processing result to be sent to the NM client;
The receiving module is also used to receive the request report for being put in storage the processing result that the NM client is sent Text;
The sending module is also used to be sent to the corresponding adapter of related network elements containing place according to the request message Reason result message enters library command;
The receiving module is also used to receive the request message for the port migration that the NM client is sent;
The sending module is also used to send downloading to the corresponding adapter of related network elements according to second request message Order, the related network elements include by all network elements on the showing paths of the specified network element, the download command instruction The adapter downloads all data including the data after storage of the related network elements.
Preferably, described device further include:
Locking module, for after receiving the locking message that the NM client is sent, to the related network elements into Row locks, and at the end of migration, unlocking the related network elements, the number for locking message and carrying the related network elements According to;
The sending module is also used to lock label and returns to NM client.
Preferably, the receiving module is also used to receive the classification for the related network elements that the NM client is sent;
The sending module is also used to that the information of the related network elements is sent to corresponding adaptation according to the classification Device calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate text by the corresponding adapter Part.
Preferably, the sending module is also used to after sending the download command to the adapter, and downloads successfully When, downloading success message is returned to the NM client, or in failed download, return and download to the NM client Failed message.
According to the fifth aspect of the present invention, a kind of system of port migration is provided, which is characterized in that the system comprises NM server and NM client, the NM client includes the device of the port migration as described in second aspect, described NM server includes the device of the port migration as described in the third aspect:
The NM client, for sending the related data of migration port to the NM server, and to described The processing result that NM server returns triggers the storage movement of the processing result after being confirmed, and to former port and mesh Port switched;
The NM server, for being handled according to the related data migration port, and according to the network management The request message of the port migration of client sends download command, the download command instruction to the corresponding adapter of related network elements The adapter downloads all data including the data after storage of the related network elements.
According to the sixth aspect of the invention, a kind of storage medium is provided, which is characterized in that the storage medium is stored with One or more program, one or more of programs can be executed by one or more processor, to realize such as first Step described in aspect and second aspect.
Method, apparatus, system and the storage medium of the port migration of the embodiment of the present invention need to carry out port and move selected After the network element of shifting and migration port, data interaction is carried out by NM client and NM server, to the phase of migration port It closes data to be handled, then processing result is sent to the corresponding adapter of related network elements, triggered in NM client and execute phase After that answers switches, the downloading of the data of related network elements is realized by adapter.The present embodiment compared with prior art, overcomes existing When occurring port damage, veneer damage, port bottleneck problem in net, network O&M personnel single module configures progress port one by one and moves The shortcomings that heavy workload caused by moving, short time consumption are long, error rate is high, configuration is omitted.Network maintenance staff is also reduced simultaneously Skill requirement, so that operator be helped to save cost of human resources.
Detailed description of the invention
Fig. 1 is the schematic diagram of middle port of embodiment of the present invention migration;
Fig. 2 is a kind of flow chart of the method for port migration that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the method for another port provided by Embodiment 2 of the present invention migration;
Fig. 4 is the method stream of data processing and storage in the method for another port migration that the embodiment of the present invention three provides Cheng Tu;
Fig. 5 is the method flow diagram of data downloading in the method for another port migration that the embodiment of the present invention three provides;
Fig. 6 is a kind of modular structure schematic diagram of the device for port migration that the embodiment of the present invention four provides;
Fig. 7 is the modular structure schematic diagram of the device for another port migration that the embodiment of the present invention five provides
Fig. 8 is a kind of structural schematic diagram of the system for port migration that the embodiment of the present invention six provides.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
The embodiment of the present invention one provides a kind of method of port migration.It should be noted that port of the invention migrates Method, refer to the migration for the port in a network element, as shown in Figure 1, business is cut from former port in a network element Change to destination port.The present embodiment is illustrated with NM client side below, referring to Fig. 2, method flow includes:
S201, when at least a pair of of migration port in specified network element carries out port migration by selection, to NM server The related data for sending migration port is handled, which includes former port and destination port;
S202, the processing result for receiving NM server return;
S203, after the processing result is identified, to the NM server send the first request message, this first request report Text is used to indicate the NM server and is put in storage processing result;
S204, switch based on the received instruction triggers execute to the migration port execute switch accordingly;
S205, the second request message migrated to the NM server sending port, second request message are used to indicate The NM server sends download command to the corresponding adapter of related network elements, which includes specifying network element by this All network elements on showing paths, including which indicates the data after being put in storage of adapter downloading related network elements All data, with realize port migrate.
In practical application, the module that the data of each adapter downloading are related to include processing module in the migration of port and with place Module is managed there are the Depending module of dependence, the data of downloading include in above-mentioned processing module and the database table of Depending module All data of related network elements (including the data after the data and storage before migration).
In a feasible scheme, which includes the port type, port attribute, number of ports of the migration port According to, quality of service data, operation and maintenance management data, two or three layer protocol data, business datum, protection relation data.
In a feasible scheme, before this is handled to the related data that NM server sends migration port, This method further include:
The NM client according to this specify network element obtain its process the related network elements to show paths data;
The NM client sends to the NM server and locks message, so that the NM server is to the associated nets Member is locked, the data for locking message and carrying the related network elements.
In a feasible scheme, the NM client by the data of the related network elements be sent to the NM server it Before, this method further include:
The NM client verifies the former port of every a pair of of migration port and whether destination port meets transition condition;
If satisfied, executing the movement that the data of the related network elements are sent to the NM server.
In a feasible scheme, the second request which migrates to the NM server sending port is reported Before text, this method further include:
The NM client classifies the related network elements according to the upper and lower load mode of the related network elements;
The NM client classification of the related network elements is sent to the NM server so that the NM server according to The information of the related network elements is sent to corresponding adapter by the classification, calls uploading for corresponding network element by the corresponding adapter The device data of the related network elements is backed up to intermediate file by module.
The method of the port migration of the present embodiment, in the selected specified network element for needing to carry out port migration and migration port Later, data interaction is carried out by NM client and NM server, the related data of migration port is handled, then will place Reason result is sent to the corresponding adapter of related network elements, after NM client triggering is executed and switched accordingly, passes through adapter Realize the downloading of the data of related network elements.The present embodiment compared with prior art, overcomes in existing net and port damage, veneer occurs When damage, port bottleneck problem, network O&M personnel single module configures one by one carries out heavy workload, time-consuming caused by port migrates The shortcomings that time is long, error rate is high, configuration is omitted.The skill requirement of network maintenance staff is also reduced simultaneously, to help to transport Battalion quotient saves cost of human resources.
On the basis of previous embodiment, second embodiment of the present invention provides another port migration method, below with NM server side is illustrated the present embodiment, referring to Fig. 3, method flow includes:
S301, NM server receive the related data for the migration port that NM client is sent, which includes The former port of specified network element and destination port;
S302, the NM server according to the related data to the port data of the original port and the destination port at Reason;
Processing result is sent to the NM client by S303, the NM server;
S304, the NM server receive the first request message of NM client transmission;
S305, the NM server are sent to the corresponding adapter of related network elements containing processing according to first request message As a result message enters library command, which includes all network elements specified on the showing paths of network element by this;
S306, the NM server receive the second request message of the port migration of NM client transmission;
S307, the NM server send downloading life to the corresponding adapter of related network elements according to second request message It enables, which indicates that the adapter downloads all data including the data after storage of the related network elements, with reality Existing port migration.
In a feasible scheme, which receives the related data for the migration port that NM client is sent Before, this method further include:
The NM server receives the locking message of NM client transmission, which carries the related network elements Data;
The NM server locks the related network elements, and returns to the NM client for label is locked.
In a feasible scheme, which will be to the corresponding adapter of related network elements according to the request message Send containing processing result message enter library command before, this method further include:
The NM server receives the classification of the related network elements of NM client transmission;
The information of the related network elements is sent to corresponding adapter according to the classification by the NM server, corresponding by this Adapter calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate file.
It, should after second request message migrated to the NM server sending port in a feasible scheme Method further include:
NM server sends the download command to the adapter;
When downloading successfully, which returns to downloading success message to the NM client;
When failed download, which returns to failed download message to the NM client, by network management client End prompt user carries out data recovery to the related network elements using the device data.
In a feasible scheme, at the end of migration, this method further include:
NM server is unlocked the related network elements.
The method of the port migration of the present embodiment, in the selected specified network element for needing to carry out port migration and migration port Later, data interaction is carried out by NM client and NM server, the related data of migration port is handled, then will place Reason result is sent to the corresponding adapter of related network elements, after NM client triggering is executed and switched accordingly, passes through adapter Realize the downloading of the data of related network elements.The present embodiment compared with prior art, overcomes in existing net and port damage, veneer occurs When damage, port bottleneck problem, network O&M personnel single module configures one by one carries out heavy workload, time-consuming caused by port migrates The shortcomings that time is long, error rate is high, configuration is omitted.The skill requirement of network maintenance staff is also reduced simultaneously, to help to transport Battalion quotient saves cost of human resources.
On the basis of previous embodiment, the embodiment of the present invention three provides the method for another port migration, this implementation For example is with user network side ports (User Networks interface, UNI) migration, in conjunction with concrete scene to this hair It is bright to be described in detail.It should be noted that the method flow that port migrates is divided into migration end by the present embodiment for convenience of describing The data processing of mouth and storage and data are downloaded two parts and are described.
Please refer to 4, the method flow of data processing and storage includes:
S401, when user chooses a network element, NM client starts port shift function depending on the user's operation.
In practical application, starting port shift function includes: that triggering business and TNP have found automatically, inquiry port migration meter It draws, if it exists unenforced port migration plan, then user is prompted first to implement the former end that migration is chosen in existing port migration again Mouth and destination port.
Specifically, can be when user clicks menu function, guidance user triggers business and TNP has found automatically.Such as it is right When user network side ports (User Networks interface, UNI) migration, when user chooses NE1, menu is clicked Uni port migrate startup function, so that it may guide user to trigger above-mentioned movement, then the migration of NM client building port is looked into Message is ask, issues querying command from data base querying port migration plan, if it exists unenforced port migration plan Plan1, User is then prompted first to implement existing port migration Plan1.
S402, when the former port of user's batch selection migration and when destination port, verify the former end of every a pair of of migration port Whether mouth and destination port meet transition condition, otherwise forbid migrating if so, executing step S403, terminate process.
Specifically, the method for verification is as follows:
Verify every a pair of end mouth Central Plains port SPortN and destination port DPortN whether be same type port, if not Same type port, then prompting user, this is unsatisfactory for port transition condition to port, needs to reselect port;
It calculates whether destination port DPortN is occupied by business, calculates batch migration Central Plains port SPortN and destination port The transitive relation of DPortN, if DPortN is occupied by business or the transitive relation of SPortN and DPortN is cyclic or terminal has industry The case where business, then forbids migrating, and prevents disconnected business.
S403, NM client are obtained according to migration network element by all network elements on the showing paths of the migration network element The data of related network elements are sent to NM server by the data of (i.e. related network elements).
S404, NM server lock related network elements, and return to NM client for marking.
In the present embodiment, the network elements such as network element NE2, NE3, the NE4 of the display road of its process through place are obtained according to network element NE1 Data, and will be constructed with these network element datas and lock message R, and and be issued to NM server, NM server is according to receiving Network element data related network elements are locked, and by this lock label L return client saved.
S405, NM client send the related data of migration port to NM server;
The processing result that S406, NM server carry out processing to received related data and return to NM client.
In practical application, the related data include the migration port type of the migration port, port attribute, interface data, Quality of service data, operation and maintenance management data, two or three layer protocol data, business datum, protection relation data at least one Kind.
Specifically, NM server place to data different according to the data that NM client is sent to NM server Reason mode is also different, and the processing result of return is also different.Include:
1, switching action data are calculated.
In practical application, NM client issues migration port type information to NM server, NM server according to Migration port SPortN type is divided into two class of logic port and NOT logic port.Logic port is calculated according to MC-LAG activestandby state Obtain switching action data.NOT logic port is that work or protection port information are calculated down according to MC-MSP and former port Change action data.Processing result is returned to client to save.
2, the port attribute of computation migration port.
Port attribute calculative strategy be NM client port attribute is divided into can directly replicate attribute (Attr1), can not Directly replicate exclusive attribute (Attr3) three classes between attribute (Attr2), port.Not directly duplication attribute (Attr2) is belonged to port The form of property configuration interface is showed, the NM server issued after user selectes attribute value.
The value (Attr2) for the not reproducible attribute that NM server is issued according to NM client can directly replicate attribute (Attr1), former port all properties value synthesis obtains the attribute value of destination port, according between former port all properties value and port The comprehensive attribute value for obtaining modified former port of exclusive attribute (Attr3), while will be behind former port and destination port calculating Attribute value returns to client preservation.
3, the interface data of computation migration port.
Interface message calculative strategy is the NM server that NM client issues migration port, and NM server is not according to Reproducible duplication attribute, reproducible attribute, former port interface value synthesis obtain the interface of destination port, according to exclusive attribute and The comprehensive value for obtaining modified former interface of the interface value of former port.Processing result is returned to client to save.
Specifically, NM client issues the interface data of migration port to NM server, NM server is not according to Reproducible virtual LAN (the Virtual for replicating attribute (Attr2), reproducible attribute (Attr1), original port SPortN Local Area Network, VLAN) interface value, three layer interface values, three straton interface values synthesis obtain destination port DPortN VLAN interface value, three layer interface values, three straton interface values, according to the VLAN of exclusive attribute (Attr3) and original port SPortN Interface value, three layer interface values, three straton interface values synthesis obtain the modified VLAN interface value of former port SPortN, three layer interfaces Value, the value of three straton interface values.Processing result is returned to client to save.
4, the quality of service data (Quality of Service, QoS) of computation migration port.
It includes port access list (Access Control List, ACL), port domain, flow queue, port limit that QoS, which is calculated, Speed, port shaping, port storm inhibits, port access controls (Call Admission Control, CAC), port is often slipped a line For the calculating for remapping eight parts (Per Hop Behavior, PHB).
Calculative strategy is that NM client issues the QoS data for migrating port to NM server, and NM server obtains After the QoS data for migrating port, QoS data (the port ACL, port domain, stream team including DPortN of destination port are first deleted Column, port speed constraint, port shaping, the inhibition of port storm, port CAC, port PHB remapped data), then by former port QoS data (including ACL, port domain, flow queue, port speed constraint, port shaping, the inhibition of port storm, port CAC, port PHB Remapped data) it is configured to destination port.Processing result is returned to client to save.
5, computation migration port operation maintenance management data (Operation Administration and Maintenance, OAM).
It includes maintenance endpoint (Maintenance association End Point, MEP), Maintenance Intermediate Point that OAM, which is calculated, (Maintenance association Intermediate Point, MIP), last one kilometer Ethernet (Ethernet in The First Mile, EFM) three parts calculating.Calculative strategy is the NM server that NM client issues migration port, NM server obtains the OAM data of migration port, modifies the associated ports of MEP, MIP, EFM, replaces former end with destination port Mouthful.Processing result is returned to client to save.
6, two or three layer protocol data of computation migration port.
Two or three layer protocols calculate include PIM-DM agreement, PIM-SM agreement, IGMP, Spanning-Tree Protocol, LDP, RSVP-TE, The calculating of ISIS agreement, ospf protocol, ten part DHCP, VRRP.
Calculative strategy is that NM client issues two or three layer protocol data of migration port and interface calculates data to network management Server, NM server obtain two or three layer protocol data of migration port, modify associated ports and interface in agreement, use mesh Port replace former port, replace former interface with purpose interface.Processing result is returned to client to save.
Specifically, NM server obtains the dense mode Protocol Independent Multicast (Protocol of migration original port SPortN Independent Multicast-Dense Mode, PIM-DM), sparse mode Protocol Independent Multicast (Protocol Independent Multicast-Sparse Mode, PIM-SM), Internet igmpinternet (Internet Group Management Protocol, IGMP), Spanning-Tree Protocol, tag distribution protocol (Label Distribution Protocol, LDP), Resource Reservation Protocol (the Resource ReSerVation Protocol- based on Traffic Engineering extensions Traffic Engineering, RSVP-TE), intermediate system to intermediate syst (Intermediate system to Intermediate system, ISIS), ospf protocol, dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP), Virtual Router Redundacy Protocol (Virtual Router Redundancy Protocol, VRRP) etc. protocol datas, modify PIM-DM agreement, PIM-SM agreement, IGMP, Spanning-Tree Protocol, LDP, RSVP- TE, ISIS agreement, ospf protocol, the associated ports in DHCP, VRRP and interface replace former port with destination port DPortN SPortN, with the interface of the interface replacement original port SPortN of destination port DPortN.Processing result is returned to client to protect It deposits.
7, computation migration port traffic data.
Calculative strategy is to inquire the relevant business in former port, and the business inquired is presented on interface, is selected by user Then the business chosen all is configured on destination port by migration business, business, which calculates, guarantees rightness of business, consistency, Stop migrating if destination port is unsatisfactory for service logic.
8, computation migration port protection relation data.
Calculative strategy is that NM client issues migration port to NM server, and NM server obtains migration port Relation data is protected, the associated ports in modification protection replace former port with destination port.Processing result is returned into client It saves.
In practical application, step S306 can be carried out by the processing module of NM server, the calculating step of above-mentioned each data Suddenly, it can be realized respectively by the computational submodule of processing module.
S407, NM client classify the related network elements according to the upper and lower load mode of the related network elements, and should The classification of related network elements is sent to the NM server;
The information of related network elements is sent to corresponding adapter according to the classification by S408, NM server, by the correspondence Adapter call corresponding network element upload module that the device data of the related network elements is backed up to intermediate file.
Specifically, NM client classifies the network elements such as NE1, NE2, NE3, NE4 according to downloading mode on network element, and It is issued to NM server.The network elements such as NE1, NE2, NE3, NE4 are distributed to each adapter, adapter calling pair by NM server Answer network element upload module that device data is backed up to intermediate file by uploading, so that processing result storage or failed download are laggard Row data are restored.
S409, NM client send to enter the processing result to the NM server after the processing result is identified The request message in library.
In practical application, NM client is by the processing result message of each step of caching in display interface with table, tree Deng form be presented respectively to user.User confirms the processing result of presentation, with the processing result data structure of each step It is built into library request message, sends request message to NM server.
The adapter transmission of S410, NM server toward related network elements (network elements such as NE1, NE2, NE3, NE4) contain specific Processing result message enters library command, is put in storage by the library module that enters of adapter to processing result, carries out before storage to data Pre- verification, pre- verification do not pass through, and stop migration.
Referring to Fig. 5, the method flow of data downloading includes:
S411, NM client are switched instruction based on the received and are switched to former port and destination port.
Specifically, NM client is according to port migration plan name acquiring TNP data, and is presented at interface, use Family executes in interface triggering and switches accordingly.
The request message that S412, NM client are migrated to the NM server sending port.
The download command that S413, NM server are sent to the corresponding adapter of related network elements is executed when downloading successfully Step S414, it is no to then follow the steps S415.
In practical application, the request message of port migration is implemented in NM client building, and sends it to network manager service The adapter of device, NM server toward the network elements such as NE1, NE2, NE3, NE4 sends download command.
The module that the data of each adapter downloading are related to includes processing module in the migration of port and exists with processing module The Depending module of dependence, the data of downloading include related network elements in above-mentioned processing module and the database table of Depending module All data (including data before migrating and the data after storage).
S414, NM server return to downloading success message to the NM client, execute step S417.
S415, NM server return to failed download message to the NM client, execute step S416.
S416, NM client prompt user carry out data recovery to the related network elements using the device data, execute step Rapid S417.
S417, NM client building request message are sent to NM server, and request clears data the TNP saved in library Data.
S418, NM server clear data the TNP data in library, while being unlocked to the related network elements of locking.
The method of the port migration of the present embodiment, the selected network element for needing to carry out port migration and migration port it Afterwards, data interaction is carried out by NM client and NM server, the related data of migration port is handled, then will processing As a result it is sent to the corresponding adapter of related network elements, after NM client triggering is executed and switched accordingly, passes through adapter reality The downloading of the data of existing related network elements.Compared with prior art, the present embodiment, which overcomes in existing net, there is port damage, veneer damage When bad, port bottleneck problem, network O&M personnel single module configure one by one carry out heavy workload caused by port migrates, it is time-consuming when Between it is long, error rate is high, configuration omit the shortcomings that.The skill requirement of network maintenance staff is also reduced simultaneously, to help to run Quotient saves cost of human resources.
On the basis of previous embodiment, the embodiment of the present invention four provides a kind of device of port migration, is suitable for net Pipe client, referring to Fig. 6, the device includes:
Sending module 501, when carrying out port migration by selection at least a pair of of migration port in specified network element, to The related data that NM server sends migration port is handled, which includes former port and destination port;
Receiving module 502, for receiving the processing result of NM server return;
The sending module 501, is also used to after the processing result is identified, sends the first request to the NM server Message, first request message are used to indicate the NM server and are put in storage the processing result;
Trigger module 503 is switched, is executed to migration port execution accordingly for switching instruction triggers based on the received It switches;
The sending module 502, is also used to the second request message migrated to the NM server sending port, and described the Two request messages are used to indicate the NM server and send download command, the related network elements to the corresponding adapter of the related network elements Including by all network elements on the showing paths of the specified network element, the download command indicates that the adapter downloads the phase All data including the data after storage of network element are closed, to realize that port migrates.
In a feasible scheme, the device further include:
Trigger module is found automatically for triggering business and TNP depending on the user's operation, inquires port migration plan;
Cue module is moved for when there are unenforced port migration plan, prompting user first to implement existing port Move former port and the destination port for choosing migration again.
In a feasible program, the device further include:
Correction verification module, for before being handled in the related data for sending migration port to NM server, verification to be every Whether the former port of a pair of migration port and destination port meet transition condition;
The sending module is also used to execute the dependency number that migration port is sent to NM server when verification passes through According to the movement handled.
In practical application, the method for verification is as follows:
Verify every a pair of end mouth Central Plains port SPortN and destination port DPortN whether be same type port, if not Same type port, then prompting user, this is unsatisfactory for port transition condition to port, needs to reselect port;
It calculates whether destination port DPortN is occupied by business, calculates batch migration Central Plains port SPortN and destination port The transitive relation of DPortN, if DPortN is by business is occupied or the transitive relation of SPortN and DPortN cyclization or terminal have The case where business, then forbids migrating, and prevents disconnected business.
In a feasible scheme, the device further include:
Obtain module, for according to this specify network element obtain its process all related network elements to show paths data two
The sending module is also used to send locking message to the NM server, so that the NM server is to institute It states related network elements to be locked, the data for locking message and carrying the related network elements.
In practical application, the display road of its process can be obtained through place according to the network element where migration port by obtaining module All network elements data, constructed with these network element datas and lock message R, and be issued to NM server, NM server root Related network elements are locked according to the network element data received, and this is locked into label L return client and is saved.
In a feasible scheme, which includes the port attribute, interface data, Service Quality of the migration port Measure at least one of data, operation and maintenance management data, two or three layer protocol data, business datum, protection relation data.
In a feasible scheme, the device further include:
Categorization module, for before the second request message migrated to the NM server sending port, according to the phase The upper and lower load mode for closing network element classifies the related network elements;
The sending module is also used to the classification of the related network elements being sent to the NM server.
In practical application, the information of the related network elements can be sent to corresponding adaptation according to the classification by NM server Device calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate file by the corresponding adapter.
In a feasible scheme, which further includes display module, the processing result of each step for that will cache Message is presented respectively to user in display interface in the form of table, tree etc., prompts user to carry out the processing result of presentation true Recognize;
The sending module is also used to after the processing result is identified, is sent to the NM server by the processing result The request message of storage.
In a feasible scheme, which further includes cue module:
The sending module is also used to after the request message migrated to the NM server sending port, receives the net The downloading success message or failed download message that pipe server returns;
The cue module is also used to prompt user using the device data to the correlation when receiving failed download message Network element carries out data recovery.
In a feasible scheme, after receiving the downloading success message or failed download message, transmission dress It sets, is also used to send the message of the TNP data saved in library of requesting to clear data to NM server.
The device of the port migration of the present embodiment, setting is in NM client, in the selected net for needing to carry out port migration After member and migration port, data interaction is carried out by NM client and NM server, to the related data of migration port It is handled, then processing result is sent to the corresponding adapter of related network elements, execute to fall accordingly in NM client triggering After changing, the downloading of the data of related network elements is realized by adapter.The present embodiment compared with prior art, overcomes in existing net When existing port damage, veneer damage, port bottleneck problem, network O&M personnel single module configures the migration of progress port one by one to be caused Heavy workload, the shortcomings that short time consumption is long, error rate is high, configuration is omitted.The technical ability of network maintenance staff is also reduced simultaneously It is required that so that operator be helped to save cost of human resources.
On the basis of the above embodiments, the embodiment of the present invention five provides the device of another port migration, is suitable for NM server, referring to Fig. 7, the device includes:
Receiving module 601, the related data of the migration port for receiving NM client transmission, which includes The former port of specified network element and destination port;
Processing module 602, for being handled according to port data of the related data to former port and destination port;
Sending module 603, for processing result to be sent to the NM client;
The receiving module 601 is also used to receive the first request for being put in storage the processing result of NM client transmission Message;
The sending module 603 is also used to be sent to the corresponding adapter of related network elements containing place according to the request message Reason result message enters library command;
The receiving module 601 is also used to receive the second request message of the port migration of NM client transmission;
The sending module 603, under being also used to be sent according to second request message to the corresponding adapter of related network elements Order is carried, which includes all network elements specified on the showing paths of network element by this, and the download command indicates institute State all data including the data after storage that adapter downloads the related network elements.
In practical application, the related data that NM client is sent include the port attribute of the migration port, interface data, Quality of service data, operation and maintenance management data, two or three layer protocol data, business datum, protection relation data at least one Kind, processing module 602 is handled according to port data of the related data to former port and destination port, comprising:
1, switching action data are calculated.
In practical application, NM client issues migration port type information to NM server, NM server according to Migration port SPortN type is divided into two class of logic port and NOT logic port.Logic port is calculated according to MC-LAG activestandby state Obtain switching action data.NOT logic port is that work or protection port information are calculated down according to MC-MSP and former port Change action data.Processing result is returned to client to save.
2, the port attribute of computation migration port.
Port attribute calculative strategy is that NM client is divided into port attribute and can directly replicate attribute, not directly replicate Exclusive attribute three classes between attribute, port.Not directly duplication attribute showed in the form of port attribute configuration interface, with Select the NM server issued after attribute value in family.
The value for the not reproducible attribute that NM server is issued according to NM client can directly replicate attribute, former port All properties value synthesis obtains the attribute value of destination port, is obtained according to exclusive attribute synthesis between former port all properties value and port To the attribute value of modified former port, while the attribute value behind former port and destination port calculating is returned into client and is protected It deposits.
3, the interface data of computation migration port.
Interface message calculative strategy is the NM server that NM client issues migration port, and NM server is not according to Reproducible duplication attribute, reproducible attribute, former port interface value synthesis obtain the interface of destination port, according to exclusive attribute and The comprehensive value for obtaining modified former interface of the interface value of former port.Processing result is returned to client to save.
Specifically, NM client issues the interface data of migration port to NM server, NM server is not according to Reproducible virtual LAN (the Virtual Local Area for replicating attribute, reproducible attribute, original port SPortN Network, VLAN) interface value, three layer interface values, three straton interface values synthesis obtain the VLAN interface of destination port DPortN Value, three layer interface values, three straton interface values, according to the VLAN interface value of exclusive attribute and original port SPortN, three layer interface values, Three straton interface values are comprehensive to obtain the modified VLAN interface value of former port SPortN, three layer interface values, three straton interface values Value.Processing result is returned to client to save.
4, the quality of service data (Quality of Service, QoS) of computation migration port.
It includes ACL, port domain, flow queue, port speed constraint, port shaping, the inhibition of port storm, CAC, PHB weight that QoS, which is calculated, Map the calculating of eight parts.
Calculative strategy is that NM client issues the QoS data for migrating port to NM server, and NM server obtains After the QoS data for migrating port, QoS data (the port ACL, port domain, stream team including DPortN of destination port are first deleted Column, port speed constraint, port shaping, the inhibition of port storm, port CAC, port PHB remapped data), then by former port QoS data (including ACL, port domain, flow queue, port speed constraint, port shaping, the inhibition of port storm, port CAC, port PHB Remapped data) it is configured to destination port.Processing result is returned to client to save.
5, computation migration port operation maintenance management data OAM.
OAM calculates the calculating including MEP, MIP, EFM three parts.Calculative strategy be NM client issue migration port it NM server, NM server obtain the OAM data of migration port, modify the associated ports of MEP, MIP, EFM, use destination Mouth replaces former port.Processing result is returned to client to save.
6, two or three layer protocol data of computation migration port.
Two or three layer protocols calculate include PIM-DM agreement, PIM-SM agreement, IGMP, Spanning-Tree Protocol, LDP, RSVP-TE, The calculating of ISIS agreement, ospf protocol, ten part DHCP, VRRP.
Calculative strategy is that NM client issues two or three layer protocol data of migration port and interface calculates data to network management Server, NM server obtain two or three layer protocol data of migration port, modify associated ports and interface in agreement, use mesh Port replace former port, replace former interface with purpose interface.Processing result is returned to client to save.
Specifically, NM server obtains PIM-DM agreement, the PIM-SM agreement, IGMP, life of migration original port SPortN At tree protocol, LDP, RSVP-TE, ISIS agreement, ospf protocol, DHCP, VRRP data, PIM-DM agreement, PIM-SM association are modified View, IGMP, Spanning-Tree Protocol, LDP, RSVP-TE, ISIS agreement, ospf protocol, the associated ports in DHCP, VRRP and interface, Original port SPortN is replaced with destination port DPortN, replaces connecing for original port SPortN with the interface of destination port DPortN Mouthful.Processing result is returned to client to save.
7, computation migration port traffic data.
Calculative strategy is to inquire the relevant business in former port, and the business inquired is presented on interface, is selected by user Then the business chosen all is configured on destination port by migration business, business, which calculates, guarantees rightness of business, consistency, Destination port is unsatisfactory for service logic and stops migration.
8, computation migration port protection relation data.
Calculative strategy is that NM client issues migration port to NM server, and NM server obtains migration port Relation data is protected, the associated ports in modification protection replace former port with destination port.Processing result is returned into client It saves.In a feasible scheme, the device further include:
Locking module, for after receiving the locking message that the NM client is sent, to the related network elements into Row locks, and at the end of migration, unlocking the related network elements, the number for locking message and carrying the related network elements According to;
The sending module is also used to lock label and returns to NM client.
In a feasible scheme:
The receiving module is also used to receive the classification of the related network elements of NM client transmission;
The sending module is also used to that the information of the related network elements is sent to corresponding adapter according to the classification, by this Corresponding adapter calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate file.
In a feasible scheme:
The sending module is also used to after sending download command to the adapter, when downloading successfully, to network management visitor Family end returns to downloading success message, or in failed download, returns to failed download message to the NM client.
The device of the port migration of the present embodiment of the present embodiment, is arranged on NM server, needs to carry out selected After the network element of port migration and migration port, data interaction is carried out by NM client and NM server, to migration end The related data of mouth is handled, then processing result is sent to the corresponding adapter of related network elements, is triggered in NM client It executes after switching accordingly, the downloading of the data of related network elements is realized by adapter.The present embodiment compared with prior art, gram Taken in existing net occur port damage, veneer damage, port bottleneck problem when, network O&M personnel single module configures progress one by one The shortcomings that heavy workload caused by port migrates, short time consumption are long, error rate is high, configuration is omitted.Network dimension is also reduced simultaneously The skill requirement of shield personnel, so that operator be helped to save cost of human resources.
On the basis of the above embodiments, the embodiment of the present invention six provides a kind of system of port migration, please refers to figure 7, which includes NM server 701, NM client 702, which includes that the port of embodiment three such as migrates Device, the NM server include as example IV port migrate device:
The NM client 701, for sending the related data of migration port to the NM server, and to the network management The processing result that server returns triggers the storage movement of the processing result after being confirmed, and to former port and destination port It is switched;
The NM server 702, for being handled according to the related data migration port, and according to network management client The request message of the port migration at end sends download command to the corresponding adapter of related network elements.
The system of the port migration of the present embodiment, the selected network element for needing to carry out port migration and migration port it Afterwards, data interaction is carried out by NM client and NM server, the related data of migration port is handled, then will processing As a result it is sent to the corresponding adapter of related network elements, after NM client triggering is executed and switched accordingly, passes through adapter reality The downloading of the data of existing related network elements.The present embodiment compared with prior art, overcomes in existing net and port damage, veneer damage occurs When bad, port bottleneck problem, network O&M personnel single module configure one by one carry out heavy workload caused by port migrates, it is time-consuming when Between it is long, error rate is high, configuration omit the shortcomings that.The skill requirement of network maintenance staff is also reduced simultaneously, to help to run Quotient saves cost of human resources.
On the basis of previous embodiment, the embodiment of the present invention seven provides a kind of storage medium, storage medium storage There is one or more program, which can be executed by one or more processor, to realize as implemented The step of example one, embodiment two or embodiment three.
Preferred embodiments of the present invention have been described above with reference to the accompanying drawings, not thereby limiting the scope of the invention.This Field technical staff without departing from the scope and spirit of the invention in made by any modifications, equivalent replacements, and improvements, should all this Within the interest field of invention.

Claims (22)

1. a kind of method of port migration, which is characterized in that the described method includes:
When at least a pair of of migration port in specified network element carries out port migration by selection, NM client is to NM server The related data for sending migration port is handled, and the migration port includes former port and destination port;
The NM client receives the processing result that the NM server returns;
The NM client sends the first request message to the NM server, and first request message is used to indicate institute NM server is stated to be put in storage the processing result;
The NM client is switched instruction triggers execution based on the received and is switched accordingly to migration port execution;
The second request message that the NM client is migrated to the NM server sending port, second request message It is used to indicate the NM server and sends download command to the corresponding adapter of related network elements, the related network elements include passing through All network elements on the showing paths of the specified network element, the download command indicate that the adapter downloads the related network elements Including storage after data including all data, with realize port migrate.
2. the method as described in claim 1, which is characterized in that the related data includes the port class of the migration port Type, port attribute, interface data, quality of service data, operation and maintenance management data, two or three layer protocol data, business datum, guarantor Protect relation data.
3. method according to claim 2, which is characterized in that the related data for sending migration port to NM server Before being handled, the method also includes:
The NM client obtains the data for the related network elements of its process to show paths according to the specified network element;
The NM client sends to the NM server and locks message, so that the NM server is to the associated nets Member is locked, the data for locking message and carrying the related network elements.
4. method as claimed in claim 3, which is characterized in that the NM client sends the data of the related network elements Before the NM server, the method also includes:
The NM client verifies the former port of every a pair of of migration port and whether destination port meets transition condition;
If satisfied, executing the movement that the data by the related network elements are sent to the NM server.
5. method as claimed in claim 4, which is characterized in that the NM client is to the NM server sending port Before second request message of migration, the method also includes:
The NM client classifies the related network elements according to the upper and lower load mode of the related network elements;
The classification of the related network elements is sent to the NM server so that the NM server by the NM client The information of the related network elements is sent to corresponding adapter according to the classification, is called and is corresponded to by the corresponding adapter The device data of the related network elements is backed up to intermediate file by the upload module of network element.
6. a kind of method of port migration, which is characterized in that the described method includes:
NM server receives the related data for the migration port that NM client is sent, and the migration port includes specified network element Former port and destination port;
The NM server according to the related data to the port data of the former port and the destination port at Reason;
Processing result is sent to the NM client by the NM server;
The NM server receives the first request message that the NM client is sent;
The NM server contains processing result to the corresponding adapter transmission of related network elements according to first request message Message enters library command, and the related network elements include by all network elements on the showing paths of the specified network element;
The NM server receives the second request message of the port migration that the NM client is sent;
The NM server sends download command to the corresponding adapter of related network elements according to second request message, described Download command indicates that the adapter downloads all data including the data after storage of the related network elements, to realize Port migration.
7. method as claimed in claim 6, which is characterized in that the NM server receives the migration that NM client is sent Before the related data of port, the method also includes:
The NM server receives the locking message that the NM client is sent, and the locking message carries the correlation The data of network element;
The NM server locks the related network elements, and returns to the NM client for label is locked.
8. the method for claim 7, which is characterized in that the NM server will be to correlation according to the request message The corresponding adapter of network element send containing processing result message enter library command before, the method also includes:
The NM server receives the classification for the related network elements that the NM client is sent;
The information of the related network elements is sent to corresponding adapter according to the classification by the NM server, by described right The adapter answered calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate file.
9. method according to claim 8, which is characterized in that second migrated to the NM server sending port After request message, the method also includes:
NM server sends the download command to the adapter;
When downloading successfully, the NM server returns to downloading success message to the NM client;
When failed download, the NM server returns to failed download message to the NM client, by the network management visitor Family end prompts user to carry out data recovery to the related network elements using the device data.
10. such as the described in any item methods of claim 7 to 9, which is characterized in that at the end of migration, the method also includes:
NM server is unlocked the related network elements.
11. a kind of device of port migration, is suitable for NM client, which is characterized in that described device includes:
Sending module takes when carrying out port migration by selection at least a pair of of migration port in specified network element to network management The related data that business device sends migration port is handled, and the migration port includes former port and destination port;
Receiving module, the processing result returned for receiving the NM server;
The sending module is also used to after the processing result is identified, sends the first request report to the NM server Text, first request message are used to indicate the NM server and are put in storage the processing result;
Trigger module is switched, migration port execution is switched accordingly for switching instruction triggers execution based on the received;
The sending module is also used to the second request message migrated to the NM server sending port, and described second asks It asks message to be used to indicate the NM server and sends download command, the associated nets to the corresponding adapter of the related network elements Member includes by all network elements on the showing paths of the specified network element, and the download command indicates that the adapter downloads institute All data including the data after storage of related network elements are stated, to realize that port migrates.
12. device as claimed in claim 11, which is characterized in that the related data includes that the port of the migration port belongs to Property, interface data, quality of service data, operation and maintenance management data, two or three layer protocol data, business datum, protection relationship number According to.
13. device as claimed in claim 11, which is characterized in that described device further include:
Correction verification module, for verifying every a pair before being handled in the related data for sending migration port to NM server Whether the former port and destination port for migrating port meet transition condition;
The sending module is also used to when verification passes through, and executes the dependency number that migration port is sent to NM server According to the movement handled.
14. device as claimed in claim 11, which is characterized in that described device further include:
Module is obtained, the data of all related network elements to show paths for obtaining its process according to the specified network element;
The sending module is also used to send locking message to the NM server, so that the NM server is to described Related network elements are locked, the data for locking message and carrying the related network elements.
15. device as claimed in claim 14, which is characterized in that described device further include:
Categorization module, for before the second request message migrated to the NM server sending port, according to the phase The upper and lower load mode for closing network element classifies the related network elements;
The sending module is also used to the classification of the related network elements being sent to the NM server.
16. device as claimed in claim 15, which is characterized in that described device further includes cue module:
The sending module is also used to after the request message migrated to the NM server sending port, described in reception The downloading success message or failed download message that NM server returns;
The cue module is also used to prompt user using the device data to the phase when receiving failed download message It closes network element and carries out data recovery.
17. a kind of device of port migration, is suitable for NM server, which is characterized in that described device includes:
Receiving module, the related data of the migration port for receiving NM client transmission, the migration port includes specified The former port of network element and destination port;
Processing module, for according to the related data to the port data of the former port and the destination port at Reason;
Sending module, for processing result to be sent to the NM client;
The receiving module is also used to receive the first request message that the NM client is sent;
The sending module is also used to be sent to the corresponding adapter of related network elements containing processing knot according to the request message Fruit message enters library command;
The receiving module is also used to receive the second request message of the port migration that the NM client is sent:
The sending module is also used to send downloading life to the corresponding adapter of related network elements according to second request message It enables, the related network elements include by all network elements on the showing paths of the specified network element, and the download command indicates institute State all data including the data after storage that adapter downloads the related network elements.
18. device as claimed in claim 17, which is characterized in that described device further include:
Locking module, for adding after receiving the locking message that the NM client is sent to the related network elements Lock, and at the end of migration, unlocking the related network elements, the data for locking message and carrying the related network elements;
The sending module is also used to lock label and returns to NM client.
19. device as claimed in claim 17, which is characterized in that
The receiving module is also used to receive the classification for the related network elements that the NM client is sent;
The sending module is also used to that the information of the related network elements is sent to corresponding adapter according to the classification, by The corresponding adapter calls corresponding network element upload module that the device data of the related network elements is backed up to intermediate file.
20. device as claimed in claim 19, which is characterized in that
The sending module is also used to after sending the download command to the adapter, and when downloading successfully, to described NM client returns to downloading success message, or in failed download, returns to failed download message to the NM client.
21. a kind of system of port migration, which is characterized in that the system comprises NM servers and NM client, described NM client includes the device migrated such as the described in any item ports of claim 8 to 13, and the NM server includes such as The device of the described in any item port migrations of claim 14 to 17:
The NM client, for sending the related data of migration port to the NM server, and to the network management The processing result that server returns triggers the storage movement of the processing result after being confirmed, and to former port and destination Mouth is switched;
The NM server, for being handled according to the related data migration port, and according to the network management client The request message of the port migration at end sends download command to the corresponding adapter of related network elements.
22. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or The multiple programs of person can be executed by one or more processor, to realize step as described in any one of claim 1 to 7.
CN201710569782.4A 2017-07-13 2017-07-13 Port migration method, device, system and storage medium Active CN109257199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710569782.4A CN109257199B (en) 2017-07-13 2017-07-13 Port migration method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710569782.4A CN109257199B (en) 2017-07-13 2017-07-13 Port migration method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN109257199A true CN109257199A (en) 2019-01-22
CN109257199B CN109257199B (en) 2023-01-03

Family

ID=65051123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710569782.4A Active CN109257199B (en) 2017-07-13 2017-07-13 Port migration method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN109257199B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052012A (en) * 2007-05-23 2007-10-10 杭州华三通信技术有限公司 Method and device for protecting equalizing group port flow
US7436763B1 (en) * 2002-07-31 2008-10-14 Nortel Networks Limited Data communication apparatus with a dual mode protection switching system
CN105656658A (en) * 2014-12-01 2016-06-08 中兴通讯股份有限公司 Method and device for intelligently backing up and recovering network element data in network management system
CN106330489A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Method and device for achieving business migration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7436763B1 (en) * 2002-07-31 2008-10-14 Nortel Networks Limited Data communication apparatus with a dual mode protection switching system
CN101052012A (en) * 2007-05-23 2007-10-10 杭州华三通信技术有限公司 Method and device for protecting equalizing group port flow
CN105656658A (en) * 2014-12-01 2016-06-08 中兴通讯股份有限公司 Method and device for intelligently backing up and recovering network element data in network management system
CN106330489A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Method and device for achieving business migration

Also Published As

Publication number Publication date
CN109257199B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
US20210297328A1 (en) Method and Entities for Service Availability Management
CN105591978B (en) Network-based service function link
CN105657081B (en) The method, apparatus and system of DHCP service are provided
KR102014433B1 (en) System and method for supporting discovery and routing degraded fat-trees in a middleware machine environment
US10305749B2 (en) Low latency flow cleanup of openflow configuration changes
CN103514245B (en) Creation user it is visible processing tracking can search for and global data base
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN105978817B (en) It is used for transmission method, memory and the network adapter of data
US11481441B2 (en) Graph database query pagination
US20210133245A1 (en) Historical state management in databases
CN103634423B (en) Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device
CN108011846A (en) The method and device of management business in network function virtualization architecture
CN109327557A (en) A kind of management method and device of virtual machine IP address
CN109660441A (en) The method and device of multicast replication in Overlay network
US10764214B1 (en) Error source identification in cut-through networks
US9712455B1 (en) Determining availability of networking resources prior to migration of a server or domain
CN114553689A (en) Connecting template
CN113179299B (en) Service function chain cooperative control system and method for industrial internet application
CN109714239A (en) A kind of delivery method, VNFM equipment and server managing message
CN110086640A (en) The enabled method and apparatus of business
US20220358108A1 (en) Historical graph database
CN108964964A (en) A kind of network topology display methods and device
CN115118585A (en) Service deployment method, device and system
CN109787938A (en) Realize the method, apparatus and computer readable storage medium of access virtual private cloud
CN108400922A (en) virtual local area network configuration system and method and computer program product thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant