Bandwidth allocation method and device, optical line terminal equipment and storage medium
By translating and processing the bandwidth allocation information of EPON and target optical networks in optical circuit terminal devices, the protocol structure and bandwidth allocation differences are solved, and the coexistence and time-division coexistence system of EPON and target optical networks are achieved.
Patent Information
- Application Number
- CN202411164316.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-31
AI Technical Summary
The prior art cannot realize the coexistence of traditional EPON and target optical networks, especially due to the differences in protocol structure of bandwidth allocation mechanisms and the differences in bandwidth allocation reference time, resulting in the inability to realize dual-system coexistence through time division multiplexing.
By obtaining the EPON ONU report frame in the optical line terminal device, it translates it into the bandwidth allocation overhead of the target optical network, and converting the bandwidth allocation partition into authorized frames under the EPON protocol structure based on the clock reference conversion parameters, solving the protocol structure and bandwidth allocation Referring to the time difference, achieving the unification of bandwidth allocation.
The coexistence of traditional EPON and target optical network is realized, ensuring the normal operation of time-division coexistence systems, and improving the feasibility and bandwidth utilization of the system.
Smart Images

Figure CN119233131A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a bandwidth allocation method, device, optical line terminal equipment and storage medium. Background Art
[0002] With the continuous development of Passive Optical Network (PON) technology, the Ethernet Passive Optical Network (EPON) under the Institute of Electrical and Electronics Engineers (IEEE) system or the Gigabit Passive Optical Network (GPON) under the International Telecommunication Union Telecommunication Standardization Sector (ITU Telecommunication Standardization Sector, ITU-T) system as a single system is gradually converging to the passive optical network (such as 50G-PON) under the single ITU-T system.
[0003] As the target passive optical network (or target optical network, such as 50G-PON) formed by the convergence of GPON and EPON, it continues the transmission convergence characteristics of GPON. There is no unified bandwidth allocation method for the coexistence of dual systems from traditional EPON to the target optical network through time division multiplexing. Therefore, it is temporarily impossible to achieve coexistence of EPON and the target optical network through time division multiplexing.
[0004] Therefore, how to achieve bandwidth allocation when traditional EPON and target optical network coexist has become an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a bandwidth allocation method, an apparatus, an optical line terminal device and a storage medium, which can realize bandwidth allocation when a traditional EPON and a target optical network coexist, thereby realizing normal operation of a time-division coexistence system of the traditional EPON and the target optical network.
[0006] In a first aspect, the present application provides a bandwidth allocation method, which is applied to an optical line terminal (OLT) device, and the method includes:
[0007] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit (ONU) in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0008] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0009] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0010] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0011] In one of the embodiments, the method further includes: acquiring an EPON clock and a target optical network clock respectively; and determining a clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0012] In one of the embodiments, the bandwidth allocation information includes identification information of the EPON ONU, which is used to uniquely identify the EPON ONU in the coexistence system; the authorization frame returned to the EPON ONU also includes the identification information, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; wherein the coexistence system includes at least the EPON and the target optical network.
[0013] In one of the embodiments, after generating the bandwidth allocation partition based on the bandwidth allocation overhead, the method further includes: performing downlink frame framing processing on the bandwidth allocation partition to obtain a downlink frame under the protocol structure of the target optical network, wherein the downlink frame includes identification information of the target optical network ONU; sending the downlink frame to the target optical network ONU, so that the target optical network ONU identifies the bandwidth allocation information in the bandwidth allocation partition based on the identification information to confirm whether it is the bandwidth allocation information corresponding to itself.
[0014] In one of the embodiments, the target optical network includes one of 50G-PON, XG-PON, XGS-PON, and GPON.
[0015] In one embodiment, obtaining the first information field includes: receiving a report frame from an EPON ONU; the report frame is used to report local queue information to an OLT device; parsing the report frame, and extracting the first information field from the parsed report frame.
[0016] In a second aspect, the present application provides a bandwidth allocation device, which is applied to an optical line terminal OLT device, and the device includes:
[0017] A translation module is used to obtain a first information domain and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0018] A dynamic bandwidth allocation module is used to generate corresponding bandwidth allocation partitions based on bandwidth allocation overhead; the bandwidth allocation partitions contain bandwidth allocation information for EPON ONU;
[0019] The translation module is further used to translate the bandwidth allocation partition into a second information field contained in the authorization frame under the EPON protocol structure based on the clock reference conversion parameter; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0020] The message framing module is used to perform framing processing on the second information field, generate a corresponding authorization frame corresponding to the EPON ONU report frame, and return the authorization frame to the EPON ONU.
[0021] In a third aspect, the present application provides an OLT device, including a processor and a memory, wherein the memory stores a computer program; when the computer program is executed by the processor, the following steps are implemented:
[0022] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0023] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0024] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0025] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0026] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0027] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0028] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0029] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0030] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0031] In a fifth aspect, the present application further provides a chip, the chip comprising a programmable logic circuit and / or a program instruction, and when the chip is running, the following steps are implemented:
[0032] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0033] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0034] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0035] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0036] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0037] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0038] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0039] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0040] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0041] In the seventh aspect, the present application also provides a bandwidth allocation system, including an OLT device, an EPON optical network unit ONU and a target optical network ONU; wherein the EPON ONU is used to send a report frame to the OLT device; the OLT device is used to execute the steps in the method provided in the first aspect above, generate a corresponding authorization frame corresponding to the EPON ONU report frame, and return the authorization frame to the EPON ONU; the OLT device also generates a downstream frame based on the bandwidth allocation partition, and sends the downstream frame to the target optical network ONU; the target ONU is used to receive the downstream frame from the OLT device.
[0042] According to the bandwidth allocation method, device, equipment and storage medium, the OLT device can parse the bandwidth request message report frame from the EPON ONU to obtain the first information field; translate the first information field into the bandwidth allocation overhead under the protocol structure of the target optical network; generate the corresponding bandwidth allocation partition based on the bandwidth allocation overhead, and the bandwidth allocation partition includes the bandwidth allocation information for the EPON ONU; based on the clock conversion parameter, translate the bandwidth allocation partition into the second information field included in the authorization frame under the EPON protocol structure; perform framing processing on the second information field to generate the authorization frame corresponding to the EPON ONU report frame, and return the authorization frame to the EPON ONU. In this way, in the upstream direction, the OLT device translates the first information field in the report frame of the EPON ONU into the bandwidth allocation overhead of the target optical network; in the downstream direction, the OLT device translates the bandwidth allocation partition generated based on the bandwidth allocation overhead into the second information field contained in the authorization frame under the EPON protocol structure; and the bandwidth allocation information for the EPON ONU included in the second information field is obtained by translation based on the clock reference conversion parameter, and the time reference conversion parameter is determined based on the EPON clock and the target optical network clock; therefore, the method can not only solve the problem of protocol structure difference between EPON and the target optical network, but also solve the problem of bandwidth allocation reference time difference between EPON and the target optical network; thereby, bandwidth allocation can be realized when the traditional EPON and the target optical network coexist, and then the normal operation of the time division coexistence system of the traditional EPON and the target optical network can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is an architectural diagram of a 50G-PON system;
[0045] Figure 2 It is a structural diagram of a communication system provided in an embodiment of the present application;
[0046] Figure 3 It is a structural schematic diagram of an OLT device provided in an embodiment of the present application;
[0047] Figure 4 It is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;
[0048] Figure 5It is a flowchart of another bandwidth allocation method provided in an embodiment of the present application;
[0049] Figure 6 It is a flowchart of another bandwidth allocation method provided in an embodiment of the present application;
[0050] Figure 7 It is a structural schematic diagram of a bandwidth allocation device provided in an embodiment of the present application;
[0051] Figure 8 It is a structural diagram of another OLT device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] In order to facilitate understanding of the embodiments of the present application, some concepts involved in the embodiments of the present application are described below. The description of these concepts includes but is not limited to the following content.
[0054] 1. Bandwidth allocation overhead
[0055] Bandwidth allocation overhead can also be called Dynamic Bandwidth Report Upstream (DBRU), which is carried in the upstream frame and is mainly used to report the status of the Transmission Container (T-CONT) in order to complete the dynamic bandwidth allocation of the ONU for the next bandwidth application. It should be noted that not every upstream frame carries DBRU.
[0056] T-CONT is the carrier of GPON upstream services and the basis for implementation. Through ONU's bandwidth application for T-CONT and OLT's authorization for T-CONT, dynamic bandwidth allocation for the upstream service flow of the entire GPON system can be achieved.
[0057] 2. Dynamic Bandwidth Allocation (DBA)
[0058] DBA is a mechanism that can dynamically allocate upstream bandwidth within microsecond or millisecond time intervals. By adopting DBA, the upstream line bandwidth utilization of the PON port can be improved.
[0059] 3. Bandwidth Map (BWmap)
[0060] Bandwidth allocation partition refers to the bandwidth allocation information generated by DBA, which includes the start time slot, end time slot and authorized length of the target optical network (such as 50G-PON) for uplink transmission. The flag bit of BWmap has the DBRU mode, which indicates the time slot of each T-CONT.
[0061] 4. 50G-PON
[0062] For example, see Figure 1 , Figure 1 This is an architecture diagram of a 50G-PON system. Figure 1 As shown in the figure, the 50G-PON system includes a 50G-PON OLT device, multiple 50G-PON ONUs and splitters. In the 50G-PON system, the optical distribution network (ODN) adopts a point (i.e., 50G-PON OLT device) to multi-point (i.e., multiple 50G-PON ONU) network structure, which is composed of single-mode optical fiber, splitters and other passive devices to realize the time-based point-to-multipoint transmission function between the trunk and branch optical fibers.
[0063] 5. Uplink bandwidth allocation mechanism of different passive optical network systems
[0064] (1) EPON's Uplink Bandwidth Allocation Mechanism
[0065] In terms of protocol structure, the IEEE standard stipulates that EPON implements the upstream bandwidth allocation of ONU through the interaction of control message report frames (REPORT, ONU reports local queue information to OLT) and authorization frames (GATE, OLT allocates sending authorization to ONU) introduced by the Multi-Point Control Protocol (MPCP). Its clock is synchronized based on the MPCP reference clock generated by the OLT and embedded in the MPCP message.
[0066] In terms of bandwidth allocation reference time, EPON's bandwidth allocation information is determined by a specified time point (ONU's local MPCP clock reference value TQ). The ONU's allocation information, such as start time, authorization length, and synchronization time, is formulated by specifying nTQ.
[0067] MPCP is a protocol of the EPON media access control (MAC) layer. MPCP defines a control mechanism between OLT and ONU to coordinate the effective transmission and reception of data.
[0068] (2) 50G-PON Upstream Bandwidth Allocation Mechanism
[0069] In terms of protocol structure, the ITU-T standard stipulates that 50G-PON uses a specific ONU buffer occupancy inference mechanism to implement ONU upstream bandwidth allocation through the interaction of bandwidth allocation overhead in upstream frames and bandwidth allocation partitions in downstream frames.
[0070] In terms of bandwidth allocation reference time, the bandwidth allocation information of 50G-PON consists of 12150 equidistant time instants of the upstream frame, and the allocation information of the ONU is specified by specifying a certain time position, such as the start time, authorization length, etc.
[0071] 6. OLT equipment
[0072] OLT equipment refers to the terminal equipment used to connect to the optical fiber trunk line. OLT equipment can be used to send data to ONU in a broadcast mode; and to allocate bandwidth to ONU (i.e. control the start time and sending window size of ONU data transmission).
[0073] 7. ONU
[0074] ONU can be divided into active optical network unit and passive optical network unit. ONU can be used to selectively receive the broadcast sent by the OLT device, respond to the OLT device when choosing to receive the broadcast, and collect and cache the data that the user needs to send.
[0075] The high-speed passive optical network technology that has been widely deployed in the existing network mainly adopts the single-system system of EPON under the IEEE system or GPON under the ITU-T system. With the continuous development of passive optical network technology, the standardization of the next-generation ultra-high-speed 50G-PON technology is nearing completion, and the two single-system systems (EPON or GPON) are gradually converging to the single 50G-PON under the ITU-T.
[0076] For the traditional EPON that has been widely deployed, considering the need for smooth evolution, EPON will continue to be reused and gradually replaced. In the future, it will still face a period of smooth evolution scenario of coexistence with 50G-PON under ITU-T. The existing PON evolution mode is within the same technical system. When the standard was formulated, the problem of wavelength overlap between generations was avoided. Therefore, multiple generations can coexist through wavelength division multiplexing. As 50G-PON, which is formed by the convergence of GPON and EPON, continues the transmission convergence characteristics of GPON, but has implementation differences with IEEE system EPON, and there are wavelength conflicts. Therefore, it is impossible to achieve dual system coexistence through wavelength division (independent wavelength channel). As for the problem of dual system coexistence from traditional EPON to the target optical network through time division multiplexing, due to the difference in the upstream bandwidth allocation mechanism of EPON and 50G-PON, there is currently no unified bandwidth allocation method. Therefore, it is temporarily impossible to achieve coexistence of EPON and the target optical network through time division multiplexing. Among them, the differences between the upstream bandwidth allocation mechanisms of EPON and 50G-PON include differences in the protocol structure between the systems and differences in the bandwidth allocation reference time. Optionally, the specific introduction of the upstream bandwidth allocation mechanism of EPON and the upstream bandwidth allocation mechanism of 50G-PON can be found in the relevant description of the aforementioned concept explanation part, which will not be repeated here.
[0077] Based on the above description, the embodiment of the present application provides a bandwidth allocation method, device, equipment and storage medium, which are applied to OLT equipment. The method includes: obtaining a first information domain, and translating the first information domain into a bandwidth allocation overhead under the protocol structure of the target optical network; the first information domain is obtained by parsing the report frame of the EPON ONU; the first information domain includes the local queue information corresponding to the EPON ONU, and the local queue information is used to determine the bandwidth allocation information for the EPON ONU; based on the bandwidth allocation overhead, the corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains the bandwidth allocation information for the EPON ONU; based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information domain contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information domain includes the bandwidth allocation information for the EPON ONU; the second information domain is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU. In this way, in the upstream direction, the OLT device translates the first information field in the report frame of the EPON ONU into the bandwidth allocation overhead of the target optical network; in the downstream direction, the OLT device translates the bandwidth allocation partition generated based on the bandwidth allocation overhead into the second information field contained in the authorization frame under the EPON protocol structure; and the bandwidth allocation information for the EPON ONU included in the second information field is obtained by translation based on the clock reference conversion parameter, and the time reference conversion parameter is determined based on the EPON clock and the target optical network clock; therefore, the method can not only solve the problem of protocol structure difference between EPON and the target optical network, but also solve the problem of bandwidth allocation reference time difference between EPON and the target optical network; thereby, bandwidth allocation can be realized when the traditional EPON and the target optical network coexist, and then the normal operation of the time division coexistence system of the traditional EPON and the target optical network can be realized.
[0078] It should be noted that the beneficial effects brought about by the embodiments of the present application or the technical problems solved are not limited to this one, but may also include other implicit or related problems. For details, please refer to the description of the following embodiments.
[0079] Combine the following Figure 2 , the application scenarios of the bandwidth allocation method provided in the embodiments of the present application are introduced.
[0080] See also Figure 2 , Figure 2 Schematic diagram of a communication system provided by an embodiment of the present application. Figure 1As shown, the system includes an OLT device 201, an EPON ONU 202 and a target optical network ONU 203. The EPON ONU 202 and the target optical network ONU 203 respectively transmit data with the OLT device 201 through the network.
[0081] The EPON ONU 202 may send a bandwidth request message report frame to the OLT device 201. Accordingly, the OLT device 201 receives the bandwidth request message report frame from the EPON ONU 202. The bandwidth request message report frame is used to report local queue information. The local queue information is used to determine the bandwidth allocation information for the EPON ONU 202. The OLT device 201 may parse the bandwidth request message report frame, extract the first information field, and translate the first information field into a bandwidth allocation overhead under the protocol structure of the target optical network ONU 203. Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated. The bandwidth allocation partition includes the bandwidth allocation information for the EPON ONU 202. Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into a second information field included in the authorization frame under the EPON protocol structure. The clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock. The second information field includes the bandwidth allocation information for the EPON ONU 202. The second information field is framed to generate an authorization frame corresponding to the bandwidth request message report frame. The EPON ONU 203 sends a packet to the OLT device 201. 202 sends an authorization frame, and correspondingly, EPON ONU 202 receives the authorization frame from OLT device 201.
[0082] Optionally, the OLT device 201 further performs downlink frame framing processing on the bandwidth allocation partition to obtain a downlink frame; sends the downlink frame to the target optical network ONU 203 , and correspondingly, the target optical network ONU 203 receives the downlink frame from the OLT device 201 .
[0083] Combine the following Figure 3 , the OLT device mentioned in the embodiment of the present application is introduced.
[0084] See also Figure 3 , Figure 3 Schematic diagram of the structure of an OLT device provided in an embodiment of the present application. Figure 3 As shown, the OLT device includes an EPON message parsing / framing module 301, an EPON translation module 302, a target optical network dynamic bandwidth allocation (Dynamic Bandwidth Allocation, DBA) module 303,
[0085] Target optical network message parsing / framing module 304 , EPON clock module 305 , target optical network clock module 306 and time conversion module 307 .
[0086] The EPON message parsing / framing module 301 may include an EPON message parsing module 3011 and an EPON message framing module 3012. The EPON message parsing module 3011 may be used to parse the report frame received from the EPON ONU to obtain the information field. The EPON message framing module 3012 may be used to generate an authorization frame corresponding to the report frame.
[0087] The EPON translation module 302 can be used to translate the relevant information under the protocol structure of the EPON and the relevant information under the protocol structure of the target optical network. For example, the information domain under the protocol structure of the EPON is translated into the bandwidth allocation overhead under the protocol structure of the target optical network. For another example, the bandwidth allocation partition under the protocol structure of the target optical network is translated into another information domain under the protocol structure of the EPON.
[0088] The target optical network DBA module 303 is used to generate bandwidth allocation partitions based on bandwidth allocation overhead. Wherein, DBA is a mechanism that can dynamically allocate upstream bandwidth within a time interval of microseconds or milliseconds.
[0089] The target optical network message parsing / framing module 304 may include a target optical network message parsing module 3041 and a target optical network message framing module 3042. The target optical network message parsing module 3041 may be used to parse the received uplink frame from the target optical network ONU to obtain the bandwidth allocation overhead. The target optical network message framing module 3042 may be used to generate a downlink frame corresponding to the uplink frame.
[0090] The EPON clock module 305 is used to obtain the EPON clock.
[0091] The EPON clock module 305 is used to obtain the target optical network clock.
[0092] The time conversion module 307 is used to determine the clock reference conversion parameters between the EPON and the target optical network based on the clock of the EPON and the clock of the target optical network.
[0093] In addition to the above modules, the OLT device may also include at least the following two types of communication interfaces: an EPON interface and a target optical network interface. The EPON interface is used to establish a communication connection between the EPON message parsing / framing module 301 and the EPONONU, so that after the OLT device receives the report frame of the EPON ONU through the EPON interface, it can determine that the report frame is sent by the EPON ONU and transmit the report frame to the EPON message parsing / framing module 301. The target optical network interface is used to establish a communication connection between the target optical network message parsing / framing module 304 and the target optical network ONU. In this way, after the OLT device receives the uplink frame of the target optical network ONU through the target optical network interface, it can determine that the uplink frame is sent by the target optical network ONU and transmit the uplink frame to the target optical network message parsing / framing module 304. The OLT device of the present application can realize the physical isolation of different uplink messages from the EPON ONU and the target optical network ONU by the OLT device through the above two types of communication interfaces.
[0094] In the embodiment of the present application, by introducing an EPON translation module in the OLT device, the relevant information under the EPON protocol structure and the relevant information of the protocol structure of the target optical network can be translated, thereby solving the protocol structure difference between EPON and the target optical network; by introducing a time conversion module, the clock reference conversion parameters between EPON and the target optical network can be determined, thereby solving the clock reference difference between EPON and the target optical network. Therefore, by using the OLT device, the uplink signals of the EPON ONU and the target optical network ONU can be uniformly scheduled in the same time domain through a specific method, thereby realizing the normal operation of the time-division coexistence of the IEEE system EPON and the ITU-T system target optical network, thereby improving the feasibility of the system.
[0095] It should be noted that Figure 3 The modules shown can be implemented by hardware or software, and based on the functions implemented by each module, other names or module divisions can be used. For example, the EPON translation module can also be named as a translation module, and the message parsing / framing module can also be a message parsing module and a message framing module.
[0096] See also Figure 4 , Figure 4 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The method can be performed by an OLT device (for example, Figure 3 The OLT device shown in the figure is executed. Figure 4 As shown, the bandwidth allocation method may include but is not limited to the following steps:
[0097] S401, obtaining a first information domain, and translating the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU.
[0098] In an optional implementation, the target optical network includes but is not limited to 50G-PON, XG-PON and XGS-PON of the ITU-T system, GPON, etc.
[0099] For example, the OLT device can Figure 3 The EPON translation module 302 in the EPON translates the first information field of the bandwidth request message report frame reported by the EPON ONU under the IEEE system into the bandwidth allocation overhead of the 50G-PON of the ITU-T system. Optionally, the OLT device translates the first information field into the bandwidth allocation overhead of the 50G-PON, including translating the local queue information corresponding to the EPON ONU into the 50G-PON cache status report information.
[0100] S402: Generate corresponding bandwidth allocation partitions based on bandwidth allocation overhead; the bandwidth allocation partitions contain bandwidth allocation information for EPON ONUs.
[0101] For example, the OLT device can Figure 3 The target optical network DBA module 303 generates corresponding bandwidth allocation partitions based on the bandwidth allocation overhead.
[0102] S403: Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into a second information field included in the authorization frame under the EPON protocol structure, wherein the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU.
[0103] For example, the OLT device can Figure 3 The EPON translation module 302 in the embodiment translates the bandwidth allocation partition into the second information field included in the authorization frame under the EPON protocol structure based on the clock reference conversion parameter.
[0104] In an optional implementation manner, the OLT device may respectively obtain the EPON clock and the target optical network clock; and determine the clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0105] S404: Perform framing processing on the second information field, generate a corresponding authorization frame corresponding to the EPON ONU report frame, and return the authorization frame to the EPON ONU.
[0106] For example, the OLT device can Figure 3 The EPON message framing module 3012 in the embodiment performs framing processing on the second information field, generates a corresponding authorization frame corresponding to the EPON ONU report frame, and returns the authorization frame to the EPON ONU.
[0107] In an optional implementation, the bandwidth allocation information includes identification information of the EPON ONU, and the identification information is used to uniquely identify the EPON ONU in the coexistence system; the authorization frame returned to the EPON ONU also includes the identification information, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; wherein the coexistence system includes at least the EPON and the target optical network.
[0108] For example, assuming that the EPON ONU is identified by LLID and the 50G-PON ONU is identified by Alloc-ID, the OLT device can use LLID to identify the bandwidth allocation information for the EPON ONU during bandwidth allocation, that is, the bandwidth allocation information for the EPON ONU includes the identification information LLID of the EPON ONU. In this way, after receiving the authorization frame containing the bandwidth allocation information returned by the OLT device, the EPON ONU can recognize that the bandwidth allocation information belongs to itself, so that the EPON ONU can perform uplink transmission based on the bandwidth allocation information.
[0109] In the embodiment of the present application, in the upstream direction, the OLT device translates the first information field in the report frame of the EPON ONU into the bandwidth allocation overhead of the target optical network; in the downstream direction, the OLT device translates the bandwidth allocation partition generated based on the bandwidth allocation overhead into the second information field contained in the authorization frame under the EPON protocol structure; and the bandwidth allocation information for the EPON ONU included in the second information field is obtained by translation based on the clock reference conversion parameter, and the time reference conversion parameter is determined based on the EPON clock and the target optical network clock; therefore, the method can not only solve the problem of protocol structure difference between EPON and the target optical network, but also solve the problem of bandwidth allocation reference time difference between EPON and the target optical network; thereby, it is possible to realize bandwidth allocation when the traditional EPON and the target optical network coexist, and then realize the normal operation of the time division coexistence system of the traditional EPON and the target optical network.
[0110] See also Figure 5 , Figure 5 FIG. 1 is a flow chart of another bandwidth allocation method provided in an embodiment of the present application. Figure 4 The bandwidth allocation method shown differs in that Figure 5 The bandwidth allocation method shown also describes how the OLT device obtains the first information field, and the OLT device also sends a downlink frame to the target optical network ONU. Figure 5 As shown, the bandwidth allocation method may include but is not limited to the following steps:
[0111] S501 : The EPON ONU sends a report frame to the OLT device. Accordingly, the OLT device receives the report frame from the EPON ONU. The report frame is used to report local queue information to the OLT device. The local queue information is used to determine bandwidth allocation information for the EPON ONU.
[0112] In an optional implementation, before step S501, the OLT device may also determine that the EPON ONU and the target optical network ONU have been successfully connected to the OLT device and have been activated and powered on.
[0113] S502: The OLT device parses the report frame and extracts a first information field from the parsed report frame, where the first information field includes local queue information corresponding to the EPON ONU.
[0114] For example, the OLT device may utilize Figure 3 The EPON message parsing module 3011 in the embodiment parses the bandwidth request message report frame and extracts the first information field from the parsed report frame.
[0115] S503: The OLT device translates the first information field into bandwidth allocation overhead under the protocol structure of the target optical network.
[0116] In an optional implementation, the relevant description of step S503 can refer to the relevant description of the aforementioned step S401, which will not be repeated here.
[0117] S504: The OLT device generates a corresponding bandwidth allocation partition based on the bandwidth allocation overhead; the bandwidth allocation partition includes bandwidth allocation information for the EPON ONU, and the bandwidth allocation information includes identification information of the EPON ONU.
[0118] In an optional implementation, after step S504, the OLT device may further perform the following steps S505 to S507 in the EPON direction; and perform the following steps S508 and S509 in the target optical network direction.
[0119] S505. The OLT device translates the bandwidth allocation partition into the second information field included in the authorization frame under the EPON protocol structure based on the clock reference conversion parameter, wherein the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU.
[0120] In an optional implementation manner, the OLT device may respectively obtain the EPON clock and the target optical network clock; and determine the clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0121] For example, the OLT device may utilize Figure 3 The EPON clock module 305 in the embodiment obtains the EPON clock, and the target optical network clock module 306 is used to obtain the target optical network clock; the time conversion module 307 is used to determine the clock reference conversion parameters between the EPON and the target optical network based on the EPON clock and the target optical network clock.
[0122] S506: The OLT device performs framing processing on the second information field to generate a corresponding authorization frame corresponding to the EPON ONU bandwidth request message report frame.
[0123] In an optional implementation, the relevant description of step S506 can refer to the relevant description of the aforementioned step S404, which will not be repeated here.
[0124] S507: The OLT device sends an authorization frame to the EPON ONU, and correspondingly, the EPON ONU receives the authorization frame.
[0125] S508 . The OLT device performs downlink frame framing processing on the bandwidth allocation partition to obtain a downlink frame under the protocol structure of the target optical network. The downlink frame includes identification information of the target optical network.
[0126] For example, the OLT device may utilize Figure 3 The target optical network message framing module 3042 performs downlink frame framing processing on the bandwidth allocation partition to obtain a downlink frame under the protocol structure of the target optical network.
[0127] S509: The OLT device sends a downstream frame to the target optical network ONU. Correspondingly, the target optical network ONU receives the downstream frame, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is its own bandwidth allocation information based on the identification information.
[0128] In the embodiment of the present application, in the upstream direction, the OLT device translates the first information field in the report frame of the EPON ONU into the bandwidth allocation overhead of the target optical network; in the downstream direction, the OLT device translates the bandwidth allocation partition generated based on the bandwidth allocation overhead into the second information field contained in the authorization frame under the EPON protocol structure; and the bandwidth allocation information for the EPON ONU included in the second information field is obtained by translation based on the clock reference conversion parameter, and the time reference conversion parameter is determined based on the EPON clock and the target optical network clock; therefore, the method can not only solve the problem of protocol structure difference between EPON and the target optical network, but also solve the problem of bandwidth allocation reference time difference between EPON and the target optical network; thereby, it is possible to realize bandwidth allocation when the traditional EPON and the target optical network coexist, and then realize the normal operation of the time division coexistence system of the traditional EPON and the target optical network.
[0129] See also Figure 6 , Figure 6 FIG. 1 is a flow chart of another bandwidth allocation method provided in an embodiment of the present application. Figure 5 The bandwidth allocation method shown differs in that Figure 6 The bandwidth allocation method shown also describes the interaction between the EPON ONU and the target optical network ONU and the internal modules of the OLT device. Figure 6 As shown, the bandwidth allocation method may include but is not limited to the following steps:
[0130] S601. EPON ONU sends a report frame to an EPON message parsing module in an OLT device. Correspondingly, the OLT device receives a report frame from the EPON ONU through the EPON message parsing module. The report frame is used to report local queue information. The local queue information is used to determine bandwidth allocation information for the EPON ONU.
[0131] S602: The OLT device parses the report frame through the EPON message parsing module, and extracts a first information field from the parsed report frame, where the first information field includes local queue information corresponding to the EPON ONU.
[0132] S603: The OLT device translates the first information field into bandwidth allocation overhead under the protocol structure of the target optical network through the EPON translation module.
[0133] S604: The OLT device sends the bandwidth allocation overhead to the target optical network DBA module through the EPON translation module. Correspondingly, the OLT device receives the bandwidth allocation overhead from the EPON translation module through the target optical network DBA module.
[0134] S605 . The OLT device generates corresponding bandwidth allocation partitions based on the bandwidth allocation overhead through the target optical network DBA module; the bandwidth allocation partitions contain bandwidth allocation information for the EPON ONU, and the bandwidth allocation information includes identification information of the EPONONU.
[0135] In an optional implementation, after step S605, the OLT device may further perform the following steps S606 to S616 in the EPON direction; and perform the following steps S617 and S619 in the target optical network direction.
[0136] S606 . The OLT device sends the bandwidth allocation partition to the EPON translation module through the target optical network DBA module. Correspondingly, the EPON translation module receives the bandwidth allocation partition from the target optical network DBA module.
[0137] S607 . The OLT device obtains the EPON clock through the EPON clock module.
[0138] S608 . The OLT device sends the EPON clock to the time conversion module through the EPON clock module. Correspondingly, the time conversion module receives the EPON clock from the EPON clock module.
[0139] S609. The OLT device obtains the target optical network clock through the target optical network clock module.
[0140] S610: The OLT device sends a target optical network clock to a time conversion module through a target optical network clock module. Correspondingly, the time conversion module receives the target optical network clock from the target optical network clock module.
[0141] S611. The OLT device determines the clock reference conversion parameters between the EPON and the target optical network based on the EPON clock and the target optical network clock through the time conversion module.
[0142] S612: The OLT device sends the clock reference conversion parameters to the EPON translation module through the time conversion module. Correspondingly, the EPON translation module receives the time reference conversion parameters from the time conversion module.
[0143] S613. The OLT device translates the bandwidth allocation partition into the second information field included in the authorization frame under the EPON protocol structure based on the clock reference conversion parameter through the EPON translation module, wherein the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU.
[0144] S614: The OLT device sends the second information field to the EPON message framing module through the EPON translation module. Correspondingly, the EPON message framing module receives the second information field from the EPON translation module.
[0145] S615. The OLT device performs framing processing on the second information field through the EPON message framing module to generate a corresponding authorization frame corresponding to the EPON ONU bandwidth request message report frame.
[0146] S616: The OLT device sends an authorization frame to the EPON ONU through the EPON message framing module. Correspondingly, the EPON ONU receives the authorization frame from the EPON message framing module.
[0147] S617. The OLT device sends the bandwidth allocation partition to the target optical network message framing module through the target optical network DBA module. Correspondingly, the target optical network message framing module receives the bandwidth allocation partition from the target optical network DBA module.
[0148] S618. The OLT device performs downlink frame framing processing on the bandwidth allocation partition through the target optical network message framing module to obtain a downlink frame.
[0149] S619, the OLT device sends a downlink frame to the target optical network ONU through the target optical network message framing module. Correspondingly, the target optical network ONU receives the downlink frame from the target optical network message framing module, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is the bandwidth allocation information corresponding to the target optical network ONU.
[0150] In the embodiment of the present application, in the upstream direction, the OLT device translates the first information field in the report frame of the EPON ONU into the bandwidth allocation overhead of the target optical network through the EPON translation module; in the downstream direction, the OLT device translates the bandwidth allocation partition generated based on the bandwidth allocation overhead into the second information field contained in the authorization frame under the EPON protocol structure through the EPON translation module; and the OLT device also obtains the EPON clock through the EPON clock module, and obtains the target optical network clock through the target optical network clock module; and determines the clock reference conversion parameters between the EPON and the target optical network based on the EPON clock and the target optical network clock through the time conversion module. Therefore, the method can not only solve the problem of protocol structure differences between the EPON and the target optical network, but also solve the problem of bandwidth allocation reference time differences between the EPON and the target optical network; thus, it can realize bandwidth allocation when the traditional EPON and the target optical network coexist, and then realize the normal operation of the traditional EPON and the target optical network time division coexistence system.
[0151] It should be understood that although Figure 4 , Figure 5 and Figure 6 The steps in the flowchart shown are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 4 , Figure 5 and Figure 6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0152] See also Figure 7 , Figure 7 Schematic diagram of a bandwidth allocation device provided in an embodiment of the present application. Figure 7 As shown, the device includes but is not limited to the following modules:
[0153] The translation module 701 is used to obtain a first information domain and translate the first information domain into a bandwidth allocation overhead under the protocol structure of the target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0154] Dynamic bandwidth allocation module 702, used to generate corresponding bandwidth allocation partitions based on bandwidth allocation overhead; the bandwidth allocation partitions contain bandwidth allocation information for EPON ONU;
[0155] The translation module 701 is further used to translate the bandwidth allocation partition into the second information field contained in the authorization frame under the EPON protocol structure based on the clock reference conversion parameter; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0156] The message framing module 703 is used to perform framing processing on the second information field, generate a corresponding authorization frame corresponding to the EPON ONU report frame, and return the authorization frame to the EPON ONU.
[0157] In one embodiment, the device further comprises an EPON clock module, a target optical network clock module and a time conversion module. The EPON clock module is used to obtain the EPON clock; the target optical network clock module is used to obtain the target optical network clock; and the time conversion module is used to determine the clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0158] In one embodiment, the bandwidth allocation information includes identification information of the EPON ONU, which is used to uniquely identify the EPON ONU in the coexistence system; the authorization frame returned to the EPON ONU also includes the identification information, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; wherein the coexistence system includes at least the EPON and the target optical network.
[0159] In one embodiment, after the dynamic bandwidth allocation module 702 generates the bandwidth allocation partition based on the bandwidth allocation overhead, the message framing module 703 is further used to perform downlink frame framing processing on the bandwidth allocation partition to obtain a downlink frame under the protocol structure of the target optical network, and the downlink frame includes the identification information of the target optical network ONU; the downlink frame is sent to the target optical network ONU, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is the bandwidth allocation information corresponding to itself based on the identification information.
[0160] In one embodiment, the target optical network includes one of 50G-PON, XG-PON, XGS-PON, and GPON.
[0161] In one embodiment, when used to obtain the first information field, the translation module 701 is specifically used to: receive a report frame from the EPON ONU; the report frame is used to report local queue information to the OLT device; parse the report frame, and extract the first information field from the parsed report frame.
[0162] For the specific definition of the bandwidth allocation device, please refer to the definition of the bandwidth allocation method above, which will not be repeated here. Each module in the above bandwidth allocation device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0163] In an exemplary embodiment, the present application also provides an OLT device. Figure 8 , Figure 8 Schematic diagram of another OLT device provided in the embodiment of the present application. Figure 8As shown in FIG. 8 , the OLT device includes: at least one processor 801, a memory 802, at least one network interface 804, and a user interface 803. The various components in the OLT device are coupled together via a bus system 805. It can be understood that the bus system 805 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 805 is not described in detail. Figure 8 Various buses are labeled as bus system 805. In addition, in the embodiment of the present application, a transceiver 808 is also included. The transceiver can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.
[0164] The user interface 803 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0165] It can be understood that the memory 802 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 802 of the system and method described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
[0166] In some implementations, the memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system 802a and an application program 802b.
[0167] The operating system 802a includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 802b includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Optionally, the program implementing the method of the embodiment of the present application can be included in the application 802b.
[0168] In the embodiment of the present application, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application 802b, the steps in the bandwidth allocation method provided in the embodiment of the present application are implemented, for example: obtaining a first information field and translating the first information field into a bandwidth allocation overhead under the protocol structure of the target optical network; the first information field is obtained by parsing the report frame of the optical network unit ONU in the Ethernet passive optical network EPON; the first information field includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine the bandwidth allocation information for the EPON ONU; based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition includes the bandwidth allocation information for the EPON ONU; based on the clock reference conversion parameter, the bandwidth allocation partition is translated into a second information field included in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes the bandwidth allocation information for the EPON ONU; the second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0169] It is understood that the embodiments described in the embodiments of the present application can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present application or a combination thereof.
[0170] For software implementation, the method in the embodiment of the present application can be implemented by a module (such as a process, function, etc.) that executes the function of the embodiment of the present application. The software code can be stored in a memory and executed by the processor 801. The memory can be implemented in the processor 801 or outside the processor 801.
[0171] In one embodiment, the processor 801 is further configured to: respectively acquire an EPON clock and a target optical network clock; and determine a clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0172] In one embodiment, the bandwidth allocation information includes identification information of the EPON ONU, which is used to uniquely identify the EPON ONU in the coexistence system; the authorization frame returned to the EPON ONU also includes the identification information, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; wherein the coexistence system includes at least the EPON and the target optical network.
[0173] In one embodiment, after the processor 801 is used to generate a bandwidth allocation partition based on the bandwidth allocation overhead, it is also used to: perform downlink frame framing processing on the bandwidth allocation partition to obtain a downlink frame under the protocol structure of the target optical network, wherein the downlink frame includes identification information of the target optical network ONU; send the downlink frame to the target optical network ONU, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is the bandwidth allocation information corresponding to itself based on the identification information.
[0174] In one embodiment, the target optical network includes one of 50G-PON, XG-PON, XGS-PON, and GPON.
[0175] In one embodiment, when the processor 801 is used to obtain the first information field, it is specifically used to: receive a report frame from the EPONONU; the report frame is used to report local queue information to the OLT device; parse the report frame, and extract the first information field from the parsed report frame.
[0176] In an exemplary embodiment, the present application also provides a computer-readable storage medium on which a computer program is stored.
[0177] In one embodiment, when the computer program is executed by a processor, the steps in the above bandwidth allocation method are implemented, for example:
[0178] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0179] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0180] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0181] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0182] In one embodiment, the computer program is executed by the processor to further implement the following steps: respectively acquiring the EPON clock and the target optical network clock; and determining the clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0183] In one embodiment, the bandwidth allocation information includes identification information of the EPON ONU, which is used to uniquely identify the EPON ONU in the coexistence system; the authorization frame returned to the EPON ONU also includes the identification information, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; wherein the coexistence system includes at least the EPON and the target optical network.
[0184] In one embodiment, after the computer program is executed by the processor to generate bandwidth allocation partitions based on bandwidth allocation overhead, the following steps are also implemented: performing downlink frame framing processing on the bandwidth allocation partitions to obtain downlink frames under the protocol structure of the target optical network, wherein the downlink frames include identification information of the target optical network ONU; and sending the downlink frames to the target optical network ONU, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is the bandwidth allocation information corresponding to itself based on the identification information.
[0185] In one embodiment, the target optical network includes one of 50G-PON, XG-PON, XGS-PON, and GPON.
[0186] In one embodiment, when the computer program is executed by the processor to obtain the first information field, the following steps are specifically implemented: receiving a report frame from the EPON ONU; the report frame is used to report local queue information; parsing the report frame, and extracting the first information field from the parsed report frame.
[0187] In an exemplary embodiment, the present application also provides a computer program product including instructions, including a computer program, which implements the following steps when executed by a processor:
[0188] Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU;
[0189] Based on the bandwidth allocation overhead, a corresponding bandwidth allocation partition is generated; the bandwidth allocation partition contains bandwidth allocation information for EPONONU;
[0190] Based on the clock reference conversion parameter, the bandwidth allocation partition is translated into the second information field contained in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on the EPON clock and the target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU;
[0191] The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
[0192] In one embodiment, the computer program is executed by the processor to further implement the following steps: respectively acquiring the EPON clock and the target optical network clock; and determining the clock reference conversion parameter based on the EPON clock and the target optical network clock.
[0193] In one embodiment, the bandwidth allocation information includes identification information of the EPON ONU, which is used to uniquely identify the EPON ONU in the coexistence system; the authorization frame returned to the EPON ONU also includes the identification information, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; wherein the coexistence system includes at least the EPON and the target optical network.
[0194] In one embodiment, after the computer program is executed by the processor to generate bandwidth allocation partitions based on bandwidth allocation overhead, the following steps are also implemented: performing downlink frame framing processing on the bandwidth allocation partitions to obtain downlink frames under the protocol structure of the target optical network, wherein the downlink frames include identification information of the target optical network ONU; and sending the downlink frames to the target optical network ONU, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is the bandwidth allocation information corresponding to itself based on the identification information.
[0195] In one embodiment, the target optical network includes one of 50G-PON, XG-PON, XGS-PON, and GPON.
[0196] In one embodiment, when the computer program is executed by the processor to obtain the first information field, the following steps are specifically implemented: receiving a report frame from the EPON ONU; the report frame is used to report local queue information; parsing the report frame, and extracting the first information field from the parsed report frame.
[0197] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0198] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0199] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A bandwidth allocation method, characterized in that: Applied to an optical line terminal (OLT) device, the method comprises: Acquire a first information domain, and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame from an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU; Based on the bandwidth allocation overhead, generating a corresponding bandwidth allocation partition; the bandwidth allocation partition includes bandwidth allocation information for the EPON ONU; Based on a clock reference conversion parameter, the bandwidth allocation partition is translated into a second information field included in the authorization frame under the EPON protocol structure; the clock reference conversion parameter is obtained based on an EPON clock and a target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU; The second information field is framed to generate a corresponding authorization frame corresponding to the EPON ONU report frame, and the authorization frame is returned to the EPON ONU.
2. The method according to claim 1, characterized in that The method further comprises: Respectively obtaining the EPON clock and the target optical network clock; The clock reference conversion parameter is determined based on the EPON clock and the target optical network clock.
3. The method according to claim 1, characterized in that The bandwidth allocation information includes identification information of the EPON ONU, which is used to uniquely identify the EPON ONU in the coexistence system; The authorization frame also includes the identification information returned to the EPON ONU, so that the EPON ONU determines whether the bandwidth allocation information in the received authorization frame is its own bandwidth allocation information based on the identification information; Wherein, the coexistence system at least includes the EPON and the target optical network.
4. The method according to claim 3, characterized in that After generating the bandwidth allocation partition based on the bandwidth allocation overhead, the method further includes: The bandwidth allocation partition is subjected to downlink frame framing processing to obtain a downlink frame under the protocol structure of the target optical network; the downlink frame includes identification information of the ONU of the target optical network; The downlink frame is sent to the target optical network ONU, so that the target optical network ONU confirms whether the bandwidth allocation information in the bandwidth allocation partition is the bandwidth allocation information corresponding to itself based on the identification information.
5. The method according to any one of claims 1 to 4, characterized in that: The target optical network includes one of 50G-PON, XG-PON, XGS-PON, and GPON.
6. The method according to any one of claims 1 to 4, characterized in that: The obtaining of the first information domain includes: Receiving a report frame from the EPON ONU; the report frame is used to report local queue information to the OLT device; The report frame is parsed, and a first information field is extracted from the parsed report frame.
7. A bandwidth allocation device, characterized in that: Applied to optical line terminal OLT equipment, the device comprises: A translation module is used to obtain a first information domain and translate the first information domain into a bandwidth allocation overhead under a protocol structure of a target optical network; the first information domain is obtained by parsing a report frame of an optical network unit ONU in an Ethernet passive optical network EPON; the first information domain includes local queue information corresponding to the EPON ONU, and the local queue information is used to determine bandwidth allocation information for the EPON ONU; The dynamic bandwidth allocation module is used to generate a corresponding bandwidth allocation partition based on the bandwidth allocation overhead; the bandwidth allocation partition contains bandwidth allocation information for the EPON ONU; The translation module is further used to translate the bandwidth allocation partition into a second information field included in the authorization frame under the EPON protocol structure based on a clock reference conversion parameter; the clock reference conversion parameter is obtained based on an EPON clock and a target optical network clock, and the second information field includes bandwidth allocation information for the EPON ONU; The message framing module is used to perform framing processing on the second information field, generate a corresponding authorization frame corresponding to the EPON ONU report frame, and return the authorization frame to the EPON ONU.
8. An optical line terminal OLT device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
