System, method, and apparatus for device control based on optical communication
AssigneeHuawei Technologies Co., Ltd.
InventorGang Zheng
Life of this patent
Estimating the term…
Abstract
This application provides a system for device control based on optical communication. A device supporting optical communication is introduced into a conventional system for device control. The system includes a first controller, a first optical head-end, a first optical terminal, and a first field device. The first controller communicates with the first field device through the first optical head-end. The first field device communicates with the first controller through the first optical terminal. The first optical head-end communicates with the first optical terminal through an optical signal.
Claims20
A method, comprising:
- obtaining, by a first optical head-end, a first primary station packet from a first controller, wherein the first primary station packet comprises a first primary station data unit, the first primary station data unit comprises a first destination identifier and first service data, the first destination identifier comprised in the first primary station data unit is an identifier of a first field device, the first field device is controlled by the first controller, and the first destination identifier comprised in the first primary station data unit identifies a destination recipient of the first service data;
- determining, by the first optical head-end based on the first destination identifier comprised in the first primary station data unit, a first optical terminal connected to the first field device;
- constructing, by the first optical head-end, a first downlink transmission frame, wherein the first downlink transmission frame comprises the first primary station data unit and a first header field corresponding to the first primary station data unit, the first header field corresponding to the first primary station data unit comprises an identifier of the first optical terminal or a first broadcast optical terminal identifier, and the identifier of the first optical terminal or the first broadcast optical terminal identifier indicates to the first optical terminal to process the first primary station data unit;
- sending, by the first optical head-end, the first downlink transmission frame to the first optical terminal through an optical signal;
- obtaining, by the first optical head-end, a second primary station packet sent by the first controller, wherein the second primary station packet comprises a third primary station data unit, the third primary station data unit comprises a fourth destination identifier and third service data, and the fourth destination identifier comprised in the third primary station data unit is an identifier of a second controller;
- determining, by the first optical head-end based on the identifier of the second controller, a media access control (MAC) address of a second optical head-end corresponding to the second controller;
- and
- sending, by the first optical head-end, the third primary station data unit to the second optical head-end based on the MAC address of the second optical head-end.
A method, comprising:
- receiving, by a first optical terminal, a downlink optical signal from a first optical head-end, wherein the downlink optical signal comprises a first downlink transmission frame, the first downlink transmission frame comprises a first primary station data unit and a first header field corresponding to the first primary station data unit, the first header field corresponding to the first primary station data unit comprises an identifier of the first optical terminal or a broadcast optical terminal identifier, the first primary station data unit comprises a first destination identifier and first service data, the first destination identifier comprised in the first primary station data unit is an identifier of a first field device, and the first optical terminal is connected to the first field device;
- determining, by the first optical terminal based on the identifier of the first optical terminal or the broadcast optical terminal identifier comprised in the first header field corresponding to the first primary station data unit, that the first primary station data unit is a to-be-processed data unit;
- and
- performing the following:
- sending, by the first optical terminal, the first service data to the first field device based on the identifier of the first field device comprised in the first primary station data unit;
- or
- operating or controlling the first field device based on the first service data;
- wherein the first primary station data unit further comprises at least one of the following fields:
- a data type field, an operation type field, a secondary station operation address offset field, a payload length field, a packet sequence number field, a priority field, a last packet data unit indication field, a secondary station event field, or a response error code field;
- and
- wherein sending, by the first optical terminal, the first service data to the first field device, or operating or controlling the first field device based on the first service data, comprises:
- sending, by the first optical terminal to the first field device, an operation type and a secondary station operation address offset that are comprised in the first primary station data unit, or operating or controlling the first field device based on the operation type and the secondary station operation address offset that are comprised in the first primary station data unit.
An apparatus, comprising:
- a transceiver, configured to send and receive optical signals;
- at least one processor;
- and
- a non transitory memory storing instructions that are executable by the at least one processor, wherein when the instructions are executed, the apparatus serves as a first optical head-end and performs operations comprising:
- obtain a first primary station packet from a first controller, wherein the first primary station packet comprises a first primary station data unit, the first primary station data unit comprises a first destination identifier and first service data, the first destination identifier comprised in the first primary station data unit is an identifier of a first field device, the first field device is controlled by the first controller, and the first destination identifier comprised in the first primary station data unit identifies a destination recipient of the first service data;
- determine, based on the first destination identifier comprised in the first primary station data unit, a first optical terminal connected to the first field device;
- and
- construct a first downlink transmission frame, wherein the first downlink transmission frame comprises the first primary station data unit and a first header field corresponding to the first primary station data unit, the first header field corresponding to the first primary station data unit comprises an identifier of the first optical terminal or a broadcast optical terminal identifier, and the identifier of the first optical terminal or the broadcast optical terminal identifier indicates to the first optical terminal to process the first primary station data unit;
- send the first downlink transmission frame to the first optical terminal through an optical signal;
- obtain a second primary station packet sent by the first controller, wherein the second primary station packet comprises a third primary station data unit, the third primary station data unit comprises a fourth destination identifier and third service data, and the fourth destination identifier comprised in the third primary station data unit is an identifier of a second controller;
- determine, based on the identifier of the second controller, a media access control (MAC) address of a second optical head-end corresponding to the second controller;
- and
- send the third primary station data unit to the second optical head-end based on the MAC address of the second optical head-end.
An apparatus, comprising:
- a transceiver, configured to send and receive optical signals;
- at least one processor;
- and
- a non-transitory computer readable storage medium storing instructions that are executable by the at least one processor, and when the instructions are executed, the apparatus serves as a first optical terminal and performs operations comprising:
- receive a downlink optical signal from a first optical head-end, wherein the downlink optical signal comprises a first downlink transmission frame, the first downlink transmission frame comprises a first primary station data unit and a first header field corresponding to the first primary station data unit, the first header field corresponding to the first primary station data unit comprises an identifier of the first optical terminal or a broadcast optical terminal identifier, the first primary station data unit comprises a first destination identifier and first service data, the first destination identifier comprised in the first primary station data unit is an identifier of a first field device, and the first optical terminal is connected to the first field device;
- determine, based on the identifier of the first optical terminal or the broadcast optical terminal identifier comprised in the first header field corresponding to the first primary station data unit, that the first primary station data unit is a to-be-processed data unit;
- and
- perform the following:
- send, the first service data to the first field device based on the identifier of the first field device comprised in the first primary station data unit;
- or
- operate or control the first field device based on the first service data;
- wherein the first primary station data unit further comprises at least one of the following fields:
- a data type field, an operation type field, a secondary station operation address offset field, a payload length field, a packet sequence number field, a priority field, a last packet data unit indication field, a secondary station event field, or a response error code field;
- and
- wherein sending the first service data to the first field device, or operating or controlling the first field device based on the first service data, comprises:
- sending, to the first field device, an operation type and a secondary station operation address offset that are comprised in the first primary station data unit, or operating or controlling the first field device based on the operation type and the secondary station operation address offset.
Dependencies are inferred from the claim text.