WO2019052069A1 - Procédé et dispositif de concurrence maître/réserve, et équipement d'application - Google Patents

Procédé et dispositif de concurrence maître/réserve, et équipement d'application Download PDF

Info

Publication number
WO2019052069A1
WO2019052069A1 PCT/CN2017/117119 CN2017117119W WO2019052069A1 WO 2019052069 A1 WO2019052069 A1 WO 2019052069A1 CN 2017117119 W CN2017117119 W CN 2017117119W WO 2019052069 A1 WO2019052069 A1 WO 2019052069A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
main control
boards
active
role
Prior art date
Application number
PCT/CN2017/117119
Other languages
English (en)
Chinese (zh)
Inventor
郑展伟
房超
Original Assignee
通鼎互联信息股份有限公司
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 通鼎互联信息股份有限公司 filed Critical 通鼎互联信息股份有限公司
Publication of WO2019052069A1 publication Critical patent/WO2019052069A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/4013Management of data rate on the bus
    • H04L12/40136Nodes adapting their rate to the physical link properties

Definitions

  • the present application relates to the field of communications technologies, and in particular, to an active/standby competition method, apparatus, and application device.
  • the communication device 1.1 has two main control boards 1.2, 1.3, two switch boards 1.4, 1.5, and N service boards 1.6, 1.7, . .., 1.n.
  • the two main control boards 1.2 and 1.3 are determined by the active/standby competition mechanism in the communication device 1.1, and the respective board roles are determined as the main control board and the standby main control board, and the selected main control is selected.
  • the board realizes the overall management control of the entire chassis-type communication device 1.1.
  • the basic process of the active/standby competition mechanism applied to the common chassis-type communication device 1.1 includes the active-standby competition process in the system startup phase, and the specific steps include
  • Step 201 establishing communication connections between the two main control boards 1.2 and 1.3;
  • Step 202 The two main control boards 1.2 and 1.3 respectively send an active/standby competition message carrying the information of the own board to the other party;
  • Step 203 The two main control boards 1.2 and 1.3 respectively receive the contention message of the other party;
  • Step 204 After receiving the contention message of the other party, the two main control boards 1.2 and 1.3 initially determine the role of the board as the main control board or the standby main control board according to the active/standby competition message of the other party;
  • Step 205 The two main control boards 1.2 and 1.3 respectively send a response message carrying the role of the own board to the other party;
  • Step 206 The two main control boards 1.2 and 1.3 respectively receive the response message of the other party;
  • Step 207 The two main control boards 1.2 and 1.3 respectively determine whether the other party's board role conflicts with its own board role. If there is a conflict, the content is re-competitive. If there is no conflict, the active/standby competition is completed, and finally the selected one is selected.
  • the main control board 1.2 or 1.3 that assumes the main control role realizes the management control of the other boards 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, ..., 1.n in the chassis type communication device 1.1, The other main control board 1.3 or 1.2 assumes the role of the standby master of device 1.1.
  • the active/standby competition mechanism relies on two main control boards 1.2 and 1.3 to establish communication connections and exchange competing messages. If the main control board 1.2, 1.3 is plugged or unplugged, or due to hardware differences, etc. If the startup interval of the control board 1.2 and 1.3 is too large, the time for establishing the communication connection between the two main control boards 1.2 and 1.3 will become very long. At this time, the operation of the entire active/standby competition mechanism will slow down the system. Start Time.
  • the purpose of the present application is to overcome the excessive reliance on the dual-master control of the existing chassis-type device, the low system reliability, the waste of the slot on the dual-control board, and the cumbersome active/standby mechanism. Defect, a competition method with master-slave control competition and its communication device are proposed.
  • an active/standby competition method including the steps of:
  • Step 1 Determine a priority rule according to the slot information of the card, the function type of the card, the slot information of other online boards, and the type of functions of other online boards, and determine the board according to the priority rule.
  • the delay time of the detection is started, wherein the board and other online boards are plugged into corresponding slots of a middle board, and the boards are communicatively connected, and the board and other online boards are connected.
  • the function type includes a main control board, a switch board, and a service board;
  • Step 2 detecting, according to the delay time, whether there is an active main control service information, where the main use main control service information reflects whether there is an active main control service role;
  • Step 3 When it is detected that there is no main control service information, it is determined that the card role is the main control service role, and an active main control service information is sent;
  • Step 4 When it is detected that there is an active main control service information, connect the main control service information, and determine that the card role is an alternate main control service role.
  • the method further includes: sending a connection request to the board serving as the primary hosting service role; and sending an active owner in the step 3
  • the method further includes: receiving a connection request sent by the board serving as the standby master service role and processing.
  • the method further includes:
  • Step 5 The card serving as the standby main control service role monitors whether the main control service is running normally. If yes, continue to monitor. If not, return to step 1 to restart the active/standby competition process.
  • a priority rule is determined according to the slot information of the card, the function type of the card, the slot information of other online boards, and the type of functions of other online boards, according to the priority.
  • the specific method for determining the delay time for the board to initiate detection is:
  • Step 1.1 Determine the slot number of the board, the function type of the board, the slot number of other online boards, and the type of functions of other online boards.
  • Step 1.2 Determine a priority order according to the descending order or ascending order of the slot number of the card slot and other slot numbers of the online card, and the function type of the board and other online boards;
  • step 1.3 the delay time of the card is determined according to the rule that the higher the priority is, the shorter the delay time is.
  • the specific method for determining the slot number of the card slot and the slot number of other online board in the step 1.1 is:
  • the priority order is determined according to the slot number of the card slot and the sequence number of other online card slot slots, and the order of the functions of the board and other online cards is determined.
  • the specific method can be:
  • Step 1.21 Determine an external priority order according to the function type of the board and other online boards
  • step 1.22 the boards of the same function type are arranged in descending order or ascending order according to the slot number thereof to determine an internal priority order;
  • step 1.23 the final priority order of the board and other online boards is determined according to the external priority order and the internal priority order.
  • an active/standby contention apparatus including:
  • the delay determining unit is configured to determine a priority rule according to the slot information of the board, the function type of the board, the slot information of other online boards, and the type of functions of other online boards, according to the priority rule. Determining the delay time for starting the detection of the board, wherein the board and other online boards are plugged into corresponding slots of a middle board, and the boards are communicatively connected, the boards and other online
  • the boards all have control functions, and the types of functions include a main control board, a switch board, and a service board;
  • a detecting unit configured to detect whether there is an active main control service information according to the delay time, where the main active service information reflects whether an active main control service role exists;
  • the primary role determining unit is configured to: when it is detected that the primary hosting service information does not exist, determine that the card role is a primary hosting service role, and send a primary hosting service information;
  • the standby role determining unit is configured to connect the primary hosting service information when detecting that there is one primary hosting service information, and determine that the card role is an alternate hosting service role.
  • the active/standby device further includes:
  • the monitoring unit which is used as the standby master service role, monitors whether the active main control service is running normally, and if so, continues to monitor, if otherwise, the active/standby competition process is resumed.
  • the standby role determining unit is further configured to: send a connection request to the board serving as the primary hosting service role; the primary role determining unit is further configured to: receive the board serving as the standby hosting service role The connection request sent by the card is processed.
  • the delay determining unit specifically includes:
  • the first determining unit is configured to determine the slot number of the board, the function type of the board, the slot number of other online boards, and the type of functions of other online boards;
  • a second determining unit configured to determine a priority order according to a descending order or an ascending order of the slot number of the card slot and other slot numbers of the online card, and a function type of the board and other online boards;
  • a third determining unit configured to determine a delay time of the card according to a rule that the higher the priority is, the shorter the delay time is.
  • the first determining unit is specifically configured to:
  • the second determining unit is specifically configured to:
  • the boards of the same function type are arranged in descending order or ascending order according to the slot number thereof to determine an internal priority order;
  • the final priority order of the board and other online boards is determined based on the external priority order and the internal priority order.
  • an application device of an active/standby competition device including:
  • the main control board, the switch board, the service board, and the active/standby competition device, the main control board, the switch board, and the service board all have independent control functions and are all plugged into a middle board.
  • a switch switching device SW is disposed in the switch board, and the main control board, the switch board and the service board implement communication connection and establish an inter-board information channel through the switch switching device SW, and the active/standby competition device is used. It provides device support for the active and standby competition between the main control board, the switch board and the service board.
  • This application automatically re-runs the active and standby competition procedures when the board that assumes the role of the main control role fails or the board that assumes the main role of the main control is pulled out, recalculates the competition priority, and then dynamically optimizes The detection delay time of each competing board enables the system to operate efficiently.
  • Each board in this application including the main control board, switch board, and service board, can be used as the main master role to upgrade the traditional dual-master solution to the multi-master solution.
  • the reliability of the system reduces the dependence of the chassis-type equipment on the dual-master scheme.
  • this application can reduce the size of the chassis and reduce the design difficulty by designing the multi-slot machine-frame device to reduce the design of the main control slot. It is also possible to design the device card to improve the device. Performance, which in turn increases the market competitiveness of the equipment.
  • FIG. 1 is a schematic structural diagram of a frame type communication device in the prior art
  • FIG. 2 is a flowchart of a method for competing for active and standby in a chassis-type communication device in the prior art
  • FIG. 3 is a flowchart of a method for competing for active and standby in the present application
  • FIG. 4 is a block diagram showing the structure of the active/standby competition device of the present application.
  • FIG. 5 is a schematic structural diagram of a specific embodiment of a chassis-type communication device to which the active/standby competition device is applied in the present application.
  • FIG. 3 is a flowchart of a method for competing for the active and standby of the present application.
  • the active/standby competition method includes:
  • Step 301 Determine a priority rule according to the slot information of the card, the function type of the card, the slot information of other online boards, and the type of functions of other online boards, and determine the board according to the priority rule.
  • the delay time of the detection is started, wherein the board and other online boards are plugged into corresponding slots of a middle board, and each board is communicatively connected, and the board and other online boards have Control function, the function type includes a main control board, a switch board, and a service board.
  • Each of the boards includes a main control board, a switch board, a service board, and the like.
  • the boards of the main control board, the switch board, and the service board are plugged together through a middle board, that is, Each board is inserted into a slot of the middle board; and a communication connection is established between the boards, and a plurality of communication connections can be established between the boards.
  • a switch can be set.
  • the switching device SW is implemented to implement a communication connection between any two boards.
  • the switch switching device SW is composed of a smart ASIC chip having a control function and a switching function, the chip has a plurality of interfaces, and each of the plurality of interfaces can be configured as a path with any other interface, using a switch switching device
  • the SW can establish an inter-board information channel between each board, realize the communication connection of each board, and realize the two-two interconnection between the boards. It should be noted that the inter-board information channel between the boards established by the device SW may be an information channel based on Ethernet.
  • inter-board information channel between the boards may also be constituted by a dedicated signal line connected through the middle board.
  • the method for determining the delay time includes:
  • Each board can obtain information about the slot of the board and a slot information of the other board through the board.
  • the slot information of the board is the information provided by the board to each board.
  • the information reflects
  • the slot information of the board provided by the middle board is represented by a set of high and low level signals. For example, 001 indicates that the slot of the board is 2 slots, and 011 indicates this.
  • the slot of the board is 4 slots.
  • the slot information of the other online boards is orthogonally plugged into the middle board by the boards, causing a group of high and low level signal changes on the middle board. Whether the bit has the card insertion and the slot information of each card, the board obtains the level signal to determine the slot information of other online boards.
  • each card may be, for example, determining whether the boards belong to a main control board or a switch board, or other service boards, and the like.
  • the priority of each board may be determined according to the descending or ascending order of the slot numbers of the boards, and the functions implemented by each board.
  • the principle of descending order of the slot number that is, the smaller the slot number, the higher the priority of the board, and the priority of the main control board is greater than the switch board, and the priority of the switch board is greater than the rules of the service board.
  • the priority order of the cards It should be noted that, the present application comprehensively considers the slot number of each board and the function of each board to determine the priority. The specific corresponding rules may be specifically determined according to the actual situation, and are not limited to the present application.
  • the priority of the main control board is greater than that of the switch board, and the priority of the switch board is greater than that of the service board.
  • Each board is pre-scheduled according to the function, and then the external priority order is set, and then the board with the same function is used.
  • the card for example, multiple service boards, is further arranged in descending order or ascending order of the slot number to determine an internal priority order, and finally according to the external priority order and internal priority The order of the levels determines the final order of priority.
  • the above-mentioned corresponding rules for determining the priority based on the slot number of each board and the function of each board card may be determined according to specific conditions, and the priority level corresponding to each board function may also be changed according to actual conditions, for example, when When the main control board needs to be used for deep packet parsing, the priority rule can be changed to the priority of the switch board greater than the main control board.
  • the delay time of the respective boards is determined according to the rule that the higher the priority is, the shorter the delay time is, so that the board with higher priority has greater initiative and The possibility to assume the role of the main master service.
  • the present application may also set the determination rule of the delay time to the lower the priority level, and the shorter the delay time, which is not limited to the specific embodiment of the present application.
  • Step 302 Detect whether there is one active master service information according to the delay time, and the master master service information reflects whether there is an active master service role.
  • level 0 represents the highest priority level
  • the service information the first to determine whether it has to assume a role of the main master service.
  • Step 303 When it is detected that the main control service information does not exist, determine that the board role is the main control service role, and send an active main control service information.
  • Each board delays the corresponding delay time according to the priority rule to start detecting whether there is an active main control service information, and the main use service information reflects whether there is a main active service role, that is, When there is a primary master service role, an active master service information can be detected. Otherwise, when the master master service role does not exist, the master master service information cannot be detected.
  • the board detects that there is no information about the active master service, it indicates that there is no active role of the active master service. At this time, the probe board determines itself as the master service role and sends a master. With the master service information, it has been informed that the other board master master service role is already in place.
  • Step 304 When it is detected that there is one main control service information, connect the main control service information, and determine that the card role is an alternate main control service role.
  • the boards periodically detect whether there is an active main control service information according to a priority rule.
  • a board detects that there is an active main control service information, it indicates that the main main control service role is in place at this time. , then determine itself as the alternate master service role, and send a connection request to the board serving as the master master service role, the board serving as the master master service role receives the connection request and is allowed to serve.
  • the board connection of the standby master service role, the board serving as the standby master service role monitors the behavior of the board serving as the master master service role in real time through the primary master service information.
  • the method further includes:
  • step 305 the card serving as the standby master service role monitors whether the active main control service is running normally. If yes, the monitoring is continued. If not, the process returns to step 301 to restart the active/standby competition process.
  • the above-mentioned active/standby control competition step introduces the active/standby competition priority and the active main control service, so that the card with the main control capability can detect the main control service in a shorter time. After the detection timeout, the detection is faster. Exit the probe state and start the primary master service and determine the role of the board as the primary master. The other boards with the main control capability can ensure that the active main control service is detected within the detection timeout period. After the detection is completed, the detection status is quickly exited and connected to the main control service and the board is determined as the standby main control. After monitoring the disconnection of the active master service, the active/standby competition mechanism will be restarted, and the probe timeout period will be recalculated to make the system run efficiently.
  • the active/standby device includes:
  • the delay determining unit 410 is configured to determine a priority rule according to the slot information of the board, the function type of the board, the slot information of other online boards, and the type of functions of other online boards, according to the priority
  • the rule determines the delay time for the board to initiate detection, wherein the board and other online boards are plugged into corresponding slots of a middle board, and the boards are communicatively connected, the board and other
  • the online boards all have control functions, and the types of functions include a main control board, a switch board, and a service board;
  • Each of the boards includes a main control board, a switch board, a service board, and the like.
  • the boards of the main control board, the switch board, and the service board are plugged together through a middle board, that is, Each board is inserted into a slot of the middle board; and a communication connection is established between the boards, and a plurality of communication connections can be established between the boards.
  • a switch can be set.
  • the switching device SW is implemented to implement a communication connection between any two boards.
  • the switch switching device SW is composed of a smart ASIC chip having a control function and a switching function, the chip has a plurality of interfaces, and each of the plurality of interfaces can be configured as a path with any other interface, using a switch switching device
  • the SW can establish an inter-board information channel between each board, realize the communication connection of each board, and realize the two-two interconnection between the boards. It should be noted that the inter-board information channel between the boards established by the device SW may be an information channel based on Ethernet.
  • inter-board information channel between the boards may also be constituted by a dedicated signal line connected through the middle board.
  • the delay determining unit 410 further includes:
  • the first determining unit 411 is configured to determine the slot number of the board, the function type of the board, the slot number of other online boards, and the type of functions of other online boards;
  • Each board can obtain information about the slot of the board and a slot information of the other board through the board.
  • the slot information of the board is the information provided by the board to each board.
  • the information reflects
  • the slot information of the board provided by the middle board is represented by a set of high and low level signals. For example, 001 indicates that the slot of the board is 2 slots, and 011 indicates this.
  • the slot of the board is 4 slots.
  • the slot information of the other online boards is orthogonally plugged into the middle board by the boards, causing a group of high and low level signal changes on the middle board. Whether the bit has the card insertion and the slot information of each card, the board obtains the level signal to determine the slot information of other online boards.
  • each card may be, for example, determining whether the boards belong to a main control board or a switch board, or other service boards, and the like.
  • the second determining unit 412 is configured to determine a priority order according to the descending order or ascending order of the slot number of the card slot and other slot numbers of the online card, and the function type of the board and other online cards. ;
  • the priority of each board can be determined according to the descending or ascending order of the slot numbers of the boards, and the functions implemented by each board. For example, the principle of descending order of the slot number, that is, the smaller the slot number, the higher the priority of the board, and the priority of the main control board is greater than the switch board, and the priority of the switch board is greater than the rules of the service board.
  • the priority order of the cards It should be noted that, the present application comprehensively considers the slot number of each board and the function of each board to determine the priority. The specific corresponding rules may be specifically determined according to the actual situation, and are not limited to the present application.
  • the priority of the main control board is greater than that of the switch board, and the priority of the switch board is greater than that of the service board.
  • Each board is pre-scheduled according to the function, and then the external priority order is set, and then the board with the same function is used.
  • the card for example, multiple service boards, determines an internal priority order by descending or ascending order of slot numbers, and finally determines the final priority order according to the external priority order and the internal priority order.
  • the above-mentioned corresponding rules for determining the priority based on the slot number of each board and the function of each board card may be determined according to specific conditions, and the priority level corresponding to each board function may also be changed according to actual conditions, for example, when When the main control board needs to be used for deep packet parsing, the priority rule can be changed to the priority of the switch board greater than the main control board.
  • the third determining unit 413 is configured to determine a delay time of the card according to a rule that the higher the priority is, the shorter the delay time is.
  • the delay time of each board is determined according to the rule that the higher the priority is, the shorter the delay time is, so that the board with higher priority has greater initiative and The possibility to assume the role of the main master service.
  • the present application may also set the determination rule of the delay time to the lower the priority level, and the shorter the delay time, which is not limited to the specific embodiment of the present application.
  • the detecting unit 420 is configured to detect, according to the delay time, whether there is an active main control service information, where the main active service information reflects whether the main active service role exists;
  • level 0 represents the highest priority level
  • the service information the first to determine whether it has to assume a role of the main master service.
  • the primary role determining unit 430 is configured to determine that the card role is the primary hosting service role and send a primary hosting service information when detecting that the primary hosting service information does not exist.
  • Each board delays the corresponding delay time according to the priority rule to start detecting whether there is an active main control service information, and the main use service information reflects whether there is a main active service role, that is, When there is a primary master service role, an active master service information can be detected. Otherwise, when the master master service role does not exist, the master master service information cannot be detected.
  • the board detects that there is no information about the active master service, it indicates that there is no active role of the active master service. At this time, the probe board determines itself as the master service role and sends a master. With the master service information, it has been informed that the other board master master service role is already in place.
  • the standby role determining unit 440 is configured to connect the primary hosting service information when detecting that there is one primary hosting service information, and determine that the card role is an alternate hosting service role.
  • the boards periodically detect whether there is an active main control service information according to a priority rule.
  • a board detects that there is an active main control service information, it indicates that the main main control service role is in place at this time. , then determine itself as the alternate master service role, and send a connection request to the board serving as the master master service role, the board serving as the master master service role receives the connection request and is allowed to serve.
  • the board connection of the standby master service role, the board serving as the standby master service role monitors the behavior of the board serving as the master master service role in real time through the primary master service information.
  • the active/standby device further includes:
  • the monitoring unit 450 monitors whether the active main control service is running normally, and if yes, continues to monitor, if otherwise, the active/standby competition process is resumed.
  • FIG. 5 is a schematic structural diagram of a specific embodiment of a chassis-type communication device for applying the active/standby competition device according to the present application.
  • the chassis-type communication device 5.1 includes two mains. Control boards 5.2 and 5.3, two switch boards 5.4 and 5.5, and multiple service boards 5.6, 5.7, ..., 5.n.
  • the two main control boards, two switch boards, and multiple service boards each have an independent control unit. With the control unit, each main control board, switch board, and service board can bear the machine.
  • the chassis type communication device 5.1 can also be configured as two main control boards and two switch boards having independent control units, by means of which each main control board Both the card and the switch board can assume the role of the main control card of the chassis type communication device 5.1.
  • the chassis type communication device 5.1 may have only two switch board cards and multiple service board cards, and the switch board card and the plurality of block service boards each have an independent control unit.
  • the control unit, each switch board and service board can assume the role of the main control card of the chassis type device 5.1.
  • the chassis-type communication device 5.1 performs an active/standby control right competition step, and through the active/standby control right competition step, it can be determined which one of the boards that can assume the role of the active primary control card
  • the main control board of the chassis type communication device 5.1 is truly realized, and the management control of the entire chassis type communication device 5.1 is realized by the main control board.
  • the switch boards 5.4, 5.5 each have a switch switching device SW.
  • chassis type communication device 5.1 there is also a middle board through which the devices SW of the two switch boards 5.4 and 5.5 are respectively connected to the two main control boards 5.2 and 5.3, and each switch board 5.4
  • the device SW of 5.5 is connected to N service boards 5.6, 5.7, ..., 5.n, respectively, and the devices SW of the two switch boards 5.4, 5.5 are connected to each other.
  • the main control board 5.2 is respectively connected to the main control board 5.3, the two exchange boards 5.4, 5.5 and N service boards 5.6, 5.7, ..., 5.n;
  • the second type, the main control board 5.3 is respectively connected to the main control board 5.2, two exchange boards 5.4, 5.5 and N business boards 5.6, 5.7, ..., 5.n;
  • the switch board 5.4 is respectively connected to two main control boards 5.2, 5.3, a switch board 5.5 and N service boards 5.6, 5.7, ..., 5.n;
  • the fourth type, the switch board 5.5 is connected to two main control boards 5.2, 5.3, the exchange board 5.4 and N business boards 5.6, 5.7, ..., 5.n;
  • any one of the service boards is connected to two main control boards 5.2, 5.3, two exchange boards 5.4, 5.5 and other N-1 service boards.
  • the fifth connection capability can be applied to each service board 5.6, 5.7, ..., 5.n.
  • the main control boards 5.2, 5.3, and the exchange boards 5.4, 5.5 are all designed to have the board that the control unit can assume the role of the main control card, and each board can pass the middle board. Obtain information about one board slot and one other slot card slot.
  • chassis-type communication device 5.1 having two main control boards 5.2, 5.3, two switch boards 5.4, 5.5, and 12 service boards:
  • the frame type communication device 5.1 is configured as two main control boards and two exchange boards have independent control units. With the control unit, each main control board and switch board can bear the frame type.
  • the main control boards 5.2, 5.3, the switch boards 5.4, 5.5 can use the inter-board information between the boards in the active-standby competition process.
  • Channel detects whether there is an active main control board. Therefore, it is finally determined which one of the main control boards 5.2, 5.3 and the switch boards 5.4, 5.5 is used as the main control board, providing the main control service, and implementing the entire chassis type communication device 5.1. Management control.
  • all boards are orthogonally connected to the midplane, and the inter-board channels are connected based on the devices SW of the two switch boards 5.4, 5.5, of which two main control boards 5.2, 5.3 and two switch boards Both 5.4 and 5.5 have master control capabilities.
  • the device SW connects the main control board 5.2 to the main control board 5.3, the switch board 5.4, 5.5 and 12 service boards respectively.
  • the device SW also connects the main control board 5.3 to the main control board 5.2, the switch board 5.4, 5.5 and 12 service boards respectively.
  • the device SW also connects the switch board 5.4 to the main control board 5.2, 5.3, the switch board 5.5 and 12 service boards.
  • the device SW also connects the switch board 5.5 to the two main control boards 5.2, 5.3, the switch board 5.4 and the 12 service boards.
  • the main control board 5.2 is 15 slots
  • the main control board 5.3 is 16 slots
  • the switch board 5.4 is 13 slots
  • the switch board 5.5 is 14 slots
  • 12 service boards are used. It is 1 to 12 slots in sequence.
  • the first type If two main control boards 5.2, 5.3 and two switch boards 5.4, 5.5 have been inserted into device 5.1, and in normal operation, after booting, four boards will perform active and standby control competition. , including the steps below:
  • Any one of the four boards will be based on the slot information of the board and the online board information of other slots with the main control capability.
  • the priority of the board is greater than the switch board according to the main control board 5.2 and 5.3. 5.4, 5.5, the priority of the switch board 5.4, 5.5 is greater than the priority of the service board, and the lower the slot number is, the higher the priority is, and the priority of the active/standby competition of the board is calculated.
  • the priority of the main control board 5.2 is set to 0, the priority of the main control board 5.3 is 1, the priority of the switch board .4 is 2, and the priority of the switch board 5.5 is 3.
  • the priority of the main control board 5.2 is greater than the priority of the main control board 5.3 is greater than the priority of the switch board 5.4 is greater than the priority of the switch board 5.5;
  • Any one of the four boards will calculate a detection timeout according to the principle that the detection delay time is higher according to the higher priority.
  • timeout priority*1000: where the main control board 5.2 is 0 milliseconds, the main control board 5.3 is 1000 milliseconds, the switch board 5.4 is 2000 milliseconds, and the switch board 5.5 is 3000 milliseconds. ;
  • the four boards connect the main control service information according to the respective detection delay times;
  • the main control board 5.2 because the detection timeout time is the shortest, the first through the inter-board channel, start the detection task of the main control service, and connect the main control service information, at this time, the main user
  • the control service information reflects that there is no active main control board, and the main control board 5.2 performs step 10);
  • step 7) Since the detection delay time of the main control board 5.3 and the switch board 5.4, 5.5 is slightly longer, when the main control service information is connected through the inter-board channel, the control panel 5.2 will be detected. The main control service information indicating that the main control board is already in place is reflected, and step 7) is performed.
  • the main control board 5.3 and the switch board 5.4, 5.5 are connected to the main control service information;
  • the main control board 5.2 determines that the board role is the main control role
  • the main control board 5.2 outputs the main control service information indicating that the main control board is already in place through the inter-board information channel.
  • any one of the two switch boards 5.4 and 5.5 will be based on the slot information of the board and the online board information of other slots with the main control capability. According to the priority of the main control board 5.2 and 5.3 The priority of the switch board is 5.4, 5.5, the priority of the switch board 5.4, 5.5 is greater than the priority of the service board, and the lower the slot number is, the higher the priority is. The priority of the active/standby competition of the board is calculated.
  • the priority of the switch board 4 is set to 0, and the priority of the switch board 5 is 1, that is, the priority of the switch board 4 is greater than the priority of the switch board 5.
  • Any one of the two switch boards 5.4 and 5.5 will calculate a detection delay time according to the principle that the detection delay time is higher according to the higher priority.
  • the switch board 5.4, 5.5 respectively connect the main master service information according to the respective probe timeout time;
  • the switch board 5.4 has the shortest detection timeout time, and firstly passes the inter-board channel to start the detection task of the main control service, and connects the main control service information, and the main control is at this time.
  • the service information reflects that there is no active main control board, and the switch board 5.4 performs step 10);
  • Step 7) The switch board 5.5 determines that the role of the board is the standby master
  • Step 8) The switch board 5.5 connects the main control service information
  • Step 9) When the main control service information indicates that the main control board is not operating normally, the switch board 5.5 returns to step 3) to start a new round of active and standby control competition steps.
  • the switch board 5.4 determines that the board role is the master role
  • the switch board 5.4 outputs the main control service information indicating that the main control board is already in place through the inter-board information channel.
  • the application of the application can effectively shorten the startup time of the system and improve the operating efficiency of the system.
  • the multi-master control scheme improves the reliability of the system, reduces the dependence of the chassis-type equipment on the dual-master control scheme, and can utilize the design method of reducing the master control slot when designing the multi-slot chassis-type device. Reduce the size of the frame and reduce the design difficulty. It is also possible to improve the performance of the device by designing more service boards, thereby improving the market competitiveness of the equipment.

