CN103023673A - Starting method and apparatus of control units - Google Patents
Starting method and apparatus of control units Download PDFInfo
- Publication number
- CN103023673A CN103023673A CN2011102814655A CN201110281465A CN103023673A CN 103023673 A CN103023673 A CN 103023673A CN 2011102814655 A CN2011102814655 A CN 2011102814655A CN 201110281465 A CN201110281465 A CN 201110281465A CN 103023673 A CN103023673 A CN 103023673A
- Authority
- CN
- China
- Prior art keywords
- control unit
- configuration data
- active
- primary
- loads
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a starting method and a starting apparatus of control units, and is used for loading a main/spare identifier for indicating the control units as main or spare control units in the process of starting equipment, so that the condition that the two control units enter a main/spare status according to the main/spare identifier which is preset by a user, right version loading and data configuration of the control units are guaranteed, so as to enable the equipment to safely operate can be realized. The embodiment of the invention discloses a starting method of the control units. The method comprises the following steps that: a first control unit is used for judging whether the first control unit and a second control unit have a preset main/spare identifier for indicating the control units as the main or spare control units; and when the first control unit determines that both the first control unit and the second control unit are provided with the main/spare identifier in a preset manner, equipment versions of the main and spare control units are loaded according to the main/spare identifier.
Description
Technical field
The present invention relates to the control field of communication equipment, particularly a kind of starting method of control unit and device.
Background technology
Telecommunication network equipment adopts control unit 1+1 backup form mostly for network operation security consideration at present, and equipment is at normal operation period, and two control units are worked simultaneously, and is main-slave control cell protection relation.I.e. two control units in the network equipment, one of them is as primary control unit, and another when primary control unit goes wrong, uses control unit for subsequent use as control unit for subsequent use instead, to guarantee safety of telecommunication equipment, normal operation.
In the existing Telecommunication network equipment, equipment the startup stage, the main and standby relation of two control units determines that method is as follows:
Simultaneously in place when two control units, and can both work the time, the control unit of finishing first startup is primary control unit, after finish startup control unit be control unit for subsequent use.When two control units only have one in place, this control unit in place is exactly primary control unit so naturally.
The main and standby relation of above-mentioned control unit determines that there are two problems in method in device start and running:
If first two control units are when the loading equipemtn release content there are differences separately in the device start process, after equipment is finished startup, may produce primary control unit operational outfit version is not this expection operational outfit version, and control unit operational outfit version for subsequent use is that this secondary device is restarted needs.This situation is powered on by primary control unit and restarts speed and power on than control unit for subsequent use that to restart speed fast and cause.
The second, in the device power restarting process, two control units are as long as one of them control unit is defined as primary control unit, configuration data in the equipment running process is mainly issued by primary control unit so, control unit for subsequent use is monitored the configuration data that primary control unit issues constantly, when the data of the data of preserving in the primary control unit and control unit for subsequent use preservation are inconsistent, control unit for subsequent use is held consultation unanimously to primary control unit, and namely control unit for subsequent use loads the configuration data of primary control unit.Like this, the configuration data of equipment operation may not be that this restarts the data that need.
In sum, in the existing Telecommunication network equipment, equipment is in start-up course, and the control unit main and standby relation is to determine by the sequencing that control unit is restarted.This method can not guarantee that two control units enter activestandby state according to re-set target, can not guarantee that two control units are according to re-set target loading equipemtn version and configuration data, can not guarantee that namely one of them control unit must be primary control unit, can not guarantee that one of them control unit loads the configuration data of oneself or the configuration data of another control unit, in case not being this secondary devices, primary control unit loading equipemtn version or configuration data do not restart needs, will cause the equipment run-time error, cause the dangerous of equipment.
Summary of the invention
The embodiment of the invention provides a kind of starting method and device of control unit, in order to be used to indicate the active and standby sign that control unit is primary control unit or control unit for subsequent use by in the device start process, loading, realize that two control units enter activestandby state according to the active and standby sign of user preset, guarantee the correct loading equipemtn version of control unit and configuration data, make equipment safety operation.
The starting method of a kind of control unit that the embodiment of the invention provides comprises:
The first control unit judges whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
The first control unit loads the device version of primary control unit according to active and standby sign when definite the first control unit and the second control unit all are preset with active and standby sign.
The starting drive of a kind of control unit that the embodiment of the invention provides comprises:
Active and standby sign judging unit is used for judging whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
The device version loading unit is used for loading the device version of primary control unit according to active and standby sign when described active and standby sign judging unit determines that the first control unit and the second control unit all are preset with active and standby sign.
The embodiment of the invention, the first control unit judge whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate; The first control unit loads the device version of primary control unit according to active and standby sign when definite the first control unit and the second control unit all are preset with active and standby sign.Realize that two control units enter activestandby state according to the active and standby sign of user preset, guarantee the correct loading equipemtn version of control unit and configuration data, make equipment safety operation.
Description of drawings
The starting method overall procedure schematic diagram of the control unit that Fig. 1 provides for the embodiment of the invention;
The starting method idiographic flow schematic diagram of the control unit that Fig. 2 provides for the embodiment of the invention;
The active and standby system of selection schematic flow sheet of control unit that Fig. 3 provides for the embodiment of the invention;
The starting method idiographic flow schematic diagram of the control unit that Fig. 4 provides for the embodiment of the invention;
The starting drive schematic diagram of the control unit that Fig. 5 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of starting method and device of control unit, in order to be used to indicate the active and standby sign that control unit is primary control unit or control unit for subsequent use by in the device start process, loading, realize that two control units enter activestandby state according to the active and standby sign of user preset, guarantee the correct load application version of control unit and configuration data, make equipment safety operation.
Described two control units are respectively the first control unit and the second control unit.
The starting method of a kind of control unit that the embodiment of the invention provides comprises:
The first control unit judges whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
The first control unit loads the device version of primary control unit according to active and standby sign when definite the first control unit and the second control unit all are preset with active and standby sign.
Preferably, the first control unit loads the device version of primary control unit according to active and standby sign, comprise: the first control unit judges that whether the active and standby sign of the first control unit indicates the first control unit is primary control unit, if so, then loads the device version of the first control unit; Otherwise, loading the device version of the second control unit, this second control unit is primary control unit.
Preferably, after the first control unit loads the device version of the first control unit, the method also comprises: the first control unit provides the configuration identifier of the control unit of configuration data according to being used to indicate of each control unit, load configuration data, and be handed down to by the equipment of the first control unit control.
Preferably, the first control unit judges that whether the configuration identifier of the first control unit indicates the first control unit for the control unit of configuration data is provided, and if so, then loads the configuration data of the first control unit, and is synchronized to the second control unit; Otherwise,
Judge that whether the configuration identifier of the second control unit indicates the second control unit for the control unit of configuration data is provided, and if so, then obtains the configuration data of the second control unit; Otherwise, load the configuration data of the first control unit, and be synchronized to the second control unit.
Preferably, after the first control unit loaded the device version of the second control unit, the method also comprised:
The first control unit judges that whether the configuration identifier of the first control unit indicates the first control unit for the control unit of configuration data is provided, and if so, then loads the configuration data of the first control unit, and is synchronized to the second control unit; Otherwise, obtain the configuration data of the second control unit.
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described.
Referring to Fig. 1, the starting method of a kind of control unit that the embodiment of the invention provides comprises:
S101, the first control unit judge whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate.
S102, the first control unit load the device version of primary control unit according to active and standby sign when definite the first control unit and the second control unit all are preset with active and standby sign.
Need to prove that the embodiment of the invention also comprised before control unit starts: for described the first control unit and the second control unit arrange the described active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
Particularly, equipment power on restart before, and at normal operation period, the user respectively in the operating system of described the first control unit and the second control unit, pre-sets the active and standby sign of each control unit by online order; The corresponding code of active and standby sign of described the first control unit that pre-sets and the second control unit is stored in respectively the code storage zone of the first control unit and the second control unit, in order to power on when restarting at each control unit, load the active and standby sign of each control unit, namely load the code in the described code storage zone.
Described active and standby sign can arrange by the mode that BOOT starts flag bit, and correspondingly, described code then is the BOOT code.For example: utilize BOOT to start the mode of flag bit, active and standby being designated " 1 " of the first control unit is set simultaneously, it is primary control unit that this active and standby sign is indicated this first control unit, and active and standby being designated " 0 " of the second control unit is set, and it is control unit for subsequent use that this active and standby sign is indicated this second control unit.
Described active and standby sign can also arrange by the form of flash identification document or the hardware logic that can write online flag bit.
The below arranges the described active and standby example that is designated in the mode that starts flag bit by BOOT, and the technical scheme that the embodiment of the invention provides is described.
Preferably, referring to Fig. 2, the starting method of the control unit that the embodiment of the invention provides specifically may further comprise the steps:
S201, each control unit load the described active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate in the restarting process that powers on;
Particularly, the first control unit and the second control unit load respectively described pre-stored BOOT code in self code storage zone.
S202, each control unit are identified the identity of oneself respectively by the own place of inquiry groove bit address coding.
Particularly, each control unit is in order to identify as primary control unit in the process of subsequent load device version and loading configuration data, need the identity of in advance identification oneself, namely identifying oneself is the first control unit or the second control unit, and concrete recognition methods is as follows:
Two control units judge it oneself is the first control unit or the second control unit by inquiring about own place groove bit address coding respectively, for example: if the groove bit address of a certain control unit inquiry oneself is encoded to " 8# ", then judge oneself to be the first control unit, be encoded to " 9# " if inquire about the groove bit address of oneself, then judge oneself to be the second control unit;
Wherein said " 8# " and " 9# " are the groove bit address codings of control unit, and the control unit of groove bit address when being encoded to " 8# " is that the first control unit and the groove bit address control unit when being encoded to " 9# " is that the second control unit pre-sets.
Need to prove, at this moment, two control units determine respectively oneself to be the first control unit or the second control unit, and the active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate by in step S201, loading, be the BOOT code, will enter the active and standby selection process of control unit.
S203, each control unit enter active and standby selection process simultaneously, judge that according to the active and standby sign that self loads oneself is primary control unit or control unit for subsequent use;
Referring to Fig. 3, the active and standby selection process of the control unit among the described step S203 may further comprise the steps:
Whether S301, the own active and standby sign that loads of control unit inquiry exist;
Particularly, whether the first control unit and the second control unit are inquired about respectively the BOOT code that self loads and are existed; If exist, carry out step S302; If the BOOT code that arbitrary control unit inquiry loads self does not exist, then carry out step S304.
Whether the active and standby sign that S302, control unit are inquired about another control unit exists;
Whether the first control unit is inquired about the BOOT code that the second control unit loads and is existed, and whether the second control unit is inquired about the BOOT code that the first control unit loads and existed; If exist, then carry out step S303; Do not exist if arbitrary control unit is inquired about the BOOT code of another control unit loading, then carry out step S304.
S303, control unit determine oneself to be primary control unit or control unit for subsequent use according to the active and standby sign that loads;
Whether the BOOT code that the first control unit and the second control unit are inquired about respectively described loading is that indication the first control unit is primary control unit and to indicate the second control unit be control unit for subsequent use, and perhaps indicating the first control unit is control unit for subsequent use and to indicate the second control unit be primary control unit;
If it is primary control unit that described BOOT code is indicated the first control unit, then the first control unit judges oneself to be primary control unit, otherwise judges oneself to be control unit for subsequent use.
S304, each control unit determine oneself to be primary control unit or control unit for subsequent use according to traditional approach, and finish issuing and starting of configuration data;
Particularly, simultaneously in place when two control units, and can both work, the control unit of finishing first startup is primary control unit, after finish startup control unit be control unit for subsequent use;
And the configuration data of primary control unit and each bootstrap loading of control unit for subsequent use self;
Primary control unit issues self configuration data of loading to other professional ply-yarn drills of equipment.
Preferably, in step S203, it oneself is primary control unit or control unit for subsequent use that the first control unit is judged, and second control unit judge oneself be control unit for subsequent use or primary control unit after, the starting method of the control unit that the embodiment of the invention provides is further comprising the steps of:
S204, each control unit load the device version of primary control unit according to the active and standby sign that self loads.
Namely judge oneself to be primary control unit when control unit, then load the equipment of itself version, otherwise load the device version of another control unit;
Particularly, judge oneself be primary control unit when the first control unit, and the judgement of the second control unit oneself is control unit for subsequent use, the first control unit loading equipment of itself version, the second control unit loads the device version of the first control unit;
Judge oneself to be control unit for subsequent use when the first control unit, and the second control unit judges oneself to be primary control unit; The first control unit loads the second control unit device version, and the second control unit loads the device version of self.
Preferably, for so that described the first control unit and the second control unit to load configuration data more flexible, that is, control unit loads the not impact of the standby sign of acceptor of configuration data, but loads configuration data by the indication of configuration identifier.The starting method of the control unit that the embodiment of the invention provides also comprises, according to determining that for the pre-configured configuration identifier of control unit control unit still loads the control unit for subsequent use of configuration data for the primary control unit that loads configuration data;
Wherein, whether described configuration identifier is used to indicate control unit for the control unit of configuration data is provided.
At step S204, control unit also comprises according to after the active and standby sign loading equipemtn version:
S205, each control unit load the configuration data of primary control unit according to the configuration identifier that pre-sets.
Describedly load configuration data according to configuration identifier and comprise following two kinds of situations:
One, when control unit described in the step S204 loads the equipment of itself version, control unit provides the configuration identifier of configuration data control unit to judge according to indication oneself will load the configuration data of self or the configuration data of another control unit.
Whether described configuration identifier is used to indicate control unit for the control unit of configuration data is provided.
Particularly, after the first control unit loads the equipment of itself version, whether inquire about the configuration identifier of oneself for indicating this first control unit for the control unit of configuration data is provided;
Described the first control unit is primary control unit, and the second control unit is control unit for subsequent use;
Particularly, indicate the first control unit for the control unit of configuration data is provided when the configuration identifier of the first control unit inquiry self, then load the configuration data of the first control unit; Indicate the first control unit when the configuration identifier of the first control unit inquiry self and do not provide the control unit of configuration data, then whether the first control unit configuration identifier of inquiring about the second control unit indicates the second control unit for the control unit of configuration data is provided;
Inquire about the configuration identifier of the second control unit when the first control unit and indicate the second control unit for the control unit of configuration data is provided, then the first control unit loads the configuration data of the second control unit;
Inquiring about the configuration identifier of the second control unit when the first control unit indicates the second control unit not provide the control unit of configuration data, then the first control unit loads the configuration data of self, and this configuration data is synchronized to the second control unit, namely the second control unit loads the configuration data of the first control unit.
Two, when control unit loads the version of another control unit described in the step S204, control unit is judged according to self configuration identifier oneself will load the configuration data of self or the configuration data of another control unit.
Whether described configuration identifier is used to indicate control unit for the control unit of configuration data is provided.
After described the first control unit loads the device version of the second control unit, inquire about the configuration identifier of oneself;
At this moment, the first control unit is control unit for subsequent use, and the second control unit is primary control unit;
When the configuration identifier of the first control unit inquiry self indicates this first control unit for the configuration data control unit is provided, then load the configuration data of self, and assist the synchronously configuration data of self of the second control unit, the configuration data that is about to the first control unit is issued the second control unit, and the second control unit loads the configuration data of the first control unit;
Do not provide the control unit of configuration data when the first control unit query configuration sign indication the first control unit, then need to obtain configuration data from the second control unit, load the configuration data of the second control unit, namely the synchronous configuration data of the second control unit is given the first control unit, to keep consistent with the configuration data of primary control unit.
Described configuration identifier is to pre-set when described active and standby sign pre-sets, the set-up mode of described configuration identifier and above-mentioned active and standby sign is consistent, also can be by flash identification document or the hardware logic that can write online flag bit, and the form setting of BOOT startup flag, the file layout of described configuration identifier and active and standby sign is consistent.
Need to prove, after active and standby sign and configuration identifier are set up according to user's needs, needn't before restarting at every turn, equipment again arrange, and, when the user needs the startup strategy of change control unit, directly can realize by the active and standby sign of online editing and configuration identifier, when the user does not need starting method by control unit of the present invention, the user can arrange the instruction of removing this active and standby sign and/or configuration identifier online, make the startup of the control unit of equipment recover traditional method, namely when device power is restarted, the control unit of finishing first startup is primary control unit, after finish startup control unit be control unit for subsequent use.
Referring to Fig. 4, the starting method idiographic flow schematic diagram of the control unit that provides for the embodiment of the invention.
The starting method of described control unit comprises step:
S401, device power are restarted, and two control units in the equipment begin to start.
S402, steps of equipment initialization processing device.
S403, each control unit load respectively the active and standby sign that pre-sets.
S404, each control unit are identified the identity of oneself respectively by the own place of inquiry groove bit address coding;
Know oneself to be the first control unit or the second control unit such as control unit by inquiring about own place groove bit address coding.
S405, each hardware of device initialize, this step mainly disposes accordingly to the register of device memory and CPU.
S406, device activation kernel are about to booting image and pack into the RMA and decompress(ion) from storage medium.
The operating system of S407, each control unit of device initialize namely so that each hardware reset, and is the interruption of system service or inquiry mode.
Whether the active and standby sign that S408, each control unit begin to inquire about oneself exists;
If the active and standby sign of each control unit inquiry oneself all exists, then carry out step S409, otherwise, as long as the active and standby sign of arbitrary control unit inquiry oneself does not exist, then enter step S419.
Whether the active and standby sign that S409, each control unit are inquired about other control units exists;
All exist if each control unit is inquired about the active and standby sign of other control units, then carry out step S410, otherwise, as long as inquiring about the active and standby sign of other control units, arbitrary control unit do not exist, then enter step S419.
Whether the active and standby sign of S410, each control unit inquiry oneself is indicated and oneself is primary control unit;
If the active and standby sign indication of a certain control unit inquiry oneself oneself is primary control unit, then carries out step S411, otherwise carry out step S421.
S411, control unit load the device version of self.
S412, application program bring into operation, and namely the equipment behind the load application version is initiated and runs user applications.
S413, control unit arrange oneself and are primary control unit.
Whether the configuration identifier of S414, control unit inquiry oneself indicates this control unit for the control unit of configuration data is provided, and if so, then carries out step S417, otherwise carries out step S415.
Whether S415, control unit are inquired about the configuration identifier of another control unit and are indicated this another control unit for the control unit of configuration data is provided, and if so, then carry out step S416, otherwise carry out step S417.
S416, control unit (primary control unit) are configured the synchronous of data from described another control unit, and issue described configuration data.
S417, control unit (primary control unit) load self configuration data, and this configuration data is synchronized to another control unit (control unit for subsequent use).
S418, described control unit are finished startup.
S419, each control unit start in the conventional mode and issue data.
S420, control unit are finished startup.
S421, control unit are from another control unit loading equipemtn version.
S422, application program bring into operation, and namely the equipment behind the load application version is initiated and runs user applications.
S423, control unit arrange oneself and are control unit for subsequent use.
Whether the configuration identifier of S424, control unit inquiry oneself indicates this control unit for the control unit of configuration data is provided, and if so, then carries out step S425, otherwise carries out step S426.
S425, control unit assist another control unit (primary control unit) from self (control unit for subsequent use) synchrodata, another control unit loads the configuration data of control unit for subsequent use, and this configuration data is handed down to other professional ply-yarn drills of equipment.
S426, control unit are from the synchronous configuration data of another control unit (primary control unit).
S427, control unit are finished startup.
Referring to Fig. 5, the starting drive 10 of a kind of control unit that the embodiment of the invention provides, described device comprises:
Active and standby sign judging unit 101 is used for judging whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
Device version loading unit 102 is used for loading the device version of primary control unit according to active and standby sign when described active and standby sign judging unit 101 determines that the first control unit and the second control unit all are preset with active and standby sign.
Preferably, described device version loading unit 102, whether the active and standby sign of judging the first control unit indicates the first control unit is primary control unit, if so, then loads the device version of the first control unit; Otherwise, loading the device version of the second control unit, this second control unit is primary control unit.
The starting drive of the control unit that the embodiment of the invention provides also comprises:
Configuration data loading unit 103, be used for after described device version loading unit 102 loads the device version of the first control unit, whether the control unit that is used to indicate according to each control unit is the configuration identifier that loads the primary control unit of configuration data, load configuration data, and be handed down to by the equipment of the first control unit control.
Preferably, described configuration data loading unit 103 judges whether the configuration identifier of the first control unit indicates the first control unit to be the primary control unit of loading configuration data, if, then load the configuration data of the first control unit, and be synchronized to the second control unit; Otherwise, judge whether the configuration identifier of the second control unit indicates the second control unit for loading the primary control unit of configuration data, if so, then obtain the configuration data of the second control unit; Otherwise, load the configuration data of the first control unit, and be synchronized to the second control unit.
Preferably, described device also comprises: configuration data loading unit 103, be used for after described device version loading unit 102 loads the device version of the second control unit, judge whether the configuration identifier of the first control unit indicates the first control unit for loading the primary control unit of configuration data, if, then load the configuration data of the first control unit, and be synchronized to the second control unit; Otherwise, obtain the configuration data of the second control unit.
In sum, the embodiment of the invention provides a kind of starting method and device of control unit, control unit is by loading default active and standby sign, load the device version of primary control unit, load the configuration data of primary control unit according to default configuration identifier, realized that two control units enter activestandby state according to re-set target, and correct loading equipemtn version and configuration data, equipment safety operation guaranteed.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that can tell with storage the computer program of medium (including but not limited to magnetic disc store and optical memory etc.) enforcement at one or more computers that wherein include computer usable program code.
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 invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the 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 producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented 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 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, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in 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, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in 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 that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. the starting method of a control unit is characterized in that, comprising:
The first control unit judges whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
The first control unit loads the device version of primary control unit according to active and standby sign when definite the first control unit and the second control unit all are preset with active and standby sign.
2. method according to claim 1 is characterized in that, the first control unit loads the device version of primary control unit according to active and standby sign, comprising:
The first control unit judges that whether the active and standby sign of the first control unit indicates the first control unit is primary control unit, if so, then loads the device version of the first control unit; Otherwise, loading the device version of the second control unit, this second control unit is primary control unit.
3. method according to claim 1 and 2 is characterized in that, after the first control unit loaded the device version of the first control unit, the method also comprised:
The first control unit provides the configuration identifier of the control unit of configuration data according to being used to indicate of each control unit, loads configuration data, and is handed down to by the equipment of the first control unit control.
4. method according to claim 3 is characterized in that, the first control unit loads configuration data according to the configuration identifier of each control unit, comprising:
The first control unit judges that whether the configuration identifier of the first control unit indicates the first control unit for the control unit of configuration data is provided, and if so, then loads the configuration data of the first control unit, and is synchronized to the second control unit; Otherwise,
Judge that whether the configuration identifier of the second control unit indicates the second control unit for the control unit of configuration data is provided, and if so, then obtains the configuration data of the second control unit; Otherwise, load the configuration data of the first control unit, and be synchronized to the second control unit.
5. method according to claim 1 and 2 is characterized in that, after the first control unit loaded the device version of the second control unit, the method also comprised:
The first control unit judges that whether the configuration identifier of the first control unit indicates this first control unit for the control unit of configuration data is provided, and if so, then loads the configuration data of the first control unit, and is synchronized to the second control unit; Otherwise, obtain the configuration data of the second control unit.
6. the starting drive of a control unit is characterized in that, this device comprises:
Active and standby sign judging unit is used for judging whether the first control unit and the second control unit exist the default active and standby sign that control unit is primary control unit or control unit for subsequent use that is used to indicate;
The device version loading unit is used for loading the device version of primary control unit according to active and standby sign when described active and standby sign judging unit determines that the first control unit and the second control unit all are preset with active and standby sign.
7. device according to claim 6 is characterized in that, described device version loading unit, and whether the active and standby sign of judging the first control unit indicates the first control unit is primary control unit, if so, then loads the device version of the first control unit; Otherwise, loading the device version of the second control unit, this second control unit is primary control unit.
8. according to claim 6 or 7 described devices, it is characterized in that described device also comprises:
The configuration data loading unit, be used for after described device version loading unit loads the device version of the first control unit, the configuration identifier of the control unit of configuration data is provided according to being used to indicate of each control unit, load configuration data, and be handed down to by the equipment of the first control unit control.
9. device according to claim 8, it is characterized in that, described configuration data loading unit, judge whether the configuration identifier of the first control unit indicates the first control unit for the control unit of configuration data is provided, if, then load the configuration data of the first control unit, and be synchronized to the second control unit; Otherwise, judge whether the configuration identifier of the second control unit indicates the second control unit for loading the primary control unit of configuration data, if so, then obtain the configuration data of the second control unit; Otherwise, load the configuration data of the first control unit, and be synchronized to the second control unit.
10. according to claim 6 or 7 described devices, it is characterized in that this device also comprises:
The configuration data loading unit, be used for after described device version loading unit loads the device version of the second control unit, judge whether the configuration identifier of the first control unit indicates the first control unit for the control unit of configuration data is provided, if, then load the configuration data of the first control unit, and be synchronized to the second control unit; Otherwise, obtain the configuration data of the second control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102814655A CN103023673A (en) | 2011-09-21 | 2011-09-21 | Starting method and apparatus of control units |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102814655A CN103023673A (en) | 2011-09-21 | 2011-09-21 | Starting method and apparatus of control units |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103023673A true CN103023673A (en) | 2013-04-03 |
Family
ID=47971833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102814655A Pending CN103023673A (en) | 2011-09-21 | 2011-09-21 | Starting method and apparatus of control units |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103023673A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107842973A (en) * | 2017-10-18 | 2018-03-27 | 珠海格力电器股份有限公司 | Method for quickly synchronizing mainboard data based on line controller |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1719831A (en) * | 2005-07-15 | 2006-01-11 | 清华大学 | A Highly Available Distributed Border Gateway Protocol System Based on Cluster Router Structure |
CN1747347A (en) * | 2004-09-07 | 2006-03-15 | 华为技术有限公司 | Duplication of distributed configuration database system |
CN1913692A (en) * | 2006-08-16 | 2007-02-14 | 华为技术有限公司 | Method for loading equipment software according to allocation |
CN1968075A (en) * | 2006-05-23 | 2007-05-23 | 华为技术有限公司 | Distributed hot-standby logic device and primary/standby board setting method |
US20070168058A1 (en) * | 2006-01-13 | 2007-07-19 | Emerson Process Management Power & Water Solutions , Inc. | Method for redundant controller synchronization for bump-less failover during normal and program mismatch conditions |
CN101179443A (en) * | 2007-11-23 | 2008-05-14 | 华为技术有限公司 | Method, device and system of implementing configuration data conformance in system |
CN101547209A (en) * | 2009-05-15 | 2009-09-30 | 杭州华三通信技术有限公司 | Method and device for updating information table |
CN101605051A (en) * | 2009-07-16 | 2009-12-16 | 杭州华三通信技术有限公司 | A kind of main and standby rearranging method and device of realizing business on the control board |
CN102073523A (en) * | 2011-01-19 | 2011-05-25 | 中兴通讯股份有限公司 | Method and device for implementing software version synchronization |
CN102081540A (en) * | 2011-01-18 | 2011-06-01 | 杭州华三通信技术有限公司 | Distributed dual-master control network equipment software updating method and device |
-
2011
- 2011-09-21 CN CN2011102814655A patent/CN103023673A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1747347A (en) * | 2004-09-07 | 2006-03-15 | 华为技术有限公司 | Duplication of distributed configuration database system |
CN1719831A (en) * | 2005-07-15 | 2006-01-11 | 清华大学 | A Highly Available Distributed Border Gateway Protocol System Based on Cluster Router Structure |
US20070168058A1 (en) * | 2006-01-13 | 2007-07-19 | Emerson Process Management Power & Water Solutions , Inc. | Method for redundant controller synchronization for bump-less failover during normal and program mismatch conditions |
CN1968075A (en) * | 2006-05-23 | 2007-05-23 | 华为技术有限公司 | Distributed hot-standby logic device and primary/standby board setting method |
CN1913692A (en) * | 2006-08-16 | 2007-02-14 | 华为技术有限公司 | Method for loading equipment software according to allocation |
CN101179443A (en) * | 2007-11-23 | 2008-05-14 | 华为技术有限公司 | Method, device and system of implementing configuration data conformance in system |
CN101547209A (en) * | 2009-05-15 | 2009-09-30 | 杭州华三通信技术有限公司 | Method and device for updating information table |
CN101605051A (en) * | 2009-07-16 | 2009-12-16 | 杭州华三通信技术有限公司 | A kind of main and standby rearranging method and device of realizing business on the control board |
CN102081540A (en) * | 2011-01-18 | 2011-06-01 | 杭州华三通信技术有限公司 | Distributed dual-master control network equipment software updating method and device |
CN102073523A (en) * | 2011-01-19 | 2011-05-25 | 中兴通讯股份有限公司 | Method and device for implementing software version synchronization |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107842973A (en) * | 2017-10-18 | 2018-03-27 | 珠海格力电器股份有限公司 | Method for quickly synchronizing mainboard data based on line controller |
CN107842973B (en) * | 2017-10-18 | 2019-11-15 | 珠海格力电器股份有限公司 | Method for quickly synchronizing mainboard data based on line controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754043B (en) | A kind of terminal staging method and device | |
TWI528284B (en) | Method for switching operating system and electronic apparatus using thereof | |
CN102722394B (en) | Start upgrading method of embedded equipment | |
CN103176824A (en) | System upgrade method and system upgrade device | |
WO2016165597A1 (en) | Processing method and device for data storage | |
KR101673299B1 (en) | Operating system recovery method and apparatus, and terminal device | |
CN107329792B (en) | Docker container starting method and device | |
CN106528097A (en) | Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment | |
CN103853584A (en) | Master system recovery method and terminal | |
CN103116502A (en) | Method of achieving upgrading by using main and backup version backup | |
CN102566738A (en) | Server system and starting method for server system | |
CN103023673A (en) | Starting method and apparatus of control units | |
CN109375953B (en) | Operating system starting method and device | |
CN107885548B (en) | System starting method and device | |
CN111352663B (en) | A method and system for controlling the execution of PCIE equipment Option Rom | |
JP2013117930A (en) | Computer and method for controlling computer | |
CN102402447A (en) | Equipment starting method and equipment | |
CN111061521B (en) | Method and system for starting equipment | |
JP2014179039A (en) | Information process device, information process method and program | |
CN101727333A (en) | Method for updating firmware in microprocessor and firmware updating system | |
CN112347482B (en) | A system-on-chip (SOC) startup method, device, SOC and storage medium | |
CN107247642B (en) | Method and device for determining executable mapping file during system startup | |
CN107368389A (en) | Control method, control device and the EMMC of operating system One-key recovery function | |
JP6000655B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
TW201328248A (en) | System firmware update method and server system using the same |
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 |
Application publication date: 20130403 |
|
RJ01 | Rejection of invention patent application after publication |