WO2012071925A1 - Single board communication system and communication method thereof - Google Patents

Single board communication system and communication method thereof Download PDF

Info

Publication number
WO2012071925A1
WO2012071925A1 PCT/CN2011/079666 CN2011079666W WO2012071925A1 WO 2012071925 A1 WO2012071925 A1 WO 2012071925A1 CN 2011079666 W CN2011079666 W CN 2011079666W WO 2012071925 A1 WO2012071925 A1 WO 2012071925A1
Authority
WO
WIPO (PCT)
Prior art keywords
programmable device
signal
serial signal
serial
board
Prior art date
Application number
PCT/CN2011/079666
Other languages
French (fr)
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 WO2012071925A1 publication Critical patent/WO2012071925A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa

Definitions

  • the present invention relates to the field of communications, and in particular to a single board communication system and a communication method thereof.
  • BACKGROUND A communication device in an important position in a network is not allowed to have a single point of failure.
  • These devices are generally equipped with two main control boards and multiple service boards.
  • One main control board serves as the main control board, and the other main control unit.
  • the board serves as the standby main control board, which is used to handle various communication services.
  • the main control board serves as the core of control and management, and communicates with the external and service boards to complete the normal functions of each module in the system.
  • the standby main control board serves as the backup of the main control board.
  • the system automatically or manually pulls the main control board to perform the active/standby switchover.
  • the standby main control board is upgraded to the main control board to ensure the normal operation of the original service.
  • the boards in the device need to provide communication channels between the main control board and the standby main control board.
  • a communication channel is also required between the main control board and the service board to ensure that the data, configuration, and status of the main control board are correctly delivered.
  • high-speed serial communication is used between the main control board and the main control board, and between the main control board and the service board, such as Serial Gigabit Media Independent Interface (SGMII).
  • SGMII Serial Gigabit Media Independent Interface
  • low-speed signals between the main control board and the main control board, between the main control board and the service board or the service board and the service board, such as various lighting signals, alarm input signals, and alarm output signals.
  • the processing of these low-speed signals is to define these low-speed signals as different signals to communicate through the backplane connector signal lines or through the high-speed serial communication interface between the boards.
  • these low-speed signal lines are required.
  • a main object of the present invention is to provide a single-board communication system and a communication method thereof, so as to at least solve the above problem in the related art that a single-board transmission of various signals requires a corresponding signal line, so that the number of signal lines is greatly increased.
  • a single board communication system includes a first board, a second board, a first programmable device on the first board, and a second programmable device on the second board, wherein the first The programming device is configured to receive the first signal from the first board, convert the first signal into the first serial signal, and transmit the first serial signal; the second programmable device is configured to receive the first programmable The first serial signal of the device converts the first serial signal into a second signal and transmits the second signal to the second board.
  • the single board communication system further includes a backplane; the second programmable device receives the first serial signal from the first programmable device via a first signal pin on the backplane; the first programmable device passes through the first on the backplane The second signal pin receives a third serial signal from the second programmable device.
  • the first programmable device is coupled to the first signal pin of the backplane using a first serial signal line
  • the second programmable device is coupled to the fourth signal pin of the backplane using a fourth serial signal line, wherein the first signal pin and The fourth signal pin is connected by a trace on the backplane
  • the first programmable device is connected to the second signal pin of the backplane using the second serial signal line
  • the second programmable device is connected to the back using the third serial signal line
  • the third signal pin of the board wherein the second signal pin and the third signal pin are connected by a trace on the back board.
  • the single board communication system further includes a reference ground line on the backplane, configured to provide a reference ground for the first serial signal and the third serial signal.
  • the transmission rates of the first serial signal and the third serial signal are the same; the highest value of the transmission rate is determined according to the integrity of the first serial signal and the integrity of the third serial signal, and according to the characteristics of the backplane.
  • a single board communication method is provided.
  • the board communication method includes: the first programmable device transmits a sync header field to the second programmable device, wherein the sync header field is used to instruct to start transmitting the first serial signal; the first programmable device is Edit The device sends a control command field, wherein the control command field is used to indicate the role of the first serial signal; the first programmable device sends a data field to the second programmable device, wherein the data field is used to indicate the meaning of the first serial signal .
  • the sync header field is a transition from a high level to a low level; after the first programmable device transmits a data field to the second programmable device, setting a first serial signal line and a fourth serial line for transmitting the first serial signal
  • the signal line is high.
  • the board communication method includes the second programmable device determining that the received sync header field is correct, wherein the sync header field is for instructing to start transmitting the first serial signal; and the second programmable device determines the received control command The field is correct, wherein the control command field is used to indicate the role of the first serial signal; the second programmable device determines that the received data field is correct, wherein the data field is used to indicate the meaning of the first serial signal; Perform operations corresponding to control command fields and data fields.
  • the corresponding operations described above include at least one of the following: indicating lighting, alarm input, and alarm output.
  • the invention converts various signals into serial signals through a programmable device, and transmits the serial signals instead of transmitting the above various signals, thereby solving the related art, the corresponding signal lines are required for the single board to transmit various signals, thereby making the signals.
  • the problem of a large increase in the number of lines in turn, requires only one signal line for the transmission of the above various signals, thereby saving signal lines and reducing the cost of the single board communication system.
  • FIG. 1 is a block diagram showing the structure of a single board communication system according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of a single board communication system according to a preferred embodiment of the present invention
  • FIG. 4 is a flowchart of a data transmitting method according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a data transmitting method according to a preferred embodiment of the present invention
  • 6 is a flowchart of a data receiving method according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a data receiving method according to a preferred embodiment of the present invention.
  • a first single board 12, a second board 16, and a first programmable device 14 on the first board 12 are included.
  • a second programmable device 18 on the second board 16 wherein the first programmable device 14 is configured to receive the first signal from the first board 12 and convert the first signal into the first serial signal And transmitting a first serial signal; the second programmable device 18 is configured to receive the first serial signal from the first programmable device 14, convert the first serial signal into a second signal, and Board 16 transmits a second signal.
  • the first board 12 and the second board 16 need corresponding signal lines for transmitting various signals, so that the number of signal lines is greatly increased.
  • various signals are converted into serial signals by the first programmable device 14 and the second programmable device 18, and the above various signals can be made by transmitting serial signals instead of transmitting the above various signals.
  • the transmission only requires one signal line, which saves the signal line and reduces the cost of the single board communication system.
  • the board communication system can be used for communication between the main control board and the main control board, the main control board and the service board, or between the service board and the service board to implement low-speed signal communication between the boards.
  • the second programmable device 18 is arranged to receive the third signal from the second board 16, convert the third signal into a third serial signal, and transmit the third serial signal; the first programmable device 14 And arranged to receive the third serial signal from the second programmable device 18, convert the third serial signal into a fourth signal, and send the fourth signal to the first single board 12.
  • the single board communication system can further include a backplane 19; the second programmable device 18 receives the first serial signal from the first programmable device 14 via a first signal pin located on the backplane 19; Device 14 receives a third serial signal from second programmable device 18 via a second signal pin located on backplane 19.
  • the first programmable device 14 is connected to the first signal pin of the backplane 19 using a first serial signal line
  • the second programmable device 18 is connected to the fourth signal pin of the backplane 19 using a fourth serial signal line.
  • the first signal pin and the fourth signal pin are connected by a trace on the backplane 19;
  • the first programmable device 14 uses the second serial signal line Connected to the second signal pin of the backplane 19,
  • the second programmable device 18 is connected to the third signal pin of the backplane 19 using a third serial signal line, wherein the second signal pin and the third signal pin are on the backplane 19. Connected by a trace.
  • the first serial signal line and the fourth serial signal line may be one TX_DATA (TX_Data) signal line
  • the second serial signal line and the third serial signal line may be one RX_DATA ( RX_Data) Signal lines, which can be used as low-speed signals to communicate with other boards.
  • the single board communication system further includes a reference ground line on the backplane 19, configured to provide a reference ground for the first serial signal and the third serial signal. 2 is a structural block diagram of a single-board communication system according to a preferred embodiment of the present invention. As shown in FIG.
  • the A-board and the B-board are respectively interconnected through a backplane, wherein the mutual interaction between the A-board and the B-board
  • the connection includes the TX_DATA (TX_Data) and RX_DATA (RX_Data) signals and the ground reference of the backplane connector itself (backplane connector signal) for a total of three signals.
  • TX_Data TX_DATA
  • RX_Data RX_DATA
  • the transmission rates of the first serial signal and the third serial signal are the same; the highest value of the transmission rate is determined according to the integrity of the first signal and the integrity of the third signal, and according to the characteristics of the backplane 19.
  • the single-board communication system further includes a backplane connector, and is configured to send the signal of the first single board 12 and/or the signal of the second board 16 to the device back board 19, so that the boards can pass through the back board. 19 Interconnect the signals.
  • 3 is a schematic diagram of a connection backplane connector according to a preferred embodiment of the present invention. As shown in FIG. 3, TX_DATA (TX_data) and RX_DATA (RX_DATA) signals are connected to the board through a backplane connector.
  • the embodiment of the present invention implements communication of low-speed signals between the main control board and the main control board of the communication device, between the main control board and the service board, or between the service board and the service board.
  • FIG. 4 is a flowchart of a data sending method according to an embodiment of the present invention. As shown in FIG. 4, the following steps S402 to S406 are included. Step S402, the first programmable device sends a synchronization header field to the second programmable device, where the synchronization header field is used to indicate to start transmitting the first serial signal.
  • Step S404 the first programmable device sends a control command field to the second programmable device, wherein the control command field is used to indicate the role of the first serial signal.
  • Step S406 the first programmable device sends a data field to the second programmable device, where the data field is used to indicate the meaning of the first serial signal.
  • FIG. 5 is a flowchart of a data transmitting method according to a preferred embodiment of the present invention. As shown in FIG. 5, the following steps S502 to S510 are included. In step S502, TX_DATA (TX_data) is always at a high level in the case of no communication.
  • the programmable device sets the TX_DATA (TX_data) signal line to a high level, and the present invention can also adopt a low level in the case of no communication, as long as the two boards of the communication are identical.
  • the synchronization header field is sent first.
  • the first data bit of the transmitted sync header field is required to be low, so that the low level of the first bit of the sync header field can be used as the start flag of the transmission, that is, the TX_DATA (TX_data) signal line synchronization header field Both start from a high to low transition.
  • TX_DATA (TX_Data) When a signal line is transmitted, it is transmitted one by one data bit.
  • the present invention can use the high bit of the byte to transmit first or the lower bit of the byte to be sent first, as long as the two boards of the communication are identical.
  • Step S506 after the synchronization header field is sent, the control command field is sent.
  • the data of the control command field is indicative of the role of the data field in step S508, i.e., indicating whether the data field in step S508 is for lighting control, alarm input or output, or other low speed signal control.
  • Step S508 sending a data field.
  • the content of the data field indicates whether the lighting is on or off, the presence or absence of the alarm input, the presence or absence of the alarm output, and the meaning of other low speed signals.
  • step S510 after the transmission is completed, TX_DATA (TX_data) is set to a high level. At this point, a processing flow for transmitting data is completed. If there are a plurality of control commands to be transmitted, step S502 to step S510 may be repeated.
  • the embodiment of the invention further provides a single board communication method.
  • FIG. 6 is a flowchart of a data receiving method according to an embodiment of the present invention. As shown in FIG. 6, the following steps S602 to S608 are included. Step S602, the second programmable device determines that the received synchronization header field is correct, wherein the synchronization header field is used to indicate to start transmitting the first serial signal.
  • Step S604 the second programmable device determines that the received control command field is correct, wherein the control command field is used to indicate the role of the first serial signal.
  • Step S606 the second programmable device determines that the received data field is correct, wherein the data field is used to indicate the meaning of the first serial signal.
  • Step S608, the second programmable device performs an operation corresponding to the control command field and the data field.
  • the corresponding operation includes at least one of the following: indicating lighting, alarm input, and alarm output.
  • FIG. 7 is a flowchart of a data receiving method according to a preferred embodiment of the present invention. As shown in FIG. 7, the following steps S702 to S714 are included.
  • Step S702 the programmable device monitors whether the RX_DATA (RX_data) signal line has a high-to-low level transition, and if yes, proceeds to step S704, otherwise proceeds to step S702 to monitor the RX_DATA (RX_data) signal line. status.
  • Step S704 receiving a synchronization header field, and storing the content of the lower synchronization header field for use in step S706.
  • Step S706 Determine whether the synchronization header field received in step S704 is correct according to the synchronization header field confirmed before the two boards. If yes, go to step S708; otherwise, go to step S702.
  • Step S708 receiving a control command field, and storing the content of the control command field.
  • Step S710 it is confirmed whether the content of the control command field received in step S708 is a control command that has been defined before the two boards, and if yes, the process goes to step S712, otherwise, the process goes to step S702.
  • Step S712 receiving a data field and storing the data field content.
  • Step S714 according to the control command field received in step S708 and the data field received in step S712, control whether the lighting is turned on or off, the presence or absence of the alarm input, the presence or absence of the alarm output, and other low speed signals.
  • a processing flow for receiving data is completed. It should be noted that the processing flow of FIG. 5 and FIG. 7 is implemented simultaneously in the programmable device, that is, the programmable device can simultaneously perform data transmission and reception.
  • a single board communication system and a communication method thereof are provided.
  • the programmable device converts various signals into serial signals, and transmits the serial signals instead of transmitting the above various signals, which solves the problem that the signal lines are required for the various signals transmitted by the single board in the related art, thereby making the number of signal lines
  • the problem of a large increase, and thus the transmission of the above various signals requires only one signal line, thereby saving the signal line and reducing the cost of the single board communication system.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

