CN104065499B - Main control board, master-standby system, information backup method and device - Google Patents
Main control board, master-standby system, information backup method and device Download PDFInfo
- Publication number
- CN104065499B CN104065499B CN201310088606.0A CN201310088606A CN104065499B CN 104065499 B CN104065499 B CN 104065499B CN 201310088606 A CN201310088606 A CN 201310088606A CN 104065499 B CN104065499 B CN 104065499B
- Authority
- CN
- China
- Prior art keywords
- main control
- control board
- cpu
- management
- switch
- 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
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000012545 processing Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000037361 pathway Effects 0.000 description 1
- 238000011112 process operation Methods 0.000 description 1
Landscapes
- Hardware Redundancy (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,具体而言,涉及一种主控板、主备系统、信息的备份方法及装置。The present invention relates to the communication field, in particular, to a main control board, a main-standby system, and an information backup method and device.
背景技术Background technique
目前,在相关技术中涉及主备系统的技术方案中,通常包括主用主控板和备用主控板;其中,主用主控板可以包括:主控中央处理器(Central Processing Unit,简称为CPU)和管理交换机,主控CPU通常需要设置两个网口,其中一个网口用于连接主控CPU和主控板的管理交换机,其作用在于管理整个主备系统;而另一个网口用于连接对板(即备用主控板),其作用在于主用主控板与备用主控板之间的管理数据的实时备份。由于主控CPU与备用CPU之间需要使用一个专门的网口进行互联,不但会因为增设了一个网口而增加了主备系统的硬件成本,还会增加由于主用主控板和备用主控板之间管理数据实时备份的工作量,并且其控制过程操作较为复杂。At present, in the technical solutions involving active and standby systems in related technologies, it usually includes an active main control board and a standby main control board; wherein, the active main control board may include: a main control central processing unit (Central Processing Unit, referred to as CPU) and a management switch, the main control CPU usually needs to set two network ports, one of which is used to connect the main control CPU and the management switch of the main control board, and its function is to manage the entire active and standby system; It is used to connect the opposite board (that is, the standby main control board), and its function is to back up the management data between the active main control board and the standby main control board in real time. Since the main control CPU and the standby CPU need to use a dedicated network port for interconnection, not only will the hardware cost of the main and standby systems be increased due to the addition of a network port, but also the The workload of managing data real-time backup between boards, and its control process operation is relatively complicated.
发明内容Contents of the invention
本发明提供了一种主控板、主备系统、信息的备份方法及装置,以至少解决相关技术中处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度的问题。The present invention provides a main control board, a master-standby system, and a backup method and device for information, so as to at least solve the problem that the CPU on the main control board in the related art not only increases the hardware cost but also has two network ports. The problem of increased operational complexity.
根据本发明的一个方面,提供了一种主控板。According to one aspect of the present invention, a main control board is provided.
根据本发明的主控板包括:CPU、管理交换机和切换装置;CPU,用于在主控板处于主用状态时,对主控板和处于备用状态的主控板进行管理并生成管理信息;切换装置,位于CPU和管理交换机之间,用于在主控板处于主用状态时,在CPU与管理交换机之间建立通路;管理交换机,经由管理交换机提供的网络接口与处于备用状态的主控板连接,用于接收来自于CPU的管理信息并转发至处于备用状态的主控板。The main control board according to the present invention includes: a CPU, a management switch and a switching device; the CPU is used to manage the main control board and the main control board in the standby state and generate management information when the main control board is in the active state; The switching device is located between the CPU and the management switch, and is used to establish a path between the CPU and the management switch when the main control board is in the active state; Board connection, used to receive management information from the CPU and forward it to the main control board in standby state.
优选地,上述切换装置,还用于在主控板从主用状态切换至备用状态时,断开CPU与管理交换机之间的通路,并在CPU与处于备用状态的主控板的管理交换机之间建立通路。Preferably, the above-mentioned switching device is also used to disconnect the path between the CPU and the management switch when the main control board is switched from the active state to the standby state, and switch between the CPU and the management switch of the main control board in the standby state. Create a path between them.
优选地,上述切换装置为以下之一:模拟开关、单刀双掷开关。Preferably, the switching device is one of the following: an analog switch, a single-pole double-throw switch.
根据本发明的另一方面,提供了一种主备系统。According to another aspect of the present invention, an active/standby system is provided.
根据本发明的主备系统包括:两个主控板;每个主控板均包括:CPU,用于在主控板处于主用状态时,对主控板和处于备用状态的主控板进行管理并生成管理信息;切换装置,位于CPU和管理交换机之间,用于在主控板处于主用状态时,在CPU与管理交换机之间建立通路;管理交换机,经由管理交换机提供的网络接口与处于备用状态的主控板连接,用于接收来自于CPU的管理信息并转发至处于备用状态的主控板。The active/standby system according to the present invention includes: two main control boards; each main control board includes: a CPU, which is used to execute the main control board and the main control board in standby state when the main control board is in the active state manage and generate management information; the switching device, located between the CPU and the management switch, is used to establish a path between the CPU and the management switch when the main control board is in the active state; the management switch communicates with the management switch through the network interface provided by the management switch The main control board in the standby state is connected to receive the management information from the CPU and forward it to the main control board in the standby state.
优选地,上述切换装置,还用于在主控板从主用状态切换至备用状态时,断开CPU与管理交换机之间的通路,并在CPU与处于备用状态的主控板的管理交换机之间建立通路。Preferably, the above-mentioned switching device is also used to disconnect the path between the CPU and the management switch when the main control board is switched from the active state to the standby state, and switch between the CPU and the management switch of the main control board in the standby state. Create a path between them.
根据本发明的又一方面,提供了一种信息的备份方法。According to still another aspect of the present invention, an information backup method is provided.
根据本发明的信息的备份方法包括:建立第一CPU与第一管理交换机之间的通路,其中,第一CPU和第一管理交换机均位于第一主控板上,第一主控板当前处于主用状态;采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份,其中,第二CPU位于第二主控板上,第二主控板当前处于备用状态。The information backup method according to the present invention includes: establishing a path between the first CPU and the first management switch, wherein both the first CPU and the first management switch are located on the first main control board, and the first main control board is currently in the Active state: the first CPU is used to manage the first main control board and the second main control board, and the generated management information is transmitted to the second CPU via the first management switch for backup, wherein the second CPU is located in the second On the main control board, the second main control board is currently in the standby state.
优选地,在采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份之后,还包括:当第一主控板由主用状态切换至备用状态时,断开第一CPU与第一管理交换机之间的通路,并建立第一CPU与第二管理交换机之间的通路,其中,第二管理交换机位于第二主控板上。Preferably, after the first CPU is used to manage the first main control board and the second main control board, and the generated management information is transmitted to the second CPU via the first management switch for backup, it also includes: when the first main control board When the control board is switched from the active state to the standby state, the path between the first CPU and the first management switch is disconnected, and the path between the first CPU and the second management switch is established, wherein the second management switch is located at the first Two main control boards.
优选地,在当第一主控板由主用状态切换至备用状态时,断开第一CPU与第一管理交换机之间的通路,并建立第一CPU与第二管理交换机之间的通路之后,还包括:当第二主控板由备用状态切换至主用状态时,建立第二CPU与第二管理交换机之间的通路。Preferably, when the first main control board is switched from the active state to the standby state, the path between the first CPU and the first management switch is disconnected, and the path between the first CPU and the second management switch is established , further comprising: when the second main control board switches from the standby state to the active state, establishing a path between the second CPU and the second management switch.
根据本发明的再一方面,提供了一种信息的备份装置。According to still another aspect of the present invention, an information backup device is provided.
根据本发明的信息的备份装置包括:第一建立模块,用于建立第一CPU与第一管理交换机之间的通路,其中,第一CPU和第一管理交换机均位于第一主控板上,第一主控板当前处于主用状态;传输模块,用于采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份,其中,第二CPU位于第二主控板上,第二主控板当前处于备用状态。The information backup device according to the present invention includes: a first establishing module, configured to establish a path between the first CPU and the first management switch, wherein both the first CPU and the first management switch are located on the first main control board, The first main control board is currently in the active state; the transmission module is used to use the first CPU to manage the first main control board and the second main control board, and transmit the generated management information to the second main control board through the first management switch. The CPU performs backup, wherein the second CPU is located on the second main control board, and the second main control board is currently in a standby state.
优选地,上述装置还包括:第二建立模块,用于当第一主控板由主用状态切换至备用状态时,断开第一CPU与第一管理交换机之间的通路,并建立第一CPU与第二管理交换机之间的通路,其中,第二管理交换机位于第二主控板上。Preferably, the above device further includes: a second establishing module, configured to disconnect the path between the first CPU and the first management switch and establish the first A path between the CPU and the second management switch, wherein the second management switch is located on the second main control board.
通过本发明,采用建立第一CPU与第一管理交换机之间的通路,第一CPU和第一管理交换机均位于第一主控板上,第一主控板当前处于主用状态;采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份,第二CPU位于第二主控板上,第二主控板当前处于备用状态,解决了相关技术中处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度的问题,进而减小了主控板上CPU的硬件成本,同时也降低了CPU控制的操作复杂度。Through the present invention, the path between the first CPU and the first management switch is established, the first CPU and the first management switch are both located on the first main control board, and the first main control board is currently in the active state; using the first The CPU manages the first main control board and the second main control board, and transmits the generated management information to the second CPU via the first management switch for backup. The second CPU is located on the second main control board, and the second main control board The board is currently in a standby state, which solves the problem that the CPU on the main control board in the active state in the related art not only increases the hardware cost but also increases the operation complexity due to the setting of two network ports, thereby reducing the number of CPUs on the main control board. The hardware cost of the CPU is reduced, and the complexity of the operation controlled by the CPU is also reduced.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的主控板的结构框图;Fig. 1 is a structural block diagram of a main control board according to an embodiment of the present invention;
图2是根据本发明实施例的主备系统的示意图;Fig. 2 is a schematic diagram of an active/standby system according to an embodiment of the present invention;
图3是根据本发明实施例的信息的备份方法的流程图;FIG. 3 is a flowchart of a method for backing up information according to an embodiment of the present invention;
图4是根据本发明实施例的信息的备份装置的结构框图;Fig. 4 is a structural block diagram of an information backup device according to an embodiment of the present invention;
图5是根据本发明优选实施例的信息的备份装置的结构框图。Fig. 5 is a structural block diagram of an information backup device according to a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
图1是根据本发明实施例的主控板的结构框图。如图1所示,该主控板可以包括:CPU10、管理交换机20和切换装置30;CPU10,用于在主控板处于主用状态时,对主控板和处于备用状态的主控板进行管理并生成管理信息;切换装置30,位于CPU和管理交换机之间,用于在主控板处于主用状态时,在CPU与管理交换机之间建立通路;管理交换机20,经由管理交换机提供的网络接口与处于备用状态的主控板连接,用于接收来自于CPU的管理信息并转发至处于备用状态的主控板。Fig. 1 is a structural block diagram of a main control board according to an embodiment of the present invention. As shown in Figure 1, the main control board can include: CPU10, management switch 20 and switching device 30; Manage and generate management information; switch device 30, located between the CPU and the management switch, is used to establish a path between the CPU and the management switch when the main control board is in the active state; the management switch 20, via the network provided by the management switch The interface is connected with the main control board in the standby state, and is used to receive the management information from the CPU and forward it to the main control board in the standby state.
相关技术中,处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度。采用如图1所示的主控板,建立第一CPU与第一管理交换机之间的通路,第一CPU和第一管理交换机均位于第一主控板上,第一主控板当前处于主用状态;采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份,第二CPU位于第二主控板上,第二主控板当前处于备用状态,即采用本发明所提供的技术方案,主控板上的CPU仅需设置一个网口且该网口仅与当前主控板上的管理交换机相连接,而该主控板上的CPU与处于备用状态的主控板上的CPU之间不再直接通过网口进行连接,从而CPU只需要一个网口就可以实现主备管理数据的实时备份,解决了相关技术中处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度的问题,进而减小了主控板上CPU的硬件成本,同时也降低了CPU控制的操作复杂度。In the related art, the CPU on the main control board in the active state not only increases the hardware cost but also increases the operation complexity due to the provision of two network ports. Use the main control board shown in Figure 1 to establish a path between the first CPU and the first management switch. Both the first CPU and the first management switch are located on the first main control board, and the first main control board is currently in the main Use status; the first CPU is used to manage the first main control board and the second main control board, and the generated management information is transmitted to the second CPU via the first management switch for backup. The second CPU is located on the second main control board Above, the second main control board is currently in a standby state, that is, by adopting the technical solution provided by the present invention, the CPU on the main control board only needs to be provided with one network port and the network port is only connected to the management switch on the current main control board , and the CPU on the main control board and the CPU on the main control board in the standby state are no longer directly connected through the network port, so that the CPU only needs one network port to realize real-time backup of the active and standby management data, solving the problem of The problem that the CPU on the main control board in the main control board in the related art not only increases the hardware cost but also increases the operation complexity due to the setting of two network ports, thereby reducing the hardware cost of the CPU on the main control board, and at the same time The operation complexity of CPU control is reduced.
优选地,上述切换装置30,还用于在主控板从主用状态切换至备用状态时,断开CPU与管理交换机之间的通路,并在CPU与处于备用状态的主控板的管理交换机之间建立通路。Preferably, the above-mentioned switching device 30 is also used to disconnect the path between the CPU and the management switch when the main control board is switched from the active state to the standby state, and switch between the CPU and the management switch of the main control board in the standby state. Create paths between them.
在优选实施例中,当处于主用状态的主控板发生异常,需要进行主备倒换,从主用状态切换至备用状态,此时需要断开之前在处于主用状态的主控板上的CPU与管理交换机之间的连接,同时还要在原先处于备用状态而现在已经切换至主用状态的主控板上的CPU与由主用状态切换至备用状态的主控板上的管理交换机之间的连接。In a preferred embodiment, when the main control board in the active state is abnormal, it is necessary to perform active-standby switchover from the active state to the standby state. At this time, it is necessary to disconnect the The connection between the CPU and the management switch must also be between the CPU on the main control board that was originally in the standby state but has now switched to the active state, and the management switch on the main control board that has switched from the active state to the standby state. connection between.
在优选实施过程中,上述切换装置可以为以下之一:模拟开关、单刀双掷开关。In a preferred implementation process, the above switching device may be one of the following: an analog switch, a single pole double throw switch.
图2是根据本发明实施例的主备系统的示意图。如图2所示,该主备系统可以包括:两个主控板;每个主控板均包括:CPU,用于在主控板处于主用状态时,对主控板和处于备用状态的主控板进行管理并生成管理信息;切换装置,位于CPU和管理交换机之间,用于在主控板处于主用状态时,在CPU与管理交换机之间建立通路;管理交换机,经由管理交换机提供的网络接口与处于备用状态的主控板连接,用于接收来自于CPU的管理信息并转发至处于备用状态的主控板。Fig. 2 is a schematic diagram of an active/standby system according to an embodiment of the present invention. As shown in Figure 2, the active/standby system may include: two main control boards; each main control board includes: a CPU, which is used to control the main control board and the standby state when the main control board is in the active state The main control board manages and generates management information; the switching device is located between the CPU and the management switch, and is used to establish a path between the CPU and the management switch when the main control board is in the active state; the management switch provides The network interface of the network interface is connected to the main control board in the standby state, and is used to receive the management information from the CPU and forward it to the main control board in the standby state.
采用如图2所示的主备系统,解决了相关技术中处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度的问题,进而减小了主控板上CPU的硬件成本,同时也降低了CPU控制的操作复杂度。Adopting the active/standby system shown in Figure 2 solves the problem that the CPU on the main control board in the active state in the related art not only increases the hardware cost but also increases the operation complexity due to the setting of two network ports, thereby reducing the The hardware cost of the CPU on the main control board is reduced, and the operation complexity of the CPU control is also reduced.
优选地,上述切换装置,还用于在主控板从主用状态切换至备用状态时,断开CPU与管理交换机之间的通路,并在CPU与处于备用状态的主控板的管理交换机之间建立通路。Preferably, the above-mentioned switching device is also used to disconnect the path between the CPU and the management switch when the main control board is switched from the active state to the standby state, and switch between the CPU and the management switch of the main control board in the standby state. Create a path between them.
在优选实施例中,主备管理通道可以采用双星型结构,主控板上的CPU只需要设置一个网口并采用一个模拟开关,从而实现网口的复用。在处于主用状态的主控板上,CPU网口开关打向管理交换机,以实现对整个系统进行管理;在处于备用状态的主控板上,CPU网口开关打向对板(即处于主用状态的主控板),将对板生成的管理数据进行实时备份;当发生主备倒换时,处于备用状态的主控板切换至主用状态,而处于主用状态的主控板切换至备用状态,开关打向另一侧。如此在CPU上只需要设置一个网口就可以实现系统管理以及主备管理数据的实时备份。In a preferred embodiment, the active and standby management channels can adopt a double-star structure, and the CPU on the main control board only needs to set up one network port and use one analog switch, so as to realize the multiplexing of network ports. On the main control board in the active state, the CPU network port switch is connected to the management switch to manage the entire system; on the main control board in the standby state, the CPU network port switch is connected to the The main control board in the active state) will back up the management data generated by the board in real time; when the master-standby switchover occurs, the main control board in the standby state will switch to the active state, and the main control board in the active state will switch to the In standby state, switch to the other side. In this way, only one network port needs to be set up on the CPU to realize system management and real-time backup of active and standby management data.
图3是根据本发明实施例的信息的备份方法的流程图。如图3所示,该方法可以包括以下处理步骤:Fig. 3 is a flowchart of an information backup method according to an embodiment of the present invention. As shown in Figure 3, the method may include the following processing steps:
步骤S302:建立第一CPU与第一管理交换机之间的通路,其中,第一CPU和第一管理交换机均位于第一主控板上,第一主控板当前处于主用状态;Step S302: Establishing a path between the first CPU and the first management switch, wherein both the first CPU and the first management switch are located on the first main control board, and the first main control board is currently in an active state;
步骤S304:采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份,其中,第二CPU位于第二主控板上,第二主控板当前处于备用状态。Step S304: Use the first CPU to manage the first main control board and the second main control board, and transmit the generated management information to the second CPU for backup via the first management switch, wherein the second CPU is located on the second main control board. On the control board, the second main control board is currently in the standby state.
采用如图3所示的方法,解决了相关技术中处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度的问题,进而减小了主控板上CPU的硬件成本,同时也降低了CPU控制的操作复杂度。Adopting the method shown in Figure 3 solves the problem that the CPU on the main control board in the main state in the related art not only increases the hardware cost but also increases the operation complexity due to the setting of two network ports, thereby reducing the main The hardware cost of the CPU on the control board also reduces the operational complexity of the CPU control.
优选地,在步骤S304,采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份之后,还可以包括以下操作:Preferably, in step S304, after the first CPU is used to manage the first main control board and the second main control board, and the generated management information is transmitted to the second CPU via the first management switch for backup, the following may also be included: operate:
步骤S1:当第一主控板由主用状态切换至备用状态时,断开第一CPU与第一管理交换机之间的通路,并建立第一CPU与第二管理交换机之间的通路,其中,第二管理交换机位于第二主控板上。Step S1: When the first main control board switches from the active state to the standby state, disconnect the path between the first CPU and the first management switch, and establish the path between the first CPU and the second management switch, wherein , the second management switch is located on the second main control board.
在优选实施例中,当发生主备倒换时,处于备用状态的主控板切换至主用状态,而处于主用状态的主控板切换至备用状态,开关打向另一侧,第一CPU与第一管理交换机之间的通路断开,同时建立了第一CPU与第二管理交换机之间的通路。In a preferred embodiment, when an active-standby switchover occurs, the main control board in the standby state switches to the active state, and the main control board in the active state switches to the standby state, the switch is turned to the other side, and the first CPU The path with the first management switch is disconnected, and at the same time, the path between the first CPU and the second management switch is established.
优选地,在步骤S1,当第一主控板由主用状态切换至备用状态时,断开第一CPU与第一管理交换机之间的通路,并建立第一CPU与第二管理交换机之间的通路之后,还可以包括以下步骤:Preferably, in step S1, when the first main control board is switched from the active state to the standby state, the path between the first CPU and the first management switch is disconnected, and the path between the first CPU and the second management switch is established. After the pathway, the following steps may also be included:
步骤S2:当第二主控板由备用状态切换至主用状态时,建立第二CPU与第二管理交换机之间的通路。Step S2: When the second main control board switches from the standby state to the active state, establish a path between the second CPU and the second management switch.
在优选实施例中,处于备用状态的主控板上的开关打向另一侧,第一管理交换机与第二CPU之间的通路断开,同时还建立了第二CPU与第二管理交换机之间的通路。如此在CPU上只需要设置一个网口就可以实现系统管理以及主备管理数据的实时备份。In a preferred embodiment, the switch on the main control board in the standby state is turned to the other side, the path between the first management switch and the second CPU is disconnected, and the connection between the second CPU and the second management switch is also established. path between. In this way, only one network port needs to be set up on the CPU to realize system management and real-time backup of active and standby management data.
图4是根据本发明实施例的信息的备份装置的结构框图。如图4所示,该信息的备份装置可以包括:第一建立模块100,用于建立第一CPU与第一管理交换机之间的通路,其中,第一CPU和第一管理交换机均位于第一主控板上,第一主控板当前处于主用状态;传输模块102,用于采用第一CPU对第一主控板和第二主控板进行管理,并将生成的管理信息经由第一管理交换机传输至第二CPU进行备份,其中,第二CPU位于第二主控板上,第二主控板当前处于备用状态。Fig. 4 is a structural block diagram of an information backup device according to an embodiment of the present invention. As shown in FIG. 4, the information backup device may include: a first establishment module 100, configured to establish a path between the first CPU and the first management switch, wherein the first CPU and the first management switch are both located at the first On the main control board, the first main control board is currently in the active state; the transmission module 102 is configured to use the first CPU to manage the first main control board and the second main control board, and transmit the generated management information through the first main control board The management switch transmits data to the second CPU for backup, wherein the second CPU is located on the second main control board, and the second main control board is currently in a standby state.
采用如图4所示的装置,解决了相关技术中处于主用状态的主控板上的CPU由于设置两个网口不但增加了硬件成本而且增加了操作复杂度的问题,进而减小了主控板上CPU的硬件成本,同时也降低了CPU控制的操作复杂度。Adopting the device shown in Figure 4 solves the problem that the CPU on the main control board in the main state in the related art not only increases the hardware cost but also increases the operation complexity due to the setting of two network ports, thereby reducing the main The hardware cost of the CPU on the control board also reduces the operational complexity of the CPU control.
优选地,如图5所示,上述装置还可以包括:第二建立模块104,用于当第一主控板由主用状态切换至备用状态时,断开第一CPU与第一管理交换机之间的通路,并建立第一CPU与第二管理交换机之间的通路,其中,第二管理交换机位于第二主控板上。Preferably, as shown in FIG. 5, the above-mentioned device may further include: a second establishment module 104, configured to disconnect the connection between the first CPU and the first management switch when the first main control board is switched from the active state to the standby state. and establish a path between the first CPU and the second management switch, where the second management switch is located on the second main control board.
从以上的描述中,可以看出,上述实施例实现了如下技术效果(需要说明的是这些效果是某些优选实施例可以达到的效果):采用本发明所提供的技术方案,节省了主控板上CPU的网口数量以及对网口定义所进行的软件开发工作量、控制简单、节省开发成本。该技术方案已经在以太无源光网络(Ethernet Passive Optical Network,简称为EPON)产品上进行了大量实验,其结果表明主备倒换工作正常。From the above description, it can be seen that the above embodiments achieve the following technical effects (it should be noted that these effects are the effects that can be achieved by some preferred embodiments): adopting the technical solution provided by the present invention saves the main controller The number of network ports of the CPU on the board and the workload of software development for network port definition are simple to control and save development costs. This technical solution has been tested extensively on Ethernet Passive Optical Network (EPON) products, and the results show that the active/standby switchover works normally.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310088606.0A CN104065499B (en) | 2013-03-19 | 2013-03-19 | Main control board, master-standby system, information backup method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310088606.0A CN104065499B (en) | 2013-03-19 | 2013-03-19 | Main control board, master-standby system, information backup method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104065499A CN104065499A (en) | 2014-09-24 |
| CN104065499B true CN104065499B (en) | 2017-06-27 |
Family
ID=51553041
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310088606.0A Expired - Fee Related CN104065499B (en) | 2013-03-19 | 2013-03-19 | Main control board, master-standby system, information backup method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104065499B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105763488B (en) * | 2014-12-17 | 2020-08-25 | 南京中兴软件有限责任公司 | Data center aggregation core switch and backboard thereof |
| CN105429902B (en) * | 2015-11-10 | 2018-07-31 | 上海斐讯数据通信技术有限公司 | A kind of dual master control plate network system |
| CN107786356A (en) * | 2016-08-29 | 2018-03-09 | 安徽皖通邮电股份有限公司 | A kind of network equipment system of masterslave switchover and load sharing |
| CN112954722B (en) * | 2021-01-26 | 2023-02-03 | 深圳震有科技股份有限公司 | System and method for quickly switching 5G UPF (unified power flow) main link and standby link |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1764080A (en) * | 2005-11-15 | 2006-04-26 | 中兴通讯股份有限公司 | A device and method for realizing active/standby switching |
| CN101136730A (en) * | 2007-10-19 | 2008-03-05 | 武汉烽火网络有限责任公司 | Credible synchronization method of distributed network equipment |
| CN101207408A (en) * | 2006-12-22 | 2008-06-25 | 中兴通讯股份有限公司 | Apparatus and method of synthesis fault detection for main-spare taking turns |
| CN101299201A (en) * | 2008-05-08 | 2008-11-05 | 华为技术有限公司 | Storage system data backup method and device |
| CN101515834A (en) * | 2008-02-22 | 2009-08-26 | 诺基亚西门子通信有限责任两合公司 | Main control card, switching system based on multi-backup main control card, switching method of switching system |
| CN101582797A (en) * | 2009-06-15 | 2009-11-18 | 北京星网锐捷网络技术有限公司 | Management board and two-unit standby system and method |
-
2013
- 2013-03-19 CN CN201310088606.0A patent/CN104065499B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1764080A (en) * | 2005-11-15 | 2006-04-26 | 中兴通讯股份有限公司 | A device and method for realizing active/standby switching |
| CN101207408A (en) * | 2006-12-22 | 2008-06-25 | 中兴通讯股份有限公司 | Apparatus and method of synthesis fault detection for main-spare taking turns |
| CN101136730A (en) * | 2007-10-19 | 2008-03-05 | 武汉烽火网络有限责任公司 | Credible synchronization method of distributed network equipment |
| CN101515834A (en) * | 2008-02-22 | 2009-08-26 | 诺基亚西门子通信有限责任两合公司 | Main control card, switching system based on multi-backup main control card, switching method of switching system |
| CN101299201A (en) * | 2008-05-08 | 2008-11-05 | 华为技术有限公司 | Storage system data backup method and device |
| CN101582797A (en) * | 2009-06-15 | 2009-11-18 | 北京星网锐捷网络技术有限公司 | Management board and two-unit standby system and method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104065499A (en) | 2014-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101383688B (en) | Data communication device and method for keeping high availability of data communication device | |
| US10284499B2 (en) | Dedicated control path architecture for systems of devices | |
| US9258253B2 (en) | System and method for flexible switching fabric | |
| US10868754B2 (en) | High availability input/output management nodes | |
| CN104281511A (en) | Intelligent platform management interface system, substrate management controller and implementation method | |
| US20210286747A1 (en) | Systems and methods for supporting inter-chassis manageability of nvme over fabrics based systems | |
| CN104065499B (en) | Main control board, master-standby system, information backup method and device | |
| US7706259B2 (en) | Method for implementing redundant structure of ATCA (advanced telecom computing architecture) system via base interface and the ATCA system for use in the same | |
| CN102724093A (en) | Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof | |
| KR101266041B1 (en) | General purpose multi-port network interface card for fault-tolerant ethernet using switching chip base of logic gate | |
| CN112803998B (en) | Multi-bus network cross-network communication method, device, system, equipment and storage medium | |
| CN105763488B (en) | Data center aggregation core switch and backboard thereof | |
| US9300529B2 (en) | Communication system and network relay device | |
| CN109104319B (en) | Data storage device and method | |
| CN105677589A (en) | Access control method, access control device and access control system | |
| US9596129B2 (en) | Communication system, control apparatus, communication apparatus, information-relaying method, and program | |
| CN111181766B (en) | Redundant FC network system and method for realizing dynamic configuration of switch | |
| CN104394012A (en) | Cluster router, MPU (microprocessor unit), determining method for faults of MPU and sensing controller | |
| CN113852514A (en) | Data processing system with uninterrupted service, processing equipment switching method and connecting equipment | |
| WO2017215672A1 (en) | Power supply method and power supply device in poe system | |
| CN102983997A (en) | Method and device for migrating master services | |
| JP6118464B2 (en) | Port status synchronization method, related device, and system | |
| CN107800576A (en) | A kind of system integrating management method and system based on multi-controller framework | |
| KR100850351B1 (en) | Redundancy method of ATM system through base interface and ATM system implementing the same | |
| JP2003345478A (en) | Intelligent type device where all intelligent type modules can share the same user input / output interface |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170627 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |