Information transmission method, control apparatus, electromagnetic signal transceiver apparatus, and signal processing device
View Patent ↗Example information transmission methods, control apparatuses, electromagnetic signal transceiver apparatuses, and signal processing devices are disclosed. One example information transmission method is applied to a control apparatus that includes a first processor and a second processor. The example information transmission method includes obtaining first fault information of an electromagnetic signal transceiver apparatus by the first processor through a first channel. Second fault information of the electromagnetic signal transceiver apparatus is obtained by the second processor. The second fault information is from the electromagnetic signal transceiver apparatus and is transmitted through a second channel. The first fault information corresponds to a first fault, and the second fault information corresponds to a second fault.
1 . An information transmission method, applied to a control apparatus, wherein the control apparatus comprises a first processor and a second processor, and the information transmission method comprises:
obtaining, by the first processor, first fault information of an electromagnetic signal transceiver apparatus through a first channel, wherein the first fault information corresponds to a first fault, and the first channel is a control channel, and wherein the obtaining, by the first processor, first fault information of an electromagnetic signal transceiver apparatus through a first channel comprises:
receiving, by the first processor, a first fault indication (FI) hardwire flag from the electromagnetic signal transceiver apparatus, wherein the first FI hardwire flag is used to indicate the first fault;
sending, by the first processor, a first request message to the electromagnetic signal transceiver apparatus, wherein the first request message is used to request the first fault information; and
receiving, by the first processor, the first fault information from the electromagnetic signal transceiver apparatus through the first channel; and
obtaining, by the second processor, second fault information of the electromagnetic signal transceiver apparatus, wherein the second fault information corresponds to a second fault, and the first fault and the second fault occur in a same task periodicity, and wherein:
the second fault information is from the electromagnetic signal transceiver apparatus and is transmitted through a second channel, and the second channel is a data channel.
2 . The information transmission method according to claim 1 , wherein at least one of the following applies: (1) the first channel is a serial peripheral interface (SPI), or (2) the second channel is a low voltage differential signaling (LVDS) channel.
3 . The information transmission method according to claim 1 , wherein the control apparatus further comprises a first memory, and the second fault information is stored in the first memory; and
the obtaining, by the second processor, second fault information of the electromagnetic signal transceiver apparatus comprises:
obtaining, by the second processor, the second fault information from the first memory.
4 . The information transmission method according to claim 3 , wherein the obtaining, by the second processor, the second fault information from the first memory comprises:
periodically querying, by the second processor, the first memory; and
obtaining, by the second processor, the second fault information from the first memory.
5 . The information transmission method according to claim 3 , wherein the obtaining, by the second processor, the second fault information from the first memory comprises:
detecting, by the second processor, a second fault indication (FI) hardwire flag; and
obtaining the second fault information from the first memory, wherein the second FI hardwire flag is used to indicate the second fault.
6 . The information transmission method according to claim 5 , wherein the information transmission method further comprises:
processing, by the second processor, the second fault in response to at least one of uncompleted processing of the first fault, a first instruction, or detection of the second FI hardwire flag, wherein the first instruction is used to instruct the second processor to process the second fault.
7 . The information transmission method according to claim 3 , wherein the obtaining, by the second processor, the second fault information from the first memory comprises:
obtaining, by the second processor, information in a fault register of the electromagnetic signal transceiver apparatus; and
determining, by the second processor, the second fault information based on the information in the fault register.
8 . The information transmission method according to claim 5 , wherein the information transmission method further comprises:
sending, by the second processor, a second instruction to the electromagnetic signal transceiver apparatus, wherein the second instruction is used to instruct the electromagnetic signal transceiver apparatus to clear at least one of the second FI hardwire flag or the second fault information.
9 . The information transmission method according to claim 1 , wherein the information transmission method further comprises:
detecting, by the first processor, a first fault indication (FI) hardwire flag, wherein the first FI hardwire flag is used to indicate the first fault; and
sending, by the first processor, a first instruction to the second processor, wherein the first instruction is used to instruct the second processor to process the second fault.
10 . An information transmission method, comprising:
detecting, by an electromagnetic signal transceiver apparatus, a first fault;
sending, by the electromagnetic signal transceiver apparatus, a first fault indication (FI) hardwire flag to a first processor of a control apparatus, wherein the first FI hardwire flag is used to indicate that the first fault is generated;
receiving, by the electromagnetic signal transceiver apparatus, a first request message from the first processor of the control apparatus to request first fault information;
transmitting, by the electromagnetic signal transceiver apparatus, the first fault information to the control apparatus through a first channel, wherein the first fault information corresponds to the first fault, and the first channel is a control channel;
detecting, by the electromagnetic signal transceiver apparatus, a second fault, wherein the first fault and the second fault occur in a same task periodicity; and
transmitting, by the electromagnetic signal transceiver apparatus, second fault information to the control apparatus through a second channel, wherein the second fault information corresponds to the second fault, and the second channel is a data channel.
11 . The information transmission method according to claim 10 , wherein at least one of the following applies: (1) the first channel is a serial peripheral interface (SPI), or (2) the second channel is a low voltage differential signaling (LVDS) channel.
12 . The information transmission method according to claim 10 , wherein the transmitting, by the electromagnetic signal transceiver apparatus, second fault information to the control apparatus through a second channel comprises:
transmitting, by the electromagnetic signal transceiver apparatus, the second fault information to a first memory in the control apparatus through the second channel.
13 . The information transmission method according to claim 10 , wherein the information transmission method further comprises:
sending, by the electromagnetic signal transceiver apparatus, a second fault indication (FI) hardwire flag to a second processor in the control apparatus, wherein the second FI hardwire flag is used to indicate the second fault.
14 . The information transmission method according to claim 13 , wherein the information transmission method further comprises:
receiving, by the electromagnetic signal transceiver apparatus, a second instruction from the second processor; and
clearing, by the electromagnetic signal transceiver apparatus, at least one of the second FI hardwire flag or the second fault information based on the second instruction.
15 . The information transmission method according to claim 10 , further comprising:
obtaining, by the electromagnetic signal transceiver apparatus, the first fault information in a fault register based on the first request message.
16 . A control apparatus, comprising a first processor, a second processor, a first interface circuit, and a second interface circuit, wherein:
the first processor is configured to obtain first fault information of an electromagnetic signal transceiver apparatus by using the first interface circuit corresponding to a first channel, wherein the first fault information corresponds to a first fault, and the first channel is a control channel, and wherein obtaining the first fault information of the electromagnetic signal transceiver apparatus through the first channel comprises:
receiving, by the first processor, a first fault indication (FI) hardwire flag from the electromagnetic signal transceiver apparatus, wherein the first FI hardwire flag is used to indicate the first fault;
sending, by the first processor, a first request message to the electromagnetic signal transceiver apparatus, wherein the first request message is used to request the first fault information; and
receiving, by the first processor, the first fault information from the electromagnetic signal transceiver apparatus through the first channel;
the second processor is configured to obtain second fault information of the electromagnetic signal transceiver apparatus, wherein the second fault information corresponds to a second fault, and the first fault and the second fault occur in a same task periodicity; and
the second fault information is from the electromagnetic signal transceiver apparatus and is transmitted by using the second interface circuit corresponding to a second channel, and the second channel is a data channel.
17 . The control apparatus according to claim 16 , wherein at least one of the following applies: (1) the first channel is a serial peripheral interface (SPI), or (2) the second channel is a low voltage differential signaling (LVDS) channel.
18 . The control apparatus according to claim 16 , wherein the control apparatus further comprises a first memory, and the second fault information is stored in the first memory; and
the second processor is configured to:
obtain the second fault information from the first memory.
19 . The control apparatus according to claim 18 , wherein the second processor is configured to:
periodically query the first memory; and
obtain the second fault information from the first memory.
20 . The control apparatus according to claim 18 , wherein obtaining the second fault information from the first memory comprises:
obtaining, by the second processor, information in a fault register of the electromagnetic signal transceiver apparatus; and
determining, by the second processor, the second fault information based on the information in the fault register.