CN1797253A - Method and device for determining states of main/standby of devices in system - Google Patents

Method and device for determining states of main/standby of devices in system Download PDF

Info

Publication number
CN1797253A
CN1797253A CN 200410099262 CN200410099262A CN1797253A CN 1797253 A CN1797253 A CN 1797253A CN 200410099262 CN200410099262 CN 200410099262 CN 200410099262 A CN200410099262 A CN 200410099262A CN 1797253 A CN1797253 A CN 1797253A
Authority
CN
China
Prior art keywords
information
state
equipment
devices
main
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200410099262
Other languages
Chinese (zh)
Inventor
裴尧
吴冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nokia Shanghai Bell Co Ltd
Original Assignee
Alcatel Lucent Shanghai Bell 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 Alcatel Lucent Shanghai Bell Co Ltd filed Critical Alcatel Lucent Shanghai Bell Co Ltd
Priority to CN 200410099262 priority Critical patent/CN1797253A/en
Publication of CN1797253A publication Critical patent/CN1797253A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention provides a method and device for determining master and backup states of a device in a system, not only compact but easy to implement. By the preset selecting conditions, the invention makes the system able to determine only a master device and determine the other devices as backup devices as starting up, and in the principle of avoiding unnecessary master-backup device switching, eliminates the system chaos caused by plural or no master devices generated by improper competition between various devices, thus improving the system reliability.

Description

