Configuration method and device of optical communication equipment, authentication method and device of optical communication equipment, optical communication equipment and system
By configuring the random delay parameters of the second optical communication device in the passive optical network to make it less than 48μs, the problem of large data transmission delay is solved and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202311164116.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2025-03-11
AI Technical Summary
In passive optical networks, the data transmission delay of the second optical communication device is large, mainly due to the large length of the silent window, the certified equipment cannot transmit data in time after authentication.
The broadcast message is sent to the plurality of second optical communication devices through the first optical communication device, carrying configuration information to configure the random delay parameters so as to be less than 48 μs, thereby reducing the length of the silent window.
By reducing the length of the silent window, the data transmission delay of the certified second optical communication device is reduced, and the data transmission efficiency is improved.
Smart Images

Figure CN119603580A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to a configuration and authentication method and device of optical communication equipment, and an optical communication equipment and system. Background Art
[0002] Passive optical network (PON) is a point-to-multipoint single-fiber bidirectional optical access network. A PON system usually includes a first optical communication device, an optical distribution network (ODN) and multiple second optical communication devices. The first optical communication device is connected to multiple second optical communication devices through the ODN.
[0003] When the second optical communication device is online, the first optical communication device needs to authenticate the second optical communication device, and the second optical communication device that has completed the authentication can transmit data with the first optical communication device. Generally, the authentication process of the second optical communication device includes the first optical communication device sending a sequence number request message to the second optical communication device in a silent window; the second optical communication device responds to the received sequence number request message and sends a sequence number response message to the second optical communication device according to a random delay parameter; the first optical communication device authenticates the second optical communication device according to the sequence number response message.
[0004] Among them, the length of the silent window is greater than the sum of the random delay parameter and the round-trip propagation delay. The random delay parameter defaults to 48μs. When the maximum differential distance between the first optical communication device and the second optical communication device is 20Km, the round-trip propagation delay is 200μs, and when the maximum differential distance between the first optical communication device and the second optical communication device is 40Km, the round-trip propagation delay is 400μs. Therefore, the length of the silent window is relatively large. Since the second optical communication device that has completed the authentication cannot send data in the silent window, the length of the silent window is relatively large, which will cause a large data transmission delay of the second optical communication device. Summary of the invention
[0005] The present application provides a configuration method and device for an optical communication device, an optical communication device and a system, which are beneficial to reducing the data transmission delay of a second optical communication device.
[0006] In a first aspect, the present application provides a configuration method for an optical communication device, which may include: a first optical communication device determines a random delay parameter, wherein the random delay parameter is less than 48 μs; the first optical communication device sends a broadcast message to multiple second optical communication devices, wherein the broadcast message carries configuration information, and the configuration information is used to configure the random delay parameter.
[0007] In the present application, the first optical communication device can flexibly configure the random delay parameters of the second optical communication device by sending a broadcast message carrying configuration information for configuring the random delay parameters. Moreover, the random delay parameters configured by the configuration information are less than 48μs, that is, the random delay parameters configured by the configuration information are less than the default random delay parameters in the related art. In this way, when the round-trip propagation delay is constant, the length of the silent window can be reduced, which is conducive to reducing the data transmission delay of the authenticated second optical communication device.
[0008] Optionally, the first optical communication device may determine the random delay parameter in any of the following ways:
[0009] Method 1: receiving the input random delay parameter.
[0010] In the first method, the random delay parameter can be directly configured by a staff member, the implementation method is simple, and the execution logic of the first optical communication device is less changed.
[0011] Method 2: Determine the random delay parameter according to the maximum differential distance between the first optical communication device and the plurality of second optical communication devices, wherein the random delay parameter is proportional to the maximum differential distance. Optionally, the maximum differential distance may be received by the first optical communication device. For example, a parameter configured by a staff member received through a configuration interface.
[0012] In the second method, since the smaller the maximum differential distance is, the smaller the length of the silent window needs to be set, the default random delay parameter can be converted according to the maximum differential distance, and the calculation method is simple and easy to implement.
[0013] Method three: determining the random delay parameter based on the remaining bandwidth, where the remaining bandwidth is the bandwidth that is not allocated to the second optical communication device in a bandwidth allocation cycle, wherein the random delay parameter is less than the length of the remaining bandwidth minus the difference between the round-trip propagation delay and the change in the response time of the second optical communication device.
[0014] In this method three, the remaining bandwidth can be used to open the window to avoid affecting the data transmission of the authenticated second optical communication device. In addition, when the random delay parameter is determined according to the remaining bandwidth, since each authenticated second optical communication device can transmit data normally in each bandwidth allocation cycle, the frequency of windowing can be increased. For example, a window can be set at 1ms or 2ms. In this way, the newly online second optical communication device can be discovered in time and the authentication of the newly online second optical communication device can be completed quickly.
[0015] In a second aspect, the present application provides a configuration method for an optical communication device. The configuration method includes: a second optical communication device receives a broadcast message sent by a first optical communication device, the broadcast message carries configuration information, the configuration information is used to configure a random delay parameter, the random delay parameter is less than 48 μs; the second optical communication device saves the configuration information.
[0016] In the present application, the first optical communication device can flexibly configure the random delay parameters of the second optical communication device by sending a broadcast message carrying configuration information for configuring the random delay parameters. Moreover, the random delay parameters configured by the configuration information are less than 48μs, that is, the random delay parameters configured by the configuration information are less than the default random delay parameters in the related art. In this way, when the round-trip propagation delay is constant, the length of the silent window can be reduced, which is conducive to reducing the data transmission delay of the authenticated second optical communication device.
[0017] In a third aspect, the present application provides an authentication method for an optical communication device. The authentication method includes: a first optical communication device sends a broadcast message to a plurality of second optical communication devices, the broadcast message carries configuration information, the configuration information is used to configure a random delay parameter, and the random delay parameter is less than 48 μs; the first optical communication device sends a sequence number request message to the plurality of second optical communication devices; the first optical communication device receives a sequence number response message sent by the second optical communication device, the sequence number response message is sent by the second optical communication device according to the random delay parameter configured by the configuration information.
[0018] Optionally, the first optical communication device sends a serial number request message to the plurality of second optical communication devices, comprising: sending the serial number request message to the plurality of second optical communication devices in a silent window, wherein the length of the silent window is less than 125 μs. The smaller the length of the silent window, the smaller the impact on the data transmission of the authenticated second optical communication device.
[0019] Optionally, the length of the silent window is determined according to the maximum differential distance between the first optical communication device and the plurality of second optical communication devices, and the maximum differential distance is less than 12.5 km. Therefore, the method provided in the present application is particularly suitable for scenarios where the first optical communication device and the second optical communication device are close to each other.
[0020] In a fourth aspect, the present application provides an authentication method for an optical communication device. The authentication method includes: a second optical communication device receives a broadcast message sent by a first optical communication device, the broadcast message carries configuration information, the configuration information is used to configure a random delay parameter, and the random delay parameter is less than 48 μs; the second optical communication device receives a serial number request message sent by the first optical communication device; the second optical communication device responds to the serial number request message and sends a serial number response message to the first optical communication device according to the random delay parameter.
[0021] Optionally, in the first to fourth aspects, the broadcast message is a physical layer operation, administration and maintenance (PLOAM) message, and the PLOAM message includes a field for carrying the configuration information; or, the broadcast message is a GPON transmission convergence (GTC) frame or an Ethernet message.
[0022] When the broadcast message is a PLOAM message, the PLOAM message may be an extended burst length message, an upstream overhead configuration message, or an extended optical network unit (ONU) configuration message. The configuration information is carried by using an existing PLOAM message or a newly added PLOAM message, which makes few changes to the protocol and is easy to implement.
[0023] When the broadcast message is a GTC frame, the GTC frame may be a downlink synchronization frame. Optionally, the configuration information may be carried in a frame header or a payload portion of the GTC frame.
[0024] In the first to fourth aspects, the first optical communication device and the second optical communication device are both devices in an optical access network. For example, the first optical communication device is an optical line terminal (OLT) in a PON system, and the second optical communication device is an ONU in the PON system. For another example, the first optical communication device is a main fiber to the room (FTTR), and the second optical communication device is a slave FTTR. Here, the main FTTR refers to the main ONU in the FTTR scenario, also known as the main gateway; the slave FTTR refers to the slave ONU in the FTTR scenario, also known as the slave gateway.
[0025] In a fifth aspect, the present application provides a configuration device for an optical communication device. The configuration device for the optical communication device has the function of implementing the method described in the first aspect or any optional method of the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0026] In a sixth aspect, the present application provides a configuration device for an optical communication device. The configuration device for the optical communication device has the function of implementing the method described in the second aspect or any optional method of the second aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0027] In a seventh aspect, an embodiment of the present application provides an authentication device for an optical communication device. The authentication device for the optical communication device has the function of implementing the method described in the third aspect or any optional method of the third aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0028] In an eighth aspect, an embodiment of the present application provides an authentication device for an optical communication device. The authentication device for the optical communication device has the function of implementing the method described in the fourth aspect or any optional method of the fourth aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
[0029] In a ninth aspect, an optical communication device is provided. The optical communication device includes a processor and a memory. The memory is used to store software programs and modules. The processor implements the method in the first aspect or any possible implementation of the first aspect by running or executing the software program and / or module stored in the memory, or implements the method in the second aspect or any possible implementation of the second aspect; or implements the method in the third aspect or any possible implementation of the third aspect; or implements the method in the fourth aspect or any possible implementation of the fourth aspect.
[0030] Optionally, the number of the processors is one or more, and the number of the memories is one or more.
[0031] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0032] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips. This application does not limit the type of memory and the setting method of the memory and the processor.
[0033] In the tenth aspect, a computer program product is provided. The computer program product includes computer program code, and when the computer program code is executed by a computer, the computer executes the method in the first aspect or any possible implementation of the first aspect, or executes the method in the second aspect or any possible implementation of the second aspect; or executes the method in the third aspect or any possible implementation of the third aspect; or executes the method in the fourth aspect or any possible implementation of the fourth aspect.
[0034] In an eleventh aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes executed by a processor, wherein the program codes include instructions for implementing a method in any possible implementation of the first aspect above, or implementing a method in any possible implementation of the second aspect above; or implementing a method in any possible implementation of the third aspect above or the third aspect; or implementing a method in any possible implementation of the fourth aspect above or the fourth aspect.
[0035] In a twelfth aspect, the present application provides a chip comprising a processor, wherein the processor is used to call and execute instructions stored in a memory from the memory, so that an optical communication device equipped with the chip executes a method in any possible implementation of the first aspect above, or executes a method in the second aspect above or any possible implementation of the second aspect; or executes a method in the third aspect above or any possible implementation of the third aspect; or executes a method in the fourth aspect above or any possible implementation of the fourth aspect.
[0036] In the thirteenth aspect, the present application provides another chip. The other chip includes an input interface, an output interface, a processor and a memory. The input interface, the output interface, the processor and the memory are connected by an internal connection path. The processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method in any possible implementation of the first aspect above, or execute the method in any possible implementation of the second aspect above or the second aspect; or execute the method in any possible implementation of the third aspect above or the third aspect; or execute the method in any possible implementation of the fourth aspect above or the fourth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural diagram of a PON system provided in an embodiment of the present application;
[0038] Figure 2 is a schematic diagram of a configuration method of an optical communication device provided in an embodiment of the present application;
[0039] Figure 3 is a schematic diagram of another configuration method of an optical communication device provided in an embodiment of the present application;
[0040] Figure 4 It is a schematic diagram of a data transmission process in a PON system provided by an embodiment of the present application;
[0041] Figure 5 is a schematic diagram of an authentication method for an optical communication device provided in an embodiment of the present application;
[0042] Figure 6 is a block diagram of a configuration device for an optical communication device provided in an embodiment of the present application;
[0043] Figure 7 is a block diagram of another configuration device for optical communication equipment provided in an embodiment of the present application;
[0044] Figure 8 is a block diagram of an authentication device for an optical communication device provided in an embodiment of the present application;
[0045] Fig. 9 is a block diagram of another authentication device for optical communication equipment provided in an embodiment of the present application;
[0046] Fig.10 It is a structural schematic diagram of an optical communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0048] Figure 1 Schematic diagram of a PON system provided by an embodiment of the present application. Figure 1 As shown, the PON system includes a first optical communication device 110, a second optical communication device 120 and an ODN 130. The first optical communication device 110 is connected to one or more second optical communication devices 120 via the ODN 130. The first optical communication device 110 and the second optical communication device 120 are both devices in the optical access network.
[0049] For example, the first optical communication device is an OLT, and the second optical communication device is an ONU. For another example, the first optical communication device is a master FTTR, and the second optical communication device is a slave FTTR. Here, the master FTTR refers to the master ONU in the FTTR scenario, also known as the master gateway; the slave FTTR refers to the slave ONU in the FTTR scenario, also known as the slave gateway. The master FTTR is generally installed in the living room or the door information box. In addition to providing the network functions of the general ONU, it also implements configuration synchronization, channel tuning and other management functions for other ONUs in the home.
[0050] In the embodiment of the present application, the ONU may also be referred to as an optical network terminal (ONT).
[0051] The first optical communication device 110 is usually located at the network side, such as a central office (CO), and can uniformly manage multiple second optical communication devices 120. The first optical communication device 110 can act as a medium between the second optical communication device 120 and an upper network (not shown in the figure), forwarding data received from the upper network to the second optical communication device 120, and forwarding data received from the second optical communication device 120 to the upper network. The upper network includes but is not limited to the Internet, the public switched telephone network (PSTN) and the community antenna television (CATV).
[0052] A plurality of second optical communication devices 120 may be distributedly arranged at the user side. The second optical communication device 120 may be a network device for communicating with the first optical communication device 110 and the user equipment. The second optical communication device 120 may act as a medium between the first optical communication device 110 and the user equipment. For example, the second optical communication device 120 may forward data received from the first optical communication device 110 to the user equipment, and forward data received from the user equipment to the first optical communication device 110.
[0053] ODN 130 is a data distribution / multiplexing system, which may include a trunk optical fiber, a passive optical splitter and a user optical fiber. The passive optical splitter may include a first port and a plurality of second ports. The first port of the passive optical splitter is connected to the first optical communication device 110 via the trunk optical fiber, and each second port of the passive optical splitter is connected to a second optical communication device 120 via a user optical fiber.
[0054] In the PON system, the transmission from the first optical communication device 110 to the second optical communication device 120 is downlink, and the first optical communication device 110 broadcasts the downlink data to all the second optical communication devices 120, and each second optical communication device 120 only receives the data with its own identification. Conversely, the transmission from the second optical communication device 120 to the first optical communication device 110 is uplink. The first optical communication device 110 allocates a time slot to each second optical communication device 120, and each second optical communication device 120 sends uplink data according to the time slot allocated by the first optical communication device 110. The allocation of time slots by the first optical communication device 110 to each second optical communication device 120 can be called bandwidth allocation or bandwidth authorization.
[0055] In the embodiment of the present application, the first optical communication device 110 is used to send a broadcast message to the second optical communication device 120 to configure the random delay parameter of the second optical communication device 120. After receiving the broadcast message, the second optical communication device 120 determines the random delay parameter according to the received broadcast message, and sends a sequence number response message according to the random delay parameter. For details, see the method embodiment below.
[0056] In the embodiments of the present application, the PON system includes but is not limited to gigabit PON (gigabit-capable PON, GPON), 10 gigabit per second PON (10gigabit per second PON, XG-PON), 10-gigabit-capable symmetric passive optical network (10-gigabit-capable symmetric passive optical network, XGS-PON), Ethernet PON (Ethernet PON, EPON), 10 gigabit per second EPON (10gigabit per second EPON, 10G-EPON), 25 gigabit per second PON (25gigabit per second PON, 25G-PON), 50 gigabit per second PON (50gigabit persecond PON, 50G-PON), 100 gigabit per second PON (100gigabit per second PON, 100G-PON), 25 gigabit per second EPON (25gigabit per second EPON, 25G-EPON), 50 gigabit per second EPON (50gigabit per second PON, 50G-PON), EPON, 50G-EPON), and other speeds of GPON, EPON, etc.
[0057] Figure 2 FIG. 1 is a flow chart of a configuration method of an optical communication device provided in an embodiment of the present application. Figure 2 As shown, the method includes the following steps.
[0058] S201: The first optical communication device determines a random delay parameter.
[0059] The random delay parameter is less than 48 μs. In the related art, the random delay parameter defaults to 48 μs.
[0060] S202: The first optical communication device sends a broadcast message to multiple second optical communication devices, where the broadcast message carries configuration information, and the configuration information is used to configure a random delay parameter.
[0061] Correspondingly, the second optical communication device receives the broadcast message sent by the first optical communication device.
[0062] S203: The second optical communication device obtains and saves configuration information from the received broadcast message.
[0063] In this way, the second optical communication device can send a response message, such as a sequence number response message, according to the random delay parameter corresponding to the configuration information.
[0064] In the embodiment of the present application, the first optical communication device can send a broadcast message carrying configuration information for configuring the random delay parameter, so the random delay parameter of the second optical communication device can be flexibly configured as needed. In addition, the random delay parameter configured by the configuration information is less than 48μs. When the round-trip propagation delay remains unchanged, the length of the silent window can be reduced, which is beneficial to reducing the data transmission delay of the authenticated second optical communication device. When the round-trip propagation delay is reduced, the length of the silent window can be further reduced, which is also beneficial to reducing the data transmission delay of the authenticated second optical communication device.
[0065] In some embodiments, the method is performed in a scenario where the maximum differential distance between the first optical communication device and the plurality of second optical communication devices is less than 20 km. When the maximum differential distance between the first optical communication device and the plurality of second optical communication devices is small, it is usually necessary to reduce the length of the silent window in order to improve the transmission performance of the second optical communication device. Therefore, Figure 2 The random delay parameters are configured using the method in . For campus network or FTTR scenarios, the communication distance between each second optical communication device and the first optical communication device is relatively small, and accordingly, the maximum differential distance is also relatively small. For example, in a campus network scenario, the maximum communication distance between the first optical communication device and multiple second optical communication devices is usually less than 10km. In a FTTR scenario, the maximum communication distance between the first optical communication device and multiple second optical communication devices is less than 5km, and usually less than 1km.
[0066] In the embodiment of the present application, the communication distance between the second optical communication device and the first optical communication device may refer to the length of the optical fiber connected between the second optical communication device and the first optical communication device. The differential distance is also called the optical fiber differential distance, which may refer to the difference in communication distance between any two second optical communication devices and the first optical communication device. The maximum differential distance refers to the difference between the maximum communication distance and the minimum communication distance in the communication distance between the first optical communication device and each second optical communication device.
[0067] In a possible implementation manner, the configuration information is an index value corresponding to the random delay parameter. Random delay parameters with different values correspond to different index values.
[0068] In some examples, several random delay parameter point values may be arranged at intervals within the range of 0 to 48 μs, and each random delay parameter point value corresponds to an index value. The intervals between adjacent random delay parameter point values may be equal or unequal. In this manner, fewer bits may be used to indicate the random delay parameter.
[0069] For example, 10 μs, 20 μs, 30 μs and 40 μs may be selected as random delay parameter point values, corresponding to index values 00, 01, 10 and 11, respectively. Thus, only 2 bits are needed to indicate the random delay parameter.
[0070] In other examples, more random delay parameter point values may be arranged within the range of 0 to 48 μs, and this application does not limit this. The number of random delay parameter point values is related to the number of bearer bits of the configuration information (i.e., bits used to indicate the random delay parameter). For example, if the number of bearer bits of the configuration information is n, the number of random delay parameter point values is less than or equal to 2 to the power of n.
[0071] In another possible implementation, the configuration information is directly the value of the random delay parameter. In this case, there are more possibilities for configuring the random delay parameter, and it can even reach the order of 0.1 μs, for example, 2.1 μs, 3.8 μs, and so on.
[0072] Hereinafter, an exemplary description will be given by taking the first optical communication device as an OLT and the second optical communication device as an ONU as an example. Those skilled in the art can understand that the OLT in the following may also be a master FTTR and the ONU may also be a slave FTTR.
[0073] Figure 3 FIG. 1 is a flow chart of a configuration method of an optical communication device provided in an embodiment of the present application. Figure 3 As shown, the method includes the following steps.
[0074] S301: The OLT receives a random delay parameter.
[0075] For example, the OLT receives a random delay parameter input through a configuration interface. The random delay parameter is set by a staff member according to the networking conditions of the PON system. For example, it is determined according to the maximum differential distance between the OLT and a plurality of ONUs. The random delay parameter is directly configured by the staff member, and the implementation method is simple, and the execution logic of the OLT is less changed.
[0076] Alternatively, in other embodiments, the OLT may also determine the random delay parameter in the following two ways.
[0077] The first method is to determine the random delay parameter according to the maximum differential distance between the OLT and the multiple ONUs. The random delay parameter is proportional to the maximum differential distance. In some examples, the maximum differential distance may be received by the OLT through a configuration interface. The staff inputs the maximum differential distance into the OLT according to the networking conditions of the PON system.
[0078] In some examples, the OLT determines the product of the default random delay parameter (i.e., 48 μs) and the first ratio value as the random delay parameter. Exemplarily, the first ratio value may be equal to the ratio of the maximum differential distance to 20 km. Assuming that the maximum differential distance is 2 km, the first ratio value is equal to 0.1, and the random delay parameter is 4.8 μs.
[0079] In the first method, since the smaller the maximum differential distance is, the smaller the length of the silent window needs to be set, the default random delay parameter can be converted according to the maximum differential distance, and the calculation method is simple and easy to implement.
[0080] The second method is to determine the random delay parameter based on the remaining bandwidth, where the remaining bandwidth is the bandwidth not allocated to the ONU in a bandwidth allocation cycle, wherein the random delay parameter is less than the difference between the length of the remaining bandwidth minus the round-trip propagation delay and the change of the ONU response time.
[0081] Exemplarily, one bandwidth allocation period is 125 μs.
[0082] Assuming that the allocated bandwidth is 85μs, the remaining bandwidth is 40μs. If the maximum differential distance is 1km, the round-trip propagation delay corresponding to the maximum differential distance is 10μs, and the response change of the ONU is 2μs, then the random delay parameter is less than or equal to 28μs.
[0083] Exemplarily, the way in which the OLT determines the remaining bandwidth may include: first determining the allocated bandwidth in each bandwidth allocation cycle according to the bandwidth of each authenticated ONU connected to the OLT; then determining the difference between the bandwidth allocation cycle and the allocated bandwidth as the remaining bandwidth. The allocated bandwidth is equal to the sum of the bandwidths of each authenticated ONU. The bandwidth of each authenticated ONU can be obtained according to the contract information of each authenticated ONU. According to the contract information, the time slot length that each ONU needs to allocate in each bandwidth allocation cycle can be determined.
[0084] Figure 4 Schematic diagram of a data transmission process in a PON system provided by an embodiment of the present application. Figure 4 As shown in the figure, ONU1 and ONU2 are authenticated ONUs. In each bandwidth allocation cycle (i.e., 125 μs), upstream bandwidth is allocated to ONU1 and ONU2. ONU1 sends data 1 in the allocated upstream bandwidth, and ONU2 sends data 2 in the allocated upstream bandwidth. ONUx is a newly powered ONU, and ONUx sends a sequence number response message X in the silent window. Figure 4 It can be seen that the length of the silent window is less than 125 μs and is within the remaining bandwidth, which does not affect the data transmission of ONU1 and ONU2.
[0085] It can be seen that by adopting the second method, the remaining bandwidth can be used for windowing to avoid affecting the data transmission of the authenticated ONU. In addition, when the random delay parameter is determined according to the remaining bandwidth, since each authenticated ONU can transmit data normally in each bandwidth allocation cycle, the frequency of windowing can be increased. For example, a window can be set at 1ms or 2ms. In this way, the newly online ONU can be discovered in time and the authentication of the newly online ONU can be completed quickly.
[0086] S302: The OLT sends a broadcast message to multiple ONUs.
[0087] In some examples, the broadcast message may be a PLOAM message.
[0088] In a possible implementation manner, a field for carrying the configuration information may be added to an existing PLOAM message.
[0089] Optionally, the existing PLOAM message may be an extended burst length message or an upstream overhead configuration (upstream_overhead) message.
[0090] The formats of these two PLOAM messages are described below.
[0091] Table 1 Format of the extended burst length message
[0092] Field Number content describe 1 11111111 Broadcast message to all ONUs 2 00010100 Message flag "extended burst length" 3 pppppppp Number of Type 3 preamble bytes used when the ONU is in the pre-range state (O3-O4) 4 rrrrrrrr Number of Type 3 preamble bytes used when the ONU is in ranging state (O5-O6) 5 xxxxxxxx Random delay parameters 6-12 00000000 reserve
[0093] As shown in Table 1, the extended burst length message includes 12 bytes, wherein the 5th byte is used to carry the random delay parameter. The 6th to 12th bytes are reserved bytes. That is, the 5th byte is a field for carrying the configuration information. In other embodiments, other reserved bytes may also be used to carry the random delay parameter.
[0094] When the extended burst length message is used to carry the configuration information, the number of bits used to carry the configuration information is relatively large, so the configuration information may be the index value corresponding to the aforementioned random delay parameter, or the configuration information may be directly the value of the random parameter delay.
[0095] Table 2 Format of upstream_overhead message
[0096]
[0097]
[0098] As shown in Table 2, the upstream_overhead message includes 12 bytes, of which some bits of the 10th byte are reserved. Therefore, the reserved bits can be used to carry configuration information. That is, the 10th byte is a field for carrying the configuration information. Since the number of bits that can be used to carry configuration information in this manner is small, the configuration information can be the index value corresponding to the aforementioned random delay parameter.
[0099] In another possible implementation, a new PLOAM message may be added, and the new PLOAM message includes a field for carrying the configuration information. Exemplarily, the new PLOAM message may be called an extended ONU configuration (extended ONU config) message.
[0100] Table 3 Format of the extended ONU config message
[0101] Field Number content describe 1 11111111 Broadcast message to all ONUs 2 yyyyyyyy Message tag "extended ONU config" 3 xxxxxxxx Random delay parameters 4-12 Undefined reserve
[0102] As shown in Table 3, the newly added PLOAM message includes 12 bytes. Among them, the first byte is used to indicate that the message type of the message is a broadcast message sent to all ONUs. The second byte is used to indicate that the message identifier of the message is an extended ONU configuration message. The third byte is used to carry the random delay parameter. The 4th to 12th bytes are reserved bytes. That is, the third byte is a field for carrying the configuration information. In other embodiments, other reserved bytes can also be used to carry the random delay parameter.
[0103] When the newly added PLOAM message is used to carry the configuration information, the number of bits used to carry the configuration information is relatively large, so the configuration information may be the index value corresponding to the aforementioned random delay parameter, or the configuration information may directly be the value of the random parameter delay.
[0104] In other examples, the broadcast message may be a GTC frame. In this case, the PON system to which the OLT and the ONU belong may be a GPON system of various rates. The GTC frame includes but is not limited to a downlink synchronization frame (DS frame with valid PSync), etc. Optionally, the configuration information may be carried in a frame header or a payload field of the GTC frame.
[0105] In some other examples, the broadcast message is an Ethernet message. In this case, the PON system to which the OLT and the ONU belong is an EPON system of various rates.
[0106] Correspondingly, the ONU receives the broadcast message sent by the OLT.
[0107] S303: The ONU obtains and saves configuration information from the received broadcast message.
[0108] Figure 5 FIG. 1 is a flow chart of an authentication method for an optical communication device provided in an embodiment of the present application. Figure 5 As shown, the method includes the following steps.
[0109] S501: OLT sends a broadcast message.
[0110] The broadcast message carries configuration information, which is used to configure the random delay parameter, which is less than 48 μs. The broadcast message is a PLOAM message. For more information about the PLOAM message, see Figure 3 The embodiment shown is not described here in detail. The way in which the OLT obtains the random delay parameter is shown in Figure 3 The illustrated embodiments will not be described in detail here.
[0111] S502: The OLT sends a sequence number request message to multiple ONUs.
[0112] Correspondingly, the first ONU receives the sequence number request message.
[0113] Optionally, the OLT sends a sequence number request message to the ONU in a silent window. In the silent window, the authenticated ONU cannot send upstream data.
[0114] Optionally, the length of the silent window is less than 125 μs. The smaller the length of the silent window, the smaller the impact on the data transmission of the authenticated ONU. Compared with 250 μs in the related art, the length of the silent window is reduced to less than 125 μs, which can significantly reduce the impact on the data transmission of the authenticated ONU.
[0115] The length of the silent window is determined according to the maximum differential distance between the OLT and multiple ONUs. When the length of the silent window is less than 125μs, the maximum differential distance between the OLT and the ONU is less than 12.5Km. This is because, according to the standard, when the maximum differential distance between the OLT and the ONU is 20km, the corresponding round-trip propagation delay is 200μs. Assuming that 125μs is the round-trip propagation delay, the corresponding maximum differential distance is 12.5km. Since the length of the silent window is equal to the sum of the round-trip propagation delay, the change in the response time of the ONU (the default is 2μs) and the random delay parameter, therefore, when the length of the silent window is equal to 125μs, the maximum differential distance between the OLT and the ONU is less than 12.5Km.
[0116] In some embodiments, the length of the silent window is less than 48 μs, for example, greater than or equal to 4 μs and less than 48 μs. In this way, the impact on the data transmission of the authenticated ONU can be further reduced.
[0117] S503: The first ONU responds to the sequence number request message and sends a sequence number response message to the OLT according to the random delay parameter.
[0118] The first ONU is any ONU that receives the sequence number request message.
[0119] In S503, the first ONU selects a random number as a target delay value within the random delay parameter, and sends a sequence number response message after delaying the target delay value. The probability that the target delay values determined by different ONUs are the same is small, so the probability that the OLT simultaneously receives sequence number response messages sent by different ONUs is also small, thereby reducing the conflict between sequence number response messages sent by different ONUs.
[0120] The sequence number response message carries the sequence number of the first ONU. Correspondingly, the OLT receives the sequence number response message.
[0121] S504: The OLT authenticates the first ONU according to the received sequence number response message.
[0122] The sequence number in the sequence number response message is compared with the sequence number of the first ONU saved in advance. If the sequence number in the sequence number response message is different from the sequence number of the first ONU saved in advance, the first ONU cannot pass the authentication. If the sequence number in the sequence number response message is the same as the sequence number of the first ONU saved in advance, the subsequent authentication process is performed. The subsequent authentication process includes ranging process, etc., and the specific process can refer to the relevant technology.
[0123] Figure 6 1 is a block diagram of a configuration device for an optical communication device provided in an embodiment of the present application. The configuration device can be implemented as all or part of an optical communication device (eg, OLT or main FTTR) through software, hardware, or a combination of both. Figure 6 As shown, the configuration device 600 includes a determining unit 601 and a sending unit 602 .
[0124] The determining unit 601 is used to determine a random delay parameter, the random delay parameter being less than 48 μs. The sending unit 602 is used to send a broadcast message to multiple second optical communication devices, the broadcast message carrying configuration information, the configuration information being used to configure the random delay parameter.
[0125] Optionally, the determining unit 601 is configured to determine the random delay parameter in any one of the following ways:
[0126] Receive an input random delay parameter; or, determine the random delay parameter based on the maximum differential distance between the first optical communication device and the plurality of second optical communication devices, wherein the random delay parameter is proportional to the maximum differential distance; or, determine the random delay parameter based on the remaining bandwidth, the remaining bandwidth being the bandwidth that is not allocated to the second optical communication device in a bandwidth allocation cycle, wherein the random delay parameter is less than the length of the remaining bandwidth minus the difference between the round-trip propagation delay and the change in the response time of the second optical communication device.
[0127] Figure 7 1 is a block diagram of a configuration device for an optical communication device provided in an embodiment of the present application. The configuration device can be implemented as all or part of an optical communication device (such as an ONU or a slave FTTR) through software, hardware, or a combination of both. Figure 7 As shown, the configuration device 700 includes a receiving unit 701 and a storage unit 702 .
[0128] The receiving unit 701 is used to receive a broadcast message sent by a first optical communication device, the broadcast message carries configuration information, the configuration information is used to configure a random delay parameter, the random delay parameter is less than 48 μs. The storage unit 702 is used to store the configuration information.
[0129] It should be noted that the configuration device of the optical communication device provided in the above embodiment only uses the division of the above functional units as an example when configuring the optical communication device. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. In addition, the configuration device of the optical communication device provided in the above embodiment and the configuration method embodiment of the optical communication device belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0130] Figure 8 1 is a block diagram of an authentication device for optical communication equipment provided by an embodiment of the present application. The configuration device can be implemented as all or part of an optical communication device (such as an OLT or a main FTTR) through software, hardware, or a combination of both. Figure 8 As shown, the authentication device 800 includes: a sending unit 801 and a receiving unit 802.
[0131] The sending unit 801 is used to send a broadcast message to multiple second optical communication devices, the broadcast message carries configuration information, the configuration information is used to configure a random delay parameter, the random delay parameter is less than 48μs; and send a sequence number request message to multiple second optical communication devices. The receiving unit 802 is used to receive a sequence number response message sent by the second optical communication device, the sequence number response message is sent by the second optical communication device according to the random delay parameter configured by the configuration information.
[0132] Fig. 9 1 is a block diagram of an authentication device for optical communication equipment provided by an embodiment of the present application. The configuration device can be implemented as all or part of an optical communication device (such as an ONU or a slave FTTR) through software, hardware, or a combination of both. Fig. 9 As shown, the authentication device includes a receiving unit 901 and a sending unit 902 .
[0133] The receiving unit 901 is used to receive a broadcast message sent by a first optical communication device, the broadcast message carries configuration information, the configuration information is used to configure a random delay parameter, the random delay parameter is less than 48 μs; and receive a sequence number request message sent by the first optical communication device. The sending unit 902 is used to respond to the sequence number request message and send a sequence number response message to the first optical communication device according to the random delay parameter.
[0134] It should be noted that the authentication device for optical communication equipment provided in the above embodiment only uses the division of the above functional units as an example when authenticating the optical communication equipment. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the equipment is divided into different functional units to complete all or part of the functions described above. In addition, the authentication device for optical communication equipment provided in the above embodiment and the authentication method embodiment of optical communication equipment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0135] The descriptions of the processes corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process, please refer to the relevant descriptions of other processes.
[0136] Fig.10 1 is a schematic diagram of the structure of an optical communication device 1000 provided in an embodiment of the present application. Fig.10 As shown, the optical communication device 1000 includes at least one processor 1001 , a memory 1002 , and at least one network interface 1003 .
[0137] The processor 1001 is, for example, a general-purpose central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), a neural-network processing unit (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application. For example, the processor 1001 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0138] The memory 1002 is, for example, a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. Optionally, the memory 1002 exists independently and is connected to the processor 1001 through the internal connection 1004. Alternatively, the memory 1002 and the processor 1001 are optionally integrated together.
[0139] The network interface 1003 uses any transceiver-like device for communicating with other devices or communication networks. The network interface 1003 includes, for example, at least one of a wired network interface or a wireless network interface. The wired network interface is, for example, an Ethernet interface. The Ethernet interface is, for example, an optical interface, an electrical interface, or a combination thereof. The wireless network interface is, for example, a wireless local area network (WLAN) interface, a cellular network interface, or a combination thereof.
[0140] In some embodiments, the processor 1001 includes one or more CPUs, such as Fig.10 CPU0 and CPU1 are shown in the figure.
[0141] In some embodiments, the optical communication device 1000 optionally includes multiple processors, such as Fig.10 1001 and 1005 are shown in FIG. Each of these processors is, for example, a single-CPU, or a multi-CPU. The processor herein optionally refers to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0142] In some embodiments, the optical communication device 1000 further includes an internal connection 1004. The processor 1001, the memory 1002, and the at least one network interface 1003 are connected via the internal connection 1004. The internal connection 1004 includes a path to transmit information between the above components. Optionally, the internal connection 1004 is a single board or a bus. Optionally, the internal connection 1004 is divided into an address bus, a data bus, a control bus, etc.
[0143] In some embodiments, the optical communication device 1000 further includes an input-output interface 1006. The input-output interface 1006 is connected to the internal connection 1004.
[0144] In some embodiments, the input / output interface 1006 is used to connect to an input device to receive commands or data related to the above method embodiments input by a user through the input device, such as random delay parameters or maximum differential distance, etc. The input device includes but is not limited to a keyboard, a touch screen, a microphone, a mouse, or a sensor device, etc.
[0145] In some embodiments, the input / output interface 1006 is also used to connect to an output device. The input / output interface 1006 outputs the intermediate results and / or final results generated by the processor 1001 executing the above method embodiment, such as random delay parameters, etc., through the output device. The output device includes but is not limited to a display, a printer, a projector, etc.
[0146] Optionally, the processor 1001 implements the method in the above embodiment by reading the program code 1010 stored in the memory 1002, or the processor 1001 implements the method in the above embodiment by the program code stored internally. In the case where the processor 1001 implements the method in the above embodiment by reading the program code 1010 stored in the memory 1002, the memory 1002 stores the program code for implementing the method provided in the embodiment of the present application.
[0147] For more details on how the processor 1001 implements the above functions, please refer to the descriptions in the previous method embodiments, which will not be repeated here.
[0148] In some embodiments, a computer-readable storage medium is also provided, which stores computer instructions. When the computer instructions stored in the computer-readable storage medium are executed by an optical communication device, the optical communication device executes the configuration method of the optical communication device or the authentication method of the optical communication device provided in the above method embodiment.
[0149] In some embodiments, a computer program product is also provided, which includes one or more computer program instructions. When the computer program instructions are loaded and run by a computer, the computer executes the configuration method of the optical communication device or the authentication method of the optical communication device provided in the above method embodiments.
[0150] In some embodiments, a chip is also provided, including a memory and a processor, the memory is used to store computer instructions, and the processor is used to call and run the computer instructions from the memory to execute the configuration method of the optical communication device or the authentication method of the optical communication device provided in the above method embodiment.
[0151] Unless otherwise defined, the technical or scientific terms used herein shall have the usual meanings understood by persons of ordinary skill in the field to which this application belongs. The words "first", "second", "third" and similar terms used in the patent application specification and claims of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one" or "one" do not indicate a quantitative limitation, but rather indicate the presence of at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before "include" or "comprises" cover the elements or objects listed after "include" or "comprises" and their equivalents, and do not exclude other elements or objects.
[0152] The above is only an embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A configuration method for an optical communication device, characterized in that: The method comprises: The first optical communication device determines a random delay parameter, wherein the random delay parameter is less than 48 μs; A broadcast message is sent to a plurality of second optical communication devices, where the broadcast message carries configuration information, where the configuration information is used to configure a random delay parameter.
2. The method according to claim 1, characterized in that The broadcast message is a physical layer operation management and maintenance PLOAM message, and the PLOAM message includes a field for carrying the configuration information; Alternatively, the broadcast message is a Gigabit Passive Optical Network Transmission Convergence GTC frame or an Ethernet message.
3. The method according to claim 2, characterized in that The PLOAM message is an extended burst length message, an upstream_overhead configuration message, or an extended optical network unit ONU configuration message.
4. The method according to any one of claims 1 to 3, characterized in that: The first optical communication device determines a random delay parameter, including: Receiving the input random delay parameter; or, The first optical communication device determines a random delay parameter, including: Determining the random delay parameter according to the maximum differential distance between the first optical communication device and the plurality of second optical communication devices, wherein the random delay parameter is proportional to the maximum differential distance; or, The first optical communication device determines a random delay parameter, including: The random delay parameter is determined according to a remaining bandwidth, the remaining bandwidth being a bandwidth that is not allocated to the second optical communication device in a bandwidth allocation cycle, wherein the random delay parameter is less than the length of the remaining bandwidth minus the difference between a round-trip propagation delay and a change in a response time of the second optical communication device.
5. A configuration method for optical communication equipment, characterized in that: The method comprises: The second optical communication device receives a broadcast message sent by the first optical communication device, where the broadcast message carries configuration information, where the configuration information is used to configure a random delay parameter, where the random delay parameter is less than 48 μs; The configuration information is saved.
6. The method according to claim 5, characterized in that The broadcast message is a physical layer operation management and maintenance PLOAM message, and the PLOAM message includes a field for carrying the configuration information; Alternatively, the broadcast message is a Gigabit Passive Optical Network Transmission Convergence GTC frame or an Ethernet message.
7. The method according to claim 6, characterized in that The PLOAM message is an extended burst length message, an upstream_overhead configuration message, or an extended optical network unit ONU configuration message.
8. A method for authenticating an optical communication device, characterized in that: The method comprises: The first optical communication device sends a broadcast message to multiple second optical communication devices, where the broadcast message carries configuration information, where the configuration information is used to configure a random delay parameter, where the random delay parameter is less than 48 μs; Sending a serial number request message to the plurality of second optical communication devices; A sequence number response message sent by the second optical communication device is received, where the sequence number response message is sent by the second optical communication device according to the random delay parameter configured by the configuration information.
9. The method according to claim 8, characterized in that The sending of a serial number request message to the plurality of second optical communication devices comprises: Sending a sequence number request message to the plurality of second optical communication devices in a silent window, wherein the length of the silent window is less than 125 μs.
10. The method according to claim 9, characterized in that The length of the silent window is determined according to a maximum differential distance between the first optical communication device and the plurality of second optical communication devices, and the maximum differential distance is less than 12.5 km.
11. The method according to any one of claims 8 to 10, characterized in that: The broadcast message is a physical layer operation management and maintenance PLOAM message, and the PLOAM message includes a field for carrying the configuration information; Alternatively, the broadcast message is a Gigabit Passive Optical Network Transmission Convergence GTC frame or an Ethernet message.
12. The method according to claim 11, characterized in that The PLOAM message is an extended burst length message, an upstream_overhead configuration message, or an extended optical network unit ONU configuration message.
13. A method for authenticating an optical communication device, characterized in that: The method comprises: The second optical communication device receives a broadcast message sent by the first optical communication device, where the broadcast message carries configuration information, where the configuration information is used to configure a random delay parameter, where the random delay parameter is less than 48 μs; receiving a serial number request message sent by the first optical communication device; In response to the sequence number request message, a sequence number response message is sent to the first optical communication device according to the random delay parameter.
14. The method according to claim 13, characterized in that The broadcast message is a physical layer operation management and maintenance PLOAM message, and the PLOAM message includes a field for carrying the configuration information; Alternatively, the broadcast message is a Gigabit Passive Optical Network Transmission Convergence GTC frame or an Ethernet message.
15. The method according to claim 14, characterized in that The PLOAM message is an extended burst length message, an upstream_overhead configuration message, or an extended optical network unit ONU configuration message.
16. A configuration device for optical communication equipment, characterized in that: The device comprises: A determination unit, used to determine a random delay parameter, wherein the random delay parameter is less than 48 μs; A sending unit is used to send a broadcast message to multiple second optical communication devices, where the broadcast message carries configuration information, and the configuration information is used to configure a random delay parameter.
17. A configuration device for optical communication equipment, characterized in that: The device comprises: A receiving unit, configured to receive a broadcast message sent by a first optical communication device, wherein the broadcast message carries configuration information, and the configuration information is used to configure a random delay parameter, wherein the random delay parameter is less than 48 μs; A storage unit is used to store the configuration information.
18. An authentication device for optical communication equipment, characterized in that: The device comprises: A sending unit, configured to send a broadcast message to a plurality of second optical communication devices, wherein the broadcast message carries configuration information, wherein the configuration information is used to configure a random delay parameter, wherein the random delay parameter is less than 48 μs; and send a sequence number request message to the plurality of second optical communication devices; The receiving unit is used to receive a sequence number response message sent by the second optical communication device, where the sequence number response message is sent by the second optical communication device according to the random delay parameter configured by the configuration information.
19. An authentication device for optical communication equipment, characterized in that: The device comprises: A receiving unit, configured to receive a broadcast message sent by a first optical communication device, the broadcast message carrying configuration information, the configuration information being used to configure a random delay parameter, the random delay parameter being less than 48 μs; and receive a sequence number request message sent by the first optical communication device; A sending unit is used to send a sequence number response message to the first optical communication device according to the random delay parameter in response to the sequence number request message.
20. A passive optical network system, characterized in that: The invention comprises a first optical communication device, an optical distribution network (ODN) and a plurality of second optical communication devices, wherein the first optical communication device is connected to the plurality of second optical communication devices via the ODN, and the first optical communication device is used to configure random delay parameters for the plurality of second optical communication devices by adopting the method described in any one of claims 1 to 4, or the first optical communication device is used to authenticate any second optical communication device among the plurality of second optical communication devices by adopting the method described in any one of claims 8 to 12.
21. An optical communication device, characterized in that: The optical communication device includes a processor and a memory, the memory is used to store a software program, and the processor runs or executes the software program stored in the memory so that the optical communication device implements the method according to any one of claims 1 to 4, or implements the method according to any one of claims 5 to 7, or implements the method according to any one of claims 8 to 12, or implements the method according to any one of claims 13 to 15.
22. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes executed by the processor, and the program codes include instructions for implementing the method according to any one of claims 1 to 4, or implementing the method according to any one of claims 5 to 7, or implementing the method according to any one of claims 8 to 12, or implementing the method according to any one of claims 13 to 15.
Citation Information
Cited By
Configuration method and authentication method for optical communication device, and apparatus, optical communication device, and system
EP4750078A1
Configuration method and authentication method for optical communication device, and apparatus, optical communication device, and system
WO2025050978A1