CN1152583C - Reset controller and its implementation method - Google Patents

Reset controller and its implementation method Download PDF

Info

Publication number
CN1152583C
CN1152583C CNB011296313A CN01129631A CN1152583C CN 1152583 C CN1152583 C CN 1152583C CN B011296313 A CNB011296313 A CN B011296313A CN 01129631 A CN01129631 A CN 01129631A CN 1152583 C CN1152583 C CN 1152583C
Authority
CN
China
Prior art keywords
circuit
command
reset
main control
board
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
Application number
CNB011296313A
Other languages
Chinese (zh)
Other versions
CN1394085A (en
Inventor
李振亚
谢寿波
张明
项能武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB011296313A priority Critical patent/CN1152583C/en
Publication of CN1394085A publication Critical patent/CN1394085A/en
Application granted granted Critical
Publication of CN1152583C publication Critical patent/CN1152583C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

本发明公开了一种复位控制电路及相应的复位方法,用于主控板对机框内业务板进行复位控制,该电路至少包括:背板总线、命令发送电路、命令接收电路以及狗电路;命令发送电路设置于主控板上,与背板总线相连,用于接收主控CPU的复位命令并向复位总线发送;命令接收电路和狗电路设置于每个业务板上,且命令接收电路与背板总线相连,接收复位总线传来的复位命令,并控制狗电路执行复位操作。该电路可使主控板简便可靠地控制指定的业务板复位,同时节省了主控板背板插针的信号资源占用。

Figure 01129631

The invention discloses a reset control circuit and a corresponding reset method, which are used for a main control board to reset and control a service board in a machine frame. The circuit at least includes: a backplane bus, a command sending circuit, a command receiving circuit and a dog circuit; The command sending circuit is set on the main control board and connected to the backplane bus, and is used to receive the reset command of the main control CPU and send it to the reset bus; the command receiving circuit and the dog circuit are set on each service board, and the command receiving circuit and the It is connected to the backplane bus, receives the reset command from the reset bus, and controls the dog circuit to perform the reset operation. The circuit enables the main control board to easily and reliably control the reset of the specified service board, and simultaneously saves the occupation of signal resources of pins on the backplane of the main control board.

Figure 01129631

Description

复位控制电路及其实现方法Reset control circuit and its realization method

技术领域technical field

本发明涉及复位控制技术领域,特别涉及一种主控板对插框内业务板进行复位控制的电路及其实现方法。The invention relates to the technical field of reset control, in particular to a circuit for a main control board to reset control a service board in a subrack and an implementation method thereof.

背景技术Background technique

众所周知,在系统的硬件设计中,由于主控板与插框中所有的业务板均有联系,主控板的背板插针信号资源是最宝贵的。通常情况下,主控板采用星形方式对本插框内的业务板进行复位控制,框中有多少业务板,主控板对应的背板插针信号就被占用多少,也就是说,主控板的背板插针中因复位控制所占用的信号针与业务板是一对一的,这样大大浪费了主控板的背板插针信号资源。As we all know, in the hardware design of the system, since the main control board is connected with all the service boards in the subrack, the pin signal resources on the backplane of the main control board are the most precious. Normally, the main control board adopts a star mode to reset and control the service boards in the subrack. As many service boards as there are in the subrack, the corresponding backplane pin signals of the main control board are occupied. That is to say, the main control board The signal pins occupied by the reset control of the board's backplane pins are one-to-one with the service board, which greatly wastes the signal resources of the main control board's backplane pins.

目前,也有很多设备采用统一控制复位的方式,但都是由系统的软件来控制的,由软件发消息给相应的业务板进行复位操作,这种方法在正常工作情况下是没有问题的,但当某块业务板由于故障引起通信错误,或因该业务板主控系统程序异常而引起通信中断时,此时,该业务板与主控板之间的通信已经处于异常,再想通过软件复位是不可能的,因为该业务板工作状态已经出错,很可能接收不到软件的命令,而无法正常复位,导致该业务板只能通过人工复位才能重新工作,既耽误时间,又会影响到设备的通信质量。At present, there are also many devices that adopt the method of unified control and reset, but they are all controlled by the system software. The software sends a message to the corresponding service board to perform the reset operation. This method is no problem under normal working conditions, but When a certain service board causes a communication error due to a fault, or the communication is interrupted due to an abnormality in the main control system program of the service board, at this time, the communication between the service board and the main control board is already abnormal, and then reset by software It is impossible, because the working state of the service board has been wrong, it is likely that it cannot receive the software command, and cannot be reset normally, so the service board can only work again through manual reset, which will not only delay time, but also affect the equipment communication quality.

发明内容Contents of the invention

有鉴于此,本发明的主要目的在于提供一种复位控制电路,使主控板可以通过一背板总线随时控制指定的业务板复位,同时节省了主控板的背板插针信号资源。In view of this, the main purpose of the present invention is to provide a reset control circuit, so that the main control board can control the reset of the designated service board at any time through a backplane bus, and at the same time save the backplane pin signal resources of the main control board.

本发明的另一目的在于提供一种通过背板总线实现主控板对机框内业务板复位控制的方法,使其实现起来更简便、可靠。Another object of the present invention is to provide a method for realizing the reset control of the main control board on the service board in the machine frame through the backplane bus, so that the realization is simpler and more reliable.

本发明的上述目的是通过以下技术方案实现的:Above-mentioned purpose of the present invention is achieved through the following technical solutions:

一种用于主控板对机框内业务板进行复位控制的复位控制电路,包括:命令发送电路、背板总线、命令接收电路以及狗电路;其中,A reset control circuit for the main control board to reset and control the service boards in the frame, including: a command sending circuit, a backplane bus, a command receiving circuit and a dog circuit; wherein,

命令发送电路设置于主控板上,与主控板上的主控CPU相连,接收主控CPU的复位命令,并与背板总线相连,用于发送复位命令给对应业务板;The command sending circuit is arranged on the main control board, is connected with the main control CPU on the main control board, receives the reset command of the main control CPU, and is connected with the backplane bus, and is used to send the reset command to the corresponding service board;

命令接收电路和狗电路设置于每个业务板上,命令接收电路与背板总线相连,从背板总线上接收由主控板发来的复位命令,控制连接于其后的狗电路对本板进行复位操作。The command receiving circuit and the dog circuit are set on each service board, the command receiving circuit is connected to the backplane bus, receives the reset command sent by the main control board from the backplane bus, and controls the dog circuit connected to it to reset the board. Reset operation.

所述的命令发送电路至少包括CPU接口电路、校验发生电路和并/串转换电路;CPU接口电路接收主控CPU发送过来的复位命令,提供给连接于其后的校验发生电路进行数据校验,经过校验的数据通过并/串转换电路转换为串行数据发送到背板总线上。所述的命令发送电路还可进一步包括一同步与时钟电路,分别与校验发生电路和并/串转换电路相连,用于提供时钟或保持同步。The described command transmission circuit at least includes a CPU interface circuit, a verification generation circuit and a parallel/serial conversion circuit; the CPU interface circuit receives the reset command sent by the main control CPU, and provides it to the verification generation circuit connected thereafter for data verification. After verification, the verified data is converted into serial data through the parallel/serial conversion circuit and sent to the backplane bus. The command sending circuit may further include a synchronization and clock circuit, respectively connected to the verification generation circuit and the parallel/serial conversion circuit, for providing clock or maintaining synchronization.

所述的命令接收电路至少包括串/并转换电路、命令处理电路;串/并转换电路接收与复位总线相连,接收复位总线上的复位命令,将所接收的串行数据转换为并行数据,送至命令处理电路对复位命令进行处理。所述的命令接收电路还可进一步包括一同步与时钟电路,用于提供时钟或保持同步;一采样判决电路,用于以本地时钟采样数据。The command receiving circuit at least includes a serial/parallel conversion circuit and a command processing circuit; the serial/parallel conversion circuit receives and connects to the reset bus, receives a reset command on the reset bus, converts the received serial data into parallel data, and sends The reset command is processed by the command processing circuit. The command receiving circuit may further include a synchronization and clock circuit for providing a clock or maintaining synchronization; a sampling decision circuit for sampling data with a local clock.

所述的命令处理电路至少包括地址比较电路、校验检测电路和命令解释电路,用于对所接收的复位命令进行比较、校验和解释处理,自命令解释电路输出的信号送入连接于其后的狗电路。The command processing circuit at least includes an address comparison circuit, a verification detection circuit and a command interpretation circuit, which are used to compare, verify and interpret the received reset command, and the signal output from the command interpretation circuit is sent to the After the dog circuit.

所述的背板总线由一根或一根以上信号线组成。The backplane bus is composed of one or more signal lines.

本发明一种应用上述复位控制电路实现主控板对机框内业务板进行复位的方法,至少包括以下步骤:In the present invention, a method for implementing the above-mentioned reset control circuit to realize the reset of the service board in the frame by the main control board comprises at least the following steps:

a.命令发送电路接收主控板CPU发送的命令,进行校验以及并/串转换后,将该命令数据送至背板总线上;a. The command sending circuit receives the command sent by the main control board CPU, performs verification and parallel/serial conversion, and sends the command data to the backplane bus;

b.命令接收电路接收背板总线上的命令,经过串/并转换后,送至命令处理电路进行处理;b. The command receiving circuit receives the command on the backplane bus, and after serial/parallel conversion, sends it to the command processing circuit for processing;

c.在命令处理电路中,首先判断该命令是否为本业务板,如果不是,则丢弃,如果是,则判断接收到的命令是否有效;若命令无效,则丢弃,若命令有效,则由命令解释电路解析出该具体命令;c. In the command processing circuit, first judge whether the command is for the service board, if not, then discard, if yes, then judge whether the received command is valid; if the command is invalid, then discard, if the command is valid, the command The explanation circuit parses out the specific command;

d.如果解析出的是复位命令,则命令接收电路输出信号给其后的狗电路,控制本业务板的复位操作;否则,不作操作或执行命令解释电路解析出的相应命令。d. If the reset command is analyzed, the command receiving circuit outputs a signal to the subsequent dog circuit to control the reset operation of the service board; otherwise, no operation is performed or the corresponding command parsed by the command interpretation circuit is executed.

由上述方案可以看出,本发明的关键就在于:完全采用硬件方式实现复位控制,不涉及任何软件,所有复位命令的发送、接收与执行都由最底层的硬件电路完成,命令的传递是通过背板总线形式实现。而且,在硬件的电路设计中,每个业务板中接收命令的接收电路和执行命令处理的狗电路是与该业务板的主控系统分离的,即使该业务板内部的主控程序死掉,也同样可以通过硬件方式复位该板,使其恢复正常工作。It can be seen from the above-mentioned scheme that the key of the present invention is that the reset control is realized by hardware completely without involving any software, and the sending, receiving and execution of all reset commands are completed by the bottom hardware circuit, and the transmission of commands is through Realized in the form of backplane bus. Moreover, in the circuit design of the hardware, the receiving circuit for receiving commands and the dog circuit for executing command processing in each service board are separated from the main control system of the service board, even if the main control program inside the service board dies, It is also possible to reset the board by hardware to restore normal operation.

由此可见,本发明所提供的一种背板总线复位控制电路及其实现方法,是采用背板总线方式令主控板针对框中的所有业务板进行复位控制,从而大大缓解了主控板背板插针信号资源的紧张程度。同时,该复位控制方法完全是由底层硬件实现的,而且,在硬件传递的命令中带有业务板的地址信息,使其不受接收软件命令的限制,且可以随时、定向的复位指定的业务板,控制起来更加方便、灵活。It can be seen that the backplane bus reset control circuit and its implementation method provided by the present invention use the backplane bus method to enable the main control board to perform reset control on all service boards in the frame, thereby greatly reducing the need for the main control board. The tightness of the backplane pin signal resources. At the same time, the reset control method is completely realized by the underlying hardware, and the command transmitted by the hardware contains the address information of the service board, so that it is not restricted by receiving software commands, and can reset the specified business at any time and in a directional manner. Board, more convenient and flexible to control.

附图说明Description of drawings

图1为背板总线复位控制电路的结构示意图;FIG. 1 is a schematic structural diagram of a backplane bus reset control circuit;

图2为本发明命令发送电路的结构示意图;Fig. 2 is the structural representation of the order sending circuit of the present invention;

图3为本发明命令接收电路的结构示意图;Fig. 3 is a structural schematic diagram of the command receiving circuit of the present invention;

图4为本发明一实施例中复位命令发送电路的结构示意图;4 is a schematic structural diagram of a reset command sending circuit in an embodiment of the present invention;

图5为本发明一实施例中复位命令接收电路的结构示意图。FIG. 5 is a schematic structural diagram of a reset command receiving circuit in an embodiment of the present invention.

具体实施方式Detailed ways

下面配合附图对本发明的详细技术内容作进一步的说明如下:Below in conjunction with accompanying drawing, detailed technical content of the present invention is further described as follows:

参见图1所示,本发明的背板总线复位控制电路至少包括命令发送电路10、命令接收电路20、狗电路30和背板总线40。其中,命令发送电路10设置于主控板上,由主控CPU直接控制向对应业务板发送复位命令;在每个业务板上设置有命令接收电路20,用于接收主控板通过背板总线40发送给自己的复位命令,然后控制狗电路30对本板进行复位控制。命令发送和接收电路可以采用可编程逻辑电路(PLD)的逻辑器件设计,所发送的命令至少包含地址字段、命令字段和校验位等内容,命令可采用多次重发取样的方法发送,以提高可靠性。Referring to FIG. 1 , the backplane bus reset control circuit of the present invention at least includes a command sending circuit 10 , a command receiving circuit 20 , a dog circuit 30 and a backplane bus 40 . Wherein, the command sending circuit 10 is arranged on the main control board, and is directly controlled by the main control CPU to send a reset command to the corresponding service board; a command receiving circuit 20 is arranged on each service board, and is used to receive the main control board through the backplane bus 40 sends a reset command to itself, and then the control dog circuit 30 performs reset control on the board. The order sending and receiving circuit can adopt the logic device design of programmable logic circuit (PLD), and the order sent includes content such as address field, order field and parity bit at least, and order can be sent by the method of multiple resent sampling, with Improve reliability.

命令发送电路10设置于主控板中,其基本结构如图2所示,至少包括CPU接口电路11、校验发生电路12和并/串转换电路13。其中,CPU接口电路11接收CPU发送过来的命令后,转给校验发生电路12对数据信号进行校验,然后再经过并/串转换电路13发送到背板总线40上。该电路中还包括一同步与时钟电路14,用于提供时钟或保持同步。The command sending circuit 10 is arranged in the main control board, and its basic structure is shown in FIG. Wherein, after the CPU interface circuit 11 receives the command sent by the CPU, it transfers to the verification generation circuit 12 to verify the data signal, and then sends it to the backplane bus 40 through the parallel/serial conversion circuit 13 . The circuit also includes a synchronization and clock circuit 14 for providing a clock or maintaining synchronization.

命令接收电路20位于业务板中,其基本结构如图3所示,至少包括串/并转换电路21和命令处理电路22。串/并转换电路21首先接收复位总线40传送过来的命令,进行串/并转换后送至命令处理电路22进行处理,然后再由命令接收电路20控制业务板中的狗电路30进行相应的复位处理。如果复位总线工作于异步时钟模式,则在串/并转换前还需要增加一采样判决电路23,利用本地时钟采样数据。该电路中还包括一同步与时钟电路24,用于提供时钟或保持同步。The command receiving circuit 20 is located in the service board, and its basic structure is shown in FIG. 3 , including at least a serial/parallel conversion circuit 21 and a command processing circuit 22 . The serial/parallel conversion circuit 21 first receives the command sent by the reset bus 40, performs serial/parallel conversion and then sends it to the command processing circuit 22 for processing, and then the command receiving circuit 20 controls the dog circuit 30 in the service board to perform a corresponding reset deal with. If the reset bus works in the asynchronous clock mode, a sampling decision circuit 23 needs to be added before the serial/parallel conversion to sample data using the local clock. The circuit also includes a synchronization and clock circuit 24 for providing a clock or maintaining synchronization.

所述的命令处理电路22包括地址比较电路221、校验检测电路222及命令解释电路223三部分。地址比较电路221是根据命令中的地址信息来判断是否是对本板进行的复位控制,如果是,则进行校验;如果不是则丢弃。校验检测电路222是用来判断接收到的命令是否有效,如果校验正确表示命令有效,则交给命令解释电路223处理;如果校验错误说明接收的命令无效,直接丢弃。命令解释电路223对命令进行解释,如果接收到的是复位命令,则输出低电平脉冲使板内的狗电路30动作复位本板;如果不是复位命令,且此时无扩展命令定义,则不做出任何动作;若此时定义了扩展命令时,则执行由命令解释电路223译出的相应的命令动作。The command processing circuit 22 includes three parts: an address comparison circuit 221 , a verification detection circuit 222 and a command interpretation circuit 223 . The address comparison circuit 221 judges according to the address information in the command whether it is the reset control of the board, if yes, checks; if not, discards. The verification detection circuit 222 is used to judge whether the received command is valid. If the verification is correct, it indicates that the command is valid, then it is handed over to the command interpretation circuit 223 for processing; if the verification error indicates that the received command is invalid, it is directly discarded. Command interpreting circuit 223 explains order, if what receive is reset order, then output low level pulse and make dog circuit 30 actions in the board reset this board; Make any action; if an extended command is defined at this time, then execute the corresponding command action deciphered by the command interpretation circuit 223.

复位总线40的时钟模式可以使用同步方式,也可以使用异步方式,信号的定义由时钟模式决定。当复位总线采用同步方式时,背板定义了时钟信号,时钟由主控板提供,所有的业务板的接收电路使用主控板提供的时钟;当复位总线采用异步方式时,由于背板没有定义时钟信号,则业务板的命令接收电路中需要增加采用类似异步串口的检测电路对数据进行采样判别,相应的命令格式定义中也需增加起始位和可选的停止位标志。The clock mode of the reset bus 40 can be synchronous or asynchronous, and the definition of the signal is determined by the clock mode. When the reset bus adopts the synchronous mode, the backplane defines the clock signal, the clock is provided by the main control board, and the receiving circuits of all service boards use the clock provided by the main control board; when the reset bus adopts the asynchronous mode, since the clock signal, the command receiving circuit of the service board needs to add a detection circuit similar to the asynchronous serial port to sample and judge the data, and the corresponding command format definition also needs to add a start bit and an optional stop bit flag.

所发送命令的格式及命令长度可以灵活定义,校验的形式也可以任意选择,但必需包括业务板地址字段、命令字段和校验位三部分。如果采用异步时钟模式,则还必需增加起始位标志,而是否增加停止位可选。命令的具体格式如表一所示,命令字段中未定义的部分可以扩展使用。通过对命令字段的扩展部分进行定义,本总线可以扩展为执行其它类似的命令,比如:指示某块业务板的睡眠命令、唤醒命令等等。The format and length of the command sent can be flexibly defined, and the check form can also be selected arbitrarily, but it must include three parts: the service board address field, the command field and the check digit. If the asynchronous clock mode is used, it is necessary to increase the start bit flag, and whether to increase the stop bit is optional. The specific format of the command is shown in Table 1, and the undefined part of the command field can be extended and used. By defining the extended part of the command field, this bus can be extended to execute other similar commands, such as: instructing a certain service board to sleep and wake up commands.

                    表一命令格式 起始位 业务板地址字段 命令字段 校验位 停止位 Table 1 command format start bit Business board address field command field Check Digit stop bit

综上所述,背板总线控制电路的设计主要涉及以下三个部分的内容:In summary, the design of the backplane bus control circuit mainly involves the following three parts:

1)背板总线的设计。该总线可以由1根、2根、3根、4根或更多信号线组成,主要根据复位信号发送接收电路的设计复杂度及背板信号资源紧张程度而定;时钟同步方式也可以根据实际需求确定。1) Design of the backplane bus. The bus can be composed of 1, 2, 3, 4 or more signal lines, mainly based on the design complexity of the reset signal sending and receiving circuit and the tightness of the backplane signal resources; the clock synchronization method can also be based on the actual The needs are determined.