Method and device for determining main/standby state of equipment in system
Technical Field
The present invention relates to the field of system control technologies, and in particular, to a method and an apparatus for determining a master/standby state of a device in a system.
Background
Many devices in telecommunications, financial, medical, etc. systems require extremely high reliability. Usually these systems consist of several groups of devices with different functions. In most compact system control modes, there is one and only one master in the system. The main device is the control center of the system and also the core of all the device groups, collects data, makes decisions and issues instructions, while the other devices in the system except the main device are standby devices, and the standby devices are controlled by the main device in the system and execute the instructions from the main device. Therefore, the master/standby state of the device is very important in the system, and if there is no master device or there are multiple master devices in the system, the whole system will be confused. Therefore, a method is needed to determine the active/standby states of devices in the system, so that one and only one master device is maintained in the system.
The existing method is to determine the master device by judging the priority of the devices in the system. In the system, each device has its own priority, with the highest priority device being the master and the other devices being the slave. At any time, when a new device with priority over the original master device enters the system, the new device will become the master device and the original master device will become the slave device. By determining the master in this manner, when the system is started, the master in the system may switch from a low priority device to a high priority device, and finally, the highest priority device will remain as the master in the system. This causes frequent switching of the master device in a short time, which causes thrashing of the system, greatly increasing the probability of important data loss or abnormality in the system, and possibly damaging the entire system. Therefore, the existing solutions are not preferable.
In order to overcome the defects in the prior art, a new method and a new device for determining the active/standby states of devices in a system are provided.
Disclosure of Invention
The invention aims to provide a method and a device for determining the main/standby state of equipment in a system, wherein the method and the device are simple and easy to implement, so that one main equipment can be determined when the system is started, the main equipment is kept as the only main equipment in the system, the unnecessary frequent switching of the main equipment is reduced, and the reliability of the system is improved.
The method for determining the main/standby state of the equipment in the system comprises the following steps:
a. when equipment in the system is started, setting the state of the equipment to be NA, wherein the NA represents that the state of the equipment is uncertain;
b. the equipment in the system determines the state of the equipment per se in the system according to the obtained equipment information and state information output by other equipment in the system and the equipment information of the equipment per se, if main state information exists in the state information output by other equipment in the system, the equipment sets the state of the equipment per se as a standby state, and replaces the state NA with the standby state and outputs the standby state as information; if the state information output by other equipment in the system does not have main state information, the equipment in the system compares the equipment information of the equipment with the equipment information output by other equipment in the system according to a set selection condition, if the comparison result meets the set selection condition, the equipment sets the state of the equipment as the main state, replaces the state NA with the main state and outputs the main state as information, and otherwise, the equipment sets the state of the equipment as the standby state after receiving the main state information output by other equipment in the system, and replaces the state NA with the standby state and outputs the standby state as information.
When the system is in a case, the device in the system obtains the device information and the state information output by other devices in the system through the data bus, and outputs the device information and the state information of the device through the data bus. When the system is a network system composed of a plurality of devices, the devices in the system obtain the device information and the state information output by other devices in the system by receiving the device information and the state information sent by other devices in the system, and output the device information and the state information by sending the device information and the state information of the devices.
The device information includes a chassis number, a slot number, a device priority, a device model, a device network address, a device product number, and the like, and is specifically determined according to set selection condition parameters.
If the device information of the device itself meets the set selection condition compared with the received device information of other devices in the system, the device sets the state of the device itself as the main state after a set period of time and when the device determines that no device information of other devices in the system meets the set selection condition more than the device information of the device itself.
The invention relates to a device for determining the main/standby state of equipment in a system, which is used for setting the state of the equipment in the system according to the obtained equipment information and state information output by other equipment in the system and the equipment information of the equipment, and comprises the following components:
a state information judging unit (110) for judging whether main state information exists in the state information output by other equipment in the system and outputting a judgment result;
a device information comparing and judging unit (120) for comparing and judging the device information of the device itself and the device information output by other devices in the system according to a set selection condition when the state information judging unit judges that the main state information does not exist in the state information output by other devices in the system, and outputting a comparison and judgment result;
and the equipment state setting unit (130) is used for setting the state information of the equipment to be NA when the equipment is started, and setting the state of the equipment according to the judgment result of the state information judgment unit and the comparison judgment result of the equipment information comparison and judgment unit: when the state information judging unit judges that main state information exists in the state information output by other equipment in the system, the state of the equipment is set as a standby state, and the state NA is replaced by the standby state and is output as information; when the state information judging unit judges that the state information output by other equipment in the system does not have main state information, and the equipment information comparison and judgment unit compares and judges that the equipment information of the equipment per se and the equipment information output by other equipment in the system meet set selection conditions, the state of the equipment per se is set as the main state, and the state NA is replaced by the main state and is output as information, wherein the NA represents that the state of the equipment is uncertain.
When the system is in a chassis, the device in the system obtains device information and state information output by other devices in the system through a data bus, and outputs the device information and state information of the device through the data bus. When the system is a network system formed by a plurality of devices, the device further comprises a receiving unit and a sending unit, wherein the receiving unit is used for receiving the device information and the state information sent by other devices in the system, and the sending unit is used for sending the device information of the device and the current state information to other devices in the system.
The device state setting unit (130) is further used for setting the state of the device as the main state and replacing the state NA with the main state to output the information as the information when the state information judging unit (110) judges that the main state information does not exist in the state information output by other devices in the system and the device information of the device per se is compared with the device information output by other devices in the system and meets the set selection condition after the device information comparing and judging unit (120) compares and judges that the device information of the device per se and the device information output by other devices in the system meet the set selection condition.
The invention can determine only one main device when the system is started by presetting the selection condition, and other devices in the system are determined as standby devices, thereby reducing unnecessary frequent switching of the main devices and improving the reliability of the system. Moreover, the invention is more suitable for systems with relatively weak hardware systems, such as embedded systems and real-time systems. Centralized management is more advantageous than distributed management for these systems.
Drawings
Fig. 1 is a schematic structural diagram of an apparatus for determining a master/standby state of a device in a system according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the figures and examples.
Fig. 1 is a schematic structural diagram illustrating an apparatus for determining a master/standby state of a device in a system according to an embodiment of the present invention. As shown in fig. 1, an apparatus 10 for determining a master/standby state of a device in a system according to the present invention is disposed in each device in the system, and is configured to determine and set a master/standby state of the device itself in the system according to obtained device information and state information output by other devices in the system and device information of the device itself, and includes a state information determining unit 110, a device information comparing and determining unit 120, and a device state setting unit 130; wherein,
a status information determining unit 110, configured to determine whether main status information exists in status information output by other devices in the system, and output a determination result;
a device information comparing and judging unit 120 for comparing and judging the device information of the device itself and the device information output by the other devices in the system according to the set selection condition when the state information judging unit 110 judges that the main state information does not exist in the state information output by the other devices in the system, and outputting the comparison and judgment result;
a device state setting unit 130 for setting the state of the device itself to NA indicating that the state is uncertain at the time of device startup, and setting the state of the device according to the judgment result of the state information judging unit 110 and the comparison judgment result of the device information comparing and judging unit 120: when the status information judging unit 110 judges that the main status information exists in the status information output by other devices in the system, the self status of the device is set as the standby status, that is, the status NA is replaced by the standby status and output as information; when the status information determining unit 110 determines that the status information output by other devices in the system does not include the main status information, and the device information comparing and determining unit 120 compares and determines that the device information of the device itself and the device information output by other devices in the system meet the set selection condition, the status of the device itself is set as the main status, that is, the status NA is replaced with the main status and output as information.
When the devices in the system are combined in one case, each device in the system can obtain the device information and the state information output by other devices in the system through the data bus, and can output the device information and the state information of the device through the data bus.
When the system is a network system composed of a plurality of devices, the device 10 for determining the active/standby states of the devices in the system may acquire device information and state information of other devices in the system through a receiving device of the device itself, and transmit the device information and state information of the device itself to the other devices in the system through a transmitting device of the device itself; apparatus 10 for determining the active/standby status of devices in the system may also further include a receiving unit 140 and a sending unit 150. The receiving unit 140 is used for receiving device information and status information sent by other devices in the system. The sending unit 150 is configured to send the device information of the device itself and the current status information to other devices in the system.
In the invention, when the equipment in the system is started, the equipment is initialized to obtain the equipment information of the equipment, including a case number, a slot number, equipment priority, an equipment model, an equipment network address, an equipment product number and the like, specifically according to the set selection condition parameters, and the state of the equipment is set as NA. Where NA indicates that the state of the device is uncertain. The state information indicates that the device is in a master state, a standby state, or an indeterminate state. The initialization of the above-mentioned device and the acquisition of the device information of the device itself are all the prior art.
Then, the device in the system transmits the current status information NA and the device information of itself to the other devices in the system, and receives the device information and the status information transmitted from the other devices in the system. Thus, the devices in the system can know whether other devices are running in the system at the moment and what the current states of the other devices in the system are respectively the main state, the standby state or the NA.
Then, the device in the system determines the state of the device itself in the system according to the received device information and state information of other devices in the system and the device information of itself, and the state is the main state or the standby state.
When the status information determining unit 110 of the device in the system determines that the received status information of other devices in the system includes the master status information, which indicates that the master device exists in the system at this time, the device determines its own status as the standby status according to the principle that there is only one master device in the system. This indicates that the device is a device accessing the system during normal operation of the system, and the device is better suited to become a master device as compared with a master device in the system, but because the master device already exists in the system, the device must be determined as a standby device after being started, thus preventing unnecessary master device switching during operation of the system. At this time, the device state setting unit 130 of the device replaces the state NA with the standby state and outputs the state NA as information, and transmits the current state information (standby state information) and the device information of itself to other devices in the system, respectively.
When the device in the system determines that the received state information of other devices in the system does not have the main state information during starting, it indicates that the main device does not exist in the system at this time, and the system may have the following situations:
1. the state information of other devices in the system received by the device in the system is all NA, which indicates that all devices in the system are in the starting state at the moment;
2. when the state information of other equipment in the system received by the equipment in the system is standby state information or both NA information and standby state information exist, the main equipment in the system fails at the moment, and the standby equipment does not take over;
3. the device in the system does not receive the status information of other devices in the system after a set period of time, which is determined by people according to the period of information transmission by the devices in the system, and this set period of time may be several times the period of information transmission by the devices in the system, for example: 3 times, 4 times, 5 times, etc. .
The present invention employs a predetermined selection condition to determine a unique master device from all devices currently in the system. For example, one may determine a unique master device according to the relative position relationship of the devices in the system, may determine a unique master device according to the priority of the devices in the system, or any other selection function capable of determining a unique master device. The equipment in the system acquires the equipment information thereof according to different preset selection conditions, for example, when the preset selection conditions are that a unique master equipment is determined according to the relative position relationship of the equipment in the system, the equipment information acquired by the equipment in the system includes a case number, a slot number and the like; when the preset selection condition is that only one main device is determined according to the priority level of the devices in the system, the device information acquired by the devices in the system comprises the priority level of the devices and the like; in summary, this information enables a unique master device to be determined by means of the selection function.
For the first case, when all the devices in the system are in the startup state, each device in the system compares its own device information with the received device information of all other devices in the system according to the set selection condition. For a system in which each device is started successively, in order to ensure that the device information and the state information of other devices in the system are reliably obtained, the started device may wait for a set time before the device information comparison and judgment unit 120 performs comparison and judgment, and then perform comparison and judgment, so that misjudgment of the main state can be avoided.
If the device information of the device itself meets the set selection condition compared with the received device information of other devices in the system, the device determines the state of the device itself and sets the main state, or the device determined as the main state determines that the device information of other devices in the system does not meet the set selection condition more than the device information of the device itself when waiting for a set time and determining that the device information of other devices in the system meets the set selection condition in consideration of the condition that a new device is accessed into the system in the starting process of the system. This is because there is a possibility that a new device may be added to the system and start to boot up during the booting process of the devices in the system, and therefore, in order to select a device that best meets the set selection condition as a master device from the currently booted devices in the system, a waiting time may be preset before the device is determined as the master device. The set time period is determined according to the period of information transmission by the devices in the system, and may be several times of the period of information transmission by the devices in the system, for example: 3 times, 4 times, 5 times, etc. When the device is determined as the master device, the device replaces the state NA with the master state and outputs the master state as information, and sends the current state information (master state information) and the device information of the device to other devices in the system, respectively.
If the device information of the device itself is not in accordance with the set selection condition compared with the received device information of other devices in the system, the device sets the state of the device itself as a standby state after receiving the main state information sent by other devices in the system. The device cannot be determined as a standby device when it does not receive the main status information sent by other devices in the system, because the other devices in the system may not work normally due to a sudden failure before sending the main status information, that is, before becoming the main device, and if the device determines its own status as a standby status when it does not receive the main status information sent by other devices in the system, the second condition is caused when the system is started, and the main device is reselected according to the set selection condition. After the system determines the master device, the device sets its own state as the standby state after receiving the master state information output by other devices in the system, replaces the state NA with the standby state and outputs the state NA as information, and respectively sends the current state information (master state information) and the device information of itself to other devices in the system.
When the second condition described above occurs, which normally does not occur, it is indicated that the system has lost control at this point. Once the main device can not work in the system operation process, one of the standby devices is switched into the main device to control the whole system. If this is found to happen when a device is started, then a unique master device can be determined by the present invention among all the currently starting devices in the system, namely: each device in the system compares the device information of the device with the received device information of other devices in the system according to the set selection condition, if the device information of the device and the received device information of other devices in the system are in accordance with the set selection condition, the device sets the state of the device as a main state, at this time, the device replaces the state NA with the main state and outputs the main state as information, and the current state information (main state information) and the device information of the device are respectively sent to other devices in the system. If the device information of the device itself does not accord with the set selection condition compared with the received device information of other devices in the system, the device sets the state of the device itself as a standby state after receiving the main state information sent by other devices in the system, replaces the state NA with the standby state and outputs the state NA as information, and respectively sends the current state information (standby state information) and the device information of the device itself to other devices in the system or waits for the selection condition to accord with again. The determined new master will restart the remaining slaves in the system, since the data of the slaves in a system without master control is meaningless, i.e. the slaves have gone out of control.
For the third case, the device in the system does not receive the status information of other devices in the system within a set period of time, which may be several times of the period of time for the devices in the system to send information, which means that there is only one device in the system, so after the set period of time, the device sets the state of the device to the main state, where the set period of time is determined by people according to the period of time for the devices in the system to send information, for example: 3 times, 4 times, 5 times, etc. At this time, the device replaces the state NA with the master state and outputs the master state as information, and transmits current state information (master state information) and its own device information to other devices in the system, respectively.
Example one
Assume that there are A, B, C, D four devices in the system, and the preset selection conditions of the master device are: the device with the highest priority is the master device. When A, B, C, D four devices are started simultaneously, A, B, C, D four devices respectively obtain their own device information, that is, the priority of the device, and set their own status information as NA, and then respectively send their own device information and status information to other devices in the system, that is: the device a transmits its own device information and state information to the B, C, D device, the device B transmits its own device information and state information to the A, C, D device, the device C transmits its own device information and state information to the A, B, D device, and the device D transmits its own device information and state information to the A, B, C device.
Next, the a device determines its own status in the system based on the received device information and status information respectively transmitted from the B, C, D devices and its own device information, and since the status information of the B, C, D device is NA, there is no master device in the system at this time, and the priority of the a device is the highest of the four devices, so the a device is a master device candidate at this time. If no new device is added to the system and started up within a set time period, for example, 5 seconds, and its priority is higher than that of the a device, the a device becomes the master device, and after its status is set to the master status, the a device transmits current master status information and device information to B, C, D devices, respectively. If a new device E is added into the system within the set 5 seconds and starts to be started, and the priority of the new device E is higher than that of the device A, the device A is changed into a standby device candidate, after the device A receives the main state information sent by the device E, the state of the device A is set to be a standby state, and the standby state information and the device information are sent to B, C, D, E devices respectively.
The B device determines the state of itself in the system according to the received device information and state information respectively transmitted from the A, C, D devices and the device information of itself while the a device sets its state, and the B device is a candidate for the standby device at this time because the priority of the B device is not the highest among the devices in the current system. And after the B equipment receives the main state information sent by the A equipment or the E equipment, the B equipment sets the state of the B equipment as a standby state, and respectively sends the standby state information and the equipment information to other equipment in the system. If the B device does not receive any state information sent by the A device or the E device, which indicates that the A device or the E device fails to work normally before becoming the main device, the B device newly determines a main device in the standby device candidates in the current system according to the method of the invention.
Similarly, the C, D device is not the highest priority among the devices in the current system, so the C, D device is a candidate for the standby device at this time, determines its own state as the standby state after it receives the set main state information sent by the main device, and sends the standby state information and the device information to other devices in the system respectively.
When the master in the system is set, a new device F is added to the system and starts up with a higher priority than the master in the system. After acquiring the priority of the device, which is the device information of the device, and setting the state of the device as NA, the device F transmits the current state information NA and the device information of the device to other devices (A, B, C, D, E devices) in the system, and receives the device information and the state information transmitted from other devices in the system. Since the device F already has the master status information in the status information of the other devices in the system received, although the device F has a higher priority than the master device in the system and is more suitable to be the master device, the device F must be set as the slave device since the master device is already present in the system. At this time, the device F replaces the state NA with the standby state and outputs the information, and transmits the standby state information and the device information of itself to other devices in the system.
Example two
Assuming that the system is in a chassis, the chassis can accommodate N boards, where N is a constant, and the preset selection condition of the master device is: and a, N + b is the minimum master equipment, wherein a and b are both the equipment information of the equipment in the system, namely each board card, a represents the case number of the equipment, and b represents the slot number of the equipment. The selection condition of the master device is the simplest one to determine the only one master device according to the relative position relationship of the devices, and is only used for illustrating the present invention, and the present invention is not limited to the selection condition.
After the chassis is started, each board card in the chassis respectively acquires own device information, namely, a chassis number and a slot number, and after the current state is set to be NA, the device information and the state information NA of the board card are output to other board cards in the host through the data bus, and meanwhile, the device information and the state information output by other board cards in the host through the data bus are acquired.
Because each board card in the chassis is in a starting state and the main equipment is not determined yet, each board card in the chassis takes the own equipment information and the obtained equipment information of other board cards in the chassis as the main equipment according to the set selection condition, namely, the minimum value of a, N and b, and the calculation and the comparison are carried out.
When one board card in the chassis is calculated and compared to obtain the minimum value of a x N + b, the board card sets the state of the board card as a main state, replaces the state NA with the main state and outputs the main state and the equipment information as information, and respectively outputs the current main state information and the equipment information to other board cards in the chassis through a data bus. And after receiving the main state information output by the board card set as the main equipment, the other board cards in the case set the self state as the standby state, replace the state NA with the standby state and output the standby state as information, and respectively output the current standby state information and the self equipment information to the other board cards in the host through a data bus.
While the present invention has been described in conjunction with specific embodiments, it is evident that many alternatives, modifications, and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended that such alternatives, modifications, and variations be included within the spirit and scope of the appended claims.