Abstract

La présente invention concerne un procédé et un dispositif de concurrence maître/réserve, et équipement d'application. Le procédé comporte les étapes consistant à: déterminer une règle de priorité d'après des informations d'emplacement d'une carte, un type de fonction de la carte, les informations d'emplacement d'autres cartes en ligne, et les types de fonctions des autres cartes en ligne, et déterminer un retard temporel de démarrage de détection de la carte selon la règle de priorité; détecter, en fonction du retard temporel, s'il existe des informations de service de commande de maître primaire; si non, déterminer que le rôle de la carte est un rôle de service de commande de maître primaire, et émettre les informations de service de commande de maître primaire; et si oui, connecter les informations de service de commande de maître primaire, et déterminer que le rôle de la carte est un rôle de service de commande de maître de réserve. Au moyen de la présente invention, un schéma de commande de maître double est mis à niveau pour donner un schéma de commande de maîtres multiples, de sorte que la fiabilité du système est améliorée, et le degré de dépendance d'un équipement de type cadre vis-à-vis du schéma de commande de maître double est réduit.
PCT/CN2017/117119 2017-09-18 2017-12-19 Procédé et dispositif de concurrence maître/réserve, et équipement d'application WO2019052069A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710837810.6A CN107547281B (zh) 2017-09-18 2017-09-18 一种主备竞争方法、装置及应用设备
CN201710837810.6 2017-09-18

