发明名称 |
METHOD AND APPARATUS FOR AUTOMATIC SIGNAL EXCHANGE BETWEEN MULTIPLE EMBEDDED CPU BOARDS |
摘要 |
A signal name based method for automatic signal exchange between multiple embedded CPU boards, includes: dividing CPU boards into master board and slave board, where each slave board sends signal registration information to the master board; reading an exchange relationship between an output signal and an input signal that is represented by a connection line between signal names, calculating and allocating a data bus address to which the output signal and the input signal are mapped, and sending memory addresses, data types, and bus addresses of signals to each slave board; saving these as output signal tables and input signal tables; and writing, by a signal sender, a value of an output signal into a corresponding bus address according to the output signal tables, and reading, by a receiver, a value of an input signal from a corresponding bus address according to the input signal tables. |
申请公布号 |
US2017075836(A1) |
申请公布日期 |
2017.03.16 |
申请号 |
US201415039254 |
申请日期 |
2014.11.12 |
申请人 |
NR ELECTRIC CO., LTD. ;NR ELECTRIC ENGINEERING CO., LTD. |
发明人 |
Feng Yadong;Zhou Qiang;Xu Dongfang;Yuan Tao;Zhao Tianen;Li Guanghua;Wen Jifeng;Chen Hongjun;Liu Kejin |
分类号 |
G06F13/362;G06F13/42 |
主分类号 |
G06F13/362 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for automatic signal exchange between multiple embedded CPU boards, comprising the following steps:
(1) dividing CPU boards in a distributed system of multiple embedded CPU boards into master board and slave board, wherein a CPU board with a signal management function is used as the master board, and the remaining CPU boards are used as slave boards; and during an initialization phase, each slave board sends signal registration information to the master board; (2) after the master board collects the signal registration information of all the slave boards, reading, from a configuration file, an exchange relationship between an output signal and an input signal that is represented by a connection line between signal names, calculating and allocating a data bus address to which the output signal and the input signal are mapped, and sending memory addresses, data types, and bus addresses of signals to each slave board; (3) after a slave board receives the memory addresses, the data types, and the bus addresses of the signals from the master board, saving same as output signal tables and input signal tables; and (4) during an operation phase, writing, by a signal sender, a value of an output signal into a corresponding allocated bus address according to the output signal tables, and reading, by a receiver, a value of an input signal from a corresponding bus address according to the input signal tables. |
地址 |
Nanjing, Jiangsu CN |