CN105099786B - The method and apparatus of business configuration in a kind of network cutover - Google Patents

The method and apparatus of business configuration in a kind of network cutover Download PDF

Info

Publication number
CN105099786B
CN105099786B CN201510546487.8A CN201510546487A CN105099786B CN 105099786 B CN105099786 B CN 105099786B CN 201510546487 A CN201510546487 A CN 201510546487A CN 105099786 B CN105099786 B CN 105099786B
Authority
CN
China
Prior art keywords
veneer
virtual
network equipment
configuration information
configuration
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.)
Active
Application number
CN201510546487.8A
Other languages
Chinese (zh)
Other versions
CN105099786A (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.)
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 CN201510546487.8A priority Critical patent/CN105099786B/en
Publication of CN105099786A publication Critical patent/CN105099786A/en
Priority to PCT/CN2016/096570 priority patent/WO2017036330A1/en
Application granted granted Critical
Publication of CN105099786B publication Critical patent/CN105099786B/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/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • 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/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of configuration methods of network service cutover.This method includes:The network equipment is in response to receiving the first teleinstruction, creating the facility information of virtual veneer and recording selected slot position and the selection type of virtual veneer;The network equipment performs business configuration, to generate the first configuration information to be verified in the corresponding logic interfacing of selection type in response to receiving the second teleinstruction to virtual veneer;The network equipment is using, as object identifier condition, whether the first configuration information to be verified of verification meets object identifier condition with selected slot position and the corresponding default verification condition of selection type;The network equipment complies fully with object identifier condition in response to the first configuration information to be verified, by the first configuration information record to be verified be virtual veneer verification configuration information, for for corresponding to virtual veneer true veneer formed business configuration configuration information.In addition, the embodiment of the invention also discloses a kind of configuration equipment of network service cutover.

Description

The method and apparatus of business configuration in a kind of network cutover
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method and apparatus of business configuration in network cutover.
Background technology
The network equipments such as router usually have many veneers.By veneer, the network equipment can carry various network industries Business.With network service development and e-learning quality, the veneer of the network equipment needs constantly dilatation and is constantly increasing new function, To adapt to update, more network service.For this purpose, the network equipment in network environment is frequently necessary to replace old list with new veneer Plate, to realize dilatation and new function by new veneer, so as to fulfill network cutover.
It should be noted that when replacing veneer to the network equipment, new veneer is with old veneer in interface quantity, interface purposes Etc. it is often distinct, this causes the network equipment not originally often to be suitable for new veneer to the business configuration of old veneer, because This, after having replaced new veneer on network devices, usually also needs to re-start business configuration for new veneer, so that new single Plate can normally carry various network services.In order to carry out business configuration, existing skill to new veneer again after single-board replacement Art using, veneer is replaced by technical staff on network devices, and on new single-board replacement to the network equipment after, by skill Art personnel carry out business configuration for new veneer manually on network devices.
Inventor has found that on the one hand, there are a large amount of network equipments in network environment to need replacing veneer, and And the configuring condition of each subcard is again different on the veneer of replacement, therefore, veneer of the prior art to replace is used to realize industry During business configuration, it is necessary to which technical staff carries out business to each interface of veneer manually on a large amount of network equipment respectively and matches It puts, this leads to the business configuration of single-board replacement, and time-consuming, efficiency is low;On the other hand, it replaces veneer and single board service configuration is usual It is to be entered the station to network device operation in different time by different technical staff and realized, single board service is configured in many cases Technical staff operate certain network equipments when often the network equipment do not replace veneer also, therefore, use the prior art for replacement Veneer when realizing business configuration, it is necessary to technical staff waits for single-board replacement to go to operate these networks again after finishing and set It is standby, could be that the veneer replaced on these network equipments carries out business configuration, this also causes the business configuration of single-board replacement to take It is longer, efficiency is lower.It can be seen that veneer of the prior art to be replaced on the network equipment is used to realize business configuration, business is matched The efficiency put is too low, time-consuming long, so as to which the poor efficiency of network cutover and length be caused to take.
Invention content
The embodiment of the present invention is the technical problem to be solved is that, providing a kind of method of business configuration in network cutover and setting It is standby, after being needed on single-board replacement to the network equipment due to technical staff in the prior art with solution manually on network devices It is low and the technical issues of time-consuming that network cutover efficiency caused by business configuration is carried out for veneer.
In a first aspect, an embodiment of the present invention provides a kind of configuration method of network service cutover, this method includes:
The network equipment creates the facility information of virtual veneer, and described virtual in response to receiving the first teleinstruction In the facility information of veneer, the slot position where the virtual veneer is recorded as selected slot position, by the type of the virtual veneer It is recorded as selection type;First teleinstruction is used to indicate described in the network equipment creates on the selected slot position The virtual veneer of selection type;
The network equipment in response to receiving the second teleinstruction, using the corresponding logic interfacing of the selection type as The interface of the virtual veneer performs business configuration, to generate on the interface of the virtual veneer to the virtual veneer State the first configuration information to be verified of virtual veneer;Second teleinstruction is used to indicate the network equipment to the void Quasi-simple plate carries out virtual configuration;
The network equipment using with the selected slot position and the corresponding default verification condition of the selection type as Object identifier condition, verifies whether first configuration information to be verified meets the object identifier condition;
The network equipment complies fully with the object identifier condition in response to the described first configuration information to be verified, by institute State the verification configuration information that the first configuration information record to be verified is the virtual veneer;
The verification configuration information of the virtual veneer, for having been installed on the selected slot position of the network equipment The configuration information of the true veneer is formed in the case of true veneer.
In the first possible realization method of first aspect, the network equipment remotely refers in response to receiving second It enables, using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, on the interface of the virtual veneer Business configuration is performed to the virtual veneer, to generate the first configuration information to be verified of the virtual veneer, including:
The network equipment obtains the first configuration file remotely received in response to receiving the second teleinstruction;
The network equipment is using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, according to institute It states the first configuration file and business configuration is performed to the virtual veneer on the interface of the virtual veneer, it is described virtual to generate First configuration information to be verified of veneer.
In second of possible realization method of first aspect, the network equipment remotely refers in response to receiving second It enables, using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, on the interface of the virtual veneer Business configuration is performed to the virtual veneer, to generate the first configuration information to be verified of the virtual veneer, including:
The network equipment obtains the current-configuration letter of the network equipment itself in response to receiving the second teleinstruction Breath;
The network equipment is using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, according to institute It states current configuration information and business configuration is performed to the virtual veneer on the interface of the virtual veneer, it is described virtual to generate First configuration information to be verified of veneer.
In the third possible realization method of first aspect, the method further includes:
The network equipment forms the second configuration file according to the configuration information of verification of the virtual veneer and preserves;
The network equipment is installed in response to the true veneer on the selected slot position, according to the described second configuration text Part carries out business configuration to the true veneer, to generate the configuration information of the true veneer.
In the 4th kind of possible embodiment of first aspect, the method further includes:
The network equipment is installed in response to the true veneer on the selected slot position, by the virtual veneer Verification configuration information is allocated to the true veneer, the configuration information as the true veneer.
In the 5th kind of possible embodiment of first aspect, the method further includes:
The network equipment in response to the described first configuration information to be verified not in full conformity with the object identifier condition, with The part of the object identifier condition is not met in first configuration information to be verified as error message, feeds back the mistake Information.
In the 6th kind of possible embodiment of first aspect, the 5th possible realization method with reference to first aspect, The method further includes:
The network equipment is in response to receiving third teleinstruction, according to the third teleinstruction in the virtual list It modifies on the interface of plate to the first configuration information to be verified of the virtual veneer, to generate the second of the virtual veneer Configuration information to be verified;The third teleinstruction, for indicating that the network is set in the case where feeding back the error message The standby configuration information for changing the virtual veneer;
The network equipment verifies whether second configuration information to be verified meets the object identifier condition;
The network equipment complies fully with the object identifier condition in response to the described second configuration information to be verified, by institute State the verification configuration information that the second configuration information record to be verified is the virtual veneer.
In the 7th kind of possible embodiment of first aspect, the object identifier condition is according to the selection type State of the true veneer when being not inserted into optical module and preset verification condition.
In the 8th kind of possible embodiment of first aspect, the network equipment is router.
Second aspect, an embodiment of the present invention provides a kind of configuration equipment of network service cutover, including:
Creation module, in response to receiving the first teleinstruction, creating the facility information of virtual veneer;Described first Teleinstruction is used to indicate the virtual veneer that the network equipment creates selection type on selected slot position;
First logging modle, in the facility information of the virtual veneer, by the slot position where the virtual veneer The selected slot position is recorded as, is the selection type by the class record of the virtual veneer;
First configuration module, in response to receiving the second teleinstruction, being connect with the corresponding logic of the selection type Interface of the mouth as the virtual veneer performs business configuration on the interface of the virtual veneer to the virtual veneer, with Generate the first configuration information to be verified of the virtual veneer;Second teleinstruction, is used to indicate the network equipment pair The virtual veneer carries out virtual configuration;
First correction verification module, for with the selected slot position and the corresponding default verification condition of the selection type As object identifier condition, verify whether first configuration information to be verified meets the object identifier condition;
Second logging modle, for complying fully with the object identifier item in response to the described first configuration information to be verified Part, by the verification configuration information that the described first configuration information record to be verified is the virtual veneer;
The verification configuration information of the virtual veneer, for having been installed on the selected slot position of the network equipment The configuration information of the true veneer is configured as in the case of true veneer.
In the first possible realization method of second aspect, first configuration module includes:
First acquisition submodule, in response to receiving the second teleinstruction, obtaining the first configuration file remotely received;
First configuration submodule, for using the corresponding logic interfacing of the selection type connecing as the virtual veneer Mouthful, business configuration is performed to the virtual veneer on the interface of the virtual veneer according to first configuration file, with life Into the first configuration information to be verified of the virtual veneer.
In second of possible realization method of second aspect, first configuration module includes:
Second acquisition submodule, in response to receiving the second teleinstruction, obtaining the current of the network equipment itself Configuration information;
Second configuration submodule, for using the corresponding logic interfacing of the selection type connecing as the virtual veneer Mouthful, business configuration is performed to the virtual veneer on the interface of the virtual veneer according to the current configuration information, with life Into the first configuration information to be verified of the virtual veneer.
In the third possible realization method of second aspect, the equipment further includes:
Module is formed, for forming the second configuration file according to the configuration information of verification of the virtual veneer and preserving;
Second configuration module is installed to the selected slot position for the network equipment in response to the true veneer, Business configuration is carried out to the true veneer according to second configuration file, to generate the configuration information of the true veneer.
In the 4th kind of possible embodiment of second aspect, the equipment further includes:
Third configuration module, for being installed to the selected slot position in response to the true veneer, by the virtual list The configuration information of verification of plate is allocated to the true veneer, the configuration information as the true veneer.
In the 5th kind of possible embodiment of second aspect, the equipment further includes:
Feedback module, in response to the described first configuration information to be verified not in full conformity with the object identifier condition, The part of the object identifier condition is not met using in the described first configuration information to be verified as error message, feeds back the mistake False information.
In the 6th kind of possible embodiment of second aspect, the 5th possible realization method with reference to first aspect, The equipment further includes:
Modified module, in response to receiving third teleinstruction, according to the third teleinstruction described virtual It modifies on the interface of veneer to the first configuration information to be verified of the virtual veneer, to generate the of the virtual veneer Two configuration informations to be verified;The third teleinstruction, for indicating the network in the case where feeding back the error message The configuration information of virtual veneer described in apparatus modifications;
Second correction verification module, for verifying whether the described second configuration information to be verified meets the object identifier condition;
Third logging modle, for complying fully with the object identifier item in response to the described second configuration information to be verified Part, by the verification configuration information that the described second configuration information record to be verified is the virtual veneer.
In the 7th kind of possible embodiment of second aspect, the object identifier condition is according to the selection type State of the true veneer when being not inserted into optical module and preset verification condition.
In the 8th kind of possible embodiment of second aspect, the network equipment is router.
Compared with prior art, the embodiment of the present invention has at least the following advantages:
Using the technical solution of the embodiment of the present invention, the network equipment is used to indicate the network equipment selected in response to receiving The first teleinstruction of the virtual veneer of selection type is created on slot position, the facility information of virtual veneer can be created, and in institute In the facility information for stating virtual veneer, the slot position where the virtual veneer and type are recorded as selected slot position respectively and selected Type, then, the network equipment in response to receive be used to indicate the network equipment virtual veneer is virtually set it is second remote Cheng Zhiling, can be using the corresponding logic interfacing of selection type as the interface of virtual veneer, to void on the interface of virtual veneer Quasi-simple plate performs business configuration, to generate the first of virtual veneer the configuration information to be verified, then, the network equipment can with choosing The corresponding default verification condition of slot position and selection type is determined as object identifier condition, verifies the first configuration information to be verified Whether the object identifier condition is met, if being responsive to the first configuration information to be verified complies fully with object identifier condition, net Network equipment can by the first configuration information record to be verified be virtual veneer verification configuration information so that in the network equipment Selected slot position on installed matching for true veneer formed with the configuration information that verified of virtual veneer in the case of true veneer Confidence ceases.It can be seen that in embodiments of the present invention, technical staff can be realized by remote access network equipment to virtual Whether veneer carries out virtual configuration, verification virtual configuration correct and will verify correct virtual configuration and be allocated to true list Plate, therefore, on the one hand, the new list that technical staff simultaneously can replace the network equipments a large amount of in network environment by remote operation Plate carries out business configuration, matches without carrying out business to each interface of new veneer manually on a large amount of network equipment respectively It puts, on the other hand, technical staff can realize business configuration by the virtual veneer on the network equipment, true without waiting for New veneer carries out business configuration to new veneer again after being installed on the network equipment, it is seen then that using the technology of the embodiment of the present invention Scheme can cause the business configuration of single-board replacement is configured to take shortening, efficiency raising, so as to improve the effect of network cutover Rate shortens taking for network cutover.
In addition, using the technical solution of the embodiment of the present invention, obtained by carrying out virtual configuration to virtual veneer with confidence Breath can verify to be allocated to whether the configuration information of true veneer is deposited in advance before business configuration is carried out to true veneer In mistake, so as to avoid directly carrying out misconfiguration caused by business configuration to true veneer, so as to which true veneer be avoided to mismatch Put caused network contingency.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments described in application, for those of ordinary skill in the art, can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the flow chart of one embodiment of configuration method of network service cutover in the present invention;
Fig. 2 is a kind of schematic diagram of example architecture of the network equipment in the embodiment of the present invention;
Fig. 3 is the flow chart of another embodiment of configuration method of network service cutover in the present invention;
Fig. 4 is the structure chart of one embodiment of configuration equipment of network service cutover in the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the scheme in the present invention, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only It is part of the embodiment of the present invention, instead of all the embodiments.
It to be asked inventor has found why there are the technologies that network cutover efficiency is low, time-consuming in the prior art Topic, main cause are to carry out business configuration to the veneer of replacement to take longer, less efficient, and cause the prior art single to replacing The reason of time-consuming for the business configuration of plate, efficiency is low is, existing for largely having replaced the network equipment of veneer in network environment Have in technology, technical staff needs respectively manually to match the veneer progress business for having replaced the network equipment on each network equipment It puts.Specifically, on the one hand, generally require to replace identical veneer, also, every in view of the network equipment a large amount of in the network equipment The business configuration operation of a veneer is related to a large number of services configuration operation of multiple subcards, multiple interfaces, it is seen then that the prior art In, technical staff needs to repeat identical a large number of services configuration operation on different devices, and which results in relatively low business to match It puts efficiency and longer business configuration takes;On the other hand, it is contemplated that the technical operation and single board service for replacing veneer are configured Technical operation be typically to be entered the station to network device operation in different time by different technical staff and realized, and many feelings The technical staff of veneer business configuration is entered the station when operating certain network equipments under condition, and often these network equipments do not replace veneer also, As it can be seen that in the prior art, the technical staff of single board service configuration need to wait for single-board replacement enter the station again after finishing operation this A little network equipments could be that the veneer replaced on these network equipments carries out business configuration, this also results in relatively low business and matches It puts efficiency and longer business configuration takes.
It is based on one of above-mentioned analysis, basic thought of the invention:On the one hand, it is contemplated that a large amount of net in network environment Network equipment generally requires to replace identical veneer and each veneer is related to a large number of services configuration operation, in order to avoid technology people Member repeats a large amount of identical business configuration operations on different devices, and network equipment response technology personnel can be enable remotely to visit The teleinstruction asked come to veneer carry out business configuration, such technical staff can on same remote equipment primary property to net A large amount of network equipments in network environment carry out single board service configuration operation, without respectively to repeatedly big on a large amount of network equipment Measure identical single board service configuration operation;On the other hand, in order to avoid the technical staff of single board service configuration waits for the network equipment Single-board replacement finish after enter the station again business configuration operation carried out to the veneers of these network equipments, can be in the network equipment It is upper to create virtual veneer corresponding with true veneer, so that can be to void when true veneer is not mounted to the network equipment Quasi-simple plate carries out virtual configuration and obtains the configuration information of virtual veneer, in this way can after true veneer is installed to the network equipment The configuration information of virtual veneer is allocated to true veneer, true veneer is waited for be installed to the network equipment without technical staff Perform business configuration operation on network devices again later;In another aspect, in order to avoid the network equipment is in the long-range of technical staff There is mistake in single board service configuration under instruction, can be after configuration information is obtained to virtual veneer progress virtual configuration first Verification configuration information is reconfigured with the presence or absence of mistake and in the case where configuration information is not verified and made mistake to true veneer, this Sample can be to avoid network contingency caused by true veneer misconfiguration.
Based on one of above-mentioned basic thought, application scenarios of embodiment of the present invention, such as it can be applied to and can pacify On the network equipment for filling veneer.Specifically, which can be used to indicate the network equipment selected in response to receiving First that the virtual veneer of selection type is created on slot position remotely refers to, and creates the facility information of virtual veneer, and in the virtual list In the facility information of plate, the slot position where the virtual veneer and type are recorded as selected slot position and selection type respectively.Then, The network equipment can in response to receive be used to indicate the network equipment to virtual veneer virtually set second remotely refer to It enables, using the corresponding logic interfacing of selection type as the interface of virtual veneer, to the virtual veneer on the interface of virtual veneer Business configuration is performed, to generate the first of the virtual veneer the configuration information to be verified.Then, which can be with selecting As object identifier condition, the first configuration information to be verified of verification is for slot position and the corresponding default verification condition of selection type It is no to meet the object identifier condition.After again, which can comply fully with target in response to the first configuration information to be verified Verification condition, by the first configuration information record to be verified be virtual veneer verification configuration information so that in the network equipment Selected slot position on installed matching for true veneer formed with the configuration information that verified of virtual veneer in the case of true veneer Confidence ceases.
In above application scene, what teleinstruction represented is the network equipment that single board service is needed to be configured from other equipment The instruction received.Wherein, the equipment for sending out teleinstruction can be that any one can remotely access single board service is needed to match The equipment for the network equipment put, the embodiment of the present invention are not construed as limiting this.In addition, what involved term " virtual veneer " represented It is that only there is the facility information of the veneer on network devices and the veneer is really installed;Involved term is " true Veneer " represents that the veneer is really installed on network devices.
Understand spirit and principles of the present invention it is also to be noted that above application scene is for only for ease of and show, Embodiments of the present invention are unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to applicable appoint What scene.
Below in conjunction with the accompanying drawings, by embodiment come the method for start-up operation system, relevant device during the present invention will be described in detail With the realization method of system.
Illustrative methods
Referring to Fig. 1, the flow chart of one embodiment of configuration method of network service cutover in the present invention is shown.In this implementation In example, such as specifically it may include steps of:
S101, the network equipment create the facility information of virtual veneer, and described in response to receiving the first teleinstruction In the facility information of virtual veneer, the slot position where the virtual veneer is recorded as selected slot position, by the virtual veneer Class record is selection type;First teleinstruction is used to indicate the network equipment and is created on the selected slot position The virtual veneer of the selection type.
During specific implementation, for need single board service be configured the network equipment, technical staff can the network equipment it The first teleinstruction is sent out to the network equipment on any one outer remote equipment, to indicate the network equipment on selected slot position The virtual veneer of selection type is created, which can create a virtual list when receiving first teleinstruction The facility information of plate, and in the facility information of the virtual veneer, the slot position of the virtual veneer and type are recorded as selecting respectively Determine slot position and selection type.
Wherein, selecting slot position and selection type, can be that technical staff selects on a remote device determining.It is for example, long-range All slot positions and all lists that can be mounted on the network equipment on the network equipment can be presented in equipment to technical staff Board type, technical staff can be in these slot positions and these board types on a remote device virtual veneer selection slot position and Type, remote equipment can then determine the selected slot position of virtual veneer and selected class in response to the selection operation of technical staff Type and, the mark and selection type of selected slot position can be carried in the first teleinstruction for being sent to the network equipment Mark.It is understood that the selected slot position of virtual veneer can be any one slot position, the choosing of virtual veneer on the network equipment It can be the board type that any one may be mounted on the network equipment to determine type.
It should be noted that it is the true veneer being really installed on the network equipment that virtual veneer, which is not, the network equipment is only Only it is the facility information for creating virtual veneer, that is, there is this for virtual veneer, in the system of the network equipment virtually The facility information of veneer, and the entity of the network equipment does not install the entity of the virtual veneer.Wherein, it is created on the network equipment empty The facility information of quasi-simple plate is can to recognize the virtual veneer for the network equipment, and the virtual veneer is carried out to realize Business configuration, so as to generate the configuration information of business configuration for virtual veneer.
It is understood that in the facility information of virtual veneer, it can be according to the first teleinstruction, by virtual veneer institute Slot position be recorded as selected slot position, and be selection type by the class record of virtual veneer.Wherein, in the equipment of virtual veneer Selection type is recorded in information, is the logic interfacing for determining virtual veneer use, to be connect according to the logic of virtual veneer Mouth carries out business configuration to virtual veneer;Selected slot position is recorded in the facility information of virtual veneer, is virtual single for determining The object identifier condition that the configuration information needs of plate meet, to verify virtual veneer according to object identifier condition by business Configuration information obtained from configuration.
S102, the network equipment are connect in response to receiving the second teleinstruction with the corresponding logic of the selection type Interface of the mouth as the virtual veneer performs business configuration on the interface of the virtual veneer to the virtual veneer, with Generate the first configuration information to be verified of the virtual veneer;Second teleinstruction, is used to indicate the network equipment pair The virtual veneer carries out virtual configuration.
During specific implementation, after the facility information for creating virtual veneer in the network equipment, the network equipment can be set according to this The selection type recorded in standby information, generates the corresponding logic interfacing of the selection type, as the interface of the virtual veneer, and skill Art personnel then can send out the second teleinstruction to the network equipment on a remote device, to indicate the network equipment to virtual veneer Virtual configuration is carried out, which, can be on the interface of generated virtual veneer when receiving the second teleinstruction Business configuration is carried out to virtual veneer, so as to the configuration information for the generation of virtual veneer for business configuration.Wherein, virtual veneer Configuration information, can include configuration order and configuration list item.Configuration order represents to perform business configuration to virtual veneer The command string of action, configuration list item represent the mapping item for virtual veneer to be controlled to perform business processing.It is in addition, virtual What configuration represented is that virtual business configuration is carried out to virtual veneer, specifically, the configuration information as obtained from virtual configuration, It is not used to that virtual veneer is controlled to perform business processing, but for being allocated to true veneer in the case of by verification 's.
In some embodiments of the present embodiment, business configuration is carried out to virtual veneer and obtains configuration information, it can be with It is to be realized according to the configuration file pre-saved in the network equipment.For example, technical staff can carry out to virtual unit Before business configuration configuration file is sent to the network equipment beforehand through remote equipment.Specifically, S102 can for example include:Institute The network equipment is stated in response to receiving the second teleinstruction, obtains the first configuration file remotely received;The network equipment is with institute Interface of the corresponding logic interfacing of selection type as the virtual veneer is stated, according to first configuration file described virtual Business configuration is performed to the virtual veneer on the interface of veneer, to generate the first configuration to be verified of the virtual veneer Information.Wherein, the first configuration file can be that random time of the remote equipment before business configuration is carried out to virtual unit is sent out The network equipment is given, for example, the first configuration file can be with the first teleinstruction or the second teleinstruction by remote equipment It is sent to the network equipment.It is understood that the network equipment by the configuration file that remotely receives to virtual veneer into industry It is single can so that technical staff can carry out a large amount of network equipments in network environment by a remote equipment for business configuration Plate business configuration, without respectively to the business configuration operation for removing to perform veneer on each network equipment itself, so as to carry The business configuration efficiency of veneer on the high network equipment.Furthermore, it is necessary to explanation, configuration file can pass through any one mode To virtual veneer carry out business configuration before be pre-reserved to the network equipment, for example, in addition to the above-mentioned network equipment pass through it is long-range It receives except the embodiment for obtaining configuration file, configuration file can also be that technical staff protects on network devices manually in advance It deposits.
In other embodiments of the present embodiment, business configuration is carried out to virtual veneer and obtains configuration information, it can To be realized according to the current configuration information of the network equipment itself.Specifically, S102 can for example include:The network is set It is standby in response to receiving the second teleinstruction, obtain the network equipment current configuration information of itself;The network equipment is with institute Interface of the corresponding logic interfacing of selection type as the virtual veneer is stated, according to the current configuration information described virtual Business configuration is performed to the virtual veneer on the interface of veneer, to generate the first configuration to be verified of the virtual veneer Information.It is understood that for the true veneer being currently installed on the network equipment, the business configuration of these true veneers is matched Confidence breath is preserved in the network device as the current configuration information of the network equipment itself, using working as these true veneers Preceding configuration information carries out business configuration to virtual veneer, can verify whether current configuration information can meet the industry of virtual veneer Business configuration needs.
It should be noted that in the present embodiment, in order to adapt to single-board replacement mode different on the network equipment, network is set The standby virtual configuration that can support various ways, so that technical staff can neatly select only to carry out virtually the component of replacement Configuration.For example, the network equipment sometimes all replaces all veneers of its complete machine, in order to adapt to the feelings that complete machine replaces veneer Condition, the network equipment can be directed to complete machine and carry out virtual configuration, specifically, using network equipment complete machine on all veneers as void Quasi-simple plate, the network equipment disposably can carry out virtual configuration to these virtual veneers, so as to obtain network equipment complete machine Configuration information.For another example, the network equipment only needs replacing part veneer sometimes, in order to adapt to the situation of part single-board replacement, for Any one veneer on the network equipment, the network equipment can be carried out virtual configuration only for the veneer, specifically, be set with network As virtual veneer, the network equipment only can virtually match the virtual veneer standby any one veneer above needed replacing It puts, so as to only obtain the configuration information of a veneer on the network equipment.For another example, the network equipment only needs replacing part sometimes Plate, in order to adapt to the situation that part daughter board is replaced, for any one daughter board on the network equipment, the network equipment can be only for The daughter board carries out virtual unit, and specifically, veneer where any one daughter board needed replacing using on the network equipment is as empty Quasi-simple plate, the network equipment only can carry out virtual configuration to the daughter board of the virtual veneer, so as to only obtain one on the network equipment The configuration information of a daughter board.Again for another example, the network equipment only needs replacing part of interface sometimes, in order to adapt to part of interface replacement Situation, for any one interface on the network equipment, the network equipment can carry out virtual configuration only for the interface, specifically Ground, for the veneer where any one interface needed replacing using on the network equipment as virtual veneer, the network equipment can be only right The interface on the virtual veneer carries out virtual configuration, so as to only obtain the configuration information of an interface on the network equipment.
It is understood that the configuration information generated in S102, since the configuration information is to perform industry to virtual veneer Business configuration obtained from configuration information, therefore, the configuration information because there may be mistake due to verified, also therefore, The configuration information generated in S102 for the business configuration of virtual veneer can subsequently walked as the first configuration information to be verified It is verified in rapid.
S103, the network equipment with the selected slot position and the corresponding default verification condition of the selection type As object identifier condition, verify whether first configuration information to be verified meets the object identifier condition.
During specific implementation, can pre-set the veneer of various board types in the network device should accord on each slot position The business configuration rule of conjunction, as the default verification condition for corresponding respectively to various board types and each slot position, and for net For any one virtual unit created in network equipment, the first of business configuration is generated for the virtual veneer in the network equipment After configuration information to be verified, the network equipment can read slot position and the class of virtual veneer in the facility information of virtual veneer Type is selected slot position and selection type respectively, and then, the network equipment can find out in each default verification and select class with this Type and selected slot position all default verification conditions with correspondence can utilize object identifier as object identifier condition Condition verifies the first configuration information to be verified of the virtual veneer.
It is understood that in view of as to virtual veneer carry out virtual configuration obtained from configuration information be for pair True veneer carries out business configuration, and the industry for being more in line with true veneer may be used in the configuration information for verifying virtual veneer The verification condition of business configuration.For example, in some embodiments of the present embodiment, it is contemplated that the network equipment is typically to be only inserted Business configuration is carried out to true veneer when true veneer and subcard are without being inserted into optical module, therefore, for any one For kind board type, the default verification condition corresponding to the board type can be existed according to the true veneer of the board type State when being not inserted into optical module and preset verification condition.At this point, the object identifier selected in S103 from default verification condition Condition is according to state of the true veneer of selection type when being not inserted into optical module and preset verification condition.
S104, the network equipment comply fully with the object identifier item in response to the described first configuration information to be verified Part, by the verification configuration information that the described first configuration information record to be verified is the virtual veneer;The virtual veneer Verified configuration information, for having installed true veneer on the selected slot position of the network equipment in the case of form institute State the configuration information of true veneer.
During specific implementation, show that the first configuration information to be verified complies fully with object identifier condition in the check results of S103 When, the network equipment can say the verification configuration information that the first configuration information record to be verified is virtual veneer, hereafter, work as network When equipment has installed the true veneer corresponding to the virtual veneer, the network equipment can utilize the checked configuration information to be somebody's turn to do True veneer carries out business configuration, to form the configuration information of the true veneer.It is understood that virtual veneer and true list Plate is corresponding, represents that the virtual veneer has identical slot position and identical board type with true veneer.In the present embodiment, Virtual veneer positioned at selected slot position and belongs to selection type, and therefore, network equipment installation is corresponding to the true of the virtual veneer Real veneer, that is, the network equipment installs the true veneer of selection type on selected slot position.
It should be noted that for the verification configuration information of virtual veneer, different modes may be used in the network equipment Record and use, so as to the configuration information to form business configuration corresponding to the true veneer of the virtual veneer.
For example, in some embodiments of the present embodiment, for the verification configuration information of virtual veneer, can be by Be saved in a configuration file, so as to the network equipment by the configuration file be corresponding to the virtual veneer true veneer into Row business configuration.Specifically, the present embodiment can also for example include:The network equipment is according to the verification of the virtual veneer Configuration information forms the second configuration file and preserves;The network equipment is installed to the selected slot in response to the true veneer On position, business configuration is carried out to the true veneer according to second configuration file, to generate the configuration of the true veneer Information.Wherein, the second configuration file for example can be the cfg configuration files being directed in CF cards.It is understood that it utilizes Second configuration file carries out business configuration to true veneer, can control the network equipment by remote equipment by technical staff It realizes.Specifically, after the network equipment forms the second configuration file according to the configuration information of verification of virtual veneer, work as skill When art personnel have found to be mounted with the true veneer corresponding to the virtual veneer on the network equipment, technical staff can be by long-range Equipment sends a teleinstruction to the network equipment, and the network equipment can be according to the teleinstruction when receiving the teleinstruction Instruction business configuration is carried out to the true veneer using the second configuration file.
For another example, in other embodiments of the present embodiment, for the verification configuration information of virtual veneer, Ke Yishi It directly is saved, so that the network equipment has verified configuration information come the true veneer to correspond to the virtual veneer by this Carry out business configuration.Specifically, the present embodiment can also for example include:The network equipment is installed in response to the true veneer Onto the selected slot position, the configuration information of verification of the virtual veneer is allocated to the true veneer, as described true The configuration information of real veneer.It is understood that having verified configuration information is directly allocated to true veneer, can be by technology people Member is realized by remote equipment to control the network equipment.Specifically, the verification for virtual veneer having been formed in the network equipment is matched After confidence breath, when technical staff has found to be mounted with the true veneer corresponding to the virtual veneer on the network equipment, technology Personnel can send a teleinstruction by remote equipment to the network equipment, and the network equipment can when receiving the teleinstruction The true veneer is allocated to so that configuration information will have been verified according to the instruction of the teleinstruction.Wherein, the network equipment can pass through Configuration is performed to true veneer to restore to realize that will verify configuration information is allocated to the true veneer, after configuration restores, The network equipment had originally been replaced by for the configuration information of the true veneer record and has verified configuration information.
It should be noted that in the present embodiment, in order to adapt to single-board replacement mode different on the network equipment, network is set It is standby to support various ways to realize that will verify configuration information is allocated to true veneer, so that technical staff can be neatly Selection is only to the configuration information of the component update business configuration of replacement.For example, the network equipment is sometimes by all lists of its complete machine Plate all replaces, and in order to adapt to the situation that complete machine replaces veneer, the verification of complete machine disposably can be matched confidence by the network equipment Breath is allocated to all true veneers of complete machine.For another example, the network equipment only needs replacing part veneer sometimes, in order to adapt to part list The situation that plate is replaced, for any one true veneer on the network equipment, the network equipment can only correspond to the true veneer The configuration information of verification of virtual veneer be allocated to the true veneer.For another example, the network equipment only needs replacing part sometimes Plate, in order to adapt to the situation that part daughter board is replaced, for any one daughter board on the network equipment, the network equipment will can be only somebody's turn to do Verification configuration information of the daughter board correspondence on virtual veneer is allocated to the daughter board.Again for another example, the network equipment only needs more sometimes Part of interface is changed, in order to adapt to the situation of part of interface replacement, for any one interface on the network equipment, the network equipment can Verification configuration information of the interface correspondence on virtual veneer only is allocated to the interface.
It is understood that the check results in S103 show the first configuration information to be verified not in full conformity with object identifier During condition, which also indicates that, for the true veneer for corresponding to virtual veneer, the first configuration information to be verified In there are mistakes.For such case, the present embodiment can also for example include:The network equipment treats school in response to described first Configuration information is tested not in full conformity with the object identifier condition, not meet the target in the described first configuration information to be verified The error message is fed back as error message in the part of verification condition.Wherein, error message can be by the network equipment to The mode that remote equipment is sent feeds back to technical staff, such technical staff be recognized that virtual configuration there are the problem of.Into It, can be in the case that technical staff recognizes error configurations after error message is fed back to technical staff for one step The control network equipment modifies to the configuration information of virtual veneer, so that modified configuration information disclosure satisfy that verification item Part, so as to be used to carry out business configuration for true veneer.Specifically, on the basis of feedback error information, the present embodiment Such as it can also include:The network equipment is in response to receiving third teleinstruction, according to the third teleinstruction in institute It states and modifies on the interface of virtual veneer to the first configuration information to be verified of the virtual veneer, to generate the virtual list Second configuration information to be verified of plate;The network equipment verifies whether second configuration information to be verified meets the target Verification condition;The network equipment complies fully with the object identifier condition in response to the described second configuration information to be verified, will Second configuration information record to be verified is the verification configuration information of the virtual veneer.Wherein, the third remotely refers to It enables, for indicating that the network equipment changes the configuration information of the virtual veneer in the case where feeding back the error message.
It should be noted that in order to enable the network equipment better discriminates between the business configuration of virtual veneer and true veneer The not validated configuration information of virtual veneer is accidentally allocated to true veneer to avoid the network equipment and used by business configuration, In some embodiments of the present embodiment, such as the virtual plane being isolated with true planar can be established on network devices, The network equipment can create virtual veneer in virtual plane, business configuration is carried out to virtual veneer, carries out school to virtual configuration It tests and modifies and preserve to virtual configuration.
As shown in Fig. 2, there can be reserved bidirectional interface between virtual plane and true planar.It two-way is connect by this Mouthful, on the one hand, virtual plane can import the current configuration information of the network equipment itself from true planar, with according to current-configuration Information carries out virtual veneer virtual configuration, and on the other hand, virtual plane can also issue virtual veneer to true planar Configuration information is verified, this has been verified configuration information is allocated to true veneer corresponding to the virtual veneer.It is in addition, virtual flat Face can with importing configuration files, with virtual veneer is carried out according to configuration file virtual configuration and, virtual plane can be with Configuration information will have been verified and exported as configuration file, to carry out business configuration to true veneer according to the configuration file.
Can be the network of any one replaceable veneer it is understood that the network equipment mentioned by the present embodiment Equipment.It can be the switching equipment in communication network for example, the network equipment mentioned by the present embodiment, such as router.This reality The remote equipment mentioned by example is applied, such as can be the controller controlled in network environment each network equipment.
Technical solution through this embodiment, technical staff can be realized by remote access network equipment to virtual single Whether plate carries out virtual configuration, verification virtual configuration correct and will verify correct virtual configuration and be allocated to true veneer, Therefore, on the one hand, the new veneer that technical staff simultaneously can replace the network equipments a large amount of in network environment by remote operation Business configuration is carried out, without carrying out business configuration to each interface of new veneer manually on a large amount of network equipment respectively, On the other hand, technical staff can realize business configuration by the virtual veneer on the network equipment, true new without waiting for Veneer carries out business configuration to new veneer again after being installed on the network equipment, it is seen then that using the technical side of the embodiment of the present invention Case, can cause single-board replacement business configuration be configured take shorten, efficiency improve, so as to improve the efficiency of network cutover, Shorten taking for network cutover.
In addition, using the technical solution of the present embodiment, configuration information is obtained by carrying out virtual configuration to virtual veneer, it can To verify the configuration information for being allocated to true veneer in advance before business configuration is carried out to true veneer with the presence or absence of mistake Accidentally, so as to avoid directly carrying out misconfiguration caused by business configuration to true veneer, so as to which true veneer misconfiguration be avoided to draw The network contingency risen.
In order to which those skilled in the art is made clearly to understand application mode of the present invention in actual scene, lead to below The example of an actual scene is crossed to introduce the configuration method that the present invention is used for network service cutover.In the actual scene, skill Art personnel can control the network equipment to realize the business configuration of veneer by a remote equipment, can be created on the network equipment The virtual plane being isolated with true planar is integrated and virtual with virtual veneer to handle the establishment of virtual veneer, virtual configuration The verification of configuration, virtual plane can synchronize the configuration information of true veneer from true planar, and virtual plane can also be to true Plane issues the configuration information of virtual veneer.Specifically, referring to Fig. 3, the configuration side of network service cutover in the present invention is shown The flow chart of another embodiment of method.In the present embodiment, such as specifically it may include steps of:
S301, network equipment machine frame power on, and load software package.
Wherein, after software package is completed, the system of the network equipment is in operating status, at this point, the network equipment can pass through Various softwares in system perform various data processing actions, so that the network equipment realizes the function of its own.
S302, the network equipment create virtual plane by software.
Wherein, the network equipment can also establish bidirectional interface between virtual plane and true planar, so that virtual flat Face can be interacted with true planar by the bidirectional interface.
S303, remote equipment add the operation of virtual veneer in response to user on network devices, are sent to the network equipment First teleinstruction, to indicate that the network equipment creates the virtual veneer of selection type in selected slot position.
Wherein, user is when performing the operation for adding virtual veneer, can select a slot position on the network equipment as The virtual veneer, and a board type is selected as the virtual veneer, so that remote equipment carries in the first teleinstruction The mark of selected slot position and the mark of selection type.It is understood that the establishment in view of virtual veneer is used to relatively The true veneer answered carries out advance business configuration, and user can determine choosing according to corresponding to the true veneer of the virtual veneer Determine slot position and selection type.
In the present embodiment, that user represents is the technical staff that single board service is configured in network service cutover.
S304, the network equipment are in response to receiving the first teleinstruction, equipment that virtual veneer is registered on virtual plane Information, and the slot position of virtual veneer and board type are recorded as to selected slot position and selection type respectively in the facility information.
S305, remote equipment import the virtual veneer in response to user the operation of virtual configuration, are sent to the network equipment Second teleinstruction, to indicate that the network equipment carries out business configuration to virtual veneer.
Wherein, the second teleinstruction for example can be instruction the network equipment from the configuration file that the second teleinstruction carries to Virtual veneer imports virtual configuration, alternatively, the second teleinstruction can be for another example that the instruction network equipment is pre- from the network equipment itself The configuration file first preserved imports virtual configuration to virtual veneer, is set alternatively, the second teleinstruction can be instruction network for another example It is standby that virtual configuration is imported from the current configuration information of true planar to virtual veneer.
It is understood that the virtual configuration that the second teleinstruction instruction network equipment imports, such as can be directed to net Network equipment complete machine, it can be for another example only for part veneer on the network equipment, can be only on the network equipment for another example Part subcard, and can be only for part of interface on the network equipment for another example.
S306, the network equipment carry out business configuration in response to receiving the second teleinstruction, to virtual veneer, to be void Quasi-simple plate generates configuration information to be verified.
Wherein, configuration information to be verified, such as can be the configuration that configuration file is imported to virtual veneer and integrated Information, alternatively, can be for another example the current configuration information configuration information that imports and integrate to virtual veneer of true planar.
S307, the network equipment are searched and select the corresponding default verification condition of slot position and selection type as target school Condition is tested, and verifies whether configuration information to be verified meets object identifier condition.
Wherein, according to the difference of check results, different steps can be entered.When check results show it is to be verified with confidence When breath is not in full conformity with object identifier condition, into S309.When check results show that configuration information to be verified complies fully with target During verification condition, into S311.
S308, the network equipment do not meet the part of object identifier condition using in configuration information to be verified as error message, Error message is fed back to remote equipment to present.
S309, remote equipment operate the modification of virtual configuration in response to user, and it is remote to operate generation third according to the modification Cheng Zhiling is simultaneously sent to the network equipment, to indicate that the network equipment changes the configuration information to be verified of virtual veneer.
S310, network equipment modify to configuration information to be verified in response to receiving third teleinstruction, and to repair Configuration information to be verified after changing returns to S307.
It is understood that the configuration information after modification can cover the configuration information before modification, so as to fulfill school is treated Test the modification of configuration information.
S311, the network equipment by configuration information record to be verified be the virtual veneer verification configuration information.
It is understood that the configuration information of verification of virtual veneer can be stored on virtual plane by the network equipment, Alternatively, the configuration information of verification of virtual veneer can also be saved as to configuration file deposit CF cards.
S312, remote equipment in response to the true veneer of user configuration operation, to the network equipment send the 4th teleinstruction, True veneer is configured to indicate the network equipment using configuration information has been verified.
S313, the network equipment are in response to receiving the 4th teleinstruction, by the configuration information of verification of virtual veneer from void Quasi-plane is issued to true planar, to form the configuration information of true veneer.
Technical solution through this embodiment, technical staff can be realized by remote access network equipment to virtual single Whether plate carries out virtual configuration, verification virtual configuration correct and will verify correct virtual configuration and be allocated to true veneer, It can cause the business configuration of single-board replacement is configured to take shortening, efficiency raising, so as to improve the efficiency of network cutover, shorten Network cutover takes.In addition, configuration information is obtained by carrying out virtual configuration to virtual veneer, it can also be to true single Verification in advance is straight so as to avoid for being allocated to the configuration information of true veneer with the presence or absence of mistake before plate carries out business configuration It connects and misconfiguration caused by business configuration, network contingency caused by so as to avoid true veneer misconfiguration is carried out to true veneer.
Example devices
It is used in the present invention is described after the illustrative embodiments of the configuration method of network service cutover, is situated between below For the illustrative embodiments of the configuration equipment of network service cutover in the present invention that continues.
Referring to Fig. 4, the structure chart of one embodiment of configuration equipment of network service cutover in the present invention is shown.In this implementation In example, the equipment 400 can for example include:
Creation module 401, in response to receiving the first teleinstruction, creating the facility information of virtual veneer;It is described First teleinstruction is used to indicate the virtual veneer that the network equipment creates selection type on selected slot position;
First logging modle 402, in the facility information of the virtual veneer, by the slot where the virtual veneer Position is recorded as the selected slot position, is the selection type by the class record of the virtual veneer;
First configuration module 403, in response to receiving the second teleinstruction, with the corresponding logic of the selection type Interface of the interface as the virtual veneer performs business configuration on the interface of the virtual veneer to the virtual veneer, To generate the first configuration information to be verified of the virtual veneer;Second teleinstruction, is used to indicate the network equipment Virtual configuration is carried out to the virtual veneer;
First correction verification module 404, for with the selected slot position and the corresponding default verification of the selection type Condition verifies whether first configuration information to be verified meets the object identifier condition as object identifier condition;
Second logging modle 405, for complying fully with the object identifier in response to the described first configuration information to be verified Condition, by the verification configuration information that the described first configuration information record to be verified is the virtual veneer;
The verification configuration information of the virtual veneer, for having been installed on the selected slot position of the network equipment The configuration information of the true veneer is configured as in the case of true veneer.
Optionally, in the present embodiment in the first possible embodiment, first configuration module 403 can for example wrap It includes:
First acquisition submodule, in response to receiving the second teleinstruction, obtaining the first configuration file remotely received;
First configuration submodule, for using the corresponding logic interfacing of the selection type connecing as the virtual veneer Mouthful, business configuration is performed to the virtual veneer on the interface of the virtual veneer according to first configuration file, with life Into the first configuration information to be verified of the virtual veneer.
Optionally, in second of possible embodiment of the present embodiment, first configuration module 403 can for example wrap It includes:
Second acquisition submodule, in response to receiving the second teleinstruction, obtaining the current of the network equipment itself Configuration information;
Second configuration submodule, for using the corresponding logic interfacing of the selection type connecing as the virtual veneer Mouthful, business configuration is performed to the virtual veneer on the interface of the virtual veneer according to the current configuration information, with life Into the first configuration information to be verified of the virtual veneer.
Optionally, in the present embodiment in the third possible embodiment, the equipment 400 can also for example include:
Module is formed, for forming the second configuration file according to the configuration information of verification of the virtual veneer and preserving;
Second configuration module is installed to the selected slot position for the network equipment in response to the true veneer, Business configuration is carried out to the true veneer according to second configuration file, to generate the configuration information of the true veneer.
Optionally, in the 4th kind of possible embodiment of the present embodiment, the equipment 400 can also for example include:
Third configuration module, for being installed to the selected slot position in response to the true veneer, by the virtual list The configuration information of verification of plate is allocated to the true veneer, the configuration information as the true veneer.
Optionally, in the 5th kind of possible embodiment of the present embodiment, the equipment 400 can also for example include:
Feedback module, in response to the described first configuration information to be verified not in full conformity with the object identifier condition, The part of the object identifier condition is not met using in the described first configuration information to be verified as error message, feeds back the mistake False information.
Optionally, in the 6th kind of possible embodiment of the present embodiment, with reference to the 5th kind of possible implementation of the present embodiment Mode, the equipment 400 can also for example include:
Modified module, in response to receiving third teleinstruction, according to the third teleinstruction described virtual It modifies on the interface of veneer to the first configuration information to be verified of the virtual veneer, to generate the of the virtual veneer Two configuration informations to be verified;The third teleinstruction, for indicating the network in the case where feeding back the error message The configuration information of virtual veneer described in apparatus modifications;
Second correction verification module, for verifying whether the described second configuration information to be verified meets the object identifier condition;
Third logging modle, for complying fully with the object identifier item in response to the described second configuration information to be verified Part, by the verification configuration information that the described second configuration information record to be verified is the virtual veneer.
Optionally, in the 6th kind of possible embodiment of the present embodiment, the object identifier condition for example can be by According to the selection type state of the true veneer when being not inserted into optical module and preset verification condition.
Optionally, in the 7th kind of possible embodiment of the present embodiment, the equipment can for example be configured at router.
Technical solution through this embodiment, technical staff can be realized by remote access network equipment to virtual single Whether plate carries out virtual configuration, verification virtual configuration correct and will verify correct virtual configuration and be allocated to true veneer, It can cause the business configuration of single-board replacement is configured to take shortening, efficiency raising, so as to improve the efficiency of network cutover, shorten Network cutover takes.In addition, configuration information is obtained by carrying out virtual configuration to virtual veneer, it can also be to true single Verification in advance is straight so as to avoid for being allocated to the configuration information of true veneer with the presence or absence of mistake before plate carries out business configuration It connects and misconfiguration caused by business configuration, network contingency caused by so as to avoid true veneer misconfiguration is carried out to true veneer.
It is apparent to those skilled in the art that for convenience and simplicity of description, the correlation of foregoing description Equipment specific work process can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed method, relevant device and system, It can realize by another way.For example, relevant device embodiment described above is only schematical, for example, institute The division of unit is stated, only a kind of division of logic function can have other dividing mode, such as multiple lists in actual implementation Member or component may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, Shown or discussed mutual coupling, direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Term " comprising ", "comprising" or its any other variant are intended to non- It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those elements, But also it including other elements that are not explicitly listed or further includes solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including Also there are other identical elements in the process of the element, method, article or equipment.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding The technical solution recorded in each embodiment is stated to modify or carry out equivalent replacement to which part technical characteristic;And these Modification is replaced, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of configuration method of network service cutover, which is characterized in that the method includes:
The network equipment creates the facility information of virtual veneer, and in the virtual veneer in response to receiving the first teleinstruction Facility information in, the slot position where the virtual veneer is recorded as selected slot position, by the class record of the virtual veneer For selection type;First teleinstruction is used to indicate the network equipment and described select is created on the selected slot position The virtual veneer of type;
The network equipment is in response to receiving the second teleinstruction, using the corresponding logic interfacing of the selection type described in The interface of virtual veneer performs business configuration, to generate the void on the interface of the virtual veneer to the virtual veneer First configuration information to be verified of quasi-simple plate;Second teleinstruction is used to indicate the network equipment to the virtual list Plate carries out virtual configuration;
The network equipment using with the selected slot position and the corresponding default verification condition of the selection type as target Verification condition, verifies whether first configuration information to be verified meets the object identifier condition;
The network equipment complies fully with the object identifier condition in response to the described first configuration information to be verified, by described One configuration information record to be verified is the verification configuration information of the virtual veneer;
The verification configuration information of the virtual veneer, it is true for having been installed on the selected slot position of the network equipment The configuration information of the true veneer is formed in the case of veneer.
2. according to the method described in claim 1, it is characterized in that, the network equipment remotely refers in response to receiving second It enables, using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, on the interface of the virtual veneer Business configuration is performed to the virtual veneer, to generate the first configuration information to be verified of the virtual veneer, including:
The network equipment obtains the first configuration file remotely received in response to receiving the second teleinstruction;
The network equipment is using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, according to described One configuration file performs business configuration on the interface of the virtual veneer to the virtual veneer, to generate the virtual veneer The first configuration information to be verified.
3. according to the method described in claim 1, it is characterized in that, the network equipment remotely refers in response to receiving second It enables, using the corresponding logic interfacing of the selection type as the interface of the virtual veneer, on the interface of the virtual veneer Business configuration is performed to the virtual veneer, to generate the first configuration information to be verified of the virtual veneer, including:
The network equipment obtains the network equipment current configuration information of itself in response to receiving the second teleinstruction;
The network equipment is worked as using the corresponding logic interfacing of the selection type as the interface of the virtual veneer according to described Preceding configuration information performs business configuration on the interface of the virtual veneer to the virtual veneer, to generate the virtual veneer The first configuration information to be verified.
4. it according to the method described in claim 1, it is characterized in that, further includes:
The network equipment forms the second configuration file according to the configuration information of verification of the virtual veneer and preserves;
The network equipment is installed in response to the true veneer on the selected slot position, according to second configuration file pair The true veneer carries out business configuration, to generate the configuration information of the true veneer.
5. it according to the method described in claim 1, it is characterized in that, further includes:
The network equipment is installed in response to the true veneer on the selected slot position, by the verification of the virtual veneer Configuration information is allocated to the true veneer, the configuration information as the true veneer.
6. it according to the method described in claim 1, it is characterized in that, further includes:
The network equipment in response to the described first configuration information to be verified not in full conformity with the object identifier condition, with described The part of the object identifier condition is not met in first configuration information to be verified as error message, feeds back the mistake letter Breath.
7. it according to the method described in claim 6, it is characterized in that, further includes:
The network equipment is in response to receiving third teleinstruction, according to the third teleinstruction in the virtual veneer It modifies on interface to the first configuration information to be verified of the virtual veneer, school is treated with generate the virtual veneer second Test configuration information;The third teleinstruction, for indicating that the network equipment is repaiied in the case where feeding back the error message Change the configuration information of the virtual veneer;
The network equipment verifies whether second configuration information to be verified meets the object identifier condition;
The network equipment complies fully with the object identifier condition in response to the described second configuration information to be verified, by described Two configuration information records to be verified are the verification configuration information of the virtual veneer.
8. according to the method described in claim 1, it is characterized in that, the object identifier condition is according to the selection type State of the true veneer when being not inserted into optical module and preset verification condition.
9. according to the method described in claim 1, it is characterized in that, the network equipment is router.
10. a kind of configuration equipment of network service cutover, which is characterized in that including:
Creation module, in response to receiving the first teleinstruction, creating the facility information of virtual veneer;Described first is long-range Instruction is used to indicate the virtual veneer that the network equipment creates selection type on selected slot position;
First logging modle, in the facility information of the virtual veneer, the slot position where the virtual veneer to be recorded It is the selection type by the class record of the virtual veneer for the selected slot position;
First configuration module, in response to receiving the second teleinstruction, being made with the corresponding logic interfacing of the selection type For the interface of the virtual veneer, business configuration is performed to the virtual veneer on the interface of the virtual veneer, with generation First configuration information to be verified of the virtual veneer;Second teleinstruction is used to indicate the network equipment to described Virtual veneer carries out virtual configuration;
First correction verification module, for using with the selected slot position and the corresponding default verification condition of the selection type as Object identifier condition, verifies whether first configuration information to be verified meets the object identifier condition;
Second logging modle, will for complying fully with the object identifier condition in response to the described first configuration information to be verified First configuration information record to be verified is the verification configuration information of the virtual veneer;
The verification configuration information of the virtual veneer, it is true for having been installed on the selected slot position of the network equipment The configuration information of the true veneer is configured as in the case of veneer.
CN201510546487.8A 2015-08-31 2015-08-31 The method and apparatus of business configuration in a kind of network cutover Active CN105099786B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510546487.8A CN105099786B (en) 2015-08-31 2015-08-31 The method and apparatus of business configuration in a kind of network cutover
PCT/CN2016/096570 WO2017036330A1 (en) 2015-08-31 2016-08-24 Service configuration method and device for network cutover

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510546487.8A CN105099786B (en) 2015-08-31 2015-08-31 The method and apparatus of business configuration in a kind of network cutover