Disclosed are a single board communication system and a communication method thereof. The system comprises a first single board, a second single board, a first programmable device located on the first single board, and a second programmable device located on the second single board, wherein the first programmable device is configured to receive a first signal from the first single board, convert the first signal into a first serial signal and send the first serial signal; the second programmable device is configured to receive the first serial signal from the first programmable device, convert the first serial signal into a second signal and send the second signal to the second single board. The present invention enables various signals to be sent with only one signal line, so as to reduce the number of signal lines and the cost of the single board communication system.

Description

单板通信系统及其通信方法 技术领域 本发明涉及通信领域, 具体而言, 涉及一种单板通信系统及其通信方法。 背景技术 处于网络中重要位置的通信设备不允许出现单点故障, 这些设备一般都会配备两 块主控板和多块业务板, 其中, 一块主控板作为主用主控板, 另一块主控板作为备用 主控板, 业务板用于处理各种通信业务。 正常运行时, 主用主控板作为控制和管理的 核心, 与外部和业务板进行业务通信, 完成系统内各模块的正常功能; 而备用主控板 则作为主用主控板的备份, 当主用主控板发生故障或者需要软硬件升级时, 系统自动、 手动或者拔主用主控板进行主备切换, 备用主控板升级为主用主控板, 保证原业务的 正常运行。 设备内的各单板为了保证备用主控板和主用主控板的数据、 配置和状态等同步, 在主用主控板和备用主控板之间需要提供通信通道。 主控板和业务板之间也需要提供 通信通道, 以保证主控板给业务板的数据、 配置和状态能正确下发。 一般在主控板和 主控板之间、 主控板和业务板之间使用高速串行通信, 比如串行千兆介质无关接口 ( Serial Gigabit Media Independent Interface, 简称为 SGMII )。 同时, 主控板和主控板之间、 主控板和业务板或业务板和业务板之间还有很多低 速信号, 比如各种点灯信号、 告警输入信号和告警输出信号。 相关技术中, 对这些低 速信号的处理方法是将这些低速信号分别定义成不同的信号通过背板连接器信号线进 行通信或者通过板间的高速串行通信接口进行通信。 但是, 由于各单板之间的低速信号线数量较多, 特别是主控板和各业务板都需要 这些低速信号线, 主控板上的这些低速信号线数量随着设备支持的业务板数量增加而 大幅增加。因此,将各低速信号定义成不同的信号线会占用很多背板连接器的信号针, 即需要增加背板连接器数量, 这不仅占用单板布局空间, 而且增加设备硬件成本和印 刷电路板 (Printed Circuit Board, 简称为 PCB) 布线密度。 发明内容 本发明的主要目的在于提供一种单板通信系统及其通信方法, 以至少解决上述的 相关技术中单板传输各种信号都需要相应的信号线从而使得信号线数量大幅增加的问 题。 为了实现上述目的, 根据本发明的一个方面, 提供了一种单板通信系统。 根据本发明的单板通信系统包括第一单板、 第二单板、 位于第一单板上的第一可 编程器件和位于第二单板上的第二可编程器件, 其中, 第一可编程器件, 设置为接收 来自第一单板的第一信号, 将第一信号转换为第一串行信号, 并发送第一串行信号; 第二可编程器件, 设置为接收来自第一可编程器件的第一串行信号, 将第一串行信号 转换为第二信号, 并向第二单板发送第二信号。 第二可编程器件, 设置为接收来自第二单板的第三信号, 将第三信号转换为第三 串行信号, 并发送第三串行信号; 第一可编程器件, 设置为接收来自第二可编程器件 的第三串行信号, 将第三串行信号转换为第四信号, 并向第一单板发送第四信号。 单板通信系统还包括背板; 第二可编程器件通过位于背板上的第一信号针接收来 自第一可编程器件的第一串行信号; 第一可编程器件通过位于背板上的第二信号针接 收来自第二可编程器件的第三串行信号。 第一可编程器件使用第一串行信号线连接至背板的第一信号针, 第二可编程器件 使用第四串行信号线连接至背板的第四信号针, 其中第一信号针和第四信号针在背板 上通过走线连接; 第一可编程器件使用第二串行信号线连接至背板的第二信号针, 第 二可编程器件使用第三串行信号线连接至背板的第三信号针, 其中第二信号针和第三 信号针在背板上通过走线连接。 上述单板通信系统还包括位于背板上的参考地线, 设置为为第一串行信号和第三 串行信号提供参考地。 第一串行信号和第三串行信号的传输速率相同; 根据第一串行信号的完整性和第 三串行信号的完整性, 以及根据背板的特性, 确定传输速率的最高值。 为了实现上述目的, 根据本发明的另一个方面, 提供了一种单板通信方法。 根据本发明的单板通信方法包括: 第一可编程器件向第二可编程器件发送同步头 字段, 其中同步头字段用于指示开始发送第一串行信号; 第一可编程器件向第二可编 程器件发送控制命令字段, 其中控制命令字段用于指示第一串行信号的作用; 第一可 编程器件向第二可编程器件发送数据字段, 其中数据字段用于指示第一串行信号的含 义。 在第一可编程器件向第二可编程器件发送同步头字段之前, 设置用于传输第一串 行信号的第一串行信号线和第四串行信号线为高电平; 同步头字段为从高电平到低电 平的跳变; 在第一可编程器件向第二可编程器件发送数据字段之后, 设置用于传输第 一串行信号的第一串行信号线和第四串行信号线为高电平。 为了实现上述目的, 根据本发明的另一个方面, 还提供了一种单板通信方法。 根据本发明的单板通信方法包括:第二可编程器件确定接收到的同步头字段正确, 其中同步头字段用于指示开始发送第一串行信号; 第二可编程器件确定接收到的控制 命令字段正确, 其中控制命令字段用于指示第一串行信号的作用; 第二可编程器件确 定接收到的数据字段正确, 其中数据字段用于指示第一串行信号的含义; 第二可编程 器件执行与控制命令字段和数据字段相应的操作。 上述相应的操作包括以下至少之一: 指示点灯、 告警输入、 告警输出。 本发明通过可编程器件将各种信号均转换为串行信号, 并通过传输串行信号代替 传输以上各种信号, 解决了相关技术中单板传输各种信号都需要相应的信号线从而使 得信号线数量大幅增加的问题, 进而使得以上各种信号的发送仅仅需要一根信号线, 从而节约信号线, 降低单板通信系统成本。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的单板通信系统的结构框图; 图 2是根据本发明优选实施例的单板通信系统的结构框图; 图 3是根据本发明优选实施例的连接背板连接器的示意图; 图 4是根据本发明实施例的数据发送方法的流程图; 图 5是根据本发明优选实施例的数据发送方法的流程图; 图 6是根据本发明实施例的数据接收方法的流程图; 图 7是根据本发明优选实施例的数据接收方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本发明实施例提供了一种单板通信系统。 图 1是根据本发明实施例的单板通信系 统的结构框图, 如图 1所示, 包括第一单板 12、 第二单板 16、 位于第一单板 12上的 第一可编程器件 14和位于第二单板 16上的第二可编程器件 18, 其中, 第一可编程器 件 14, 设置为接收来自第一单板 12的第一信号, 将第一信号转换为第一串行信号, 并发送第一串行信号; 第二可编程器件 18, 设置为接收来自第一可编程器件 14的第 一串行信号, 将第一串行信号转换为第二信号, 并向第二单板 16发送第二信号。 相关技术中, 第一单板 12和第二单板 16传输各种信号都需要相应的信号线, 从 而使得信号线数量大幅增加。本发明实施例中,通过第一可编程器件 14和第二可编程 器件 18将各种信号均转换为串行信号, 并通过传输串行信号代替传输以上各种信号, 可以使得以上各种信号的发送仅仅需要一根信号线, 从而节约了信号线, 降低了单板 通信系统成本。 本单板通信系统可以用于主控板和主控板、 主控板与业务板或业务板与业务板之 间的通信, 实现各单板之间低速信号的通信。 优选地, 第二可编程器件 18, 设置为接收来自第二单板 16的第三信号, 将第三 信号转换为第三串行信号, 并发送第三串行信号; 第一可编程器件 14, 设置为接收来 自第二可编程器件 18的第三串行信号,将第三串行信号转换为第四信号, 并向第一单 板 12发送第四信号。 优选地, 单板通信系统还可以包括背板 19; 第二可编程器件 18通过位于背板 19 上的第一信号针接收来自第一可编程器件 14的第一串行信号; 第一可编程器件 14通 过位于背板 19上的第二信号针接收来自第二可编程器件 18的第三串行信号。 优选地, 第一可编程器件 14使用第一串行信号线连接至背板 19的第一信号针, 第二可编程器件 18使用第四串行信号线连接至背板 19的第四信号针, 其中第一信号 针和第四信号针在背板 19上通过走线连接; 第一可编程器件 14使用第二串行信号线 连接至背板 19的第二信号针, 第二可编程器件 18使用第三串行信号线连接至背板 19 的第三信号针, 其中第二信号针和第三信号针在背板 19上通过走线连接。 本优选实施例中,第一串行信号线和第四串行信号线可以为一根 TX_DATA (TX_ 数据) 信号线, 第二串行信号线和第三串行信号线可以为一根 RX_DATA (RX_数据) 信号线, 这两根串行信号线可以作为和其它单板之间的低速信号通信。 优选地, 单板通信系统还包括位于背板 19上的参考地线, 设置为为第一串行信号 和第三串行信号提供参考地。 图 2是根据本发明优选实施例的单板通信系统的结构框图, 如图 2所示, A单板 和 B单板分别通过背板进行互连,其中, A单板和 B单板的互连线包括 TX_DATA(TX_ 数据) 和 RX_DATA (RX_数据) 信号以及背板连接器本身地针的参考地 (背板连接 器地信号), 共 3个信号。 优选地, 第一串行信号和第三串行信号的传输速率相同; 根据第一信号的完整性 和第三信号的完整性, 以及根据背板 19的特性, 确定传输速率的最高值。 优选地, 单板通信系统还包括背板连接器, 设置为将第一单板 12的信号和 /或第 二单板 16的信号送到设备背板 19上, 这样各单板可以通过背板 19将信号互连。 图 3是根据本发明优选实施例的连接背板连接器的示意图, 如图 3所示, 在单板 上 TX_DATA (TX_数据) 和 RX_DATA (RX_数据) 信号经过背板连接器连接到可编 程器件上, 各种点灯信号、 告警输入输出接口以及其它低速信号再从可编程器件输入 输出, 通信协议在可编程器件上实现, 所述背板连接器设置为将主控板或者业务板信 号送到设备背板上, 这样各单板通过背板将信号互连。 与现有技术相比较, 本发明实施例实现了通信设备内部主控板与主控板之间、 主 控板和业务板之间或业务板与业务板之间的低速信号的通信。 本发明实施例只需要在 两块单板之间增加 2个信号线实现两块单板之间的所有低速信号通信, 只需要占背板 连接器的 2个信号针, 不会占用背板连接器大量信号针。 本发明实施例提供了一种单板通信方法。 图 4是根据本发明实施例的数据发送方 法的流程图, 如图 4所示, 包括如下的步骤 S402至步骤 S406。 步骤 S402, 第一可编程器件向第二可编程器件发送同步头字段, 其中同步头字段 用于指示开始发送第一串行信号。 步骤 S404, 第一可编程器件向第二可编程器件发送控制命令字段, 其中控制命令 字段用于指示第一串行信号的作用。 步骤 S406, 第一可编程器件向第二可编程器件发送数据字段, 其中数据字段用于 指示第一串行信号的含义。 优选地, 在第一可编程器件向第二可编程器件发送同步头字段之前, 设置用于传 输第一串行信号的第一串行信号线和第四串行信号线为高电平; 同步头字段为从高电 平到低电平的跳变; 在第一可编程器件向第二可编程器件发送数据字段之后, 设置用 于传输第一串行信号的第一串行信号线和第四串行信号线为高电平。 图 5是根据本发明优选实施例的数据发送方法的流程图, 如图 5所示, 包括如下 的步骤 S502至步骤 S510。 步骤 S502,在不通信情况下, TX_DATA ( TX_数据)一直为高电平。即在通信前, 可编程器件置 TX_DATA ( TX_数据)信号线为高电平, 在不通信情况下本发明也可以 采用低电平, 只要通信的两块单板一致即可。 步骤 S504, 开始通信时, 先发送同步头字段。 发送的同步头字段的第一个数据位 要求为低电平, 这样可以将同步头字段的第一位的低电平作为发送的开始标志, 即 TX_DATA ( TX_数据) 信号线上同步头字段都是从高电平到低电平的跳变开始。 TX_DATA ( TX_数据)一个信号线发送时是逐个数据位发送, 本发明可以采用字节的 高位先发送也可以采用字节的低位先发送, 只要通信的两块单板一致即可。 步骤 S506, 同步头字段发送完成后, 发送控制命令字段。 控制命令字段的数据是 指示步骤 S508中的数据字段的作用, 即指示步骤 S508中数据字段是用于点灯控制、 告警输入输出还是其它低速信号控制。 步骤 S508, 发送数据字段。 数据字段的内容是指示点灯的亮或灭、 告警输入的有 或无、 告警输出的有或无以及其它低速信号的含义。 步骤 S510, 发送完毕, 将 TX_DATA ( TX_数据) 置高电平。 至此, 一个发送数据的处理流程完成。 如果有多个控制命令需要发送, 可以重复 步骤 S502至步骤 S510。 本发明实施例还提供了一种单板通信方法。 图 6是根据本发明实施例的数据接收 方法的流程图, 如图 6所示, 包括如下的步骤 S602至步骤 S608。 步骤 S602, 第二可编程器件确定接收到的同步头字段正确, 其中同步头字段用于 指示开始发送第一串行信号。 步骤 S604, 第二可编程器件确定接收到的控制命令字段正确, 其中控制命令字段 用于指示第一串行信号的作用。 步骤 S606, 第二可编程器件确定接收到的数据字段正确, 其中数据字段用于指示 第一串行信号的含义。 步骤 S608, 第二可编程器件执行与控制命令字段和数据字段相应的操作。 优选地, 上述相应的操作包括以下至少之一: 指示点灯、 告警输入、 告警输出。 图 7是根据本发明优选实施例的数据接收方法的流程图, 如图 7所示, 包括如下 的步骤 S702至步骤 S714。 步骤 S702, 可编程器件监测 RX_DATA (RX_数据) 信号线是否有高电平到低电 平的跳变,若有则转至步骤 S704,否则继续执行步骤 S702监测 RX_DATA (RX_数据) 信号线状态。 步骤 S704, 接收同步头字段, 并存储下同步头字段内容供步骤 S706使用。 步骤 S706, 根据两单板之前确认好的同步头字段判断步骤 S704接收到的同步头 字段是否正确, 若正确则转至步骤 S708, 否则转至步骤 S702。 步骤 S708, 接收控制命令字段, 并存储下控制命令字段内容。 步骤 S710, 确认步骤 S708接收到的控制命令字段内容是否是两块单板之前已经 定义的控制命令, 若是则转至步骤 S712, 否则转至步骤 S702。 步骤 S712, 接收数据字段并存储数据字段内容。 步骤 S714,根据步骤 S708接收到的控制命令字段和步骤 S712接收到的数据字段, 控制指示点灯的亮或灭、 告警输入的有或无、 告警输出的有或无以及其它低速信号。 至此, 一个接收数据的处理流程完成。 需要说明的是, 图 5和图 7的处理流程在可编程器件内是同时实现的, 即可编程 器件可以同时完成数据发送和接收。 综上所述, 根据本发明的上述实施例, 提供了一种单板通信系统及其通信方法。 通过可编程器件将各种信号均转换为串行信号, 并通过传输串行信号代替传输以上各 种信号, 解决了相关技术中单板传输各种信号都需要相应的信号线从而使得信号线数 量大幅增加的问题, 进而使得以上各种信号的发送仅仅需要一根信号线, 从而节约信 号线, 降低单板通信系统成本。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a single board communication system and a communication method thereof. BACKGROUND A communication device in an important position in a network is not allowed to have a single point of failure. These devices are generally equipped with two main control boards and multiple service boards. One main control board serves as the main control board, and the other main control unit. The board serves as the standby main control board, which is used to handle various communication services. In normal operation, the main control board serves as the core of control and management, and communicates with the external and service boards to complete the normal functions of each module in the system. The standby main control board serves as the backup of the main control board. When the main control board is faulty or the software and hardware are upgraded, the system automatically or manually pulls the main control board to perform the active/standby switchover. The standby main control board is upgraded to the main control board to ensure the normal operation of the original service. In order to ensure the synchronization of the data, configuration, and status of the standby main control board and the main control board, the boards in the device need to provide communication channels between the main control board and the standby main control board. A communication channel is also required between the main control board and the service board to ensure that the data, configuration, and status of the main control board are correctly delivered. Generally, high-speed serial communication is used between the main control board and the main control board, and between the main control board and the service board, such as Serial Gigabit Media Independent Interface (SGMII). At the same time, there are many low-speed signals between the main control board and the main control board, between the main control board and the service board or the service board and the service board, such as various lighting signals, alarm input signals, and alarm output signals. In the related art, the processing of these low-speed signals is to define these low-speed signals as different signals to communicate through the backplane connector signal lines or through the high-speed serial communication interface between the boards. However, due to the large number of low-speed signal lines between the boards, especially the main control board and each service board, these low-speed signal lines are required. The number of these low-speed signal lines on the main control board depends on the number of service boards supported by the device. Increase and increase substantially. Therefore, defining each low-speed signal into different signal lines will occupy many signal pins of the backplane connector, that is, the number of backplane connectors needs to be increased, which not only occupies the layout space of the board, but also increases the hardware cost of the device and the printed circuit board ( Printed Circuit Board, referred to as PCB). SUMMARY OF THE INVENTION A main object of the present invention is to provide a single-board communication system and a communication method thereof, so as to at least solve the above problem in the related art that a single-board transmission of various signals requires a corresponding signal line, so that the number of signal lines is greatly increased. In order to achieve the above object, according to an aspect of the present invention, a single board communication system is provided. The single board communication system according to the present invention includes a first board, a second board, a first programmable device on the first board, and a second programmable device on the second board, wherein the first The programming device is configured to receive the first signal from the first board, convert the first signal into the first serial signal, and transmit the first serial signal; the second programmable device is configured to receive the first programmable The first serial signal of the device converts the first serial signal into a second signal and transmits the second signal to the second board. a second programmable device, configured to receive a third signal from the second board, convert the third signal into a third serial signal, and transmit a third serial signal; the first programmable device is configured to receive from the first The third serial signal of the second programmable device converts the third serial signal into a fourth signal and sends a fourth signal to the first board. The single board communication system further includes a backplane; the second programmable device receives the first serial signal from the first programmable device via a first signal pin on the backplane; the first programmable device passes through the first on the backplane The second signal pin receives a third serial signal from the second programmable device. The first programmable device is coupled to the first signal pin of the backplane using a first serial signal line, and the second programmable device is coupled to the fourth signal pin of the backplane using a fourth serial signal line, wherein the first signal pin and The fourth signal pin is connected by a trace on the backplane; the first programmable device is connected to the second signal pin of the backplane using the second serial signal line, and the second programmable device is connected to the back using the third serial signal line The third signal pin of the board, wherein the second signal pin and the third signal pin are connected by a trace on the back board. The single board communication system further includes a reference ground line on the backplane, configured to provide a reference ground for the first serial signal and the third serial signal. The transmission rates of the first serial signal and the third serial signal are the same; the highest value of the transmission rate is determined according to the integrity of the first serial signal and the integrity of the third serial signal, and according to the characteristics of the backplane. In order to achieve the above object, according to another aspect of the present invention, a single board communication method is provided. The board communication method according to the present invention includes: the first programmable device transmits a sync header field to the second programmable device, wherein the sync header field is used to instruct to start transmitting the first serial signal; the first programmable device is Edit The device sends a control command field, wherein the control command field is used to indicate the role of the first serial signal; the first programmable device sends a data field to the second programmable device, wherein the data field is used to indicate the meaning of the first serial signal . Before the first programmable device sends the sync header field to the second programmable device, setting the first serial signal line and the fourth serial signal line for transmitting the first serial signal to a high level; the sync header field is a transition from a high level to a low level; after the first programmable device transmits a data field to the second programmable device, setting a first serial signal line and a fourth serial line for transmitting the first serial signal The signal line is high. In order to achieve the above object, according to another aspect of the present invention, a single board communication method is also provided. The board communication method according to the present invention includes the second programmable device determining that the received sync header field is correct, wherein the sync header field is for instructing to start transmitting the first serial signal; and the second programmable device determines the received control command The field is correct, wherein the control command field is used to indicate the role of the first serial signal; the second programmable device determines that the received data field is correct, wherein the data field is used to indicate the meaning of the first serial signal; Perform operations corresponding to control command fields and data fields. The corresponding operations described above include at least one of the following: indicating lighting, alarm input, and alarm output. The invention converts various signals into serial signals through a programmable device, and transmits the serial signals instead of transmitting the above various signals, thereby solving the related art, the corresponding signal lines are required for the single board to transmit various signals, thereby making the signals The problem of a large increase in the number of lines, in turn, requires only one signal line for the transmission of the above various signals, thereby saving signal lines and reducing the cost of the single board communication system. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the structure of a single board communication system according to an embodiment of the present invention; FIG. 2 is a block diagram showing the structure of a single board communication system according to a preferred embodiment of the present invention; FIG. 4 is a flowchart of a data transmitting method according to an embodiment of the present invention; FIG. 5 is a flowchart of a data transmitting method according to a preferred embodiment of the present invention; 6 is a flowchart of a data receiving method according to an embodiment of the present invention; and FIG. 7 is a flowchart of a data receiving method according to a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The embodiment of the invention provides a single board communication system. 1 is a structural block diagram of a single-board communication system according to an embodiment of the present invention. As shown in FIG. 1, a first single board 12, a second board 16, and a first programmable device 14 on the first board 12 are included. And a second programmable device 18 on the second board 16, wherein the first programmable device 14 is configured to receive the first signal from the first board 12 and convert the first signal into the first serial signal And transmitting a first serial signal; the second programmable device 18 is configured to receive the first serial signal from the first programmable device 14, convert the first serial signal into a second signal, and Board 16 transmits a second signal. In the related art, the first board 12 and the second board 16 need corresponding signal lines for transmitting various signals, so that the number of signal lines is greatly increased. In the embodiment of the present invention, various signals are converted into serial signals by the first programmable device 14 and the second programmable device 18, and the above various signals can be made by transmitting serial signals instead of transmitting the above various signals. The transmission only requires one signal line, which saves the signal line and reduces the cost of the single board communication system. The board communication system can be used for communication between the main control board and the main control board, the main control board and the service board, or between the service board and the service board to implement low-speed signal communication between the boards. Preferably, the second programmable device 18 is arranged to receive the third signal from the second board 16, convert the third signal into a third serial signal, and transmit the third serial signal; the first programmable device 14 And arranged to receive the third serial signal from the second programmable device 18, convert the third serial signal into a fourth signal, and send the fourth signal to the first single board 12. Preferably, the single board communication system can further include a backplane 19; the second programmable device 18 receives the first serial signal from the first programmable device 14 via a first signal pin located on the backplane 19; Device 14 receives a third serial signal from second programmable device 18 via a second signal pin located on backplane 19. Preferably, the first programmable device 14 is connected to the first signal pin of the backplane 19 using a first serial signal line, and the second programmable device 18 is connected to the fourth signal pin of the backplane 19 using a fourth serial signal line. Wherein the first signal pin and the fourth signal pin are connected by a trace on the backplane 19; the first programmable device 14 uses the second serial signal line Connected to the second signal pin of the backplane 19, the second programmable device 18 is connected to the third signal pin of the backplane 19 using a third serial signal line, wherein the second signal pin and the third signal pin are on the backplane 19. Connected by a trace. In the preferred embodiment, the first serial signal line and the fourth serial signal line may be one TX_DATA (TX_Data) signal line, and the second serial signal line and the third serial signal line may be one RX_DATA ( RX_Data) Signal lines, which can be used as low-speed signals to communicate with other boards. Preferably, the single board communication system further includes a reference ground line on the backplane 19, configured to provide a reference ground for the first serial signal and the third serial signal. 2 is a structural block diagram of a single-board communication system according to a preferred embodiment of the present invention. As shown in FIG. 2, the A-board and the B-board are respectively interconnected through a backplane, wherein the mutual interaction between the A-board and the B-board The connection includes the TX_DATA (TX_Data) and RX_DATA (RX_Data) signals and the ground reference of the backplane connector itself (backplane connector signal) for a total of three signals. Preferably, the transmission rates of the first serial signal and the third serial signal are the same; the highest value of the transmission rate is determined according to the integrity of the first signal and the integrity of the third signal, and according to the characteristics of the backplane 19. Preferably, the single-board communication system further includes a backplane connector, and is configured to send the signal of the first single board 12 and/or the signal of the second board 16 to the device back board 19, so that the boards can pass through the back board. 19 Interconnect the signals. 3 is a schematic diagram of a connection backplane connector according to a preferred embodiment of the present invention. As shown in FIG. 3, TX_DATA (TX_data) and RX_DATA (RX_DATA) signals are connected to the board through a backplane connector. On the programming device, various lighting signals, alarm input and output interfaces, and other low-speed signals are input and output from the programmable device, and the communication protocol is implemented on the programmable device, and the backplane connector is configured to signal the main control board or the service board. It is sent to the backplane of the device so that the boards interconnect the signals through the backplane. Compared with the prior art, the embodiment of the present invention implements communication of low-speed signals between the main control board and the main control board of the communication device, between the main control board and the service board, or between the service board and the service board. In the embodiment of the present invention, only two signal lines need to be added between two boards to implement all low-speed signal communication between the two boards, and only two signal pins of the backplane connector are needed, which does not occupy the backplane connection. A large number of signal pins. The embodiment of the invention provides a single board communication method. FIG. 4 is a flowchart of a data sending method according to an embodiment of the present invention. As shown in FIG. 4, the following steps S402 to S406 are included. Step S402, the first programmable device sends a synchronization header field to the second programmable device, where the synchronization header field is used to indicate to start transmitting the first serial signal. Step S404, the first programmable device sends a control command field to the second programmable device, wherein the control command field is used to indicate the role of the first serial signal. Step S406, the first programmable device sends a data field to the second programmable device, where the data field is used to indicate the meaning of the first serial signal. Preferably, before the first programmable device sends the sync header field to the second programmable device, setting the first serial signal line and the fourth serial signal line for transmitting the first serial signal to a high level; The header field is a transition from a high level to a low level; after the first programmable device transmits the data field to the second programmable device, setting a first serial signal line for transmitting the first serial signal and The four serial signal lines are high. FIG. 5 is a flowchart of a data transmitting method according to a preferred embodiment of the present invention. As shown in FIG. 5, the following steps S502 to S510 are included. In step S502, TX_DATA (TX_data) is always at a high level in the case of no communication. That is, before the communication, the programmable device sets the TX_DATA (TX_data) signal line to a high level, and the present invention can also adopt a low level in the case of no communication, as long as the two boards of the communication are identical. In step S504, when starting communication, the synchronization header field is sent first. The first data bit of the transmitted sync header field is required to be low, so that the low level of the first bit of the sync header field can be used as the start flag of the transmission, that is, the TX_DATA (TX_data) signal line synchronization header field Both start from a high to low transition. TX_DATA (TX_Data) When a signal line is transmitted, it is transmitted one by one data bit. The present invention can use the high bit of the byte to transmit first or the lower bit of the byte to be sent first, as long as the two boards of the communication are identical. Step S506, after the synchronization header field is sent, the control command field is sent. The data of the control command field is indicative of the role of the data field in step S508, i.e., indicating whether the data field in step S508 is for lighting control, alarm input or output, or other low speed signal control. Step S508, sending a data field. The content of the data field indicates whether the lighting is on or off, the presence or absence of the alarm input, the presence or absence of the alarm output, and the meaning of other low speed signals. In step S510, after the transmission is completed, TX_DATA (TX_data) is set to a high level. At this point, a processing flow for transmitting data is completed. If there are a plurality of control commands to be transmitted, step S502 to step S510 may be repeated. The embodiment of the invention further provides a single board communication method. FIG. 6 is a flowchart of a data receiving method according to an embodiment of the present invention. As shown in FIG. 6, the following steps S602 to S608 are included. Step S602, the second programmable device determines that the received synchronization header field is correct, wherein the synchronization header field is used to indicate to start transmitting the first serial signal. Step S604, the second programmable device determines that the received control command field is correct, wherein the control command field is used to indicate the role of the first serial signal. Step S606, the second programmable device determines that the received data field is correct, wherein the data field is used to indicate the meaning of the first serial signal. Step S608, the second programmable device performs an operation corresponding to the control command field and the data field. Preferably, the corresponding operation includes at least one of the following: indicating lighting, alarm input, and alarm output. FIG. 7 is a flowchart of a data receiving method according to a preferred embodiment of the present invention. As shown in FIG. 7, the following steps S702 to S714 are included. Step S702, the programmable device monitors whether the RX_DATA (RX_data) signal line has a high-to-low level transition, and if yes, proceeds to step S704, otherwise proceeds to step S702 to monitor the RX_DATA (RX_data) signal line. status. Step S704, receiving a synchronization header field, and storing the content of the lower synchronization header field for use in step S706. Step S706: Determine whether the synchronization header field received in step S704 is correct according to the synchronization header field confirmed before the two boards. If yes, go to step S708; otherwise, go to step S702. Step S708, receiving a control command field, and storing the content of the control command field. Step S710, it is confirmed whether the content of the control command field received in step S708 is a control command that has been defined before the two boards, and if yes, the process goes to step S712, otherwise, the process goes to step S702. Step S712, receiving a data field and storing the data field content. Step S714, according to the control command field received in step S708 and the data field received in step S712, control whether the lighting is turned on or off, the presence or absence of the alarm input, the presence or absence of the alarm output, and other low speed signals. At this point, a processing flow for receiving data is completed. It should be noted that the processing flow of FIG. 5 and FIG. 7 is implemented simultaneously in the programmable device, that is, the programmable device can simultaneously perform data transmission and reception. In summary, according to the above embodiments of the present invention, a single board communication system and a communication method thereof are provided. The programmable device converts various signals into serial signals, and transmits the serial signals instead of transmitting the above various signals, which solves the problem that the signal lines are required for the various signals transmitted by the single board in the related art, thereby making the number of signal lines The problem of a large increase, and thus the transmission of the above various signals requires only one signal line, thereby saving the signal line and reducing the cost of the single board communication system. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种单板通信系统, 包括第一单板、 第二单板、 位于所述第一单板上的第一可 编程器件和位于所述第二单板上的第二可编程器件, 其中, A single board communication system, comprising: a first board, a second board, a first programmable device on the first board, and a second programmable device on the second board, among them,
所述第一可编程器件, 设置为接收来自所述第一单板的第一信号, 将所述 第一信号转换为第一串行信号, 并发送所述第一串行信号;  The first programmable device is configured to receive a first signal from the first board, convert the first signal into a first serial signal, and send the first serial signal;
所述第二可编程器件, 设置为接收来自所述第一可编程器件的所述第一串 行信号, 将所述第一串行信号转换为第二信号, 并向所述第二单板发送所述第 二信号。  The second programmable device is configured to receive the first serial signal from the first programmable device, convert the first serial signal into a second signal, and to the second board Sending the second signal.
2. 根据权利要求 1所述的系统, 其中, 2. The system of claim 1 wherein
所述第二可编程器件, 设置为接收来自所述第二单板的第三信号, 将所述 第三信号转换为第三串行信号, 并发送所述第三串行信号;  The second programmable device is configured to receive a third signal from the second board, convert the third signal into a third serial signal, and send the third serial signal;
所述第一可编程器件, 设置为接收来自所述第二可编程器件的所述第三串 行信号, 将所述第三串行信号转换为第四信号, 并向所述第一单板发送所述第 四信号。  The first programmable device is configured to receive the third serial signal from the second programmable device, convert the third serial signal into a fourth signal, and to the first board Sending the fourth signal.
3. 根据权利要求 2所述的系统, 其中, 所述单板通信系统还包括背板; 3. The system according to claim 2, wherein the single board communication system further comprises a backboard;
所述第二可编程器件通过位于所述背板上的第一信号针接收来自所述第一 可编程器件的所述第一串行信号;  The second programmable device receives the first serial signal from the first programmable device via a first signal pin on the backplane;
所述第一可编程器件通过位于所述背板上的第二信号针接收来自所述第二 可编程器件的所述第三串行信号。  The first programmable device receives the third serial signal from the second programmable device via a second signal pin located on the backplane.
4. 根据权利要求 3所述的系统, 其中, 所述第一可编程器件使用第一串行信号线连接至所述背板的第一信号针, 所述第二可编程器件使用第四串行信号线连接至所述背板的第四信号针, 其中 所述第一信号针和所述第四信号针在所述背板上通过走线连接; 4. The system of claim 3, wherein the first programmable device is connected to a first signal pin of the backplane using a first serial signal line, and the second programmable device uses a fourth string a row signal line is connected to the fourth signal pin of the backplane, wherein the first signal pin and the fourth signal pin are connected by a trace on the backplane;
所述第一可编程器件使用第二串行信号线连接至所述背板的第二信号针, 所述第二可编程器件使用第三串行信号线连接至所述背板的第三信号针, 其中 所述第二信号针和所述第三信号针在所述背板上通过走线连接。 The first programmable device is coupled to the second signal pin of the backplane using a second serial signal line, the second programmable device is coupled to the third signal of the backplane using a third serial signal line a needle, wherein the second signal pin and the third signal pin are connected by a trace on the backplane.
5. 根据权利要求 3所述的系统, 其中, 还包括位于所述背板上的参考地线, 设置 为为所述第一串行信号和所述第三串行信号提供参考地。 5. The system of claim 3, further comprising a reference ground on the backplane, configured to provide a reference ground for the first serial signal and the third serial signal.
6. 根据权利要求 2所述的系统, 其中, 所述第一串行信号和所述第三串行信号的传输速率相同; 6. The system according to claim 2, wherein a transmission rate of the first serial signal and the third serial signal is the same;
根据所述第一串行信号的完整性和所述第三串行信号的完整性, 以及根据 所述背板的特性, 确定所述传输速率的最高值。  A highest value of the transmission rate is determined based on the integrity of the first serial signal and the integrity of the third serial signal, and based on characteristics of the backplane.
7. 一种用于权利要求 1所述的单板通信系统的单板通信方法, 包括: 7. A single board communication method for a single board communication system according to claim 1, comprising:
所述第一可编程器件向所述第二可编程器件发送同步头字段, 其中所述同 步头字段用于指示开始发送第一串行信号;  The first programmable device transmits a sync header field to the second programmable device, wherein the sync header field is used to instruct to start transmitting the first serial signal;
所述第一可编程器件向所述第二可编程器件发送控制命令字段, 其中所述 控制命令字段用于指示所述第一串行信号的作用;  The first programmable device transmits a control command field to the second programmable device, wherein the control command field is for indicating the role of the first serial signal;
所述第一可编程器件向所述第二可编程器件发送数据字段, 其中所述数据 字段用于指示所述第一串行信号的含义。  The first programmable device transmits a data field to the second programmable device, wherein the data field is for indicating a meaning of the first serial signal.
8. 根据权利要求 7所述的方法, 其中, 在所述第一可编程器件向所述第二可编程器件发送所述同步头字段之前, 设置用于传输所述第一串行信号的第一串行信号线和第四串行信号线为高电 平; 8. The method according to claim 7, wherein: before the first programmable device transmits the synchronization header field to the second programmable device, setting a first portion for transmitting the first serial signal A serial signal line and a fourth serial signal line are at a high level;
所述同步头字段为从高电平到低电平的跳变;  The sync header field is a transition from a high level to a low level;
在所述第一可编程器件向所述第二可编程器件发送所述数据字段之后, 设 置用于传输所述第一串行信号的所述第一串行信号线和所述第四串行信号线为 高电平。  After the first programmable device transmits the data field to the second programmable device, setting the first serial signal line and the fourth serial for transmitting the first serial signal The signal line is high.
9. 一种用于权利要求 1所述的单板通信系统的单板通信方法, 包括: A single board communication method for the single board communication system according to claim 1, comprising:
所述第二可编程器件确定接收到的同步头字段正确, 其中所述同步头字段 用于指示开始发送第一串行信号;  The second programmable device determines that the received sync header field is correct, wherein the sync header field is used to indicate to start transmitting the first serial signal;
所述第二可编程器件确定接收到的控制命令字段正确, 其中所述控制命令 字段用于指示所述第一串行信号的作用;  The second programmable device determines that the received control command field is correct, wherein the control command field is used to indicate the role of the first serial signal;
所述第二可编程器件确定接收到的数据字段正确, 其中所述数据字段用于 指示所述第一串行信号的含义; 所述第二可编程器件执行与所述控制命令字段和所述数据字段相应的操 作。 Determining, by the second programmable device, that the received data field is correct, wherein the data field is used to indicate a meaning of the first serial signal; The second programmable device performs an operation corresponding to the control command field and the data field.
根据权利要求 9所述的方法, 其中, 所述相应的操作包括以下至少之 The method of claim 9, wherein the corresponding operation comprises at least the following
指示点灯、 告警输入、 告警输出。  Indicates lighting, alarm input, and alarm output.
PCT/CN2011/079666 2010-12-03 2011-09-15 Single board communication system and communication method thereof WO2012071925A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105723348A CN102142986A (en) 2010-12-03 2010-12-03 Veneer communication system and communication method thereof
CN201010572334.8 2010-12-03

