Nothing Special   »   [go: up one dir, main page]

CN115714936A - Method and device for sequential addressing of slave stations - Google Patents

Method and device for sequential addressing of slave stations Download PDF

Info

Publication number
CN115714936A
CN115714936A CN202110952334.9A CN202110952334A CN115714936A CN 115714936 A CN115714936 A CN 115714936A CN 202110952334 A CN202110952334 A CN 202110952334A CN 115714936 A CN115714936 A CN 115714936A
Authority
CN
China
Prior art keywords
optical network
onu
optical
distances
olt
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110952334.9A
Other languages
Chinese (zh)
Inventor
王文静
张彦兵
程雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110952334.9A priority Critical patent/CN115714936A/en
Priority to PCT/CN2022/109843 priority patent/WO2023020279A1/en
Publication of CN115714936A publication Critical patent/CN115714936A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a method and a device for sequential addressing of slave stations, which are characterized in that the method and the device are applied to a first control system, the first control system comprises a Passive Optical Network (PON), a master station controller and a plurality of slave stations, the PON comprises an optical line terminal and a plurality of optical network units, the plurality of optical network units correspond to the plurality of slave stations one by one, and the method comprises the following steps: the optical line terminal determines the online sequence of a plurality of optical network units; and the optical line terminal informs the master station controller of configuring sequential logical addresses for the plurality of slave stations according to the online sequence of the plurality of optical network units, wherein the logical addresses of any two slave stations are different. The sequential logical addresses are sequentially distributed to the corresponding slave stations through the online of the optical network unit, and when the PON technology is applied to an industrial control system, the time delay and jitter of the slave stations can be reduced based on the point-to-multipoint architecture of the PON technology, and the communication performance of the system is improved.

Description

从站顺序编址方法和装置Sequential addressing method and device for slave stations

技术领域technical field

本申请涉及光通信领域,并且更具体地,涉及一种从站顺序编址方法和装置。The present application relates to the field of optical communication, and more specifically, to a method and device for sequential addressing of slave stations.

背景技术Background technique

在当前现场总线组网结构中,上位机连接主站控制器,主站控制器连接多个从站,各从站依次手拉手连接组成菊花链的架构。其中,手拉手菊花链的组网中,逻辑位置与物理位置是一致的。In the current fieldbus network structure, the upper computer is connected to the master station controller, and the master station controller is connected to multiple slave stations, and each slave station is connected hand in hand to form a daisy chain architecture. Wherein, in the networking of the hand-in-hand daisy chain, the logical location is consistent with the physical location.

由于每个从站是手拉手连接的,所以从站的时延和抖动是累加的,这将导致菊花链末端的从站时延和抖动比较大,进而导致整个系统通信性能不高。Since each slave station is connected hand in hand, the delay and jitter of the slave stations are accumulated, which will lead to a relatively large delay and jitter of the slave station at the end of the daisy chain, which will lead to poor communication performance of the entire system.

因此,如何降低从站的时延和抖动,进而提高系统的通信性能是亟待解决的问题。Therefore, how to reduce the delay and jitter of the slave station, and then improve the communication performance of the system is an urgent problem to be solved.

发明内容Contents of the invention

本申请提供一种从站顺序编址方法和装置,能够为从站分配顺序的逻辑地址,并且基于PON技术点到多点的架构能够降低从站的时延和抖动,提高系统的通信性能。The present application provides a sequential addressing method and device for slave stations, which can assign sequential logical addresses to slave stations, and the point-to-multipoint architecture based on PON technology can reduce the delay and jitter of slave stations, and improve the communication performance of the system.

第一方面,提供了一种从站顺序编址方法,应用于第一控制系统,该第一控制系统包括无源光纤网络(passive optical network,PON)、主站控制器(例如,可编程逻辑控制器(programmable logic controller,PLC))和多个从站,PON包括光线路终端(opticalline terminal,OLT)和多个光网络单元(optical network unit,ONU),多个ONU与多个从站一一对应。该方法可以由OLT执行,或者也可以由用于OLT的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以由OLT执行为例进行说明。In a first aspect, a sequential addressing method for slave stations is provided, which is applied to a first control system, and the first control system includes a passive optical network (passive optical network, PON), a master station controller (for example, a programmable logic Controller (programmable logic controller, PLC)) and multiple slave stations, PON includes optical line terminal (optical line terminal, OLT) and multiple optical network units (optical network unit, ONU), multiple ONUs and multiple slave stations One to one correspondence. The method may be executed by the OLT, or may also be executed by a chip or circuit for the OLT, which is not limited in the present application. For ease of description, the implementation by the OLT is taken as an example below.

该方法包括:OLT确定该多个ONU的上线顺序;OLT根据该多个ONU的上线顺序通知该PLC为该多个从站配置顺序的逻辑地址,任意两个从站的逻辑地址不同。The method includes: the OLT determines the online order of the multiple ONUs; the OLT notifies the PLC to configure sequential logical addresses for the multiple slave stations according to the online order of the multiple ONUs, and the logical addresses of any two slave stations are different.

根据本申请提供的方案,通过ONU的上线依次为对应的从站分配顺序的逻辑地址,进而降低从站的时延和抖动,提高系统的通信性能。According to the solution provided by the present application, sequential logical addresses are assigned to corresponding slave stations through the ONU online, thereby reducing the delay and jitter of the slave stations, and improving the communication performance of the system.

示例性的,该第一控制系统可以是工业控制系统,还可以是其他控制系统,用于为从站分配顺序地址,本申请对此不作具体限定。Exemplarily, the first control system may be an industrial control system, or other control systems, for allocating sequential addresses to the slave stations, which is not specifically limited in this application.

结合第一方面,在第一方面的某些实现方式中,OLT确定多个ONU的上线顺序,包括:OLT根据多个第一距离的远近确定多个ONU的上线顺序,该多个第一距离分别是多个ONU与OLT之间的距离,多个第一距离与多个ONU一一对应。With reference to the first aspect, in some implementation manners of the first aspect, the OLT determines the online order of multiple ONUs, including: the OLT determines the online order of multiple ONUs according to the distance of multiple first distances, and the multiple first distances are the distances between the multiple ONUs and the OLT, and the multiple first distances correspond to the multiple ONUs one by one.

在该实现方式中,通过ONU与OLT的距离远近确定ONU的顺序,进而依次为对应的从站分配顺序的逻辑地址,实现降低从站的时延和抖动,提高系统的通信性能。In this implementation mode, the sequence of ONUs is determined by the distance between the ONUs and the OLT, and sequential logical addresses are assigned to the corresponding slave stations in order to reduce the delay and jitter of the slave stations and improve the communication performance of the system.

示例性的,等整个网络下挂的所有ONU上线之后,OLT分别扫描各个ONU distance,即OLT与各个ONU之间的距离。例如,OLT通过扫描确定ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。那么,OLT可以控制各个ONU按照距离由近及远依次上线,即ONU x、ONU y、ONU z依次上线。或者,OLT可以控制各个ONU按照距离由远及近依次上线,即ONU z、ONU y、ONU x依次上线等。Exemplarily, after all the ONUs connected to the entire network go online, the OLT scans each ONU distance, that is, the distance between the OLT and each ONU. For example, the OLT determines through scanning that the distances between ONU x, ONU y, ONU z and the OLT are the closest, the next closest, and the farthest, respectively. Then, the OLT can control each ONU to go online sequentially according to the distance from near to far, that is, ONU x, ONU y, and ONU z go online sequentially. Alternatively, the OLT can control each ONU to go online sequentially according to the distance, that is, ONU z, ONU y, and ONU x go online in sequence.

在该实现方式中,多个从站的逻辑地址可以是顺序的,即逐渐递增的方式。或者,从站顺序的逻辑地址也可以是逐渐递减的配置方式。In this implementation, the logical addresses of multiple slave stations may be sequential, that is, gradually increasing. Alternatively, the sequential logical addresses of the slave stations can also be configured in a gradually decreasing manner.

可选地,从站顺序的逻辑地址也可以是按照字母(例如,英文字母)的顺序排列,即A、B、C…。Optionally, the sequential logical addresses of the slave stations may also be arranged in alphabetical order (for example, English letters), that is, A, B, C....

应理解,以上可能的实现方式仅仅是示例性说明,不应对本申请的技术方案构成任何限定。It should be understood that the above possible implementation manners are merely illustrative descriptions, and should not constitute any limitation to the technical solution of the present application.

结合第一方面,在第一方面的某些实现方式中,OLT根据多个第一距离的远近确定多个光网络单元的上线顺序,包括:当多个第一距离中的第i个第一距离小于第i+1个第一距离时,光线路终端确定第i光网络单元的上线顺序优于第i+1光网络单元的上线顺序,第i个第一距离与第i光网络单元对应,第i+1个第一距离与第i+1光网络单元对应,i为大于零的整数。With reference to the first aspect, in some implementation manners of the first aspect, the OLT determines the online order of the multiple optical network units according to the distance of the multiple first distances, including: when the i-th among the multiple first distances is the first When the distance is less than the i+1th first distance, the optical line terminal determines that the online sequence of the i-th optical network unit is better than that of the i+1-th optical network unit, and the i-th first distance corresponds to the i-th optical network unit , the i+1th first distance corresponds to the i+1th optical network unit, and i is an integer greater than zero.

在该实现方式中,距离OLT最近的ONU最先上线,对应的从站最先分配顺序的逻辑地址。这仅是示例性的说明,不应对本申请的技术方案构成限定。In this implementation, the ONU closest to the OLT goes online first, and the corresponding slave station first assigns sequential logical addresses. This is only an exemplary description, and should not be construed as limiting the technical solution of the present application.

可选地,距离OLT最远的ONU也可以最先上线,即多个ONU按照由远及近依次上线。Optionally, the ONU farthest from the OLT may also go online first, that is, multiple ONUs go online sequentially from far to near.

应理解,在实际工业场景中,考虑到施工效率、人力成本、技术难度等因素,一般按照距离由近及远的顺序控制多个ONU依次上线,并依次为ONU下挂的从站顺序地分配逻辑地址。It should be understood that in actual industrial scenarios, considering factors such as construction efficiency, labor cost, and technical difficulty, generally, multiple ONUs are controlled to go online sequentially in order of distance from near to far, and the slave stations connected to the ONU are sequentially allocated logical address.

示例性的,ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。那么,OLT控制各个ONU按照距离由近及远,即ONU x、ONU y、ONU z的顺序依次上线。Exemplarily, the distances between ONU x, ONU y, ONU z and the OLT are respectively the closest, the next closest and the farthest. Then, the OLT controls each ONU to go online sequentially in order of distance from near to far, that is, ONU x, ONU y, and ONU z.

结合第一方面,在第一方面的某些实现方式中,该多个第一距离是预先配置的。With reference to the first aspect, in some implementation manners of the first aspect, the multiple first distances are preconfigured.

在本申请实施例中,多个第一距离是多个ONU与OLT之间的多个距离。该多个第一距离是人为构造的,可以预先配置,使得OLT能够识别不同距离的ONU。In this embodiment of the present application, the multiple first distances are multiple distances between the multiple ONUs and the OLT. The multiple first distances are artificially constructed and may be pre-configured so that the OLT can identify ONUs with different distances.

结合第一方面,在第一方面的某些实现方式中,该多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。With reference to the first aspect, in some implementations of the first aspect, the multiple first distances are determined according to the extension length of the trunk optical fiber of the unequal beam splitter; or, the multiple first distances are determined according to the equal beam ratio The distance between the input port of the device and the multiple output ports is determined.

在该实现方式中,进一步阐述人为构造距离差可以通过延长分光器的主干光纤长度实现。示例性的,基于不等比分光组网结构,分光器的主干光纤的延长长度为第一距离;基于等比分光组网结构,分光器中的输入端口与多个输出端口之间的距离可以看作多个第一距离。In this implementation manner, it is further explained that the artificially constructed distance difference can be realized by extending the length of the main optical fiber of the optical splitter. Exemplarily, based on the unequal ratio optical networking structure, the extension length of the trunk fiber of the optical splitter is the first distance; based on the equal ratio optical networking structure, the distance between the input port and the multiple output ports in the optical splitter can be Think of as multiple first distances.

结合第一方面,在第一方面的某些实现方式中,OLT根据多个ONU的上线顺序控制多个ONU依次上线。With reference to the first aspect, in some implementation manners of the first aspect, the OLT controls the multiple ONUs to go online sequentially according to the online sequence of the multiple ONUs.

示例性的,假设ONU与OLT之间的距离由近及远为ONU x、ONU y、ONU z。那么,OLT可以通过软件控制首先给最近的ONU x分配非空的Bwmap,给下挂的ONU y、ONU z分配空的Bwmap,使得ONU x上线。待PLC为ONU x分配逻辑地址后,再通过分配非空的Bwmap控制ONU y上线。以此类推,直至所有的ONU分配逻辑地址等。Exemplarily, it is assumed that the distance between the ONU and the OLT is ONU x, ONU y, and ONU z from near to far. Then, the OLT can first allocate a non-empty Bwmap to the nearest ONU x through software control, and allocate an empty Bwmap to the downlink ONU y and ONU z, so that ONU x can go online. After the PLC allocates a logical address for ONU x, it controls ONU y to go online by allocating a non-empty Bwmap. By analogy, until all ONUs are assigned logical addresses and so on.

结合第一方面,在第一方面的某些实现方式中,OLT根据多个ONU的上线顺序依次为多个ONU配置多个光网络单元标识ONU ID,多个ONU ID与多个从站一一对应,多个ONU ID与多个ONU一一对应,任意两个光网络单元标识不同。In conjunction with the first aspect, in some implementations of the first aspect, the OLT configures a plurality of ONU IDs for a plurality of ONUs in sequence according to the online order of a plurality of ONUs, and a plurality of ONU IDs are associated with a plurality of slave stations one by one Correspondingly, multiple ONU IDs are in one-to-one correspondence with multiple ONUs, and any two optical network unit identifiers are different.

换句话说,OLT根据扫描得到的多个ONU distance,分配各个ONU对应的ONU ID。In other words, the OLT allocates the ONU ID corresponding to each ONU according to the multiple ONU distances obtained through scanning.

示例性的,按照OLT测距的距离远近为各个ONU分配ID。即OLT识别最近的、次近的、最远的ONU,依次为每一个ONU排序。例如,ONU x与OLT之间距离最近,那么标记ONU x的ONUID为1。类似地,ONU y与OLT之间距离次近,那么标记ONU y的ONU ID为2。ONU z与OLT之间距离最远,那么标记ONU z的ONU ID为3。Exemplarily, an ID is assigned to each ONU according to the distance measured by the OLT. That is, the OLT identifies the nearest, the next closest, and the farthest ONU, and sorts each ONU in turn. For example, if the distance between ONU x and the OLT is the shortest, then the ONUID marked with ONU x is 1. Similarly, if the distance between ONU y and the OLT is the second closest, then the ONU ID marking ONU y is 2. If the distance between ONU z and the OLT is the farthest, then the ONU ID marked with ONU z is 3.

结合第一方面,在第一方面的某些实现方式中,多个ONU ID包括第一ONU ID,多个从站包括第一从站,第一ONU ID与第一从站对应。其中,第一ONU ID与第一从站的对应关系可以根据第一光网络单元的序列号ONU SN、第一ONU与OLT的距离中的一个或多个确定,第一ONU是多个ONU中的一个,第一ONU与第一从站对应。With reference to the first aspect, in some implementation manners of the first aspect, the multiple ONU IDs include a first ONU ID, the multiple slave stations include the first slave station, and the first ONU ID corresponds to the first slave station. Wherein, the corresponding relationship between the first ONU ID and the first slave station can be determined according to one or more of the serial number ONU SN of the first optical network unit, the distance between the first ONU and the OLT, and the first ONU is one of multiple ONUs One, the first ONU corresponds to the first slave station.

结合第一方面,在第一方面的某些实现方式中,OLT根据多个ONU的上线顺序通知PLC为多个从站配置顺序的逻辑地址,包括:OLT向PLC发送通知消息,该通知消息包括多个ONU ID,该通知消息用于指示PLC根据多个ONU ID依次为多个从站配置顺序的逻辑地址。In conjunction with the first aspect, in some implementations of the first aspect, the OLT notifies the PLC to configure sequential logical addresses for the multiple slave stations according to the online order of the multiple ONUs, including: the OLT sends a notification message to the PLC, and the notification message includes For multiple ONU IDs, the notification message is used to instruct the PLC to configure sequential logical addresses for multiple slave stations according to the multiple ONU IDs.

示例性的,OLT通过软件控制使得最近的ONU x上线后,OLT需要向PLC发送该通知消息,用于指示距离最近的ONU x上线,以及用于指示PLC为该ONU x下挂的从站设备分配顺序逻辑地址。类似地,当次近的ONU y上线后,OLT还需要向PLC发送通知消息,用于指示次近的ONU y上线,并且通知PLC为该ONU y下挂的从站设备分配顺序逻辑地址。依次类推,直至所有的ONU获取顺序的逻辑地址。Exemplarily, after the OLT makes the nearest ONU x go online through software control, the OLT needs to send the notification message to the PLC, which is used to indicate that the nearest ONU x is online, and is used to instruct the PLC to connect the slave station device connected to the ONU x Assign sequential logical addresses. Similarly, when the next nearest ONU y goes online, the OLT also needs to send a notification message to the PLC to indicate that the next closest ONU y is online, and notify the PLC to assign sequential logical addresses to the slave devices connected to the ONU y. And so on, until all ONUs obtain sequential logical addresses.

具体地,PLC向从站发送分配信息。其中,该分配信息用于为各个从站分配顺序的逻辑地址,该分配信息包括多个逻辑地址信息。其中,各个从站与各个逻辑地址是一一对应的关系。Specifically, the PLC sends allocation information to the slave stations. Wherein, the allocation information is used to allocate sequential logical addresses to each slave station, and the allocation information includes a plurality of logical address information. Wherein, there is a one-to-one correspondence relationship between each slave station and each logic address.

示例性的,PLC依次为上线的ONU下挂的从站分配顺序的逻辑地址,直到每个从站都上线。例如,PLC为距离OLT最近的ONU x下挂的从站1分配逻辑地址1。那么,PLC为距离OLT次近的ONU y下挂的从站2分配逻辑地址2。PLC为距离OLT最远的ONU z下挂的从站3分配逻辑地址为3。以此类推,直至所有的从站均被分配顺序的逻辑地址信息。Exemplarily, the PLC sequentially assigns sequential logical addresses to the slave stations connected to the online ONUs until every slave station goes online. For example, the PLC assigns logical address 1 to the slave station 1 attached to the ONU x closest to the OLT. Then, the PLC assigns a logical address 2 to the slave station 2 attached to the ONU y closest to the OLT. The PLC assigns a logical address of 3 to the slave station 3 attached to the ONU z that is farthest from the OLT. By analogy, until all the slave stations are assigned sequential logical address information.

第二方面,提供了一种从站顺序编址装置,应用于第一控制系统,该第一控制系统包括无源光纤网络(passive optical network,PON)、主站控制器(例如,可编程逻辑控制器(programmable logic controller,PLC))和多个从站,PON包括光线路终端(opticalline terminal,OLT)和多个光网络单元(optical network unit,ONU),多个ONU与多个从站一一对应。In a second aspect, a slave station sequential addressing device is provided, which is applied to a first control system, and the first control system includes a passive optical network (passive optical network, PON), a master station controller (for example, a programmable logic Controller (programmable logic controller, PLC)) and multiple slave stations, PON includes optical line terminal (optical line terminal, OLT) and multiple optical network units (optical network unit, ONU), multiple ONUs and multiple slave stations One to one correspondence.

该装置包括处理单元,用于:OLT确定该多个ONU的上线顺序;OLT根据该多个ONU的上线顺序通知该PLC为该多个从站配置顺序的逻辑地址,任意两个从站的逻辑地址不同。The device includes a processing unit, which is used for: the OLT determines the online order of the multiple ONUs; the OLT notifies the PLC to configure the logical addresses of the multiple slave stations according to the online order of the multiple ONUs, and the logical addresses of any two slave stations The address is different.

根据本申请提供的方案,通过ONU的上线依次为对应的从站分配顺序的逻辑地址,进而降低从站的时延和抖动,提高系统的通信性能。According to the solution provided by the present application, sequential logical addresses are assigned to corresponding slave stations through the ONU online, thereby reducing the delay and jitter of the slave stations, and improving the communication performance of the system.

示例性的,该第一控制系统可以是工业控制系统,还可以是其他控制系统,用于为从站分配顺序地址,本申请对此不作具体限定。Exemplarily, the first control system may be an industrial control system, or other control systems, for allocating sequential addresses to the slave stations, which is not specifically limited in this application.

结合第二方面,在第二方面的某些实现方式中,OLT确定多个ONU的上线顺序,包括:OLT根据多个第一距离的远近确定多个ONU的上线顺序,该多个第一距离分别是多个ONU与OLT之间的距离,多个第一距离与多个ONU一一对应。With reference to the second aspect, in some implementations of the second aspect, the OLT determining the online order of the multiple ONUs includes: the OLT determines the online order of the multiple ONUs according to the distance of the multiple first distances, and the multiple first distances are the distances between the multiple ONUs and the OLT, and the multiple first distances correspond to the multiple ONUs one by one.

在该实现方式中,通过ONU与OLT的距离远近确定ONU的顺序,进而依次为对应的从站分配顺序的逻辑地址,实现降低从站的时延和抖动,提高系统的通信性能。In this implementation mode, the sequence of ONUs is determined by the distance between the ONUs and the OLT, and sequential logical addresses are assigned to the corresponding slave stations in order to reduce the delay and jitter of the slave stations and improve the communication performance of the system.

示例性的,等整个网络下挂的所有ONU上线之后,OLT分别扫描各个ONU distance,即OLT与各个ONU之间的距离。例如,OLT通过扫描确定ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。那么,OLT可以控制各个ONU按照距离由近及远依次上线,即ONU x、ONU y、ONU z依次上线。或者,OLT可以控制各个ONU按照距离由远及近依次上线,即ONU z、ONU y、ONU x依次上线等。Exemplarily, after all the ONUs connected to the entire network go online, the OLT scans each ONU distance, that is, the distance between the OLT and each ONU. For example, the OLT determines through scanning that the distances between ONU x, ONU y, ONU z and the OLT are the closest, the next closest, and the farthest, respectively. Then, the OLT can control each ONU to go online sequentially according to the distance from near to far, that is, ONU x, ONU y, and ONU z go online sequentially. Alternatively, the OLT can control each ONU to go online sequentially according to the distance, that is, ONU z, ONU y, and ONU x go online in sequence.

在该实现方式中,多个从站的逻辑地址可以是顺序的,即逐渐递增的方式。或者,从站顺序的逻辑地址也可以是逐渐递减的配置方式。In this implementation, the logical addresses of multiple slave stations may be sequential, that is, gradually increasing. Alternatively, the sequential logical addresses of the slave stations can also be configured in a gradually decreasing manner.

可选地,从站顺序的逻辑地址也可以是按照字母(例如,英文字母)的顺序排列,即A、B、C…。Optionally, the sequential logical addresses of the slave stations may also be arranged in alphabetical order (for example, English letters), that is, A, B, C....

应理解,以上可能的实现方式仅仅是示例性说明,不应对本申请的技术方案构成任何限定。It should be understood that the above possible implementation manners are merely illustrative descriptions, and should not constitute any limitation to the technical solution of the present application.

结合第二方面,在第二方面的某些实现方式中,该处理单元,还用于当多个第一距离中的第i个第一距离小于第i+1个第一距离时,光线路终端确定第i光网络单元的上线顺序优于第i+1光网络单元的上线顺序,第i个第一距离与第i光网络单元对应,第i+1个第一距离与第i+1光网络单元对应,i为大于零的整数。With reference to the second aspect, in some implementations of the second aspect, the processing unit is further configured to: when the i-th first distance among the multiple first distances is smaller than the i+1-th first distance, the optical line The terminal determines that the online order of the i-th optical network unit is better than that of the i+1-th optical network unit, the i-th first distance corresponds to the i-th optical network unit, and the i+1-th first distance corresponds to the i+1-th Corresponding to the optical network unit, i is an integer greater than zero.

在该实现方式中,距离OLT最近的ONU最先上线,对应的从站最先分配顺序的逻辑地址。这仅是示例性的说明,不应对本申请的技术方案构成限定。In this implementation, the ONU closest to the OLT goes online first, and the corresponding slave station first assigns sequential logical addresses. This is only an exemplary description, and should not be construed as limiting the technical solution of the present application.

可选地,距离OLT最远的ONU也可以最先上线,即多个ONU按照由远及近依次上线。Optionally, the ONU farthest from the OLT may also go online first, that is, multiple ONUs go online sequentially from far to near.

应理解,在实际工业场景中,考虑到施工效率、人力成本、技术难度等因素,一般按照距离由近及远的顺序控制多个ONU依次上线,并依次为ONU下挂的从站顺序地分配逻辑地址。It should be understood that in actual industrial scenarios, considering factors such as construction efficiency, labor cost, and technical difficulty, generally, multiple ONUs are controlled to go online sequentially in order of distance from near to far, and the slave stations connected to the ONU are sequentially allocated logical address.

示例性的,ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。那么,OLT控制各个ONU按照距离由近及远,即ONU x、ONU y、ONU z的顺序依次上线。Exemplarily, the distances between ONU x, ONU y, ONU z and the OLT are respectively the closest, the next closest and the farthest. Then, the OLT controls each ONU to go online sequentially in order of distance from near to far, that is, ONU x, ONU y, and ONU z.

结合第二方面,在第二方面的某些实现方式中,该多个第一距离是预先配置的。With reference to the second aspect, in some implementation manners of the second aspect, the multiple first distances are preconfigured.

在本申请实施例中,多个第一距离是多个ONU与OLT之间的多个距离。该多个第一距离是人为构造的,可以预先配置,使得OLT能够识别不同距离的ONU。In this embodiment of the present application, the multiple first distances are multiple distances between the multiple ONUs and the OLT. The multiple first distances are artificially constructed and may be pre-configured so that the OLT can identify ONUs with different distances.

结合第二方面,在第二方面的某些实现方式中,该多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。With reference to the second aspect, in some implementations of the second aspect, the multiple first distances are determined according to the extension length of the trunk optical fiber of the unequal beam splitter; or, the multiple first distances are determined according to the equal beam ratio The distance between the input port of the device and the multiple output ports is determined.

在该实现方式中,进一步阐述人为构造距离差可以通过延长分光器的主干光纤长度实现。示例性的,基于不等比分光组网结构,分光器的主干光纤的延长长度为第一距离;基于等比分光组网结构,分光器中的输入端口与多个输出端口之间的距离可以看作多个第一距离。In this implementation manner, it is further explained that the artificially constructed distance difference can be realized by extending the length of the main optical fiber of the optical splitter. Exemplarily, based on the unequal ratio optical networking structure, the extension length of the trunk fiber of the optical splitter is the first distance; based on the equal ratio optical networking structure, the distance between the input port and the multiple output ports in the optical splitter can be Think of as multiple first distances.

结合第二方面,在第二方面的某些实现方式中,该处理单元,还用于OLT根据多个ONU的上线顺序控制多个ONU依次上线。With reference to the second aspect, in some implementation manners of the second aspect, the processing unit is further used for the OLT to control the multiple ONUs to go online sequentially according to the online sequence of the multiple ONUs.

示例性的,假设ONU与OLT之间的距离由近及远为ONU x、ONU y、ONU z。那么,OLT可以通过软件控制首先给最近的ONU x分配非空的Bwmap,给下挂的ONU y、ONU z分配空的Bwmap,使得ONU x先上线。待PLC为ONU x分配逻辑地址后,再通过分配非空的Bwmap控制ONUy上线。以此类推,直至所有的ONU分配逻辑地址等。Exemplarily, it is assumed that the distance between the ONU and the OLT is ONU x, ONU y, and ONU z from near to far. Then, the OLT can first allocate a non-empty Bwmap to the nearest ONU x through software control, and allocate an empty Bwmap to the ONU y and ONU z connected below, so that ONU x goes online first. After the PLC allocates a logical address for ONU x, it controls ONUy to go online by allocating a non-empty Bwmap. By analogy, until all ONUs are assigned logical addresses and so on.

结合第二方面,在第二方面的某些实现方式中,该处理单元,还用于OLT根据多个ONU的上线顺序依次为多个ONU配置多个光网络单元标识ONU ID,多个ONU ID与多个从站一一对应,多个ONU ID与多个ONU一一对应,任意两个光网络单元标识不同。In conjunction with the second aspect, in some implementations of the second aspect, the processing unit is also used for the OLT to sequentially configure multiple ONUs for multiple ONUs according to the online order of multiple ONUs. Multiple ONU IDs, multiple ONU IDs One-to-one correspondence with multiple slave stations, one-to-one correspondence between multiple ONU IDs and multiple ONUs, and any two optical network unit identifiers are different.

换句话说,OLT根据扫描得到的多个ONU distance,分配各个ONU对应的ONU ID。In other words, the OLT allocates the ONU ID corresponding to each ONU according to the multiple ONU distances obtained through scanning.

示例性的,按照OLT测距的距离远近为各个ONU分配ID。即OLT识别最近的、次近的、最远的ONU,依次为每一个ONU排序。例如,ONU x与OLT之间距离最近,那么标记ONU x的ONUID为1。类似地,ONU y与OLT之间距离次近,那么标记ONU y的ONU ID为2。ONU z与OLT之间距离最远,那么标记ONU z的ONU ID为3。Exemplarily, an ID is assigned to each ONU according to the distance measured by the OLT. That is, the OLT identifies the nearest, the next closest, and the farthest ONU, and sorts each ONU in turn. For example, if the distance between ONU x and the OLT is the shortest, then the ONUID marked with ONU x is 1. Similarly, if the distance between ONU y and the OLT is the second closest, then the ONU ID marking ONU y is 2. If the distance between ONU z and the OLT is the farthest, then the ONU ID marked with ONU z is 3.

结合第二方面,在第二方面的某些实现方式中,多个ONU ID包括第一ONU ID,多个从站包括第一从站,第一ONU ID与第一从站对应。其中,第一ONU ID与第一从站的对应关系可以根据第一光网络单元的序列号ONU SN、第一ONU与OLT的距离中的一个或多个确定,第一ONU是多个ONU中的一个,第一ONU与第一从站对应。With reference to the second aspect, in some implementation manners of the second aspect, the multiple ONU IDs include a first ONU ID, the multiple slave stations include the first slave station, and the first ONU ID corresponds to the first slave station. Wherein, the corresponding relationship between the first ONU ID and the first slave station can be determined according to one or more of the serial number ONU SN of the first optical network unit, the distance between the first ONU and the OLT, and the first ONU is one of multiple ONUs One, the first ONU corresponds to the first slave station.

结合第二方面,在第二方面的某些实现方式中,该装置还包括收发单元,用于OLT向PLC发送通知消息,该通知消息包括多个ONU ID,该通知消息用于指示PLC根据多个ONUID依次为多个从站配置顺序的逻辑地址。With reference to the second aspect, in some implementations of the second aspect, the device further includes a transceiver unit, configured for the OLT to send a notification message to the PLC, where the notification message includes multiple ONU IDs, and the notification message is used to instruct the PLC to An ONUD configures sequential logical addresses for multiple slave stations in turn.

示例性的,OLT通过软件控制使得最近的ONU x上线后,OLT需要向PLC发送该通知消息,用于指示距离最近的ONU x上线,以及用于指示PLC为该ONU x下挂的从站设备分配顺序逻辑地址。类似地,当次近的ONU y上线后,OLT还需要向PLC发送通知消息,用于指示次近的ONU y上线,并且通知PLC为该ONU y下挂的从站设备分配顺序逻辑地址。依次类推,直至所有的ONU获取顺序的逻辑地址。Exemplarily, after the OLT makes the nearest ONU x go online through software control, the OLT needs to send the notification message to the PLC, which is used to indicate that the nearest ONU x is online, and is used to instruct the PLC to connect the slave station device connected to the ONU x Assign sequential logical addresses. Similarly, when the next nearest ONU y goes online, the OLT also needs to send a notification message to the PLC to indicate that the next closest ONU y is online, and notify the PLC to assign sequential logical addresses to the slave devices connected to the ONU y. And so on, until all ONUs obtain sequential logical addresses.

具体地,PLC向从站发送分配信息。其中,该分配信息用于为各个从站分配顺序的逻辑地址,该分配信息包括多个逻辑地址信息。其中,各个从站与各个逻辑地址是一一对应的关系。Specifically, the PLC sends allocation information to the slave stations. Wherein, the allocation information is used to allocate sequential logical addresses to each slave station, and the allocation information includes a plurality of logical address information. Wherein, there is a one-to-one correspondence relationship between each slave station and each logic address.

示例性的,PLC依次为上线的ONU下挂的从站分配顺序的逻辑地址,直到每个从站都上线。例如,PLC为距离OLT最近的ONU x下挂的从站1分配逻辑地址1。那么,PLC为距离OLT次近的ONU y下挂的从站2分配逻辑地址2。PLC为距离OLT最远的ONU z下挂的从站3分配逻辑地址为3。以此类推,直至所有的从站均被分配顺序的逻辑地址信息。Exemplarily, the PLC sequentially assigns sequential logical addresses to the slave stations connected to the online ONUs until every slave station goes online. For example, the PLC assigns logical address 1 to the slave station 1 attached to the ONU x closest to the OLT. Then, the PLC assigns a logical address 2 to the slave station 2 attached to the ONU y closest to the OLT. The PLC assigns a logical address of 3 to the slave station 3 attached to the ONU z that is farthest from the OLT. By analogy, until all the slave stations are assigned sequential logical address information.

第三方面,本申请提供一种光通信装置,包括至少一个处理器,所述至少一个处理器用于执行指令,使得所述光通信装置执行如第一方面或其任意可能的实现方式中的方法。In a third aspect, the present application provides an optical communication device, including at least one processor, and the at least one processor is used to execute instructions, so that the optical communication device performs the method in the first aspect or any possible implementation thereof .

第四方面,本申请提供一种光通信装置,包括处理器和通信接口,所述通信接口用于接收信号并将接收到的信号传输至所述处理器,所述处理器处理所述信号,以使所述通信装置执行如第一方面或其任意可能的实现方式中的方法。In a fourth aspect, the present application provides an optical communication device, including a processor and a communication interface, the communication interface is used to receive a signal and transmit the received signal to the processor, and the processor processes the signal, The communication device is configured to execute the method in the first aspect or any possible implementation thereof.

可选地,上述通信接口可以为接口电路、输入/输出接口等,处理器可以为处理电路、逻辑电路等。Optionally, the above-mentioned communication interface may be an interface circuit, an input/output interface, etc., and the processor may be a processing circuit, a logic circuit, or the like.

可选地,第四方面所述的通信装置可以为芯片或集成电路。Optionally, the communication device described in the fourth aspect may be a chip or an integrated circuit.

第五方面,提供了一种光通信装置,包括:用于实现第一方面或第一方面任一种可能实现方式中的方法的各个模块或单元。In a fifth aspect, an optical communication device is provided, including: various modules or units for implementing the method in the first aspect or any possible implementation manner of the first aspect.

第六方面,提供了一种光通信系统,包括:光线路终端,用于执行上述第一方面或第一方面任一种可能实现方式中的方法。In a sixth aspect, an optical communication system is provided, including: an optical line terminal, configured to execute the method in the foregoing first aspect or any possible implementation manner of the first aspect.

第七方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得如第一方面或其任意可能的实现方式中的方法被执行。In a seventh aspect, the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are run on a computer, as in the first aspect or any possible implementation thereof, method is executed.

第八方面,提供了一种芯片,包括至少一个处理器,该至少一个处理器与存储器耦合,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得安装有该芯片系统的光线路终端执行上述第一方面或第一方面任一种可能实现方式中的方法。In an eighth aspect, a chip is provided, including at least one processor, the at least one processor is coupled with a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the installed The optical line terminal of the system-on-a-chip executes the method in the foregoing first aspect or any possible implementation manner of the first aspect.

其中,该芯片可以包括用于发送信息或数据的输入电路或者接口,以及用于接收信息或数据的输出电路或者接口。Wherein, the chip may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.

第九方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得如第一方面或其任意可能的实现方式中的方法被执行。In a ninth aspect, the present application provides a computer program product, the computer program product including computer program code, when the computer program code is run on a computer, the method in the first aspect or any possible implementation thereof be executed.

根据本申请实施例的方案,针对菊花链的组网中从站时延和抖动过大,导致整个系统通信性能不高的问题,提供了一种从站顺序编址方法和装置,引入PON技术一跳直达的特性。通过人为构造OLT与各个ONU之间的距离差,使得主站控制器扫描从站时,能够根据OLT与各个ONU之间的距离远近为下挂的从站分配顺序的逻辑地址,保证从站的物理地址和逻辑地址对应。该实现方式通过光网络单元的上线依次为对应的从站分配顺序的逻辑地址,并且将PON技术应用于工控系统时,基于PON技术点到多点的架构能够降低从站的时延和抖动,提高系统的通信性能。According to the solution of the embodiment of the present application, aiming at the problem that the communication performance of the entire system is not high due to the excessive delay and jitter of the slave station in the daisy chain networking, a method and device for sequential addressing of the slave station are provided, and PON technology is introduced One-hop direct feature. By artificially constructing the distance difference between the OLT and each ONU, when the master station controller scans the slave stations, it can assign sequential logical addresses to the connected slave stations according to the distance between the OLT and each ONU, ensuring the slave stations The physical address corresponds to the logical address. This implementation method assigns sequential logical addresses to the corresponding slave stations through the online of the optical network unit, and when PON technology is applied to the industrial control system, the point-to-multipoint architecture based on PON technology can reduce the delay and jitter of the slave stations. Improve the communication performance of the system.

附图说明Description of drawings

图1是当前现场总线组网结构的一例示意图。Fig. 1 is a schematic diagram of an example of the current field bus network structure.

图2是适用本申请的工业光总线方案架构的一例示意图。FIG. 2 is a schematic diagram of an example of an industrial optical bus solution architecture applicable to the present application.

图3是适用本申请的从站顺序编址方法的一例示意图。Fig. 3 is a schematic diagram of an example of a sequential addressing method for slave stations applicable to the present application.

图4是适用本申请的从站顺序编址方法的另一例示意图。Fig. 4 is a schematic diagram of another example of the sequential addressing method for slave stations applicable to the present application.

图5是适用本申请的确定从站逻辑地址和物理地址对应关系的一例示意图。Fig. 5 is a schematic diagram of an example of determining the corresponding relationship between a logical address and a physical address of a slave station applicable to the present application.

图6是适用本申请的确定从站逻辑地址和物理地址对应关系的另一例示意图。Fig. 6 is a schematic diagram of another example of determining the corresponding relationship between a logical address and a physical address of a slave station applicable to the present application.

图7是适用本申请的不等比分光组网结构的一例示意图。Fig. 7 is a schematic diagram of an example of an unequal-ratio optical networking structure applicable to the present application.

图8是适用本申请的等比分光组网结构的一例示意图。FIG. 8 is a schematic diagram of an example of an equal-ratio optical networking structure applicable to the present application.

图9是适用本申请的从站顺序编址装置的一例示意图。Fig. 9 is a schematic diagram of an example of a slave station sequential addressing device to which this application is applied.

图10是适用本申请的从站顺序编址装置的另一例示意图。Fig. 10 is a schematic diagram of another example of a slave station sequential addressing device applicable to the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.

无源光纤网络(passive optical network,PON)是一种宽带光接入技术,是点到多点的物理拓扑结构。其中,PON网络可以由光线路终端(optical line terminal,OLT)、无源光分配网络(optical distribution network,ODN)和多个光网络单元(opticalnetwork unit,ONU)组成。PON具有光纤资源共享、OLT端口共享、节省机房投资、设备安全性高、建网速度快、综合建网成本低等优点。Passive optical network (PON) is a broadband optical access technology and a point-to-multipoint physical topology. Wherein, the PON network may be composed of an optical line terminal (optical line terminal, OLT), a passive optical distribution network (optical distribution network, ODN), and multiple optical network units (optical network unit, ONU). PON has the advantages of optical fiber resource sharing, OLT port sharing, saving equipment room investment, high equipment security, fast network construction speed, and low comprehensive network construction cost.

在PON技术应用中,OLT设备是光接入网(optical access network,OAN)的核心部件,相当于传统通信网中的交换机或路由器,同时也是一个多业务提供平台。一般放置在局端,提供面向用户的无源光纤网络的光纤接口。OLT设备主要实现的功能包括:上联上层网络,完成PON网络的上行接入;通过ODN网络(由光纤和无源分光器组成)下连用户端设备ONU。实现对用户端设备ONU的控制、管理和测距等功能。In the application of PON technology, the OLT device is the core component of the optical access network (OAN), which is equivalent to a switch or router in a traditional communication network, and is also a multi-service providing platform. It is generally placed at the central office to provide the optical fiber interface of the user-oriented passive optical fiber network. The main functions of the OLT equipment include: connecting to the upper layer network to complete the upstream access of the PON network; connecting to the user end equipment ONU through the ODN network (composed of optical fibers and passive optical splitters). Realize functions such as control, management, and distance measurement of the ONU at the user end.

ONU设备是光网络中的用户端设备,放置在用户端,与OLT配合使用,实现以太网二层、三层功能,为用户提供语音、数据和多媒体业务。它主要实现的功能包括:选择接收OLT发送的数据;响应OLT发出的管理命令,并作相应的调整;对用户的以太网数据进行缓存,并在OLT分配的发送窗口中向上行方向发送;以及其他用户管理功能。The ONU device is the user end device in the optical network. It is placed at the user end and used in conjunction with the OLT to realize the functions of the second layer and the third layer of the Ethernet, and provide users with voice, data and multimedia services. Its main functions include: select to receive data sent by OLT; respond to management commands sent by OLT, and make corresponding adjustments; cache user's Ethernet data and send them in the upstream direction in the sending window allocated by OLT; and Additional user management features.

应理解,OLT设备和ONU设备都是光电一体的设备。It should be understood that both the OLT device and the ONU device are devices integrating optoelectronics.

图1是当前现场总线组网结构的一例示意图。如图1所示,在工业领域,现场级生产网的典型工控架构为上位机连接主站控制器,主站控制器连接从站1、从站2、从站3等等,各从站依次手拉手连接组成菊花链的架构。在工业应用场景中,一个主站控制器控制多个从站伺服或输入输出(input/output,IO)。由于涉及到机械装置的控制,每个从站都有严格的安装位置和对应的编号。其中,安装位置和编号在主站控制器中需要被准确识别和标记。Fig. 1 is a schematic diagram of an example of the current field bus network structure. As shown in Figure 1, in the industrial field, the typical industrial control architecture of the field-level production network is that the host computer is connected to the master station controller, and the master station controller is connected to slave station 1, slave station 2, slave station 3, etc., and each slave station Connect hand in hand to form a daisy chain architecture. In an industrial application scenario, a master controller controls multiple slave slaves or input/output (IO). As it involves the control of mechanical devices, each slave station has a strict installation position and corresponding number. Among them, the installation location and number need to be accurately identified and marked in the master station controller.

首先,施工工人根据物理图纸将主站控制器和多个从站连接好之后,在上位机上可以显示对应的逻辑组网图。随后,厂家编程人员再根据设备的逻辑位置和物理位置进行调试软件。First of all, after the construction workers connect the master station controller and multiple slave stations according to the physical drawings, the corresponding logical network diagram can be displayed on the host computer. Subsequently, the manufacturer's programmers debug the software according to the logical and physical locations of the equipment.

需要说明的是,此时逻辑组网和物理组网的位置是一一对应的。另外,这种菊花链型的组网结构易于工人施工。同时,编程人员在根据该菊花链型的组网结构调试各从站时也不容易出错。It should be noted that, at this time, the positions of the logical networking and the physical networking are in one-to-one correspondence. In addition, this daisy-chain network structure is easy for workers to construct. At the same time, it is not easy for programmers to make mistakes when debugging each slave station according to the daisy chain network structure.

当前,以太网控制自动化技术EtherCAT主从站设备之间的连接经常采用手拉手的菊花链方式。其中,电气工程师或电工根据施工图纸做好通信连接后,各个从站的初始状态是相同的。At present, the connection between the Ethernet control automation technology EtherCAT master and slave devices often adopts a hand-in-hand daisy chain method. Among them, after the electrical engineer or electrician completes the communication connection according to the construction drawings, the initial state of each slave station is the same.

需要说明的是,各个从站初次上线是没有地址的,需要进行配置和编址。在具体实现过程中,控制器调试人员在上位机上可以通过总线协议(例如,EtherCAT)逐个扫描出主站控制器从属的各个从站,并为该各个从站自动编址,进而实现各个从站物理关系和逻辑关系的一一对应。It should be noted that each slave station does not have an address when it goes online for the first time, and needs to be configured and addressed. In the specific implementation process, the controller debugger can scan out the slave stations subordinate to the master station controller one by one through the bus protocol (for example, EtherCAT) on the host computer, and automatically address each slave station, and then realize each slave station. One-to-one correspondence between physical relationship and logical relationship.

具体地,从站配置顺序逻辑地址包括:首先,通过广播寻址扫描整个网络的从站设备的数量和网络拓扑结构;然后,根据广播寻址的结果为各个从站配置参数;最后,再通过位置寻址方式顺序识别每一个从站,并按顺序依次为各个从站分配地址。Specifically, the sequential logical address configuration of the slave station includes: first, scan the number of slave station devices and the network topology of the entire network through broadcast addressing; then, configure parameters for each slave station according to the results of broadcast addressing; finally, pass The location addressing method identifies each slave station sequentially, and assigns addresses to each slave station sequentially.

在上述实现方式中,手拉手的菊花链组网结构的逻辑位置与物理位置是一致的。但是,由于每个从站是手拉手连接的,所以在菊花链组网结构中,从站的时延和抖动是累加的。那么菊花链末端的从站时延和抖动相对来说比较大,进而导致整个系统的通信性能不高。In the above implementation manner, the logical position and the physical position of the hand-in-hand daisy chain networking structure are consistent. However, since each slave station is connected hand in hand, in the daisy chain networking structure, the delay and jitter of the slave stations are accumulated. Then the delay and jitter of the slave station at the end of the daisy chain are relatively large, which leads to poor communication performance of the entire system.

针对菊花链组网通信性能不高的问题,我们可以将PON技术应用在工控系统中来降低系统的时延和抖动。由于PON系统的组网架构是点对多点(point 2multiple point,P2MP)的连接,所有从站到主站控制器均为一跳直达,因此每个从站的延时和抖动均是可以确定的。但是,这种PON架构也会带来施工方面的难题。因为从站的上线顺序是不确定的,主站控制器扫描从站时是随机的,无法做到为从站顺序编址。这将导致从站的物理关系和逻辑关系无法一一对应,因此需要人为干预主站进行配置。Aiming at the problem of low communication performance in daisy chain networking, we can apply PON technology in industrial control systems to reduce system delay and jitter. Since the networking architecture of the PON system is a point-to-multipoint (point 2 multiple point, P2MP) connection, all slave stations are directly connected to the master station controller by one hop, so the delay and jitter of each slave station can be determined of. However, this PON architecture also presents construction challenges. Because the online sequence of the slave stations is uncertain, the master station controller scans the slave stations at random, and it is impossible to address the slave stations sequentially. This will result in a one-to-one correspondence between the physical relationship and the logical relationship of the slave stations, so human intervention in the master station is required for configuration.

因此,针对PON技术应用在工业场景中给从站顺序编址的问题;PON技术应用在工业场景中技术难度高、施工效率低、增加人力成本的问题;以及菊花链结构链末端的从站时延和抖动大的问题,当前没有解决方案。Therefore, in view of the problem of sequential addressing of slave stations in the application of PON technology in industrial scenarios; the problems of high technical difficulty, low construction efficiency and increased labor costs in the application of PON technology in industrial scenarios; and the problem of slave stations at the end of the daisy chain structure chain There is currently no solution to the problem of large delay and jitter.

有鉴于此,本申请提出一种从站顺序编址的方法和装置,即一种可自动识别PON系统中各个ONU的顺序并给从站顺序编址的技术方案,包括:In view of this, this application proposes a method and device for sequential addressing of slave stations, that is, a technical solution that can automatically identify the sequence of each ONU in the PON system and address the slave stations sequentially, including:

首先,人为构造距离差。即分别延长不等比分光组网结构中不等比分光器的主干光纤长度,以及等比分光组网结构中等比分光器的主干光纤长度,来人为地增加每个ONU到OLT的距离差,使得OLT能够识别不同距离的ONU。First of all, artificially constructed distance difference. That is to extend the length of the backbone fiber of the unequal optical device in the unequal optical network structure and the length of the backbone optical fiber of the equal optical device in the equal optical network structure to artificially increase the distance difference between each ONU and the OLT. This enables the OLT to identify ONUs at different distances.

然后,根据OLT与各个ONU之间的距离差,对各个ONU进行排序。即OLT测距得到与每个ONU的距离,根据距离(ONU distance)大小计算并控制各个ONU上线的顺序。一般地,各个ONU根据距离由近到远的顺序进行上线。Then, each ONU is sorted according to the distance difference between the OLT and each ONU. That is, the OLT measures the distance to each ONU, calculates and controls the online order of each ONU according to the distance (ONU distance). Generally, each ONU goes online according to the order of distance from shortest to farthest.

最后,依次为各个从站分配顺序地址。即根据距离远近顺序标识从站设备的地址。也就是说,按照各个ONU上线的顺序,依次给ONU下行连接的从站设备分配顺序地址,进而实现各个从站的逻辑位置和物理位置一一对应。Finally, sequential addresses are assigned to the individual slaves in turn. That is, the addresses of the slave devices are identified in sequence according to the distance. That is to say, according to the order in which each ONU goes online, sequential addresses are assigned to the slave station devices connected downstream of the ONU in turn, so as to realize the one-to-one correspondence between the logical position and the physical position of each slave station.

示例性的,在本申请实施例中,每个ONU从属一个从站。即保证各个ONU与各个从站是一一对应的关系。Exemplarily, in this embodiment of the application, each ONU is subordinate to one slave station. That is to ensure that there is a one-to-one correspondence between each ONU and each slave station.

为了便于理解本申请实施例,做出以下几点说明。In order to facilitate understanding of the embodiments of the present application, the following descriptions are made.

在本申请中,“用于指示”可以包括用于直接指示和用于间接指示。当描述某一指示信息用于指示A时,可以包括该指示信息直接指示A或间接指示A,而并不代表该指示信息中一定携带有A。In the present application, "for indicating" may include both for direct indicating and for indirect indicating. When describing a certain indication information for indicating A, it may include that the indication information directly indicates A or indirectly indicates A, but it does not mean that A must be carried in the indication information.

此外,具体的指示方式还可以是现有各种指示方式,例如但不限于,上述指示方式及其各种组合等。各种指示方式的具体细节可以参考现有技术,本文不再赘述。由上文所述可知,举例来说,当需要指示相同类型的多个信息时,可能会出现不同信息的指示方式不相同的情形。具体实现过程中,可以根据具体的需要选择所需的指示方式,本申请实施例对选择的指示方式不做限定,如此一来,本申请实施例涉及的指示方式应理解为涵盖可以使得待指示方获知待指示信息的各种方法。In addition, specific indication manners may also be various existing indication manners, such as but not limited to, the above indication manners and various combinations thereof. For specific details of various indication manners, reference may be made to the prior art, which will not be repeated herein. It can be known from the above that, for example, when multiple pieces of information of the same type need to be indicated, there may be a situation where different information is indicated in different ways. In the specific implementation process, the required indication method can be selected according to the specific needs. The embodiment of the present application does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present application should be understood as covering the There are various methods by which a party can obtain the information to be indicated.

可以理解的是,在下文示出的实施例中“第一”、“第二”以及各种数字编号只是为了描述方便进行的区分,并不用来限制本申请实施例的范围。下文各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It can be understood that, in the embodiments shown below, "first", "second" and various numbers are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The sequence numbers of the processes below do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.

本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B的情况。其中,A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b和c中的至少一项(个),可以表示:a,或b,或c,或者a和b,或者a和c,或者b和c,或者a、b和c。其中,a、b和c分别可以是单个,也可以是多个。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships. For example, A and/or B may mean that A exists alone, A and B exist simultaneously, and B exists alone. Wherein, A and B may be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (one) of a, b and c may represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c. Wherein, a, b and c can be single or multiple.

在本申请实施例中,“当……时”、“在……的情况下”以及“如果”等描述均指在某种客观情况下设备会做出相应的处理,并非是限定时间,且也不要求设备在实现时一定要有判断的动作,也不意味着存在其它限定。In this embodiment of the application, descriptions such as "when", "in the case of ..." and "if" all refer to the corresponding processing by the device under certain objective circumstances, not a limited time, and Nor does it require that the device must have a judgment action during implementation, nor does it mean that there are other restrictions.

下面结合附图对本申请实施例中从站顺序编址的方法进行详细说明。The method for sequential addressing of slave stations in the embodiment of the present application will be described in detail below with reference to the accompanying drawings.

图2是适用本申请的工业光总线方案架构的一例示意图。如图2所示,在实际的工业光网应用场景中,OLT可以称为光头端,ONU可以称为光终端,光头端连接多个光终端模组。每个光终端模组下挂从站设备。FIG. 2 is a schematic diagram of an example of an industrial optical bus solution architecture applicable to the present application. As shown in Figure 2, in the actual industrial optical network application scenario, the OLT can be called the optical head end, the ONU can be called the optical terminal, and the optical head end is connected to multiple optical terminal modules. Each optical terminal module is connected with a slave station device.

示例性的,一台主站控制器(例如,可编程逻辑控制器PLC)与一个光头端连接,一个光头端与多个光终端模组连接,各个光终端模组下行分别连接从站IO、伺服、传感等。Exemplarily, a master station controller (for example, programmable logic controller PLC) is connected with an optical head end, and an optical head end is connected with a plurality of optical terminal modules, and each optical terminal module is respectively connected to the slave station IO, Servo, sensor, etc.

在该工业光网的架构中,可以实现一台PLC控制多台从站,即点对多点P2MP的连接方式。In the framework of the industrial optical network, one PLC can control multiple slave stations, that is, the connection mode of point-to-multipoint P2MP.

图3是适用本申请的从站顺序编址方法的一例示意图。应用于第一控制系统,该第一控制系统包括无源光纤网络PON、主站控制器(例如,可编程逻辑控制器PLC)和多个从站,PON包括光线路终端OLT和多个光网络单元ONU,多个ONU与多个从站一一对应。该方法可以由OLT执行,或者也可以由用于OLT的芯片或电路执行,本申请对此不作限定。为了便于描述,下面以由OLT执行为例进行说明。Fig. 3 is a schematic diagram of an example of a sequential addressing method for slave stations applicable to the present application. Applied to a first control system comprising a passive optical network PON, a master station controller (e.g., a programmable logic controller PLC) and a plurality of slave stations, the PON comprising an optical line terminal OLT and a plurality of optical networks Unit ONU, multiple ONUs correspond to multiple slave stations one by one. The method may be executed by the OLT, or may also be executed by a chip or circuit for the OLT, which is not limited in the present application. For ease of description, the implementation by the OLT is taken as an example below.

示例性的,该第一控制系统可以是工业控制系统,还可以是其他控制系统,用于为从站分配顺序地址,本申请对此不作具体限定。Exemplarily, the first control system may be an industrial control system, or other control systems, for allocating sequential addresses to the slave stations, which is not specifically limited in this application.

如图3所示,具体实现步骤300包括:As shown in Figure 3, the specific implementation step 300 includes:

S310,OLT确定该多个ONU的上线顺序;S310, the OLT determines the online sequence of the multiple ONUs;

一种可能的实现方式,OLT根据多个第一距离的远近确定多个ONU的上线顺序,该多个第一距离分别是多个ONU与OLT之间的距离,多个第一距离与多个ONU一一对应。In a possible implementation, the OLT determines the online order of multiple ONUs according to the distances of multiple first distances, the multiple first distances are the distances between the multiple ONUs and the OLT, and the multiple first distances and multiple One-to-one correspondence between ONUs.

在该实现方式中,通过ONU与OLT的距离远近确定ONU的顺序,进而依次为对应的从站分配顺序的逻辑地址,实现降低从站的时延和抖动,提高系统的通信性能。In this implementation mode, the sequence of ONUs is determined by the distance between the ONUs and the OLT, and sequential logical addresses are assigned to the corresponding slave stations in order to reduce the delay and jitter of the slave stations and improve the communication performance of the system.

示例性的,等整个网络下挂的所有ONU上线之后,OLT分别扫描各个ONU distance,即OLT与各个ONU之间的距离。例如,OLT通过扫描确定ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。那么,OLT可以控制各个ONU按照距离由近及远依次上线,即ONU x、ONU y、ONU z依次上线。或者,OLT可以控制各个ONU按照距离由远及近依次上线,即ONU z、ONU y、ONU x依次上线等。Exemplarily, after all the ONUs connected to the entire network go online, the OLT scans each ONU distance, that is, the distance between the OLT and each ONU. For example, the OLT determines through scanning that the distances between ONU x, ONU y, ONU z and the OLT are the closest, the next closest, and the farthest, respectively. Then, the OLT can control each ONU to go online sequentially according to the distance from near to far, that is, ONU x, ONU y, and ONU z go online sequentially. Alternatively, the OLT can control each ONU to go online sequentially according to the distance, that is, ONU z, ONU y, and ONU x go online in sequence.

在该实现方式中,多个从站的逻辑地址可以是顺序的,即逐渐递增的方式。或者,从站顺序的逻辑地址也可以是逐渐递减的配置方式。In this implementation, the logical addresses of multiple slave stations may be sequential, that is, gradually increasing. Alternatively, the sequential logical addresses of the slave stations can also be configured in a gradually decreasing manner.

另一种可能的实现方式,OLT根据多个第一距离的远近确定多个光网络单元的上线顺序,包括:当多个第一距离中的第i个第一距离小于第i+1个第一距离时,光线路终端确定第i光网络单元的上线顺序优于第i+1光网络单元的上线顺序,第i个第一距离与第i光网络单元对应,第i+1个第一距离与第i+1光网络单元对应,i为大于零的整数。In another possible implementation manner, the OLT determines the online order of multiple optical network units according to the distances of multiple first distances, including: when the i-th first distance among the multiple first distances is smaller than the i+1-th When the distance is 1, the optical line terminal determines that the online order of the i-th optical network unit is better than that of the i+1-th optical network unit, the i-th first distance corresponds to the i-th optical network unit, and the i+1-th optical network unit first The distance corresponds to the i+1th optical network unit, and i is an integer greater than zero.

在该实现方式中,距离OLT最近的ONU最先上线,对应的从站最先分配顺序的逻辑地址。这仅是示例性的说明,不应对本申请的技术方案构成限定。In this implementation, the ONU closest to the OLT goes online first, and the corresponding slave station first assigns sequential logical addresses. This is only an exemplary description, and should not be construed as limiting the technical solution of the present application.

可选地,距离OLT最远的ONU也可以最先上线,即多个ONU按照由远及近依次上线。Optionally, the ONU farthest from the OLT may also go online first, that is, multiple ONUs go online sequentially from far to near.

应理解,在实际工业场景中,考虑到施工效率、人力成本、技术难度等因素,一般按照距离由近及远的顺序控制多个ONU依次上线,并依次为ONU下挂的从站顺序地分配逻辑地址。It should be understood that in actual industrial scenarios, considering factors such as construction efficiency, labor cost, and technical difficulty, generally, multiple ONUs are controlled to go online sequentially in order of distance from near to far, and the slave stations connected to the ONU are sequentially allocated logical address.

示例性的,ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。那么,OLT控制各个ONU按照距离由近及远,即ONU x、ONU y、ONU z的顺序依次上线。Exemplarily, the distances between ONU x, ONU y, ONU z and the OLT are respectively the closest, the next closest and the farthest. Then, the OLT controls each ONU to go online sequentially in order of distance from near to far, that is, ONU x, ONU y, and ONU z.

需要说明的是,该多个第一距离是预先配置的。It should be noted that the multiple first distances are pre-configured.

在本申请实施例中,多个第一距离是多个ONU与OLT之间的多个距离。该多个第一距离是人为构造的,可以预先配置,使得OLT能够识别不同距离的ONU。In this embodiment of the present application, the multiple first distances are multiple distances between the multiple ONUs and the OLT. The multiple first distances are artificially constructed and may be pre-configured so that the OLT can identify ONUs with different distances.

示例性的,该多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。Exemplarily, the multiple first distances are determined according to the extended length of the trunk fiber of the unequal optical splitter; or, the multiple first distances are determined according to the distance between the input port and the multiple output ports of the equal optical splitter The distance is fixed.

在该实现方式中,进一步阐述人为构造距离差可以通过延长分光器的主干光纤长度实现。示例性的,基于不等比分光组网结构,分光器的主干光纤的延长长度为第一距离;基于等比分光组网结构,分光器中的输入端口与多个输出端口之间的距离可以看作多个第一距离。In this implementation manner, it is further explained that the artificially constructed distance difference can be realized by extending the length of the main optical fiber of the optical splitter. Exemplarily, based on the unequal ratio optical networking structure, the extension length of the trunk fiber of the optical splitter is the first distance; based on the equal ratio optical networking structure, the distance between the input port and the multiple output ports in the optical splitter can be Think of as multiple first distances.

又一种可能的实现方式,OLT根据多个ONU的上线顺序控制多个ONU依次上线。In yet another possible implementation manner, the OLT controls the multiple ONUs to go online sequentially according to the online sequence of the multiple ONUs.

示例性的,假设ONU与OLT之间的距离由近及远为ONU x、ONU y、ONU z。那么,OLT可以通过软件控制首先给最近的ONU x分配非空的Bwmap,为下挂的ONU y、ONU z分配空的Bwmap,使得ONU x先上线。待PLC为ONU x分配逻辑地址后,再通过分配非空的Bwmap控制ONUy上线。以此类推,直至所有的ONU分配逻辑地址等。Exemplarily, it is assumed that the distance between the ONU and the OLT is ONU x, ONU y, and ONU z from near to far. Then, the OLT can first assign a non-empty Bwmap to the nearest ONU x through software control, and assign an empty Bwmap to the ONU y and ONU z connected below, so that ONU x goes online first. After the PLC allocates a logical address for ONU x, it controls ONUy to go online by allocating a non-empty Bwmap. By analogy, until all ONUs are assigned logical addresses and so on.

又一种可能的实现方式,OLT根据多个ONU的上线顺序依次为多个ONU配置多个光网络单元标识ONU ID,多个ONU ID与多个从站一一对应,多个ONU ID与多个ONU一一对应,任意两个光网络单元标识不同。In another possible implementation, the OLT configures multiple ONU IDs for multiple ONUs in sequence according to the online order of multiple ONUs. Multiple ONU IDs correspond to multiple slave stations one by one, and multiple ONU IDs correspond to multiple There is a one-to-one correspondence between each ONU, and any two optical network unit identifiers are different.

换句话说,OLT根据扫描得到的多个ONU distance,分配各个ONU对应的ONU ID。In other words, the OLT allocates the ONU ID corresponding to each ONU according to the multiple ONU distances obtained through scanning.

示例性的,按照OLT测距的距离远近为各个ONU分配ID。即OLT识别最近的、次近的、最远的ONU,依次为每一个ONU排序。例如,ONU x与OLT之间距离最近,那么标记ONU x的ONUID为1。类似地,ONU y与OLT之间距离次近,那么标记ONU y的ONU ID为2。ONU z与OLT之间距离最远,那么标记ONU z的ONU ID为3。Exemplarily, an ID is assigned to each ONU according to the distance measured by the OLT. That is, the OLT identifies the nearest, the next closest, and the farthest ONU, and sorts each ONU in turn. For example, if the distance between ONU x and the OLT is the shortest, then the ONUID marked with ONU x is 1. Similarly, if the distance between ONU y and the OLT is the second closest, then the ONU ID marking ONU y is 2. If the distance between ONU z and the OLT is the farthest, then the ONU ID marked with ONU z is 3.

作为示例而非限定,多个ONU ID包括第一ONU ID,多个从站包括第一从站,第一ONU ID与第一从站对应。其中,第一ONU ID与第一从站的对应关系是根据第一光网络单元的序列号ONU SN、第一ONU与OLT的距离中的一个或多个确定的,第一ONU是多个ONU中的一个,第一ONU与第一从站对应。As an example but not a limitation, the multiple ONU IDs include a first ONU ID, the multiple slave stations include a first slave station, and the first ONU ID corresponds to the first slave station. Wherein, the corresponding relationship between the first ONU ID and the first slave station is determined according to one or more of the serial number ONU SN of the first optical network unit, the distance between the first ONU and the OLT, and the first ONU is a plurality of ONUs One of them, the first ONU corresponds to the first slave station.

S320,OLT根据该多个ONU的上线顺序通知该PLC为该多个从站配置顺序的逻辑地址。S320, the OLT notifies the PLC to configure sequential logical addresses for the multiple slave stations according to the online order of the multiple ONUs.

其中,任意两个从站的逻辑地址不同。Among them, the logical addresses of any two slave stations are different.

根据本申请提供的方案,通过ONU的上线依次为对应的从站分配顺序的逻辑地址,进而降低从站的时延和抖动,提高系统的通信性能。According to the solution provided by the present application, sequential logical addresses are assigned to corresponding slave stations through the ONU online, thereby reducing the delay and jitter of the slave stations, and improving the communication performance of the system.

可选地,从站顺序的逻辑地址也可以是按照字母(例如,英文字母)的顺序排列,即A、B、C…。Optionally, the sequential logical addresses of the slave stations may also be arranged in alphabetical order (for example, English letters), that is, A, B, C....

应理解,以上可能的实现方式仅仅是示例性说明,不应对本申请的技术方案构成任何限定。It should be understood that the above possible implementation manners are merely illustrative descriptions, and should not constitute any limitation to the technical solution of the present application.

一种可能的实现方式,OLT根据多个ONU的上线顺序通知PLC为多个从站配置顺序的逻辑地址,包括:OLT向PLC发送通知消息,该通知消息包括多个ONU ID,该通知消息用于指示PLC根据多个ONU ID依次为多个从站配置顺序的逻辑地址。In a possible implementation, the OLT notifies the PLC to configure sequential logical addresses for multiple slave stations according to the online order of multiple ONUs, including: the OLT sends a notification message to the PLC, the notification message includes multiple ONU IDs, and the notification message uses It is used to instruct the PLC to configure sequential logical addresses for multiple slave stations according to multiple ONU IDs.

示例性的,OLT通过软件控制使得最近的ONU x上线后,OLT需要向PLC发送该通知消息,用于指示距离最近的ONU x上线,以及用于指示PLC为该ONU x下挂的从站设备分配顺序逻辑地址。类似地,当次近的ONU y上线后,OLT还需要向PLC发送通知消息,用于指示次近的ONU y上线,并且通知PLC为该ONU y下挂的从站设备分配顺序逻辑地址。依次类推,直至所有的ONU获取顺序的逻辑地址。Exemplarily, after the OLT makes the nearest ONU x go online through software control, the OLT needs to send the notification message to the PLC, which is used to indicate that the nearest ONU x is online, and is used to instruct the PLC to connect the slave station device connected to the ONU x Assign sequential logical addresses. Similarly, when the next nearest ONU y goes online, the OLT also needs to send a notification message to the PLC to indicate that the next closest ONU y is online, and notify the PLC to assign sequential logical addresses to the slave devices connected to the ONU y. And so on, until all ONUs obtain sequential logical addresses.

具体地,PLC向从站发送分配信息。其中,该分配信息用于为各个从站分配顺序的逻辑地址,该分配信息包括多个逻辑地址信息。其中,各个从站与各个逻辑地址是一一对应的关系。Specifically, the PLC sends allocation information to the slave stations. Wherein, the allocation information is used to allocate sequential logical addresses to each slave station, and the allocation information includes a plurality of logical address information. Wherein, there is a one-to-one correspondence relationship between each slave station and each logic address.

示例性的,PLC依次为上线的ONU下挂的从站分配顺序的逻辑地址,直到每个从站都上线。例如,PLC为距离OLT最近的ONU x下挂的从站1分配逻辑地址1。那么,PLC为距离OLT次近的ONU y下挂的从站2分配逻辑地址2。PLC为距离OLT最远的ONU z下挂的从站3分配逻辑地址为3。以此类推,直至所有的从站均被分配顺序的逻辑地址信息。Exemplarily, the PLC sequentially assigns sequential logical addresses to the slave stations connected to the online ONUs until every slave station goes online. For example, the PLC assigns logical address 1 to the slave station 1 attached to the ONU x closest to the OLT. Then, the PLC assigns a logical address 2 to the slave station 2 attached to the ONU y closest to the OLT. The PLC assigns a logical address of 3 to the slave station 3 attached to the ONU z that is farthest from the OLT. By analogy, until all the slave stations are assigned sequential logical address information.

图4是适用本申请的从站顺序编址方法的另一例示意图。根据人为构造OLT与各个ONU之间的距离差,并根据距离差控制整个网络中ONU的上线顺序,以及根据ONU上线的顺序依次为ONU下行连接的从站设备分配顺序的逻辑地址,实现从站设备的逻辑位置和物理位置一一对应。其中,光头端与光终端之间属于一对多的P2MP架构。如图4所示,主站控制器(例如,以可编程逻辑控制器PLC为例进行说明)、光头端OLT、光终端ONU、从站顺序分配地址的具体交互流程400包括:Fig. 4 is a schematic diagram of another example of the sequential addressing method for slave stations applicable to the present application. According to the artificially constructed distance difference between the OLT and each ONU, and according to the distance difference to control the online order of the ONUs in the entire network, and according to the order in which the ONUs go online, the sequential logical addresses are assigned to the slave devices connected downstream of the ONU to realize the slave station There is a one-to-one correspondence between the logical location of the device and the physical location. Among them, the optical head end and the optical terminal belong to a one-to-many P2MP architecture. As shown in Figure 4, the specific interactive process 400 of the master station controller (for example, taking the programmable logic controller PLC as an example), the optical head end OLT, the optical terminal ONU, and the sequential address assignment of the slave station includes:

S410,可编程逻辑控制器PLC向光头端OLT发送配置信息。S410, the programmable logic controller PLC sends configuration information to the OLT at the optical head end.

对应的,OLT接收来自PLC的配置信息。Correspondingly, the OLT receives configuration information from the PLC.

其中,该配置信息包括从站认证信息和从站ID。该实现方式能够确定ONU ID与从站ID的对应关系。Wherein, the configuration information includes the slave station authentication information and the slave station ID. This implementation can determine the correspondence between the ONU ID and the slave station ID.

S420,光终端ONU上线。S420, the optical terminal ONU goes online.

需要说明的是,本申请实施例中,ONU上线成功是指OLT上可以识别到该ONU。此时,OLT与ONU之间可以正常通信。It should be noted that, in the embodiment of the present application, the success of the ONU online means that the ONU can be identified on the OLT. At this point, the OLT and the ONU can communicate normally.

其中,ONU上线的具体实现方式可以包括:首先,OLT向ONU发送下行帧,包括网络配置参数。然后,OLT向ONU发送请求消息,用于请求序列号ONU SN。待OLT接收来自ONU SN后,OLT继续向ONU发送下行帧,包括ONU ID。同时,OLT向ONU发送测距请求,直至OLT接收来自ONU的测距结果等。Wherein, the specific implementation manner of the ONU going online may include: first, the OLT sends a downlink frame to the ONU, including network configuration parameters. Then, the OLT sends a request message to the ONU for requesting the serial number ONU SN. After the OLT receives the ONU SN, the OLT continues to send downlink frames to the ONU, including the ONU ID. At the same time, the OLT sends a ranging request to the ONU until the OLT receives the ranging result from the ONU.

S430,OLT分别扫描整个网络下挂的各个ONU的距离ONU distance。S430. The OLT separately scans the ONU distance of each ONU connected to the entire network.

示例性的,等整个网络下挂的所有ONU上线之后,OLT分别扫描各个ONU distance,即OLT与各个ONU之间的距离。例如,OLT通过扫描确定ONU x、ONU y、ONU z与OLT之间的距离分别为最近、次近、最远。Exemplarily, after all the ONUs connected to the entire network go online, the OLT scans each ONU distance, that is, the distance between the OLT and each ONU. For example, the OLT determines through scanning that the distances between ONU x, ONU y, ONU z and the OLT are the closest, the next closest, and the farthest, respectively.

需要说明的是,考虑到PON测距的精度和误差情况,各个ONU与OLT之间的距离可能会比较接近。那么,在后续的测距以及分配顺序的逻辑地址可能还会出现误差。因此,在步骤S430之前,需要人为构造OLT与各个ONU之间的距离差。It should be noted that, considering the accuracy and error of PON ranging, the distance between each ONU and the OLT may be relatively close. Then, there may still be errors in the subsequent ranging and logical address allocation sequence. Therefore, before step S430, it is necessary to artificially construct the distance difference between the OLT and each ONU.

作为示例而非限定,通过延长分光器(例如,不等比分光器或等比分光器)中主干光纤的长度来增加各个ONU与OLT之间的距离差。As an example but not a limitation, the distance difference between each ONU and the OLT is increased by extending the length of the main optical fiber in the optical splitter (eg, unequal optical splitter or equal optical splitter).

S440,OLT根据扫描得到的多个ONU distance,分配各个ONU对应的ONU ID。S440. The OLT allocates an ONU ID corresponding to each ONU according to the multiple ONU distances obtained through scanning.

示例性的,按照OLT测距的距离远近为各个ONU分配ID。即OLT识别最近的、次近的、最远的ONU,依次为每一个ONU排序。例如,ONU x与OLT之间距离最近,那么标记ONU x的ONUID为1。类似地,ONU y与OLT之间距离次近,那么标记ONU y的ONU ID为2。ONU z与OLT之间距离最远,那么标记ONU z的ONU ID为3。Exemplarily, an ID is assigned to each ONU according to the distance measured by the OLT. That is, the OLT identifies the nearest, the next closest, and the farthest ONU, and sorts each ONU in turn. For example, if the distance between ONU x and the OLT is the shortest, then the ONUID marked with ONU x is 1. Similarly, if the distance between ONU y and the OLT is the second closest, then the ONU ID marking ONU y is 2. If the distance between ONU z and the OLT is the farthest, then the ONU ID marked with ONU z is 3.

S450,OLT向各个ONU发送对应的ONU ID。S450, the OLT sends the corresponding ONU ID to each ONU.

对应的,各个ONU接收来自OLT的多个ONU ID。Correspondingly, each ONU receives multiple ONU IDs from the OLT.

应理解,每个ONU对应一个ONU ID,且任意两个ONU ID不相同。It should be understood that each ONU corresponds to an ONU ID, and any two ONU IDs are different.

示例性的,该实现方式能够实现ONU x、ONU y、ONU z分别获取ONU ID分别为1、2、3,进一步确定OLT与各个ONU之间的距离由近及远。Exemplarily, this implementation can achieve ONU x, ONU y, and ONU z to obtain ONU IDs of 1, 2, and 3 respectively, and further determine the distance between the OLT and each ONU from near to far.

S460,OLT通过软件控制各个ONU根据ONU ID由小及大依次上线。S460, the OLT controls each ONU through software to go online sequentially according to the ONU ID from small to large.

换句话说,OLT根据各个ONU与OLT之间由近及远的距离,分配各个ONU上线的顺序。In other words, the OLT assigns the online order of each ONU according to the distance between each ONU and the OLT, from near to far.

示例性的,OLT通过给下挂的距离最近的ONU x分配非空的Bwmap,为下挂的ONU y和ONU z分配空的Bwmap,来控制ONU x先上线。例如,通过软件控制首先让最近的ONU x上线。待后续ONU x分配逻辑地址后,再为ONU y分配非空的Bwmap来控制ONU y上线。以此类推,直至所有的ONU分配逻辑地址等。Exemplarily, the OLT controls the ONU x to go online first by allocating a non-empty Bwmap to the downstream ONU x and allocating an empty Bwmap to the downstream ONU y and ONU z. For example, the nearest ONU x is first brought online through software control. After ONU x is assigned a logical address, a non-empty Bwmap is assigned to ONU y to control ONU y to go online. By analogy, until all ONUs are assigned logical addresses and so on.

S470,OLT向PLC发送通知消息。S470, the OLT sends a notification message to the PLC.

对应的,PLC接收来自OLT的通知消息。Correspondingly, the PLC receives the notification message from the OLT.

其中,该通知消息用于指示ONU上线成功,以及通知PLC给ONU下接的从站顺序分配地址。Wherein, the notification message is used to indicate that the ONU goes online successfully, and to notify the PLC to sequentially assign addresses to the slave stations connected to the ONU.

示例性的,在上述步骤S460中,通过软件控制使得最近的ONU x上线后,OLT需要向PLC发送该通知消息,用于指示距离最近的ONU x上线,以及用于指示PLC为该ONU x下挂的从站设备分配顺序逻辑地址。类似地,当次近的ONU y上线后,OLT还需要向PLC发送通知消息,用于指示次近的ONU y上线,并且通知PLC为该ONU y下挂的从站设备分配顺序逻辑地址。依次类推,直至所有的ONU获取顺序的逻辑地址。Exemplarily, in the above step S460, after the nearest ONU x goes online through software control, the OLT needs to send the notification message to the PLC, which is used to indicate that the nearest ONU x goes online, and is used to instruct the PLC to go online for the ONU x. Linked slave devices are assigned sequential logical addresses. Similarly, when the next nearest ONU y goes online, the OLT also needs to send a notification message to the PLC to indicate that the next closest ONU y is online, and notify the PLC to assign sequential logical addresses to the slave devices connected to the ONU y. And so on, until all ONUs obtain sequential logical addresses.

S480,从站向PLC发送数据字典信息。S480, the slave station sends data dictionary information to the PLC.

对应的,PLC接收来自从站的数据字典信息。Correspondingly, the PLC receives the data dictionary information from the slave station.

需要说明的是,通过PLC与从主干和之间交互数据字典信息,PLC能够获取从站的能力,进而保证接下来PLC为从站分配逻辑地址时,可以实现与从站的时钟同步。It should be noted that, by exchanging data dictionary information between the PLC and the slave trunk, the PLC can obtain the capabilities of the slave station, and then ensure that when the PLC assigns a logical address to the slave station, the clock synchronization with the slave station can be realized.

S490,PLC向从站发送分配信息。S490, the PLC sends allocation information to the slave station.

对应的,从站接收来自PLC的分配信息。Correspondingly, the slave station receives the allocation information from the PLC.

其中,该分配信息用于指示为各个从站分配顺序的逻辑地址,该分配信息包括多个逻辑地址信息。其中,各个从站与各个逻辑地址是一一对应的关系,任意两个逻辑地址之间是不相同的。Wherein, the allocation information is used to indicate that sequential logical addresses are allocated to each slave station, and the allocation information includes a plurality of logical address information. Wherein, there is a one-to-one correspondence relationship between each slave station and each logical address, and any two logical addresses are not the same.

示例性的,PLC依次为上线的ONU下挂的从站分配顺序的逻辑地址,直到每个从站都上线。例如,PLC为距离OLT最近的ONU x下挂的从站1分配逻辑地址1。那么,PLC为距离OLT次近的ONU y下挂的从站2分配逻辑地址2。PLC为距离OLT最远的ONU z下挂的从站3分配逻辑地址为3。以此类推,直至所有的从站均被分配顺序的逻辑地址信息。在该实现方式中,多个从站的逻辑地址是顺序的,即逐渐递增的方式。Exemplarily, the PLC sequentially assigns sequential logical addresses to the slave stations connected to the online ONUs until every slave station goes online. For example, the PLC assigns logical address 1 to the slave station 1 attached to the ONU x closest to the OLT. Then, the PLC assigns a logical address 2 to the slave station 2 attached to the ONU y closest to the OLT. The PLC assigns a logical address of 3 to the slave station 3 attached to the ONU z that is farthest from the OLT. By analogy, until all the slave stations are assigned sequential logical address information. In this implementation, the logical addresses of multiple slave stations are sequential, that is, in a gradually increasing manner.

可选地,从站顺序的逻辑地址也可以是逐渐递减的配置方式。Optionally, the sequential logical addresses of the slave stations may also be configured in a gradually decreasing manner.

可选地,从站顺序的逻辑地址也可以是按照字母(例如,英文字母)的顺序排列,即A、B、C…。Optionally, the sequential logical addresses of the slave stations may also be arranged in alphabetical order (for example, English letters), that is, A, B, C....

上述给出的几种实现方式仅仅是示例性说明,不应对本申请的技术方案构成任何限定。The several implementation manners given above are only illustrative descriptions, and should not constitute any limitation to the technical solution of the present application.

需要说明的是,在本申请实施例中,在步骤S490之前,PLC需要确定从站逻辑地址与物理地址的对应关系,才能实现PLC为从站顺序分配逻辑地址。It should be noted that, in the embodiment of the present application, before step S490, the PLC needs to determine the corresponding relationship between the logical address and the physical address of the slave station, so as to realize that the PLC assigns logical addresses to the slave stations sequentially.

在一种可能的实现方式中,通过不同的ONU序列号(serial number,SN)寻找对应的关系。图5是适用本申请的确定从站逻辑地址和物理地址对应关系的一例示意图。如图5所示,上位机可以先后通过ONU ID与ONU SN的对应关系,以及ONU SN与从站N的对应关系,进而确定ONU ID与从站N的对应关系。In a possible implementation manner, the corresponding relationship is found through different ONU serial numbers (serial number, SN). Fig. 5 is a schematic diagram of an example of determining the corresponding relationship between a logical address and a physical address of a slave station applicable to the present application. As shown in Figure 5, the upper computer can determine the corresponding relationship between the ONU ID and the secondary station N through the corresponding relationship between the ONU ID and the ONU SN, and the corresponding relationship between the ONU SN and the secondary station N.

示例性的,首先,电工根据施工图纸安装所有从站,将所有电源、通信线缆连接成功。其次,控制器调试人员需要记录各个ONU的ONU SN号,及其对应的从站N的信息。然后,可以在OLT上查询每个ONU的ONU SN,及其对应的ONU ID。这样就可以通过ONU SN确定从站N与ONU ID的对应关系,就可以找到某一特定的从站。类似地,电工或编程人员再依次标记所有从站的逻辑地址和物理位置的对应关系,最后进行编程调试。Exemplarily, firstly, the electrician installs all the slave stations according to the construction drawings, and successfully connects all the power supply and communication cables. Secondly, the controller debugger needs to record the ONU SN number of each ONU and the information of the corresponding slave station N. Then, the ONU SN of each ONU and its corresponding ONU ID can be queried on the OLT. In this way, the corresponding relationship between the slave station N and the ONU ID can be determined through the ONU SN, and a specific slave station can be found. Similarly, electricians or programmers then mark the correspondence between the logical addresses and physical locations of all slave stations in turn, and finally perform programming and debugging.

在另一种可能的实现方式中,通过不同的ONU距离(ONU distance)寻找对应的关系。图6是适用本申请的确定从站逻辑地址和物理地址对应关系的另一例示意图。如图6所示,上位机可以先后通过ONU ID与ONU distance的对应关系,以及ONU distance与从站N的对应关系,进而确定ONU ID与从站N的对应关系。In another possible implementation manner, the corresponding relationship is found through different ONU distances (ONU distance). Fig. 6 is a schematic diagram of another example of determining the corresponding relationship between a logical address and a physical address of a slave station applicable to the present application. As shown in FIG. 6 , the host computer can successively determine the corresponding relationship between the ONU ID and the secondary station N through the corresponding relationship between the ONU ID and the ONU distance, and the corresponding relationship between the ONU distance and the secondary station N.

示例性的,首先,电工根据施工图纸安装所有从站,将所有电源、通信线缆连接成功。其中,安装时需要记录各个ONU的ONU distance,及其对应的从站N的物理位置信息。然后,依据PON测距原理,可以在OLT上查询其与各个ONU的距离。通过ONU distance查找对应的ONU ID。这样就可以通过ONU distance确定从站N与ONU ID的对应关系,就可以找到某一特定的从站。类似地,电工或编程人员再依次标记所有从站的逻辑地址和物理位置的对应关系,最后进行编程调试。Exemplarily, firstly, the electrician installs all the slave stations according to the construction drawings, and successfully connects all the power supply and communication cables. Wherein, the ONU distance of each ONU and the physical location information of the corresponding slave station N need to be recorded during installation. Then, according to the principle of PON ranging, the distance between the OLT and each ONU can be queried on the OLT. Find the corresponding ONU ID by ONU distance. In this way, the corresponding relationship between the slave station N and the ONU ID can be determined through the ONU distance, and a specific slave station can be found. Similarly, electricians or programmers then mark the correspondence between the logical addresses and physical locations of all slave stations in turn, and finally perform programming and debugging.

在又一种可能的实现方式中,电工根据施工图纸安装所有从站,将所有电源、通信线缆连接成功。控制器调试人员直接依次连接到从站上,给每个从站配置顺序的逻辑地址。In yet another possible implementation manner, the electrician installs all slave stations according to the construction drawings, and successfully connects all power supply and communication cables. The controller debugger directly connects to the slave stations one by one, and configures a sequential logical address for each slave station.

示例性的,本申请技术方案中,通过延长分光器(例如,不等比分光器或等比分光器)中主干光纤的长度来增加各个ONU与OLT之间的距离差。下面分别阐述在不等比分光组网结构和等比分光组网结构中,如何通过延长分光器的主干光纤的长度来为从站进行顺序编址。Exemplarily, in the technical solution of the present application, the distance difference between each ONU and the OLT is increased by extending the length of the main optical fiber in the optical splitter (for example, an unequal optical splitter or an equal optical splitter). The following describes how to perform sequential addressing for the slave stations by extending the length of the trunk optical fiber of the optical splitter in the unequal-ratio optical networking structure and the equal-ratio optical networking structure.

一种可能的实现方式,图7是适用本申请的不等比分光组网结构的一例示意图。如图7所示,上位机连接主站控制器,主站控制器连接OLT,OLT连接多个ONU,多个ONU分别连接对应的从站。其中,各从站依次手拉手连接组成菊花链式的架构。As a possible implementation manner, FIG. 7 is a schematic diagram of an example of an unequal-ratio optical networking structure applicable to this application. As shown in Figure 7, the host computer is connected to the master station controller, the master station controller is connected to the OLT, the OLT is connected to multiple ONUs, and the multiple ONUs are respectively connected to the corresponding slave stations. Among them, each slave station is connected hand in hand in turn to form a daisy chain architecture.

在不等比分光组网结构中,每个ONU连接一个带延长光纤的不等比分光器。其中,带延长光纤的不等比分光器包括主干光纤和分支光纤。本申请实施例是通过延长不等比分光器的主干光纤的长度,人为增加各个ONU到OLT的距离,从而构造距离差的。本申请实施例中,每个从站需要配备一个不等比分光器来实现不同的距离差。In the unequal optical network structure, each ONU is connected to an unequal optical switch with extended optical fiber. Wherein, the unequal optical splitter with extended optical fiber includes trunk optical fiber and branch optical fiber. In the embodiment of the present application, the distance between each ONU and the OLT is artificially increased by extending the length of the trunk optical fiber of the unequal optical splitter, thereby constructing a distance difference. In the embodiment of the present application, each slave station needs to be equipped with an unequal optical splitter to achieve different distance differences.

需要说明的是,对应于各个不同ONU对应的不等比分光器的规格和延长光纤的长度都是一样的。示例性的,与ONU x对应的带延长光纤的不等比分光器1、与ONU y对应的带延长光纤的不等比分光器2、与ONU z对应的带延长光纤的不等比分光器3具有相同的规格,且延长主干光纤的长度是相同的。例如,延长光纤长度均为5米,本申请对此不作具体限定。It should be noted that the specifications of the unequal ratio optical filters corresponding to different ONUs and the length of the extension fiber are the same. Exemplarily, the unequal optical splitter 1 with extended fiber corresponding to ONU x, the unequal optical splitter 2 with extended optical fiber corresponding to ONU y, and the unequal optical splitter with extended optical fiber corresponding to ONU z 3 have the same specification, and the length of the extended trunk fiber is the same. For example, the length of the extended optical fiber is 5 meters, which is not specifically limited in the present application.

可选地,本申请实施例中,各个不等比分光器延长主干光纤的延长长度也可以不完全一样。只要能够通过主干光纤确定各个ONU与OLT之间的比较明显的距离差即可,本申请对此不作具体限定。Optionally, in the embodiment of the present application, the extension lengths of the trunk optical fibers extended by each unequal optical splitter may not be exactly the same. As long as the relatively obvious distance difference between each ONU and the OLT can be determined through the backbone optical fiber, this application does not specifically limit it.

需要说明的是,在实际测量中PON测距是存在误差的。距离越长,测量误差越小。在本申请实施例中,人工构造的距离差可以看作是理想的测量结果。It should be noted that there are errors in the PON ranging in actual measurement. The longer the distance, the smaller the measurement error. In the embodiment of the present application, the artificially constructed distance difference can be regarded as an ideal measurement result.

其中,在不等比分光组网结构中,通过延长光纤长度来顺序编址的方式可以包括:Among them, in the unequal ratio optical networking structure, the method of sequential addressing by extending the length of the fiber can include:

首先,利用不等比分光器,同时在主干光纤端增加相同长度的纤芯,例如5~10米。本申请对纤芯的长度不作具体限定,主要根据PON测距的精度确定。即PON测距的距离越长,测距的误差就越小。但是,由于不等比分光器的体积比较大,也需要视实际情况而定。总之,通过不等比分光器延长主干光纤即可以组成手拉手菊花链式结构(但是实际上还是P2MP结构)。First, use an unequal optical splitter and add a core of the same length, for example, 5 to 10 meters, at the end of the main fiber. The present application does not specifically limit the length of the fiber core, which is mainly determined according to the accuracy of PON distance measurement. That is, the longer the PON ranging distance, the smaller the ranging error. However, due to the relatively large volume of the unequal beam splitter, it also depends on the actual situation. In short, extending the trunk fiber through unequal optical splitters can form a hand-in-hand daisy-chain structure (but in fact it is still a P2MP structure).

然后,OLT通过测距判断离OLT最近的ONU,通过软件控制其最先上线(OLT通过给ONU下发空的Bwmap控制ONU上线的顺序),并分配ONU ID为1。对于距离次近的ONU分配ONUID为2。以此类推,确保所有ONU ID按距离远近进行顺序编号。Then, the OLT judges the ONU closest to the OLT through distance measurement, and controls it to go online first through software (the OLT controls the order of ONUs going online by sending an empty Bwmap to the ONU), and assigns the ONU ID as 1. Assign ONUID 2 to the next closest ONU. By analogy, ensure that all ONU IDs are numbered sequentially according to distance.

最后,OLT通知主站控制器下挂节点上线,主站控制器可按顺序为下挂的从站配置编号。Finally, the OLT notifies the master station controller that the downlink nodes go online, and the master station controller can configure numbers for the downlink slave stations in sequence.

另一种可能的实现方式,图8是适用本申请的等比分光组网结构的一例示意图。如图8所示,多个从站可以同时连接在一个带延长光纤的等比分光器分光器上。In another possible implementation manner, FIG. 8 is a schematic diagram of an example of an equal-ratio optical networking structure applicable to this application. As shown in Figure 8, multiple slaves can be connected simultaneously on one equal-ratio splitter with extended fiber optics.

其中,该等比分光器分光器包括1个输入端口和8个输出端口,如图中1至8可以理解带延长光纤的等比分光器的8个输出端口。8个端口分别与8个ONU连接,每个ONU分别连接对应的从站。示例性的,带延长光纤的等比分光器的多个端口与多个ONU一一对应。例如,端口1与ONU 1对应,ONU 1与从站1对应。类似地,端口2与ONU 2对应,ONU 2与从站2对应。端口3与ONU 3对应,ONU 3与从站3对应。依次类推,此处不再赘述。Wherein, the equal ratio beam splitter includes 1 input port and 8 output ports, as shown in Figures 1 to 8, it can be understood that the 8 output ports of the equal ratio beam splitter with extended optical fiber. The 8 ports are respectively connected to 8 ONUs, and each ONU is connected to the corresponding slave station. Exemplarily, a plurality of ports of an equal optical splitter with extended optical fibers corresponds to a plurality of ONUs one by one. For example, port 1 corresponds to ONU 1, and ONU 1 corresponds to slave station 1. Similarly, port 2 corresponds to ONU 2, and ONU 2 corresponds to slave station 2. Port 3 corresponds to ONU 3, and ONU 3 corresponds to slave station 3. And so on, no more details here.

在等比分光组网中,带延长光纤的等比分光器包括主干光纤和分支光纤。本申请实施例是通过延长等比分光器的主干光纤的长度,人为增加各个ONU到OLT的距离,从而构造距离差的。本申请实施例中,每个从站与等比分光器的一个端口对应。In the equal ratio optical network, the equal splitter with extended fiber includes trunk fiber and branch fiber. In the embodiment of the present application, the distance between each ONU and the OLT is artificially increased by extending the length of the trunk optical fiber of the equalizer, thereby constructing a distance difference. In the embodiment of the present application, each slave station corresponds to a port of the equalizer.

需要说明的是,在等比分光组网结构中,各个端口对应的主干延长光纤的长度是不一样的。示例性的,与ONU 1对应的端口1的主干光纤延长长度为1,与ONU 2对应的端口2的主干光纤延长长度为2,与ONU 3对应的端口3的主干光纤延长长度为3等等。即带延长光纤的等比分光器中的各个端口对应的延长主干光纤的长度是不同的,且随着ONU ID以及从站ID的增加,每个等比分光器的端口光纤的长度也是逐渐增加的。上述主干光纤延长长度仅是示例性说明,不应对本申请的技术方案构成任何限定。It should be noted that, in the equal-ratio optical networking structure, the lengths of the trunk extension fibers corresponding to each port are different. Exemplarily, the trunk fiber extension length of port 1 corresponding to ONU 1 is 1, the trunk fiber extension length of port 2 corresponding to ONU 2 is 2, the trunk fiber extension length of port 3 corresponding to ONU 3 is 3, etc. . That is, the lengths of the extension trunk fibers corresponding to each port in the equal optical splitter with extended optical fiber are different, and with the increase of ONU ID and slave station ID, the length of the port optical fiber of each equal optical splitter also gradually increases of. The extension length of the above-mentioned trunk optical fiber is only an exemplary description, and shall not constitute any limitation to the technical solution of the present application.

其中,在等比分光组网结构中,通过延长光纤长度来顺序编址的方式可以包括:Among them, in the equal-ratio optical networking structure, the method of sequential addressing by extending the length of the optical fiber may include:

首先,在等比分光器的每个端口内,依次逐个增加5~10米纤芯,或者是可以构造更大的距离差。本申请中光纤延长长度是不固定的,本申请对纤芯的长度不作具体限定,主要根据PON测距的精度确定。即PON测距的距离越长,测距的误差就越小。但是,由于不等比分光器的体积比较大,也需要视实际情况而定。即根据等比分光器的体积和测距误差确定主干光纤的延长长度,组成P2MP的星型结构。First, add 5-10 meters of fiber cores one by one in each port of the equalizer, or a larger distance difference can be constructed. In this application, the extension length of the optical fiber is not fixed, and this application does not specifically limit the length of the fiber core, which is mainly determined according to the accuracy of PON distance measurement. That is, the longer the PON ranging distance, the smaller the ranging error. However, due to the relatively large volume of the unequal beam splitter, it also depends on the actual situation. That is, the extension length of the main fiber is determined according to the volume of the equalizer and the distance measurement error to form a P2MP star structure.

然后,OLT通过测距判断离OLT最近的ONU,通过软件控制其最先上线(OLT通过给ONU下发空的Bwmap控制ONU上线的顺序),并分配ONU ID为1。对于距离次近的ONU分配ONUID为2。以此类推,确保所有ONU ID按距离远近进行顺序编号。Then, the OLT judges the ONU closest to the OLT through distance measurement, and controls it to go online first through software (the OLT controls the order of ONUs going online by sending an empty Bwmap to the ONU), and assigns the ONU ID as 1. Assign ONUID 2 to the next closest ONU. By analogy, ensure that all ONU IDs are numbered sequentially according to distance.

最后,OLT通知主站控制器下挂节点上线,主站控制器可按顺序为下挂的从站配置编号。Finally, the OLT notifies the master station controller that the downlink nodes go online, and the master station controller can configure numbers for the downlink slave stations in sequence.

综上所述,本申请提供一种从站顺序编址的技术方案,利用延长光纤人为构造距离差,让OLT识别下挂ONU的顺序,配合上层软件实现从站自动顺序编址。To sum up, this application provides a technical solution for sequential addressing of slave stations, using the artificially constructed distance difference of extended optical fibers to allow the OLT to identify the sequence of ONUs connected to the downstream, and cooperate with upper-layer software to realize automatic sequential addressing of slave stations.

在保证菊花链结构链末端的从站低时延、低抖动的情况下,可以实现每个从站按顺序编址,保证从站的逻辑组网和物理组网一一对应。而且,降低工人的施工难度,减少人力成本,降低对施工人员的要求。另外,在施工铺设时,无需人为记录数据,效率更高,提高准确度。也就是说,上述方案解决了PON技术应用在工业场景中不能顺序给从站编址的问题,提高了施工效率。而且,针对PON技术一跳直达的组网结构,解决了菊花链结构链末端的从站时延和抖动大的问题。In the case of ensuring low latency and low jitter at the slave stations at the end of the daisy chain structure chain, each slave station can be addressed in sequence to ensure a one-to-one correspondence between the logical networking and the physical networking of the slave stations. Moreover, it reduces the construction difficulty of workers, reduces labor costs, and reduces the requirements for construction personnel. In addition, during construction and laying, there is no need to manually record data, which has higher efficiency and improved accuracy. That is to say, the above solution solves the problem that the slave stations cannot be sequentially addressed when the PON technology is applied in the industrial scene, and improves the construction efficiency. Moreover, for the one-hop direct networking structure of PON technology, the problem of large delay and jitter of the slave station at the end of the chain of the daisy chain structure is solved.

需要说明的是,本申请的技术方案还适用于其他领域中需要分配ID的场景,也可以将该解决顺序编址的技术方案应用到其它领域中。其中,软件和硬件领域都可适用,本申请对此不作具体限定。It should be noted that the technical solution of this application is also applicable to scenarios in which IDs need to be allocated in other fields, and the technical solution for solving sequential addressing can also be applied to other fields. Wherein, both software and hardware fields are applicable, which is not specifically limited in this application.

上文结合图1至图8,详细描述了本申请的从站顺序编址的方法侧实施例,下面将结合图9和图10详细描述本申请的从站顺序编址的装置侧实施例。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。The method side embodiment of the slave station sequential addressing of the present application is described in detail above with reference to FIG. 1 to FIG. 8 , and the device side embodiment of the slave station sequential addressing of the present application will be described in detail below in conjunction with FIG. 9 and FIG. 10 . It should be understood that the descriptions of the device embodiments correspond to the descriptions of the method embodiments, therefore, for parts that are not described in detail, reference may be made to the foregoing method embodiments.

图9是本申请实施例提供的从站顺序编址装置的示意性框图。如图9所示,该装置1000可以包括处理单元1100和收发单元1200。Fig. 9 is a schematic block diagram of a slave station sequential addressing device provided by an embodiment of the present application. As shown in FIG. 9 , the apparatus 1000 may include a processing unit 1100 and a transceiver unit 1200 .

可选地,该装置1000可对应于上文方法实施例中的光线路终端(optical lineterminal,OLT)。例如,可以为OLT,或者配置于OLT中的部件(如电路、芯片或芯片系统等)。Optionally, the apparatus 1000 may correspond to the optical line terminal (optical line terminal, OLT) in the above method embodiment. For example, it may be an OLT, or a component (such as a circuit, a chip, or a chip system, etc.) configured in the OLT.

应理解,该装置1000可对应于根据本申请实施例的方法300或400中的OLT,该装置1000可以包括用于执行图3中的方法300或图4中的方法400中OLT执行方法的单元。并且,该装置1000中的各单元和上述其它操作和/或功能分别为了实现图3中的方法300或图4中的方法400的相应流程。It should be understood that the apparatus 1000 may correspond to the OLT in the method 300 or 400 according to the embodiment of the present application, and the apparatus 1000 may include a unit for performing the method 300 in FIG. 3 or the OLT execution method in the method 400 in FIG. 4 . Moreover, each unit in the apparatus 1000 and the above-mentioned other operations and/or functions are respectively intended to implement the corresponding flow of the method 300 in FIG. 3 or the method 400 in FIG. 4 .

示例性的,处理单元1100,用于OLT确定该多个ONU的上线顺序;Exemplarily, the processing unit 1100 is used for the OLT to determine the online sequence of the multiple ONUs;

OLT根据该多个ONU的上线顺序通知该PLC为该多个从站配置顺序的逻辑地址,任意两个从站的逻辑地址不同。The OLT notifies the PLC to configure sequential logical addresses for the multiple slave stations according to the online order of the multiple ONUs, and any two slave stations have different logical addresses.

根据本申请提供的方案,通过ONU的上线依次为对应的从站分配顺序的逻辑地址,进而降低从站的时延和抖动,提高系统的通信性能。According to the solution provided by the present application, sequential logical addresses are assigned to corresponding slave stations through the ONU online, thereby reducing the delay and jitter of the slave stations, and improving the communication performance of the system.

可选地,该处理单元1100,还用于OLT根据多个第一距离的远近确定多个ONU的上线顺序,该多个第一距离分别是多个ONU与OLT之间的距离,多个第一距离与多个ONU一一对应。Optionally, the processing unit 1100 is also used for the OLT to determine the online order of multiple ONUs according to the distances of multiple first distances, where the multiple first distances are the distances between the multiple ONUs and the OLT, and the multiple first distances are respectively the distances between the multiple ONUs and the OLT. A distance is in one-to-one correspondence with multiple ONUs.

可选地,该处理单元1100,还用于当多个第一距离中的第i个第一距离小于第i+1个第一距离时,光线路终端确定第i光网络单元的上线顺序优于第i+1光网络单元的上线顺序,第i个第一距离与第i光网络单元对应,第i+1个第一距离与第i+1光网络单元对应,i为大于零的整数。Optionally, the processing unit 1100 is further configured to: when the i-th first distance among the multiple first distances is smaller than the i+1-th first distance, the optical line terminal determines that the online sequence of the i-th optical network unit is optimal In the on-line sequence of the i+1th ONU, the i-th first distance corresponds to the i-th ONU, the i+1-th first distance corresponds to the i+1-th ONU, and i is an integer greater than zero .

可选地,该多个第一距离是预先配置的。Optionally, the multiple first distances are preconfigured.

示例性的,该多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。Exemplarily, the multiple first distances are determined according to the extended length of the trunk fiber of the unequal optical splitter; or, the multiple first distances are determined according to the distance between the input port and the multiple output ports of the equal optical splitter The distance is fixed.

可选地,该处理单元1100,还用于OLT根据多个ONU的上线顺序控制多个ONU依次上线。Optionally, the processing unit 1100 is also used for the OLT to control multiple ONUs to go online sequentially according to the online sequence of the multiple ONUs.

可选地,该处理单元1100,还用于OLT根据多个ONU的上线顺序依次为多个ONU配置多个光网络单元标识ONU ID,多个ONU ID与多个从站一一对应,多个ONU ID与多个ONU一一对应,任意两个光网络单元标识不同。Optionally, the processing unit 1100 is also used for the OLT to configure a plurality of optical network unit identification ONU IDs for a plurality of ONUs in sequence according to the online order of a plurality of ONUs, and a plurality of ONU IDs are in one-to-one correspondence with a plurality of slave stations, and a plurality of The ONU ID corresponds to multiple ONUs one by one, and any two optical network unit identifiers are different.

示例性的,多个ONU ID包括第一ONU ID,多个从站包括第一从站,第一ONU ID与第一从站对应。其中,第一ONU ID与第一从站的对应关系是根据第一光网络单元的序列号ONUSN、第一ONU与OLT的距离中的一个或多个确定的,第一ONU是多个ONU中的一个,第一ONU与第一从站对应。Exemplarily, the multiple ONU IDs include a first ONU ID, the multiple slave stations include a first slave station, and the first ONU ID corresponds to the first slave station. Wherein, the corresponding relationship between the first ONU ID and the first slave station is determined according to one or more of the serial number ONUSN of the first optical network unit, the distance between the first ONU and the OLT, and the first ONU is one of multiple ONUs One, the first ONU corresponds to the first slave station.

示例性的,收发单元1200,用于OLT向PLC发送指示信息,指示信息包括多个ONUID,指示信息用于指示PLC根据多个ONU ID依次为多个从站配置顺序的逻辑地址。Exemplarily, the transceiver unit 1200 is used for the OLT to send indication information to the PLC, the indication information includes multiple ONUIDs, and the indication information is used to instruct the PLC to configure sequential logical addresses for multiple slave stations according to the multiple ONU IDs.

还应理解,该装置1000为OLT时,该装置1000中的收发单元1200可以通过收发器实现,该装置1000中的处理单元1100可通过至少一个处理器实现。It should also be understood that when the apparatus 1000 is an OLT, the transceiver unit 1200 in the apparatus 1000 may be implemented by a transceiver, and the processing unit 1100 in the apparatus 1000 may be implemented by at least one processor.

还应理解,该装置1000为配置于OLT中的芯片或芯片系统时,该装置1000中的收发单元1200可以通过输入/输出接口、电路等实现,该装置1000中的处理单元1100可以通过该芯片或芯片系统上集成的处理器、微处理器或集成电路等实现。It should also be understood that when the device 1000 is a chip or chip system configured in the OLT, the transceiver unit 1200 in the device 1000 can be realized through an input/output interface, a circuit, etc., and the processing unit 1100 in the device 1000 can be implemented through the chip Or the implementation of integrated processors, microprocessors or integrated circuits on chip systems.

图10是本申请实施例提供的从站顺序编址装置2000的另一示意性框图。如图10所示,该装置2000包括处理器2010和收发器2020。其中,处理器2010和收发器2020通过内部连接通路互相通信,该处理器2010用于执行指令,以控制该收发器2020发送信号和/或接收信号。Fig. 10 is another schematic block diagram of a slave station sequential addressing device 2000 provided by an embodiment of the present application. As shown in FIG. 10 , the device 2000 includes a processor 2010 and a transceiver 2020 . Wherein, the processor 2010 and the transceiver 2020 communicate with each other through an internal connection path, and the processor 2010 is used to execute instructions to control the transceiver 2020 to send signals and/or receive signals.

可选地,该装置2000还包括存储器2030。其中,存储器2030与处理器2010、收发器2020通过内部连接通路互相通信,该存储器2030用于存储指令,该处理器2010用于执行该存储器2030存储的指令,以控制该收发器2020发送信号和/或接收信号。Optionally, the device 2000 further includes a memory 2030 . Wherein, the memory 2030 communicates with the processor 2010 and the transceiver 2020 through an internal connection path, the memory 2030 is used to store instructions, and the processor 2010 is used to execute the instructions stored in the memory 2030 to control the transceiver 2020 to send signals and /or to receive a signal.

示例性的,处理器2010,用于OLT确定该多个ONU的上线顺序;OLT根据该多个ONU的上线顺序指示该PLC为该多个从站配置顺序的逻辑地址,任意两个从站的逻辑地址不同。Exemplary, the processor 2010 is used for the OLT to determine the online order of the multiple ONUs; the OLT indicates the logical address of the PLC for the multiple slave stations according to the online order of the multiple ONUs, and any two slave stations The logical addresses are different.

根据本申请提供的方案,通过ONU的上线依次为对应的从站分配顺序的逻辑地址,进而降低从站的时延和抖动,提高系统的通信性能。According to the solution provided by the present application, sequential logical addresses are assigned to corresponding slave stations through the ONU online, thereby reducing the delay and jitter of the slave stations, and improving the communication performance of the system.

可选地,该处理器2010,还用于OLT根据多个第一距离的远近确定多个ONU的上线顺序,该多个第一距离分别是多个ONU与OLT之间的距离,多个第一距离与多个ONU一一对应。Optionally, the processor 2010 is also used for the OLT to determine the online order of the multiple ONUs according to the distances of the multiple first distances, the multiple first distances are the distances between the multiple ONUs and the OLT, and the multiple first distances are the distances between the multiple ONUs and the OLT. A distance is in one-to-one correspondence with multiple ONUs.

可选地,该处理器2010,还用于当多个第一距离中的第i个第一距离小于第i+1个第一距离时,光线路终端确定第i光网络单元的上线顺序优于第i+1光网络单元的上线顺序,第i个第一距离与第i光网络单元对应,第i+1个第一距离与第i+1光网络单元对应,i为大于零的整数。Optionally, the processor 2010 is further configured to: when the i-th first distance among the multiple first distances is smaller than the i+1-th first distance, the optical line terminal determines that the online sequence of the i-th optical network unit is optimal In the on-line sequence of the i+1th ONU, the i-th first distance corresponds to the i-th ONU, the i+1-th first distance corresponds to the i+1-th ONU, and i is an integer greater than zero .

可选地,该多个第一距离是预先配置的。Optionally, the multiple first distances are preconfigured.

示例性的,该多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。Exemplarily, the multiple first distances are determined according to the extended length of the trunk fiber of the unequal optical splitter; or, the multiple first distances are determined according to the distance between the input port and the multiple output ports of the equal optical splitter The distance is fixed.

可选地,该处理器2010,还用于OLT根据多个ONU的上线顺序控制多个ONU依次上线。Optionally, the processor 2010 is also used for the OLT to control multiple ONUs to go online sequentially according to the online sequence of the multiple ONUs.

可选地,该处理器2010,还用于OLT根据多个ONU的上线顺序依次为多个ONU配置多个光网络单元标识ONU ID,多个ONU ID与多个从站一一对应,多个ONU ID与多个ONU一一对应,任意两个光网络单元标识不同。Optionally, the processor 2010 is also used for the OLT to configure a plurality of optical network unit identification ONU IDs for a plurality of ONUs in sequence according to the online order of a plurality of ONUs. The ONU ID corresponds to multiple ONUs one by one, and any two optical network unit identifiers are different.

示例性的,多个ONU ID包括第一ONU ID,多个从站包括第一从站,第一ONU ID与第一从站对应。其中,第一ONU ID与第一从站的对应关系是根据第一光网络单元的序列号ONUSN、第一ONU与OLT的距离中的一个或多个确定的,第一ONU是多个ONU中的一个,第一ONU与第一从站对应。Exemplarily, the multiple ONU IDs include a first ONU ID, the multiple slave stations include a first slave station, and the first ONU ID corresponds to the first slave station. Wherein, the corresponding relationship between the first ONU ID and the first slave station is determined according to one or more of the serial number ONUSN of the first optical network unit, the distance between the first ONU and the OLT, and the first ONU is one of multiple ONUs One, the first ONU corresponds to the first slave station.

示例性的,处理器2010,用于OLT向PLC发送指示信息,指示信息包括多个ONU ID,指示信息用于指示PLC根据多个ONU ID依次为多个从站配置顺序的逻辑地址。Exemplarily, the processor 2010 is used for the OLT to send indication information to the PLC, the indication information includes multiple ONU IDs, and the indication information is used to instruct the PLC to sequentially configure sequential logical addresses for multiple slave stations according to the multiple ONU IDs.

应理解,该装置2000可以对应于上述方法实施例中的光线路终端OLT,并且可以用于执行上述方法实施例中OLT执行的各个步骤和/或流程。It should be understood that the apparatus 2000 may correspond to the OLT in the above method embodiments, and may be used to execute various steps and/or processes performed by the OLT in the above method embodiments.

可选地,该存储器2030可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。存储器2030可以是一个单独的器件,也可以集成在处理器2010中。该处理器2010可以用于执行存储器2030中存储的指令,并且当该处理器2010执行存储器中存储的指令时,该处理器2010用于执行上述与OLT对应的方法实施例的各个步骤和/或流程。Optionally, the memory 2030 may include read-only memory and random-access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. The memory 2030 may be an independent device, or may be integrated in the processor 2010 . The processor 2010 may be used to execute the instructions stored in the memory 2030, and when the processor 2010 executes the instructions stored in the memory, the processor 2010 is used to execute the various steps and/or process.

可选地,该装置2000是前文实施例中的光线路终端OLT。Optionally, the apparatus 2000 is the optical line terminal OLT in the foregoing embodiments.

其中,收发器2020可以包括发射机和接收机。收发器2020还可以进一步包括天线,天线的数量可以为一个或多个。该处理器2010和存储器2030与收发器2020可以是集成在不同芯片上的器件。如,处理器2010和存储器2030可以集成在基带芯片中,收发器2020可以集成在射频芯片中。该处理器2010和存储器2030与收发器2020也可以是集成在同一个芯片上的器件。本申请对此不作限定。Wherein, the transceiver 2020 may include a transmitter and a receiver. The transceiver 2020 may further include antennas, and the number of antennas may be one or more. The processor 2010, the memory 2030 and the transceiver 2020 may be devices integrated on different chips. For example, the processor 2010 and the memory 2030 may be integrated in a baseband chip, and the transceiver 2020 may be integrated in a radio frequency chip. The processor 2010, the memory 2030 and the transceiver 2020 may also be devices integrated on the same chip. This application is not limited to this.

可选地,该装置2000是配置在光线路终端OLT中的部件,如电路、芯片、芯片系统等。Optionally, the apparatus 2000 is a component configured in an optical line terminal OLT, such as a circuit, a chip, a chip system, and the like.

其中,收发器2020也可以是通信接口,如输入/输出接口、电路等。该收发器2020与处理器2010和存储器2020都可以集成在同一个芯片中,如集成在基带芯片中。Wherein, the transceiver 2020 may also be a communication interface, such as an input/output interface, a circuit, and the like. The transceiver 2020, the processor 2010 and the memory 2020 may be integrated into the same chip, such as a baseband chip.

可选地,上述各装置实施例中的存储器与处理器可以是物理上相互独立的单元,或者,存储器也可以和处理器集成在一起,本申请对此不做限定。Optionally, the memory and the processor in the foregoing apparatus embodiments may be physically independent units, or the memory and the processor may also be integrated together, which is not limited in the present application.

此外,本申请还提供一种芯片,所述芯片包括处理器,用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,使得安装有所述芯片的控制器执行任意一个方法实施例中由控制器件执行的操作和/或处理。In addition, the present application also provides a chip, the chip includes a processor, the memory for storing the computer program is set independently of the chip, the processor is used for executing the computer program stored in the memory, so that the controller installed with the chip Execute the operations and/or processes performed by the control device in any one method embodiment.

进一步地,所述芯片还可以包括通信接口。所述通信接口可以是输入/输出接口,也可以为接口电路等。Further, the chip may further include a communication interface. The communication interface may be an input/output interface, or an interface circuit or the like.

进一步地,所述芯片还可以包括所述存储器。Further, the chip may further include the memory.

此外,本申请还提供一种通信装置(例如,可以为芯片),包括处理器和通信接口,所述通信接口用于接收信号并将所述信号传输至所述处理器,所述处理器处理所述信号,以使得任意一个方法实施例中由控制器执行的操作和/或处理被执行。In addition, the present application also provides a communication device (for example, a chip), including a processor and a communication interface, the communication interface is used to receive signals and transmit the signals to the processor, and the processor processes The signal enables the operation and/or processing performed by the controller in any method embodiment to be performed.

此外,本申请还提供一种通信装置,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于执行所述至少一个存储器中存储的计算机程序或指令,使得任意一个方法实施例中由控制器执行的操作和/或处理被执行。In addition, the present application also provides a communication device, including at least one processor, the at least one processor is coupled to at least one memory, and the at least one processor is configured to execute computer programs or instructions stored in the at least one memory, The operation and/or processing performed by the controller in any method embodiment is executed.

此外,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行本申请各方法实施例中由上述控制器执行的操作和/或流程。In addition, the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on the computer, the computer is made to execute the above-mentioned controller in each method embodiment of the present application. operations and/or processes.

此外,本申请还提供一种计算机程序产品,计算机程序产品包括计算机程序代码或指令,当计算机程序代码或指令在计算机上运行时,使得本申请各方法实施例中由控制器执行的操作和/或流程被执行。In addition, the present application also provides a computer program product. The computer program product includes computer program codes or instructions. When the computer program codes or instructions are run on the computer, the operations performed by the controller in each method embodiment of the present application and/or or process is executed.

应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请的技术方案,上述具体实现方式可以认为是本申请最优的实现方式,而非限制本申请实施例的范围。It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art better understand the technical solutions of the present application. example range.

在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.

本申请实施例中的处理器可以是集成电路芯片,具有处理信号的能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The processor in this embodiment of the present application may be an integrated circuit chip capable of processing signals. In the implementation process, each step of the above-mentioned method embodiments may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (application-specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like. The steps of the methods disclosed in the embodiments of the present application may be directly implemented by a hardware coded processor, or executed by a combination of hardware and software modules in the coded processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.

本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasablePROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambusRAM,DRRAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasablePROM, EPROM), electrically erasable In addition to programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM ), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and Direct memory bus random access memory (direct rambusRAM, DRRAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性说明,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only schematic illustrations. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例的技术方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the technical solutions of the embodiments of the present application.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (23)

1.一种从站顺序编址方法,其特征在于,应用于第一控制系统,所述第一控制系统包括无源光纤网络PON、主站控制器和多个从站,所述PON包括光线路终端和多个光网络单元,所述多个光网络单元与所述多个从站一一对应,所述方法包括:1. A slave station sequential addressing method, characterized in that it is applied to a first control system, said first control system comprising a passive optical fiber network PON, a master station controller and a plurality of slave stations, said PON comprising optical A line terminal and a plurality of optical network units, the plurality of optical network units correspond to the plurality of slave stations one by one, and the method includes: 所述光线路终端确定所述多个光网络单元的上线顺序;The optical line terminal determines the online sequence of the plurality of optical network units; 所述光线路终端根据所述多个光网络单元的上线顺序通知所述主站控制器为所述多个从站配置顺序的逻辑地址,任意两个从站的逻辑地址不同。The optical line terminal notifies the master station controller to configure sequential logical addresses for the plurality of slave stations according to the online order of the plurality of optical network units, and any two slave stations have different logical addresses. 2.根据权利要求1所述的方法,其特征在于,所述光线路终端确定所述多个光网络单元的上线顺序,包括:2. The method according to claim 1, wherein the optical line terminal determining the online sequence of the plurality of optical network units comprises: 所述光线路终端根据多个第一距离的远近确定所述多个光网络单元的上线顺序,所述多个第一距离分别是所述多个光网络单元与所述光线路终端之间的距离,所述多个第一距离与所述多个光网络单元一一对应。The optical line terminal determines the online order of the multiple optical network units according to the distances of multiple first distances, and the multiple first distances are distances between the multiple optical network units and the optical line terminal, respectively. distance, the multiple first distances correspond to the multiple optical network units one by one. 3.根据权利要求2所述的方法,其特征在于,所述光线路终端根据多个第一距离的远近确定所述多个光网络单元的上线顺序,包括:3. The method according to claim 2, wherein the optical line terminal determines the online order of the multiple optical network units according to the distances of the multiple first distances, comprising: 当所述多个第一距离中的第i个第一距离小于所述第i+1个第一距离时,所述光线路终端确定所述第i光网络单元的上线顺序优于所述第i+1光网络单元的上线顺序,所述第i个第一距离与所述第i光网络单元对应,所述第i+1个第一距离与所述第i+1光网络单元对应,i为大于零的整数。When the i-th first distance among the plurality of first distances is smaller than the i+1-th first distance, the optical line terminal determines that the online order of the i-th ONU is higher than that of the i-th ONU The on-line sequence of the i+1 optical network unit, the i-th first distance corresponds to the i-th optical network unit, the i+1-th first distance corresponds to the i+1-th optical network unit, i is an integer greater than zero. 4.根据权利要求2或3所述的方法,其特征在于,所述多个第一距离是预先配置的。4. The method according to claim 2 or 3, wherein the plurality of first distances are pre-configured. 5.根据权利要求2至4任一项所述的方法,其特征在于,所述多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,5. The method according to any one of claims 2 to 4, wherein the multiple first distances are determined according to the extension length of the trunk optical fiber of the unequal optical splitter; or, 所述多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。The plurality of first distances are determined according to the distances between the input port and the plurality of output ports of the equalizing beam splitter. 6.根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1 to 5, further comprising: 所述光线路终端根据所述多个光网络单元的上线顺序控制所述多个光网络单元依次上线。The optical line terminal controls the multiple optical network units to go online sequentially according to the online order of the multiple optical network units. 7.根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 1 to 6, wherein the method further comprises: 所述光线路终端根据所述多个光网络单元的上线顺序依次为所述多个光网络单元配置多个光网络单元标识,所述多个光网络单元标识与所述多个从站一一对应,所述多个光网络单元标识与所述多个光网络单元一一对应,任意两个光网络单元标识不同。The optical line terminal sequentially configures multiple optical network unit identifiers for the multiple optical network units according to the online order of the multiple optical network units, and the multiple optical network unit identifiers are one by one with the multiple slave stations Correspondingly, the multiple optical network unit identifiers are in one-to-one correspondence with the multiple optical network unit identifiers, and any two optical network unit identifiers are different. 8.根据权利要求7所述的方法,其特征在于,所述多个光网络单元标识包括第一光网络单元标识,所述多个从站包括第一从站,所述第一光网络单元标识与所述第一从站对应,其中,所述第一光网络单元标识与所述第一从站的对应关系是根据第一光网络单元的序列号、所述第一光网络单元与所述光线路终端的距离中的一个或多个确定的,所述第一光网络单元是所述多个光网络单元中的一个,所述第一光网络单元与所述第一从站对应。8. The method according to claim 7, wherein the multiple optical network unit identifiers include a first optical network unit identifier, the plurality of slave stations include a first slave station, and the first optical network unit The identifier corresponds to the first slave station, wherein the correspondence between the first optical network unit identifier and the first slave station is based on the serial number of the first optical network unit, the first optical network unit and the first slave station The first optical network unit is one of the plurality of optical network units, and the first optical network unit corresponds to the first slave station. 9.根据权利要求7或8所述的方法,其特征在于,所述光线路终端根据所述多个光网络单元的上线顺序通知所述主站控制器为所述多个从站配置顺序的逻辑地址,包括:9. The method according to claim 7 or 8, wherein the optical line terminal notifies the master station controller to configure the order of the plurality of slave stations according to the online order of the plurality of optical network units Logical address, including: 所述光线路终端向所述主站控制器发送通知消息,所述通知消息包括所述多个光网络单元标识,所述通知消息用于指示所述主站控制器根据所述多个光网络单元标识依次为所述多个从站配置顺序的逻辑地址。The optical line terminal sends a notification message to the main station controller, the notification message includes the identifications of the multiple optical network units, and the notification message is used to instruct the main station controller to The unit identifiers sequentially configure sequential logical addresses for the plurality of slave stations. 10.一种从站顺序编址装置,其特征在于,应用于第一控制系统,所述第一控制系统包括无源光纤网络PON、主站控制器和多个从站,所述PON包括光线路终端和多个光网络单元,所述多个光网络单元与所述多个从站一一对应,所述装置包括处理单元,用于:10. A slave station sequential addressing device, characterized in that it is applied to a first control system, the first control system includes a passive optical network PON, a master station controller and a plurality of slave stations, and the PON includes an optical A line terminal and a plurality of optical network units, the plurality of optical network units correspond to the plurality of slave stations one by one, and the device includes a processing unit for: 所述光线路终端确定所述多个光网络单元的上线顺序;The optical line terminal determines the online sequence of the plurality of optical network units; 所述光线路终端根据所述多个光网络单元的上线顺序通知所述主站控制器为所述多个从站配置顺序的逻辑地址,任意两个从站的逻辑地址不同。The optical line terminal notifies the master station controller to configure sequential logical addresses for the plurality of slave stations according to the online order of the plurality of optical network units, and any two slave stations have different logical addresses. 11.根据权利要求10所述的装置,其特征在于,11. The apparatus of claim 10, wherein: 所述处理单元,还用于所述光线路终端根据多个第一距离的远近确定所述多个光网络单元的上线顺序,所述多个第一距离分别是所述多个光网络单元与所述光线路终端之间的距离,所述多个第一距离与所述多个光网络单元一一对应。The processing unit is further used for the optical line terminal to determine the online order of the multiple optical network units according to the distance between the multiple first distances, and the multiple first distances are respectively the distance between the multiple optical network units and the The distance between the optical line terminals, the multiple first distances correspond one-to-one to the multiple optical network units. 12.根据权利要求11所述的装置,其特征在于,12. The apparatus of claim 11, wherein: 所述处理单元,还用于当所述多个第一距离中的第i个第一距离小于所述第i+1个第一距离时,所述光线路终端确定所述第i光网络单元的上线顺序优于所述第i+1光网络单元的上线顺序,所述第i个第一距离与所述第i光网络单元对应,所述第i+1个第一距离与所述第i+1光网络单元对应,i为大于零的整数。The processing unit is further configured to, when the i-th first distance among the plurality of first distances is smaller than the i+1-th first distance, the optical line terminal determines that the i-th optical network unit The on-line order of the i+1th optical network unit is better than that of the i+1th optical network unit, the i-th first distance corresponds to the i-th optical network unit, and the i+1-th first distance corresponds to the i-th optical network unit i+1 corresponds to the optical network unit, and i is an integer greater than zero. 13.根据权利要求11或12所述的装置,其特征在于,所述多个第一距离是预先配置的。13. The apparatus according to claim 11 or 12, wherein the plurality of first distances are pre-configured. 14.根据权利要求11至13任一项所述的装置,其特征在于,所述多个第一距离是根据不等比分光器的主干光纤的延长长度确定的;或者,14. The device according to any one of claims 11 to 13, wherein the plurality of first distances are determined according to the extended length of the trunk optical fiber of the unequal optical splitter; or, 所述多个第一距离是根据等比分光器的输入端口与多个输出端口之间的距离确定的。The plurality of first distances are determined according to the distances between the input port and the plurality of output ports of the equalizing beam splitter. 15.根据权利要求10至14中任一项所述的装置,其特征在于,15. Apparatus according to any one of claims 10 to 14, characterized in that 所述处理单元,还用于所述光线路终端根据所述多个光网络单元的上线顺序控制所述多个光网络单元依次上线。The processing unit is further used for the optical line terminal to control the multiple optical network units to go online sequentially according to the online order of the multiple optical network units. 16.根据权利要求10至15中任一项所述的装置,其特征在于,16. Apparatus according to any one of claims 10 to 15, wherein 所述处理单元,还用于所述光线路终端根据所述多个光网络单元的上线顺序依次为所述多个光网络单元配置多个光网络单元标识,所述多个光网络单元标识与所述多个从站一一对应,所述多个光网络单元标识与所述多个光网络单元一一对应,任意两个光网络单元标识不同。The processing unit is further used for the optical line terminal to sequentially configure multiple optical network unit identifiers for the multiple optical network units according to the online order of the multiple optical network units, and the multiple optical network unit identifiers are related to The multiple slave stations are in one-to-one correspondence, the multiple ONU identifiers are in one-to-one correspondence with the multiple ONUs, and any two ONU identifiers are different. 17.根据权利要求16所述的装置,其特征在于,所述多个光网络单元标识包括第一光网络单元标识,所述多个从站包括第一从站,所述第一光网络单元标识与所述第一从站对应,其中,所述第一光网络单元标识与所述第一从站的对应关系是根据第一光网络单元的序列号、所述第一光网络单元与所述光线路终端的距离中的一个或多个确定的,所述第一光网络单元是所述多个光网络单元中的一个,所述第一光网络单元与所述第一从站对应。17. The device according to claim 16, wherein the multiple optical network unit identifiers include a first optical network unit identifier, the multiple slave stations include a first slave station, and the first optical network unit The identifier corresponds to the first slave station, wherein the correspondence between the first optical network unit identifier and the first slave station is based on the serial number of the first optical network unit, the first optical network unit and the first slave station The first optical network unit is one of the plurality of optical network units, and the first optical network unit corresponds to the first slave station. 18.根据权利要求16或17所述的装置,其特征在于,所述装置还包括:18. The device according to claim 16 or 17, further comprising: 收发单元,用于所述光线路终端向所述主站控制器发送通知消信息,所述通知消息包括所述多个光网络单元标识,所述通知消息用于指示所述主站控制器根据所述多个光网络单元标识依次为所述多个从站配置顺序的逻辑地址。a transceiver unit, configured for the optical line terminal to send a notification message to the master station controller, where the notification message includes the identifiers of the multiple optical network units, and the notification message is used to instruct the master station controller according to The plurality of optical network unit identifiers are sequentially configured logical addresses of the plurality of slave stations. 19.一种光通信系统,其特征在于,包括:如权利要求1至9中任一项所述的光线路终端。19. An optical communication system, comprising: the optical line terminal according to any one of claims 1 to 9. 20.一种光通信装置,其特征在于,包括:处理器和通信接口,所述处理器用于执行指令,使得所述光通信装置执行如权利要求1至9中任一项所述的方法。20. An optical communication device, characterized by comprising: a processor and a communication interface, the processor is configured to execute instructions, so that the optical communication device executes the method according to any one of claims 1 to 9. 21.一种芯片,其特征在于,包括:通信接口、存储器和处理器,所述存储器用于存储计算机程序,所述处理器用于从所述存储器中调用并运行所述计算机程序,使得安装有所述芯片的光线路终端执行如权利要求1至9中任一项所述的方法。21. A chip, characterized in that it includes: a communication interface, a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the installed The optical line terminal of the chip executes the method according to any one of claims 1-9. 22.一种计算机存储介质,其特征在于,包括:所述计算机存储介质上存储有计算机程序,当所述计算机程序运行时,使得所述计算机执行如权利要求1至9中任一项所述的方法。22. A computer storage medium, characterized by comprising: a computer program is stored on the computer storage medium, and when the computer program is run, the computer is made to execute the computer according to any one of claims 1 to 9. Methods. 23.一种计算机程序,其特征在于,所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1至9中任一项所述的方法。23. A computer program, characterized in that, when the computer program is executed on a computer, it causes the computer to execute the method according to any one of claims 1 to 9.
CN202110952334.9A 2021-08-19 2021-08-19 Method and device for sequential addressing of slave stations Pending CN115714936A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110952334.9A CN115714936A (en) 2021-08-19 2021-08-19 Method and device for sequential addressing of slave stations
PCT/CN2022/109843 WO2023020279A1 (en) 2021-08-19 2022-08-03 Method and device for sequential addressing of slave stations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110952334.9A CN115714936A (en) 2021-08-19 2021-08-19 Method and device for sequential addressing of slave stations

Publications (1)

Publication Number Publication Date
CN115714936A true CN115714936A (en) 2023-02-24

Family

ID=85230024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110952334.9A Pending CN115714936A (en) 2021-08-19 2021-08-19 Method and device for sequential addressing of slave stations

Country Status (2)

Country Link
CN (1) CN115714936A (en)
WO (1) WO2023020279A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752675B (en) * 2012-07-13 2015-07-01 烽火通信科技股份有限公司 Method for realizing ONU (Optical Network Unit) service automatic opening on OLT (Optical Line Terminal) equipment
CA2947129A1 (en) * 2014-04-30 2015-11-05 Sumitomo Electric Industries, Ltd. Optical line terminal, communication control method, and communication control program
CN107872739B (en) * 2016-09-26 2020-09-22 中国电信股份有限公司 Allocation method of LLID of ONU, OLT and EPON system
CN110519412B (en) * 2019-09-09 2022-04-22 新华三信息安全技术有限公司 Internet of things module online method and device
CN112203302B (en) * 2020-09-30 2023-06-30 中国联合网络通信集团有限公司 Access equipment configuration method and network management system

Also Published As

Publication number Publication date
WO2023020279A1 (en) 2023-02-23

Similar Documents

Publication Publication Date Title
CN102170430B (en) Multi-port multi-network protocol converter
EP3154222B1 (en) Service configuration data processing method and apparatus
US9350651B2 (en) Packet forwarding device and wireless communication system
CN103501236A (en) Method and device for generating network control plane logical topology
CN109728968B (en) Method, related equipment and system for obtaining target transmission path
CN101627580B (en) Network component, method for the operation of such a network component, automation system comprising such a network component, method for transmitting data in an automation system by means of such a
CN106549873A (en) Communication means and system between a kind of isomery controller
CN114788197A (en) Method for optimizing time synchronization between network devices connected via a communication network
CN111566957B (en) Message processing method and device
CN101692716A (en) Optical line terminal, optical network unit and passive optical network system
WO2015154458A1 (en) Node logic id allocation device, method and communication system
WO2023020279A1 (en) Method and device for sequential addressing of slave stations
CN113316212B (en) Transmission method and device for base station forward data stream
US8908566B2 (en) Communication management device, communication device, and communication method
CN113938770B (en) Bandwidth scheduling method and system based on multi-stage passive optical network
CN116155861B (en) Wired communication system and configuration method of device ID thereof
CN112511923A (en) Configuration and binding method, device, equipment, sending node, receiving node and medium
WO2023208116A1 (en) Management and control method and apparatus, communication device, and computer storage medium
US20150326405A1 (en) Multicast traffic bridging
CN113872783B (en) Method, apparatus and computer readable storage medium for network configuration
CN112995804B (en) Optical switching method, device and system
CN106105060B (en) The methods, devices and systems of data communication
CN104937881B (en) It transfers data to control device and/or receives the input-output apparatus of data from control device
WO2022179137A1 (en) Optical bus communication method, system, device, and medium
US20240333647A1 (en) Container network communication system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20230224