CN100546256C - A kind of method that realizes that the unit self adaptation is supported - Google Patents

A kind of method that realizes that the unit self adaptation is supported Download PDF

Info

Publication number
CN100546256C
CN100546256C CNB2006100608718A CN200610060871A CN100546256C CN 100546256 C CN100546256 C CN 100546256C CN B2006100608718 A CNB2006100608718 A CN B2006100608718A CN 200610060871 A CN200610060871 A CN 200610060871A CN 100546256 C CN100546256 C CN 100546256C
Authority
CN
China
Prior art keywords
unit
computer system
host computer
veneer
template
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
CNB2006100608718A
Other languages
Chinese (zh)
Other versions
CN101043359A (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 CNB2006100608718A priority Critical patent/CN100546256C/en
Publication of CN101043359A publication Critical patent/CN101043359A/en
Application granted granted Critical
Publication of CN100546256C publication Critical patent/CN100546256C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention is applicable to communication technique field, and a kind of method that realizes that the unit self adaptation is supported is provided, and described method comprises the steps: A. configuration device unit template, and the unit template is loaded into host computer system; B. host computer system is read in described unit template, generates the information of unit, and the unit template is write internal storage as configuration information; C. after unit inserted master control borad, host computer system judged that the type of described unit is whether identical with the unit type that host computer system has been stored, is then described novel device unit to be carried out business configuration, otherwise configuration failure; Include the attribute information of unit and the configuration information of described unit in the described unit template.The present invention can support the unit of newtype fast by the mode of flexible configuration unit template, has improved the extensibility of unit, has avoided the frequent upgrading of host computer system.

Description

A kind of method that realizes that the unit self adaptation is supported
Technical field
The invention belongs to communication technical field, relate in particular to a kind of support method of unit.
Background technology
At present in the broadband access field, mainly be the management of frame slot type for the management of units such as veneer, machine frame and buckle.With the veneer is example, and as shown in Figure 1, master control borad carries out centralized configuration and management to all veneers in the machine frame, and master control borad and veneer are kept in communication, and control the status change of veneer in real time, and the user issues by master control borad the business configuration of veneer.The state of veneer mainly is divided into Idle state, fault case and normal state, when the user does not increase new veneer, veneer is in Idle state, show that at the webmaster panel certain physical slot position is for empty, when the user carried out veneer increase operation on this physical slot position, the state transition of veneer was fault case, if insert veneer on this groove position, the very fast migration of veneer is a normal state, and can carry out business configuration this moment to veneer.When the user did not carry out veneer and increases operation, if veneer insertion groove position, veneer was after registration and configuration finish, and the single board state Autonomic Migration Framework is a normal state.
The user can on the webmaster panel or carry out on the order line unit increase, delete, reset or operation such as inquiry.When needs increased unit, method commonly used was to increase at the each type unit, if system has supported the unit of this type, just allows unit to increase successfully.
Run on after the host computer system issue on the master control borad, if a kind of unit newly developed, certain unit form that exists in this unit and the primary host system is similar, only be that some function exists difference, for example for digital subscriber line (Digital Subscriber Line, XDSL) veneer, veneer newly developed is compared with original veneer, the difference that only has the veneer nest plate, whether veneer supports to grab the difference on the abilities such as line, remaining traffic performance is consistent basically, the type of service of host computer system and handle basic identical, the different processing of having only on the hardware.But because host computer system can not be supported new board type, the host computer system of therefore must taking to upgrade solves, thereby causes the increase of cost of equipment maintenance, is unfavorable for the raising of equipment competitiveness.
In order to address the above problem, when the host software system is carried out planning and designing, the unit type of exploitation after need considering, unified is each unit type application resource, support follow-up unit type in advance, require the exploitation of follow-up new equipment unit to follow the unit specification of initial host software systems organization simultaneously, for example the agreement of master control borad and veneer is abideed by initial upper-layer protocol exploitation of formulating fully, can support new veneer thereby satisfy the host software system under the situation of not upgrading.Because the various device technical development is swift and violent, the initial stage unit type of planning often can not contain follow-up unit newly developed, therefore the situation that original host computer system can not be supported unit newly developed can occur, needs the upgrading host computer system.Simultaneously, owing to supported to cause the unit of host computer system and webmaster to enumerate the wasting of resources by follow-up unit in advance.
Summary of the invention
The object of the present invention is to provide the support method of a kind of novel device unit, be intended to solve the host computer system and support follow-up unit in advance of when supporting unit newly developed, need upgrading that exists in the prior art, cause the unit of host computer system and webmaster to enumerate the problem of the wasting of resources.
The present invention is achieved in that a kind of method that realizes that the unit self adaptation is supported, described method comprises the steps:
A. configuration device unit template is loaded into host computer system with the unit template;
B. host computer system is read in described unit template, generates the information of unit, and the unit template is write internal storage as configuration information, and wherein said unit template dynamically updates by the network operation platform; Described unit is veneer, buckle or machine frame; Include the attribute information of unit and the configuration information of described unit in the described unit template;
When if C. described unit is veneer or buckle, after described unit inserts master control borad, whether the type that the type that host computer system reports according to described unit is judged described unit is identical with the type of having stored in the host computer system, identically then return the message that succeeds in registration to described unit, host computer system is carried out business configuration to described unit; Otherwise return registration failure message to described unit;
When if described unit is machine frame, after described unit inserts master control borad, host computer system is read the type of machine frame according to hardware information, whether the type of judging described machine frame is identical with the subrack type stored in the host computer system, identically then carry out system initialization according to the configuration information of the type of described machine frame, otherwise, the system initialization failure.
When described unit was veneer, described step C also comprised:
C11. veneer insertion groove position, and after self initialization finishes, report registration packet to master control borad, carry the type of veneer and the descriptor of veneer in the registration packet;
If the board type that carries in the described registration packet is different with the board type of host computer system storage, but specified described veneer to belong to already present veneer template in the host computer system in the described registration packet, carried simultaneously characteristic and the parameter specification information that described veneer is supported in the described registration packet, then the described veneer of characteristic specifications information initializing that reports according to described already present veneer template and veneer of host computer system.
When described unit was buckle, described step C also comprised:
C21. buckle is attached to insertion groove position on the veneer, and described veneer reports registration packet to master control borad after self initialization finishes, carry the type information of described buckle in the registration packet;
If the buckle type of carrying in the described registration packet is different with the buckle type of host computer system storage, but specified described buckle to belong to already present buckle template in the host computer system in the described registration packet, simultaneously described registration packet has carried characteristic and the parameter specification information that described buckle is supported, then the described buckle of characteristic specifications information initializing that reports according to described already present buckle template and veneer of host computer system.
When described unit was machine frame, described step C also comprised:
C31. master control borad inserts machine frame, and host computer system is read the type of machine frame according to hardware information in the system initialization process.
Described configuration device unit template specifically comprises the steps:
Extract the capability set of seriation unit, according to the capability set configuration device unit template of described seriation unit.
Also comprise after the described B step: after unit inserted master control borad, host computer system was carried out business configuration according to the capability set of seriation unit to described unit.
Described method further comprises the steps:
By the network operation platform unit template that loads in the host computer system is dynamically updated.
The present invention can support the unit of newtype fast by the mode of flexible configuration unit template, has improved the extensibility of unit, has avoided the frequent upgrading of host computer system.
Description of drawings
Fig. 1 is a common deckle board formula management schematic diagram in the prior art;
Fig. 2 is the structure chart of suitable device unit self-adapting back-up system of the present invention;
Fig. 3 adopts the loading monoboard template to support the realization flow figure of novel board type among the present invention;
Fig. 4 adopts in the invention to load the realization flow figure that the buckle template is supported novel buckle type;
Fig. 5 adopts the frame loading template to support the realization flow figure of novel subrack type among the present invention;
Fig. 6 is the schematic diagram of the single plate ability collection that provides in the one embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In the present invention, the unit template that the configure host system can discern, the unit template is transmitted through the network to master control borad, host computer system generates all configuration informations of unit according to the unit template, when unit inserts master control borad, host computer system judges the type of unit, and when the unit type of the type of unit and host computer system stored was identical, host computer system was carried out the configuration of unit.
In the present invention, unit comprises veneer, machine frame and buckle etc., wherein, the difference of maximum between buckle and machine frame and the veneer be buckle and machine frame do not have central processing unit (Central ProcessingUnit, CPU), can not independent operating.
The content of veneer template mainly comprises the initial information etc. of go into operation configuration, the veneer of main frame board type, webmaster board type, various ability information, veneer initial configuration, veneer.The content of buckle template mainly comprises the attribute information of buckle type and the configuration information of the type buckle.The content of machine frame template mainly comprises the attribute information of subrack type and the configuration information of the type machine frame.
As shown in Figure 2, the unit template can directly dispose in system when host computer system 201 designs, and be stored in the internal storage 202, also can use special-purpose configuration file tools at webmaster maintenance console 100 by the user, make the unit template that host computer system 201 can be discerned, be sent to host computer system 201 by network, be loaded in the master control borad.Behind the loaded, host computer system 201 can be read in the unit template of loading automatically, generate all configuration informations of novel device unit, simultaneously the unit template is write in the internal storage 202 as configuration information and preserve, the initial phase of host computer system 201 after resetting can dynamically generate all information of novel device unit according to the unit template of internal storage 202 storages.
For a kind of unit newly developed, if this unit belongs to the existing type (comprising the single board information that generates automatically by the veneer template) in the host computer system, then host computer system is supported the automatic support of this unit.If this unit does not belong to the existing type (comprising the single board information that generates automatically by the veneer template) in the host computer system, then need to load the automatic support that corresponding apparatus unit template realizes this unit to host computer system.
Fig. 3 shows and adopts the loading monoboard template to support the realization flow of novel board type among the present invention:
1. the network operation platform is loaded into host computer system with novel veneer template;
2. behind the loaded, host computer system is read in the veneer template of loading automatically, generates all information of novel veneer, simultaneously the veneer template is write in the internal storage as configuration information;
3. veneer insertion groove position, and after self initialization finishes, initiatively report registration packet to master control borad, carry the type of veneer and the descriptor of veneer in the registration packet;
4. after master control borad was received the registration packet that veneer reports, host computer system judged that board type that veneer reports is whether identical with the board type (comprising the board type in the veneer template of new loading) stored in the host computer system;
5. if the board type that reports of veneer is identical with the board type that system has stored, host computer system is returned the message that succeeds in registration to veneer, execution in step 6; Otherwise host computer system is returned registration failure message to veneer;
6. host computer system is carried out business configuration to veneer according to the property of single plate that system generates automatically automatically, finishes until configuration, and veneer is moved to normal state.
In said process, if veneer is when reporting registration packet, what report is the new board type of not storing in a kind of host computer system, but specified this veneer to belong to already present veneer template in the host computer system in the registration packet that veneer reports, only be board type with the difference of existing veneer template, veneer descriptor and other are with professional irrelevant data, the characteristic and the parameter specification information that report veneer to support simultaneously, this veneer of characteristic specifications information initializing that host computer system will report according to existing veneer template and veneer this moment then, thus the automatic support of the novel veneer of different series finished.
Fig. 4 shows to adopt among the present invention and loads the realization flow that the buckle template is supported novel buckle type:
1. the network operation platform is loaded into host computer system with novel buckle template;
2. behind the loaded, host computer system is read in the buckle template of loading automatically, generates all information of novel buckle, simultaneously the buckle template is write in the internal storage as configuration information;
3. because buckle is attached on the veneer, so veneer insertion groove position, and after self initialization finishes, report registration packet to master control borad, carry new buckle type information in the registration packet;
4. master control borad receives after the registration packet, and host computer system judges that buckle type that this veneer reports is whether identical with the buckle type (comprising the buckle type in the buckle template of new loading) of having stored in the host computer system;
5. if the buckle type that reports of veneer is identical with the buckle type that system has stored, host computer system is returned the message that succeeds in registration to veneer, execution in step 6; Otherwise host computer system is returned registration failure message to veneer;
6. host computer system is carried out business configuration to this novel buckle according to the information of novel buckle, finishes until configuration, and veneer is adjourned to normal state.
In said process, if veneer is when reporting registration packet, what report is the new buckle type of not storing in a kind of host computer system, but specified this buckle to belong to already present buckle template in the host computer system in the registration packet that veneer reports, only be the buckle type with the difference of existing buckle template, buckle descriptor and other are with professional irrelevant data, the characteristic and the parameter specification information that report buckle to support simultaneously, this buckle of characteristic specifications information initializing that host computer system will report according to existing buckle template and veneer this moment then, thus the automatic support of the novel buckle of different series finished.
Fig. 5 shows and adopts the frame loading template to support the realization flow of novel subrack type among the present invention:
1. the network operation platform is loaded into host computer system with novel machine frame template;
2. behind the loaded, host computer system is read in the machine frame template of loading automatically, generates all information of novel subrack type, simultaneously the machine frame template is write in the internal storage as configuration information;
3. when master control borad is inserted in a kind of new machine frame, host computer system is in the process of system initialization, according to the type that hardware information is read machine frame, host computer system judges that this subrack type is whether identical with the subrack type (comprising the subrack type in the machine frame template that new loading enters) stored in the host computer system;
4. if the subrack type of having stored in this subrack type and the host computer system (comprising the subrack type in the machine frame template that new loading enters) is identical, think that then this machine frame belongs to host computer system, host computer system is carried out the initialization of system according to the configuration information of subrack type, until the system initialization success, otherwise the system initialization failure.
In the host software design, according to existing unit business processing flow, be to take to judge concrete unit type basically, host computer system is encoded at a certain concrete unit, cause host computer system complex structure and confusion, and can not extract abstract model.
In order to support follow-up novel device unit, as a preferred embodiment of the present invention, the present invention is optimized by the business design and the realization of unit capability set to host computer system.The unit capability set is meant that mainly unit possesses the abstract of ability, is example with the veneer, and for example whether the XDSL veneer is supported to grab line, whether supporting rate adjustment, XDSL port number, supported ability such as nest plate loading.
In the present invention, analyze, extract the ability general collection of seriation unit for the function point difference between certain a series of all devices unit, also different for the capability set that the concrete unit in a series of is supported.With the veneer is example, as shown in Figure 6, extract the ability general collection of seriation veneer, the corresponding new board type of the ability general collection of these series boards, concrete veneer in this new board type has different ability subclass, for example the ability subclass of board type one is 1,2,3, and the ability subclass of board type two is 2,4.In the business design and implementation procedure of the serial equipment unit of host computer system, directly do not judge the type of concrete unit, but the judgment device unit has any ability, how many sizes of ability is etc., carry out different operation flows according to the ability that unit had, unit is carried out business configuration, realize professional unit independence, thereby the unit that guarantees to increase newly is realized the automatic support of serial equipment unit for the business processing flow transparence.
Simultaneously, the present invention classifies to unit according to the capability set of unit, configuration corresponding apparatus unit template after the template that has loaded a certain serial equipment unit, can support to have in this serial equipment unit the unit of the various particular types of respective capabilities so automatically.
In addition, the user can dynamically update the capability set of service equipment unit template or unit by the network operation platform, to satisfy the demand in country variant and market fast.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, a kind of method that realizes that the unit self adaptation is supported is characterized in that described method comprises the steps:
A. configuration device unit template is loaded into host computer system with the unit template;
B. host computer system is read in described unit template, generates the information of unit, and the unit template is write internal storage as configuration information, and wherein said unit template dynamically updates by the network operation platform; Described unit is veneer, buckle or machine frame; Include the attribute information of unit and the configuration information of described unit in the described unit template;
When if C. described unit is veneer or buckle, after described unit inserts master control borad, whether the type that the type that host computer system reports according to described unit is judged described unit is identical with the type of having stored in the host computer system, identically then return the message that succeeds in registration to described unit, host computer system is carried out business configuration to described unit; Otherwise return registration failure message to described unit;
When if described unit is machine frame, after described unit inserts master control borad, host computer system is read the type of machine frame according to hardware information, whether the type of judging described machine frame is identical with the subrack type stored in the host computer system, identically then carry out system initialization according to the configuration information of the type of described machine frame, otherwise, the system initialization failure.
2, the method for realization unit self adaptation support as claimed in claim 1 is characterized in that when described unit was veneer, described step C also comprised:
C11. veneer insertion groove position, and after self initialization finishes, report registration packet to master control borad, carry the type of veneer and the descriptor of veneer in the registration packet.
3, the method for realization unit self adaptation support as claimed in claim 2, it is characterized in that, if the board type that carries in the described registration packet is different with the board type of host computer system storage, but specified described veneer to belong to already present veneer template in the host computer system in the described registration packet, carried simultaneously characteristic and the parameter specification information that described veneer is supported in the described registration packet, then the described veneer of characteristic specifications information initializing that reports according to described already present veneer template and veneer of host computer system.
4, the method for realization unit self adaptation support as claimed in claim 1 is characterized in that when described unit was buckle, described step C also comprised:
C21. buckle is attached to insertion groove position on the veneer, and described veneer reports registration packet to master control borad after self initialization finishes, carry the type information of described buckle in the registration packet.
5, the method for realization unit self adaptation support as claimed in claim 4, it is characterized in that, if the buckle type of carrying in the described registration packet is different with the buckle type of host computer system storage, but specified described buckle to belong to already present buckle template in the host computer system in the described registration packet, simultaneously described registration packet has carried characteristic and the parameter specification information that described buckle is supported, then the described buckle of characteristic specifications information initializing that reports according to described already present buckle template and veneer of host computer system.
6, the method for realization unit self adaptation support as claimed in claim 1 is characterized in that when described unit was machine frame, described step C also comprised:
C31. master control borad inserts machine frame, and host computer system is read the type of machine frame according to hardware information in the system initialization process.
7, the method for realization unit self adaptation support as claimed in claim 1 is characterized in that described configuration device unit template specifically comprises the steps:
Extract the capability set of seriation unit, according to the capability set configuration device unit template of described seriation unit.
8, the method for realization unit self adaptation support as claimed in claim 1 is characterized in that, also comprises after the described B step:
After described unit inserted master control borad, host computer system was carried out business configuration according to the capability set of seriation unit to described unit.
CNB2006100608718A 2006-05-23 2006-05-23 A kind of method that realizes that the unit self adaptation is supported Active CN100546256C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100608718A CN100546256C (en) 2006-05-23 2006-05-23 A kind of method that realizes that the unit self adaptation is supported

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100608718A CN100546256C (en) 2006-05-23 2006-05-23 A kind of method that realizes that the unit self adaptation is supported

Publications (2)

Publication Number Publication Date
CN101043359A CN101043359A (en) 2007-09-26
CN100546256C true CN100546256C (en) 2009-09-30

Family

ID=38808590

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100608718A Active CN100546256C (en) 2006-05-23 2006-05-23 A kind of method that realizes that the unit self adaptation is supported

Country Status (1)

Country Link
CN (1) CN100546256C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882118B (en) * 2009-05-05 2013-01-23 华为技术有限公司 Single-board software acquiring and sending method, and single board, storage equipment and system
CN102055603B (en) * 2009-11-03 2015-11-25 中兴通讯股份有限公司 Networking telephone veneer collocation method and system
US9081912B2 (en) 2011-11-24 2015-07-14 Huawei Technologies Co., Ltd. Method and apparatus for node hot-swapping
CN102520982A (en) * 2011-11-24 2012-06-27 华为技术有限公司 Method and device of node hot plug
CN104731615A (en) * 2015-03-23 2015-06-24 小米科技有限责任公司 Intelligent device configuration method and device
CN111432085B (en) * 2020-03-13 2021-05-25 深圳震有科技股份有限公司 Method for controlling user account registration, storage medium and voice gateway

Also Published As

Publication number Publication date
CN101043359A (en) 2007-09-26

Similar Documents

Publication Publication Date Title
CN100546256C (en) A kind of method that realizes that the unit self adaptation is supported
CN101110846B (en) Management method and equipment for MAC address table item
US8626936B2 (en) Protocol independent server replacement and replication in a storage area network
CN100488123C (en) Software and hardware version management method and system of communication equipment
CN107181679A (en) A kind of port binding implementation method and device
CN103152390B (en) The node configuration method of distributed memory system, device, node and system
CN101257406B (en) Method and system for discovering net elements
CN102710814A (en) Method and device for controlling Internet protocol (IP) address of virtual machine
CN102238093A (en) Service interruption prevention method and device
CN103428051A (en) System and method for testing communication devices
WO2015158120A1 (en) Method and apparatus for upgrading software version
CN103514173A (en) Data processing method and node equipment
USRE46770E1 (en) Computer managing method
CN112035216A (en) Communication method for Kubernetes cluster network and OpenStack network
CN103139308A (en) Database system and data synchronization method thereof
CN107526616A (en) A kind of main frame carries out the method and device of data write-in and reading to BMC
CN100466550C (en) Method, device and system for implementing multi-service type structure
CN101621396B (en) Single board automatic management device and method
US11503032B2 (en) Method and apparatus for detecting invalidity of access control list ACL rule
KR102089291B1 (en) Method for moving data extent
CN108008969B (en) Software version upgrading method and device and network equipment
CN102651696B (en) The method and system that a kind of network management system interface coexisted to multi version is managed
CN109120680A (en) A kind of control system, method and relevant device
CN102984739A (en) Breakdown information processing method and processing device
CN102752144A (en) Method and device for processing topology change in soft restart in-service software upgrade process

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