CN101378267B - Primary and secondary switching device, and switching method using the same - Google Patents
Primary and secondary switching device, and switching method using the same Download PDFInfo
- Publication number
- CN101378267B CN101378267B CN2007100766646A CN200710076664A CN101378267B CN 101378267 B CN101378267 B CN 101378267B CN 2007100766646 A CN2007100766646 A CN 2007100766646A CN 200710076664 A CN200710076664 A CN 200710076664A CN 101378267 B CN101378267 B CN 101378267B
- Authority
- CN
- China
- Prior art keywords
- board
- standby
- state
- signal
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Abstract
本发明为一种主备切换装置及使用该装置进行主备切换的方法,该装置包括背板和互为主备的结构、元器件、逻辑电路完全相同的第一单板和第二单板,第一单板上设有可编程逻辑器件、中央处理器及外围电路,可编程逻辑器件与中央处理器通过本地总线双向通信,可编程逻辑器件的输入信号包括:MS_IN、CL_IN、MS_HAND、SYS_DEF及CPU_WDI;输出信号包括:MS_OUT、CL_OUT;第一单板输出的MS_OUT及CL_OUT通过背板后分别作为第二单板的MS_IN及CL_IN输入第二单板;第二单板输出的MS_OUT及CL_OUT通过背板后分别作为第一单板的MS_IN及CL_IN输入所述第一单板。本发明所述技术方案占用少量背板互连信号,可靠实现了主备切换。
The present invention relates to an active-standby switching device and a method for using the device to switch between active and standby. The device includes a backplane and a first veneer and a second veneer that are completely identical in structure, components and logic circuits to each other. , the first single board is provided with a programmable logic device, a central processing unit and peripheral circuits, the programmable logic device and the central processing unit communicate bidirectionally through a local bus, and the input signals of the programmable logic device include: MS_IN, CL_IN, MS_HAND, SYS_DEF And CPU_WDI; output signals include: MS_OUT, CL_OUT; MS_OUT and CL_OUT output by the first board pass through the backplane and then input to the second board as MS_IN and CL_IN of the second board; MS_OUT and CL_OUT output by the second board pass through After the backplane, the MS_IN and CL_IN of the first board are respectively input to the first board. The technical scheme of the invention occupies a small amount of backplane interconnection signals, and reliably realizes active/standby switchover.
Description
技术领域 technical field
本发明涉及一种主备切换装置及使用该装置进行主备切换的方法。The invention relates to an active-standby switching device and a method for using the device to perform active-standby switching.
背景技术 Background technique
通信网络系统设备对可靠性的要求非常高,为了提高系统的可靠性,通常对关键单板采用主备热备份的工作方式。主用的单板接口信号输出在系统中为使能状态,即实时在线工作;而备用的单板接口信号输出在系统中为非使能状态。两块板的接口信号在背板上复接在一起,当主用的单板出现故障时,系统应能够自动切换,保证系统工作的可靠性。Communication network system equipment has very high reliability requirements. In order to improve system reliability, the main and standby hot backup working mode is usually adopted for key single boards. The main board interface signal output is enabled in the system, that is, works online in real time; while the standby board interface signal output is disabled in the system. The interface signals of the two boards are multiplexed together on the back board. When the main board fails, the system should be able to switch automatically to ensure the reliability of the system.
现有的主备技术情况如下所述:The existing master and backup technologies are as follows:
1、采用RS触发器实现简单的硬件主备状态互锁,当一方发起主备切换命令后,另一方立刻变相应改变状态,如专利号为02261600名称为“主备板切换装置”的专利。其问题在于:在单板拔插或有外界干扰时,容易造成异常主备切换甚至主备竞争出现无限振荡的情况,从而造成系统的故障。在此基础上,申请号为03113177.8名称为“一种主备板倒换装置及其倒换方法”的专利申请中提出在输入的主备信号上加不平衡滤波器去除线路上抖动的方法。其问题在于:不平衡滤波器的采样次数根据单板的槽位信息来确定,当拔插单板或主备信号上有干扰时,最终决定谁为主用,完全由槽位信息决定,很可能导致原主用单板成备用,从而发生异常切换;1. Use the RS trigger to realize simple interlocking of the hardware master and backup states. When one party initiates the master and slave switch command, the other party immediately changes the state accordingly. For example, the patent No. 02261600 is a patent named "Master and Standby Board Switching Device". The problem is that when a single board is removed or inserted or there is external interference, it is easy to cause abnormal active-standby switchover or even infinite oscillation in active-standby competition, resulting in system failure. On this basis, the patent application No. 03113177.8 titled "A master-standby switchover device and its switchover method" proposes a method of adding an unbalanced filter to the input master-standby signal to remove line jitter. The problem is that the sampling frequency of the unbalanced filter is determined according to the slot information of the board. When a board is plugged in or there is interference on the active and standby signals, the final decision on who will be active is entirely determined by the slot information. It may cause the original main board to become a backup, resulting in abnormal switching;
2、专利号为99229246.8名称为“一种电子通讯系统主备板切换方式”的专利,其问题在于:由于主板无法有效检测备用单板状态,无论对板是否能够正常工作,是否在软件和硬件上已经准备好了切换,都可发起主备倒换流程,此时的主备切换,很可能导致系统陷入故障状态。而且,在拔插单板的过程中,对板在位信号可能先于主备状态针脱落/后于主备状态针接触,导致拔出/插入单板误认为对板状态出现异常,将自己置为主用,由于主备状态的互锁机制,此时原主用单板可能变成备用,使整个系统出现故障。2. Patent No. 99229246.8 is a patent titled "A Switching Method of Main and Standby Boards of Electronic Communication System". If the system is ready for the switchover, the master-standby switchover process can be initiated. At this time, the master-standby switchover may cause the system to fall into a fault state. Moreover, during the process of unplugging and inserting a single board, the presence signal of the opposite board may fall off before the active/standby state pin/be contacted after the active/standby state pin, causing the unplugged/inserted single board to mistakenly believe that the state of the opposite board is abnormal, and the Due to the interlock mechanism of the active and standby states, the original active single board may become the standby at this time, causing the entire system to fail.
3、为解决拔插备用单板对主用单板的影响,有的主备技术中采用了主用锁定的方法,即只要一旦本板获得主用,无论对板情况如何,只要本板不发生故障,就锁定主用状态,如专利号为01121975.0名称为“主备电路倒换设备及其方法”的专利,其可以保证在正常拔插过程中,主备关系不会发生异常,但是,在单板没有插紧、工作中出现松动、背板上出现干扰信号等情况下,则很可能两块单板都会进入主用状态,并且当单板重新接触良好或干扰消失之后,只要不拔插或者复位单板,两块单板会保持双主状态,很可能对器件造成永久性的损坏。3. In order to solve the impact of plugging and unplugging the standby board on the main board, some master and backup technologies adopt the master lock method. If a fault occurs, the active state will be locked. For example, the patent No. 01121975.0 is entitled "Active-standby circuit switching equipment and its method", which can ensure that the active-standby relationship will not be abnormal during the normal unplugging process. However, in If the boards are not tightly inserted, loose during work, or interference signals appear on the backboard, it is likely that both boards will enter the active state. Or reset the single board, the two single boards will maintain the dual-master state, which may cause permanent damage to the device.
4、为做到不出现异常的主备倒换,专利号为01130715.3名称为“主备倒换控制电路及实现方法”的专利中实现了一种通过串行命令接口方式进行主备状态控制的方法,实现上较复杂,且所有操作都需要通过软件控制,一旦主用单板软件出现故障,系统可能出现较长时间中断。专利号为98118143.0名称为“主备倒换装置”的专利中提出通过母板上设置的ID信号,决定主用、备用单板,但是,当某块单板出现故障时,无法自主控制由主用倒换成备用,同时另一块单板立刻由备用转成主用,会使得系统出现中断。4. In order to achieve master-standby switchover without abnormality, the patent No. 01130715.3 titled "master-standby switchover control circuit and implementation method" implements a method of master-standby state control through a serial command interface. The implementation is complicated, and all operations need to be controlled by software. Once the software of the main single board fails, the system may be interrupted for a long time. Patent No. 98118143.0 The patent titled "Active/Standby Switching Device" proposes to determine the active and standby boards through the ID signal set on the motherboard. However, when a single board fails, it cannot autonomously control the main board Switching to standby, and at the same time, another single board is immediately converted from standby to active, which will cause system interruption.
5、为提高系统可靠性,申请号为200310111916名称为“一种用于通信设备的主备倒换控制方法”的专利申请提出了备用单板复位主用单板或备用单板发起主备倒换的功能,但是对复位保护工作做得不够,可能在拔插单板或者受到干扰情况下,发生异常主备切换和主用单板复位的情况。5. In order to improve the reliability of the system, the patent application No. 200310111916 titled "A Master-Standby Switchover Control Method for Communication Equipment" proposes that the standby board resets the master board or the backup board initiates master-standby switchover function, but the reset protection work is not done enough, and abnormal active/standby switchover and active single board reset may occur when the board is unplugged or disturbed.
6、为实现可靠的主备切换,有的设计在背板上引入了非常多的主备互联信号,如:主备竞争信号,主备倒换信号,主备单板上电信号,主备故障信号,软件配置完成信号,看门狗溢出信号等。随着单板集成度的提高,背板走线资源显得越发珍贵,特别是采用主备机制的单板大都是处于控制、交换中心位置单板,这个问题显得更加突出,同时,过多的接口信号使得硬件的可靠性有所下降。6. In order to achieve reliable master-standby switching, some designs introduce a lot of master-standby interconnection signals on the backplane, such as: master-standby competition signal, master-standby switchover signal, master-standby board power-on signal, master-standby failure signal, software configuration complete signal, watchdog overflow signal, etc. With the improvement of board integration, backplane wiring resources are becoming more and more precious, especially the boards that adopt the active/standby mechanism are mostly in the control and switching centers, and this problem becomes more prominent. At the same time, too many interfaces Signals make hardware less reliable.
发明内容 Contents of the invention
本发明要解决的技术问题是提供一种占用少量背板互连信号,可靠实现主备切换的主备切换装置及使用该装置进行主备切换的方法。The technical problem to be solved by the present invention is to provide an active-standby switchover device which occupies a small amount of backplane interconnection signals and reliably realizes active-standby switchover and a method for using the device to perform active-standby switchover.
本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:
一种主备切换装置,包括背板和互为主备的第一单板和第二单板,所述第一单板上设有连有复位信号的可编程逻辑器件、中央处理器及外围电路,所述可编程逻辑器件与所述中央处理器通过本地总线双向通信,所述可编程逻辑器件的逻辑输入信号包括:A master-standby switching device, comprising a backplane and a first single board and a second single board which are mutually active and standby, the first single board is provided with a programmable logic device connected with a reset signal, a central processing unit and a peripheral A circuit, the programmable logic device and the central processing unit communicate bidirectionally through a local bus, and the logic input signal of the programmable logic device includes:
对板状态指示信号(MS_IN)和对板命令信号(CL_IN),用于判断本板及对板的在位情况;Board status indicator signal (MS_IN) and board command signal (CL_IN) are used to judge the status of the board and the board;
手动主备切换信号(MS_HAND)、单板硬件工作状态信号(SYS_DEF),均为所述外围电路的输出信号,作为所述可编程逻辑器件的输入信号;The manual master-standby switching signal (MS_HAND) and the single-board hardware working state signal (SYS_DEF) are output signals of the peripheral circuit, which are used as input signals of the programmable logic device;
中央处理器的硬件喂狗信号(CPU_WDI),为所述中央处理器的输出信号,作为所述可编程逻辑器件的输入信号,用于对中央处理器运行异常状态的保护;The hardware feeding dog signal (CPU_WDI) of central processing unit is the output signal of described central processing unit, as the input signal of described programmable logic device, is used for the protection of central processing unit operation abnormal state;
所述可编程逻辑器件的逻辑输出信号包括:The logic output signals of the programmable logic device include:
本板状态指示信号(MS_OUT),用于向对板指示本板状态;The board status indication signal (MS_OUT) is used to indicate the status of the board to the other board;
本板命令信号(CL_OUT),用于向对板发送命令或者作出应答;The command signal (CL_OUT) of this board is used to send commands or respond to the opposite board;
所述第二单板的结构、元器件、逻辑电路与所述第一单板完全相同;The structure, components, and logic circuits of the second single board are exactly the same as those of the first single board;
所述第一单板的可编程逻辑器件输出的本板状态指示信号(MS_OUT)及本板命令信号(CL_OUT)通过所述背板后分别作为所述第二单板的对板状态指示信号(MS_IN)及对板命令信号(CL_IN)输入所述第二单板的可编程逻辑器件;所述第二单板的可编程逻辑器件输出的本板状态指示信号(MS_OUT)及本板命令信号(CL_OUT)通过所述背板后分别作为所述第一单板的对板状态指示信号(MS_IN)及对板命令信号(CL_IN)输入所述第一单板的可编程逻辑器件。The board state indication signal (MS_OUT) and the board command signal (CL_OUT) output by the programmable logic device of the first single board are respectively used as the board-to-board status indication signal ( MS_IN) and board command signal (CL_IN) are input to the programmable logic device of the second single board; the board status indication signal (MS_OUT) and the board command signal ( CL_OUT) pass through the backplane and input to the programmable logic device of the first single board respectively as the board matching state indication signal (MS_IN) and the board matching command signal (CL_IN) of the first single board.
上述方案中,所述第一单板及第二单板的所述可编程逻辑器件包括主备状态命令检测模块、本板工作状态检测模块、中央处理器接口模块、主备状态命令存储模块、主备状态决策模块、输出接口模块及时钟模块;所述主备状态命令检测模块接收所述对板状态指示信号(MS_IN)和对板命令信号(CL_IN)判断本板及对板的在位情况、对板所处主备用状态及对板命令指示情况,其输出连接到所述主备状态决策模块;所述本板工作状态检测模块接收所述单板硬件工作状态信号(SYS_DEF)、手动主备切换信号(MS_HAND)、中央处理器的硬件喂狗信号(CPU_WDI)及复位信号,其输出连接到所述主备状态决策模块及主备状态命令存储模块;所述中央处理器接口模块通过本地总线与所述中央处理器双向通信,所述主备状态命令存储模块分别与所述中央处理器接口模块、主备状态决策模块、输出接口模块双向通信,所述主备状态决策模块的输出连接到所述输出接口模块,所述输出接口模块将所述本板状态指示信号(MS_OUT)和本板命令信号(CL_OUT)输出所述可编程逻辑器件。In the above solution, the programmable logic devices of the first single board and the second single board include an active/standby state command detection module, a board working state detection module, a central processing unit interface module, an active/standby state command storage module, The master-standby state decision-making module, the output interface module and the clock module; the master-standby state command detection module receives the board status indication signal (MS_IN) and the board command signal (CL_IN) to judge the presence of the board and the board 1. The active and standby state of the board and the indication of the board command, its output is connected to the main and standby state decision-making module; the said board working state detection module receives the single board hardware working state signal (SYS_DEF), manual mastering Standby switching signal (MS_HAND), the hardware feeding dog signal (CPU_WDI) of central processing unit and reset signal, its output is connected to described master-standby state decision-making module and master-standby state order storage module; Described central processing unit interface module passes local The bus communicates bidirectionally with the central processing unit, and the main-standby state command storage module communicates with the central processing unit interface module, the main-standby state decision-making module, and the output interface module respectively, and the output of the main-standby state decision-making module is connected to to the output interface module, and the output interface module outputs the local board status indication signal (MS_OUT) and local board command signal (CL_OUT) to the programmable logic device.
上述方案中,所述第一单板及第二单板的对板状态指示信号(MS_IN)和对板命令信号(CL_IN)在所述本板下拉,所述第一单板及第二单板的本板状态指示信号(MS_OUT)和本板命令信号(CL_OUT)在所述背板上拉,使得所述第一单板及第二单板的本板状态指示信号(MS_OUT)和本板命令信号(CL_OUT)没有输出时,所述第一单板及第二单板的对板状态指示信号(MS_IN)和对板命令信号(CL_IN)的输出为高电平。In the above scheme, the board-to-board status indication signal (MS_IN) and the board-to-board command signal (CL_IN) of the first single board and the second single board are pulled down by the board, and the first single board and the second single board The board status indication signal (MS_OUT) and the board command signal (CL_OUT) of the board are pulled on the backboard, so that the board status indication signal (MS_OUT) and the board command signal of the first single board and the second board are When the signal (CL_OUT) is not output, the outputs of the board alignment status indication signal (MS_IN) and the board alignment command signal (CL_IN) of the first board and the second board are at high level.
一种使用上述的主备切换装置进行主备切换的方法,所述第一单板及第二单板上电复位并确定主备用状态后,主板接收到切换命令发起切换时,所述主备切换包括步骤4.1、4.2、4.3和4.4;其中,A method for performing master-standby switchover using the above-mentioned master-standby switchover device, after the first single board and the second single board are powered on and reset and determine the master-standby state, when the main board receives a switchover command to initiate the switchover, the master-standby Switching includes steps 4.1, 4.2, 4.3 and 4.4; where,
所述第一单板及第二单板上电复位为通过单板上电复位流程实现的,所述单板上电复位流程包括:The power-on reset of the first single board and the second single board is realized through the power-on reset process of the single board, and the power-on reset process of the single board includes:
6.1单板上电复位后在预设时间内保持离线锁定状态;6.1 After the board is powered on and reset, it will remain offline and locked within the preset time;
6.2所述单板通过所述对板状态指示信号(MS_IN)和对板命令信号(CL_IN)判断本板是否在位,若在位,则根据板位定制延时,否则,回到步骤6.1;6.2 The single board judges whether the board is in place through the board-to-board status indication signal (MS_IN) and the board-to-board command signal (CL_IN), if it is in place, then customize the delay according to the board position, otherwise, return to step 6.1;
6.3经过所述延时后,判断所述单板是否处于离线锁定状态,若所述单板已处于非离线锁定状态,则所述单板确定其主备用状态并且所述单板的本板状态指示信号(MS_OUT)及本板命令信号(CL_OUT)发送相应信号,否则,所述单板继续保持离线锁定状态并重复步骤6.3;6.3 After the delay, determine whether the board is in the offline locked state, if the board is not in the offline locked state, then determine the main and standby status of the board and the board status of the board The indication signal (MS_OUT) and the board command signal (CL_OUT) send corresponding signals, otherwise, the single board continues to maintain the offline locking state and repeat step 6.3;
所述步骤4.1包括:判断备板是否在位,若不存在,结束主备切换流程并进行主备用状态的确定,否则,进入步骤4.2;所述判断备板是否在位是通过单板在位判定规则,所述单板在位判定规则包括:The step 4.1 includes: judging whether the standby board is in place, if not, ending the master-standby switching process and determining the master-standby state, otherwise, entering step 4.2; the judgment of whether the slave board is in place is through the presence of a single board Judgment rules, the board in-position judgment rules include:
对板在位的判定规则为:The rules for judging the presence of boards are as follows:
本板为主用状态时,所述本板的对板状态指示信号(MS_IN)为等于或高于预设频率的信号;When the board is in the active state, the board-to-board status indication signal (MS_IN) of the board is a signal equal to or higher than the preset frequency;
本板为备用状态时,所述本板的对板状态指示信号(MS_IN)及对板命令信号(CL_IN)均为等于或高于预设频率的信号;When the board is in the standby state, the board-to-board status indication signal (MS_IN) and the board-to-board command signal (CL_IN) of the board are both signals equal to or higher than the preset frequency;
本板在位的判定规则为:The rules for judging the presence of this board are as follows:
对板在位或者所述本板的对板状态指示信号(MS_IN)及对板命令信号(CL_IN)均为高电平;The board is in place or the board status indication signal (MS_IN) and the board command signal (CL_IN) of the board are high level;
其中,所述主备用状态的确定通过主备用状态确定流程进行,所述主备用状态确定流程根据板在位的判断结果作相应的处理:Wherein, the determination of the main standby state is carried out through the main standby state determination process, and the main standby state determination process performs corresponding processing according to the judgment result of the board presence:
本板不在位时:在预设的大于本板的对板状态指示信号(MS_IN)的判断时间的定时时段内将本板锁定为离线状态,所述定时时段结束后,重新查询本板的在位情况;When the board is not in place: lock the board as an offline state within a preset timing period that is greater than the judgment time of the board status indication signal (MS_IN) of the board. After the timing period ends, re-query the status of the board. bit situation;
本板在位,对板不在位时:将本板设置为主用状态,本板输出相应的本板状态指示信号(MS_OUT)及本板命令信号(CL_OUT);When the board is in place and the opposite board is not in place: set the board as the main state, and the board outputs the corresponding board status indication signal (MS_OUT) and the board command signal (CL_OUT);
本板在位,对板在位时:根据本板的对板状态指示信号(MS_IN)确定对板的状态,若所述对板为主用状态,则本板为备用状态,否则,将本板置为主用状态;When the board is in place and the opposite board is in place: determine the state of the opposite board according to the state indication signal (MS_IN) of the current board. The board is set to the active state;
所述步骤4.2包括:所述主板通过所述主板的对板状态指示信号(MS_IN)判断对板是否为备用且工作正常状态,若为异常工作状态,结束主备切换流程并进入对板异常状态处理流程,否则,进入步骤4.3;The step 4.2 includes: the main board judges whether the pairing board is standby and working normally through the pairing board status indication signal (MS_IN) of the main board, and if it is in an abnormal working state, ends the master-standby switching process and enters the pairing board abnormal state Processing flow, otherwise, go to step 4.3;
所述步骤4.3包括:所述主板通过所述主板的本板命令信号(CL_OUT)发出主备切换准备命令,备板通过所述备板的对板命令信号(CL_IN)收到所述主备切换准备命令,进行主备切换的准备后,将所述备板的本板状态指示信号(MS_OUT)置为备用且准备好切换状态;The step 4.3 includes: the main board sends a master-standby switching preparation command through the board command signal (CL_OUT) of the main board, and the backup board receives the master-standby switchover through the board-to-board command signal (CL_IN) of the backup board Prepare command, after carrying out the preparation of main-standby switching, set the local board state indicating signal (MS_OUT) of described standby board as standby and get ready to switch state;
所述主板等待所述主板的对板状态指示信号(MS_IN)转为备用且准备好切换状态后进入步骤4.4;The main board waits for the board-to-board status indication signal (MS_IN) of the main board to be turned into a standby and ready to switch state and enter step 4.4;
所述步骤4.4包括:所述主板通过所述主板的本板命令信号(CL_OUT)发出主备切换命令,所述备板通过所述备板的对板命令信号(CL_IN)收到所述主备切换命令后,将所述备板的本板状态指示信号(MS_OUT)置为主用状态,所述主板继而从主用状态切换到备用状态。The step 4.4 includes: the main board sends an active-standby switching command through the main board command signal (CL_OUT) of the main board, and the standby board receives the active-standby switching command through the board-to-board command signal (CL_IN) of the standby board. After the switching command, the board status indication signal (MS_OUT) of the backup board is set to the active state, and the main board then switches from the active state to the standby state.
上述方案中,所述对板异常状态处理流程为主板流程,包括:In the above scheme, the process for processing the abnormal state of the board is the main board process, including:
8.1上告报警后,通过所述主板的本板命令信号(CL_OUT)发出复位对板信号;8.1 After the alarm is reported, a reset board signal is sent through the board command signal (CL_OUT) of the main board;
8.1判断对板是否在位,若在位,所述主板的本板命令信号(CL_OUT)继续发送所述复位对板信号,否则,所述主板的本板命令信号(CL_OUT)停止发送复位对板信号。8.1 Determine whether the board is in place, if it is in place, the board command signal (CL_OUT) of the main board continues to send the reset board signal, otherwise, the board command signal (CL_OUT) of the main board stops sending the reset board signal Signal.
上述方案中,所述对板异常状态处理流程为备板流程,包括:In the above solution, the abnormal state processing process of the board is the backup board process, including:
9.1上告报警后,所述备板根据指示或者预设模式,决定是否复位对板;9.1 After the alarm is reported, the standby board decides whether to reset the alignment board according to the instruction or the preset mode;
9.2若不复位对板,则结束所述对板异常状态处理流程,否则使能所述备板输出,将所述备板的本板状态指示信号(MS_OUT)置为主用,同时通过所述备板的本板命令信号(CL_OUT)发出复位对板信号;9.2 If the pairing board is not reset, end the abnormal state processing flow of the pairing board, otherwise enable the output of the backup board, set the status indication signal (MS_OUT) of the backup board as the main board, and pass the The board command signal (CL_OUT) of the standby board sends a reset board signal;
9.3判断对板是否在位,若在位,所述备板的本板命令信号(CL_OUT)继续发送所述复位对板信号,否则,所述备板的本板命令信号(CL_OUT)停止发送复位对板信号。9.3 Determine whether the opposite board is in place, if it is in place, the command signal (CL_OUT) of the standby board continues to send the reset signal to the board, otherwise, the command signal (CL_OUT) of the standby board stops sending reset board signal.
上述方案中,若所述主板或备板的单板硬件工作状态信号(SYS_DEF)、中央处理器的硬件喂狗信号(CPU_WDI)为异常状态,所述主板或备板进入本板异常状态处理流程;其中,In the above scheme, if the single-board hardware working status signal (SYS_DEF) of the main board or the backup board and the hardware feeding dog signal (CPU_WDI) of the central processing unit are in an abnormal state, the main board or the backup board enters the abnormal state processing flow of the board ;in,
主板为本板时,本板异常状态处理流程包括以下步骤:When the main board is the main board, the processing flow of the abnormal status of the main board includes the following steps:
10.1.1上告报警后,所述本板的本板状态指示信号(MS_OUT)置为主用且工作异常状态;10.1.1 After the alarm is reported, the board status indication signal (MS_OUT) of the said board is set to be active and the work is abnormal;
10.1.2判断对板是否在位且工作正常,若对板在位且工作正常,则所述本板发出主备切换命令,否则,回到步骤10.1.1;10.1.2 Determine whether the opposite board is in place and works normally, if the opposite board is in place and works normally, then the said board sends the master/standby switching command, otherwise, return to step 10.1.1;
备板为本板时,本板异常状态处理流程包括以下步骤:When the standby board is the main board, the process of handling the abnormal state of the main board includes the following steps:
10.2.1上告报警后,所述本板的本板状态指示信号(MS_OUT)置为备用且工作异常状态;10.2.1 After the alarm is reported, the board status indication signal (MS_OUT) of the said board is set to standby and works abnormally;
10.2.2根据预设模式决定是否复位本板或将本板置于离线状态。10.2.2 Decide whether to reset the board or put the board offline according to the preset mode.
无论本板为主用或者备用,当中央处理器的硬件喂狗信号(CPU_WDI)异常,则直接复位本板。Regardless of whether the board is active or standby, when the hardware feed dog signal (CPU_WDI) of the central processing unit is abnormal, the board will be reset directly.
本发明提供的技术方案的有益效果主要表现以下几个方面:The beneficial effects of the technical solution provided by the invention mainly show the following aspects:
1、主备单板之间互通的信息非常充分:包括对板主备状态、对板在位状态、对板工作状态等,为向对板发出操作命令提供可靠参考依据;1. The intercommunication information between the active and standby boards is very sufficient: including the active and standby status of the opposite board, the in-position status of the opposite board, the working state of the opposite board, etc., providing a reliable reference for issuing operation commands to the opposite board;
2、对本板内部信息严格监控,包括本板在位状态、本板主备状态、本板工作状态等,为决定本板主备工作方式提供可靠参考依据;2. Strictly monitor the internal information of the board, including the on-site status of the board, the main and standby status of the board, the working status of the board, etc., to provide a reliable reference for determining the main and backup working mode of the board;
3、所有的本板和对板状态信息,都可以进行交互,提供可靠且灵活多变的控制策略;3. All the status information of the local board and the opposite board can be interacted to provide reliable and flexible control strategies;
4、背板主备互联信号非常简单,仅需要两对即可完成所有的状态和命令交互功能;4. The main and standby interconnection signals on the backplane are very simple, and only two pairs are needed to complete all status and command interaction functions;
5、将硬件自主控制和软件强制控制相结合,提供稳定可靠的主备切换和故障保护方法;5. Combining hardware autonomous control and software mandatory control, providing a stable and reliable master/standby switching and fault protection method;
6、可编程逻辑器件和软件配合,具有设计灵活、适应性强、易于升级等特点。6. Cooperating with programmable logic devices and software, it has the characteristics of flexible design, strong adaptability, and easy upgrade.
附图说明 Description of drawings
图1为本发明所述主备切换装置的结构示意图;Fig. 1 is a schematic structural view of the master-standby switching device of the present invention;
图2为本发明所述主备切换装置中可编程逻辑器件的结构示意图;Fig. 2 is a schematic structural diagram of a programmable logic device in an active/standby switching device according to the present invention;
图3为本发明使用所述主备切换装置进行主备切换的方法流程图。Fig. 3 is a flow chart of the method for performing master-standby switchover using the master-standby switchover device according to the present invention.
具体实施方式 Detailed ways
下面结合附图对本发明作进一步的描述。The present invention will be further described below in conjunction with the accompanying drawings.
参照图1,一种主备切换装置,包括背板115和互为主备的第一单板114和第二单板119,第一单板114上设有连有RESET(复位)信号的PLD(Programable Logic Device,可编程逻辑器件)112、CPU(Central Processing Unit,中央处理器)111及外围电路113,PLD112与CPU111通过Local Bus(本地总线)双向通信,PLD112的逻辑输入信号包括:With reference to Fig. 1, a kind of main-standby switching device comprises
对板状态指示信号MS_IN和对板命令信号CL_IN,用于判断本板及对板的在位情况;The board status indicator signal MS_IN and the board command signal CL_IN are used to judge the status of the board and the board;
手动主备切换信号MS_HAND、单板硬件工作状态信号SYS_DEF,均为外围电路的输出信号,作为PLD112的输入信号,SYS_DEF为主要芯片的电压、时钟、温度等指标进行检测收集后合成的状态指示信号;The manual master/standby switching signal MS_HAND and the single-board hardware working status signal SYS_DEF are the output signals of the peripheral circuit, which are used as the input signal of the PLD112. SYS_DEF is the status indication signal synthesized after detection and collection of the main chip voltage, clock, temperature and other indicators. ;
CPU的硬件喂狗信号CPU_WDI,为CPU的输出喂狗信号,作为PLD112的输入信号,用于对本板CPU异常状态的保护,当检测到该信号超过一段时间没有发生跳变时,即CPU出现异常时,直接复位本板;其与硬件看门狗一起工作,实现系统可靠性的双重保护,同时不会增加系统的负担;The CPU’s hardware feed dog signal CPU_WDI is the output feed dog signal of the CPU, which is used as the input signal of the PLD112 to protect the abnormal state of the CPU on this board. , directly reset the board; it works together with the hardware watchdog to achieve double protection of system reliability without increasing the burden on the system;
PLD112的逻辑输出信号包括:The logic output signals of PLD112 include:
本板状态指示信号MS_OUT,用于向对板指示本板状态,MS_OUT共有5种状态指示:主用且工作正常状态,主用且工作异常状态、备用且工作正常状态,备用且准备好切换状态,备用且工作异常状态;MS_OUT采用一组不同频率的信号来表示单板所处的不同状态,选用的频率越高,系统的响应速度也就越快,但是过高的频率可能会干扰其它信号,可以根据具体情况进行选取;The status indication signal MS_OUT of this board is used to indicate the status of the board to the other board. MS_OUT has 5 status indications: main and working normally, main and working abnormally, standby and working normally, standby and ready to switch , standby and working abnormally; MS_OUT uses a group of signals of different frequencies to indicate the different states of the board. The higher the frequency selected, the faster the system response speed, but too high a frequency may interfere with other signals , can be selected according to specific circumstances;
本板命令信号CL_OUT,用于向对板发送命令或者作出应答;一般情况下,只由主板的CL_OUT用于向备板发送各种命令,如复位、倒换等,备板则不断监测与之对应的CL_IN,并做出相应操作,备板的CL_OUT在必要时输出低电平脉冲,作为应答;和MS_OUT信号一样,CL_OUT信号也是用一组不同频率的信号代表不同命令,该组频率可以和MS_OUT相同;CL_OUT共有4种状态:主备切换准备命令、主备切换命令、对板复位命令、空闲。当备板收到主备切换命令后,切换成主用状态,并在CL_OUT输出低电平脉冲;主板在进入主备切换状态后,收到CL_IN的下降沿时,将本板置为备用状态;The command signal CL_OUT of this board is used to send commands or respond to the opposite board; under normal circumstances, only the CL_OUT of the main board is used to send various commands to the backup board, such as reset, switching, etc., and the backup board will continuously monitor the corresponding The CL_IN of the standby board, and make corresponding operations, the CL_OUT of the standby board outputs a low-level pulse as a response when necessary; like the MS_OUT signal, the CL_OUT signal also uses a group of signals with different frequencies to represent different commands, and the frequency of this group can be the same as that of MS_OUT The same; CL_OUT has 4 states: active/standby switchover preparation command, active/standby switchover command, board reset command, and idle. When the standby board receives the master-standby switching command, it switches to the active state and outputs a low-level pulse on CL_OUT; after the main board enters the active-standby switching state and receives the falling edge of CL_IN, it sets the board to the standby state ;
第二单板119的结构、元器件、逻辑电路与第一单板114完全相同;The structure, components and logic circuits of the
第一单板114的PLD112输出的MS_OUT及CL_OUT通过背板115后分别作为第二单板119的MS_IN及CL_IN输入第二单板119的PLD117;第二单板119的PLD117输出的MS_OUT及CL_OUT通过背板115后分别作为第一单板114的MS_IN及CL_IN输入第一单板114的PLD112;其中,第一单板114及第二单板119的MS_IN和CL_IN在本板下拉,第一单板114及第二单板119的MS_OUT和CL_OUT在背板115上拉,使得第一单板114及第二单板119的MS_OUT和CL_OUT没有输出时,第一单板114及第二单板119的MS_IN和CL_IN的输出为高电平。MS_IN和CL_IN在本板下拉的好处在于:无论是背板插针未接触好,还是硬件问题导致MS_IN或CL_IN输入管脚浮空,MS_IN和CL_IN在背板下拉都会使单板处于离线锁定状态。The MS_OUT and CL_OUT output by the PLD112 of the first
PLD112及PLD117的结构如图2所示,分别包括主备状态命令检测模块202、本板工作状态检测模块203、CPU接口模块204、主备状态命令存储模块205、主备状态决策模块206、输出接口模块207及时钟模块201;主备状态命令检测模块202接收MS_IN和CL_IN判断本板及对板的在位情况、对板所处主备用状态及对板命令指示情况,其输出连接到主备状态决策模块206;本板工作状态检测模块203接收SYS_DEF、MS_HAND、CPU_WDI及RESET信号,其输出连接到主备状态决策模块206及主备状态命令存储模块205;CPU接口模块204通过Local Bus与CPU双向通信,主备状态命令存储模块205分别与CPU接口模块204、主备状态决策模块206、输出接口模块207双向通信,主备状态决策模块206的输出连接到输出接口模块207,输出接口模块207将MS_OUT和CL_OUT输出该PLD;其中,The structure of PLD112 and PLD117 is as shown in Figure 2, respectively comprises main-standby state command detection module 202, this board working state detection module 203, CPU interface module 204, main-standby state command storage module 205, main-standby state decision-making module 206, output Interface module 207 and clock module 201; master-standby state command detection module 202 receives MS_IN and CL_IN to judge the presence of this board and the opposite board, the master-standby state of the opposite board and the command indication of the opposite board, and its output is connected to the master-standby State decision-making module 206; This board working state detection module 203 receives SYS_DEF, MS_HAND, CPU_WDI and RESET signal, and its output is connected to master-standby state decision-making module 206 and master-standby state command storage module 205; CPU interface module 204 communicates with CPU through Local Bus Two-way communication, the master-standby state command storage module 205 communicates with the CPU interface module 204, the master-standby state decision-making module 206, and the output interface module 207 respectively, and the output of the master-standby state decision-making module 206 is connected to the output interface module 207, and the output interface module 207 Output MS_OUT and CL_OUT to the PLD; where,
时钟模块201:产生提供其它模块所需的时钟、定时器信号;Clock module 201: generate clock and timer signals required by other modules;
主备状态命令检测模块202有三个功能:The active/standby state
a、根据MS_IN判断对板所处的主备用情况;a. According to MS_IN, judge the active and standby status of the paired board;
b、根据MS_IN和CL_IN共同判断本板和对板的在位情况;b. According to MS_IN and CL_IN, jointly judge the presence of the board and the opposite board;
c、监测来自对板的命令情况。c. Monitor the order from the board.
本板工作状态检测模块203有两个功能:The working
a、接收本板故障检测信号、主备倒换信号、复位信号,进行必要的滤波,防止瞬态干扰或者误报造成误操作;a. Receive the fault detection signal of the board, the active/standby switching signal, and the reset signal, and perform necessary filtering to prevent misoperation caused by transient interference or false alarm;
b、对CPU_WDI信号是否超时未到进行判断,用于系统保护;b. Judging whether the CPU_WDI signal has timed out or not, which is used for system protection;
CPU接口模块204有两个功能:The
a、用于接收软件命令字,如果是发送给主备倒换装置的,并且符合预设格式,则将命令字写入主备状态命令寄存器;a. It is used to receive the software command word. If it is sent to the master-standby switching device and conforms to the preset format, the command word is written into the master-standby status command register;
b、查询当前本板和对板的状态;b. Query the status of the current board and the board;
主备状态命令存储模块205有3个功能:The master/standby status
a、存放软件命令字;a. Store software command words;
b、存放软件的运行状态;b. Store the running status of the software;
c、存放本板和对板状态信息;c. Store the status information of the board and the board;
主备状态决策模块206:根据本板、对板状态信息,本板命令、对板命令,决定本板的主备状态信息和命令信息;Active/standby state decision module 206: determine the active/standby state information and command information of the own board according to the state information of the own board and the paired board, the command of the own board, and the command of the paired board;
输出接口模块207:将本板的主备状态信息和命令信息转换成预设的特定波形。Output interface module 207: convert the main/standby status information and command information of this board into preset specific waveforms.
使用上述主备切换装置的过程中,如果需要拔插主板,必须先通过手动或者后台操作的方式,将主板切换成备用状态再拔出;备板在插拔过程中,被锁定为离线状态以避免备板抢主问题的产生。In the process of using the above-mentioned active/standby switching device, if the mainboard needs to be plugged in, the mainboard must be switched to the standby state through manual or background operation before pulling out; the standby board is locked in the offline state during the plugging process Avoid the occurrence of the problem of standby board grabbing the master.
参照图3,使用上述的主备切换装置进行主备切换的方法,第一单板114及第二单板119上电复位并确定主备用状态后,主板接收到切换命令发起切换时,主备切换包括以下步骤:With reference to Fig. 3, use above-mentioned master-standby switching device to carry out the method for master-standby switchover, after the
步骤一:判断备板是否在位,若不存在,结束主备切换流程并进行主备用状态的确定,否则,进入步骤二;Step 1: Determine whether the standby board is in place, if not, end the master-standby switching process and determine the master-standby status, otherwise, go to step 2;
步骤二:该主板通过它的MS_IN判断对板是否为备用且工作正常状态,若为异常工作状态,结束主备切换流程并进入对板异常状态处理流程,否则,进入步骤三;Step 2: The motherboard judges through its MS_IN whether the opposite board is in standby and working normally. If it is in an abnormal working state, end the master-standby switching process and enter the abnormal state processing process of the opposite board. Otherwise, enter step 3;
步骤三:该主板通过它的CL_OUT发出主备切换准备命令,备板通过它的CL_IN收到主备切换准备命令,进行主备切换的准备后,将它的MS_OUT置为备用且准备好切换状态;该主板等待它的MS_IN转为备用且准备好切换状态后进入步骤四;Step 3: The main board sends the master-standby switchover preparation command through its CL_OUT, and the standby board receives the master-standby switchover preparation command through its CL_IN, and after preparing for the master-standby switchover, sets its MS_OUT to standby and is ready for the switchover state ;The main board waits for its MS_IN to turn to standby and is ready to switch to step 4;
步骤四:该主板通过它的CL_OUT发出主备切换命令,备板通过它的CL_IN收到主备切换命令后,将它的MS_OUT置为主用状态,使能所有输出,同时在它的CL_OUT上发送一个低脉冲,该主板用来自备板的CL_IN从高到低的跳变,从主用状态切换到备用状态。Step 4: The main board sends the active/standby switching command through its CL_OUT, and after receiving the active/standby switching command through its CL_IN, the standby board sets its MS_OUT to the active state, enables all outputs, and at the same time switches on its CL_OUT Send a low pulse, the main board uses the CL_IN of the standby board to jump from high to low, and switch from the active state to the standby state.
上述方法中,判断单板是否在位是通过板在位判定规则,单板在位判定规则包括:In the above method, judging whether the board is in place is based on board presence judgment rules, and the board presence judgment rules include:
对板在位的判定规则为:The rules for judging the presence of boards are as follows:
本板为主用状态时,本板的MS_IN为等于或高于预设频率的信号;When the board is in the active state, the MS_IN of the board is a signal equal to or higher than the preset frequency;
本板为备用状态时,本板的MS_IN及CL_IN均为等于或高于预设频率的信号;When the board is in the standby state, the MS_IN and CL_IN of the board are signals equal to or higher than the preset frequency;
本板在位的判定规则为:The rules for judging the presence of this board are as follows:
对板在位或者本板的MS_IN及CL_IN均为高电平。The opposite board is in position or the MS_IN and CL_IN of this board are both high.
而第一单板114及第二单板119的上电复位主备状态确定为通过单板上电复位流程实现的,单板上电复位流程包括:The power-on reset master/standby status of the first
1、单板上电复位后在预设时间内保持离线锁定状态;1. After the board is powered on and reset, it will remain in the offline locked state within the preset time;
2、该单板通过MS_IN和CL_IN判断本板是否在位,若在位,则根据板位定制延时,否则,回到上一步;2. The board judges whether the board is in place through MS_IN and CL_IN. If it is in place, customize the delay according to the board position, otherwise, return to the previous step;
3、经过所述延时后,判断该单板是否处于离线锁定状态,若单板已处于非离线锁定状态,则该单板确定其主备用状态并且单板的MS_OUT及CL_OUT发送相应信号,否则,该单板继续保持离线锁定状态并重复本步骤。3. After the delay, determine whether the board is in the offline locked state. If the board is not in the offline locked state, then the board determines its active and standby status and the MS_OUT and CL_OUT of the board send corresponding signals, otherwise , the board remains locked offline and repeats this step.
根据系统特性设定所述预设时间,该时间内单板应完成与插座可靠接触并电气性能上达到稳定工作状态;为确保两单板同时上电时不出现主备异常竞争冲突,单板根据所在槽位信息,设置不同的上电到允许主备竞争等待延时。Set the preset time according to the system characteristics. Within this time, the single board should be in reliable contact with the socket and reach a stable working state in terms of electrical performance; According to the slot information, set different power-on to allow master and backup competition waiting delays.
确定第一单板114及第二单板119的主备用状态需通过主备用状态确定流程,主备用状态确定流程根据板在位的判断结果作相应的处理:Determining the primary and standby states of the
本板不在位时:在预设的大于本板的MS_IN的判断时间的定时时段内将本板锁定为离线状态,定时时段结束后,重新查询本板的在位情况;When the board is not in place: lock the board as offline within the preset timing period that is greater than the judgment time of the board's MS_IN, and re-query the board's presence status after the timing period ends;
本板在位,对板不在位时:将本板设置为主用状态,本板输出相应的MS_OUT及CL_OUT;When the board is in place and the opposite board is not: set the board as the main state, and the board outputs the corresponding MS_OUT and CL_OUT;
本板在位,对板在位时:根据本板的MS_IN确定对板的状态,对板为主用状态,则本板为备用状态,否则,将本板置为主用状态。When the own board is in place and the opposite board is in place: determine the state of the opposite board according to the MS_IN of the current board.
对板异常状态处理流程包括主板流程和备板流程两种情况;The abnormal state processing process of the board includes two cases: the main board process and the standby board process;
主板流程包括:The motherboard process includes:
1、上告报警后,通过该主板的CL_OUT发出复位对板信号;1. After the alarm is reported, send a reset signal to the board through the CL_OUT of the main board;
2、判断对板是否在位,若在位,该主板的CL_OUT继续发送复位对板信号,否则,该主板的CL_OUT停止发送复位对板信号;2. Determine whether the board is in place. If it is in place, the CL_OUT of the main board will continue to send the reset board signal, otherwise, the CL_OUT of the board will stop sending the reset board signal;
备板流程包括:The backup process includes:
1、上告报警后,该备板根据指示或者预设模式,决定是否复位对板;1. After the alarm is reported, the standby board decides whether to reset the alignment board according to the instructions or the preset mode;
2、若不复位对板,则结束对板异常状态处理流程,否则使能该备板输出,将该备板的MS_OUT置为主用,同时通过它的CL_OUT发出复位对板信号;2. If the alignment board is not reset, the abnormal state processing flow of the alignment board is ended, otherwise, the output of the standby board is enabled, the MS_OUT of the standby board is set as the master, and the reset alignment signal is sent through its CL_OUT;
3、判断对板是否在位,若在位,该备板的CL_OUT继续发送复位对板信号,否则,该备板的CL_OUT停止发送复位对板信号。3. Determine whether the paired board is in place. If yes, the CL_OUT of the standby board continues to send the reset boarding signal, otherwise, the CL_OUT of the standby board stops sending the reset boarding signal.
若主板或备板的SYS_DEF、CPU_WDI为异常状态,则该主板或备板进入本板异常状态处理流程;其中,If the SYS_DEF and CPU_WDI of the main board or the standby board are in the abnormal state, the main board or the standby board enters the process of processing the abnormal state of the board; among them,
主板为本板时,本板异常状态处理流程包括以下步骤:When the main board is the main board, the processing flow of the abnormal status of the main board includes the following steps:
1、上告报警后,该本板的MS_OUT置为主用且工作异常状态;1. After the alarm is reported, the MS_OUT of this board is set as the master and works abnormally;
2、判断对板是否在位且工作正常,若对板在位且工作正常,则该本板发出主备切换命令,否则,回到步上一步;2. Determine whether the opposite board is in place and works normally. If the opposite board is in place and works normally, the board will send the master/standby switching command, otherwise, return to the previous step;
备板为本板时,本板异常状态处理流程包括以下步骤:When the standby board is the main board, the process of handling the abnormal state of the main board includes the following steps:
1、上告报警后,该本板的MS_OUT置为备用且工作异常状态;1. After the alarm is reported, the MS_OUT of this board is set to standby and works abnormally;
2、根据预设模式决定是否复位本板或将本板置于离线状态。2. Decide whether to reset the board or put the board offline according to the preset mode.
无论本板为主用或者备用,当中央处理器的硬件喂狗信号(CPU_WDI)异常,则直接复位本板。Regardless of whether the board is active or standby, when the hardware feed dog signal (CPU_WDI) of the central processing unit is abnormal, the board will be reset directly.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2007100766646A CN101378267B (en) | 2007-08-31 | 2007-08-31 | Primary and secondary switching device, and switching method using the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2007100766646A CN101378267B (en) | 2007-08-31 | 2007-08-31 | Primary and secondary switching device, and switching method using the same |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101378267A CN101378267A (en) | 2009-03-04 |
| CN101378267B true CN101378267B (en) | 2011-12-28 |
Family
ID=40421636
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007100766646A Expired - Fee Related CN101378267B (en) | 2007-08-31 | 2007-08-31 | Primary and secondary switching device, and switching method using the same |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101378267B (en) |
Families Citing this family (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101662324B (en) * | 2009-09-24 | 2012-12-19 | 中兴通讯股份有限公司 | Method and device for protecting veneer |
| CN101876962B (en) * | 2009-12-15 | 2013-04-10 | 龙芯中科技术有限公司 | Method and device for controlling hot plug of master/slave board |
| CN102724013B (en) * | 2012-07-11 | 2014-10-29 | 烽火通信科技股份有限公司 | Method for switching master and slave redundancy protection of master control system of optical transmission equipment |
| CN102820973A (en) * | 2012-07-20 | 2012-12-12 | 福建星网锐捷网络有限公司 | Management boards, modularized equipment with double management boards, and electing method of master control board |
| CN104182006A (en) * | 2014-08-21 | 2014-12-03 | 浪潮电子信息产业股份有限公司 | Hard disk backboard designing method supporting redundancy of dual controllers |
| CN104468210B (en) * | 2014-12-01 | 2017-11-21 | 国家计算机网络与信息安全管理中心 | A kind of quick master-slave swap control method |
| JP6570428B2 (en) * | 2015-11-09 | 2019-09-04 | セイコーエプソン株式会社 | Physical quantity detection device, electronic device and moving object |
| CN107515601A (en) * | 2017-09-22 | 2017-12-26 | 北京腾凌科技有限公司 | Control device and method |
| CN107807630B (en) * | 2017-11-29 | 2020-06-16 | 瑞斯康达科技发展股份有限公司 | Switching control method of main and standby equipment, switching control system and device thereof |
| CN110162430B (en) * | 2018-02-13 | 2021-11-09 | 华为技术有限公司 | Temperature self-adaption method, device and equipment |
| CN108462529B (en) * | 2018-04-27 | 2023-12-19 | 上海欣诺通信技术股份有限公司 | Main and standby board card switching method, optical transmission network equipment and storage medium |
| CN110837443A (en) * | 2018-08-16 | 2020-02-25 | 佛山市顺德区顺达电脑厂有限公司 | Backup method and backup system |
| CN109164787A (en) * | 2018-08-31 | 2019-01-08 | 杭州和利时自动化有限公司 | A kind of analog signals acquisition device |
| CN111224799B (en) * | 2018-11-23 | 2022-10-25 | 中兴通讯股份有限公司 | Single board master/slave control method, device, equipment and readable storage medium |
| CN112751753A (en) * | 2019-10-31 | 2021-05-04 | 中兴通讯股份有限公司 | Method and communication equipment for protecting main/standby states of single board |
| CN111082511B (en) * | 2019-12-31 | 2023-07-21 | 深圳市核达中远通电源技术股份有限公司 | Main and standby automatic competition and quick switching power supply structure and implementation method |
| CN111262735B (en) * | 2020-01-15 | 2023-04-07 | Ut斯达康通讯有限公司 | Network management switching device and method |
| CN111427259B (en) * | 2020-03-30 | 2023-05-30 | 深圳震有科技股份有限公司 | Main and standby switching method of machine frame slot type, intelligent equipment and storage medium |
| CN115145198A (en) * | 2022-06-30 | 2022-10-04 | 中国铁道科学研究院集团有限公司 | Traction system redundancy control method and device and readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1494228A (en) * | 2002-11-02 | 2004-05-05 | 华为技术有限公司 | A method and circuit for realizing active/standby switchover of single board |
| CN2624529Y (en) * | 2002-11-09 | 2004-07-07 | 深圳市中兴通讯股份有限公司 | Main and spare circuit board switching unit |
-
2007
- 2007-08-31 CN CN2007100766646A patent/CN101378267B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1494228A (en) * | 2002-11-02 | 2004-05-05 | 华为技术有限公司 | A method and circuit for realizing active/standby switchover of single board |
| CN2624529Y (en) * | 2002-11-09 | 2004-07-07 | 深圳市中兴通讯股份有限公司 | Main and spare circuit board switching unit |
Non-Patent Citations (1)
| Title |
|---|
| 施世华等.高可靠性通信设备的主备倒换设计.《电子科技》.2007,(第7期),第47-50页. * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101378267A (en) | 2009-03-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101378267B (en) | Primary and secondary switching device, and switching method using the same | |
| CN110351174B (en) | Module redundancy safety computer platform | |
| US6845467B1 (en) | System and method of operation of dual redundant controllers | |
| CN201909961U (en) | Redundancy control system | |
| CN101271332B (en) | Compact integrated redundancy controller and control method thereof | |
| JPS6344799A (en) | Method and apparatus for inserting and taking out circuit module | |
| CN110995478B (en) | Method for implementing redundant backup of board card in OpenVPX equipment | |
| CN103428114A (en) | ATCA (advanced telecom computing architecture) 10-gigabit switching board and system | |
| CN101232357B (en) | Apparatus and method for realizing main and spare plate card rearrange | |
| CN120353303B (en) | Management system of server and server | |
| CN104917700A (en) | Management unit and exchange unit dual-redundancy switch | |
| CN101291201A (en) | Heart beat information transmission system and method | |
| CN100459447C (en) | Method for realizing master and spare conversion of distributing connection equipment | |
| US6795933B2 (en) | Network interface with fail-over mechanism | |
| CN101131570B (en) | Redundancy switch-over control method and control circuit thereof | |
| US6715019B1 (en) | Bus reset management by a primary controller card of multiple controller cards | |
| WO2020048174A1 (en) | Fault diagnosis system and server | |
| CN201130309Y (en) | Redundant switching control circuit | |
| CN206272637U (en) | A kind of DCS redundancy control units based on Double Data synchronous bus | |
| CN118535370A (en) | A device access fault removal method, device, equipment and storage medium | |
| CN101141234B (en) | Bus switching method and system thereof | |
| CN203733107U (en) | Quick active/standby shifting device in active-standby system | |
| JP2012068907A (en) | Bus connection circuit and bus connection method | |
| CN113312089B (en) | Low-cost high-efficiency inter-disc communication physical channel switching control system and method | |
| CN106814643B (en) | A kind of control method and system of two-node cluster hot backup |
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 | ||
| ASS | Succession or assignment of patent right |
Owner name: STATE GRID ZHEJIANG ELECTRIC POWER COMPANY SHAOXIN Effective date: 20150112 Owner name: STATE GRID CORPORATION OF CHINA Free format text: FORMER OWNER: ZTE CORPORATION Effective date: 20150112 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| C53 | Correction of patent for invention or patent application | ||
| CB03 | Change of inventor or designer information |
Inventor after: Zhang Hongda Inventor after: Tu Zhijiang Inventor after: Meng Li Inventor after: Zheng Ye Inventor after: Huang Jianyang Inventor after: Guo Jinsong Inventor after: Xu Jin Inventor after: Chen Xiaoping Inventor after: Lv Hang Inventor after: Jiang Keqing Inventor after: Luo Jun Inventor before: Luo Jun Inventor before: Tu Zhijiang Inventor before: Meng Li |
|
| COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 100031 XICHENG, BEIJING Free format text: CORRECT: INVENTOR; FROM: LUO JUN TU ZHIJIANG MENG LI TO: ZHANG HONGDA ZHENG YE HUANG JIANYANG GUO JINSONG XU JIN CHEN XIAOPING LV HANG JIANG KEQING LUO JUN TU ZHIJIANG MENG LI |
|
| TR01 | Transfer of patent right |
Effective date of registration: 20150112 Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing Patentee after: State Grid Corporation of China Patentee after: State Grid Zhejiang Electric Power Company Patentee after: Shaoxing Power Supply Company of State Grid Zhejiang Electric Power Company Patentee after: State Grid Zhejiang Zhuji Power Supply Co., Ltd. Patentee after: Zhuji Dongbai Electric Power Equipment Manufacturing Co., Ltd. Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice Patentee before: ZTE Corporation |
|
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111228 Termination date: 20170831 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |