CN101222358A - Configuration emigration method and device - Google Patents

Configuration emigration method and device Download PDF

Info

Publication number
CN101222358A
CN101222358A CNA2008100008027A CN200810000802A CN101222358A CN 101222358 A CN101222358 A CN 101222358A CN A2008100008027 A CNA2008100008027 A CN A2008100008027A CN 200810000802 A CN200810000802 A CN 200810000802A CN 101222358 A CN101222358 A CN 101222358A
Authority
CN
China
Prior art keywords
hardware
destination locations
configuration information
configuration
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100008027A
Other languages
Chinese (zh)
Other versions
CN101222358B (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 CN2008100008027A priority Critical patent/CN101222358B/en
Publication of CN101222358A publication Critical patent/CN101222358A/en
Priority to PCT/CN2009/070134 priority patent/WO2009097768A1/en
Application granted granted Critical
Publication of CN101222358B publication Critical patent/CN101222358B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements

Landscapes

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

Abstract

The invention relates to the communication equipment field and discloses a configuration migration method and a device to carry out the method, wherein the configuration migration method comprises the following steps that: a hardware migration indication comprising the original location information of a hardware to be migrated and the destination location information of the hardware to be migrated is received; the destination location corresponding to the destination location information is monitored whether hardware is inserted into; if the destination location is monitored that hardware is inserted into, the hardware which is inserted into the designation location is provided with configuration information of the destination location, wherein the configuration information of the destination location is the same as the configuration information of the original location and the original location is corresponding to the information of the original location. If the technical proposal provided the invention is adopted, manual recovery of the corresponding configuration of the hardware is not needed necessarily during the course when the hardware location is migrated.

Description

A kind of configuration emigration method and device
Technical field
The present invention relates to communication equipment field, be specifically related to a kind of configuration emigration method and device.
Background technology
Communication equipment comprises one group of relevant hardware cell and software systems, pass through software systems, setting to the function enable/disable of component software and hardware cell, various parameter, syntagmatic etc., just can be so that equipment externally provides certain communication capacity, combine with the equipment of periphery, just can form a communication network, communication service is provided.Under the initial condition, equipment can only provide basic functions the most without any being provided with.Allowing normally provides communication function with an equipment, is essential for the configuration of equipment, especially for the network site than higher router device.A common communication equipment can comprise a plurality of veneers of shift position flexibly, and communication interface is arranged on the veneer, and the communication interface of two equipment can connect by transmission cable, so that form a communication path.
In order flexibly the interface of all kinds and quantity to be integrated on the communication equipment, the slot of some can be provided at Equipment Foundations frame part (hereinafter referred to as machine frame), can insert the identical veneer of physical specification.And dissimilarly can be integrated on the different veneers with the interface of quantity, perhaps be integrated on the card of subsection more, and the fixed position that card can insert veneer.By selecting different veneers and/or interface card flexibly, and veneer is inserted into machine frame, just can constructs an equipment that satisfies particular network communication position needs.Equipment is applied to after the network, may be because of the variation of network traffics, the variation of device node function etc., and demand that equipment is reconfigured has appearred, such as increasing new veneer, provide more interface quantity etc.When expanding new veneer, interface, might be for the consideration of convenient later maintenance, also might be for rearranging interface position, rationally utilizing the consideration of the disposal ability of interface, can need the veneer that originally had or the position of the interface card on the veneer are moved.
For the above-mentioned position that needs the mobile hardware unit, still need to keep the situation of its configuration (setting) and function in logic, present implementation method is as described below:
Suppose that hardware cell HU1 moves to the Y position from the X position, when HU1 removed from the X position, system kept the configuration CFG (X) 1 of X position, becomes disabled state; After HU1 inserted the Y position, the configuration CFG (Y) of the Y position that system will before preserve re-executed on HU1, and CFG this moment (Y) may be not corresponding with HU1, and promptly configuration may be wrong; If before there be not CFG (Y), then HU1 remains the sky configuration status, needs this moment the user by hand the content of CFG (X) 1 to be configured to again the reposition Y of HU1 on equipment, forms new CFG (Y) 1.Simultaneously, when the X position is inserted hardware cell HU2 once more, the CFG (X) 1 that system can attempt preserving recovers, equally, the CFG (X) 1 of this moment is may be not corresponding with the hardware cell HU2 that inserts once more yet, therefore may have logic error because in logic the user HU1 and configuration emigration thereof to the Y position, the configuration CFG (X) 1 of original corresponding HU1 should abandon, and recovery can cause logical miss again.
In realizing process of the present invention, the inventor finds: in the hardware location transition process, the configuration that system is recovered automatically may be not corresponding with hardware, can cause the system logic confusion; If the destination locations of hardware migration does not have configuration information, also need manually to be configured, increased workload.
Summary of the invention
The embodiment of the invention provides a kind of configuration emigration method and device, and the technical scheme of using the embodiment of the invention to provide in the hardware location transition process, can not need manually to be the configuration of hardware recovery correspondence.
The purpose of the embodiment of the invention is achieved through the following technical solutions:
The embodiment of the invention provides a kind of configuration emigration method, comprising:
Receive hardware migration indication, described hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
Whether the monitoring destination locations has hardware to insert, and described destination locations is corresponding with described destination locations information;
There is hardware to insert if monitor described destination locations, configuration information for the hardware configuration destination locations that inserts described destination locations, the configuration information of described destination locations is identical with the configuration information of described original position, and described original position is corresponding with described original position information.
The embodiment of the invention also provides another kind of configuration emigration method, comprising:
Receive hardware migration indication, described hardware migration indication comprises the original position information of hardware to be migrated;
The identification information of related described hardware to be migrated and the configuration information of original position, described original position is corresponding with described original position information;
Whether monitoring has hardware to insert;
Insert if monitored hardware, judge whether the identification information of the hardware that inserts is identical with the identification information of described hardware to be migrated;
If identical, according to the related information of the configuration information of the identification information of described hardware to be migrated and described original position, be the configuration information of the hardware configuration destination locations of described insertion, the configuration information of described destination locations is identical with the configuration information of described original position.
The embodiment of the invention also provides a kind of configuration emigration device, comprising:
The indication receiving element is used to receive hardware migration indication, and described hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
Monitoring means is used for after described indication receiving element receives described hardware migration indication, and whether the monitoring destination locations has hardware to insert, and described destination locations is corresponding with described destination locations information;
Dispensing unit, be used for monitoring described destination locations when having hardware to insert at described monitoring means, configuration information for the hardware configuration destination locations that inserts described destination locations, the configuration information of described destination locations is identical with the configuration information of original position, and described original position is corresponding with described original position information.
The embodiment of the invention also provides another kind of configuration emigration device, comprising:
The indication receiving element is used to receive hardware migration indication, and described hardware migration indication comprises the original position information of hardware to be migrated;
Associative cell is used for after described indication receiving element receives described hardware migration indication, the identification information of related described hardware to be migrated and the configuration information of original position, and described original position is corresponding with described original position information;
Monitoring means is used for after described indication receiving element receives described hardware migration indication, and whether monitoring has hardware to insert;
The sign judging unit is used for judging whether the identification information of the hardware that inserts is identical with the identification information of described hardware to be migrated when described monitoring means has monitored the hardware insertion;
Dispensing unit is used for the identification information of the hardware that inserts in described sign judgment unit judges and described
When the identification information of hardware to be migrated is identical, related information according to the configuration information of the identification information of described hardware to be migrated and described original position, be the configuration information of the hardware configuration destination locations of described insertion, the configuration information of described destination locations is identical with the configuration information of described original position.
The above technical scheme that provides from the embodiment of the invention as can be seen, because the embodiment of the invention is after receiving hardware migration indication, can to whether having the hardware insertion to monitor, thereby when having monitored the hardware insertion, configuration information for the hardware recovery of the insertion destination locations identical with this hardware configuration information in situ, thereby can guarantee configuration information, can not cause the system logic confusion into the hardware recovery correspondence; Simultaneously, after hardware inserts destination locations, do not need manually the configuration of hardware is recovered, thereby saved workload, and possible makeing mistakes when having avoided manual reversion.
Description of drawings
Fig. 1 is the flow chart of configuration emigration method embodiment one in the embodiment of the invention;
Fig. 2 is the flow chart of configuration emigration method embodiment two in the embodiment of the invention;
Fig. 3 is the flow chart of configuration emigration method embodiment three in the embodiment of the invention;
Fig. 4 is the structure chart of configuration emigration device embodiment one in the embodiment of the invention;
Fig. 5 is the structure chart of configuration emigration device embodiment two in the embodiment of the invention.
Embodiment
For make purpose of the present invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 1 has described the flow process of the configuration emigration method embodiment one that the embodiment of the invention provides, comprising:
Step 101, reception hardware migration indication; Hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
The hardware migration indication that receives can be that the user imports, and for example the user is from the information of Command Line Interface input, from the information of webmaster instrument input, even can be that the indication imported from control panel etc. can be as hardware migration indication;
Whether step 102, monitoring destination locations have hardware to insert; Wherein, destination locations is corresponding with destination locations information; In equipment, all there is unique corresponding position information each position, and positional information and position are one to one, thereby knows that destination locations just can know destination locations information, knows that destination locations information also can know destination locations.
After receiving hardware migration indication, can know the destination locations of hardware migration to be migrated, thereby can monitor destination locations, judged whether that hardware inserts;
There is hardware to insert if step 103 monitors destination locations, is the configuration information of the hardware configuration destination locations that inserts destination locations; The configuration information of destination locations is identical with the configuration information of original position.Wherein, original position is corresponding with original position information.
When having monitored the hardware insertion, then the configuration information of the destination locations identical with the configuration information of original position can be disposed to the hardware that inserts destination locations.Wherein, for the configuration information of the hardware configuration destination locations that inserts destination locations specifically can comprise: with the configuration information conversion of original position or be revised as the configuration information of destination locations, conversion or the configuration information of revising the destination locations that obtains are disposed to the hardware that inserts destination locations; At this moment, behind the configuration information of hardware configuration destination locations that is the insertion destination locations, can delete the configuration information of original position, avoid being equipped with in position and recover not corresponding configuration when new hardware inserts.Certainly, also can save this step of configuration information that the configuration information of original position is converted to destination locations, but directly the configuration information of original position is revised as the configuration information of destination locations, thereby can delete the configuration information of original position simultaneously.
Wherein, when configuration information and location independent, the configuration information of original position can directly be converted to the configuration information of destination locations; When configuration information was relevant with the position, the information that only information of the original position in the configuration information of original position need be revised as destination locations can obtain the configuration information of destination locations.When the configuration information of existing destination locations exists, can also can directly use the configuration information of changing or revise the destination locations that obtains to cover the configuration information of existing destination locations with the configuration information deletion of existing destination locations before the configuration information of the configuration information of original position being changed or is revised as destination locations.
From the above, present embodiment is after receiving hardware migration indication, can monitor the destination locations of hardware migration, thereby monitoring destination locations when having hardware to insert, configuration information for the hardware recovery of the insertion destination locations destination locations identical with this hardware configuration information in situ, thereby can guarantee configuration information, can not cause the system logic confusion into the hardware recovery correspondence; Simultaneously, after hardware inserts destination locations, do not need manually the configuration of hardware is recovered, thereby saved workload, and possible makeing mistakes when having avoided manual reversion.
Further, the configuration emigration method embodiment one that the embodiment of the invention provides after receiving hardware migration indication may further include: judge whether destination locations is idle; Only whether when destination locations is idle, just monitoring destination locations has hardware to insert.Thereby can guarantee the execution that hardware migration can be correct, because hardware migration indication may have possibility of makeing mistakes by artificial input, thus can whether the free time be detected to destination locations, check out whether be that incorrect hardware migration is indicated; If destination locations is not idle, then show it is incorrect hardware migration indication, and then the user reminded, for example can on graphical interfaces, show with eye-catching form, or sound etc. other for the mode of user's perception the user is reminded easily.
Further, the configuration emigration method embodiment one that the embodiment of the invention provides after receiving described hardware migration indication can also comprise: write down the identification information of hardware to be migrated, the identification information of hardware is unique in system, and is corresponding one by one with hardware.And then take a step forward at the configuration information for the hardware configuration destination locations that inserts destination locations and to comprise: the identification information of judging the hardware that the inserts destination locations whether identification information with the hardware to be migrated of record is identical, if identical, just would be the configuration information that inserts the hardware configuration destination locations of destination locations.If inequality, then the hardware of explanation insertion is not the hardware of original position, and this moment, the configuration information for the hardware recovery original position of insertion may cause makeing mistakes, and then caused the system logic confusion, and also can remind the user this moment.
Fig. 2 has described the flow process of the configuration emigration method embodiment two that the embodiment of the invention provides, comprising:
Step 201, reception hardware migration indication; Hardware migration indication comprises the original position information of hardware to be migrated;
The identification information of step 202, related hardware to be migrated and the configuration information of original position; Wherein, original position is corresponding with original position information;
Because the identification information of hardware is unique in system, thereby the identification information that can related hardware to be migrated and the configuration information of original position, thereby make the configuration information of original position can be corresponding with hardware.
Whether step 203, monitoring have hardware to insert;
Step 204, having monitored hardware when inserting, judge whether the identification information of the hardware that inserts identical with the identification information of hardware to be migrated;
Step 205, when the identification information of the identification information of the hardware that inserts and hardware to be migrated is identical, related information according to the configuration information of the identification information of hardware to be migrated and original position, be the configuration information of the hardware configuration destination locations that inserts, the configuration information of destination locations is identical with the configuration information of original position.
Insert monitoring hardware, and during the related configuration information of the identification information of the hardware that inserts, then can be directly the configuration information of sign be disposed hardware to insertion.If the configuration information of the identification information association of no use of the hardware that inserts, then the hardware of explanation insertion is a new hardware, the processing that need preset, for example new hardware is configured by the user, perhaps specify the configuration information that uses which position etc. by the user, the processing the when embodiment of the invention is not new hardware to the hardware that inserts limits.Wherein, according to the related information of the configuration information of the identification information of hardware to be migrated and original position, for the configuration information of the hardware configuration destination locations that inserts is specially: the configuration information of determining original position according to the related information of the configuration information of the identification information of hardware to be migrated and original position; The configuration information of original position is converted to the configuration information of destination locations; The configuration information of destination locations is disposed hardware to described insertion; At this moment, behind the configuration information of hardware configuration destination locations that is the insertion destination locations, can delete the configuration information of original position, avoid being equipped with in position and recovered not corresponding configuration when new hardware inserts.
From the above, present embodiment is after receiving hardware migration indication, can to whether having the hardware insertion to monitor, thereby when having monitored the hardware insertion, configuration information for the hardware recovery of the insertion destination locations identical with this hardware configuration information in situ, thereby can guarantee configuration information, can not cause the system logic confusion into the hardware recovery correspondence; Simultaneously, after hardware inserts destination locations, do not need manually the configuration of hardware is recovered, thereby saved workload, and possible makeing mistakes when having avoided manual reversion.
Suppose and hardware cell (HU) need be moved to the Y position from the X position, receive hardware migration indication, when HU when extract the X position, the configuration information CFG (X) of corresponding HU will can not work on the X position, the inoperative state of CFG (X) can be called inactive waiting returns to form, accordingly, the state that CFG (X) can be worked is called active state; Clear and definite with HU when the Y position is moved in the X position, CFG (X) can be converted to the configuration information CFG (Y) of Y position because this moment, hardware did not insert the Y position, the state of CFG (Y) also can be that inactive waiting returns to form.When HU inserted in the Y position, system carried out the recovery of CFG (Y), and CFG (Y) is disposed to the HU that inserts the Y position, and being configured on the new position Y that HU originally had come into force; The configuration emigration method embodiment three that the embodiment of the invention provides describes this flow process in detail, as shown in Figure 3, comprising:
Step 301: receive hardware migration indication, hardware migration indication comprises that the HU of X position need migrate to the information of Y;
At this moment, the HU that knows the X position needs migration, therefore can make X position and Y position enter transition state simultaneously, and it is normal state that relative can claiming do not need the state of the position of moving.Because the HU of X position is not pulled out, and continues to play a role in order to make HU, the configuration information CFG (X) of HU can keep active state.
Whether step 302, to detect the Y position current idle; If, enter step 303, if not, enter step 308;
Step 303, when HU when the X position is pulled out, the identification information of record HU;
Identification information can be a hardware identifier (HU.ID) etc.;
Because the HU of this moment can not work, thus can be further be that inactive waiting returns to form with the state exchange of CFG (X);
Step 304, CFG (X) is converted to CFG (Y);
Can simultaneously CFG (X) be emptied.Can certainly after follow-up some moment, just CFG (X) be emptied, for example, in the time of need inserting HU again in the X position, can use original CFG (X) to be configured recovery having cancelled hardware migration indication;
Step 305, monitor the Y position and have HU to insert;
Whether the identification information of the HU that step 306, judgement are inserted is identical with the identification information of the HU that writes down, if enter step 307; If not, enter step 308;
Step 307, use CFG (Y) are configured the HU that inserts the Y position; Process ends;
This moment, X finished to the HU transition process of Y, can be normal state with the state exchange of X position and Y position; Because HU has used the CFG (Y) identical with CFG (X) to recover, HU is restored on the Y position at the repertoire of X position simultaneously;
Step 308, easily being that the mode of user's perception is notified the user; Process ends.
From the above, present embodiment is after receiving hardware migration indication, can monitor the destination locations of hardware migration, thereby monitoring destination locations when having hardware to insert, configuration information for the hardware recovery of the insertion destination locations destination locations identical with this hardware configuration information in situ, configuration information can be guaranteed, the system logic confusion can be do not caused into the hardware recovery correspondence; Simultaneously, after hardware inserts destination locations, do not need manually the configuration of hardware is recovered, thereby saved workload, and possible makeing mistakes when having avoided manual reversion.
Wherein, may can receive the indication of cancellation migration after having received hardware migration indication, can cancel the transition state of X position and Y position this moment, is converted to normal state; If, CFG (X) is changed for CFG (Y), need deletion CFG (Y); Further,, then need earlier CFG (Y) be converted to CFG (X) at deletion CFG (Y) before, just CFG (Y) be deleted then if deleted CFG (X).
Being understandable that the above-mentioned configuration emigration method that the embodiment of the invention provides only is to realize implementation of the present invention, is not to limit the present invention can only realize according to above-mentioned flow process; For example, the identification information of record HU might not be limited to HU when extract the X position, if the Y position have hardware insert before the identification information of record HU can not influence realization of the present invention; The HU using CFG (Y) to insertion Y position that equally, only CFG (X) need be converted to CFG (Y) is configured to carry out before and can influence realization of the present invention etc.
Followingly introduce the configuration emigration device that the embodiment of the invention provides again, Fig. 4 has described the structure of configuration emigration device embodiment one, comprising:
Indication receiving element 401 is used to receive hardware migration indication, and this hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
Monitoring means 402 is used for after indication receiving element 401 receives hardware migration indication, and whether the monitoring destination locations has hardware to insert; Destination locations is corresponding with destination locations information;
Dispensing unit 403 is used for monitoring destination locations when having hardware to insert at monitoring means 402, is the configuration information of the hardware configuration destination locations that inserts destination locations, and the configuration information of destination locations is identical with the configuration information of original position; Original position is corresponding with original position information.
Wherein, dispensing unit 403 specifically can comprise:
Converting unit 4031 is used for monitoring destination locations when having hardware to insert at monitoring means 402, the configuration information of original position is converted to the configuration information of destination locations;
Configuration information dispensing unit 4032 is used for after converting unit 4031 is converted to the configuration information of destination locations with the configuration information of original position, and the configuration information of destination locations is disposed to the hardware that inserts destination locations.At this moment, configuration emigration device embodiment one can also comprise delete cells 404, be used for behind the configuration information of dispensing unit 403 for the hardware configuration destination locations of insertion destination locations, the configuration information of deletion original position, when avoiding original position to be equipped with new hardware insertion, use incorrect configuration information to be configured.
From the above, present embodiment is after receiving hardware migration indication, can monitor the destination locations of hardware migration, thereby monitoring destination locations when having hardware to insert, configuration information for the hardware recovery of the insertion destination locations destination locations identical with this hardware configuration information in situ, thereby can guarantee configuration information, can not cause the system logic confusion into the hardware recovery correspondence; Simultaneously, after hardware inserts destination locations, do not need manually the configuration of hardware is recovered, thereby saved workload, and possible makeing mistakes when having avoided manual reversion.
Further, the configuration emigration device embodiment one that the embodiment of the invention provides can also comprise: idle determination unit 405, be used for after indication receiving element 401 receives hardware migration indication, and judge whether destination locations is idle; Monitoring means 402 only is used for when idle determination unit judges destination locations is idle, and whether just monitor destination locations has the hardware insertion.Thereby guarantee the execution that the hardware migration can be correct.
Further, the configuration emigration device embodiment one that the embodiment of the invention provides can also comprise: record cell 406 is used for writing down the identification information of hardware to be migrated after indication receiving element 401 receives hardware migration indication; Sign judging unit 407 is used for monitoring destination locations when having hardware to insert at monitoring means 402, and the identification information of judging the hardware that the inserts destination locations whether identification information with the hardware to be migrated of record cell 406 records is identical; At this moment, 403 of dispensing units insert the identification information of identification information and the hardware to be migrated of recording unit records of hardware of destination locations when identical in the sign judgment unit judges, just are the configuration information of the hardware configuration destination locations of insertion destination locations.Thereby can guarantee that the configuration information that disposes to the hardware that inserts destination locations is correct.
Fig. 5 has described the structure of the configuration emigration device embodiment two that the embodiment of the invention provides, comprising:
Indication receiving element 501 is used to receive hardware migration indication, and hardware migration indication comprises the original position information of hardware to be migrated;
Associative cell 502 is used for after indication receiving element 501 receives hardware migration indication the identification information of related hardware to be migrated and the configuration information of original position; Original position is corresponding with original position information;
Monitoring means 503 is used for after indication receiving element 501 receives hardware migration indication, and whether monitoring has hardware to insert;
Sign judging unit 504 is used for judging whether the identification information of the hardware that inserts is identical with the identification information of hardware to be migrated when monitoring means 503 has monitored the hardware insertion;
Dispensing unit 505, when the identification information that is used for judging the hardware that inserts at sign judging unit 504 is identical with the identification information of hardware to be migrated, related information according to the configuration information of the identification information of hardware to be migrated and original position, be the configuration information of the hardware configuration destination locations that inserts, the configuration information of destination locations is identical with the configuration information of original position.
Wherein, dispensing unit 505 specifically can comprise: configuration information determining unit 5051, when the identification information that is used for judging the hardware that inserts at sign judging unit 504 is identical with the identification information of hardware to be migrated, determine the configuration information of original position according to the related information of the configuration information of the identification information of hardware to be migrated and original position; Converting unit 5052 is used for the configuration information of original position being changed or is revised as the configuration information of destination locations after configuration information determining unit 5051 is determined the configuration information of original position; Configuration information dispensing unit 5053 is used in converting unit 5052 after the conversion of the configuration information of original position or being revised as the configuration information of destination locations, and the configuration information of destination locations is disposed to the hardware that inserts.At this moment, the configuration emigration device embodiment two that the embodiment of the invention provides can also comprise: delete cells 506 is used for behind the configuration information of dispensing unit for the hardware configuration destination locations of insertion destination locations the configuration information of deletion original position.When avoiding original position to be equipped with new hardware insertion, use incorrect configuration information to be configured.
From the above, present embodiment is after receiving hardware migration indication, can to whether having the hardware insertion to monitor, thereby when having monitored the hardware insertion, configuration information for the hardware recovery of the insertion destination locations identical with this hardware configuration information in situ, thereby can guarantee configuration information, can not cause the system logic confusion into the hardware recovery correspondence; Simultaneously, after hardware inserts destination locations, do not need manually the configuration of hardware is recovered, thereby saved workload, and possible makeing mistakes when having avoided manual reversion.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when carrying out
Receive hardware migration indication, described hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
Whether the monitoring destination locations has hardware to insert, and described destination locations is corresponding with described destination locations information;
There is hardware to insert if monitor described destination locations, configuration information for the hardware configuration destination locations that inserts described destination locations, the configuration information of described destination locations is identical with the configuration information of described original position, and described original position is corresponding with described original position information.
Or comprise the steps:
Receive hardware migration indication, described hardware migration indication comprises the original position information of hardware to be migrated;
The identification information of related described hardware to be migrated and the configuration information of original position, described original position is corresponding with described original position information;
Whether monitoring has hardware to insert;
Insert if monitored hardware, judge whether the identification information of the hardware that inserts is identical with the identification information of described hardware to be migrated;
If identical, according to the related information of the configuration information of the identification information of described hardware to be migrated and described original position, be the configuration information of the hardware configuration destination locations of described insertion, the configuration information of described destination locations is identical with the configuration information of described original position.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than a kind of configuration emigration method and device that the embodiment of the invention provided are described in detail, the explanation of above embodiment just is used for help understanding method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. a configuration emigration method is characterized in that, comprising:
Receive hardware migration indication, described hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
Whether the monitoring destination locations has hardware to insert, and described destination locations is corresponding with described destination locations information;
There is hardware to insert if monitor described destination locations, configuration information for the hardware configuration destination locations that inserts described destination locations, the configuration information of described destination locations is identical with the configuration information of described original position, and described original position is corresponding with described original position information.
2. configuration emigration method as claimed in claim 1 is characterized in that, receives further to comprise after described hardware migration is indicated:
Judge whether described destination locations is idle;
If whether the described destination locations free time, monitoring described destination locations has hardware to insert.
3. configuration emigration method as claimed in claim 1 is characterized in that, receives further to comprise after described hardware migration is indicated:
Write down the identification information of described hardware to be migrated;
For taking a step forward, the configuration information of the hardware configuration destination locations that inserts described destination locations comprises:
The identification information with the described hardware to be migrated of record is identical judge to insert the identification information of hardware of described destination locations, if identical, is the configuration information of the hardware configuration destination locations that inserts described destination locations.
4. as the arbitrary described configuration emigration method of claim 1 to 3, it is characterized in that described is that the configuration information that inserts the hardware configuration destination locations of described destination locations is specially:
The configuration information of described original position is converted to the configuration information of described destination locations, or the configuration information of described original position is revised as the configuration information of described destination locations;
The configuration information of described destination locations is disposed to the hardware that inserts described destination locations.
5. configuration emigration method as claimed in claim 1 is characterized in that, further comprises behind the configuration information for the hardware configuration destination locations that inserts described destination locations:
Delete the configuration information of described original position.
6. a configuration emigration method is characterized in that, comprising:
Receive hardware migration indication, described hardware migration indication comprises the original position information of hardware to be migrated;
The identification information of related described hardware to be migrated and the configuration information of original position, described original position is corresponding with described original position information;
Whether monitoring has hardware to insert;
Insert if monitored hardware, judge whether the identification information of the hardware that inserts is identical with the identification information of described hardware to be migrated;
If identical, according to the related information of the configuration information of the identification information of described hardware to be migrated and described original position, be the configuration information of the hardware configuration destination locations of described insertion, the configuration information of described destination locations is identical with the configuration information of described original position.
7. configuration emigration method as claimed in claim 6 is characterized in that, described according to described hardware to be migrated identification information and the related information of the configuration information of original position, for the configuration information of the hardware configuration destination locations of described insertion is specially:
Determine the configuration information of described original position according to the related information of the configuration information of the identification information of described hardware to be migrated and described original position;
The configuration information of described original position is converted to the configuration information of described destination locations;
The configuration information of described destination locations is disposed hardware to described insertion.
8. configuration emigration method as claimed in claim 7 is characterized in that, further comprises behind the configuration information for the hardware configuration destination locations of described insertion:
Delete the configuration information of described original position.
9. a configuration emigration device is characterized in that, comprising:
The indication receiving element is used to receive hardware migration indication, and described hardware migration indication comprises the original position information of hardware to be migrated and destination locations information to be migrated;
Monitoring means is used for after described indication receiving element receives described hardware migration indication, and whether the monitoring destination locations has hardware to insert, and described destination locations is corresponding with described destination locations information;
Dispensing unit, be used for monitoring described destination locations when having hardware to insert at described monitoring means, configuration information for the hardware configuration destination locations that inserts described destination locations, the configuration information of described destination locations is identical with the configuration information of original position, and described original position is corresponding with described original position information.
10. configuration emigration device as claimed in claim 9 is characterized in that, also comprises:
The idle determination unit is used for judging whether described destination locations is idle after described indication receiving element receives described hardware migration indication;
Described monitoring means is used for when the described destination locations of described idle determination unit judges is idle, and whether monitor described destination locations has hardware to insert.
11. configuration emigration device as claimed in claim 9 is characterized in that, also comprises:
Record cell is used for writing down the identification information of described hardware to be migrated after described indication receiving element receives described hardware migration indication;
The sign judging unit is used for monitoring described destination locations when having hardware to insert at described monitoring means, and the identification information of judging the hardware that the inserts described destination locations whether identification information with the described hardware to be migrated of described recording unit records is identical;
Described dispensing unit, be used for inserting the identification information of identification information and the described hardware to be migrated of described recording unit records of hardware of described destination locations when identical, be the configuration information of the hardware configuration destination locations that inserts described destination locations in described sign judgment unit judges.
12. configuration emigration device as claimed in claim 9 is characterized in that, described dispensing unit specifically comprises:
Converting unit, be used for monitoring described destination locations when having hardware to insert at described monitoring means, the configuration information of described original position is converted to the configuration information of described destination locations, or the configuration information of described original position is revised as the configuration information of described destination locations;
The configuration information dispensing unit, be used for after the configuration information that described converting unit is converted to the configuration information of described original position the configuration information of described destination locations or described original position is revised as the configuration information of described destination locations, the configuration information of described destination locations is disposed to the hardware that inserts described destination locations.
13. configuration emigration device as claimed in claim 9 is characterized in that, also comprises:
Delete cells is used for deleting the configuration information of described original position behind the configuration information of described dispensing unit for the hardware configuration destination locations of the described destination locations of insertion.
14. a configuration emigration device is characterized in that, comprising:
The indication receiving element is used to receive hardware migration indication, and described hardware migration indication comprises the original position information of hardware to be migrated;
Associative cell is used for after described indication receiving element receives described hardware migration indication, the identification information of related described hardware to be migrated and the configuration information of original position, and described original position is corresponding with described original position information;
Monitoring means is used for after described indication receiving element receives described hardware migration indication, and whether monitoring has hardware to insert;
The sign judging unit is used for judging whether the identification information of the hardware that inserts is identical with the identification information of described hardware to be migrated when described monitoring means has monitored the hardware insertion;
Dispensing unit, when the identification information that is used for the hardware that inserts in described sign judgment unit judges is identical with the identification information of described hardware to be migrated, related information according to the configuration information of the identification information of described hardware to be migrated and described original position, be the configuration information of the hardware configuration destination locations of described insertion, the configuration information of described destination locations is identical with the configuration information of described original position.
15. configuration emigration device as claimed in claim 14 is characterized in that, described dispensing unit comprises:
The configuration information determining unit, when the identification information that is used for the hardware that inserts in described sign judgment unit judges is identical with the identification information of described hardware to be migrated, determine the configuration information of described original position according to the related information of the configuration information of the identification information of described hardware to be migrated and described original position;
Converting unit is used for the configuration information of described original position being converted to the configuration information of described destination locations after described configuration information determining unit is determined the configuration information of described original position;
The configuration information dispensing unit is used for after described converting unit is converted to the configuration information of described destination locations with the configuration information of described original position, and the configuration information of described destination locations is disposed hardware to described insertion.
16. configuration emigration device as claimed in claim 15 is characterized in that, also comprises:
Delete cells is used for deleting the configuration information of described original position behind the configuration information of described dispensing unit for the hardware configuration destination locations of the described destination locations of insertion.
CN2008100008027A 2008-01-22 2008-01-22 Configuration emigration method and device Expired - Fee Related CN101222358B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008100008027A CN101222358B (en) 2008-01-22 2008-01-22 Configuration emigration method and device
PCT/CN2009/070134 WO2009097768A1 (en) 2008-01-22 2009-01-14 Configuration migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100008027A CN101222358B (en) 2008-01-22 2008-01-22 Configuration emigration method and device

Publications (2)

Publication Number Publication Date
CN101222358A true CN101222358A (en) 2008-07-16
CN101222358B CN101222358B (en) 2010-06-09

Family

ID=39631949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100008027A Expired - Fee Related CN101222358B (en) 2008-01-22 2008-01-22 Configuration emigration method and device

Country Status (2)

Country Link
CN (1) CN101222358B (en)
WO (1) WO2009097768A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009097768A1 (en) * 2008-01-22 2009-08-13 Huawei Technologies Co., Ltd. Configuration migration method and device
CN102369713A (en) * 2011-08-29 2012-03-07 华为技术有限公司 Automatic removing method and device of system configuration items
CN106789309A (en) * 2016-12-30 2017-05-31 武汉长光科技有限公司 A kind of business configuration file migration method based on OLT device
CN107133184A (en) * 2017-06-06 2017-09-05 湖南中云飞华信息技术有限公司 The implementation method of configurable state machine, configurable state machine and terminal device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1109416C (en) * 2000-04-25 2003-05-21 华为技术有限公司 Method and equipment for swapping active with standby switches
KR20030054648A (en) * 2001-12-26 2003-07-02 삼성전기주식회사 Slot type regidential gateway
AU2003221235A1 (en) * 2003-03-28 2004-10-18 Utstarcom (China) Co, Ltd. A method for configurating a singleboard automatically
CN100395962C (en) * 2004-07-13 2008-06-18 华为技术有限公司 Method and system for equipment switching in communication system
CN1744512A (en) * 2004-08-30 2006-03-08 华为技术有限公司 Network resource management method
CN101079734B (en) * 2007-06-22 2012-03-07 中兴通讯股份有限公司 A hot plug configuration recovery method of rack device
CN101222358B (en) * 2008-01-22 2010-06-09 华为技术有限公司 Configuration emigration method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009097768A1 (en) * 2008-01-22 2009-08-13 Huawei Technologies Co., Ltd. Configuration migration method and device
CN102369713A (en) * 2011-08-29 2012-03-07 华为技术有限公司 Automatic removing method and device of system configuration items
WO2012119423A1 (en) * 2011-08-29 2012-09-13 华为技术有限公司 Method and device for automatically migrating system configuration item
US9171053B2 (en) 2011-08-29 2015-10-27 Huawei Technologies Co., Ltd. Method and device for automatic migration of system configuration item
CN106789309A (en) * 2016-12-30 2017-05-31 武汉长光科技有限公司 A kind of business configuration file migration method based on OLT device
CN107133184A (en) * 2017-06-06 2017-09-05 湖南中云飞华信息技术有限公司 The implementation method of configurable state machine, configurable state machine and terminal device
CN107133184B (en) * 2017-06-06 2020-02-18 湖南中易利华信息技术有限公司 Configurable state machine implementation method, configurable state machine and terminal equipment

Also Published As

Publication number Publication date
CN101222358B (en) 2010-06-09
WO2009097768A1 (en) 2009-08-13

Similar Documents

Publication Publication Date Title
US7610511B2 (en) Journal migration method and data recovery management method
CN102346779B (en) Distributed file system and master control node backup method
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN101566959B (en) Using volume snapshots to prevent file corruption in failed restore operations
US7996611B2 (en) Backup data management system and backup data management method
CN101364167A (en) Printing control method and device
EP2252936B1 (en) A method, apparatus and system to dynamically manage logical path resources
CN114637475A (en) Distributed storage system control method and device and readable storage medium
CN101222358B (en) Configuration emigration method and device
CN101079734B (en) A hot plug configuration recovery method of rack device
CN101262375B (en) A dynamic configuration recovery method and system for network devices
CN101286886B (en) Method and device to recover configuring information of network appliance
CN109324549B (en) Dual-master control equipment configuration method and dual-master control equipment
CN110351313A (en) Data cache method, device, equipment and storage medium
CN104793981A (en) Online snapshot managing method and device for virtual machine cluster
CN102025758A (en) Method, device and system fore recovering data copy in distributed system
CN104517067A (en) Method, device and system for data access
CN106533751A (en) SDN controller cluster merging method and apparatus
CN107203451A (en) Method and apparatus for handling failure within the storage system
CN101202671A (en) Method and apparatus for terminal port allocating
CN108196954A (en) A kind of file read/write method, system, equipment and computer storage media
CN107863127A (en) A kind of storage device memory cell selecting method and device
US20060212669A1 (en) Control method for storage system, storage system, storage control apparatus, control program for storage system, and information processing system
CN104184614A (en) Rollback configuration method and apparatus
JP4512386B2 (en) Backup system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20160122

EXPY Termination of patent right or utility model