CN102075354A - Monitoring method and monitoring device of equipment in distributed system - Google Patents

Monitoring method and monitoring device of equipment in distributed system Download PDF

Info

Publication number
CN102075354A
CN102075354A CN2010106160097A CN201010616009A CN102075354A CN 102075354 A CN102075354 A CN 102075354A CN 2010106160097 A CN2010106160097 A CN 2010106160097A CN 201010616009 A CN201010616009 A CN 201010616009A CN 102075354 A CN102075354 A CN 102075354A
Authority
CN
China
Prior art keywords
equipment
installation site
module
state
type
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.)
Pending
Application number
CN2010106160097A
Other languages
Chinese (zh)
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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN2010106160097A priority Critical patent/CN102075354A/en
Publication of CN102075354A publication Critical patent/CN102075354A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a monitoring method and a monitoring device of equipment in a distributed system. The method comprises the following steps of: setting a state in which equipment is not added and an equipment installation position is not provided as an idle state; adding equipment to an idle-state installation position and distributing resources to the installation position according to the type of the added equipment; and modifying the state of the installation position to which the equipment is added into an equipment offline state. In the method and the device, management can be performed independently of real presence of the equipment.

Description

The method for supervising of equipment and supervising device in a kind of distributed system
Technical field
The present invention relates to the control field, relate in particular to the method for supervising and the supervising device of equipment in a kind of distributed system.
Background technology
Along with the fast development of communications industry, to the requirement complexity of access device various (optical transceiver, SDH transmission equipment, protocol converter class etc. are arranged).How the various access device of these classs of business being carried out simple effectively management is the problem that each equipment manufacturers need solve.Access layer network equipment adopts the rack hardware configuration more at present, is made up of a master control borad and a plurality of business board in each machine frame.The normal operation of master control borad control business device, professional integrated circuit board provides professional access.In network device management, more traditional way is that master control borad is discerned integrated circuit board on the throne, and the integrated circuit board of its support is carried out state and performance statistics, the configuration that the user can be correlated with to integrated circuit board working properly by master control borad.This management mode that must depend on the necessary being of integrated circuit board for not obtaining operational plate as yet, needs the user of dilatation to have managerial defective.In addition on the software development framework, traditional equipment control be with dissimilar equipment as management object, even the similar two kinds of equipment of business function also need to carry out respectively software development, this development mode workload is big, system maintenance is poor.
Summary of the invention
The technical problem to be solved in the present invention provides the method for supervising and the supervising device of equipment in a kind of distributed system, can not rely on the necessary being of equipment and manages.
In order to address the above problem, the invention provides the method for supervising of equipment in a kind of distributed system, comprising:
Not adding equipment does not have the state of equipment installation site on the throne to be set to the free time yet;
To state is that equipment is added in idle installation site, is this installation site Resources allocation according to the type of the equipment that is added; With the status modifier of the installation site behind the interpolation equipment is equipment off-line.
Preferably, described method also comprises:
When the equipment of the detecting state of being installed to is the installation site of equipment off-line, discern the type of this equipment;
When can not discerning type, be that equipment is on the throne with the status modifier of the installation site that this equipment was installed to;
When identifying type, this type that identifies relatively, type with the equipment that adds for the installation site that this equipment was installed to, if coupling with the status modifier of the installation site that this equipment was installed to in using, if do not match with the status modifier of the installation site that this equipment was installed to for not matching.
Preferably, described method also comprises:
When the equipment on installation site of deletion, discharge the resource of distributing to this installation site, indicate the described module that is provided with that the status modifier of this installation site is the free time.
Preferably, described method also comprises:
When the equipment on the installation site was taken away, if the state of this installation site is not in matching or using, then the status modifier with this installation site was an equipment off-line; If the state of this installation site is that equipment is on the throne, then judge whether to add equipment, if added then be equipment off-line, if do not add then be revised as the free time with the status modifier of this installation site for this installation site.
Preferably, described method also comprises:
To state is that the installation site of equipment off-line is configured, and preserves configuration parameter;
When with a status modifier of installation site of preserving configuration parameter in using the time, the configuration parameter of being preserved is handed down to the equipment that is installed on this installation site.
Preferably, described method also comprises:
Register a plurality of business modules, register the processing function of various device incident for each business module respectively;
The type of preservation equipment and the corresponding relation of described business module, a described type is corresponding to one or more business module;
When device events takes place,, notify the type corresponding service module with device events according to the type of the equipment that device events takes place;
Described business module calls the respective handling function according to the device events of being notified.
Preferably, business module is worked as the device events of being notified and is initiated when being poll event the inquiry of the state information of equipment and be updated in the data structure that this business module safeguards, whether inquiry simultaneously has new configuration parameter, if having then this new configuration parameter is handed down to described equipment.
The present invention also provides the supervising device of equipment in a kind of distributed system, comprising:
Module is set, and being used for not adding equipment does not have the state of equipment installation site on the throne to be set to the free time yet;
Administration module is used for adding equipment to state for idle installation site, is this installation site Resources allocation according to the type of the equipment that is added; Indicating the described status modifier that the installation site of module after with interpolation equipment is set is equipment off-line.
Preferably, described device also comprises:
Detection module is used for discerning the type of this equipment when the equipment of the detecting state of being installed to is the installation site of equipment off-line;
Described administration module also is used for when described detection module can not discerned type, and indicating the described module that is provided with is that equipment is on the throne with the status modifier of the installation site that this equipment was installed to; When described detection module identifies type, this type that identifies relatively, type with the equipment that adds for the installation site that this equipment was installed to, if coupling would indicate described be provided with module with the status modifier of the installation site that this equipment was installed to in using, if do not match would indicate described be provided with module with the status modifier of the installation site that this equipment was installed to for not matching.
Preferably, described administration module also is used for discharging the resource of distributing to this installation site when the equipment on installation site of deletion, indicate the described module that is provided with that the status modifier of this installation site is the free time.
Preferably, described administration module also is used for when the equipment on the installation site is taken away, is equipment off-line if the state of this installation site, is then indicated the described module that is provided with in not matching or using with the status modifier of this installation site; If the state of this installation site is that equipment is on the throne, then judge whether to add equipment for this installation site, be equipment off-line if added then indicated the described module that is provided with the status modifier of this installation site, if do not add then be revised as the free time.
Preferably, it is that the installation site of equipment off-line is configured that described administration module also is used for state, preserves configuration parameter; When described be provided with module with a status modifier of installation site of preserving configuration parameter in using the time, the configuration parameter of being preserved is handed down to the equipment that is installed on this installation site.
Preferably, described device also comprises:
Registering modules is used to register a plurality of business modules, registers the processing function of various device incident respectively for each business module;
Memory module is used to the type of the equipment of preserving and the corresponding relation of described business module, and a described type is corresponding to one or more business module;
Described administration module also is used for according to the type of the equipment that device events takes place, notifying the type corresponding service module with device events when device events takes place;
Each described business module is used for calling the respective handling function according to the device events of being notified.
Preferably, described business module is worked as the device events of being notified and is initiated when being poll event the inquiry of the state information of equipment and be updated in the data structure that this business module safeguards, whether inquiry simultaneously has new configuration parameter, if having then this new configuration parameter is handed down to described equipment.
Technical scheme of the present invention had both been supported the pre-configured management to equipment, supported the plug and play management to equipment again, can satisfy the demand of user under the different application environment; Pre-configured management can be applied in the different systems, can not have to add virtual unit by preassignment installation site and Resources allocation under the situation of equipment, equipment directly carries out work after inserting cabinet groove position, satisfies the user in the dilatation in advance that does not obtain under the integrated circuit board situation.Prioritization scheme of the present invention can also not have under the actual situation about putting in place at equipment, virtual unit is carried out pre-configured, just can carry out work according to pre-configured after equipment inserts cabinet groove position.Another prioritization scheme of the present invention can carry out relevant configuration so that integrated circuit board is in the operating state of expectation to integrated circuit board on the throne for the user at the integrated circuit board that equipment is not carried out automatically identifying when pre-configured insertion.Another prioritization scheme of the present invention is based on business module, every kind of business is made an independently module, every type equipment is the combination of several business modules, when supporting a kind of newtype equipment, only need the business module of the type equipment and registration is corresponding like this, equipment is added, deletes, inserts, extracts event notice to the corresponding business module, just can make corresponding operation according to incident, favorable expandability can significantly reduce development workload.
Description of drawings
Fig. 1 is the situation of the migrating schematic diagram of the groove position state in the object lesson among the embodiment one;
Fig. 2 is the schematic block diagram of the supervising device of equipment in the distributed system among the embodiment two;
Fig. 3 is the schematic diagram of object lesson among the embodiment two.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Need to prove that if do not conflict, each feature among the embodiment of the invention and the embodiment can mutually combine, all within protection scope of the present invention.In addition, can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Embodiment one, and the method for supervising of equipment in a kind of distributed system comprises:
Not adding equipment does not have the state of equipment installation site on the throne to be set to the free time yet;
To state is that equipment is added in idle installation site, is this installation site Resources allocation according to the type of the equipment that is added; With the status modifier of the installation site behind the interpolation equipment is equipment off-line.
So just can equipment is actual put in place before, reserved the installation site earlier, and distributed resource, be the equal of to have added a virtual unit, carried out pre-configured to real equipment; The back put in place at real equipment so just can on-line operation.
In the present embodiment, described method for supervising can also comprise:
When the equipment of the detecting state of being installed to is the installation site of equipment off-line, discern the type of this equipment;
When can not discerning type, be that equipment is on the throne with the status modifier of the installation site that this equipment was installed to;
When identifying type, this type that identifies relatively, type with the equipment that adds for the installation site that this equipment was installed to, if coupling with the status modifier of the installation site that this equipment was installed to in using, if do not match with installation site status modifier that this equipment was installed to for not matching.
In the present embodiment, can but be not limited to current state information by each installation site of a table record, be kernel data structure.
In the present embodiment, described method for supervising can also comprise:
When the equipment on installation site of deletion, discharge the resource of distributing to this installation site, indicate the described module that is provided with that the status modifier of this installation site is the free time.
In the present embodiment, described method for supervising can also comprise:
When the equipment on the installation site was taken away, if the state of this installation site is not in matching or using, then the status modifier with this installation site was an equipment off-line; If the state of this installation site is that equipment is on the throne, then judge whether to add equipment, if added then be equipment off-line, if do not add then be revised as the free time with the status modifier of this installation site for this installation site.
In the present embodiment, sweep equipment and take equipment away and not exclusively be equal to; Sweep equipment is meant the deletion of the virtual unit on the installation site, can adds other virtual unit so later on this installation site; The equipment of taking away then is that real equipment is taken out from the installation site.
In the present embodiment, described method for supervising can also comprise:
Register a plurality of business modules, register the processing function of various device incident for each business module respectively;
The type of preservation equipment and the corresponding relation of described business module, a described type is corresponding to one or more business module;
When device events takes place,, notify the type corresponding service module with device events according to the type of the equipment that device events takes place;
Described business module calls the respective handling function according to the device events of being notified.
In the present embodiment, have add device events, sweep equipment incident, equipment incident on the throne, the matching unit incident is installed (such as inserting the coupling integrated circuit board), six device events such as the device events that do not match (such as the insertion integrated circuit board that do not match), extraction device (such as extracting integrated circuit board) incident are installed; In the present embodiment, add equipment to state for idle installation site the interpolation device events has just taken place; Equipment is installed to the installation site, if this device type identification is not come out, then is equipment incident on the throne; If the type matching of the equipment that add the type of this equipment and this installation site is then for installing the matching unit incident; If do not match then for the device events that do not match is installed; The equipment of deleting on the installation site is the sweep equipment incident; Equipment on the installation site is taken away to taking device events away.
Business module is registered the processing function of each device events when initialization.Each business module can only be registered the processing function of own care incident, such as:
Creation module example when interpolation device events----business module is received this incident;
Removing module example when sweep equipment incident----business module is received this incident;
Insert matching unit incident----business module and give equipment, realize real configuration equipment with the configuration distributing in the internal memory.
Except these three incidents, can also comprise a poll event, the state of the actual equipment on the throne of automatic regular polling also is updated to state each business module of equipment correspondence.
Initiate the inquiry of the state information of equipment when poll event-----business module is received this incident and be updated in the data structure that this business module safeguards, whether inquiry simultaneously has new configuration parameter, if having then this new configuration parameter is handed down to described equipment.
Each business module is safeguarded the data structure of a cover oneself and is provided this block configuration and the interface that obtains state and statistical information.
In the present embodiment, can but be not limited to by the corresponding relation of a table record device type to business module number, a device type may one of correspondence arrive a plurality of business modules, this table is that configuration is dead, register when being system initialization, a kind of device type of every increase all will increase a corresponding list item.
In the present embodiment, can but be not limited to handle the mapping relations of function by the device events of another table record business module number and the registration of this business module, when the business module initialization, register.
In the present embodiment, described method for supervising can also comprise:
To state is that the installation site of equipment off-line is configured, and preserves configuration parameter;
When with a status modifier of installation site of preserving configuration parameter in using the time, the configuration parameter of being preserved is handed down to the equipment that is installed on this installation site.
In the present embodiment, pre-configuredly not only can reserve installation site and resource, can also keep configuration parameter in advance for this equipment for the equipment that also do not put in place; Just can carry out virtual configuration in case equipment adds the back, the equipment back that puts in place just can directly use the configuration parameter that issues upgrade, and revises its configuration parameter again after need not waiting facilities and putting in place, and is convenient more flexibly; The interface that can directly provide with each business module is configured business module, and the deposit data of configuration is in the data structure of each business module.
In the present embodiment, described equipment can but be not limited to integrated circuit board, described installation site can but be not limited to groove position in the cabinet; At this moment, erection unit can be meant that with integrated circuit board insertion groove position the equipment of taking away can be meant extracts the groove position with integrated circuit board.
So both can satisfy pre-configured demand, support the management of integrated circuit board plug and play again.When needs are pre-configured, by adding virtual integrated circuit board at vacant slot earlier, just can be configured virtual integrated circuit board, the user is made peace is stuck in the position equally to actual plate.Real when on the throne when integrated circuit board, give professional integrated circuit board with the configuration distributing in the internal memory, professional integrated circuit board carries out work according to configuration in advance, has satisfied the demand of user's dilatation in advance.If do not add integrated circuit board in advance, then Ci Shi equipment control and equipment control in the past do not have any difference, automatically identify integrated circuit board on the throne, and this moment, the user made integrated circuit board work in the operating state of expectation by the configuration to integrated circuit board.
With an object lesson present embodiment is described below, in this example, described equipment is integrated circuit board, and described position is the groove position in the cabinet; Three kinds of interfaces can externally be provided, the one, the interface of registering integrated circuit board business module information is provided to integrated circuit board; The 2nd, the interface of device registration event handling function is provided to business module; Three provide the interface of the status information of equipment of equipment control maintenance.By the registration of integrated circuit board and business module, business module information that every type of integrated circuit board has and the business module processing function at each integrated circuit board incident has been safeguarded in equipment control.
The state of groove position comprises: BS_NULL, BS_OFFLINE, BS_POWER, BS_MISMATCH and BS_INSERVICE; Wherein:
BS_NULL represents the free time, and integrated circuit board is not on the throne and be not in the BS_NULL state for groove position interpolation integrated circuit board time slot position.
BS_OFFLINE indication equipment off-line, integrated circuit board is on the throne but added integrated circuit board time slot position and be in the BS_OFFLINE state for this groove position.
The BS_POWER indication equipment is on the throne, and integrated circuit board is on the throne but still unidentified ejecting plate Card Type time slot position is in the BS_POWER state.
BS_MISMATCH represents not match, and integrated circuit board is on the throne, and the time slot position is not in the BS_MISMATCH state but integrated circuit board type its type and interpolation matches.
During BS_INSERVICE represented to use, on the throne and integrated circuit board type matching time slot position type and interpolation of integrated circuit board was in the BS_INSERVICE state.
In this example, interpolation, deletion, on the throne, insert the coupling integrated circuit board, insert do not match integrated circuit board and extract these six concrete productions of incident of integrated circuit board when pre-configured () as follows:
Add integrated circuit board incident 1, when integrated circuit board is added in the groove position that is in the BS_NULL state, produce this incident;
Deletion integrated circuit board incident 2 produces this incident when deleting the integrated circuit board that is in BS_OFFLINE or BS_MISMATCH state;
Integrated circuit board incident 3 on the throne, the groove position that is in BS_NULL state or BS_OFFLINE are found integrated circuit board insertion groove position but are produced this incident when not obtaining the integrated circuit board type as yet;
Insert coupling integrated circuit board incident 4, the groove position that is in the BS_POWER state produces this incident when inserting the consistent integrated circuit board of type with groove position, place;
The insertion integrated circuit board incident 5 that do not match, the groove position that is in the BS_POWER state produce this incident when inserting integrated circuit board with the Type-Inconsistencies of groove position, place;
Extract integrated circuit board incident 6, when integrated circuit board is extracted in the groove position that is in BS_POWER, BS_MISMATCH or BS_INSERVICE state, produce this incident.
When pre-configured, the situation of migrating of groove position state (hereinafter all is meant situation when pre-configured except specifying to the content the situation of plug and play) as shown in Figure 1, comprising:
The groove position state when taking place to add integrated circuit board incident 1 that is in the BS_NULL state is changed into BS_OFFLINE; During plug and play, the groove position that is in BS_NULL state state when integrated circuit board incident 3 on the throne takes place is changed into the BS_POWER state, is represented by dotted lines among Fig. 1.
The groove position that is in BS_OFFLINE state state when deletion integrated circuit board incident 2 takes place is changed into BS_NULL, and state is changed into BS_POWER when integrated circuit board incident 3 on the throne takes place.
The groove position state when taking place to insert coupling integrated circuit board incident 4 (promptly the integrated circuit board of Cha Ruing is consistent with the integrated circuit board type of adding for this groove position) that is in the BS_POWER state is changed into BS_INSERVICE, state is changed into BS_MISMATCH when take place inserting the integrated circuit board incident 5 that do not match (i.e. integrated circuit board of Cha Ruing and be the integrated circuit board Type-Inconsistencies of this groove position interpolation), and state is changed into BS_OFFLINE when extracting integrated circuit board incident 6; Under the situation of plug and play, state is changed into BS_NULL when extracting integrated circuit board incident 6, is represented by dotted lines among Fig. 1; In addition, under the situation of plug and play, the groove position that is in the BS_POWER state is after detecting the type of inserting integrated circuit board, and state is just directly changed into BS_INSERVICE, and need not judge whether the type of inserting integrated circuit board is consistent with the integrated circuit board that adds for this groove position.
The groove position state when extracting integrated circuit board incident 6 that is in the BS_INSERVICE state is changed into BS_OFFLINE; Under the situation of plug and play, state is changed into BS_NULL when extracting integrated circuit board incident 6, does not draw among Fig. 1.
The groove position state when extracting integrated circuit board incident 6 that is in the BS_MISMATCH state is changed into BS_OFFLINE, and state is changed into BS_NULL when deletion integrated circuit board incident 2 takes place.
In the last example, when pre-configured under each state the response handling process to different event as shown in table 1.
Under table 1, each state to the response handling process of different event
NULL in the last table represents can not produce this incident or ignore this incident; Numbering S1~different response the handling process of 19 expressions, specific as follows:
S1, being in BS_NULL state groove position and take place adding the integrated circuit board incident, be this groove position Resources allocation according to its corresponding service module of integrated circuit board type notification, and the BS_OFFLINE state is arrived in the state transition of groove position.
S2, be in BS_OFFLINE state groove position deletion integrated circuit board incident takes place, the informing business module discharges the resource of this groove position, with the state transition of groove position to the BS_NULL state.
S3, be in BS_MISMATCH state groove position deletion integrated circuit board incident takes place, the informing business module discharges the resource of this groove position, with the state transition of groove position to the BS_NULL state.
Integrated circuit board incident on the throne takes place in S4, the groove position that is in the BS_NULL state, with the state transition of groove position to the BS_POWER state.
Integrated circuit board incident on the throne takes place in S5, the groove position that is in the BS_OFFLINE state, with the state transition of groove position to the BS_POWER state.
Integrated circuit board incident on the throne takes place in S6, the groove position that is in the BS_MISMATCH state, illustrates that the integrated circuit board plug is too fast, and the incident of extracting is not detected.The flow process that gets ahead S18, groove position state is adjourned the BS_OFFLINE state from BS_MISMATCH, the flow process of going further S5, groove position state is adjourned the BS_POWER state from BS_OFFLINE.
Integrated circuit board incident on the throne takes place in S7, the groove position that is in the BS_INSERVICE state, illustrate that the integrated circuit board plug is too fast, the incident of extracting is not detected the flow process S19 that gets ahead, groove position state is adjourned the BS_OFFLINE state from BS_INSERVICE, the flow process of going further S5, groove position state is adjourned the BS_POWER state from BS_OFFLINE.
The integrated circuit board incident that do not match take place to be inserted in S8, the groove position that is in the BS_OFFLINE state, and the flow process that gets ahead S5 is adjourned the BS_POWER state with state from BS_OFFLINE, the flow process of going further S9, and groove position state is adjourned BS_MISMATCH from BS_POWER.
The integrated circuit board incident that do not match take place to be inserted in S9, the groove position that is in the BS_POWER state, and groove position state is adjourned the BS_MISMATCH state from BS_POWER.
The integrated circuit board incident that do not match take place to be inserted in S10, the groove position that is in the BS_MISMATCH state, integrated circuit board is crossed once by plug, integrated circuit board is not extracted and is detected, the simulation integrated circuit board is extracted flow process S18 earlier, groove position state is adjourned the BS_OFFLINE state from BS_MISMATCH, the flow process of going further S8, groove position state finally remains the BS_MISMATCH state.
The integrated circuit board incident that do not match take place to be inserted in S11, the groove position that is in the BS_INSERVICE state, integrated circuit board is crossed once by plug, integrated circuit board is not extracted and is detected, the simulation integrated circuit board is extracted flow process S18 earlier, groove position state is adjourned the BS_OFFLINE state from BS_MISMATCH, the flow process of going further S8, state finally are the BS_MISMATCH states.
S12, the integrated circuit board that is in the BS_NULL state take place to insert coupling integrated circuit board incident, the flow process that gets ahead S1, and the flow process of going further S5 walks flow process S14 at last, and the BS_INSERVICE state is adjourned in the groove position the most at last
S13, the integrated circuit board that is in the BS_OFFLINE state take place to insert coupling integrated circuit board incident, the flow process that gets ahead S5, and the flow process of going further S14, the BS_INSERVICE state is adjourned in the groove position the most at last.
S14, the integrated circuit board that is in the BS_POWER state take place to insert coupling integrated circuit board incident, and notice integrated circuit board corresponding service module is adjourned the BS_INSERVICE state with the groove position.
Coupling integrated circuit board incident take place to be inserted in S15, the groove position that is in the BS_MISMATCH state, illustrate that integrated circuit board crossed once by plug, integrated circuit board is not extracted and is detected, the simulation integrated circuit board is extracted flow process S18 earlier, groove position state is adjourned the BS_OFFLINE state from BS_MISMATCH, the flow process of going further S13, groove position state finally is the BS_INSERVICE state.
Coupling integrated circuit board incident take place to be inserted in S16, the groove position that is in the BS_INSERVICE state, illustrate that integrated circuit board crossed once by plug, integrated circuit board is not extracted and is detected, the simulation integrated circuit board is extracted flow process S18 earlier, groove position state is adjourned the BS_OFFLINE state from BS_INSERVICE, the flow process of going further S13, groove position state finally is the BS_INSERVICE state.
Integrated circuit board takes place for S17, the groove position that is in the BS_POWER state extracts incident, if added integrated circuit board for this groove position, then groove position state is adjourned the BS_OFFLINE state, otherwise adjourns the BS_NULL state.
Integrated circuit board takes place for S18, the groove position that is in the BS_MISMATCH state extracts incident, and groove position state is adjourned the BS_OFFLINE state.
Integrated circuit board takes place for S19, the groove position that is in the BS_INSERVCIE attitude extracts incident, and groove position state is adjourned the BS_OFFLINE state.
Be the response handling processes of five kinds of different conditions under different event drives above, wherein S1, S2, S3, S4, S5, S9, S14, S17, S18, S19 are the basic status migrations under event-driven, and other state transitions of striding state machine all realize by these basic status combinations.
The supervising device of equipment in embodiment two, a kind of distributed system as shown in Figure 2, comprising:
Module is set, and being used for not adding equipment does not have the state of equipment installation site on the throne to be set to the free time yet;
Administration module is used for adding equipment to state for idle installation site, is this installation site Resources allocation according to the type of the equipment that is added; Indicating the described status modifier that the installation site of module after with interpolation equipment is set is equipment off-line.
In the present embodiment, described supervising device can also comprise:
Detection module is used for discerning the type of this equipment when the equipment of the detecting state of being installed to is the installation site of equipment off-line;
Described administration module can also be used for when described detection module can not discerned type, and indicating the described module that is provided with is that equipment is on the throne with the status modifier of the installation site that this equipment was installed to; When described detection module identifies type, this type that identifies relatively, type with the equipment that adds for the installation site that this equipment was installed to, if coupling would indicate described be provided with module with the status modifier of the installation site that this equipment was installed to in using, if do not match would indicate described be provided with module with the status modifier of the installation site that this equipment was installed to for not matching.
In the present embodiment, described administration module can also be used for discharging the resource of distributing to this installation site when the equipment on installation site of deletion, indicate the described module that is provided with that the status modifier of this installation site is the free time.
In the present embodiment, described administration module can also be used for when the equipment on the installation site is taken away, is equipment off-line if the state of this installation site, is then indicated the described module that is provided with in not matching or using with the status modifier of this installation site; If the state of this installation site is that equipment is on the throne, then judge whether to add equipment for this installation site, be equipment off-line if added then indicated the described module that is provided with the status modifier of this installation site, if do not add then be revised as the free time.
In the present embodiment, it is that the installation site of equipment off-line is configured that described administration module can also be used for state, preserves configuration parameter; When described be provided with module with a status modifier of installation site of preserving configuration parameter in using the time, the configuration parameter of being preserved is handed down to the equipment that is installed on this installation site.
In the present embodiment, described supervising device can also comprise:
Registering modules is used to register a plurality of business modules, registers the processing function of various device incident respectively for each business module;
Memory module is used to the type of the equipment of preserving and the corresponding relation of described business module, and a described type is corresponding to one or more business module;
Described administration module can also be used for according to the type of the equipment that device events takes place, notifying the type corresponding service module with device events when device events takes place;
Each described business module is used for calling the respective handling function according to the device events of being notified.
Described business module is worked as the device events of being notified and is initiated when being poll event the inquiry of the state information of equipment and be updated in the data structure that this business module safeguards, whether inquiry simultaneously has new configuration parameter, if having then this new configuration parameter is handed down to described equipment.
As shown in Figure 3, be an object lesson of present embodiment, in the present example, described administration module, be provided with that module, Registering modules and memory module are unified to be device management module, described detection module is a device drives discovery module on the throne; Wherein, described device management module obtains the integrated circuit board type from the device drives of bottom discovery module on the throne, operates the generation corresponding event according to integrated circuit board state on the throne and user, according to the integrated circuit board type event notice is arrived type corresponding service module; Described business module comprises EOS (embedded OS) etc., can call the processing function corresponding to the distinct device incident separately.
Other realizes that details can be with embodiment one.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of claim of the present invention.