2)复位命令格式定义。至少包括地址字段、命令字段和校验位,采用异步时钟模式时,再增加起始位和选用停止位。2) Reset command format definition. It includes at least an address field, a command field and a parity bit, and when the asynchronous clock mode is used, a start bit and a stop bit are added.

3)命令发送电路和命令接收电路的结构设计。3) Structural design of command sending circuit and command receiving circuit.

请参见图4、图5所示,以一具体的实施例进一步对本发明加以说明。该实施例采用2根背板总线的同步复位控制。Referring to Fig. 4 and Fig. 5, the present invention will be further described with a specific embodiment. This embodiment adopts synchronous reset control of two backplane buses.

所应用的系统环境为:每个机框16个槽位,其中2块为主控板,14块业务板。2块主控板工作于双机备份方式,所有业务板只能接收主用的主控板发起的复位命令,备用主控板不允许发送复位命令。The applied system environment is: each chassis has 16 slots, including 2 main control boards and 14 service boards. The two main control boards work in the dual-system backup mode. All service boards can only receive reset commands initiated by the active main control board, and the standby main control board is not allowed to send reset commands.

首先,确定背板复位总线的信号定义。由于此实施例为同步时钟的复位总线,因此2根信号分别定义为数据(DAT)和时钟(CLK),主控板为主,业务板为从。First, determine the signal definition of the backplane reset bus. Since this embodiment is a reset bus for synchronous clocks, the two signals are respectively defined as data (DAT) and clock (CLK), the main control board is the master, and the service board is the slave.

