Search

EP-4319079-B1 - COMMUNICATION METHOD AND APPARATUS AND OPTICAL BUS NETWORK

EP4319079B1EP 4319079 B1EP4319079 B1EP 4319079B1EP-4319079-B1

Inventors

  • WANG, YUZHOU
  • DENG, Bo

Dates

Publication Date
20260506
Application Date
20220304

Claims (15)

  1. A device management method, applied to an optical bus network, the optical bus network comprising a target optical head end and at least one optical terminal managed by the target optical head end, the optical bus network further comprising a controller, and the method comprising: allocating (S510), by the controller, a target optical head end identifier to the target optical head end when discovering the target optical head end, wherein the target optical head end identifier is for identifying the target optical head end; determining (S520), by the controller, a target management protocol from management protocols supported by the target optical head end; and communicating (S530), by the controller, target information with the target optical head end based on the target optical head end identifier and the target management protocol, wherein the target information is used by the controller to manage the target optical head end and/or the at least one optical terminal managed by the target optical head end.
  2. The method according to claim 1, wherein the target management protocol is for defining a frame structure of a message that carries the target information, the frame structure comprises a header field and a payload field, the target optical head end identifier is located in the header field, and the target information is located in the payload field.
  3. The method according to claim 2, wherein the target information uses at least one type-length-value TLV structure, wherein a type field in each TLV structure is for carrying type indication information of a managed object, a length field in each TLV structure indicates a length of object content corresponding to the managed object, and a value field in each TLV structure is for carrying the object content.
  4. The method according to claim 2 or 3, wherein the frame structure further comprises a protocol data unit PDU type field, the PDU type field in the frame structure is for carrying a predetermined value, and the predetermined value indicates that the frame structure is a management protocol frame structure.
  5. The method according to any one of claims 2 to 4, wherein the frame structure further comprises a command indicator, and the command indicator indicates that the frame structure corresponds to any one of the following message types: a read operation, a read response operation, a set operation, a set response operation, and an event report operation.
  6. The method according to any one of claims 2 to 5, wherein the frame structure further comprises an event field, and the event field is for carrying alarm event information reported by the target optical head end to the controller.
  7. A communication method, applied to an optical bus network, the optical bus network comprising a target optical head end and at least one optical terminal managed by the target optical head end, the optical bus network further comprising a controller, and the method comprising: receiving, by the target optical head end, a target optical head end identifier from the controller, wherein the target optical head end identifier is allocated by the controller when the controller discovers the target optical head end and is for identifying the target optical head end; and transmitting, by the target optical head end, target information to the controller based on the target optical head end identifier and a target management protocol, wherein the target information is used by the controller to manage the target optical head end and/or the at least one optical terminal managed by the target optical head end, and the target management protocol is determined by the controller from management protocols supported by the target optical head end.
  8. The method according to claim 7, wherein the target management protocol is for defining a frame structure of a message that carries the target information, the frame structure comprises a header field and a payload field, the target optical head end identifier is located in the header field, and the target information is located in the payload field.
  9. The method according to claim 8, wherein the target information uses at least one type-length-value TLV structure, wherein a type field in each TLV structure is for carrying type indication information of a managed object, a length field in each TLV structure indicates a length of object content corresponding to the managed object, and a value field in each TLV structure is for carrying the object content.
  10. The method according to claim 8 or 9, wherein the frame structure further comprises a protocol data unit PDU type field, the PDU type field in the frame structure is for carrying a predetermined value, and the predetermined value indicates that the frame structure is a management protocol frame structure.
  11. The method according to any one of claims 8 to 10, wherein the frame structure further comprises a command indicator, and the command indicator indicates that the frame structure corresponds to any one of the following message types: a read operation, a read response operation, a set operation, a set response operation, and an event report operation.
  12. The method according to any one of claims 8 to 11, wherein the frame structure further comprises an event field, and the event field is for carrying alarm event information reported by the target optical head end to the controller.
  13. A communication apparatus (1000), comprising a transceiver and a processor (1001), wherein the transceiver is configured to communicate with another device; and the processor (1001) is configured to invoke program instructions to implement the method according to any one of claims 1 to 6.
  14. A communication apparatus (1000), comprising a transceiver and a processor (1001), wherein the transceiver is configured to communicate with another device; and the processor (1001) is configured to invoke program instructions to implement the method according to any one of claims 7 to 12.
  15. An optical bus network, comprising at least one communication apparatus (1000) according to claim 13 or 14.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 202110420859.8, filed with the China National Intellectual Property Administration on April 19, 2021 and entitled "COMMUNICATION METHOD AND APPARATUS, AND OPTICAL BUS NETWORK". TECHNICAL FIELD This application relates to the field of industrial data communication technologies, and in particular, to a communication method and apparatus, and an optical bus network. BACKGROUND A fieldbus (fieldbus) is a kind of industrial data bus developed rapidly in recent years. It is mainly used to resolve a problem of digital communication between field equipment such as intelligent instruments, controllers, execution mechanisms on an industrial field, and information transmission between the field equipment and an advanced control system. At present, most fieldbus-based industrial control networks are serial network architectures based on the Ethernet (Ethernet), which have problems such as a high latency (a millisecond level), a low bandwidth, a poor capability of bearing a secondary station, and a poor anti-interference capability, and cannot meet higher requirements of future industrial control networks in various aspects. With rapid development of the communication industry, an optical communication technology that uses an optical wave as an information carrier has become a main transmission method in world communication because of its wide transmission frequency band, high anti-interference capability, and low signal attenuation, which are far better than transmission of cable or microwave communication. At present, there is no solution for how to introduce the optical communication technology to industrial control networks and manage newly introduced optical communication devices. US 2020/120408 A1 discloses: One embodiment provides a pluggable optical line terminal (OLT) in a passive optical network (PON). The OLT can include an optical transceiver, a non-volatile storage device storing configurations of the pluggable OLT, and an autonomous boot module configured to access the configurations stored in the storage device when booting the pluggable OLT, thereby enabling plug-and-play operations of the pluggable OLT. WO 2021/047546 A1 discloses a service configuration method and apparatus. Said method comprises: an optical network unit (ONU) applying for service configuration information from an optical line terminal (OLT) according to pre-configured service information; and performing service configuration of the OLT and the ONU according to the applied service configuration information. WO 2020/143639 A1 discloses a method, system, and related device for administering an optical network unit (ONU). The method comprises: when an ONU is determined to be online, generating a first instruction and a second instruction; the second instruction carrying a first specified identifier expressing the identity of the ONU; transmitting the first instruction to an optical line terminal (OLT) via a first interface, the first instruction being used by the OLT in parameter configuration; generating a first administrative packet on the basis of the second instruction, and transmitting the first administrative packet to the ONU via a second interface; the first administrative packet being transmitting to the ONU via the OLT; and the first administrative packet carrying the first specified identifier. SUMMARY The invention is defined by the independent claims. Advantageous embodiments are set out in the dependent claims. Embodiments of this application provide a communication method and apparatus, and an optical bus network, to provide a management mechanism by a controller for an optical head end and/or at least one optical terminal managed by the optical head end in the optical bus network. According to a first aspect, this application provides a communication method, where the method may be applied to an optical bus network, the optical bus network includes a target optical head end and at least one optical terminal managed by the target optical head end, the optical bus network further includes a controller, and the method includes: The controller allocates, when discovering the target optical head end, a target optical head end identifier to the target optical head end, where the target optical head end identifier is for identifying the target optical head end; the controller determines a target management protocol from management protocols supported by the target optical head end; and the controller communicates target information with the target optical head end based on the target optical head end identifier and the target management protocol, where the target information is used by the controller to manage the target optical head end and/or the at least one optical terminal managed by the target optical head end. Based on this solution, in an optical bus network, a controller used as a management center may allocate a ta