Optical communication device, system and optical communication processing method
By introducing multiple working modes into the optical communication device, adjusting the frame period of the data frame, the problem that the frame period of the existing PON system cannot match the requirements of different scenarios is solved, and efficient resource utilization and simplification of data synchronization processing is achieved.
Patent Information
- Application Number
- CN202510178540.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-02-18
AI Technical Summary
The frame period of existing PON systems cannot flexibly match the needs of different scenarios, resulting in high complexity in resource waste and data synchronization processing.
By introducing multiple working modes into the optical communication device, the control module can adjust the frame period of the data frame according to different working modes, while the frame length remains unchanged, thereby adapting to the needs of different scenarios.
It realizes efficient utilization of resources, reduces resource waste, and simplifies the complexity of data synchronization processing.
Smart Images

Figure CN119675816B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to an optical communication device, system and optical communication processing method. Background Art
[0002] Currently, there is a demand for the use of PON technology in more and more scenarios, such as fiber to the room (FTTR) and industrial control.
[0003] For example, industrial control scenarios have different frame period requirements, such as 100us, while the current PON system uses a frame period of 125us. Generally, a single-frame multi-burst method is used, such as configuring a single frame 2burst with a period of 62.5us to carry services. However, this does not align the periods, that is, the period is smaller than the period required for industrial control, resulting in a waste of resources and high complexity in data synchronization processing. Summary of the invention
[0004] Embodiments of the present application provide an optical communication device, a system, and an optical communication processing method to reduce resource waste.
[0005] In a first aspect, an embodiment of the present application provides an optical communication device, which is applied to an optical head end, and the device includes a first control module and an optical module; the first control module is used to determine that in the first working mode among N1 working modes, N1 is an integer greater than 1; the frame lengths of the data frames used in the N1 working modes are the same and the frame periods of the data frames are different; the frame period of the data frames in the first working mode is a first frame period; the first control module is also used to control the optical module to use the first frame period according to the first working mode, and send a first data frame stream to the first optical terminal, and the first data frame stream carries the first downlink data.
[0006] Through the above scheme, the present application supports multiple working modes by configuring the control module. Different working modes correspond to different frame periods, which can adapt to various scenarios and avoid resource waste due to cycle mismatch. In addition, since the frame length is the same, different frame periods have different bandwidths, which can also match different bandwidth scenario requirements. In addition, the frame length does not change, so there is no need to perform special processing on the control module, reducing resource waste.
[0007] In one possible design, the first control module is further used to control the optical module to receive a second data frame stream from the first optical terminal using a first frame period according to the first working mode, and the second data frame stream carries the first uplink data.
[0008] In the above design, the first control module can use a determined frame period to receive the data stream.
[0009] In one possible design, the device also includes a second control module, the first control module adopts a first optical communication protocol, the second control module adopts a second optical communication protocol, the second control module supports working in N2 working modes, N2 is an integer greater than 1, and the frame length of the data frame used under the first optical communication protocol is different from the frame length of the data frame used under the second optical communication protocol.
[0010] The embodiments of the present application can also be applied to scenarios where multiple systems are deployed in a mixed manner, and different systems use different optical communication protocols.
[0011] In one possible design, the first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
[0012] In one possible design, it also includes a processor; the processor is used to configure the first control module to be in a first operating mode among N1 operating modes.
[0013] In one possible design, the processor is also used to configure the second control module to be in a second operating mode among N2 operating modes; the frame period of the data frame in the second operating mode is a second frame period; the second control module is used to control the optical module to adopt the second frame period according to the second operating mode, and send a third data frame stream to the second optical terminal, and the third data frame stream carries the second downlink data.
[0014] In the above design, the processor can control the working modes of different modules to realize the frame period adopted by the OLT to communicate with different ONUs.
[0015] In one possible design, the second control module is further used to control the optical module to receive a fourth data frame from the second optical terminal using a second frame period according to the second working mode, and the fourth data frame carries the second uplink data.
[0016] In a possible design, the frame period of the data frame used in the N1 working modes satisfies an integer multiple relationship, such as an integer multiple relationship of 100us, which can be better applicable to industrial control scenarios.
[0017] In a possible design, the first frame period is 100us, 125us, 80us, 62.5us, 250us, 320us, 400us or 500us.
[0018] In the second aspect, an embodiment of the present application provides an optical communication device, which is applied to an optical terminal. The device includes a control module and an optical module. The control module supports working in N1 working modes; the frame length of the data frames used in the N1 working modes is the same and the frame period of the data frames is different; the optical module is used to receive an optical signal from an optical head end, and the optical signal carries a first data frame stream; the control module is used to detect physical layer synchronization information of the first data frame stream to determine that the first data frame stream uses a first frame period; the first frame period corresponds to the first working mode among the N1 working modes; the control module is also used to process the first data frame stream when working in the first working mode.
[0019] In the above solution, when the OLT operates in a certain frame period, the optical terminal can well adapt to the working mode corresponding to the frame period.
[0020] In a possible design, the control module is specifically used to traverse the frame periods of N1 working modes:
[0021] Detecting physical layer synchronization information of the first data frame stream according to the frame period corresponding to the traversed i-th working mode to perform a frame synchronization operation;
[0022] When frame synchronization is completed, the frame period of the first data frame stream is determined to be the frame period of the i-th working mode, and the traversal is stopped; or, when frame synchronization is not completed, the frame period corresponding to the i+1-th working mode continues to be traversed, and the value of i is a positive integer less than N1.
[0023] In the above design, the optical terminal adapts the working mode configured by the OLT among the multiple working modes supported by traversing the frame periods of various working modes.
[0024] In one possible design, the control module supports operating in N1 operating modes of a first optical communication protocol, and the control module also supports operating in N2 operating modes of a second optical communication protocol, and a frame length of a data frame used in the first optical communication protocol is different from a frame length of a data frame used in the second optical communication protocol.
[0025] In one possible design, the first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
[0026] In a possible design, the control module is specifically used to:
[0027] Working under a first optical communication protocol to traverse frame periods of N1 working modes of the first optical communication protocol;
[0028] When frame synchronization is not completed after traversing the frame periods of N1 working modes of the first optical communication protocol, the operation is switched to the second optical communication protocol to continue traversing the frame periods of N2 working modes of the second optical communication protocol to determine the frame period used by the first data frame flow.
[0029] In the above design, when the optical head end supports multiple optical communication protocols, the working modes of the multiple optical communication protocols can be traversed to adapt the working mode configured by the OLT among the multiple supported working modes.
[0030] In a possible design, the control module is also used for: The control module is also used for sending a second data frame stream to the optical head end when working in the first working mode.
[0031] In a third aspect, an embodiment of the present application provides a method for processing optical communications, which is applied to an optical head end, and the method includes: determining that the first working mode is in N1 working modes, where N1 is an integer greater than 1; the frame lengths of the data frames used in the N1 working modes are the same and the frame periods of the data frames are different; the frame period of the data frames in the first working mode is a first frame period; according to the first working mode, using the first frame period, a first data frame stream is sent to a first optical terminal, and the first data frame stream carries first downlink data.
[0032] In one possible design, the method further includes:
[0033] According to the first working mode, a second data frame stream from the first optical terminal is received using a first frame period, and the second data frame stream carries first uplink data.
[0034] In one possible design, the optical head end supports a first optical communication protocol and a second optical communication protocol. The first optical communication protocol includes N1 working modes, and the second optical communication protocol includes N2 working modes. N2 is an integer greater than 1, and the frame length of the data frame used under the first optical communication protocol is different from the frame length of the data frame used under the second optical communication protocol.
[0035] In one possible design, the first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
[0036] In a possible design, the frame periods of the data frames used in the N1 working modes satisfy an integer multiple relationship.
[0037] In a possible design, the first frame period is 100us, 125us, 80us, 62.5us, 250us, 320us, 400us or 500us.
[0038] In the fourth aspect, an embodiment of the present application provides a method for processing optical communications, which is applied to an optical terminal, and an optical head end supports working in N1 working modes; the frame length of the data frames used in the N1 working modes is the same and the frame period of the data frames is different; the method includes: receiving a first data frame stream from the optical head end; detecting the physical layer synchronization information of the first data frame stream to determine that the first data frame stream uses a first frame period; the first frame period corresponds to the first working mode among the N1 working modes; and processing the first data frame stream under the first working mode.
[0039] In a possible design, detecting physical layer synchronization information of the first data frame stream to determine that the first data frame stream uses a first frame period includes: traversing frame periods of N1 working modes:
[0040] Detecting physical layer synchronization information of the first data frame stream according to the frame period corresponding to the traversed i-th working mode to perform a frame synchronization operation;
[0041] When frame synchronization is completed, the frame period of the first data frame stream is determined to be the frame period of the i-th working mode, and the traversal is stopped; or, when frame synchronization is not completed, the frame period corresponding to the i+1-th working mode continues to be traversed, and the value of i is a positive integer less than N1.
[0042] In one possible design, the optical head end supports operating in N1 operating modes of a first optical communication protocol, and the control module also supports operating in N2 operating modes of a second optical communication protocol. The frame length of the data frame used under the first optical communication protocol is different from the frame length of the data frame used under the second optical communication protocol.
[0043] In one possible design, the first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
[0044] In one possible design, detecting physical layer synchronization information of the first data frame stream to determine that the first data frame stream uses a first frame period includes:
[0045] Working under a first optical communication protocol to traverse frame periods of N1 working modes of the first optical communication protocol;
[0046] When frame synchronization is not completed after traversing the frame periods of N1 working modes of the first optical communication protocol, the operation is switched to the second optical communication protocol to continue traversing the frame periods of N2 working modes of the second optical communication protocol to determine the frame period used by the first data frame flow.
[0047] In a possible design, it also includes: sending a second data frame stream to the optical head end while working in the first working mode.
[0048] In the fifth aspect, an embodiment of the present application provides a computer-readable medium for storing a computer program, which includes instructions for executing the method in the third aspect or any optional implementation of the third aspect; or, includes instructions for executing the method in the fourth aspect or any optional implementation of the fourth aspect.
[0049] In a sixth aspect, an embodiment of the present application further provides an optical communication system, comprising the optical communication device described in the first aspect or any design of the first aspect, and the optical communication device described in the second aspect or any design of the second aspect.
[0050] Based on the implementations provided in the above aspects, the present application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram of an optical communication system architecture provided in an embodiment of the present application;
[0052] Figure 2 This is a schematic diagram of the FTTR network architecture;
[0053] Figure 3 This is a schematic diagram of the FTTR network frequency increase scenario;
[0054] Figure 4 This is a schematic diagram of the cycle demand of industrial scenarios;
[0055] Figure 5 This is a schematic diagram of a downstream GTC frame of a GPON system;
[0056] Figure 6 This is a schematic diagram of an uplink GTC frame of a GPON system;
[0057] Figure 7 A schematic diagram of a data frame structure provided in an embodiment of the present application;
[0058] Figure 8A schematic diagram of the structure of an optical communication device applicable to OLT provided in an embodiment of the present application;
[0059] Fig. 9 A schematic diagram of the structure of another optical communication device applicable to OLT provided in an embodiment of the present application;
[0060] Fig.10 A schematic diagram of the structure of an optical communication device suitable for ONU provided in an embodiment of the present application;
[0061] Fig.11 A schematic diagram of a flow chart of an ONU detecting a frame period provided in an embodiment of the present application;
[0062] Fig.12 A schematic diagram of another process of ONU detecting frame period provided in an embodiment of the present application;
[0063] Fig.13 A schematic diagram of a process flow of an optical communication processing method provided in an embodiment of the present application;
[0064] Fig.14 A schematic flow chart of another optical communication processing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0066] Among them, in the description of this application, unless otherwise specified, "multiple" means two or more than two. In addition, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different. It should also be noted that, unless otherwise specified, the specific description of some technical features in one embodiment can also be used to explain the corresponding technical features mentioned in other embodiments.
[0067] See also Figure 1 , which is a schematic diagram of an optical communication system architecture provided in an embodiment of the present application.
[0068] The optical communication system includes at least one optical line terminal OLT110, multiple optical network units ONU (equipment) 120 and an optical distribution network ODN130. In the present application, OLT110 is connected to the multiple ONU120 through ODN130. The optical line terminal 110 and the optical network unit 120 can communicate using a time division multiplexing (TDM) mechanism, a wavelength division multiplexing (WDM) mechanism or a TDM / WDM hybrid mechanism. Among them, the direction from OLT110 to ONU120 is defined as the downstream direction, and the direction from ONU120 to OLT110 is the upstream direction. OLT can also be called an optical head end or a local end device. ONT or ONU can also be understood as an optical terminal. ONT or ONU is the end unit of the PON system, also known as an "optical modem". In other words, OLT can realize the function of the optical head end in the present application, and ONT or ONU can realize the function of the optical terminal in the present application.
[0069] The optical communication system may be a communication network that does not require any active devices to achieve data distribution between OLT 110 and ONU 120. For example, in a specific embodiment, data distribution between OLT 110 and ONU 120 may be achieved through passive optical devices (such as optical splitters) in ODN 130. The above optical communication system may be, for example, a passive optical network (PON) system. Among them, the PON system can be, for example, a gigabit-capable PON (GPON) system, a time and wavelength division multiplexing passive optical network (TWDM-PON), a 10-gigabit passive optical network (XGPON) system, or a 10-gigabit symmetric passive optical network (XGS-PON) system, a 25-gigabit passive optical network (25-PON) system, a 50-gigabit passive optical network (50-PON) system, etc. With the emergence of new technologies in the future, the rate of the PON system may be increased to 100Gbps or even higher, so the optical communication system can also be a PON system with a higher transmission rate, which is not limited in this application.
[0070] OLT110 is usually located in a central location (e.g., a central office, CO), which can uniformly manage one or more ONU120. OLT110 can act as a medium between ONU120 and an upper network (not shown in the figure), forwarding data received from the upper network as downstream data to ONU120 through ODN130, and forwarding upstream data received from ONU120 to the upper network. ONU120 can be distributedly arranged at a user side location (e.g., a user's premises). ONU120 can be a device for communicating with OLT110 and a user. Specifically, ONU120 can act as a medium between OLT110 and the user. For example, ONU120 can forward downstream data received from OLT110 to the user, and forward data received from the user as upstream data to OLT110 through ODN130. It should be understood that an optical network terminal (ONT) is generally applied to an end user, such as an optical modem, etc., while ONU120 can be applied to an end user, or can be connected to the end user through other networks (such as Ethernet). In this application, ONU120 is used as an example for description, and ONU120 and ONT can be interchangeable.
[0071] ODN 130 may include optical fibers, optical couplers, optical splitters and / or other devices. In one embodiment, the optical fibers, optical couplers, optical splitters and / or other devices may be passive optical devices. That is, the optical fibers, optical couplers, optical splitters and / or other devices may be devices that do not require power supply to distribute data signals between OLT 110 and ONU 120. In addition, in other embodiments, ODN 130 may also include one or more active devices, such as optical amplifiers or relay devices. Figure 1 In the branching structure shown, the ODN 130 may specifically extend from the OLT 110 to multiple ONUs 120, but may also be configured into any other point-to-multipoint (such as primary splitting or multi-level splitting) or point-to-point structure.
[0072] Currently, there is a demand for the use of PON technology in more and more scenarios, such as fiber to the room (FTTR) and industrial control.
[0073] For example, see Figure 2As shown, the FTTR network includes a master ONT (which can also be used as an optical head end in the embodiment of the present application), a slave ONT (or edge ONT, i.e., edge ONT) (which can also be used as an optical terminal in the embodiment of the present application), a home optical network (or home ODN), and a cloud management platform. Among them, the master ONT is located between the central office OLT and the slave ONT, and is connected to the central office OLT through XGPON or 10GEPON, supports gigabit access to homes, and provides a fiber optic interface to connect the slave ONT. It can be understood that the master ONT has some or all of the functions of the OLT. As the center of the home network, the master ONT can achieve unified management and configuration of all slave ONTs. The slave ONT is a distributed Wi-Fi access device for the home, distributed to each room of the home, connected to the FTTR master ONT through a home optical cable, and provides Wi-Fi6 and GE ports to access various home Internet terminals. In some implementation scenarios, the main gateway uses a symmetrical network. Symmetry means that the upstream and downstream rates provided by the PON port of the master ONT are equal. At present, FTTR scenarios exclude the need for higher bandwidth (or rate), and the rate of the main gateway is increased by 25% from 2.5G to 3.11G, and it may be higher in the future. Figure 3 As shown in the figure, the main FTTR gateway, also known as the main ONT, supports a rate increased from 2.5G to 3.11G. The 2.5G main FTTR gateway includes a 2.5G bi-directional optical subassembly (BOSA), a 2.5G symmetrical PON module, and an ONT MAC. The slave FTTR gateway includes a 2.5G symmetrical BOSA and a 2.5 symmetrical PON module (which can be understood as a PON port). When the supported rate is increased, it is necessary to replace the 2.5G symmetrical BOSA with a 3G symmetrical BOSA, and replace the 2.5G symmetrical PON module with a 3G symmetrical PON module.
[0074] For example, in industrial control scenarios, there are requirements for low latency and low jitter. In addition, the White Paper on Delay-Sensitive Networks (November 2020) by the China Electronics Standardization Institute mentions isochronous traffic (cycle 50us-2ms) and periodic synchronous traffic (typical cycle 100us-2ms). Different scenarios have different cycle requirements, see Figure 4 As shown, robot control, general motion control, computer digital control, programmable logic control, and distributed control systems have different cycle requirements.
[0075] However, the current PON system uses a frame period of 125us, which cannot better adapt to different cycle requirements at a lower cost. For example, in the FTTR scenario, GPON is used to speed up, which can keep the 125us frame period and extend the frame length, which can be extended from 19440 bytes to 24300 bytes in the upstream direction. However, this method requires modification of the MAC module and PON module, which is more complex. For example, the period used in some industrial control scenarios is 100us, while the PON system uses a frame period of 125us. Generally, a single-frame multi-burst method is used, such as configuring a single frame 2burst with a period of 62.5us to carry services, but the periods are not aligned, that is, the period is less than the period required for industrial control, resulting in a waste of resources and a high complexity of data synchronization processing.
[0076] Based on this, the present application provides a data transmission method and device, which does not require modification of the MAC and DBA modules of the OLT and ONT, thereby reducing processing complexity.
[0077] Before describing the embodiments of the present application, the frame structure of the GPON system with a frame period of 125us is first introduced. The frame of the GPON system can also be called a GPON transmission convergence (GTC) frame. Figure 5 As shown, the downstream GTC frame includes a GTC header and a GTC payload. The GTC header may include a physical control block downstream (PCBd). PCBd provides OAM functions such as frame synchronization, timing, and dynamic bandwidth allocation.
[0078] Among them, see Figure 5As shown, PCBd includes a physical synchronization field (or field) (Psync), an Ident field (used to indicate a larger frame structure), a physical layer operations administration and maintenance downstream (PLOAMd) field (carrying downstream PLOAM messages, used to carry PLOAM messages), a bit interleaved parity (BIP) field (used to measure the number of errors on the link), a downstream payload length (payload length downstream, Plend) field (used to indicate the length of the bandwidth map Bwmap) and a US (upstream) BWmap (Bandwidth Map) field (each entry in the array represents the bandwidth allocated to a specific receiver). The number of entries in the mapping table is specified by the Plend field. Among them, the US BWmap field is a scalar array of an 8-byte allocation structure, each item of which represents the bandwidth mapping of a special transmission container (TransmissionCONT, T-CONT). The number of items N in the mapping array is given in the Plend field, which is mainly used for upstream bandwidth allocation. The payload portion can be composed of multiple gigabit-capable passive optical network encapsulation mode (GEM) frames of different lengths.
[0079] The physical synchronization field (Psync) is used for frame delimitation. The bit interleaved parity information carried by the BIP field covers all transmitted bytes after the previous BIP. The receiver should calculate the bit interleaved parity value of all received bytes after the previous BIP and compare it with the received BIP value to measure the number of errors on the link.
[0080] See also Figure 6As shown in the figure, it is a schematic diagram of the upstream GTC frame format. The upstream GTC frame may include upstream data transmitted by one or more ONUs to the OLT, wherein the upstream data may be transmitted through an upstream channel, which includes payload data and network control management information. The upstream data of an ONU may also be called an ONU burst. The upstream GTC frame may include an upstream physical layer overhead (Physical Layer Overhead upstream, PLOu), an upstream PLOAM (PLOAMu) field, an upstream dynamic bandwidth report (Dynamic Bandwidth Report upstream, DBRu) field, and an upstream payload (Upstream Payload) field, wherein the Upstream Payload field may be a GEM frame. The PLOu may include multiple fields, such as a preamble field, a burst delimiter field, a bit interleaved parity check (BIP) field, an ONU identification (ONU-ID) field, and an indication (Indication, Ind) field. The upstream GTC frame may also include a guard time field, which is located before the remaining fields and is used to indicate the upstream GTC frame. The PLOu combination field may indicate which ONU sends the upstream GTC frame to the OLT. For example, the Preamble field and the Delimiter field may correspond to the ONU, which may be generated according to the instruction of the OLT. The BIP field may include the bit interleaved parity information as described above, and the ONU-ID field may include the address assigned to the corresponding ONU. The Ind field may indicate the state of the ONU to the OLT, where the upstream GTC frame may be substantially real-time transmission. The DBRu field may include information related to an independent transmission container (T-CONT). The T-CONT may be used to manage the upstream bandwidth allocation in the GTC layer. The DBRu field may include two subfields, namely a dynamic bandwidth allocation (DBA) subfield and a CRC subfield. The DBA subfield may indicate a buffer data volume report, for example, it may include the traffic status of the T-CONT.
[0081] The solution provided by the embodiments of the present application is described in detail below in conjunction with the accompanying drawings.
[0082] The embodiment of the present application provides a data frame, the structure and frame length of the data frame are fixed, but the period of the data frame can be adjusted. Frame rate = frame length / frame period. In the embodiment of the present application, the frame rate can be adjusted by adjusting the frame period. The data frame provided in the embodiment of the present application can reuse the length and structure of the frame structure such as the GTC frame of the GPON protocol, or the frame structure of the XSGPON protocol, or the frame structure of the 25-PON protocol or the 50-PON protocol, and increase or decrease the frequency based on the above-mentioned frame lengths to meet different frame period / frame rate requirements in different implementation scenarios. As an example, referring to Table 1, taking the frequency increase based on the GPON protocol and the frequency reduction based on the XGSPON protocol as an example, a variety of frame period / frame rate modes are implemented.
[0083] Table 1
[0084]
[0085] As shown in Table 1, in the GPON system, various cycle modes are realized by increasing the frequency.
[0086] (1) Realizing 2.5G PON:
[0087] Frame period 125us, frame rate 2.48832Gbps, frame period Frame rate = fixed value (38880 bytes).
[0088] (2) Realization of 3G PON:
[0089] Frame period 100us, frame rate 3.1104Gbps, frame period Frame rate = fixed value (38880 bytes).
[0090] (3) Realization of 4G PON:
[0091] Frame period 80us, frame rate 3.888, frame period Frame rate = fixed value (38880 bytes).
[0092] (4) Realization of 4G PON:
[0093] Frame period 62.5, frame rate 4.97664, frame period Frame rate = fixed value (38880 bytes).
[0094] As shown in Table 1, in the XGSPON system, multiple cycle modes are achieved by reducing the frequency.
[0095] 1) Realization of 2.5G PON:
[0096] Frame period 125us, frame rate 2.48832Gbps, frame period Frame rate = fixed value (38880 bytes).
[0097] 2) Realization of 3G PON:
[0098] Frame period 400us, frame rate 3.1104Gbps, frame period Frame rate = fixed value (155520 bytes).
[0099] 3) Realization of 4G PON:
[0100] Frame period 320us, frame rate 3.888Gbps, frame period Frame rate = fixed value (155520 bytes).
[0101] 4) Realizing 5G PON:
[0102] Frame period 250us, frame rate 4.97664Gbps, frame period Frame rate = fixed value (155520 bytes).
[0103] 5) Realization of 10G PON:
[0104] Frame period 125us, frame rate 9.95328Gbps, frame period Frame rate = fixed value (155520 bytes).
[0105] Take the GPON protocol as an example. The frame period of the GTC frame in the current GPON protocol is 125us, and the frame length is 38880 bytes. By using the frequency reduction method, the frame period after frequency reduction is 100us, and the frame length is 38880. For the frame structure after frequency reduction, see Figure 7 As shown in the figure. The structure of the data frame after frequency reduction is the same as the frame structure of the GTC frame at 125us, but the frame period is reduced to 100us. With a frame period of 125us, 8,000 super frames (SF) can be transmitted per second, that is, each frame is 125us. After frequency reduction to 100us, 10,000 super frames can be transmitted per second, each frame is 100us, realizing 3G PON.
[0106] Based on the structure of the above data frame, the optical communication device and method provided by the application embodiment are described in detail as follows.
[0107] See also Figure 8 This is a schematic diagram of the structure of an optical communication device provided in an embodiment of the present application. Figure 8As shown, the optical communication device is applied in the OLT, and includes a first control module 810 and an optical module 820. The first control module 810 may be a medium access control (MAC) unit.
[0108] The MAC unit of the OLT is used to implement functions such as ONU management, dynamic bandwidth allocation (DBA), ONU registration and activation, data transmission and reception, and power detection triggering.
[0109] The MAC unit of the OLT may adopt a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0110] The optical module may also be referred to as a photoelectric converter. The optical module 820 of the OLT includes an optical transmitter and an optical receiver. The optical module 820 is used for photoelectric conversion, wherein the optical transmitter converts an electrical signal into an optical signal, transmits it to the ODN, and transmits it to the ONU through an optical fiber; the optical receiver is used to receive an optical signal from the ODN network, and converts the optical signal into a digital electrical signal, and transmits it to the first control module 810. The first control module adopts a first optical communication protocol. The first optical communication protocol may be one of the following optical communication protocols: GPON protocol, XG-PON protocol, XGS-PON protocol, XG-PON protocol, 50-PON protocol, etc. The first control module 810 supports N1 working modes. The frame length of the data frame used in the N1 working modes is the same but the frame period is different. For example, if the first optical communication protocol is the GPON protocol, the working mode of the first optical communication protocol may include at least two items in Table 2. For another example, if the first optical communication protocol is the XGSPON protocol, the working mode of the first optical communication protocol may include at least two items in Table 3. Table 2 and Table 3 are only examples and do not specifically limit the number of working modes and frame periods.
[0111] Table 2
[0112]
[0113] Table 3
[0114]
[0115] In a possible implementation, the first control module 810 is determined to be in the first working mode among the N1 working modes. Take the frame period of the data frame in the first working mode as the first frame period as an example. According to the first working mode, the first control module 810 controls the optical module 820 to use the first frame period to send a first data frame stream to the first ONT (or the first ONU), and the first data frame stream carries the first downlink data. Specifically, the first control module 810 can use the first frame period to send the first data frame stream of the electrical signal to the optical module 820, and the optical module 820 converts the first data frame stream of the electrical signal into the first data frame stream of the optical signal and sends it out.
[0116] In some possible embodiments, the first control module 810 may also control the optical module 820 to receive a second data frame stream from the first ONT (or the first ONU) using the first frame period according to the first working mode, and the second data frame stream carries the first uplink data. Specifically, the optical module 820 receives the second data frame stream of the optical signal according to the first frame period, and then converts the second data frame stream of the optical signal into a second data frame stream of the electrical signal, and sends it to the first control module 810.
[0117] In some possible implementation scenarios, the OLT supports multiple optical communication protocols. Take the OLT supporting the first optical communication protocol and the second optical communication protocol as an example. The OLT supports communication with an ONT (or ONU, and the ONU is taken as an example later) that adopts the first optical communication protocol. The OLT may include two control modules, and different control modules support different optical communication protocols, that is, support communication with ONUs that adopt different optical communication protocols.
[0118] See also Fig. 9 This is a schematic diagram of the structure of an optical communication device provided in an embodiment of the present application. Fig. 9As shown, the optical communication device is applied to the OLT. The optical communication device includes a first control module 810 and an optical module 820, and further includes a second control module 830. The first control module 810 adopts a first optical communication protocol, and the second control module 830 adopts a second optical communication protocol. The second control module 830 supports working in N2 working modes, where N2 is an integer greater than 1, and the frame length of the data frame used under the first optical communication protocol is different from the frame length of the data frame used under the second optical communication protocol. Exemplarily, the first optical communication protocol and the second optical communication protocol are respectively one of the following multiple optical communication protocols: GPON protocol, XG-PON protocol, XGS-PON protocol, XG-PON protocol, 50-PON protocol. As an example, the first optical communication protocol is the GPON protocol, and the second optical communication protocol is the XGSPON protocol, then the working mode of the first optical communication protocol may include at least two items in Table 2, and the working mode of the second optical communication protocol may include at least two items in Table 3.
[0119] In some embodiments, a wavelength division multiplexer (WDM) may be built into the optical module 820 to perform wavelength division operations. For example, the optical module 820 includes an optical receiver, an optical transmitter, and a WDM. The optical receiver is used to receive an uplink optical signal; the optical transmitter is used to transmit a downlink optical signal.
[0120] Optionally, the optical communication device may further include at least two serializers / deserializers (SERializer / DESerializer, SerDes) ( Fig. 9 Not shown), one end of the SerDes is connected to the optical module 820, and the other end is connected to the first control module 810 or the second control module 830, which are respectively used to complete the conversion between the serial data of the optical module 820 and the parallel data of the control module (the first control module or the second control module).
[0121] In one possible implementation, see Fig. 9 As shown, the optical communication device may further include a processor 840 .
[0122] The processor 840 may include one or more of a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0123] In the embodiment of the present application, the processor 840 and the control module (the first control module 810 and / or the second control module 830) can be integrated into one chip, or the corresponding functions can be implemented by different chips respectively, which is not specifically limited in the embodiment of the present application.
[0124] The processor 840 can also configure the working mode of the first control module 810. In some implementation scenarios, the processor 840 also configures the working mode of the second control module 830. Take the configuration of the working mode of the second control module 830 as the second working mode as an example. The frame period of the data frame in the second working mode is the second frame period. According to the second working mode, the second control module 830 controls the optical module 820 to use the second frame period to send the third data frame to the second ONU, and the third data frame carries the second downlink data. Here, the second ONU supports the use of the second optical communication protocol as an example. In some implementations, the second control module 830 controls the optical module 820 to use the second frame period to receive the fourth data frame stream from the second ONU according to the second working mode, and the fourth data frame stream carries the second uplink data.
[0125] In some possible implementation scenarios, the processor 840 configures the working mode of the optical module 820. For example, the optical module 820 can multiplex and transmit the downlink optical signals of different wavelengths carried by different control module signals. The optical module 820 can also transmit the uplink optical signals to different control modules according to the wavelength of the uplink optical signals.
[0126] In some possible implementation scenarios, when applied to industrial optical systems, in order to better match the industrial optical bus cycle, the frame periods of the data frames used in the N1 working modes (partial working modes or all working modes) under the first optical communication protocol can satisfy an integer multiple relationship, such as all being integer multiples of 100us. Alternatively, the frame periods of the data frames used in the N2 working modes (partial working modes or all working modes) under the second optical communication protocol can satisfy an integer multiple relationship, such as all being integer multiples of 100us. Here, only the industrial optical system is taken as an example, and it can also be applied to other scenarios that require other needs, and this application does not limit this.
[0127] The following is a detailed description of the process of matching the working mode of the optical terminal. Take the optical terminal as an ONU as an example. Fig.10 As shown, it is an optical communication device applied to ONU. The optical communication device includes a control module 1010 and an optical module 1020. The control module supports the first optical communication protocol. The control module supports working in N1 working modes (first optical communication protocol); the frame length of the data frame used in the N1 working modes is the same and the frame period of the data frame is different. The optical module 1020 receives an optical signal from the optical head end, and the optical signal carries the first data frame stream. The function of the control module 1010 is similar to that of the control module in the OLT, see the above, and will not be repeated here. The function of the optical module 1020 is similar to that of the optical module in the OLT, see the above, and will not be repeated here. The optical module 1020 receives an optical signal from the OLT, and the optical signal carries the first data frame stream. The control module 1010 detects the physical layer synchronization information (such as the Psync field) of the first data frame stream to determine that the first data frame stream adopts the first frame period; the first frame period corresponds to the first working mode in the N1 working modes; the control module 1010 works in the first working mode to process the first data frame stream.
[0128] In some possible implementations, when the control module 1010 detects the physical layer synchronization information (such as the Psync field) of the first data frame stream to determine the frame period used by the first data frame stream, it can be performed by traversing the frame periods of N1 working modes. The physical layer synchronization information of the first data frame stream is detected according to the frame period corresponding to the traversed i-th working mode. When the detection is successful and the frame synchronization is completed, the frame period of the first data frame stream is determined to be the frame period of the i-th working mode; or, when the detection fails, the frame period corresponding to the i+1-th working mode continues to be traversed, and the value of i is a positive integer less than N1.
[0129] See also Fig.11As shown, frame cycle 1 is traversed, and frame cycle 1 is used to detect the physical layer synchronization information of the first data frame stream. If frame synchronization is completed, frame cycle 1 is determined to be the frame cycle of the first data frame stream, and the traversal is stopped. If the detection fails, that is, the frame synchronization fails, frame cycle 2 is continued to be traversed. That is, frame cycle 2 is used to detect the physical layer synchronization information of the first data frame stream. In some embodiments, when frame synchronization is still not completed after traversing the frame cycles of N1 working modes, the next round of traversal can be continued.
[0130] Based on the above GPON downstream GTC frame structure, the frame period is 100us as an example. The Psync field appears once every 100us, and the ONU obtains downstream frame synchronization by searching for Psync. The ONU starts in the search state. In the search state, the ONU searches the Psync field bit by bit and byte by byte. Once a correct Psync is found, the ONU enters the pre-synchronization state and sets the counter N=1. Then the ONU searches for the next Psync every 100us. Every time a correct Psync is found, the counter value increases by 1. If an incorrect Psync is found, the ONU returns to the search state. In the pre-synchronization state, if the counter value is M1, that is, there is no loss of signal (LOS) / loss of frame (LOF) alarm, the ONU enters the synchronization state, that is, the frame synchronization is completed. Once in the synchronization state, the ONU starts to process PCBd information.
[0131] The above description is from the perspective that the ONU adopts an optical communication protocol. In some possible implementation scenarios, the ONU supports multiple optical communication protocols. It can be understood that the control module 1010 supports multiple optical communication protocols. In this case, the control module can traverse multiple working modes of multiple communication protocols. As an example, the control module supports working in N1 working modes of the first optical communication protocol, and the control module also supports working in N2 working modes of the second optical communication protocol. The frame length of the data frame used in the first optical communication protocol is different from the frame length of the data frame used in the second optical communication protocol. The control module 1010 works in the first optical communication protocol to traverse the frame period of the N1 working mode of the first optical communication protocol; when the frame period of the N1 working mode of the first optical communication protocol is traversed and the frame synchronization is not completed, it switches to work in the second optical communication protocol to continue to traverse the frame period of the N2 working modes of the second optical communication protocol to determine the frame period used by the first data frame flow.
[0132] Through the above solution, when the OLT is configured with a certain working mode, the ONU can adaptively work in the working mode.
[0133] See also Fig.12As shown, ONU supports GPON protocol and XGSPON protocol as an example. GPON protocol includes 4 working modules, see working mode 1 to working mode 4 in Table 2. XGSPON protocol includes 5 working modules, see working mode 1 to working mode 5 in Table 3.
[0134] The control module 1010 first traverses the four working modes under the GPON protocol. First, a frame period of 125us is used to perform frame synchronization operation. If frame synchronization is completed, the frame period is determined to be 125us. If frame synchronization is not completed, the frame period of 100us is continued to be traversed. If frame synchronization is completed, the frame period is determined to be 100us. If frame synchronization is not completed, the frame period of 80us is continued to be traversed, and so on. If the frame period of 62.5us of working mode 4 under the GPON protocol also fails to complete frame synchronization, the control module 1010 can continue to traverse the five working modes under the XGSPON protocol. For details, see Fig.12 In some possible implementation scenarios, if frame synchronization is not completed after traversing the five working modes under the XGSPON protocol, the next round of optical communication protocol traversal can be continued, that is, the four working modes under the GPON protocol are continued to be traversed.
[0135] In some possible implementation scenarios, the execution time of the frame synchronization operation may also be configured, for example, 1 second. If the frame synchronization is not completed within 1 second, the frame period of the next working mode is switched to continue traversal.
[0136] Based on the above embodiments, the optical communication processing method provided by the embodiments of the present application is described as follows.
[0137] For example, both the OLT and the ONU use an optical communication protocol. The optical communication protocol may be configured by the network management, or may be an optical communication protocol that the ONU and the OLT only support, or may be an optical communication protocol required in the application scenario.
[0138] See also Fig.13 As shown, it is a schematic flow chart of the optical communication processing method provided in an embodiment of the present application.
[0139] S1301: The OLT determines that it is in the first working mode among N1 working modes. The description of the N1 working modes is as described above and will not be repeated here.
[0140] S1302: The OLT sends a first data frame stream to a first ONU in a first frame period according to a first working mode, where the first data frame stream carries first downlink data.
[0141] Further, the first ONU executes the following S1303 - S1305 .
[0142] S1303, the first ONU receives a first data frame stream from the OLT. Further, the first ONU detects physical layer synchronization information of the first data frame stream to determine that the first data frame stream adopts a first frame period; the first frame period corresponds to the first working mode of the N1 working modes. For example, a traversal method can be adopted, see S1304.
[0143] S1304, the first ONU traverses the frame periods of N1 working modes to detect the physical layer synchronization information of the first data frame stream to perform a frame synchronization operation, and completes the frame synchronization when traversing to the first frame period of the first working mode among the N1 working modes.
[0144] Specifically, the first ONU traverses the frame periods of N1 working modes, traverses the frame period of the i-th working mode to detect the physical layer synchronization information of the first data frame stream, and when the frame synchronization is completed, determines that the frame period of the first data frame stream is the frame period of the i-th working mode, and stops traversing; or, when the frame synchronization is not completed, continues to traverse the frame period corresponding to the i+1-th working mode, and the value of i is a positive integer less than N1.
[0145] The specific traversal method is as described above and will not be repeated here.
[0146] S1305: The first ONU operates in a first working mode to process the first data frame flow.
[0147] For example, OLT and ONU can also support multiple optical communication protocols.
[0148] See also Fig.14 As shown, it is a schematic flow chart of the optical communication processing method provided in an embodiment of the present application. Fig.14 In the example, the OLT and ONU support the first optical communication protocol and the second optical communication protocol.
[0149] S1401, the OLT determines that it is in a first working mode among N1 working modes under a first optical communication protocol. The description of the N1 working modes is as described above and will not be repeated here.
[0150] S1402: The OLT sends a first data frame stream to a first ONU in a first frame period according to a first working mode, where the first data frame stream carries first downlink data.
[0151] Further, the first ONU executes the following S1403-S1405.
[0152] S1403, the first ONU receives a first data frame stream from the OLT. Further, the first ONU detects physical layer synchronization information of the first data frame stream to determine that the first data frame stream adopts a first frame period; the first frame period corresponds to the first working mode among the N1 working modes. For example, a traversal method can be adopted, see S1404.
[0153] S1404, the first ONU traverses the frame periods of each working mode under the first communication protocol and the second communication protocol to detect the physical layer synchronization information of the first data frame stream to perform a frame synchronization operation, and completes the frame synchronization when traversing to the first frame period of the first working mode among the N1 working modes.
[0154] The specific traversal method is as described above and will not be repeated here.
[0155] S1405: The first ONU operates in a first working mode to process a first data frame stream.
[0156] The relevant descriptions in the steps executed by the above OLT and ONU can also be found above and will not be repeated here.
[0157] An embodiment of the present application provides a passive optical network system PON, including an optical line terminal OLT, an optical distribution network ODN and at least one optical network unit ONU, wherein the ONU supports at least one optical communication protocol, and the optical line terminal OLT is connected to the at least one optical network unit ONU through the optical distribution network ODN, wherein the optical line terminal may be the optical head end or OLT as described above, and the optical network unit may be the optical terminal or ONU as described above.
[0158] Those of ordinary skill in the art will appreciate that the various aspects of the present application, or the possible implementations of the various aspects, can be specifically implemented as a system, method or computer program product. Therefore, the various aspects of the present application, or the possible implementations of the various aspects, can adopt the form of a complete hardware embodiment, a complete software embodiment (including firmware, resident software, etc.), or a combination of software and hardware embodiments, all collectively referred to as "circuit", "module" or "system" here. In addition, the various aspects of the present application, or the possible implementations of the various aspects, can adopt the form of a computer program product, which refers to a computer-readable program code stored in a computer-readable medium.
[0159] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium includes but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or apparatuses, or any suitable combination of the foregoing, such as random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
[0160] The processor in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or the combination of steps in the flowchart; and generate a device for implementing the functional actions specified in each block or the combination of blocks in the block diagram.
[0161] Computer readable program code can be executed completely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. It should also be noted that in some alternative embodiments, the functions noted in each step in the flow chart or each block in the block diagram may not occur in the order noted in the figure. For example, depending on the function involved, two steps or two blocks shown in succession may actually be performed roughly simultaneously, or these blocks may sometimes be performed in reverse order.
[0162] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0163] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. An optical communication device, characterized in that: Applied to an optical head end, the device comprises a first control module and an optical module; The first control module is used to determine a first working mode among N1 working modes, where N1 is an integer greater than 1; the frame lengths of the data frames used in the N1 working modes are the same and the frame periods of the data frames are different; The frame period of the data frame in the first working mode is a first frame period; The first control module is further used to control the optical module to use the first frame period to send a first data frame stream to the first optical terminal according to the first working mode, and the first data frame stream carries first downlink data.
2. The device according to claim 1, characterized in that The first control module is further used to control the optical module to receive a second data frame stream from the first optical terminal using the first frame period according to the first working mode, wherein the second data frame stream carries first uplink data.
3. The device according to claim 1, characterized in that The device also includes a second control module, the first control module adopts a first optical communication protocol, the second control module adopts a second optical communication protocol, the second control module supports working in N2 working modes, N2 is an integer greater than 1, and the frame length of the data frame used under the first optical communication protocol is different from the frame length of the data frame used under the second optical communication protocol.
4. The device according to claim 3, characterized in that The first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
5. The device according to claim 3, characterized in that Also includes a processor; The processor is used to configure the first control module to be in a first working mode among N1 working modes.
6. The device according to claim 5, characterized in that The processor is further used to configure the second control module to be in a second working mode among the N2 working modes; the frame period of the data frame in the second working mode is a second frame period; The second control module is used to control the optical module to use the second frame period to send a third data frame stream to the second optical terminal according to the second working mode, and the third data frame stream carries the second downlink data.
7. The device according to claim 6, characterized in that The second control module is further used to control the optical module to receive a fourth data frame from the second optical terminal using the second frame period according to the second working mode, and the fourth data frame carries second uplink data.
8. The device according to any one of claims 1 to 5, characterized in that: The frame periods of the data frames used in the N1 working modes satisfy an integer multiple relationship.
9. The device according to any one of claims 1 to 5, characterized in that: The first frame period is 100us, 125us, 80us, 62.5us, 250us, 320us, 400us or 500us.
10. An optical communication device, characterized in that: Applied to an optical terminal, the device comprises a control module and an optical module, the control module supports working in N1 working modes; the frame lengths of the data frames used in the N1 working modes are the same and the frame periods of the data frames are different; The optical module is used to receive an optical signal from an optical head end, wherein the optical signal carries a first data frame stream; The control module is used to detect the physical layer synchronization information of the first data frame stream to determine that the first data frame stream adopts a first frame period; The first frame period corresponds to a first operating mode among the N1 operating modes; The control module is further configured to process the first data frame flow in the first working mode.
11. The device according to claim 10, characterized in that The control module is specifically used to traverse the frame periods of the N1 working modes: Detecting the physical layer synchronization information of the first data frame stream according to the frame period corresponding to the traversed i-th working mode to perform a frame synchronization operation; When frame synchronization is completed, the frame period of the first data frame stream is determined to be the frame period of the i-th working mode, and the traversal is stopped; or, when frame synchronization is not completed, the frame period corresponding to the i+1-th working mode continues to be traversed, and the value of i is a positive integer less than N1.
12. The device according to claim 11, characterized in that The control module supports working in N1 working modes of a first optical communication protocol, and the control module also supports working in N2 working modes of a second optical communication protocol. The frame length of the data frame used in the first optical communication protocol is different from the frame length of the data frame used in the second optical communication protocol.
13. The device according to claim 12, characterized in that The first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
14. The device according to claim 12, characterized in that The control module is specifically used for: Working under a first optical communication protocol to traverse frame periods of N1 working modes of the first optical communication protocol; When frame synchronization is not completed after traversing the frame periods of N1 working modes of the first optical communication protocol, switch to working under the second optical communication protocol to continue traversing the frame periods of N2 working modes of the second optical communication protocol to determine the frame period adopted by the first data frame stream.
15. The device according to any one of claims 10 to 14, characterized in that: The control module is also used for: The control module is also used to send a second data frame stream to the optical head end when working in the first working mode.
16. An optical communication system, characterized in that: It comprises the optical communication device as claimed in any one of claims 1 to 9, and the optical communication device as claimed in any one of claims 10 to 15.
17. A method for processing optical communication, characterized in that: Applied to an optical head end, the method comprises: Determine in a first working mode among N1 working modes, N1 is an integer greater than 1; the frame lengths of the data frames used in the N1 working modes are the same and the frame periods of the data frames are different; The frame period of the data frame in the first working mode is a first frame period; According to the first working mode, the first frame period is adopted to send a first data frame stream to the first optical terminal, and the first data frame stream carries first downlink data.
18. The method according to claim 17, characterized in that The method further comprises: According to the first working mode, the first frame period is used to receive a second data frame stream from the first optical terminal, and the second data frame stream carries first uplink data.
19. The method according to claim 17, characterized in that The optical head end supports a first optical communication protocol and a second optical communication protocol. The first optical communication protocol includes the N1 working modes, and the second optical communication protocol includes N2 working modes. N2 is an integer greater than 1, and the frame length of the data frame used under the first optical communication protocol is different from the frame length of the data frame used under the second optical communication protocol.
20. The method of claim 19, wherein: The first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
21. The method according to any one of claims 17 to 20, characterized in that: The frame periods of the data frames used in the N1 working modes satisfy an integer multiple relationship.
22. The method according to any one of claims 17 to 20, characterized in that: The first frame period is 100us, 125us, 80us, 62.5us, 250us, 320us, 400us or 500us.
23. A method for processing optical communication, characterized in that: Applied to an optical terminal, the optical terminal supports working in N1 working modes; the frame lengths of data frames used in the N1 working modes are the same and the frame periods of the data frames are different; the method comprises: Receiving a first data frame stream from an optical head end; Detecting physical layer synchronization information of the first data frame stream to determine that the first data frame stream adopts a first frame period; the first frame period corresponds to a first working mode among the N1 working modes; Working in a first working mode, the first data frame stream is processed.
24. The method of claim 23, wherein: Detecting physical layer synchronization information of the first data frame stream to determine that the first data frame stream uses a first frame period includes: Traverse the frame periods of the N1 working modes: Detecting the physical layer synchronization information of the first data frame stream according to the frame period corresponding to the traversed i-th working mode to perform a frame synchronization operation; When frame synchronization is completed, the frame period of the first data frame stream is determined to be the frame period of the i-th working mode, and the traversal is stopped; or, when frame synchronization is not completed, the frame period corresponding to the i+1-th working mode continues to be traversed, and the value of i is a positive integer less than N1.
25. The method of claim 24, wherein: The optical head end also supports working in N2 working modes of the second optical communication protocol, and the frame length of the data frame used in the first optical communication protocol is different from the frame length of the data frame used in the second optical communication protocol.
26. The method of claim 25, wherein: The first optical communication protocol and the second optical communication protocol are respectively one of the following optical communication protocols: Gigabit Passive Optical Network GPON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 10 Gigabit Symmetric Passive Optical Network XGS-PON protocol, 10 Gigabit Passive Optical Network XG-PON protocol, 50 Gigabit Passive Optical Network 50-PON protocol; the first optical communication protocol and the second optical communication protocol are two different protocols.
27. The method of claim 25, wherein: Detecting physical layer synchronization information of the first data frame stream to determine that the first data frame stream uses a first frame period includes: Working under a first optical communication protocol to traverse frame periods of N1 working modes of the first optical communication protocol; When frame synchronization is not completed after traversing the frame periods of N1 working modes of the first optical communication protocol, switch to working under the second optical communication protocol to continue traversing the frame periods of N2 working modes of the second optical communication protocol to determine the frame period adopted by the first data frame stream.
28. The method according to any one of claims 23 to 26, characterized in that Also includes: Working in the first working mode, a second data frame stream is sent to the optical head end.
Citation Information
Patent Citations
Uplink bandwidth management method and device in optical communication system
CN102075825A
LR-EPON communication system and communication method based on LR-EPON communication system
CN106656447A