Claims (14)

1. the method for supervising of equipment in the distributed system comprises:
Not adding equipment does not have the state of equipment installation site on the throne to be set to the free time yet;
To state is that equipment is added in idle installation site, is this installation site Resources allocation according to the type of the equipment that is added; With the status modifier of the installation site behind the interpolation equipment is equipment off-line.
2. the method for claim 1 is characterized in that, also comprises:
When the equipment of the detecting state of being installed to is the installation site of equipment off-line, discern the type of this equipment;
When can not discerning type, be that equipment is on the throne with the status modifier of the installation site that this equipment was installed to;
When identifying type, this type that identifies relatively, type with the equipment that adds for the installation site that this equipment was installed to, if coupling with the status modifier of the installation site that this equipment was installed to in using, if do not match with the status modifier of the installation site that this equipment was installed to for not matching.
3. method as claimed in claim 2 is characterized in that, also comprises:
When the equipment on installation site of deletion, discharge the resource of distributing to this installation site, indicate the described module that is provided with that the status modifier of this installation site is the free time.
4. method as claimed in claim 2 is characterized in that, also comprises:
When the equipment on the installation site was taken away, if the state of this installation site is not in matching or using, then the status modifier with this installation site was an equipment off-line; If the state of this installation site is that equipment is on the throne, then judge whether to add equipment, if added then be equipment off-line, if do not add then be revised as the free time with the status modifier of this installation site for this installation site.
5. method as claimed in claim 2 is characterized in that, also comprises:
To state is that the installation site of equipment off-line is configured, and preserves configuration parameter;
When with a status modifier of installation site of preserving configuration parameter in using the time, the configuration parameter of being preserved is handed down to the equipment that is installed on this installation site.
6. as each described method in the claim 1 to 5, it is characterized in that, also comprise:
Register a plurality of business modules, register the processing function of various device incident for each business module respectively;
The type of preservation equipment and the corresponding relation of described business module, a described type is corresponding to one or more business module;
When device events takes place,, notify the type corresponding service module with device events according to the type of the equipment that device events takes place;
Described business module calls the respective handling function according to the device events of being notified.
7. method as claimed in claim 6 is characterized in that:
Business module is worked as the device events of being notified and is initiated when being poll event the inquiry of the state information of equipment and be updated in the data structure that this business module safeguards, whether inquiry simultaneously has new configuration parameter, if having then this new configuration parameter is handed down to described equipment.
8. the supervising device of equipment in the distributed system is characterized in that, comprising:
Module is set, and being used for not adding equipment does not have the state of equipment installation site on the throne to be set to the free time yet;
Administration module is used for adding equipment to state for idle installation site, is this installation site Resources allocation according to the type of the equipment that is added; Indicating the described status modifier that the installation site of module after with interpolation equipment is set is equipment off-line.
9. device as claimed in claim 8 is characterized in that, also comprises:
Detection module is used for discerning the type of this equipment when the equipment of the detecting state of being installed to is the installation site of equipment off-line;
Described administration module also is used for when described detection module can not discerned type, and indicating the described module that is provided with is that equipment is on the throne with the status modifier of the installation site that this equipment was installed to; When described detection module identifies type, this type that identifies relatively, type with the equipment that adds for the installation site that this equipment was installed to, if coupling would indicate described be provided with module with the status modifier of the installation site that this equipment was installed to in using, if do not match would indicate described be provided with module with the status modifier of the installation site that this equipment was installed to for not matching.
10. device as claimed in claim 9 is characterized in that:
Described administration module also is used for discharging the resource of distributing to this installation site when the equipment on installation site of deletion, indicate the described module that is provided with that the status modifier of this installation site is the free time.
11. device as claimed in claim 9 is characterized in that:
Described administration module also is used for when the equipment on the installation site is taken away, is equipment off-line if the state of this installation site, is then indicated the described module that is provided with in not matching or using with the status modifier of this installation site; If the state of this installation site is that equipment is on the throne, then judge whether to add equipment for this installation site, be equipment off-line if added then indicated the described module that is provided with the status modifier of this installation site, if do not add then be revised as the free time.
12. device as claimed in claim 9 is characterized in that:
It is that the installation site of equipment off-line is configured that described administration module also is used for state, preserves configuration parameter; When described be provided with module with a status modifier of installation site of preserving configuration parameter in using the time, the configuration parameter of being preserved is handed down to the equipment that is installed on this installation site.
13. as each described device in the claim 8 to 12, it is characterized in that, also comprise:
Registering modules is used to register a plurality of business modules, registers the processing function of various device incident respectively for each business module;
Memory module is used to the type of the equipment of preserving and the corresponding relation of described business module, and a described type is corresponding to one or more business module;
Described administration module also is used for according to the type of the equipment that device events takes place, notifying the type corresponding service module with device events when device events takes place;
Each described business module is used for calling the respective handling function according to the device events of being notified.
14. device as claimed in claim 13 is characterized in that:
Described business module is worked as the device events of being notified and is initiated when being poll event the inquiry of the state information of equipment and be updated in the data structure that this business module safeguards, whether inquiry simultaneously has new configuration parameter, if having then this new configuration parameter is handed down to described equipment.
CN2010106160097A 2010-12-30 2010-12-30 Monitoring method and monitoring device of equipment in distributed system Pending CN102075354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106160097A CN102075354A (en) 2010-12-30 2010-12-30 Monitoring method and monitoring device of equipment in distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106160097A CN102075354A (en) 2010-12-30 2010-12-30 Monitoring method and monitoring device of equipment in distributed system

Publications (1)

Publication Number Publication Date
CN102075354A true CN102075354A (en) 2011-05-25

Family

ID=44033709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106160097A Pending CN102075354A (en) 2010-12-30 2010-12-30 Monitoring method and monitoring device of equipment in distributed system

Country Status (1)

Country Link
CN (1) CN102075354A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268356A (en) * 2021-07-20 2021-08-17 西安芯瞳半导体技术有限公司 LINUX system-based multi-GPU board card bounding system, method and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158718A2 (en) * 2000-05-24 2001-11-28 General Motors Corporation In-vehicle network management using virtual networks
CN1632769A (en) * 2003-12-22 2005-06-29 英业达股份有限公司 IDE equipment hot plug system and implementing method under Linux operating system
CN1655522A (en) * 2005-02-24 2005-08-17 港湾网络有限公司 Pre-configuration realization method for cradle type network apparatus service board
CN101459521A (en) * 2008-11-28 2009-06-17 福建星网锐捷网络有限公司 Hot-plugging implementing method and apparatus for router cable fastener

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158718A2 (en) * 2000-05-24 2001-11-28 General Motors Corporation In-vehicle network management using virtual networks
CN1632769A (en) * 2003-12-22 2005-06-29 英业达股份有限公司 IDE equipment hot plug system and implementing method under Linux operating system
CN1655522A (en) * 2005-02-24 2005-08-17 港湾网络有限公司 Pre-configuration realization method for cradle type network apparatus service board
CN101459521A (en) * 2008-11-28 2009-06-17 福建星网锐捷网络有限公司 Hot-plugging implementing method and apparatus for router cable fastener

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268356A (en) * 2021-07-20 2021-08-17 西安芯瞳半导体技术有限公司 LINUX system-based multi-GPU board card bounding system, method and medium

Similar Documents

Publication Publication Date Title
EP2260611B1 (en) Automated power topology discovery
US9780998B2 (en) Method and apparatus for managing physical network interface card, and physical host
CN1316362C (en) Equipment and method of relocating shared computer data in multiline procedure computer
CN101425022B (en) Dynamic allocation of virtual machine devices
US20070204069A1 (en) Port number emulation for wireless usb connections
CN104360878B (en) A kind of method and device of application software deployment
CN102982087B (en) A kind of method, device and Database Systems of Test database data consistency
CN101739287A (en) Device, system and method for managing virtual machines
EP2824893A1 (en) Data storage method and device
CN103530124A (en) Method and device for sharing hot plug device in Linux system
CN106775702B (en) Container-based service internal interface discovery method
CN105516386B (en) Method and system for detecting and processing MAC address conflict of server management system
US20100042852A1 (en) Power-on protection method, module and system
CN103685608A (en) Method and device for automatically configuring IP (Internet Protocol) address of security virtual machine
CN103516547A (en) Network parameter distribution method and device
CN110389843A (en) A kind of business scheduling method, device, equipment and readable storage medium storing program for executing
CN101808010B (en) Equipment management method and equipment management device and main control board
CN107220102A (en) The dormancy of virtual machine and awakening method and system
CN107517110A (en) Veneer configuration self-recovery method and device in a kind of distributed system
CN110399171A (en) A kind of hard disk management method, system and associated component
CN103257700A (en) Energy saving method and energy saving device for Android system
CN111124437A (en) Bare computer resource configuration information acquisition method, system and equipment based on OpenStack
CN114565502A (en) GPU resource management method, scheduling method, device, electronic equipment and storage medium
WO2008126145A1 (en) Setting method for virtual network adapter in virtual os environment of computer system and computer system
CN102075354A (en) Monitoring method and monitoring device of equipment in distributed system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110525