Publications (1)

Publication Number Publication Date
WO2012071925A1 true WO2012071925A1 (en) 2012-06-07

Family

ID=44410228

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079666 WO2012071925A1 (en) 2010-12-03 2011-09-15 Single board communication system and communication method thereof

Country Status (2)

Country Link
CN (1) CN102142986A (en)
WO (1) WO2012071925A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142986A (en) * 2010-12-03 2011-08-03 中兴通讯股份有限公司 Veneer communication system and communication method thereof
CN106250340A (en) * 2016-07-27 2016-12-21 杭州宏杉科技有限公司 A kind of hardware control circuit and control method thereof
CN108121412A (en) * 2016-11-30 2018-06-05 中兴通讯股份有限公司 Backboard equipment, signal interconnection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972143A (en) * 2006-12-13 2007-05-30 中兴通讯股份有限公司 Communications device single board active/standby changeover apparatus and implementation method
CN1972142A (en) * 2006-12-08 2007-05-30 中兴通讯股份有限公司 Communications device single board active/standby changeover apparatus and implementation method
US20100174835A1 (en) * 2009-01-08 2010-07-08 Chen-Yao Chung Signal Converter for an All-In-One USB Connector
CN102142986A (en) * 2010-12-03 2011-08-03 中兴通讯股份有限公司 Veneer communication system and communication method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972142A (en) * 2006-12-08 2007-05-30 中兴通讯股份有限公司 Communications device single board active/standby changeover apparatus and implementation method
CN1972143A (en) * 2006-12-13 2007-05-30 中兴通讯股份有限公司 Communications device single board active/standby changeover apparatus and implementation method
US20100174835A1 (en) * 2009-01-08 2010-07-08 Chen-Yao Chung Signal Converter for an All-In-One USB Connector
CN102142986A (en) * 2010-12-03 2011-08-03 中兴通讯股份有限公司 Veneer communication system and communication method thereof