Publications (1)

Publication Number Publication Date
WO2019052069A1 true WO2019052069A1 (fr) 2019-03-21

Family

ID=60963207

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117119 WO2019052069A1 (fr) 2017-09-18 2017-12-19 Procédé et dispositif de concurrence maître/réserve, et équipement d'application

Country Status (2)

Country Link
CN (1) CN107547281B (fr)
WO (1) WO2019052069A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115001963A (zh) * 2022-05-05 2022-09-02 武汉光迅信息技术有限公司 基于多元配置存储通信设备的信息配置方法及装置
CN117434824A (zh) * 2023-12-20 2024-01-23 天津航空机电有限公司 一种冗余控制板卡上电主备确定方法

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600122A (zh) * 2018-03-28 2018-09-28 北京百度网讯科技有限公司 框式交换机网管口实现方法及装置
CN109302359A (zh) * 2018-11-27 2019-02-01 迈普通信技术股份有限公司 一种网络设备、链路转换方法及装置
CN111007753B (zh) * 2019-10-25 2021-07-06 苏州浪潮智能科技有限公司 一种双控制器的主备仲裁方法与装置
CN110780589A (zh) * 2019-11-08 2020-02-11 航天柏克(广东)科技有限公司 一种主机的竞争产生方法
CN111314180B (zh) * 2020-02-27 2022-02-18 深圳震有科技股份有限公司 一种以太网链路测试方法、终端及存储介质
CN112666910A (zh) * 2020-12-28 2021-04-16 浙江中控技术股份有限公司 一种调度系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060068306A (ko) * 2004-12-16 2006-06-21 삼성전자주식회사 이중화 보드 제어 장치 및 방법
CN101242310A (zh) * 2008-03-21 2008-08-13 北京佳讯飞鸿电气股份有限公司 一种通信接口板主备用切换方法
CN101834748A (zh) * 2009-03-12 2010-09-15 中兴通讯股份有限公司 一种主备竞争的方法及装置
CN101938417A (zh) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 板卡主备配置的实现方法和板卡
CN106598888A (zh) * 2016-12-22 2017-04-26 广东威创视讯科技股份有限公司 一种采用rs485协议的多板卡通讯系统及方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447858B (zh) * 2008-01-17 2012-01-11 中兴通讯股份有限公司 双机热备份系统中实现虚拟路由冗余协议同步倒换的方法
CN102291303B (zh) * 2011-08-12 2014-07-23 大唐移动通信设备有限公司 一种单板及其确定主备状态的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060068306A (ko) * 2004-12-16 2006-06-21 삼성전자주식회사 이중화 보드 제어 장치 및 방법
CN101242310A (zh) * 2008-03-21 2008-08-13 北京佳讯飞鸿电气股份有限公司 一种通信接口板主备用切换方法
CN101834748A (zh) * 2009-03-12 2010-09-15 中兴通讯股份有限公司 一种主备竞争的方法及装置
CN101938417A (zh) * 2010-09-01 2011-01-05 中兴通讯股份有限公司 板卡主备配置的实现方法和板卡
CN106598888A (zh) * 2016-12-22 2017-04-26 广东威创视讯科技股份有限公司 一种采用rs485协议的多板卡通讯系统及方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115001963A (zh) * 2022-05-05 2022-09-02 武汉光迅信息技术有限公司 基于多元配置存储通信设备的信息配置方法及装置
CN115001963B (zh) * 2022-05-05 2024-01-05 武汉光迅信息技术有限公司 基于多元配置存储通信设备的信息配置方法及装置
CN117434824A (zh) * 2023-12-20 2024-01-23 天津航空机电有限公司 一种冗余控制板卡上电主备确定方法
CN117434824B (zh) * 2023-12-20 2024-04-09 天津航空机电有限公司 一种冗余控制板卡上电主备确定方法