Claims (11)

1. A method for determining the active/standby state of a device in a system, the method comprising the steps of:
a. when equipment in the system is started, setting the state of the equipment to be NA, wherein the NA represents that the state of the equipment is uncertain;
b. the equipment in the system determines the state of the equipment per se in the system according to the obtained equipment information and state information output by other equipment in the system and the equipment information of the equipment per se, if main state information exists in the state information output by other equipment in the system, the equipment sets the state of the equipment per se as a standby state, and replaces the state NA with the standby state and outputs the standby state as information; if the state information output by other equipment in the system does not have main state information, the equipment in the system compares the equipment information of the equipment with the equipment information output by other equipment in the system according to a set selection condition, if the comparison result meets the set selection condition, the equipment sets the state of the equipment as the main state, replaces the state NA with the main state and outputs the main state as information, and otherwise, the equipment sets the state of the equipment as the standby state after receiving the main state information output by other equipment in the system, and replaces the state NA with the standby state and outputs the standby state as information.
2. The method of claim 1, further characterized in that when the system is in one chassis, the device in the system obtains device information and status information output by other devices in the system via the data bus and outputs its own device information and status information via the data bus.
3. The method of claim 1, wherein when the system is a network system composed of a plurality of devices, the devices in the system obtain device information and status information output from other devices in the system by receiving the device information and status information transmitted from other devices in the system, and output their device information and status information by transmitting their device information and status information.
4. The method of claim 1, further characterized in that the device information comprises a chassis number, a slot number, a device priority, a device model number, a device network address, and a device product number.
5. The method as claimed in claim 1, wherein if the device information of the device itself meets the set selection condition compared with the received device information of other devices in the system, the device sets the state of the device itself as the main state when it is determined that the device information of no other device in the system meets the set selection condition more than the device information of the device itself after a set period of time.
6. An apparatus for determining a master/standby state of a device in a system, the apparatus being configured to set a state of the device in the system according to obtained device information and state information output by other devices in the system and device information of the device, the apparatus comprising:
a state information judging unit (110) for judging whether main state information exists in the state information output by other equipment in the system and outputting a judgment result;
a device information comparing and judging unit (120) for comparing and judging the device information of the device itself and the device information output by other devices in the system according to a set selection condition when the state information judging unit judges that the main state information does not exist in the state information output by other devices in the system, and outputting a comparison and judgment result;
and the equipment state setting unit (130) is used for setting the state information of the equipment to be NA when the equipment is started, and setting the state of the equipment according to the judgment result of the state information judgment unit and the comparison judgment result of the equipment information comparison and judgment unit: when the state information judging unit judges that main state information exists in the state information output by other equipment in the system, the state of the equipment is set as a standby state, and the state NA is replaced by the standby state and is output as information; when the state information judging unit judges that the state information output by other equipment in the system does not have main state information, and the equipment information comparison and judgment unit compares and judges that the equipment information of the equipment per se and the equipment information output by other equipment in the system meet set selection conditions, the state of the equipment per se is set as the main state, and the state NA is replaced by the main state and is output as information, wherein the NA represents that the state of the equipment is uncertain.
7. The apparatus of claim 6, further characterized in that when the system is in one chassis, the device in the system obtains device information and status information output by other devices in the system via the data bus and outputs its own device information and status information via the data bus.
8. The apparatus of claim 6, further characterized in that when the system is a network system composed of a plurality of devices, the apparatus further comprises a receiving unit for receiving device information and status information transmitted from other devices in the system.
9. The apparatus of claim 8, further characterized in that, when the system is a network system composed of a plurality of devices, the apparatus further comprises a transmitting unit for transmitting device information of the device itself and current state information to other devices in the system.
10. The apparatus of claim 6, further characterized in that the device information comprises a chassis number, a slot number, a device priority, a device model number, a device network address, and a device product number.
11. The apparatus of claim 6, wherein the device status setting unit (130) is further configured to, when the status information determining unit (110) determines that the main status information does not exist in the status information output by other devices in the system, and the device information comparing and determining unit (120) determines that the device information of the device itself matches the set selection condition compared with the device information output by other devices in the system, and after a set period of time, determines that the device information of no other device in the system matches the set selection condition more than the device information of the device itself, set the device status as the main status, and replace the status NA with the main status and output the main status as the information.
CN 200410099262 2004-12-29 2004-12-29 Method and device for determining states of main/standby of devices in system Pending CN1797253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410099262 CN1797253A (en) 2004-12-29 2004-12-29 Method and device for determining states of main/standby of devices in system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410099262 CN1797253A (en) 2004-12-29 2004-12-29 Method and device for determining states of main/standby of devices in system

Publications (1)

Publication Number Publication Date
CN1797253A true CN1797253A (en) 2006-07-05

Family

ID=36818328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410099262 Pending CN1797253A (en) 2004-12-29 2004-12-29 Method and device for determining states of main/standby of devices in system

Country Status (1)

Country Link
CN (1) CN1797253A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938417A (en) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 Method for realizing configuration of main and auxiliary board cards as well as board cards
CN102291303A (en) * 2011-08-12 2011-12-21 大唐移动通信设备有限公司 Single board and method for determining primary and standby states for the same
EP4280809A1 (en) * 2022-05-20 2023-11-22 MegaChips Corporation Preventing unintended selection of a master unit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938417A (en) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 Method for realizing configuration of main and auxiliary board cards as well as board cards
WO2012028013A1 (en) * 2010-09-01 2012-03-08 中兴通讯股份有限公司 Implementing method for main/standby configuration of board cards, and board card
CN102291303A (en) * 2011-08-12 2011-12-21 大唐移动通信设备有限公司 Single board and method for determining primary and standby states for the same
CN102291303B (en) * 2011-08-12 2014-07-23 大唐移动通信设备有限公司 Single board and method for determining primary and standby states for the same
EP4280809A1 (en) * 2022-05-20 2023-11-22 MegaChips Corporation Preventing unintended selection of a master unit