Publications (2)

Publication Number Publication Date
CN105099786A CN105099786A (en) 2015-11-25
CN105099786B true CN105099786B (en) 2018-07-03

Family

ID=54579402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510546487.8A Active CN105099786B (en) 2015-08-31 2015-08-31 The method and apparatus of business configuration in a kind of network cutover

Country Status (2)

Country Link
CN (1) CN105099786B (en)
WO (1) WO2017036330A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099786B (en) * 2015-08-31 2018-07-03 华为技术有限公司 The method and apparatus of business configuration in a kind of network cutover
CN107147512A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 Veneer method for managing resource and system
CN107547253A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 A kind of collocation method and device
CN108521616B (en) * 2018-03-30 2021-03-02 烽火通信科技股份有限公司 Method and system for rapidly converting configuration file of PON equipment
CN109861842A (en) * 2018-11-23 2019-06-07 阿里巴巴集团控股有限公司 O&M method, apparatus, electronic equipment and the storage medium of server cluster
CN110472856A (en) * 2019-08-09 2019-11-19 北京直真科技股份有限公司 Automated network cutover management method based on self-service displaying process layout
CN112134734B (en) * 2020-09-15 2023-05-23 网宿科技股份有限公司 Configuration method and device of network equipment
CN113194366B (en) * 2021-04-23 2022-06-03 烽火通信科技股份有限公司 Service configuration rationality checking method and device based on closed-loop constraint

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655522A (en) * 2005-02-24 2005-08-17 港湾网络有限公司 Pre-configuration realization method for cradle type network apparatus service board
CN1705280A (en) * 2004-05-26 2005-12-07 华为技术有限公司 Method and system for implementing white box virtual network element in optical transmission network management system
CN102271046A (en) * 2010-06-01 2011-12-07 杭州华三通信技术有限公司 Method and device for generating configuration file by utilizing virtual single board

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860452B (en) * 2010-05-21 2015-06-10 中兴通讯股份有限公司 Network element management method and system
CN105099786B (en) * 2015-08-31 2018-07-03 华为技术有限公司 The method and apparatus of business configuration in a kind of network cutover

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705280A (en) * 2004-05-26 2005-12-07 华为技术有限公司 Method and system for implementing white box virtual network element in optical transmission network management system
CN1655522A (en) * 2005-02-24 2005-08-17 港湾网络有限公司 Pre-configuration realization method for cradle type network apparatus service board
CN102271046A (en) * 2010-06-01 2011-12-07 杭州华三通信技术有限公司 Method and device for generating configuration file by utilizing virtual single board