Also Published As

Publication number Publication date
CN102142986A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
US8719475B2 (en) Method and system for utilizing low power superspeed inter-chip (LP-SSIC) communications
US9742831B2 (en) Modular and scalable digital multimedia mixer
JP4091073B2 (en) Home appliance control (CEC) protocol compatible device, CEC command management method, CEC compatible system, and audio / video entertainment system
US10031880B2 (en) Network device and information transmission method
KR101499923B1 (en) Operation of media interface to provide bidirectional communications
US9438535B2 (en) Method and system for a plurality of physical layers for network connection
CN101584155B (en) Communication system having a master/slave structure
US20060153238A1 (en) Transfer of control data between network components
US7836199B2 (en) System and method for multilane link rate negotiation
US10594588B2 (en) Built in alternate links within a switch
CN102273147A (en) Self-configurable asymmetric communication link
US8588615B2 (en) Optical communication card and communication device
US20200221362A1 (en) Communication systems with auxiliary master and auxiliary call support functionality
CN104518933A (en) Method for automatically setting ID in UART ring communication
US8295194B2 (en) Wired network connection establishing method and network device for performing the method
US9455867B2 (en) Automatic configuration of a repeater
US9294604B1 (en) Serial wrap-around redundancy system
WO2012071925A1 (en) Single board communication system and communication method thereof
JP2009527934A (en) Method and apparatus for transmitting medium busy signal to other devices
CN101355589B (en) Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment
US7849209B2 (en) System and method for link rate negotiation
EP3726813B1 (en) Control of ethernet link-partner gpio using oam
CN210899197U (en) Single-wire bidirectional communication circuit
CN211506473U (en) Single-bus multi-node series reliable serial communication circuit
CN115277299B (en) Synchronous loop communication system suitable for cascading converter topology

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: 11844947

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: 11844947

Country of ref document: EP

Kind code of ref document: A1