Similar Documents

Publication Publication Date Title
CN1129857C (en) Multi-processor converter and main processor converting method
US6859889B2 (en) Backup system and method for distributed systems
US20040003082A1 (en) System and method for prevention of boot storms in a computer network
CN1671134A (en) Storage system
CN101067794A (en) Multi-nuclear processor and serial port multiplexing method
CN1808406A (en) Method and apparatus for monitoring number of lanes between controller and PCI express device
CN101056205A (en) A management method, system and device based on ATCA architecture-based server
CN112104727B (en) Method and system for deploying simplified high-availability Zookeeper cluster
US20090217081A1 (en) System for providing an alternative communication path in a SAS cluster
CN1324463C (en) Method and apparatus for enumeration of a multi-node computer system
US20090138757A1 (en) Failure recovery method in cluster system
CN1508714A (en) Method and system for determining activity of high availability mass
CN1217798A (en) Process for synchronisation of programs on different computors of interconnected system
CN1622483A (en) A method for implementing software hot-backup of main and reserve machines
CN1491386A (en) Automatic startup of cluster system after occurrence of recoverable error
CN110413398B (en) Task scheduling method and device, computer equipment and storage medium
CN200944605Y (en) Domain name server and communication system
JP4452023B2 (en) Apparatus and method for transferring data from one partition of a partitioned computer system to another
CN1797253A (en) Method and device for determining states of main/standby of devices in system
US9164765B2 (en) Method for managing a processor, lock contention management apparatus, and computer system
CN1725758A (en) Method for synchronizing a distributed system
EP2071764A1 (en) A method, device and communication system thereof of electing local master
CN1798060A (en) Method and device for detecting conflict of IP addresses in networked computers
CN1756377A (en) Method for detecting single board fault
CN1127243C (en) Individual initialized set data processing system and method for long-distance access user 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication