CN101079734A - A hot plug configuration recovery method of rack device - Google Patents

A hot plug configuration recovery method of rack device Download PDF

Info

Publication number
CN101079734A
CN101079734A CN 200710075186 CN200710075186A CN101079734A CN 101079734 A CN101079734 A CN 101079734A CN 200710075186 CN200710075186 CN 200710075186 CN 200710075186 A CN200710075186 A CN 200710075186A CN 101079734 A CN101079734 A CN 101079734A
Authority
CN
China
Prior art keywords
configuration information
business board
groove position
configuration
module
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
CN 200710075186
Other languages
Chinese (zh)
Other versions
CN101079734B (en
Inventor
胡文丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2007100751867A priority Critical patent/CN101079734B/en
Publication of CN101079734A publication Critical patent/CN101079734A/en
Application granted granted Critical
Publication of CN101079734B publication Critical patent/CN101079734B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a restoring method of heat connecting allocation of rack-typed equipment to improve the reliability of the rack-typed business board of network communication, which comprises the following steps: A1. starting the detecting system of main control board; A2. detecting the groove position of the business board; displaying and reserving the allocating information; A3. judging whether the business board is at the groove position; reserving the allocating information of the business board at groove position; A4. restoring the allocating information of the groove position when the business board is plugged in the groove position. The invention can load and allocate the real-time allocating information in the buffer, which realizes reliable and convenient heat connecting allocation restoration.

Description

A kind of method of rack-mount unit hot plug configuration recovery
Technical field
The present invention relates to computer network communication field, relate in particular to a kind of method of rack-mount unit hot plug configuration recovery.
Background technology
In the O﹠M process, be frequent thing to the plug of rack product business board, be very loaded down with trivial details if plug each time all will be configured this business board again.The prior art solution to this problem is to adopt hot plug configuration recovery, can improve the maintainability of equipment greatly.
At present, the method for hot plug configuration recovery employing is generally: each module deposits own modules configured in buffer memory respectively when extracting business board; Each module is taken out the configuration loading again after inserting business board from buffer memory separately.
Yet there are following two problems in this method:
1, module of every increase will increase configuration preservation, the configuration restore Hook Function of corresponding module, otherwise business board is carried out just can not recovering this modules configured after the plug, increase the complexity that realizes;
If business board is extracted in 2 execution, preserve configuration, when restarting the operating process of system then, the buffer memory of each module all is cleared, inserts business board after system start-up is finished again, and the configuration of this business board will be lost.
Therefore, prior art awaits improving and development.
Summary of the invention
The object of the present invention is to provide a kind of reliably, the method for rack-mount unit hot plug configuration recovery easily.
In order to solve the foregoing invention purpose, the invention provides a kind of method of rack-mount unit hot plug configuration recovery, be used for network service rack product service board system; This method comprises the steps:
A1 starts the master control borad detection system;
A2 detects professional board slot position, shows, preserves configuration information;
Whether A3 judges in the groove position described business board, stores the configuration information of described business board when the groove position;
A4 when business board insertion groove position, recovers to be provided with to the configuration information of described groove position.
Wherein, described steps A 3 also comprises step: if the described business board of A31 not in the groove position, keeps the configuration information of described business board when the groove position in configuration file.
Described method, wherein said steps A 3 also comprises the steps:
B1 when described business board is extracted, arrives the current configuration information record of this business board the buffer area of master control borad;
B2 is routed to other each module of upper strata with described configuration information, or sends deletion message to each module;
B3, delete interface message finishes the transmission of configuration information.
Described method, in the wherein said steps A 4, it is as follows that described configuration information recovery is provided with step:
C1 creates interface;
C2 calls other each upper layer module, or transmission interface is created message to each module;
C3 judges the configuring condition the during insertion groove of business board described in buffer area position in the master control borad, if the configuration information when having described business board insertion groove position in the buffer area loads this configuration information.
C4 finishes configuration restore.
Described method, wherein, described step C3 also comprises:
If the configuration information when buffer area does not have described business board insertion groove position then reads the configuration information of described business board when the groove position that keeps in the configuration file, and loads this configuration information.
Described method, wherein, in the method for described configuration restore, the configuration information of described business board insertion groove position extracts by corresponding control module is unified; Described business board is extracted the configuration information of groove position and is unified buffer memory by corresponding control module.
Compared with prior art, the present invention adopts the unified configuration information that extracts a groove position, collects own modules configured information respectively without each module, can reduce the workload of other modules like this; Simultaneously, when business board inserts, system will load configuration to keeping real-time configuration information in the buffer memory, realize reliably, hot plug configuration recovery easily.
Description of drawings
Flow chart when Fig. 1 extracts the groove position for the inventive method business board;
Configuration restore process chart when Fig. 2 is the inventive method business board insertion groove position.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in further detail.
The invention provides a kind of method of rack-mount unit hot plug configuration recovery, be used to improve the reliability of network service rack product business board, its step is as follows:
A1 starts the master control borad detection system;
A2 detects professional board slot position, shows, preserves configuration information;
A3, described business board configuration is pressed the groove position and is preserved, and when preserving configuration information, adds groove position information, and each module is returned configuration information according to the groove position;
A4, the poll of master control borad or Interrupt Process task detect that new business board is extracted or the insertion incident, if described business board, keeps the configuration information of described business board when the groove position not in the groove position; If described business board in the groove position, writes down at any time and keeps the configuration information of described business board in the groove position.;
A5, when business board insertion groove position, notice hot plug task is configured information and recovers set handling.
Wherein, extract the groove position when master control borad detects described business board, the rack-mount unit corresponding system carries out process step as shown in Figure 1:
110, start the master control borad detection system, the configuration information when detecting business board insertion groove position shows and preserves the configuration information of this moment; The configuration information of described business board is pressed the groove position and is preserved, and when preserving configuration information, added corresponding groove position information, and each module is returned configuration information by corresponding groove position;
120, when carry out preserving configuration order, extract the groove position if find certain business board, then the master control borad corresponding cache region keeps this business board and does not extract the groove position configuration information in the configuration file before the groove position;
130, when described business board is extracted, carry out buffer memory in the buffer area that the configuration information record of the current groove position of this business board is distributed to the master control borad in advance;
140, the configuration information behind the buffer memory is routed to other each module of upper strata, and the Hook Function that directly calls each module carries out the initialization setting, or transmission interface deletion message is given each module;
150, delete interface message;
160, finish the transmission of configuration information.
Wherein, when master control borad detected the groove position and has business board to insert, groove position configuration information then recovered to be provided with, and as shown in Figure 2, it is as follows that its configuration information recovery is provided with step:
210, start the master control borad system,
220, detect business board and insert, detecting certain groove position has business board insertion groove position;
230, create the corresponding interface according to the relevant configuration information of business board;
240, described configuration information is routed to other each module of upper strata, the Hook Function that directly calls each module carries out the initialization setting, or transmission interface is created message to each module;
250, when the configuration information of business board start finish after, declare at first in the disconnected buffering area of master control borad whether the cached configuration information of this business board when the groove position is arranged; If have, then load the corresponding configuration information of this buffering area; If no, then read this business board and when the groove position, be retained in groove position configuration information in the master control borad buffer memory region configuration file, and load this configuration information;
260, finish configuration information recovery.
In the inventive method, all configuration informations of some grooves position are extracted by the unification of the corresponding module on its corresponding service plate; Simultaneously, the described business board configuration information of extracting a certain groove position is unified buffer memory by corresponding control module.Like this, just collect own modules configured information respectively, can reduce the workload of other modules like this without each module.
In sum, the present invention adopts the unified configuration information that extracts a groove position, collects own modules configured information respectively without each module, can reduce the workload of other modules like this; Simultaneously, when business board inserts, system will load configuration to keeping real-time configuration information in the buffer memory, realize reliably, hot plug configuration recovery easily.
In a word, the present invention is not limited to above-mentioned execution mode, anyly is familiar with this operator, without departing from the spirit and scope of the present invention, all should drop within protection scope of the present invention.

Claims (7)

1, a kind of method of rack-mount unit hot plug configuration recovery is used for network service rack product service board system; It is characterized in that this method comprises the steps:
A1 starts the master control borad detection system;
A2 detects professional board slot position, shows, preserves configuration information;
Whether A3 judges in the groove position described business board, stores the configuration information of described business board when the groove position;
A4 when business board insertion groove position, recovers to be provided with to the configuration information of described groove position.
2, method according to claim 1 is characterized in that, described steps A 3 also comprises step: if the described business board of A31 not in the groove position, keeps the configuration information of described business board when the groove position in configuration file.
3, method according to claim 2 is characterized in that, described steps A 3 also comprises the steps:
B1 when described business board is extracted, arrives the current configuration information record of this business board the buffer area of master control borad;
B2 is routed to other each module of upper strata with described configuration information, or sends deletion message to each module;
B3, delete interface message finishes the transmission of configuration information.
4, method according to claim 1 is characterized in that, in the described steps A 4, it is as follows that described configuration information recovery is provided with step:
C1 creates interface;
C2 calls other each upper layer module, or transmission interface is created message to each module;
C3 judges the configuring condition the during insertion groove of business board described in buffer area position in the master control borad, if the configuration information when having described business board insertion groove position in the buffer area loads this configuration information.
C4 finishes configuration restore.
5, method according to claim 4 is characterized in that, described step C3 also comprises:
If the configuration information when buffer area does not have described business board insertion groove position then reads the configuration information of described business board when the groove position that keeps in the configuration file, and loads this configuration information.
According to the arbitrary described method of claim 1 to 5, it is characterized in that 6, the configuration information of described business board insertion groove position extracts by corresponding control module is unified.
7, method according to claim 6 is characterized in that, described business board is extracted the configuration information of groove position and unified buffer memory by corresponding control module.
CN2007100751867A 2007-06-22 2007-06-22 A hot plug configuration recovery method of rack device Expired - Fee Related CN101079734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100751867A CN101079734B (en) 2007-06-22 2007-06-22 A hot plug configuration recovery method of rack device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100751867A CN101079734B (en) 2007-06-22 2007-06-22 A hot plug configuration recovery method of rack device

Publications (2)

Publication Number Publication Date
CN101079734A true CN101079734A (en) 2007-11-28
CN101079734B CN101079734B (en) 2012-03-07

Family

ID=38906980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100751867A Expired - Fee Related CN101079734B (en) 2007-06-22 2007-06-22 A hot plug configuration recovery method of rack device

Country Status (1)

Country Link
CN (1) CN101079734B (en)

Cited By (9)

* 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
WO2010142164A1 (en) * 2009-06-12 2010-12-16 华为技术有限公司 Operation maintaining system and method for network access device
CN102098182A (en) * 2011-03-30 2011-06-15 成都市华为赛门铁克科技有限公司 Method for restoring allocation of distributed equipment and distributed equipment
CN101605188B (en) * 2008-06-10 2012-08-08 华为技术有限公司 Method, system and front plugboard supporting hot plug
CN103346898A (en) * 2013-05-30 2013-10-09 迈普通信技术股份有限公司 Method for processing configuration information of hot plug board card, and network communication device
CN103812680A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 System and method for achieving single plate switching
CN105743686A (en) * 2014-12-12 2016-07-06 中兴通讯股份有限公司 Port attribute inheritance method and device
CN109165181A (en) * 2018-08-07 2019-01-08 南京翼辉信息技术有限公司 A kind of more boards are from configuration and task from compartment system and method
CN115001963A (en) * 2022-05-05 2022-09-02 武汉光迅信息技术有限公司 Information configuration method and device based on multi-configuration storage communication equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100490399C (en) * 2003-10-31 2009-05-20 华为技术有限公司 Quick method for recovering mass configuration of three-layer exchanger

Cited By (15)

* 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
CN101605188B (en) * 2008-06-10 2012-08-08 华为技术有限公司 Method, system and front plugboard supporting hot plug
WO2010142164A1 (en) * 2009-06-12 2010-12-16 华为技术有限公司 Operation maintaining system and method for network access device
CN101582802B (en) * 2009-06-12 2013-04-24 华为技术有限公司 Operation maintenance system and method of network access device
CN102098182A (en) * 2011-03-30 2011-06-15 成都市华为赛门铁克科技有限公司 Method for restoring allocation of distributed equipment and distributed equipment
CN102098182B (en) * 2011-03-30 2014-06-04 华为数字技术(成都)有限公司 Method for restoring allocation of distributed equipment and distributed equipment
CN103812680A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 System and method for achieving single plate switching
CN103812680B (en) * 2012-11-14 2017-12-19 中兴通讯股份有限公司 A kind of system and method for realizing veneer switching
CN103346898A (en) * 2013-05-30 2013-10-09 迈普通信技术股份有限公司 Method for processing configuration information of hot plug board card, and network communication device
CN103346898B (en) * 2013-05-30 2017-02-15 迈普通信技术股份有限公司 Method for processing configuration information of hot plug board card, and network communication device
CN105743686A (en) * 2014-12-12 2016-07-06 中兴通讯股份有限公司 Port attribute inheritance method and device
CN105743686B (en) * 2014-12-12 2019-02-19 中兴通讯股份有限公司 Port attribute inheritance method and device
CN109165181A (en) * 2018-08-07 2019-01-08 南京翼辉信息技术有限公司 A kind of more boards are from configuration and task from compartment system and method
CN115001963A (en) * 2022-05-05 2022-09-02 武汉光迅信息技术有限公司 Information configuration method and device based on multi-configuration storage communication equipment
CN115001963B (en) * 2022-05-05 2024-01-05 武汉光迅信息技术有限公司 Information configuration method and device based on multi-configuration storage communication equipment

Also Published As

Publication number Publication date
CN101079734B (en) 2012-03-07

Similar Documents

Publication Publication Date Title
CN101079734A (en) A hot plug configuration recovery method of rack device
US8533420B2 (en) Thin provisioned space allocation
CN102567427B (en) Method and device for processing object data
CN1848087A (en) Using usb memory device to recover operating system
CN1874563A (en) Handset program, file management system and method
CN1828535A (en) After-error recovery method of transmission equipment card software on-line update
CN103221925A (en) Data processing method and storage equipment
CN114416431B (en) Agent-free continuous data protection method, system and storage medium based on KVM
CN101986284A (en) Dynamic recovery system for waste space of virtual machine image file
CN1609829A (en) Plug-and-play method for USB equipment under linux operation system
CN101201767A (en) System and method for backup and recovery of magnetic disc mirroring of computer system data
CN101937378B (en) Method for carrying out back-up protection on data of storage equipment and computer system
CN1529465A (en) Hot-plugging detection and treating method
CN103389905A (en) Plug-in loading method and plug-in loading system
CN101692249B (en) Method for performing data access on power demand side system
CN1896957A (en) Method for leaking memory of positioning virtual operation system
CN1317846C (en) Method of realizing internal external network physical partition and its device
CN113641446A (en) Memory snapshot creating method, device and equipment and readable storage medium
WO2012008731A2 (en) Device and method for managing flash memory using block unit mapping
CN1904846A (en) Configuration of recovery device and method thereof
CN101043359A (en) Method for realizing self-adapting support of equipment unit
CN100346607C (en) Method for interface back-up in interface hot connect-disconnect supporting system
CN116643704A (en) Storage management method, storage management device, electronic equipment and storage medium
CN1975701A (en) Master machine driving external equipment method and system
CN1862504A (en) Method of multi-computer back-up

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: 20120307

Termination date: 20160622

CF01 Termination of patent right due to non-payment of annual fee