Also Published As

Publication number Publication date
CN105099786A (en) 2015-11-25
WO2017036330A1 (en) 2017-03-09

Similar Documents

Publication Publication Date Title
CN105099786B (en) The method and apparatus of business configuration in a kind of network cutover
CN104704775B (en) It was found that, confirm and configuration hardware inventory component
CN102880532B (en) Cloud technology-based test system and method
CN104978258B (en) Automatic software test method and system
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN103186466B (en) Information interactive testing device and method based on association automatic generating test case
CN107967316A (en) A kind of method of data synchronization, equipment and computer-readable recording medium
CN103475682B (en) File transfer method and file transfer equipment
CN104360951B (en) A kind of script method of testing and device
CN105653630A (en) Data migration method and apparatus for distributed database
CN107911249A (en) Order line sending method, device and the equipment of a kind of network equipment
CN101145993A (en) A multi-point access interface test method and its test system
CN106293859A (en) Software upgrading based on controller or method for burn-recording, device and system
CN105450476A (en) Regression test system and test method
CN101163050A (en) Equipment near-end maintenance method, system and equipment
CN107078806B (en) The programmed method and operating method and electric interfaces equipment of optical transceiver
CN106302448A (en) remote access control method and device
CN110377590A (en) Data collection system, method and computer readable storage medium based on Internet of Things
CN105095103A (en) Storage device management method and device used for cloud environment
CN107908469A (en) A kind of method for scheduling task and system
CN107911251A (en) A kind of method for configuring network equipment, device and medium
CN108418752B (en) A kind of creation method and device of aggregation group
CN104270446A (en) Enterprise management system integration method based on user selection
US20060265567A1 (en) Image forming apparatus and method of recognizing partitions in an external memory device connected thereto
CN105988903A (en) Laptop mainboard tester

Legal Events

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