Gateway bandwidth self-adaption method, main gateway, sub-gateway and system
By implementing the gateway bandwidth adaptation method in the main gateway, dynamically switching bandwidth according to the uplink bandwidth requirements of the subgateway, the problem of insufficient uplink bandwidth in the GPON protocol standard is solved, and the subgateway uplink capability is improved without adjusting the uplink optical path environment of the main gateway.
Patent Information
- Application Number
- CN202411851586.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-16
AI Technical Summary
In the prior art, the bandwidth mode of the GPON protocol standard cannot fully meet the application of high upstream demand, such as high-definition live broadcast, cloud computing, big data and the Internet of Things, resulting in insufficient upstream bandwidth.
By implementing the gateway bandwidth adaptation method in the main gateway, the subgateway PON port is used to obtain whether the average traffic of the subgateway PON port is greater than the preset threshold. If so, a mode flag position notification message is sent to allow the subgateway to switch bandwidth, thereby improving uplink capability.
Without adjusting the uplink optical path environment of the main gateway, the uplink capability of the sub-gateway is improved to meet the high uplink bandwidth requirements, and solve the problem of insufficient bandwidth mode in the existing technology.
Smart Images

Figure CN119697035A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical fiber communication technology, and in particular to a gateway bandwidth adaptation method, a main gateway, a sub-gateway and a system. Background Art
[0002] At present, the mainstream bandwidth configuration of the main gateway in the industry is the physical layer bandwidth of 2.5G upstream and 10G downstream. The main and sub-gateways interact through the GPON (Gigabit Passive Optical Network) protocol. All sub-gateways share the bandwidth of 1.25G upstream and 2.5G downstream. The theoretical bandwidth of upstream is smaller than that of downstream. This is consistent with the client and server interaction model designed at the beginning of the confirmation of the GPON protocol standard.
[0003] However, with the rise of applications with high uplink demand, such as high-definition live broadcast, cloud computing, big data, and the Internet of Things, there has been a large demand for uplink bandwidth to be greater than downlink bandwidth, and the existing bandwidth model can no longer fully meet business needs. Summary of the invention
[0004] The present application provides a gateway bandwidth adaptation method, a main gateway, a sub-gateway and a system, which can solve the technical problem in the prior art that the current bandwidth mode cannot fully meet the business needs.
[0005] In a first aspect, the present application provides a gateway bandwidth adaptation method, applicable to a primary gateway, the method comprising:
[0006] When the average flow of a PON port of a sub-gateway is greater than a preset flow threshold value for consecutive preset times, a mode flag position notification message is sent to the sub-gateway so that the sub-gateway can read and switch bandwidth when registering.
[0007] In combination with the first aspect, in one implementation, after sending a mode flag position notification message to the sub-gateway, the method further includes:
[0008] If it is detected that the increase in the traffic of the PON port of the sub-gateway is less than the preset increase threshold within the preset time period, a offline message is sent to the sub-gateway;
[0009] The above preset duration is greater than the total duration obtained by the consecutive preset times.
[0010] In combination with the first aspect, in one implementation, the average flow of each sub-gateway PON port is obtained once every preset time period;
[0011] The above traffic threshold is a preset percentage of the uplink bandwidth before the sub-gateway switches the bandwidth.
[0012] In a second aspect, the present application provides a main gateway for implementing the above-mentioned gateway bandwidth adaptation method, which includes:
[0013] An acquisition module is used to obtain the average flow of each sub-gateway PON port;
[0014] The bandwidth adaptation module is used to send a mode flag position notification message to a sub-gateway when the average flow of a sub-gateway PON port is greater than a preset flow threshold value for a consecutive preset number of times, so that the sub-gateway can read and switch the bandwidth when registering.
[0015] In a third aspect, the present application provides a gateway bandwidth adaptation method, applicable to a sub-gateway, the method comprising:
[0016] After receiving the mode flag setting notification message from the main gateway, the mode flag is set to the position;
[0017] When registration is started, the current mode flag is read, and when the mode flag is in the set state, the upstream small bandwidth is switched to the upstream large bandwidth, and the downstream large bandwidth is switched to the downstream small bandwidth.
[0018] In combination with the third aspect, in one implementation, when the mode flag is in a set state, the method further includes:
[0019] Switch its own SerDes working mode and complete the adaptive configuration of PON MAC layer initialization under the new SerDes working mode;
[0020] Receive the downlink light with small bandwidth broadcasted by the main gateway, and complete the adaptive configuration of network parameters according to the information carried by the downlink light;
[0021] The uplink wavelength with large bandwidth is used as the carrier to send a packet to reply to the serial number request message of the main gateway and obtain the ONU-ID, and complete the registration interaction with the main gateway.
[0022] In combination with the third aspect, in one implementation, the above-mentioned switching of the uplink small bandwidth to the uplink large bandwidth, and the switching of the downlink large bandwidth to the downlink small bandwidth, includes:
[0023] Switch the upstream 1.25G and downstream 2.5G bandwidth to the upstream 2.5G and downstream 1.25G bandwidth; or,
[0024] Switch the upstream 2.5G and downstream 10G bandwidth to the upstream 10G and downstream 2.5G bandwidth.
[0025] In combination with the third aspect, in one implementation, after setting the mode flag, the method further includes:
[0026] When receiving the offline message from the main gateway, restart the registration; or,
[0027] When the scheduled restart time is reached, restart and restart registration.
[0028] In a fourth aspect, the present application provides a sub-gateway for implementing the above-mentioned gateway bandwidth adaptation method, which includes:
[0029] A setting module, which is used to set the mode flag to the position after receiving a mode flag setting notification message from the main gateway;
[0030] The switching module is used to read the current mode flag when starting registration, and when the mode flag is in a set state, switch the upstream small bandwidth to the upstream large bandwidth, and switch the downstream large bandwidth to the downstream small bandwidth.
[0031] In a fifth aspect, the present application provides a gateway bandwidth adaptation system, which includes the above-mentioned main gateway and at least one of the above-mentioned sub-gateways.
[0032] The beneficial effects of the technical solution provided by this application include:
[0033] When the average flow of a certain sub-gateway PON port is greater than a preset flow threshold for a consecutive preset number of times, a mode flag position notification message is sent to the sub-gateway so that the sub-gateway can read and switch the bandwidth when registering. This improves the uplink capacity of the sub-gateway without adjusting the uplink optical path environment of the main gateway, and solves the technical problem in the related technology that the current bandwidth mode cannot fully meet the business needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a flow chart of an embodiment of a gateway bandwidth adaptation method of the present application;
[0035] Figure 2 This is a schematic diagram of the architecture of an embodiment of the gateway bandwidth adaptation system of the present application;
[0036] Figure 3 for Figure 1 Schematic diagram of the process of step S20. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] In a first aspect, an embodiment of the present application provides a gateway bandwidth adaptation method, which is applicable to a primary gateway. The gateway bandwidth adaptation method includes:
[0039] When the average flow of a PON port of a sub-gateway is greater than a preset flow threshold value for consecutive preset times, a mode flag position notification message is sent to the sub-gateway so that the sub-gateway can read and switch bandwidth when registering.
[0040] In this embodiment, when the main gateway obtains the average flow of the first sub-gateway PON port for a preset number of consecutive times that is greater than the preset flow threshold, it indicates that the uplink bandwidth demand of the first sub-gateway is relatively high, and a mode flag position notification message can be sent to the first sub-gateway; if the average flow of the PON ports of other sub-gateways is less than or equal to the preset flow threshold, there is no need to send notification messages to other sub-gateways.
[0041] In this embodiment, when the average flow of a certain sub-gateway PON port is greater than a preset flow threshold value for a consecutive preset number of times, a mode flag position notification message is sent to the sub-gateway, so that the sub-gateway can read and switch the bandwidth when registering, thereby improving the uplink capacity of the sub-gateway without adjusting the uplink optical path environment of the main gateway, and solving the technical problem that the current bandwidth mode in the related technology cannot fully meet the business needs.
[0042] It is understandable that the continuous increase in bandwidth demand for high-speed uplink services requires that the redundant CPU, cache, queue and other resources of downlink bandwidth be tilted toward the uplink direction. If the uplink bandwidth is always smaller than the downlink bandwidth, and the uplink and downlink bandwidth configuration is continuously increased to meet business needs, hardware bottlenecks will inevitably be encountered.
[0043] Since the GPON protocol standard has a fixed rate of 8,000 frames per second for both upstream and downstream, different bandwidths are essentially different encapsulated GTC frame lengths. Therefore, in the absence of a rate bottleneck in the physical medium, the GTC frame length can be customized through negotiation, that is, the upstream bandwidth is larger than the downstream bandwidth, which is technically feasible. The wavelength division multiplexing technology in the optical fiber network can realize the simultaneous transmission of multiple wavelength signals on a single fiber, thereby ensuring that sub-gateways with different PON Modes under the main gateway can communicate freely. In addition, the bandwidth configuration between the main and sub-gateways is a private implementation of the FTTR (Fiber To The Room) manufacturer, and does not involve compatibility docking with various OLT manufacturers. It only needs to ensure the intercommunication between the main and sub-gateways.
[0044] Further, in one embodiment, after sending the mode flag position notification message to the sub-gateway, the method further includes:
[0045] If it is detected that the increase in the traffic at the PON port of the sub-gateway is less than a preset increase threshold within a preset time period, a logoff message is sent to the sub-gateway.
[0046] Optionally, the preset duration is greater than the total duration obtained for a preset number of consecutive times.
[0047] Optionally, the preset duration is 30 minutes, and the total duration obtained by the consecutive preset times is 15 minutes.
[0048] In this embodiment, for a sub-gateway that needs to switch PON Mode, if the main gateway detects that the increase in its PON port traffic within 30 minutes is less than the preset increase threshold, it is considered that the sub-gateway is not currently running any business, and the main gateway can send a Deactive message to allow the sub-gateway to restart registration.
[0049] Furthermore, in one embodiment, the main gateway obtains the average flow of each sub-gateway PON port once every preset time period; and the above-mentioned flow threshold is a preset percentage of the uplink bandwidth before the sub-gateway switches the bandwidth.
[0050] Optionally, the preset time period is 5 minutes, and each time the average flow is obtained, it can be compared with the flow threshold. Optionally, the flow threshold is 70% of the uplink small bandwidth.
[0051] In this embodiment, the main gateway polls and detects the traffic statistics of the PON port of the sub-gateway. If the average traffic of the PON port of the sub-gateway obtained by the main gateway for three consecutive times is greater than the above-mentioned traffic threshold, it is determined that the sub-gateway has a high demand for uplink services and needs to switch the PON Mode, and notifies the sub-gateway to set its mode flag PON Mode Flag through a private OMCI (ONU Management and Control Interface) message, so that the sub-gateway can obtain it when registering next time to automatically complete the uplink and downlink bandwidth switching.
[0052] In a second aspect, an embodiment of the present application provides a main gateway for implementing the above-mentioned gateway bandwidth adaptation method, and the main gateway includes an acquisition module and a bandwidth adaptation module.
[0053] The acquisition module is used to obtain the average flow of each sub-gateway PON port.
[0054] The bandwidth adaptation module is used to send a mode flag position notification message to a sub-gateway when the average flow of a sub-gateway PON port is greater than a preset flow threshold for consecutive preset times, so that the sub-gateway can read and switch bandwidth when registering.
[0055] Furthermore, in one embodiment, the bandwidth adaptation module is further used to:
[0056] If it is detected that the increase in the traffic of the PON port of the sub-gateway is less than the preset increase threshold within the preset time period, a offline message is sent to the sub-gateway;
[0057] Optionally, the preset duration is greater than the total duration obtained for a preset number of consecutive times.
[0058] Furthermore, in one embodiment, the acquisition module is used to:
[0059] Get the average traffic of each sub-gateway PON port once every preset time period;
[0060] The above traffic threshold is a preset percentage of the uplink bandwidth before the sub-gateway switches the bandwidth.
[0061] Among them, the functional implementation of each module of the above-mentioned main gateway corresponds to each step in the above-mentioned gateway bandwidth adaptation method embodiment, and its functions and implementation processes are no longer repeated here.
[0062] In a third aspect, an embodiment of the present application further provides a gateway bandwidth adaptation method applicable to a sub-gateway.
[0063] like Figure 1 As shown, the gateway bandwidth adaptation method includes the steps of:
[0064] S10. After receiving the mode flag position notification message from the main gateway, the mode flag is set;
[0065] S20. When registration is started, the current mode flag is read, and when the mode flag is in the set state, the upstream small bandwidth is switched to the upstream large bandwidth, and the downstream large bandwidth is switched to the downstream small bandwidth.
[0066] In this embodiment, by automatically completing the switching from the upstream small bandwidth to the upstream large bandwidth and the downstream large bandwidth to the downstream small bandwidth according to the mode flag when starting registration, the upstream capacity of the sub-gateway is improved without adjusting the upstream optical path environment of the main gateway.
[0067] Furthermore, in one embodiment, when the mode flag is in a set state, the method further includes:
[0068] First, the SerDes (Serializer-Deserializer) operating mode is switched, and the adaptive configuration of the PON MAC (Medium Access Control) layer initialization in the new SerDes operating mode is completed.
[0069] Then, it receives the downlink light with a small bandwidth broadcasted by the main gateway, and completes the adaptive configuration of network parameters according to the information carried by the downlink light;
[0070] Finally, the uplink large bandwidth wavelength is used as the carrier to send a packet to reply to the serial number request message of the main gateway and obtain the ONU (Optical Network Unit, optical network unit)-ID, and complete the registration interaction with the main gateway.
[0071] In this embodiment, when the sub-gateway starts registration, if the mode flag PON Mode Flag changes, the sub-gateway switches its own SerDes working mode, and after completing the PON MAC layer adaptive detection, receives the downstream light of another wavelength broadcast by the main gateway to complete the network parameter adaptive configuration; and after the main gateway sends a serial number request Serial-NumberRequest message, the sub-gateway reports the serial number SN with the new upstream wavelength and completes the registration interaction with the main gateway.
[0072] Further, in one embodiment, in the above step S20, switching the uplink small bandwidth to the uplink large bandwidth, and switching the downlink large bandwidth to the downlink small bandwidth, includes:
[0073] Switch the upstream 1.25G and downstream 2.5G bandwidth to the upstream 2.5G and downstream 1.25G bandwidth; or,
[0074] Switch the upstream 2.5G and downstream 10G bandwidth to the upstream 10G and downstream 2.5G bandwidth.
[0075] In this embodiment, the above-mentioned switching of the small upstream bandwidth to the large upstream bandwidth and the switching of the large downstream bandwidth to the small downstream bandwidth is specifically as follows:
[0076] The bandwidth is switched from 1.25G upstream and 2.5G downstream to 2.5G upstream and 1.25G downstream.
[0077] In this embodiment, the newly added PON Mode upstream 2.5G / downstream 1.25G interactive wavelength can be designed by the FTTR manufacturer itself and maintained as an industry standard as much as possible.
[0078] Optionally, the standard GPON (upstream 1.25G / downstream 2.5G) upstream wavelength is 1310nm, and the downstream wavelength is 1490nm; the newly added bandwidth (upstream 2.5G / downstream 1.25G) upstream wavelength can be 1270nm, and the downstream wavelength can be 1577nm, that is, the wavelength standard of the passive optical network xGPON is borrowed. In other embodiments, the design can also be set to other wavelengths.
[0079] Correspondingly, if the bandwidth configuration of the main gateway develops into 10G upstream / 50G downstream in the later stage, the bandwidth adaptation between the master and the slave can also be two bandwidth options: 2.5G upstream / 10G downstream and 10G upstream / 2.5G downstream.
[0080] In this embodiment, upstream 2.5G / downlink 1.25G means: an upstream rate of 2.5Gbps and a downstream rate of 1.25Gbps, upstream 1.25G / downlink 2.5G means: an upstream rate of 1.25Gbps and a downstream rate of 2.5Gbps; by analogy, upstream 2.5G / downlink 10G means: an upstream rate of 2.5Gbps and a downstream rate of 10Gbps; upstream 10G / downlink 2.5G means: an upstream rate of 10Gbps and a downstream rate of 2.5Gbps.
[0081] Furthermore, in one embodiment, in the above step S10, after setting the mode flag, the following step is further included:
[0082] When receiving the offline message sent by the main gateway, restart the registration; or when the scheduled restart time is reached, restart and restart the registration.
[0083] In this embodiment, when the sub-gateway receives the offline message of the main gateway, it can restart the registration; in other embodiments, the sub-gateway can also be set to automatically restart at a scheduled time to achieve the effect of active re-registration of the sub-gateway.
[0084] Optionally, after the sub-gateway automatically completes the uplink and downlink bandwidth switching according to the read mode flag, if it is detected for multiple times that the traffic of the sub-gateway PON port is small, it can be considered to switch back to the uplink small bandwidth and downlink large bandwidth mode.
[0085] In a fourth aspect, an embodiment of the present application further provides a sub-gateway for implementing the above-mentioned gateway bandwidth adaptation method, and the sub-gateway includes a setting module and a switching module.
[0086] The above-mentioned setting module is used to set the mode flag after receiving the mode flag setting notification message from the main gateway.
[0087] The switching module is used to read the current mode flag when starting registration, and when the mode flag is in a set state, switch the upstream small bandwidth to the upstream large bandwidth, and switch the downstream large bandwidth to the downstream small bandwidth.
[0088] Furthermore, in one embodiment, the switching module is also used for:
[0089] When the mode flag is in the set state, the SerDes operating mode is switched to the original one, and the adaptive configuration of the PON MAC layer initialization in the new SerDes operating mode is completed;
[0090] Receive the downlink light with small bandwidth broadcasted by the main gateway, and complete the adaptive configuration of network parameters according to the information carried by the downlink light;
[0091] The uplink wavelength with large bandwidth is used as the carrier to send a packet to reply to the serial number request message of the main gateway and obtain the ONU-ID, and complete the registration interaction with the main gateway.
[0092] Furthermore, in one embodiment, the switching module is used to:
[0093] Switch the upstream 1.25G and downstream 2.5G bandwidth to the upstream 2.5G and downstream 1.25G bandwidth; or,
[0094] Switch the upstream 2.5G and downstream 10G bandwidth to the upstream 10G and downstream 2.5G bandwidth.
[0095] Furthermore, in one embodiment, the above-mentioned setting module is also used for:
[0096] After the mode flag is set, when an offline message is received from the main gateway, the registration is restarted; or, when the scheduled restart time is reached, the system restarts and restarts the registration.
[0097] The functional implementation of each module of the above-mentioned sub-gateway corresponds to each step in the above-mentioned gateway bandwidth adaptation method embodiment, and its functions and implementation processes are not described one by one here.
[0098] In a fifth aspect, the embodiment of the present application also provides a gateway bandwidth adaptive system, such as Figure 2 As shown, the gateway bandwidth adaptive system includes the above-mentioned main gateway and at least one of the above-mentioned sub-gateways.
[0099] Optionally, the mature hardware solution of OLT (Optical Line Terminal) in the industry is adopted for the main gateway mini OLT, and one downlink PON port integrates two PON MACs and two downlink wavelengths. Among them, the downlink PON port of the main gateway is connected to the sub-gateway through optical fiber, and assumes the function of OLT for the sub-gateway.
[0100] Optionally, the sub-gateway adopts the bi-directional optical sub-assembly (bosa) commonly used in the industry ONU, and controls the routing of the two upstream wavelengths by configuring the hardware burst switch to a high level or a low level.
[0101] In this embodiment, the above hardware solution is a mature device and therefore has a low cost.
[0102] Taking the default interaction of the master and slave gateways through the theoretical bandwidth of 1.25G upstream and 2.5G downstream as an example, the gateway bandwidth adaptation method of this embodiment specifically includes:
[0103] (1) The main gateway calculates the average traffic of each sub-gateway's PON port every 5 minutes and compares it with the traffic threshold of 0.875G. If the average traffic of a sub-gateway's PON port is greater than 0.875G for three consecutive times, it is determined that the sub-gateway has a high demand for uplink services. At this time, the main gateway can notify the sub-gateway to set its mode flag PON Mode Flag through a private OMCI message and record the relevant information in the memory Flash of the main sub-gateway.
[0104] (2) When the sub-gateway starts registration, the PON Mode Flag is read. If the PON Mode Flag changes, that is, it is in the set state, the level of the hardware burst switch is actively configured to trigger the switching of its own SerDes working mode and complete the adaptive configuration of the PON MAC layer initialization under the new SerDes (O1);
[0105] After the sub-gateway SerDes switching is completed, it can receive the theoretical bandwidth of 1.25G downstream light broadcast by the main gateway, and complete the adaptive configuration of network parameters (delimiter, power mode, preset equalization delay, etc.) according to the information carried by the downstream optical path (O2), that is, the sub-gateway downstream frame synchronization is successful;
[0106] After the sub-gateway completes the network parameter configuration, it sends a reply to the Serial-Number Request message of the main gateway using the 2.5G upstream wavelength as the carrier and obtains the ONU-ID, completing the subsequent registration interaction with the main gateway (O3--O5).
[0107] The above O1--O5 is the GPON registration state machine.
[0108] In addition, according to the uplink and downlink traffic requirements of the actual services of the sub-gateway, the bandwidth can be switched back from uplink 2.5G / downlink 1.25G to uplink 1.25G / downlink 2.5G.
[0109] Furthermore, if Figure 3 As shown, the value of the PON Mode Flag in the reset state is the default value, and the above step S20 specifically includes:
[0110] S21. When the sub-gateway starts registration, it reads the current PON Mode Flag and determines whether the read PON Mode Flag is the default value. If so, it turns to S22, otherwise, it turns to S23.
[0111] S22. The sub-gateway negotiates registration for uplink 1.25G / downlink 2.5G.
[0112] S23. The sub-gateway switches its own SerDes working mode and completes PON MAC layer adaptation;
[0113] S24. Sub-gateway downlink frame synchronization is successful;
[0114] S25. The sub-gateway reports the SN with an uplink wavelength of 2.5G;
[0115] S26. The sub-gateway negotiates registration for uplink 2.5G / downlink 1.25G.
[0116] The method of this embodiment is applicable to the adaptive adjustment of the uplink and downlink bandwidths of the master and sub-gateways of FTTR, and proposes a technically feasible bandwidth mode in which the uplink bandwidth is larger than the downlink bandwidth; according to the traffic statistics of the sub-gateway PON port, the two bandwidths of uplink 1.25G / downlink 2.5G and uplink 2.5G / downlink 1.25G between the master and the sub-gateway are adaptively adjusted, which can be compatible with more upload and download business scenarios, and can not only improve the uplink capacity of the sub-gateway without adjusting the uplink optical path environment of the main gateway, but also be compatible with multiple sub-gateways under the main gateway using different bandwidth modes to share the uplink and downlink bandwidths of the main gateway.
[0117] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0118] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.
[0119] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a concrete way. In the description of the embodiments of the present application, "plurality" refers to two or more than two.
[0120] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0122] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A gateway bandwidth adaptation method, characterized in that: Applicable to the master gateway, the method comprises: When the average flow of a PON port of a sub-gateway is greater than a preset flow threshold value for consecutive preset times, a mode flag position notification message is sent to the sub-gateway so that the sub-gateway can read and switch bandwidth when registering.
2. The gateway bandwidth adaptation method according to claim 1, characterized in that: After sending the mode flag position notification message to the sub-gateway, the method further includes: If it is detected that the increase in the traffic of the PON port of the sub-gateway is less than the preset increase threshold within the preset time period, a offline message is sent to the sub-gateway; The preset duration is greater than the total duration obtained for a preset number of consecutive times.
3. The gateway bandwidth adaptation method according to claim 1, characterized in that: Get the average traffic of each sub-gateway PON port once every preset time period; The traffic threshold is a preset percentage of the uplink bandwidth before the sub-gateway switches the bandwidth.
4. A master gateway for implementing the gateway bandwidth adaptation method according to any one of claims 1 to 3, characterized in that: It includes: An acquisition module is used to obtain the average flow of each sub-gateway PON port; The bandwidth adaptation module is used to send a mode flag position notification message to a sub-gateway when the average flow of a sub-gateway PON port is greater than a preset flow threshold value for a consecutive preset number of times, so that the sub-gateway can read and switch the bandwidth when registering.
5. A gateway bandwidth adaptation method, characterized in that: Applicable to a sub-gateway, the method comprises: After receiving the mode flag setting notification message from the main gateway, the mode flag is set to the position; When registration is started, the current mode flag is read, and when the mode flag is in the set state, the upstream small bandwidth is switched to the upstream large bandwidth, and the downstream large bandwidth is switched to the downstream small bandwidth.
6. The gateway bandwidth adaptation method according to claim 5, characterized in that: When the mode flag is set, it also includes: Switch its own SerDes working mode and complete the adaptive configuration of PON MAC layer initialization under the new SerDes working mode; Receive the downlink light with a small downlink bandwidth broadcast by the main gateway, and complete the adaptive configuration of network parameters according to the information carried by the downlink light; The uplink wavelength with large bandwidth is used as the carrier to send a packet to reply to the serial number request message of the main gateway and obtain the ONU-ID, and complete the registration interaction with the main gateway.
7. The gateway bandwidth adaptation method according to claim 5, characterized in that: The step of switching the upstream small bandwidth to the upstream large bandwidth and switching the downstream large bandwidth to the downstream small bandwidth includes: Switch the upstream 1.25G and downstream 2.5G bandwidth to the upstream 2.5G and downstream 1.25G bandwidth; or, Switch the upstream 2.5G and downstream 10G bandwidth to the upstream 10G and downstream 2.5G bandwidth.
8. The gateway bandwidth adaptation method according to claim 5, characterized in that: After setting the mode flag, it also includes: When receiving the offline message from the main gateway, restart the registration; or, When the scheduled restart time is reached, restart and restart registration.
9. A sub-gateway for implementing the gateway bandwidth adaptation method according to any one of claims 5 to 8, characterized in that: It includes: A setting module, which is used to set the mode flag to the position after receiving a mode flag setting notification message from the main gateway; The switching module is used to read the current mode flag when starting registration, and when the mode flag is in a set state, switch the upstream small bandwidth to the upstream large bandwidth, and switch the downstream large bandwidth to the downstream small bandwidth.
10. A gateway bandwidth adaptive system, characterized in that: It comprises the main gateway as claimed in claim 4 and at least one sub-gateway as claimed in claim 9.
Citation Information
Patent Citations
Dynamic bandwidth allocation device and method of passive optical network
CN101087238A
Bandwidth scheduling method, ONU registration method and device, and OLT
CN106878836A
Access mode switching method and device, storage medium and electronic device
CN116546351A
Congestion control in an optical line terminal
US20130039182A1
Auto-detection of fiber working modes
WO2015176303A1
Cited By
Load balancing system based on long connection flow and bandwidth dynamic perception
CN121334063A