Also Published As

Publication number Publication date
CN107547281A (zh) 2018-01-05
CN107547281B (zh) 2020-07-24

Similar Documents

Publication Publication Date Title
WO2019052069A1 (fr) Procédé et dispositif de concurrence maître/réserve, et équipement d'application
EP2793428B1 (fr) Système de serveur reposant sur une commutation d'interconnexion express de composants périphériques (pcie) et procédé et dispositif de commutation de celui-ci
US10284499B2 (en) Dedicated control path architecture for systems of devices
EP2854369B1 (fr) Procédé et appareil permettant de détecter une connexion d'interface entre des dispositifs
US20070008898A1 (en) Point-to-point link negotiation method and apparatus
EP2663038A1 (fr) Procédé de gestion de port de puce de commutation, carte de commande principale, tableau de commutation, et système
EP2391061B1 (fr) Procédé, appareil et système pour configurer des dispositifs de réseau maîtres-esclaves
US8244793B2 (en) Resetting a HyperTransport link in a blade server
CN104899170A (zh) 分布式智能平台管理总线ipmb连接方法及atca机框
CN115686872B (zh) 基于bmc的内存资源处理设备、方法、装置及介质
US20100257400A1 (en) Network loop healing apparatus and methods
WO2013075501A1 (fr) Procédé et dispositif de connexion à chaud d'un nœud
US20130242798A1 (en) Apparatus for duplicating router in building automatic control system and controlling method thereof
US9100336B2 (en) Method for managing a switch chip port, main control board, switch board, and system
CN105763442A (zh) 主备倒换lacp聚合链路不中断的pon系统及方法
US9705823B2 (en) Port status synchronization method, related device, and system
JP2006020224A (ja) 通信制御装置、電子機器および通信制御方法
CN115509333A (zh) 一种服务器协同上下电装置、方法、系统及介质
CN111181766B (zh) 一种冗余fc网络系统及其实现交换机动态配置的方法
CN111211927B (zh) 一种资源同步方法及装置
US9811496B2 (en) Method and apparatus for detecting interface connection between devices
JP2003348109A (ja) データ通信システム及び通信装置
JP2010136038A (ja) 伝送装置及び冗長構成部の系切替え方法
JP2000040013A (ja) 二重化通信システムの回線異常検出方法
JP6982246B2 (ja) 通信装置、通信システム及び通信方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17925283

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17925283

Country of ref document: EP

Kind code of ref document: A1