CN103139066A - Source switching method, main control equipment and node equipment - Google Patents

Source switching method, main control equipment and node equipment Download PDF

Info

Publication number
CN103139066A
CN103139066A CN2013100351342A CN201310035134A CN103139066A CN 103139066 A CN103139066 A CN 103139066A CN 2013100351342 A CN2013100351342 A CN 2013100351342A CN 201310035134 A CN201310035134 A CN 201310035134A CN 103139066 A CN103139066 A CN 103139066A
Authority
CN
China
Prior art keywords
unit
working traffic
business unit
business
standby
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
CN2013100351342A
Other languages
Chinese (zh)
Other versions
CN103139066B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201310035134.2A priority Critical patent/CN103139066B/en
Publication of CN103139066A publication Critical patent/CN103139066A/en
Application granted granted Critical
Publication of CN103139066B publication Critical patent/CN103139066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a source switching method, main control equipment and node equipment. The source switching method, the main control equipment and the node equipment are used for switching of business units when one business unit breaks down, guaranteeing the normal business service, preventing influence on other business units, and improving utilization rate of equipment. The source switching method comprises the steps of determining a spare business unit corresponding to a broken main business unit when the main control equipment determines that one main business unit breaks down, and determining the spare business unit to be used as a main business unit by the main control equipment. Each business unit is used for providing a certain business service.

Description

A kind of changing method of resource, main control device and node device
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of changing method, main control device and node device of resource.
Background technology
In communication system, in order to guarantee high reliability, need to prevent server to the operation flow processing that backups, after the equipment faults such as industrial computer, veneer, business can not be recovered.Traditional backup mode is take equipment as the backup unit, as long as the business module fault in host apparatus will trigger switching, host apparatus resets, and stand-by equipment rises primary, and the business module on new host apparatus continues to provide service.As long as on host apparatus, certain business module has fault, just trigger and switch, and the operating state of other business modules on not consideration equipment.
Therefore, equipment switching mode of the prior art, utilization rate of equipment and installations is lower.
Summary of the invention
The embodiment of the present invention provides a kind of changing method of resource, main control device and node device, and in order to service switchover unit when business unit breaks down, other business unit on not impact equipment ensures the regular traffic service, improves equipment efficiency of usage.
The changing method of a kind of resource that the embodiment of the present invention provides comprises:
When main control device determines that arbitrary working traffic unit in network breaks down, determine standby business unit corresponding to working traffic unit that breaks down;
Main control device is defined as the working traffic unit with described standby business unit;
Wherein, each business unit is used for providing a business service of setting.
The changing method of the another kind of resource that the embodiment of the present invention provides comprises:
Node device receives the indication information that the main control device in network sends;
Node device is according to described indication information, and standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
A kind of main control device that the embodiment of the present invention provides comprises:
Selected cell is used for determining standby business unit corresponding to working traffic unit that breaks down when arbitrary working traffic unit of the node device of definite network breaks down;
Switch unit is used for described standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
A kind of node device that the embodiment of the present invention provides comprises:
Receiving element is for the indication information of the main control device transmission that receives network;
Switch unit is used for according to described indication information, and standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
As seen through the above technical solutions, when main control device determines that arbitrary working traffic unit in network breaks down, determine standby business unit corresponding to working traffic unit that breaks down in the present invention; Main control device is defined as the working traffic unit with described standby business unit; Wherein, each business unit is used for providing a business service of setting.As fault judgement and the object that switches, make being used in the equipment at the place, working traffic unit of breaking down provide the business unit of other business service unaffected with the business unit in process, this programme has improved equipment efficiency of usage.
Description of drawings
The schematic flow sheet of the changing method of a kind of resource that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the changing method of the another kind of resource that Fig. 2 provides for the embodiment of the present invention;
The logical schematic of business unit relation in the network that Fig. 3 provides for the specific embodiment of the invention;
The logical schematic that in the network that Fig. 4 provides for the specific embodiment of the invention, service groups is divided;
The logical schematic of N+M backup in the network that Fig. 5 provides for the specific embodiment of the invention;
The initialized schematic flow sheet of the business unit job network that Fig. 6 provides for the specific embodiment of the invention;
The single plate interactive schematic diagram of the initialization flow process that Fig. 7 provides for the specific embodiment of the invention;
The schematic flow sheet of Fig. 8 provides for the specific embodiment of the invention master control borad configuration service unit;
The schematic flow sheet of the business unit troubleshooting that Fig. 9 provides for the specific embodiment of the invention;
The structural representation of a kind of main control device that Figure 10 provides for the specific embodiment of the invention;
The structural representation of a kind of node device that Figure 11 provides for the specific embodiment of the invention.
Embodiment
The embodiment of the present invention provides a kind of changing method of resource, and main control device and node device in order to service switchover unit when business unit breaks down, ensure the regular traffic service, and other business unit on not impact equipment improves equipment efficiency of usage.
The embodiment of the present invention is utilized multi-process operating system, has expanded the function and application scope of equipment.Assembly is the base unit of device program when operation, possesses independent compilation, the function of independent evolution, and each assembly provides a kind of independent service, and a plurality of assemblies provide one to set business service jointly.Will be used to providing an all components of setting business service be defined as a business unit, the business service that provides according to equipment is determined the miscellaneous service unit.In device network, provide the business unit of same business service to be provided with a plurality of, comprise working traffic unit and standby business unit, and provide each business unit of same business service to be configured in different processes to move.Wherein, the working traffic unit is used for providing business service, and standby business unit provides the backup services of working traffic unit, when working traffic unit corresponding to standby business unit breaks down, standby business unit is defined as the working traffic unit, in order to continue to provide business service.
Referring to Fig. 1, the changing method of a kind of resource that the embodiment of the present invention provides comprises:
S101, when main control device determines that arbitrary working traffic unit in network breaks down, determine standby business unit corresponding to working traffic unit that breaks down;
S102, main control device are defined as the working traffic unit with described standby business unit;
Wherein, each business unit is used for providing a business service of setting.
Better, when described standby business unit is in node device, main control device sends indication information to the node device at described standby business unit place, in order to the node device of indicating described standby business unit place, described standby business unit is defined as the working traffic unit; When described standby business unit was in main control device, main control device was defined as the working traffic unit with described standby business unit.
Better, when the working traffic unit that breaks down does not have the standby business unit of correspondence of normal operation, perhaps when the working traffic unit that breaks down does not arrange corresponding standby business unit, the business unit that breaks down is not carried out hand-off process.
Better, determine described in S101 that arbitrary working traffic unit of the node device in network breaks down, comprising: receive the fault message about arbitrary working traffic unit that the node device in network sends; Perhaps, the working traffic unit of determining main control device breaks down; Perhaps, determine that node device loses response.Better, when definite node device lost response, each working traffic unit and the standby business unit determining to lose in the node device of response all broke down.
Better, this programme also comprises the abnormality processing to each business unit: when main control device determined that arbitrary standby business unit breaks down, working traffic that this standby business unit is corresponding unit was defined as be used to working traffic unit corresponding to the standby business unit that does not break down that same business service is provided.
Better, this programme comprises the configuration to each business unit during network startup.Preset length after main control device starts is in the time, and the method also comprises: main control device receives the status query request of business unit, in order to determine that business unit is in master state or stand-by state; Main control device determines that business unit is in master state or stand-by state, when business unit is in stand-by state, determines the working traffic unit that this standby business unit is corresponding; Main control device sends the state indication that is in master state or stand-by state to business unit; Wherein, when definite business unit was in stand-by state, the indication of described state also comprised the information of the working traffic unit that the business unit that is in stand-by state is corresponding.Described preset length is in the time, and each business unit can be completed normal startup.
Better, described definite business unit is in master state or stand-by state, comprising: judge that whether the working traffic unit that is used for providing same business service in network has reached default number, if so, determines that business unit is in stand-by state; Otherwise, determine that business unit is in master state.First configure the working traffic unit, then configure standby business unit, ensure the number that the working traffic of business service unit normally is provided.
The working traffic unit that each standby business unit of this programme equilibrium allocation is corresponding.
Better, it is described when definite business unit is in stand-by state, determine the working traffic unit that this standby business unit is corresponding, comprising: determine in pre-configured network to be used for to provide the number M of standby business unit of same business service and the number N of working traffic unit; And, determine the number N/M of the working traffic unit that each standby business unit is corresponding; Wherein, when N/M is not integer, get the smallest positive integral greater than N/M; When the number of the working traffic unit of not determining corresponding relation during greater than N/M, N/M the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to this standby business unit; When the number of the working traffic unit of not determining corresponding relation during less than N/M, the working traffic unit of all not determining corresponding relations is defined as working traffic unit corresponding to this standby business unit.Dispose a plurality of N+M business unit combinations in system, each combination distributes according to the backup of carrying out business unit with upper type separately.The desirable positive count of the value of N and M when N=1.M=1, is 1+1 backup.
Better, complete at main control device and start preset length after the time, the method comprises: the number of standby business unit that provides same business service when main control device being used for of determining is during less than the number of the pre-configured standby business unit of network, and the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to determined standby business unit.With the preset length time as the stand-by period, for there being business unit place node device to be not activated in network, or business unit is failed the situation of normal response after startup, after the stand-by period surpasses, working traffic unit corresponding to standby business unit that the working traffic unit of not determining corresponding relation has been defined as determining.
Better, the described working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit, is not carry out when working traffic unit number corresponding to standby business unit reaches default thresholding.Each standby business unit can be standby the maximum number of working traffic unit be described default thresholding, when the number of working traffic unit corresponding to standby business unit during greater than default thresholding, even the working traffic unit of not determining corresponding relation is arranged, also no longer distributes.
Better, after the described working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit, the method also comprises: when defining newly-increased standby business unit and do not determine the working traffic unit of corresponding relation, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly; When defining newly-increased standby business unit and the working traffic unit of determining corresponding relation is arranged not, working traffic unit corresponding to standby business unit that the working traffic unit of not determining corresponding relation is defined as increasing newly; If the number of the working traffic unit that newly-increased standby business unit is corresponding does not reach default thresholding, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly.
That is to say, when main control device defines newly-increased standby business unit, preferentially will not determine working traffic unit corresponding to standby business unit that the working traffic unit of corresponding relation is defined as increasing newly, the number of the working traffic unit that newly-increased standby business unit is corresponding can not surpass default thresholding equally.If do not determine that the working traffic unit of corresponding relation assigns, then the number of working traffic unit corresponding to business unit standby according to each, the corresponding relation between business unit is shifted, distribute with the equilibrium of satisfying between standby business unit.
Referring to Fig. 2, the changing method of the another kind of resource that the embodiment of the present invention provides comprises:
S201, node device receive the indication information that the main control device in network sends;
S202, node device be according to described indication information, and standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
Better, the method also comprises: when node device determines that arbitrary working traffic unit or standby business unit break down, restart this working traffic unit or standby business unit place process, and the fault message of this working traffic unit or standby business unit is sent to main control device.
Better, the method also comprises: when node device has arbitrary business unit to complete startup, send the status query request of business unit to main control device, in order to determine that business unit is in master state or stand-by state; Node device receives main control device according to the state indication of status query request feedback; Node device determines that according to the state indication of main control device feedback business unit is in master state, determines that perhaps business unit is in stand-by state and obtains the information of working traffic unit corresponding to the business unit that is in stand-by state from the state indication.
Take veneer as example, the below provides specific embodiments of the invention.
As shown in Figure 3, be the logical schematic of business unit relation in the network that provides of the specific embodiment of the invention.The master control borad of system is controlled gusset plate, and master control borad is disposed gbakup assembly (global backup management, overall backup management), and the business unit of whole system is managed.In each gusset plate deploy lbackup assembly (local backup management, local backup management), the business unit of this gusset plate is managed.Dispose a plurality of assemblies in process, assembly C1 does not possess backup relation, and assembly C2 and C3 are planned to a business unit bu1, and assembly C4 and C5 are planned to a business unit bu2.The business unit configuration also can be arranged on master control borad.
Fig. 4 is the business unit program advocacy, and business unit bu1 and bu3 belong to service groups bg1, and business unit bu2 and bu4 belong to service groups bg2.Wherein the c2 assembly of the c2 assembly of bu1 and bu3 has backup relation, and the c3 assembly of bu1 and the c3 assembly of bu4 have backup relation, and the c4 assembly of bu2 and the c4 assembly of bu4 have backup relation, and the c5 assembly of bu2 and the c5 assembly of bu4 have backup relation.
Fig. 5 is general N+M backup mode (N=3, M=2), and bg comprises 5 business unit (bu1, bu2, bu3, bu4, bu5), and 3 is primary, and 2 is standby, and the standby usage relation is determined by system is in service.Assembly c1 wherein, c3, c5, c7, c9 has backup relation, assembly c2, c4, c6, c8, c10 has backup relation.Exist each process of backup relation that identical business service is provided.
A procedure deployment business unit number is not limit.According to ruuning situation, the business unit of a veneer deploy both may have the working traffic unit, also standby business unit may be arranged, and the business unit that service groups comprises can be deployed on different veneers, also can be deployed on same veneer.If be deployed on same veneer, business unit need to be deployed in the abnormal timely recovery of different process guarantees.
During each single board starting, according to the process on the data configuration loading monoboard, and the assembly in process is loaded, activates processing; Start not impact between each veneer, each assembly is also parallel processing.Referring to Fig. 6, the initialization flow process of veneer job network comprises:
When the gbackup assembly on S601, master control borad is received activation command, obtain the information of assembly on service groups information, business unit information and the business unit of whole system and preserve from database.
When the lbackup assembly on S602, gusset plate is received activation command, the business unit information that the gbackup assembly on master control borad is inquired about the configuration of this node, request message carries self physical address.
S603, other assemblies are received activation command, carry out the initialization process of assembly and register to lbackup.
S604, lbackup assembly are received configuration information and record, and whether the assembly in the business unit of judgement configuration is all registered, if the assembly in certain business unit is all registered, the gbackup assembly on master control borad sends the business unit status query request.
S605, gbackup assembly are received the business unit status query request, and determining the state of business unit and echo to lbackup according to pre-configured strategy should.
S606, lbackup assembly are received the business unit status response message, assembly in the business unit is sent out state indication message successively, assembly is received that Indication message is processed according to activestandby state and echoed to lbackup should, after the response of all component in business unit is received in the lbackup judgement, complete Indication message for the setting of gbackup assembly sending service location mode, the gbackup assembly is received the message preservation.
S607, business unit determine to start working after oneself activestandby state, and the assembly of working traffic unit provides business service jointly, and the assembly of standby business unit all provides backup services.
Referring to Fig. 7, it is the single plate interactive schematic diagram of initialization flow process.
Because the state of each veneer of netinit stage is all unknown, when state being set for standby business unit during therefore, need to start a timer, after this timer effect guaranteed that the timer expiry time arrives, all standby business unit were all normal.Be designed to example with the N+M backup, referring to Fig. 8, master control borad comprises the following steps the collocation strategy of business unit:
S801, according to the order of business unit status request, the state that first arranges is primary, then the state that arranges is standby;
Before N working traffic location mode do not arrange and complete, M standby business unit is not set.
The gbackup assembly is received the business unit status query request, at first judges the number of working traffic unit in this service groups, is primary and echo to lbackup should if number less than N, arranges this business unit; If working traffic unit number reaches N, it is standby that the business unit state is set.
S802, when standby business unit is set, search the individual working traffic unit of not determining backup relation of N/M (rounding up) in already present working traffic unit, with standby business unit information, the standby primary information of backup that needs is issued corresponding lbackup.If do not determine the not enough N/M (rounding up) of the number of backup relation in the working traffic unit, get all remaining.
Judge after S803, timer expiry whether M standby business unit is all determined, if not enough M the veneer of place (the possible business unit be not activated), need to carry out load balancing, will not determine the assigning on all normal standby business unit of working traffic unit equilibrium of backup relation.
The process of each service groups executed in parallel S801-S803 is independent of each other.
After timer expiry, the processing of each business unit is comprised following situation:
1, the business unit status query request is arranged: it is standby that this business unit is set, and N/M primary information of other standby business unit backups is moved on to this business unit backup.The backup that guarantees standby business unit is balanced.
2, each business unit fault is detected and processes, referring to Fig. 9, concrete steps comprise:
S901, each business unit is carried out fault detect;
The lbackup assembly carries out health detection to other assemblies, if the assembly heartbeat in business unit disappearance is just thought the business unit fault, the process at this business unit place is restarted and is notified the gbackup assembly to process.
The gbackup assembly carries out heartbeat detection between node, if certain node is abnormal, the gbackup assembly judges the state of the business unit that configures on this node, processes successively.If the working traffic unit is arranged, it is primary notifying its standby business unit Status Change; If standby business unit is arranged, notify its working traffic unit backup object variation.
Processing to the working traffic cell failure turns S902, and the processing of standby business unit fault is turned S903.
S902, processing business cell failure;
Process the working traffic cell failure: the gbackup component detection is to the working traffic cell failure, this business unit state is set for unknown, and search this standby business unit corresponding to working traffic unit, after defining the standby business unit of normal correspondence, this standby business unit state is set is primary and notify the lbackup on the node of standby business unit place to carry out the state set handling, lbackup carries out the state setting successively to the assembly in business unit, notice gbackup record after the state setting is completed.If also back up other primary information on standby business unit, need primary backup information is discharged.
After the working traffic cell failure, process restarts, and again carries out status query request to the gbackup assembly.
Process standby business unit fault: standby business unit fault, the gbackup component detection arrives, this business unit state is set for unknown, notify simultaneously the working traffic unit of standby backup, its backup relation is switched to another standby business unit (if having normal standby business unit).
After standby business unit fault, process is restarted, and this business unit carries out status query request to the gbackup assembly again.
Referring to Figure 10, a kind of main control device that the embodiment of the present invention provides comprises:
Selected cell 1001 is used for determining standby business unit corresponding to working traffic unit that breaks down when arbitrary working traffic unit of the node device of definite network breaks down;
Switch unit 1002 is used for described standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
Better, be used for when described standby business unit is in node device, node device to described standby business unit place sends indication information, in order to the node device of indicating described standby business unit place, described standby business unit is defined as the working traffic unit; When described standby business unit was in main control device, main control device was defined as the working traffic unit with described standby business unit.
Better, described selected cell determines that the arbitrary working traffic unit in network breaks down, and comprising: receive the fault message about arbitrary working traffic unit that the node device in network sends; Perhaps, the working traffic unit of determining main control device breaks down; Perhaps, determine that node device loses response.
Better, when selecting the unit to determine that node device loses response, each working traffic unit and the standby business unit determining to lose in the node device of response all break down.
Better, this equipment also comprises: standby fault processing unit, be used for when definite arbitrary standby business unit breaks down, working traffic that this standby business unit is corresponding unit is defined as be used to working traffic unit corresponding to the standby business unit that does not break down that same business service is provided.
Better, this equipment also comprises the startup processing unit, in the time, receives the status query request of business unit for the preset length after main control device starts, in order to determine that business unit is in master state or stand-by state; Determine that business unit is in master state or stand-by state, when business unit is in stand-by state, determine the working traffic unit that this standby business unit is corresponding; Send the state indication that is in master state or stand-by state to business unit; Wherein, when definite business unit was in stand-by state, the indication of described state also comprised the information of the working traffic unit that the business unit that is in stand-by state is corresponding.
Better, described startup processing unit determines that business unit is in master state or stand-by state, comprise: judge in network that whether the working traffic unit that is used for providing same business service has reached default number, if so, determines that business unit is in stand-by state; Otherwise, determine that business unit is in master state.
Better, when definite business unit is in stand-by state, described startup processing unit is determined the working traffic unit that this standby business unit is corresponding, comprising: determine in pre-configured network to be used for to provide the standby business unit number M of same business service and the number N of working traffic unit; And, determine the number N/M of the working traffic unit that each standby business unit is corresponding; Wherein, when N/M is not integer, get the smallest positive integral greater than N/M; When the number of the working traffic unit of not determining corresponding relation during greater than N/M, N/M the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to this standby business unit; When the number of the working traffic unit of not determining corresponding relation during less than N/M, the working traffic unit of all not determining corresponding relations is defined as working traffic unit corresponding to this standby business unit.
Better, this equipment also comprises balanced allocation units, be used for completing at main control device and start preset length after the time, the number of standby business unit that provides same business service when being used for of determining is during less than the number of the pre-configured standby business unit of network, and the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to determined standby business unit.
Better, the described working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit, is not carry out when working traffic unit number corresponding to standby business unit reaches default thresholding.
Better, balanced allocation units also are used for after the working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit, when defining newly-increased standby business unit and do not determine the working traffic unit of corresponding relation, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly; When defining newly-increased standby business unit and the working traffic unit of determining corresponding relation is arranged not, working traffic unit corresponding to standby business unit that the working traffic unit of not determining corresponding relation is defined as increasing newly; If the number of the working traffic unit that newly-increased standby business unit is corresponding does not reach default thresholding, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly.
Referring to Figure 11, a kind of node device that the embodiment of the present invention provides comprises:
Receiving element 1101 is for the indication information of the main control device transmission that receives network;
Switch unit 1102 is used for according to described indication information, and standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
Better, this equipment also comprises: fault processing unit, be used for when node device determines that arbitrary working traffic unit or standby business unit break down, restart this working traffic unit or standby business unit place process, and the fault message of this working traffic unit or standby business unit is sent to main control device.
Better, this equipment also comprises and the status poll unit being used for: when having arbitrary business unit to complete to start, send the status query request of business unit to main control device, in order to determine that business unit is in master state or stand-by state; Receive main control device according to the state indication of status query request feedback; According to the state indication of main control device feedback, determine that business unit is in master state, determine that perhaps business unit is in stand-by state and obtains the information of working traffic unit corresponding to the business unit that is in stand-by state from the state indication.
In sum, the embodiment of the present invention provides a kind of changing method of resource, main control device and node device, in order to service switchover unit when business unit breaks down, the service of guarantee regular traffic, other business unit on not impact equipment improves equipment efficiency of usage.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the present invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of realizing in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby be provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction of carrying out on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (28)

1. the changing method of a resource, is characterized in that, the method comprises:
When main control device determines that arbitrary working traffic unit in network breaks down, determine standby business unit corresponding to working traffic unit that breaks down;
Main control device is defined as the working traffic unit with described standby business unit;
Wherein, each business unit is used for providing a business service of setting.
2. the method for claim 1, is characterized in that, described main control device is defined as the working traffic unit with described standby business unit, comprising:
When described standby business unit is in node device, main control device sends indication information to the node device at described standby business unit place, in order to the node device of indicating described standby business unit place, described standby business unit is defined as the working traffic unit;
When described standby business unit was in main control device, main control device was defined as the working traffic unit with described standby business unit.
3. the method for claim 1, is characterized in that, the arbitrary working traffic unit in described definite network breaks down, and comprising:
Receive the fault message about arbitrary working traffic unit that the node device in network sends; Perhaps,
The working traffic unit of determining main control device breaks down; Perhaps,
Determine that node device loses response.
4. method as claimed in claim 3, is characterized in that, when definite node device loses when response, each working traffic unit and the standby business unit determining to lose in the node device of response all break down.
5. the method for claim 1, is characterized in that, the method also comprises:
When main control device determined that arbitrary standby business unit breaks down, working traffic that this standby business unit is corresponding unit was defined as be used to working traffic unit corresponding to the standby business unit that does not break down that same business service is provided.
6. the method for claim 1, is characterized in that, the preset length after main control device starts is in the time, and the method also comprises:
Main control device receives the status query request of business unit, in order to determine that business unit is in master state or stand-by state;
Main control device determines that business unit is in master state or stand-by state, when business unit is in stand-by state, determines the working traffic unit that this standby business unit is corresponding;
Main control device sends the state indication that is in master state or stand-by state to business unit; Wherein, when definite business unit was in stand-by state, the indication of described state also comprised the information of the working traffic unit that the business unit that is in stand-by state is corresponding.
7. method as claimed in claim 6, is characterized in that, described definite business unit is in master state or stand-by state, comprising:
Judge in network that whether the working traffic unit that is used for providing same business service has reached default number, if so, determines that business unit is in stand-by state; Otherwise, determine that business unit is in master state.
8. method as claimed in claim 7, is characterized in that, and is described when definite business unit is in stand-by state, determines the working traffic unit that this standby business unit is corresponding, comprising:
Determine in pre-configured network to be used for to provide the number M of standby business unit of same business service and the number N of working traffic unit; And, determine the number N/M of the working traffic unit that each standby business unit is corresponding; Wherein, when N/M is not integer, get the smallest positive integral greater than N/M;
When the number of the working traffic unit of not determining corresponding relation during greater than N/M, N/M the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to this standby business unit;
When the number of the working traffic unit of not determining corresponding relation during less than N/M, the working traffic unit of all not determining corresponding relations is defined as working traffic unit corresponding to this standby business unit.
9. as claim 6,7 or 8 described methods, it is characterized in that, complete the startup preset length after the time at main control device, the method comprises:
The number of standby business unit that provides same business service when main control device being used for of determining is during less than the number of the pre-configured standby business unit of network, and the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to determined standby business unit.
10. method as claimed in claim 9, it is characterized in that, the described working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit, is not carry out when working traffic unit number corresponding to standby business unit reaches default thresholding.
11. method as claimed in claim 10 is characterized in that, after the described working traffic unit that will not determine corresponding relation was defined as working traffic unit corresponding to determined standby business unit, the method also comprised:
When main control device defined newly-increased standby business unit and do not determine the working traffic unit of corresponding relation, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine was working traffic unit corresponding to standby business unit that increases newly;
When main control device defines newly-increased standby business unit and the working traffic unit of determining corresponding relation is arranged not, working traffic unit corresponding to standby business unit that the working traffic unit of not determining corresponding relation is defined as increasing newly; If the number of the working traffic unit that newly-increased standby business unit is corresponding does not reach default thresholding, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly.
12. the changing method of a resource is characterized in that, the method comprises:
Node device receives the indication information that the main control device in network sends;
Node device is according to described indication information, and standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
13. method as claimed in claim 12 is characterized in that, the method also comprises:
When node device determines that arbitrary working traffic unit or standby business unit break down, restart this working traffic unit or standby business unit place process, and the fault message of this working traffic unit or standby business unit is sent to main control device.
14. method as claimed in claim 12 is characterized in that, the method also comprises:
When node device has arbitrary business unit to complete startup, send the status query request of business unit to main control device, in order to determine that business unit is in master state or stand-by state;
Node device receives main control device according to the state indication of status query request feedback;
Node device determines that according to the state indication of main control device feedback business unit is in master state, determines that perhaps business unit is in stand-by state and obtains the information of working traffic unit corresponding to the business unit that is in stand-by state from the state indication.
15. a main control device is characterized in that, this equipment comprises:
Selected cell is used for determining standby business unit corresponding to working traffic unit that breaks down when arbitrary working traffic unit of definite network breaks down;
Switch unit is used for described standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
16. equipment as claimed in claim 15 is characterized in that, described switch unit specifically is used for:
When described standby business unit is in node device, send indication information to the node device at described standby business unit place, in order to the node device of indicating described standby business unit place, described standby business unit is defined as the working traffic unit;
When described standby business unit was in main control device, main control device was defined as the working traffic unit with described standby business unit.
17. equipment as claimed in claim 15 is characterized in that, described selected cell determines that the arbitrary working traffic unit in network breaks down, and comprising:
Receive the fault message about arbitrary working traffic unit that the node device in network sends; Perhaps,
The working traffic unit of determining main control device breaks down; Perhaps,
Determine that node device loses response.
18. equipment as claimed in claim 17 is characterized in that, when selecting the unit to determine that node device loses response, each working traffic unit and the standby business unit determining to lose in the node device of response all break down.
19. equipment as claimed in claim 15 is characterized in that, this equipment also comprises:
Standby fault processing unit, be used for when definite arbitrary standby business unit breaks down, working traffic that this standby business unit is corresponding unit is defined as be used to working traffic unit corresponding to the standby business unit that does not break down that same business service is provided.
20. equipment as claimed in claim 15 is characterized in that, this equipment also comprises the startup processing unit, is used for preset length after main control device starts in the time,
Receive the status query request of business unit, in order to determine that business unit is in master state or stand-by state;
Determine that business unit is in master state or stand-by state, when business unit is in stand-by state, determine the working traffic unit that this standby business unit is corresponding;
Send the state indication that is in master state or stand-by state to business unit; Wherein, when definite business unit was in stand-by state, the indication of described state also comprised the information of the working traffic unit that the business unit that is in stand-by state is corresponding.
21. equipment as claimed in claim 20 is characterized in that, described startup processing unit determines that business unit is in master state or stand-by state, comprising:
Judge in network that whether the working traffic unit that is used for providing same business service has reached default number, if so, determines that business unit is in stand-by state; Otherwise, determine that business unit is in master state.
22. equipment as claimed in claim 21 is characterized in that, when definite business unit was in stand-by state, described startup processing unit was determined the working traffic unit that this standby business unit is corresponding, comprising:
Determine in pre-configured network to be used for to provide the number M of standby business unit of same business service and the number N of working traffic unit; And, determine the number N/M of the working traffic unit that each standby business unit is corresponding; Wherein, when N/M is not integer, get the smallest positive integral greater than N/M;
When the number of the working traffic unit of not determining corresponding relation during greater than N/M, N/M the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to this standby business unit;
When the number of the working traffic unit of not determining corresponding relation during less than N/M, the working traffic unit of all not determining corresponding relations is defined as working traffic unit corresponding to this standby business unit.
23. as claim 20,21 or 22 described equipment, it is characterized in that, this equipment also comprises balanced allocation units, be used for completing at main control device starting preset length after the time,
The number of standby business unit that provides same business service when being used for of determining is during less than the number of the pre-configured standby business unit of network, and the working traffic unit of not determining corresponding relation is defined as working traffic unit corresponding to determined standby business unit.
24. equipment as claimed in claim 23, it is characterized in that, the described working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit, is not carry out when working traffic unit number corresponding to standby business unit reaches default thresholding.
25. equipment as claimed in claim 24 is characterized in that, balanced allocation units also are used for after the working traffic unit that will not determine corresponding relation is defined as working traffic unit corresponding to determined standby business unit,
When defining newly-increased standby business unit and do not determine the working traffic unit of corresponding relation, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly;
When defining newly-increased standby business unit and the working traffic unit of determining corresponding relation is arranged not, working traffic unit corresponding to standby business unit that the working traffic unit of not determining corresponding relation is defined as increasing newly; If the number of the working traffic unit that newly-increased standby business unit is corresponding does not reach default thresholding, will be used for that part working traffic unit corresponding to other standby business unit that same business service is provided redefine is working traffic unit corresponding to standby business unit that increases newly.
26. a node device is characterized in that, this equipment comprises:
Receiving element is for the indication information of the main control device transmission that receives network;
Switch unit is used for according to described indication information, and standby business unit is defined as the working traffic unit;
Wherein, each business unit is used for providing a business service of setting.
27. equipment as claimed in claim 26 is characterized in that, this equipment also comprises:
Fault processing unit, be used for when node device determines that arbitrary working traffic unit or standby business unit break down, restart this working traffic unit or standby business unit place process, and the fault message of this working traffic unit or standby business unit is sent to main control device.
28. equipment as claimed in claim 26 is characterized in that, this equipment also comprises and the status poll unit being used for:
When having arbitrary business unit to complete startup, send the status query request of business unit to main control device, in order to determine that business unit is in master state or stand-by state;
Receive main control device according to the state indication of status query request feedback;
According to the state indication of main control device feedback, determine that business unit is in master state, determine that perhaps business unit is in stand-by state and obtains the information of working traffic unit corresponding to the business unit that is in stand-by state from the state indication.
CN201310035134.2A 2013-01-29 2013-01-29 A kind of changing method of resource, main control device and node device Active CN103139066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310035134.2A CN103139066B (en) 2013-01-29 2013-01-29 A kind of changing method of resource, main control device and node device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310035134.2A CN103139066B (en) 2013-01-29 2013-01-29 A kind of changing method of resource, main control device and node device

Publications (2)

Publication Number Publication Date
CN103139066A true CN103139066A (en) 2013-06-05
CN103139066B CN103139066B (en) 2017-04-05

Family

ID=48498396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310035134.2A Active CN103139066B (en) 2013-01-29 2013-01-29 A kind of changing method of resource, main control device and node device

Country Status (1)

Country Link
CN (1) CN103139066B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200148A (en) * 2014-08-25 2014-12-10 浪潮集团有限公司 Smart card redundancy switching method based on independently domestic redundancy server
WO2016165465A1 (en) * 2015-09-29 2016-10-20 中兴通讯股份有限公司 Network management method, emergency system and storage medium
CN106656530A (en) * 2015-07-27 2017-05-10 中兴通讯股份有限公司 Method and device for generating Operation, Administration and Maintenance alarm

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678369B2 (en) * 2000-06-09 2004-01-13 Nms Communications Corporation Network interface redundancy
CN1518234A (en) * 2003-01-17 2004-08-04 深圳市中兴通讯股份有限公司上海第二 Centralized control and hierarchical implementing switching control method and device
CN1747585A (en) * 2004-09-10 2006-03-15 华为技术有限公司 Method and device for realizing service processing unit backup in intelligent network system
CN1750419A (en) * 2004-09-16 2006-03-22 华为技术有限公司 Method and device for realizing single board backup in communication network device
CN1764080A (en) * 2005-11-15 2006-04-26 中兴通讯股份有限公司 Device and method for realizing ASC
CN1852456A (en) * 2005-11-30 2006-10-25 华为技术有限公司 System for realizing business switch-over and method therefor
CN101110862A (en) * 2006-07-18 2008-01-23 中兴通讯股份有限公司 Speech processing system implementing method
CN101150361A (en) * 2006-09-20 2008-03-26 北京格林威尔科技发展有限公司 A method and system for realizing fully protective switching in passive optical network
CN101212723A (en) * 2006-12-27 2008-07-02 大唐移动通信设备有限公司 Cluster network system and failure attenuation method on the basis of the network system
CN102045259A (en) * 2010-12-30 2011-05-04 上海顶竹通讯技术有限公司 Packet switching equipment and method for managing customer service
CN102130718A (en) * 2010-01-20 2011-07-20 中兴通讯股份有限公司 Network element equipment and method for protection switching of backbone optical path

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678369B2 (en) * 2000-06-09 2004-01-13 Nms Communications Corporation Network interface redundancy
CN1518234A (en) * 2003-01-17 2004-08-04 深圳市中兴通讯股份有限公司上海第二 Centralized control and hierarchical implementing switching control method and device
CN1747585A (en) * 2004-09-10 2006-03-15 华为技术有限公司 Method and device for realizing service processing unit backup in intelligent network system
CN1750419A (en) * 2004-09-16 2006-03-22 华为技术有限公司 Method and device for realizing single board backup in communication network device
CN1764080A (en) * 2005-11-15 2006-04-26 中兴通讯股份有限公司 Device and method for realizing ASC
CN1852456A (en) * 2005-11-30 2006-10-25 华为技术有限公司 System for realizing business switch-over and method therefor
CN101110862A (en) * 2006-07-18 2008-01-23 中兴通讯股份有限公司 Speech processing system implementing method
CN101150361A (en) * 2006-09-20 2008-03-26 北京格林威尔科技发展有限公司 A method and system for realizing fully protective switching in passive optical network
CN101212723A (en) * 2006-12-27 2008-07-02 大唐移动通信设备有限公司 Cluster network system and failure attenuation method on the basis of the network system
CN102130718A (en) * 2010-01-20 2011-07-20 中兴通讯股份有限公司 Network element equipment and method for protection switching of backbone optical path
CN102045259A (en) * 2010-12-30 2011-05-04 上海顶竹通讯技术有限公司 Packet switching equipment and method for managing customer service

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200148A (en) * 2014-08-25 2014-12-10 浪潮集团有限公司 Smart card redundancy switching method based on independently domestic redundancy server
CN104200148B (en) * 2014-08-25 2017-06-09 浪潮集团有限公司 A kind of smart card redundancy switching method based on autonomous domestic redundant server
CN106656530A (en) * 2015-07-27 2017-05-10 中兴通讯股份有限公司 Method and device for generating Operation, Administration and Maintenance alarm
WO2016165465A1 (en) * 2015-09-29 2016-10-20 中兴通讯股份有限公司 Network management method, emergency system and storage medium
CN106559822A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 A kind of network management and emergency system

Also Published As

Publication number Publication date
CN103139066B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN202798798U (en) High availability system based on cloud computing technology
US10999139B2 (en) Online upgrade method, apparatus, and system
US9110843B2 (en) Rack and method thereof for simultaneously updating basic input output systems
CN108923992B (en) High-availability method and system for NAS cluster, electronic equipment and storage medium
CN103324495A (en) Method and system for data center server boot management
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN110874261B (en) Availability system, method, and storage medium storing program
US8032786B2 (en) Information-processing equipment and system therefor with switching control for switchover operation
CN104133734A (en) Distributed integrated modular avionic system hybrid dynamic reconfiguration system and method
CN105095001A (en) Virtual machine exception recovery method under distributed environment
CN103902316A (en) Switching method and electronic device
CN103618627A (en) Method, device and system for managing virtual machines
CN106330523A (en) Cluster server disaster recovery system and method, and server node
CN110377456A (en) A kind of management method and device of virtual platform disaster tolerance
CN104468521A (en) Online migration method, device and system
CN103634375A (en) Method, device and equipment for cluster node expansion
CN103324582A (en) Memory migration method, memory migration device and equipment
CN112199240B (en) Method for switching nodes during node failure and related equipment
CN105577408A (en) Method of VNFM disaster recovery protection, apparatus and NFVO thereof
CN108319492B (en) Method, device and system for resetting physical machine
CN105591778A (en) Method and system for updating configuration file in distributed system
CN105589756A (en) Batch processing cluster system and method
CN103139066A (en) Source switching method, main control equipment and node equipment
CN106161086A (en) Control method that master control borad is restarted and device
CN104461705A (en) Service access method, storage controllers and cluster storage 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
GR01 Patent grant
GR01 Patent grant