然后,确定复位命令的格式。由于采用同步时钟方式,复位命令中起始位和结束位不需要;14个业务板槽位的地址只需用4Bit即可表示;命令字段定义为3Bit,其中,[000]B表示复位命令,其余命令码作为保留;校验位可以使用简单的1Bit奇偶校验。这样,该2线同步复位总线命令的格式如表二所示:Then, determine the format of the reset command. Due to the synchronous clock mode, the start bit and end bit in the reset command are unnecessary; the addresses of the 14 service board slots only need to be represented by 4Bit; the command field is defined as 3Bit, where [000]B means the reset command, The rest of the command codes are reserved; the parity bit can use a simple 1Bit parity check. In this way, the format of the 2-wire synchronous reset bus command is shown in Table 2:

       表二2线同步复位总线命令格式 业务板地址字段(4位) 命令字段(3位) 校验位(1位) Table 2 2-wire synchronous reset bus command format Service board address field (4 bits) Command field (3 bits) Check digit (1 digit)

最后,确定命令发送电路和接收电路的设计。由于2块主控板工作于双机备份方式,因此主控板的复位命令发送电路需要引入主备状态信号来控制复位命令的输出,如图4所示。命令发送电路10同时送DAT和CLK两个信号到背板复位总线40上,命令接收电路20同时收下这两个信号,其中DAT信号在串/并转换电路21进行转换,以及命令处理电路22中进行后期命令处理后,由狗电路30对该业务板执行复位操作;而CLK信号送入同步与时钟电路24中,用以同步时钟,如图5所示。Finally, determine the design of the command sending circuit and receiving circuit. Since the two main control boards work in dual-machine backup mode, the reset command sending circuit of the main control board needs to introduce the main and standby status signals to control the output of the reset command, as shown in Figure 4. The command sending circuit 10 sends two signals of DAT and CLK to the backplane reset bus 40 at the same time, and the command receiving circuit 20 receives these two signals at the same time, wherein the DAT signal is converted in the serial/parallel conversion circuit 21, and the command processing circuit 22 After the post-command processing, the dog circuit 30 performs a reset operation on the service board; and the CLK signal is sent to the synchronization and clock circuit 24 to synchronize the clock, as shown in FIG. 5 .

