CN102291303A - Single board and method for determining primary and standby states for the same - Google Patents

Single board and method for determining primary and standby states for the same Download PDF

Info

Publication number
CN102291303A
CN102291303A CN2011102312945A CN201110231294A CN102291303A CN 102291303 A CN102291303 A CN 102291303A CN 2011102312945 A CN2011102312945 A CN 2011102312945A CN 201110231294 A CN201110231294 A CN 201110231294A CN 102291303 A CN102291303 A CN 102291303A
Authority
CN
China
Prior art keywords
veneer
state
response message
opposite end
primary response
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
CN2011102312945A
Other languages
Chinese (zh)
Other versions
CN102291303B (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 CN201110231294.5A priority Critical patent/CN102291303B/en
Publication of CN102291303A publication Critical patent/CN102291303A/en
Application granted granted Critical
Publication of CN102291303B publication Critical patent/CN102291303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for determining primary and standby states of a single board, comprising the following steps of; transmitting a primary and standby competition request message to an opposite single board; receiving a primary response message or a non-primary response message returned back by the opposite single board of the same type according to a predetermined rule; returning back the primary response message or the non-primary response message according to the predetermined rule to the opposite single board after receiving the primary and standby competition request message from the opposite single board of the same type; setting self to be in an initial primary state or non-primary state according to transmission conditions of the primary response message or the non-primary response message; and setting self to be in a primary state or a standby state when own physical configuration information is matched with configured data information. The method, based on the existing SAF specification, adds a competition method of the primary state/the standby state of the single board, and combines with the designation in the existing SAF specification so as to make a communication system can clearly determine the single board in the primary state/the standby state in initialization.

Description

The method of a kind of veneer and definite activestandby state thereof
Technical field
The present invention relates to the communication equipment technical field, relate in particular to the method for a kind of veneer and definite activestandby state thereof.
Background technology
Service Availability Forum SAF (Service Availability Forum) is a tissue of being made up of communication advanced in the world and Computer Company, is devoted to common exploitation and promulgation software interface the standard---SAF standard at high availability and system management.
During according to SAF standard exploitation code, with the assembly on the veneer is that unit carries out functional development, the SAF normalized definition AMF (Availability Management Framework, the availability management framework) assigns main assembly according to redundant mode (being that each assembly all needs the mechanism that backs up in the system) with state or stand-by state, but existing SAF standard does not define definite method of veneer master usefulness/stand-by state, therefore, use existing SAF standard and when constructing system, have certain defective.
Overall situation plate is a kind of veneer in the communication system, for a communication system, the effect of overall situation plate is that whole system is carried out the inquiry of resource management, version management, event alarm management and recipient's board and modification etc., and needs primary and backup two types overall plate in same system.Overall plate for subsequent use is used for the data message that real-time synchronization is stored primary overall plate, to guarantee that when primary overall plate broke down, overall plate for subsequent use can Upgrade Now to primary overall plate, guarantees the normal operation of whole communication system.In this process, definite process of the active/standby state of overall situation plate when just existing whole system to initialize, yet because the SAF standard does not define definite method of the active/standby state of overall plate, therefore use existing SAF standard and when constructing system, do not support to realize determining of the active/standby state of overall plate.
Summary of the invention
The invention provides the method for a kind of veneer and definite activestandby state thereof, in order to solve the problem that does not define the active/standby state competing method of veneer in the existing SAF standard.
The invention provides a kind of veneer and determine the method for activestandby state, comprise following steps:
Send the main and standby competition request message to the opposite end veneer;
After receiving opposite end veneer of the same type and receiving the main and standby competition request message that self sends, primary response message or the non-primary response message returned by pre-defined rule;
When receiving the main and standby competition request message from opposite end veneer of the same type, return by pre-defined rule and mainly to give described opposite end veneer with response message with response message or non-master;
According to the transmission situation of primary response message or non-primary response message, arrange certainly as preliminary master state or non-active status;
When the physical configuration information of self is complementary with the data message that has disposed, if from as preliminary master state, arrange certainly as master state; If from as non-active status, arrange certainly as stand-by state.
The present invention also provides a kind of veneer of definite activestandby state, comprising:
Sending module is used for sending the main and standby competition request message to the opposite end veneer;
Receive responder module, be used for receiving the main and standby competition request message that opposite end veneer of the same type receives that veneer sends after, primary response message or the non-primary response message returned by pre-defined rule;
The echo reply module when being used to receive the main and standby competition request message from opposite end veneer of the same type, being returned by pre-defined rule and mainly to be given described opposite end veneer with response message or non-master with response message;
First block of state is used for the transmission situation according to primary response message or non-primary response message, and it is preliminary master state or non-active status that veneer is set;
Second block of state is used for when the physical configuration information of veneer is complementary with the data message that has disposed, if veneer is preliminary master state, it is master state that veneer is set; If veneer is non-active status, it is stand-by state that veneer is set.
The present invention has increased the competing method of the active/standby state of veneer on the basis of existing SAF standard, and by combining with appointment in the existing SAF standard, so that communication system can be determined the veneer of active/standby state when initializing clearly.
Description of drawings
Fig. 1 determines the schematic flow sheet of method for a kind of single board main/standby state provided by the invention;
Fig. 2 is the activestandby state transition figure of overall plate;
Fig. 3 is the structural representation of the veneer of a kind of definite activestandby state provided by the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the specific embodiment of the present invention is described in further detail.
The embodiment of the invention provides a kind of veneer to determine the activestandby state method, as shown in Figure 1, specifically comprises following process:
Step 101 sends the main and standby competition request message to the opposite end veneer;
Particularly, when veneer need to participate in main and standby competition, can adopt broadcast mode to send the main and standby competition request message, certainly, also can send the main and standby competition request message to opposite end veneer of the same type selectively.
Step 102, receive the main and standby competition request message that opposite end veneer of the same type receives that described veneer sends after, primary response message or the non-primary response message returned by pre-defined rule;
Step 103 when receiving the main and standby competition request message from opposite end veneer of the same type, is returned by pre-defined rule and mainly to be given described opposite end veneer with response message or non-master with response message;
As seen, only there is veneer of the same type just can return primary response message or non-primary response message to the opposite end veneer that has sent main and standby competition message, so that carry out main and standby competition between veneer of the same type.
Step 104 according to the transmission situation of primary response message or non-primary response message, arranges certainly as preliminary master state or non-active status;
The transmission of messages situation here comprises the transmission situation and/or the reception condition of message.
Step 105 is when the physical configuration information of veneer self is complementary with the data message that has disposed, if from as preliminary master state, arrange certainly as master state; If from as non-active status, arrange certainly as stand-by state.
The embodiment of the invention is on the basis of existing SAF standard, increased the competition process of the active/standby state of veneer, and by combining with appointment in the existing SAF standard, so that communication system can be determined the veneer of active/standby state when initializing clearly.
Because the physical property of veneer of the same type is identical, therefore, should adopt between the veneer of the same type can unique representative veneer sign carry out the activestandby state competition, can in the main and standby competition request message that sends to the opposite end veneer, comprise described sign that can unique representative veneer.Preferably, in the main and standby competition request message that the opposite end veneer sends, comprise the groove bit-encoded information of veneer self, be used for the activestandby state competition between the veneer of the same type.
The present invention does not do concrete qualification with response message or non-master with the pre-defined rule of response message institute foundation to returning the master in the above-mentioned main and standby competition process, can determine according to concrete applied environment, the principle of being followed is to adopt same competition mechanism between all veneers of the same type, can determine the activestandby state veneer by this competition mechanism.Preferably, described pre-defined rule is: when definite groove position coding that sends the opposite end veneer of main and standby competition request message is encoded less than the single-board slot that receives main and standby competition message, return non-primary response message to this opposite end veneer; Otherwise, return primary response message to this opposite end veneer.
Cooperate above pre-defined rule, the present invention is by the transmission situation of following concrete grammar according to primary response message or non-primary response message, setting is certainly as preliminary master state or non-active status: when determining not receive non-primary response message, arrange certainly as preliminary master state; Determine to return primary response message and give the opposite end veneer, or when receiving non-primary response message, arrange from as non-active status.
Preferably, described pre-defined rule also can be for: the groove position coding of opposite end veneer that determine to send the main and standby competition request message during less than self groove position coding, returns the non-main response message of using to this opposite end veneer; Otherwise, do not return any message to this opposite end veneer.That is, when veneer is encoded greater than the groove position of self at the groove position coding of determining the opposite end veneer, do not return primary response message.
Communication system is in practical work process, some veneer may be because busy, can not in time react, after for example some opposite end veneer receives the main and standby competition request message, can not return response message in a very long time, the local terminal veneer is only by determining not receive that non-primary response message arranges from possible wrong as preliminary master state like this, especially when the groove position of opposite end veneer coding during greater than the groove position coding of local terminal veneer, owing to do not receive that setting that non-primary response message that the opposite end veneer returns just might be wrong is from as preliminary master state.
For the present invention when above-mentioned situation occurring also can effectively implement, preferably, the present invention determines not return primary response message to opposite end veneer of the same type by following concrete grammar, and when not receiving non-primary response message, arrange certainly as preliminary master state; Determine to return primary response message and give the opposite end veneer, or when receiving non-primary response message, arrange from as non-active status.Like this, under the slower situation of opposite end veneer echo reply message, according to above-mentioned mechanism, the local terminal veneer receives the main and standby competition message that the opposite end veneer sends, and single-board slot coding in definite opposite end can return the main response message of using to the opposite end greater than the groove position coding of local terminal veneer, like this, even receive the non-main response message of use, local terminal veneer working properly can mainly use response message by determining self to return, thus self can be provided with mistakenly self tentatively the master use state.
The embodiment of the invention is applicable to needs to carry out all types of veneers that activestandby state is determined in the communication system, but definite more special for the activestandby state of overall plate, this is because overall plate preferably possesses the function of other kinds type veneer being carried out state assignment in system.The present invention determines in the following ways the activestandby state of overall plate:
Overall situation plate process first run main and standby competition, and arrange certainly as after the preliminary master state, the availability management framework AMF on this overall situation plate downloads the data message that has disposed from background server; When determining that this physical configuration information that is in preliminary master state overall situation plate is complementary with the data message that has disposed, arrange certainly as master state.
Overall situation plate is through first run main and standby competition, and arranges from as after the non-active status, and the AMF on the master state overall situation plate of having determined sends the state assignment request that comprises self physical configuration information; Receive the state assignment message that the AMF of described master state overall situation plate returns when the physical configuration information of the overall plate of determining described non-active status is complementary with the data message that has disposed, arranges from as stand-by state.
The present invention determines in the following ways the activestandby state of other types veneer (non-overall plate):
The veneer setting sends the state assignment request that comprises self physical configuration information after as preliminary master state or non-active status to the AMF of master state overall situation plate; The AMF that receives described master state overall situation plate determines the state assignment message that the physical configuration information of described veneer and the data message that has disposed return when being complementary; After receiving described state assignment message, if from as preliminary master state, arrange certainly as master state; If from as non-active status, arrange certainly as stand-by state.
In order to ensure in service when main board breaks down in system, standby plate can be taken over main board immediately and finish various functions, after being in non-main veneer and receiving state assignment message with state, need download Backup Data from main veneer of the same type with state, and only after successfully downloading complete piece of data, just can transfer stand-by state to.
For all types of veneer (comprising overall plate and other types veneer), because the response speed of each veneer is inconsistent, can carry out smoothly in order to ensure definite process of single board main/standby state, should carry out timing setting to the various operations of carrying out:
Send mutually the main and standby competition request message between the veneer, and the response message of reception opposite end veneer, because the response time difference of each veneer, should after receiving the message that all opposite end veneers return, carry out again determining of preliminary master state or non-active status.Preferably, the main and standby competition timing is set rule of thumb, when the opposite end veneer sends the main and standby competition request message, starts timing; After exceeding the main and standby competition timing of setting, trigger determining of preliminary master state or non-active status.
Preferably, rule of thumb arrange and wait for the appointment timing, start timing when arranging certainly as preliminary master state or non-active status; In timing is assigned in the wait of setting, carry out determining of master state or stand-by state; After exceeding described wait appointment timing, do not report to the police when also self being set to master state or stand-by state.
Preferably, the parallel operation timing is set rule of thumb, when beginning to download Backup Data from the veneer of master state of the same type, starts timing; Exceed when also successfully not downloading Backup Data behind the parallel operation timing of setting described single board starting reset operation.
Veneer carries out before the activestandby state competition, system has disposed the board type that should insert for all groove positions, preferably, when AMF assigns, judge whether the type of veneer and the groove position information at place are complementary with the described groove position of backstage configuration and corresponding board type, namely when the board type of this actual insertion in groove position was consistent with the board type of this groove position of backstage configuration, AMF just sent corresponding assignment messages.
But existing SAF standard does not define definite method of the active/standby state of veneer,
It is to be noted, existing SAF normalized definition AMF assign main assembly according to redundant mode with state or stand-by state, but do not define the appointment of AMF to the veneer active or standby state, therefore, utilize existing SAF standard, have different assemblies according to dissimilar veneers, can finish appointment by the appointment of AMF to the assembly on the veneer to veneer.
Existing system is in the configuration information of backstage, generally veneer of the same type is only disposed a main board and a standby plate, therefore, when the configuration information on AMF judgement backstage and the physical configuration information of veneer are complementary, veneer just can receive state assignment message, otherwise, just can not receive state assignment message.For example be in the veneer of preliminary master state when not receiving state assignment message, can be set to unknown state, like this, just still need continue to select the veneer of master state in the system, namely carry out the main and standby competition process of a new round.Preferably, the veneer setting from as non-master with after the state, again send the main and standby competition request message to all opposite end veneers, be in after preliminary main veneer with state changes unknown state into when described, owing to there is the main and standby competition process of a new round, system can also select new preliminary main veneer with state.
Activestandby state provided by the invention determines that method is applicable to that all kinds of needs carry out the veneer that activestandby state is determined in the communication system, RNC (Radio Network Controller for example, radio network controller) all kinds of veneers in the equipment, LTE (Long Term Evolution, Long Term Evolution) all kinds of veneers in the equipment, preferably, the present invention is applicable to the overall plate in the RNC equipment.
Below take board type as two overall plates as example, the veneer that the embodiment of the invention is described determines that activestandby state determines method, the quantity of certain overall plate can also be more, in the present embodiment in order to guarantee to carry out two normal information interactions of overall plate of main and standby competition, two overall plates should be arranged in the frame of system, namely be arranged in the system in the same frame on same, concrete groove position will not be limited, and can be arranged on any groove position in the frame; Perhaps, two overall plates that carry out main and standby competition also can not be arranged in the frame, namely can be arranged in the different frames of different framves, but should guarantee the two in the same Internet, and should guarantee the connectivity of the Internet, and idiographic flow is as follows:
Overall situation plate all is in unknown state in the early stage, behind the electrifying startup, overall situation plate sends the main and standby competition request message to all veneers that can carry out information interaction, start main and standby competition timer Timer_Compt_A simultaneously, return main with counter Count_Ack_A with receive and non-ly lead that to use counter Count_Rec_B, the initial value of Count_Ack_A and Count_Rec_B all be 0.
When main and standby competition timer Timer_Compt_A is not overtime:
If receive the main and standby competition request message that opposite end veneer (overall plate) sends, judge then whether the groove position coding of opposite end veneer encodes less than the groove position of self, if, then return non-master and give the opposite end veneer with response message, otherwise, return to lead and give the opposite end veneer, and oneself increases 1 count value, i.e. Count_Ack_A++ with counter to return the master with response message.
If receive the non-primary response message that the opposite end veneer sends, then receive non-primary counter from increasing 1 count value, i.e. Count_Rec_B++.
After main and standby competition timer Timer_Compt_A is overtime,, promptly determine (Count_Ack_A==0) ﹠amp if determine that the value of Count_Ack_A and Count_Rec_B still all is 0; ﹠amp; (Count_Rec_B==0) is true then is provided with certainly as the preliminary main state of using, otherwise is provided with from using state as non-master.
Arranging certainly can be from backstage downloading data configuration information as the availability management framework AMF on the overall plate of preliminary master state, should can start wait appointment timer Timer_Wait_A by overall situation plate simultaneously, and send primary assignment request message to described availability management framework AMF, whether the physical configuration information that AMF judges the overall plate that this is in preliminary master state is complementary with the data configuration information on backstage.If judge coupling, then AMF sends primary assignment messages to the overall plate that this is in preliminary master state, upgrades to master state after this overall situation plate is received primary assignment messages, begins to provide primary service, and Stop-wait is assigned timer Timer_Wait_A simultaneously; If judge and do not mate that then AMF can not send primary assignment messages, until wait for that appointment timer Timer_Wait_A is overtime, this overall situation plate just will change unknown state into from preliminary master state.
After main overall plate with state was determined, main with overall plate special IP address of binding automatically, this IP address was mainly to dispose in advance with overall plate by the backstage, and being used for intrasystem other veneers can carry out with overall plate by this IP address and master alternately.Arrange from the overall plate as non-active status and will restart main and standby competition timer Timer_Compt_A, return primary counter Count_Ack_A and receive non-primary counter Count_Rec_B, and again to all can be mutual veneer send the main and standby competition request message.Simultaneously, the overall plate that is in non-active status can start waits for appointment timer Timer_Wait_A, and the AMF on primary overall plate sends assignment request message for subsequent use, and whether the physical configuration information that AMF judges the overall plate that this is in non-active status is complementary with the data configuration information on backstage.If judge coupling, then AMF sends assignment messages for subsequent use to the overall plate that this is in non-active status, Stop-wait was assigned timer Timer_Wait_A after this overall situation plate was received assignment messages for subsequent use, and startup parallel operation timer Timer_Wait_B, begin to download synchrodata from master state overall situation plate, after download work is finished, this overall situation plate upgrades to stand-by state, stop simultaneously parallel operation timer Timer_Wait_B, if parallel operation timer Timer_Wait_B is overtime in this process, illustrate that then the process of downloading synchrodata from primary overall plate has occurred unusually, then starts troubleshooting process and the overall plate that resets; If judge and do not mate that then AMF can not send assignment messages for subsequent use, until wait for that appointment timer Timer_Wait_A is overtime, this overall situation plate will start alarm.
Starting alarm herein is because in the normal AMF data configuration of communication system, the veneer of carrying out same function should have only two of main board and standby plates, if assign a veneer is main board, then can only assign one to be standby plate again according to configuration information, therefore, under the situation that has mispluged a plurality of veneers of the same type, will appear at the situation that does not also receive standby assignment messages behind the timing of wait for assigning that exceeds according to configuration information, promptly assign failure, thereby start the alarm function of veneer, this veneer of indication staff is the veneer that misplugs.
This method has mispluged in system under the situation of a plurality of overall plates, by determining behind the one-period of main and standby competition process that a master uses overall plate, other overall plate is set to the non-main state of using, assign according to the data configuration information of AMF then, have only one non-ly main can be designated as standbyly with overall plate, so guaranteed in that misplug still can normal process main and standby competition process under the situation of a plurality of overall plates.
Figure 2 shows that the activestandby state transition figure of overall plate, as shown in the figure, various status change situations are:
1, the main and standby competition result is for to transfer preliminary master state to by unknown state;
The primary appointment of 2, receiving AMF transfers master state to by preliminary master state;
3, do not receive that the primary appointment of AMF transfers unknown state to by preliminary master state after overtime;
4, the main and standby competition result is for being transferred to the non-main state of using by unknown state;
5, the standby appointment of receiving AMF transfers stand-by state by non-master to state;
6, after main board broke down, standby plate upgraded to main board;
7, receive active and standby switching requirement, main board is downgraded to standby plate;
8, non-main board becomes main board in new round main and standby competition.
The method of definite single board main/standby state provided by the invention also is applicable to other types veneer in the communication system, for example being responsible for controlling the power board that carries out information interaction between the veneer also exists primary, two states for subsequent use, when using activestandby state provided by the invention to determine that method is determined primary power board and power board for subsequent use, through determining overall plate and the non-primary overall plate of preliminary master state behind the main and standby competition, the overall plate of the overall plate of preliminary master state and non-active status need to be asked primary assignment messages or assignment messages for subsequent use to the availability management framework AMF on the primary overall plate in the system then, assigns primary power board and power board for subsequent use by the availability management framework AMF on the primary overall plate again.
The invention provides a kind of veneer of definite activestandby state, as shown in Figure 3, comprise following components:
Sending module 301 is used for sending the main and standby competition request message to the opposite end veneer;
Receive responder module 302, be used for receiving the main and standby competition request message that opposite end veneer of the same type receives that veneer sends after, primary response message or the non-primary response message returned by pre-defined rule;
Echo reply module 303 when being used to receive the main and standby competition request message from opposite end veneer of the same type, being returned by pre-defined rule and mainly to be given described opposite end veneer with response message or non-master with response message;
First block of state 304 is used for the transmission situation according to primary response message or non-primary response message, and it is preliminary master state or non-active status that veneer is set;
Second block of state 305 is used for when the physical configuration information of veneer is complementary with the data message that has disposed, if veneer is preliminary master state, it is master state that veneer is set; If veneer is non-active status, it is stand-by state that veneer is set.
The specific implementation function of each module of described veneer does not repeat them here referring to the specific implementation process of the method for above-mentioned definite single board main/standby state.
When the activestandby state that the present invention is applied to overall plate is determined, comprise availability management framework AMF in described second block of state, perhaps carried out the function of availability management framework AMF.
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 (29)

1. a veneer is determined the method for activestandby state, it is characterized in that, comprises following steps:
Send the main and standby competition request message to the opposite end veneer;
After receiving opposite end veneer of the same type and receiving the main and standby competition request message that self sends, primary response message or the non-primary response message returned by pre-defined rule;
When receiving the main and standby competition request message from opposite end veneer of the same type, return by pre-defined rule and mainly to give described opposite end veneer with response message with response message or non-master;
According to the transmission situation of primary response message or non-primary response message, arrange certainly as preliminary master state or non-active status;
When the physical configuration information of self is complementary with the data message that has disposed, if from as preliminary master state, arrange certainly as master state; If from as non-active status, arrange certainly as stand-by state.
2. the method for claim 1 is characterized in that, according to the transmission situation of primary response message or non-primary response message, arranges certainly as preliminary master state or non-active status, specifically comprises:
When determining not receive non-primary response message, arrange certainly as preliminary master state;
Determine to return primary response message and give the opposite end veneer, or when receiving non-primary response message, arrange from as non-active status.
3. the method for claim 1 is characterized in that, according to the transmission situation of primary response message or non-primary response message, arranges certainly as preliminary master state or non-active status, specifically comprises:
Determine not return primary response message to opposite end veneer of the same type, and when not receiving non-primary response message, arrange from as preliminary master state;
Determine to return primary response message and give the opposite end veneer, or when receiving non-primary response message, arrange from as non-active status.
4. the method for claim 1 is characterized in that, comprises the groove bit-encoded information of veneer self in the main and standby competition request message that the opposite end veneer sends;
Return primary response message or non-primary response message by pre-defined rule, specifically comprise:
When definite groove position coding that sends the opposite end veneer of main and standby competition request message is encoded less than the groove position of self, return non-primary response message to this opposite end veneer; Otherwise, return primary response message to this opposite end veneer.
5. the method for claim 1 is characterized in that, comprises the groove bit-encoded information of veneer self in the main and standby competition request message that the opposite end veneer sends;
Return primary response message or non-primary response message by pre-defined rule, specifically comprise:
When definite groove position coding that sends the opposite end veneer of main and standby competition request message is encoded less than the groove position of self, return the non-main response message of using to this opposite end veneer; Otherwise, do not return any message to this opposite end veneer.
6. the method for claim 1 is characterized in that,
When sending the main and standby competition request message, the opposite end veneer starts timing;
After exceeding the main and standby competition timing of setting, trigger determining of preliminary master state/non-active status.
7. the method for claim 1 is characterized in that, described physical configuration information is complementary with the data message that has disposed, and be specially: the type of described veneer self, groove position, place information, the board type, the groove position information that have disposed with the backstage are consistent.
8. method as claimed in claim 7 is characterized in that, described veneer is overall plate and arranges from as preliminary master state, then arrange certainly as after the preliminary master state,
Download the data message that has disposed from background server;
When determining that the physical configuration information of self and the data message that has disposed are complementary, arrange certainly as master state.
9. method as claimed in claim 7 is characterized in that, described veneer is not overall plate or the overall plate that is set to non-active status, then arrange certainly as after preliminary master state or the non-active status,
Send the state assignment request that comprises self physical configuration information to the overall plate of master state;
Receive described master with after the overall plate accepting state assignment request of state, determine the state assignment message that the physical configuration information of described veneer and the data message that has disposed return when being complementary;
After receiving described state assignment message, if from as preliminary master state, arrange certainly as master state; If from as non-active status, arrange certainly as stand-by state.
10. method as claimed in claim 9 is characterized in that, described veneer setting further comprises certainly as before the stand-by state:
Download Backup Data from the veneer of master state of the same type.
11. method as claimed in claim 10 is characterized in that,
Begin to start timing when main veneer with state of the same type is downloaded Backup Data;
Exceed when also successfully not downloading Backup Data behind the parallel operation timing of setting, start reset operation.
12. as the arbitrary described method of claim 1~11, it is characterized in that,
Arrange and from as preliminary master state or non-active status the time, start timing;
In timing is assigned in the wait of setting, lead determining with state or stand-by state;
After exceeding described wait appointment timing, do not report to the police when also self being set to master state or stand-by state.
13. method as claimed in claim 12 is characterized in that, described veneer is the veneer of preliminary master state, and after exceeding described wait appointment timing, when also self is not set to master state, starts reset operation.
14. as the arbitrary described method of claim 1~11, it is characterized in that, described veneer setting from as non-master with after the state, also comprise:
Again send the main and standby competition request message to the opposite end veneer.
15. the veneer of a definite activestandby state is characterized in that, comprising:
Sending module is used for sending the main and standby competition request message to the opposite end veneer;
Receive responder module, be used for receiving the main and standby competition request message that opposite end veneer of the same type receives that veneer sends after, primary response message or the non-primary response message returned by pre-defined rule;
The echo reply module when being used to receive the main and standby competition request message from opposite end veneer of the same type, being returned by pre-defined rule and mainly to be given described opposite end veneer with response message or non-master with response message;
First block of state is used for the transmission situation according to primary response message or non-primary response message, and it is preliminary master state or non-active status that veneer is set;
Second block of state, when being used for determining that the physical configuration information of veneer and the data message that has disposed are complementary, if veneer is preliminary master state, it is master state that veneer is set; If veneer is non-active status, it is stand-by state that veneer is set.
16. veneer as claimed in claim 15 is characterized in that, described first block of state specifically is used for:
When determining not receive non-primary response message, it is preliminary master state that veneer is set;
Determine to return primary response message and give the opposite end veneer, or when receiving non-primary response message, it is non-active status that veneer is set.
17. veneer as claimed in claim 15 is characterized in that, described first block of state specifically is used for:
Determine not return primary response message to opposite end veneer of the same type, and when not receiving non-primary response message, it is preliminary master state that veneer is set;
Determine to return primary response message and give the opposite end veneer, or when receiving non-primary response message, it is non-active status that veneer is set.
18. veneer as claimed in claim 15 is characterized in that, described sending module comprises the groove bit-encoded information of veneer self in the main and standby competition request message that the opposite end veneer sends;
The described responder module that returns returns primary response message or non-primary response message by pre-defined rule, is specially:
When definite groove position coding that sends the opposite end veneer of main and standby competition request message is encoded less than the groove position of veneer self, return non-primary response message to this opposite end veneer; Otherwise, return primary response message to this opposite end veneer.
19. veneer as claimed in claim 15 is characterized in that, described sending module comprises the groove bit-encoded information of veneer self in the main and standby competition request message that the opposite end veneer sends;
The described responder module that returns returns primary response message or non-primary response message by pre-defined rule, is specially:
When definite groove position coding that sends the opposite end veneer of main and standby competition request message is encoded less than the groove position of veneer self, return the non-main response message of using to this opposite end veneer; Otherwise, do not return any message to this opposite end veneer.
20. veneer as claimed in claim 15 is characterized in that, described sending module also is used for: start timing when the opposite end veneer sends the main and standby competition request message; After exceeding the main and standby competition timing of setting, trigger described first block of state.
21. veneer as claimed in claim 15, it is characterized in that, described second block of state determines that the physical configuration information of veneer and the data message that has disposed are complementary, and be specially: the type of described veneer self, groove position, place information, the board type, the groove position information that have disposed with the backstage are consistent.
22. veneer as claimed in claim 21 is characterized in that, described veneer is for for overall plate and veneer is set is preliminary master state, then arrange after as preliminary master state,
Described second block of state also is used for: download the data message that has disposed from background server;
When determining that the physical configuration information of veneer and the data message that has disposed are complementary, it is master state that veneer is set.
23. veneer as claimed in claim 21 is characterized in that, described veneer is not overall plate or the overall plate that is set to non-active status, veneer then is set is after preliminary master state or the non-active status,
Described second block of state specifically is used for: the overall plate to master state sends the state assignment request that comprises veneer self physical configuration information;
After receiving the overall plate accepting state assignment request of described master state, determine the state assignment message that described physical configuration information and the data message that has disposed return when being complementary;
After receiving described state assignment message, if veneer is preliminary master state, it is master state that veneer is set; If veneer is non-active status, it is stand-by state that veneer is set.
24. veneer as claimed in claim 23 is characterized in that, veneer is set is before the stand-by state, described second block of state also is used for: download Backup Data from the veneer of master state of the same type.
25. veneer as claimed in claim 24 is characterized in that, described second block of state also is used for:
Begin to start timing when main veneer with state of the same type is downloaded Backup Data;
Exceed when also successfully not downloading Backup Data behind the parallel operation timing of setting, start reset operation.
26. as the arbitrary described veneer of claim 15~25, it is characterized in that,
Described second block of state also is used for: when described first block of state arranges veneer and is preliminary master state or non-active status, start timing; In timing is assigned in the wait of setting, carry out determining of master state or stand-by state; After exceeding described wait appointment timing, do not report to the police when also veneer is set to master state or stand-by state.
27. veneer as claimed in claim 26, it is characterized in that described veneer is preliminary main veneer with state, and after exceeding described wait appointment timing, also veneer is not set to lead when using state, and described second block of state also is used for: start reset operation.
28., it is characterized in that veneer is set is non-master with after the state, described first block of state also is used for: send the main and standby competition request message to the opposite end veneer again as the arbitrary described veneer of claim 15~25.
29. veneer as claimed in claim 28 is characterized in that, described veneer is the veneer on the radio network controller (RNC) equipment.
CN201110231294.5A 2011-08-12 2011-08-12 Single board and method for determining primary and standby states for the same Active CN102291303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110231294.5A CN102291303B (en) 2011-08-12 2011-08-12 Single board and method for determining primary and standby states for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110231294.5A CN102291303B (en) 2011-08-12 2011-08-12 Single board and method for determining primary and standby states for the same

Publications (2)

Publication Number Publication Date
CN102291303A true CN102291303A (en) 2011-12-21
CN102291303B CN102291303B (en) 2014-07-23

Family

ID=45337421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110231294.5A Active CN102291303B (en) 2011-08-12 2011-08-12 Single board and method for determining primary and standby states for the same

Country Status (1)

Country Link
CN (1) CN102291303B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547281A (en) * 2017-09-18 2018-01-05 通鼎互联信息股份有限公司 A kind of main and standby competition method, apparatus and application apparatus
CN107968718A (en) * 2016-10-20 2018-04-27 浙江大华技术股份有限公司 A kind of method, apparatus and equipment for confirming standby usage state
CN111007753A (en) * 2019-10-25 2020-04-14 苏州浪潮智能科技有限公司 Main/standby arbitration method and device for double controllers
CN111224799A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Single board master/slave control method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797253A (en) * 2004-12-29 2006-07-05 上海贝尔阿尔卡特股份有限公司 Method and device for determining states of main/standby of devices in system
CN101115033A (en) * 2007-09-04 2008-01-30 武汉市中光通信公司 Conversation inceptive protocol gateway master-slave conversion system and method
CN101938417A (en) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 Method for realizing configuration of main and auxiliary board cards as well as board cards

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797253A (en) * 2004-12-29 2006-07-05 上海贝尔阿尔卡特股份有限公司 Method and device for determining states of main/standby of devices in system
CN101115033A (en) * 2007-09-04 2008-01-30 武汉市中光通信公司 Conversation inceptive protocol gateway master-slave conversion system and method
CN101938417A (en) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 Method for realizing configuration of main and auxiliary board cards as well as board cards

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968718A (en) * 2016-10-20 2018-04-27 浙江大华技术股份有限公司 A kind of method, apparatus and equipment for confirming standby usage state
CN107968718B (en) * 2016-10-20 2022-02-25 浙江大华技术股份有限公司 Method, device and equipment for confirming main standby state
CN107547281A (en) * 2017-09-18 2018-01-05 通鼎互联信息股份有限公司 A kind of main and standby competition method, apparatus and application apparatus
CN111224799A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Single board master/slave control method, device, equipment and readable storage medium
CN111007753A (en) * 2019-10-25 2020-04-14 苏州浪潮智能科技有限公司 Main/standby arbitration method and device for double controllers

Also Published As

Publication number Publication date
CN102291303B (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN110086652B (en) Management system and method for service network element in 5G core network
CN100488123C (en) Software and hardware version management method and system of communication equipment
CN107919994B (en) Method and server for realizing hot standby of network service dual-computer
CN101207522B (en) Method and apparatus for implementation of collocation task scheduling
CN101984573A (en) Method and system for distributed realization of LACP standard state machine
CN103442035B (en) A kind of two net hot backup redundancy implementation methods of air traffic control automation system
CN110275680B (en) Double-control double-active storage system
CN104468521A (en) Online migration method, device and system
CN112416969B (en) Parallel task scheduling system in distributed database
RU2716560C2 (en) Radio base station and system having radio base station
CN102291303B (en) Single board and method for determining primary and standby states for the same
CN102843259A (en) Middleware self-management hot backup method and middleware self-management hot backup system in cluster
US10037253B2 (en) Fault handling methods in a home service system, and associated household appliances and servers
CN101547122B (en) Method, device and system for recovering terminal configuration
CN101262369A (en) Master/slave realization method for dispatching server and dispatching server
CN106685688A (en) Cluster computer device synchronous upgrade method
CN101557307B (en) Dispatch automation system application state management method
CN103037483A (en) Network server and method for connecting same and application server
CN101594674B (en) Information interaction method used for wireless access network information management
CN102480366A (en) Dual-server hot standby operation method for conference system software
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN101155061B (en) Master/standby control method
CN113821334A (en) Method, device and system for configuring edge side equipment
KR100274848B1 (en) Network management method for network management 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
C14 Grant of patent or utility model
GR01 Patent grant