该背板复位总线控制电路及其实现方法可缓解主控板的背板插针信号资源的紧张程度,其具体实现时可根据发送和接收电路的设计复杂程度以及背板信号资源紧张程度进行综合评价,给出恰当的设计。The backplane reset bus control circuit and its implementation method can alleviate the tension of the backplane pin signal resources of the main control board, and its specific implementation can be synthesized according to the design complexity of the sending and receiving circuits and the tension of the backplane signal resources. Evaluate and give an appropriate design.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (12)

1、一种复位控制电路,用于主控板对机框内业务板进行复位控制,其特征在于该电路至少包括:命令发送电路、背板总线、命令接收电路以及狗电路;其中,1. A reset control circuit, which is used for the main control board to reset the service boards in the frame, and is characterized in that the circuit at least includes: a command sending circuit, a backplane bus, a command receiving circuit and a dog circuit; wherein, 命令发送电路设置于主控板上,与主控板上的主控CPU相连,接收主控CPU的复位命令,并与背板总线相连,用于发送复位命令给对应业务板;The command sending circuit is arranged on the main control board, is connected with the main control CPU on the main control board, receives the reset command of the main control CPU, and is connected with the backplane bus, and is used to send the reset command to the corresponding service board; 命令接收电路和狗电路设置于每个业务板上,命令接收电路与背板总线相连,从背板总线上接收由主控板发来的复位命令,控制连接于其后的狗电路对本板进行复位操作。The command receiving circuit and the dog circuit are set on each service board, the command receiving circuit is connected to the backplane bus, receives the reset command sent by the main control board from the backplane bus, and controls the dog circuit connected to it to reset the board. Reset operation. 2、根据权利要求1所述的复位控制电路,其特征在于:所述的背板总线由一根或一根以上信号线组成。2. The reset control circuit according to claim 1, wherein said backplane bus is composed of one or more signal lines. 3、根据权利要求1所述的复位控制电路,其特征在于:所述的命令发送电路至少包括CPU接口电路、校验发生电路和并/串转换电路;CPU接口电路接收主控CPU发送过来的复位命令,提供给连接于其后的校验发生电路进行数据校验,经过校验的数据通过并/串转换电路转换为串行数据发送到背板总线上。3. The reset control circuit according to claim 1, characterized in that: the command sending circuit at least includes a CPU interface circuit, a verification generation circuit and a parallel/serial conversion circuit; the CPU interface circuit receives the command sent by the main control CPU The reset command is provided to the verification generation circuit connected thereafter for data verification, and the verified data is converted into serial data by the parallel/serial conversion circuit and sent to the backplane bus. 4、根据权利要求3所述的复位控制电路,其特征在于:所述的命令发送电路进一步包括一同步与时钟电路,分别与校验发生电路和并/串转换电路相连,用于提供时钟或保持同步。4. The reset control circuit according to claim 3, characterized in that: said command sending circuit further includes a synchronization and clock circuit, respectively connected to the verification generation circuit and the parallel/serial conversion circuit, for providing clock or keep in sync. 5、根据权利要求1所述的复位控制电路,其特征在于:所述的命令接收电路至少包括串/并转换电路、命令处理电路;串/并转换电路接收与复位总线相连,接收复位总线上的复位命令,将所接收的串行数据转换为并行数据,送至命令处理电路对复位命令进行处理。5. The reset control circuit according to claim 1, characterized in that: the command receiving circuit at least includes a serial/parallel conversion circuit and a command processing circuit; the serial/parallel conversion circuit is connected to the reset bus for receiving The reset command of the received serial data is converted into parallel data and sent to the command processing circuit to process the reset command. 6、根据权利要求5所述的复位控制电路,其特征在于:所述的命令接收电路进一步包括一同步与时钟电路,用于提供时钟或保持同步。6. The reset control circuit according to claim 5, wherein the command receiving circuit further comprises a synchronization and clock circuit for providing a clock or maintaining synchronization. 7、根据权利要求5所述的复位控制电路,其特征在于:所述的命令处理电路至少包括地址比较电路、校验检测电路和命令解释电路,用于对所接收的复位命令进行比较、校验和解释处理,自命令解释电路输出的信号送入连接于其后的狗电路。7. The reset control circuit according to claim 5, characterized in that: said command processing circuit at least includes an address comparison circuit, a verification detection circuit and a command interpretation circuit for comparing and correcting the received reset command. Checking and interpretation processing, the signal output from the command interpretation circuit is sent into the dog circuit connected thereafter. 8、根据权利要求5或6所述的复位控制电路,其特征在于:所述的命令接收电路还可包括一采样判决电路,用于以本地时钟采样数据。8. The reset control circuit according to claim 5 or 6, characterized in that the command receiving circuit further includes a sampling decision circuit for sampling data with a local clock. 9、根据权利要求1所述的复位控制电路,其特征在于:所述背板总线的时钟模式为同步模式,或为异步模式。9. The reset control circuit according to claim 1, wherein the clock mode of the backplane bus is a synchronous mode or an asynchronous mode. 10、一种应用复位控制电路实现主控板对机框内业务板进行复位的方法,所述复位控制电路至少包括:命令发送电路、背板总线、命令接收电路以及狗电路,其特征在于该方法至少包括以下步骤:10. A method for using a reset control circuit to realize that the main control board resets the service boards in the machine frame. The reset control circuit at least includes: a command sending circuit, a backplane bus, a command receiving circuit and a dog circuit, characterized in that the The method at least includes the following steps: a.命令发送电路接收主控板CPU发送的命令,进行校验以及并/串转换后,将该命令数据送至背板总线上;a. The command sending circuit receives the command sent by the main control board CPU, performs verification and parallel/serial conversion, and sends the command data to the backplane bus; b.命令接收电路接收背板总线上的命令,经过串/并转换后,送至命令处理电路进行处理;b. The command receiving circuit receives the command on the backplane bus, and after serial/parallel conversion, sends it to the command processing circuit for processing; c.在命令处理电路中,首先判断该命令是否为本业务板,如果不是,则丢弃,如果是,则判断接收到的命令是否有效;若命令无效,则丢弃,若命令有效,则由命令解释电路解析出该具体命令;c. In the command processing circuit, first judge whether the command is for the service board, if not, then discard, if yes, then judge whether the received command is valid; if the command is invalid, then discard, if the command is valid, the command The explanation circuit parses out the specific command; d.如果解析出的是复位命令,则命令接收电路输出信号给其后的狗电路,控制本业务板的复位操作;否则,不作操作或执行命令解释电路解析出的相应命令。d. If the reset command is analyzed, the command receiving circuit outputs a signal to the subsequent dog circuit to control the reset operation of the service board; otherwise, no operation is performed or the corresponding command parsed by the command interpretation circuit is executed. 11、根据权利要求10所述的实现方法,其特征在于:所述的命令至少由地址字段、命令字段和校验位构成,该地址字段为需要复位的业务板地址。11. The implementation method according to claim 10, wherein the command at least consists of an address field, a command field and a check digit, and the address field is the address of the service board to be reset. 12、根据权利要求11所述的实现方法,其特征在于:所述的命令还可进一步包括起始位,或起始位与停止位。12. The implementation method according to claim 11, characterized in that the command further includes a start bit, or a start bit and a stop bit.
CNB011296313A 2001-06-25 2001-06-25 Reset controller and its implementation method Expired - Fee Related CN1152583C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011296313A CN1152583C (en) 2001-06-25 2001-06-25 Reset controller and its implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011296313A CN1152583C (en) 2001-06-25 2001-06-25 Reset controller and its implementation method

Publications (2)

Publication Number Publication Date
CN1394085A CN1394085A (en) 2003-01-29
CN1152583C true CN1152583C (en) 2004-06-02

Family

ID=4669323

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011296313A Expired - Fee Related CN1152583C (en) 2001-06-25 2001-06-25 Reset controller and its implementation method

Country Status (1)

Country Link
CN (1) CN1152583C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645981B (en) * 2008-08-05 2011-11-30 中兴通讯股份有限公司 Intelligent platform management interface resetting system and method thereof

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100361047C (en) * 2004-08-29 2008-01-09 华为技术有限公司 Method and apparatus for raising reliability of bus transmission
CN101197851B (en) * 2008-01-08 2010-12-08 杭州华三通信技术有限公司 Method and system for implementing control of plane centralized type data plane distribution
CN101997815B (en) * 2009-08-20 2013-01-02 华为技术有限公司 Exception recovery device and method of serial and parallel conversion interface
CN105488010B (en) * 2016-01-06 2018-11-23 东阳市前途工业设计有限公司 A kind of backboard real-time synchronization interface protocol
CN112051913A (en) * 2020-09-11 2020-12-08 深圳市信锐网科技术有限公司 Device resetting method and device on board card, logic device and storage medium
CN112910590B (en) * 2021-01-28 2022-10-21 广州广哈通信股份有限公司 Clock synchronization system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645981B (en) * 2008-08-05 2011-11-30 中兴通讯股份有限公司 Intelligent platform management interface resetting system and method thereof

Also Published As

Publication number Publication date
CN1394085A (en) 2003-01-29

Similar Documents

Publication Publication Date Title
US7243173B2 (en) Low protocol, high speed serial transfer for intra-board or inter-board data communication
CN101420328B (en) System, interface card and method for remotely upgrading field programmable gate array
US20060184698A1 (en) Reduced hardware network adapter and communication method
CN1154046C (en) A method for detecting the presence of a single board
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
US9552279B2 (en) Data bus network interface module and method therefor
CN1152583C (en) Reset controller and its implementation method
CN115441892B (en) Monitor Controller Area Network (CAN) XL nodes
KR20200139059A (en) Controller diagnostic device and method thereof
EP1988470A2 (en) Network device and transmission method thereof
JPH1028150A (en) Communications system
CN1437326A (en) Exchange method between on-line and off-line communicator
CN206363300U (en) A kind of battery management chip daisy chain communication system
JP2005202956A (en) Method for processing broken data
CN115378756B (en) Monitoring Controller Area Network (CAN) XL node
WO2014027223A1 (en) Data bus network interface module and method therefor
CN113886299A (en) A high-speed parallel-serial conversion system of AXI Stream protocol based on Aurora's improved link protocol
CN200959602Y (en) Twisted train bus protocol controller
CN112083710A (en) Vehicle-mounted network CAN bus node monitoring system and method
CN100553227C (en) Network communication device and method thereof
CN117435426B (en) Method for checking overflow of serial data in chip
CN115065572B (en) CAN FD controller for vehicle-mounted electronic system
KR20090007846A (en) Data transmission system and method considering response delay of device
JP3245552B2 (en) Transfer control system
CN109525363B (en) Data transmission method and device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040602

Termination date: 20170625

CF01 Termination of patent right due to non-payment of annual fee