All-optical network bandwidth allocation method, optical gateway and computer-readable storage medium
By identifying the optical router service type and analyzing the bandwidth allocation time slots through the optical gateway, the optimization of bandwidth allocation in the all-optical network P2MP scenario is achieved, solving the problems of uneven bandwidth allocation and delay, and improving the user experience.
Patent Information
- Application Number
- CN202111347076.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-11-15
AI Technical Summary
In all-optical network P2MP scenarios, uneven bandwidth distribution and high latency affect user experience. Existing technologies cannot effectively solve this problem.
Obtain messages from optical routers through optical gateways, identify service types, analyze bandwidth allocation time slots and internal delays, allocate optical router bandwidth according to business demand types and bandwidth allocation time slots, realize seamless connection of two-level bandwidth scheduling, and reduce business delay and improve bandwidth utilization.
It reduces the service delay in all-optical network P2MP scenarios, improves bandwidth utilization and improves user experience.
Smart Images

Figure CN116132852B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of optical communication technology, and in particular to an all-optical network bandwidth allocation method, an optical gateway, and a computer-readable storage medium. Background Art
[0002] With the continuous development of optical networks, broadband network services are moving towards the fifth generation of fixed communications (F5G) with 10G PON and Wi-Fi 6 as the mainstream. Compared with previous generations of fixed access technologies, F5G has a series of excellent features such as ultra-high network access rate, all-optical connection, and excellent network experience. F5G home private network extends optical fiber to the room on the basis of fiber to the home, realizes all-optical networking in the home, and combines 10G PON and Wi-Fi 6 technologies to achieve gigabit coverage throughout the house, solve the problems of insufficient coverage of home WI-FI signals and substandard speed, and achieve safe and reliable gigabit coverage throughout the house.
[0003] All-optical network (FTTR, Fiber to The Room) is divided into two technical solutions: P2P (Point to Point) and P2MP (Point to Multi Point). The P2MP networking method is as follows: the WAN side of the P2MP optical gateway is generally 10GPON, and the LAN side can be GPON or 10G PON. The optical router is connected to the optical splitter for networking, and the WAN side of the optical router is GPON or 10G PON. The P2MP technical solution has the advantages of many connected devices, convenient capacity expansion, and single-point speed measurement can exceed Gigabit. However, it also has the disadvantages of two-level bandwidth scheduling, uneven bandwidth allocation, and large latency, which affects the user experience. Summary of the invention
[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0005] The embodiments of the present invention provide an all-optical network bandwidth allocation method, an optical gateway and a computer-readable storage medium, which can reduce the service delay of the all-optical network P2MP scenario, improve bandwidth utilization, and enhance user experience.
[0006] In a first aspect, an embodiment of the present invention provides an all-optical network bandwidth allocation method, which is applied to an optical gateway, and the method includes:
[0007] Get the message from the optical router;
[0008] Identifying a service type of the optical router according to a protocol type of the message;
[0009] Determining a service requirement type according to the latency and bandwidth requirements of the service type;
[0010] Analyzing the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway;
[0011] The bandwidth of the optical router is allocated according to the service demand type, the bandwidth allocation time slot and the internal delay.
[0012] In a second aspect, an embodiment of the present invention provides an optical gateway, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the all-optical network bandwidth allocation method as described in the first aspect above is implemented.
[0013] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the all-optical network bandwidth allocation method as described in the first aspect above is implemented.
[0014] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the all-optical network bandwidth allocation method as described in the first aspect above.
[0015] The embodiment of the present invention includes: the optical gateway obtains a message from an optical router, identifies the service type of the optical router according to the protocol type of the message, determines the service demand type according to the delay and bandwidth demand of the service type, analyzes the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway, and allocates the bandwidth of the optical router according to the service demand type, the bandwidth allocation time slot and the internal delay. The optical gateway identifies the service demand type of the optical router and the large and small time slots of the bandwidth allocation of the optical line terminal to realize the classification and sorting of the optical router services and the analysis and adjustment of the bandwidth of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slots to realize seamless connection of two-level bandwidth scheduling, reduce service delay, and improve bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize full utilization of the bandwidth of the optical router and improve user experience. Based on this, the present invention can reduce the service delay in the all-optical network P2MP scenario, improve bandwidth utilization, and thus improve user experience.
[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0018] Figure 1 This is a main flow chart of an all-optical network bandwidth allocation method provided by an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of an all-optical network structure provided by an embodiment of the present invention;
[0020] Figure 3 It is a sub-flow chart of an all-optical network bandwidth allocation method provided by an embodiment of the present invention;
[0021] Figure 4 is another sub-flow chart of an all-optical network bandwidth allocation method provided by an embodiment of the present invention;
[0022] Figure 5 It is a schematic diagram of different service systems of a single optical router provided by an embodiment of the present invention;
[0023] Figure 6 It is a schematic diagram of different service systems of a multi-optical router provided by an embodiment of the present invention;
[0024] Figure 7 It is a schematic diagram of another multi-optical router different service system provided by an embodiment of the present invention;
[0025] Figure 8 It is a schematic diagram of implementing two-level bandwidth scheduling provided by an embodiment of the present invention;
[0026] Fig. 9 is a flow chart of an all-optical network bandwidth allocation method provided by an embodiment of the present invention;
[0027] Fig.10 It is a schematic diagram of the structure of an optical gateway provided by an embodiment of the present invention;
[0028] Fig.11 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0030] It should be understood that in the description of the embodiments of the present invention, the meaning of multiple (or multiple) is more than two, greater than, less than, and exceeding are understood to exclude the number itself, and above, below, and within are understood to include the number itself. If there is a description of "first", "second", etc., it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0031] With the continuous development of optical networks, broadband network services are moving towards the fifth generation of fixed communications (F5G) with 10G PON and Wi-Fi 6 as the mainstream. Compared with previous generations of fixed access technologies, F5G has a series of excellent features such as ultra-high network access rate, all-optical connection, and excellent network experience. F5G home private network extends optical fiber to the room on the basis of fiber to the home, realizes all-optical networking in the home, and combines 10G PON and Wi-Fi 6 technologies to achieve gigabit coverage throughout the house, solve the problems of insufficient coverage of home WI-FI signals and substandard speed, and achieve safe and reliable gigabit coverage throughout the house.
[0032] All-optical network FTTR is divided into two technical solutions: P2P (Point to Point) and P2MP (Point to Multi Point). The P2MP networking method is as follows: the WAN side of the P2MP optical gateway is generally 10G PON, and the LAN side can be GPON or 10G PON. The network is connected through the optical splitter and the optical router is connected to the WAN side of the optical router. The WAN side of the optical router is GPON or 10G PON. The P2MP technical solution has the advantages of many connected devices, convenient capacity expansion, and single-point speed measurement can exceed Gigabit. However, it also has the disadvantages of two-level bandwidth scheduling, uneven bandwidth allocation, and large latency, which affects the user experience.
[0033] In recent years, with the rapid development of smart home, VR technology, telemedicine and other services, telecom operators and home and enterprise users have higher and higher requirements for the bandwidth and user experience of fiber optic access. For example, 4K video streaming bandwidth requires 30Mbps / person, voice streaming requires a delay of less than 30ms, VR streaming bandwidth requires 50Mbps / person, and the delay is less than 15ms. They are very sensitive to bandwidth and delay. The uneven bandwidth allocation and delay problems caused by the P2MP networking method will have a great impact on the user experience.
[0034] The existing related technologies do not provide an effective solution to the above problems. How to solve the above problems in practical applications has become a problem that needs to be solved in the FTTR scenario.
[0035] In view of the problem of uneven bandwidth allocation and delay caused by the P2MP networking mode, the embodiment of the present invention provides an all-optical network bandwidth allocation method, an optical gateway and a computer-readable storage medium. The optical gateway obtains a message from an optical router, identifies the service type of the optical router according to the protocol type of the message, determines the service demand type according to the delay and bandwidth demand of the service type, analyzes the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway, and allocates the bandwidth of the optical router according to the service demand type, bandwidth allocation time slot and internal delay. The optical gateway identifies the service demand type of the optical router and the large and small time slots of the bandwidth allocation of the optical line terminal to realize the classification and sorting of the optical router services and the analysis and adjustment of the bandwidth of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slot, realizes the seamless connection of the two-level bandwidth scheduling, reduces the service delay, and improves the bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize the full utilization of the bandwidth of the optical router and improve the user experience. Based on this, the present invention can reduce the service delay of the all-optical network P2MP scenario, improve the bandwidth utilization, and thus improve the user experience.
[0036] like Figure 1 As shown, Figure 1 This is a main flow chart of an all-optical network bandwidth allocation method provided by an embodiment of the present invention. The all-optical network bandwidth allocation method includes but is not limited to the following steps:
[0037] Step 101, obtaining a message from an optical router;
[0038] Step 102, identifying the service type of the optical router according to the protocol type of the message;
[0039] Step 103, determining the service requirement type according to the latency and bandwidth requirements of the service type;
[0040] Step 104, analyzing the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway;
[0041] Step 105: Allocate bandwidth of the optical router according to the service demand type, bandwidth allocation time slot and internal delay.
[0042] It can be understood that the optical gateway obtains messages from the optical router, identifies the service type of the optical router according to the protocol type of the message, determines the service demand type according to the delay and bandwidth demand of the service type, analyzes the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway, and allocates the bandwidth of the optical router according to the service demand type, bandwidth allocation time slot and internal delay. The optical gateway identifies the service demand type of the optical router and the large and small time slots of the bandwidth allocation of the optical line terminal to realize the classification and sorting of the optical router services and the analysis and adjustment of the bandwidth of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slot, realizes the seamless connection of the two-level bandwidth scheduling, reduces the service delay, and improves the bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize the full utilization of the bandwidth of the optical router and improve the user experience.
[0043] It is understandable that if Figure 2 As shown, the optical gateway can be connected to one or more optical routers, and the AI identifies the service demand type of the optical router through the message protocol type sent by the optical router. For example, when the optical router sends a HART message (HighwayAddressable Remote Transducer), the optical gateway can identify that the user is interacting with VR through the optical router; if the optical router sends a multicast join message, the optical gateway can identify that the user is watching IPTV video through the optical router; when the optical router sends a SIP message (Session Initiation Protocol), the optical gateway can identify that the user is making a voice call through the optical router. A single optical router can perform single or multiple services at the same time.
[0044] It is understandable that the service types may include but are not limited to VR, IPTV and voice.
[0045] It can be understood that according to the latency and bandwidth requirements of the service type, the service can be divided into four service demand types, including low-latency and high-bandwidth service, low-latency and low-bandwidth service, high-latency and high-bandwidth service, and high-latency and low-bandwidth service.
[0046] It is understandable that after the optical gateway AI identifies the service type of the optical router, it can classify and sort the service type according to the service demand type. For example, VR interaction can be classified as a low-latency, high-bandwidth service, IPTV video can be classified as a high-latency, high-bandwidth service, and voice calls can be classified as a low-latency, low-bandwidth service. From the perspective of latency, the sorting is VR>voice>IPTV, and from the perspective of bandwidth demand, the sorting is VR>IPTV>voice. This patent uses VR, IPTV, and voice as examples, and does not exclude the existence of other service demand types, such as cloud gaming, cloud education, remote maintenance, etc.
[0047] It is understandable that the optical gateway AI needs to record and analyze the bandwidth size and allocated time slot of the optical line terminal (OLT) while identifying the optical router service, and calculate whether the current bandwidth allocated by the OLT meets all the service requirements of the downstream optical router. If the bandwidth allocation time slot does not meet the requirements, the OLT can be notified through a private ploam or omci message to reduce the bandwidth allocation cycle or allocate bandwidth multiple times within 1 frame to reduce the time slot; if the bandwidth size does not meet the requirements, the OLT can be notified through a private ploam or omci message to increase the bandwidth allocation. In SR (status reporting) mode, a larger bandwidth can be applied by increasing the DBRu reporting value.
[0048] It is understandable that there are two levels of bandwidth scheduling in the optical gateway P2MP network. The different arrival times of bandwidth sent by OLT and optical gateway can easily cause misalignment of bandwidth allocation at the two levels. When the bandwidth of the optical gateway is sent earlier and the bandwidth of the OLT is sent later, it may cause the optical gateway to have a backlog of messages and increase the service delay. When the bandwidth of the optical gateway is sent later and the bandwidth of the OLT is sent earlier, it may cause the optical gateway to miss some of the OLT bandwidth allocation time slots, and the bandwidth utilization rate will decrease. The optical gateway analyzes the OLT bandwidth allocation time slots and the internal delay of the optical gateway. The OLT bandwidth allocation time slot includes the bandwidth StartTime sent by the OLT. olt 、GrantSize olt And bandwidth allocation cycle; the internal delay of the optical gateway mainly refers to the message forwarding delay InsideDelay, and the propagation delay of the optical router line must also be considered i , Optical router bandwidth allocation start time StartTime i It can be calculated by the following formula:
[0049] StartTime i =StartTime olt -InsideDelay-Propagation Delay i
[0050] It is understandable that the bandwidth allocation size GrantSize of the optical router i The period is allocated according to the business demand type. For example, if the business needs low latency and high bandwidth, the GrantSize can be increased. i , while reducing the bandwidth allocation cycle or allocating bandwidth multiple times within a frame to reduce latency; high-latency and high-bandwidth services can increase GrantSize i , while increasing the bandwidth allocation period; low-latency and low-bandwidth services can reduce GrantSize i, while reducing the bandwidth allocation cycle or allocating bandwidth multiple times within a frame to reduce latency; high-latency and low-bandwidth services can reduce GrantSize i , while increasing the bandwidth allocation cycle. It should be pointed out that the optical gateway can further improve the bandwidth allocation accuracy of the optical router through the above bandwidth allocation strategy and AI learning.
[0051] like Figure 3 As shown, after step 103, the following sub-steps may also be included but not limited to:
[0052] Step 1031, determining the bandwidth allocation priority of the service type according to the service demand type;
[0053] Step 1032, allocating bandwidth of the optical router according to the service demand type, bandwidth allocation time slot and internal delay, refers to: allocating bandwidth of the optical router according to bandwidth allocation priority of service type, bandwidth allocation time slot and internal delay.
[0054] It is understandable that after the optical gateway AI identifies the service type of the optical router, it can determine the bandwidth allocation priority of the service type by classifying and sorting the service type according to the service demand type, and then allocate bandwidth to the optical router according to the bandwidth allocation priority of the service type. For example, VR interaction can be classified as a low-latency, high-bandwidth service, IPTV video can be classified as a high-latency, high-bandwidth service, and voice calls can be classified as a low-latency, low-bandwidth service. From the perspective of latency, the order is VR>voice>IPTV, and from the perspective of bandwidth demand, the order is VR>IPTV>voice. This patent uses VR, IPTV, and voice as examples, and does not exclude the existence of other types of service demands, such as cloud gaming, cloud education, remote maintenance, etc.
[0055] It is understandable that the optical router also has an active bandwidth release mechanism. In the scenario where multiple optical routers are connected to the optical gateway P2MP network, when the optical router has no business data to send, the optical gateway will usually still periodically allocate OMCI bandwidth and business bandwidth to the optical router, resulting in bandwidth waste. In this regard, the optical router can regularly detect its own business data status. When there is no data to send for more than a certain period of time, it can notify the optical gateway through a private ploam or omci message to stop OMCI bandwidth and business bandwidth allocation for a certain period of time, or the optical gateway can notify the optical router to switch from normal state to energy-saving state; when the optical router has data to send, it can notify the optical gateway through a private ploam or omci message to restore bandwidth allocation, or the optical gateway can notify the optical router to switch from energy-saving state to normal state. The bandwidth actively released by the optical router can be allocated to other optical routers with data services, thereby improving the bandwidth utilization of the optical router.
[0056] like Figure 4As shown, step 105 may include but is not limited to the following sub-steps:
[0057] Step 1051, adjusting the bandwidth allocation size and bandwidth allocation period of the optical router according to the service demand type;
[0058] Step 1052: Determine the bandwidth allocation start time of the optical router according to the bandwidth allocation time slot and the internal delay.
[0059] It is understandable that the bandwidth allocation size N2 and bandwidth allocation cycle of the optical router can be allocated according to the type of business demand. Specifically, when the business demand type is determined to be a low-latency, high-bandwidth business or a high-latency, high-bandwidth business, the bandwidth of the optical router is increased; when the business demand type is determined to be a low-latency, low-bandwidth business or a high-latency, low-bandwidth business, the bandwidth of the optical router is reduced. When the business demand type is determined to be a low-latency, high-bandwidth business or a low-latency, low-bandwidth business, the bandwidth allocation cycle of the optical router is reduced; when the business demand type is determined to be a high-latency, high-bandwidth business or a high-latency, low-bandwidth business, the bandwidth allocation cycle of the optical router is increased.
[0060] It is understandable that low-latency, high-bandwidth services can increase N2 while reducing the bandwidth allocation cycle or allocating bandwidth multiple times within a frame; high-latency, high-bandwidth services can increase N2 while increasing the bandwidth allocation cycle; low-latency, low-bandwidth services can reduce N2 while reducing the bandwidth allocation cycle or allocating bandwidth multiple times within a frame; high-latency, low-bandwidth services can reduce N2 while increasing the bandwidth allocation cycle. It should be pointed out that optical gateways can further improve the bandwidth allocation accuracy of optical routers through AI learning.
[0061] It is understandable that there are two levels of bandwidth scheduling in the optical gateway P2MP network. The different arrival times of bandwidth sent by OLT and optical gateway can easily cause misalignment of bandwidth allocation at the two levels. When the bandwidth of the optical gateway is sent earlier and the bandwidth of the OLT is sent later, it may cause the optical gateway to have a backlog of messages and increase the service delay. When the bandwidth of the optical gateway is sent later and the bandwidth of the OLT is sent earlier, it may cause the optical gateway to miss some of the OLT bandwidth allocation time slots, and the bandwidth utilization rate will decrease. The optical gateway analyzes the OLT bandwidth allocation time slots and the internal delay of the optical gateway. The OLT bandwidth allocation time slot includes the bandwidth StartTime sent by the OLT. olt 、GrantSize olt And bandwidth allocation cycle; the internal delay of the optical gateway mainly refers to the message forwarding delay InsideDelay, and the propagation delay of the optical router line must also be considered i , Optical router bandwidth allocation start time StartTime i It can be calculated by the following formula:
[0062] StartTime i =StartTime olt -InsideDelay-Propagation Delay i
[0063] The all-optical network bandwidth allocation method provided by the present invention is further described below in conjunction with specific embodiments.
[0064] like Figure 5 As shown, a single optical router is connected to the optical gateway P2MP network. The optical router has three services: VR, IPTV, and voice. The optical gateway can identify the service demand type of the optical router through the AI of the message protocol type sent by the optical router and classify and sort them. In order to distinguish and schedule the three services of the optical router, the optical gateway can configure three separate flow channels for the optical router.
[0065] like Figure 6 As shown, the optical gateway P2MP networking has two optical routers connected to it. Optical router 1 has IPTV services, and optical router 2 has VR and voice services. The optical gateway can identify the service demand types of the two optical routers through the message protocol type AI sent by the optical routers and classify and sort them. In order to distinguish and schedule the two services of optical router 2, the optical gateway can configure two separate flow channels for optical router 2.
[0066] like Figure 7 As shown, the optical gateway P2MP networking has two optical routers connected to it. Optical router 1 has two services, IPTV and voice, and optical router 2 also has two services, VR and voice. The optical gateway can identify the service demand types of the two optical routers through the message protocol type AI sent by the optical routers and classify and sort them. In order to distinguish and schedule the two services of optical router 1 and optical router 2, the optical gateway can configure two separate flow channels for optical router 1 and optical router 2.
[0067] like Figure 8 As shown in the figure, there are two levels of bandwidth scheduling in the optical gateway P2MP network. The first level of scheduling includes OLT sending bandwidth StartTime olt =S1, GrantSize olt = N1, and bandwidth allocation cycle, the second level scheduling includes the optical gateway sending bandwidth StartTime i =S2, GrantSize i = N2, and bandwidth allocation period. The internal delay of the optical gateway is InsideDelay, which is the message forwarding delay, and the line propagation delay of the optical router is PD i , the optical router bandwidth allocation start time S2 can be calculated by the following formula:
[0068] S2=S1-InsideDelay-PD i
[0069] The bandwidth allocation size N2 and bandwidth allocation cycle of the optical router can be allocated according to the type of business demand. Low-latency and high-bandwidth services can increase N2 while reducing the bandwidth allocation cycle or allocate bandwidth multiple times within a frame; high-latency and high-bandwidth services can increase N2 while increasing the bandwidth allocation cycle; low-latency and low-bandwidth services can reduce N2 while reducing the bandwidth allocation cycle or allocate bandwidth multiple times within a frame; high-latency and low-bandwidth services can reduce N2 while increasing the bandwidth allocation cycle. The optical gateway can further improve the bandwidth allocation accuracy of the optical router through AI learning.
[0070] like Fig. 9 As shown, the specific steps of the all-optical network bandwidth allocation method are as follows:
[0071] S501: The optical gateway AI identifies the service demand type and OLT bandwidth of the downstream optical router;
[0072] S502: Determine whether the service requirement type of the optical router is a low-latency and high-bandwidth service. If yes, proceed to step S506; if not, proceed to step S503;
[0073] S503: Determine whether the service requirement type of the optical router is a low-latency and low-bandwidth service, if yes, proceed to step S507, if not, proceed to step S504;
[0074] S504: Determine whether the service requirement type of the optical router is a high-latency and high-bandwidth service. If yes, proceed to step S508; if not, proceed to step S505;
[0075] S505: The optical gateway calculates two-level bandwidth allocation time slots and allocates high-latency and low-bandwidth to the corresponding services of the optical router;
[0076] S506: The optical gateway calculates two-level bandwidth allocation time slots to allocate low-latency and high-bandwidth to corresponding services of the optical router;
[0077] S507: The optical gateway calculates two-level bandwidth allocation time slots and allocates low-latency and small-bandwidth to corresponding services of the optical router;
[0078] S508: The optical gateway calculates two-level bandwidth allocation time slots and allocates high-latency and high-bandwidth to the corresponding services of the optical router;
[0079] S509: The optical gateway further improves bandwidth allocation accuracy through AI learning.
[0080] Based on this, the optical gateway identifies the service demand type of the optical router and the bandwidth allocation time slot of the optical line terminal OLT to realize the classification and sorting of the optical router services and the bandwidth analysis and adjustment of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slot, realizes the seamless connection of the two-level bandwidth scheduling, reduces the service delay, and improves the bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize the full utilization of the optical router bandwidth and improve the user experience.
[0081] like Fig.10 As shown, an embodiment of the present invention further provides an optical gateway.
[0082] Specifically, the optical gateway includes: one or more processors and memories, Fig.10 A processor and a memory are taken as an example. The processor and the memory can be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.
[0083] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs, such as the all-optical network bandwidth allocation method in the above-mentioned embodiment of the present invention. The processor implements the all-optical network bandwidth allocation method in the above-mentioned embodiment of the present invention by running the non-transitory software programs and programs stored in the memory.
[0084] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data required to execute the all-optical network bandwidth allocation method in the above-mentioned embodiment of the present invention, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the optical gateway via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0085] The non-transient software program and program required to implement the all-optical network bandwidth allocation method in the above embodiment of the present invention are stored in the memory, and when executed by one or more processors, the all-optical network bandwidth allocation method in the above embodiment of the present invention is executed, for example, the above described Figure 1 Steps 101 to 105 of the method, Figure 3 Steps 1031 to 1032 of the method, Figure 4In the method steps 1051 to 1052, the optical gateway obtains a message from the optical router, identifies the service type of the optical router according to the protocol type of the message, determines the service demand type according to the delay and bandwidth demand of the service type, analyzes the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway, and allocates the bandwidth of the optical router according to the service demand type, bandwidth allocation time slot and internal delay. The optical gateway identifies the service demand type of the optical router and the large and small time slots of the bandwidth allocation of the optical line terminal to realize the classification and sorting of the optical router services and the analysis and adjustment of the bandwidth of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slot, realizes the seamless connection of the two-level bandwidth scheduling, reduces the service delay, and improves the bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize the full utilization of the bandwidth of the optical router and improve the user experience.
[0086] like Fig.11 As shown, an embodiment of the present invention further provides an electronic device.
[0087] Specifically, the electronic device includes: one or more processors and a memory, Fig.11 A processor and a memory are taken as an example. The processor and the memory can be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0088] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs, such as the all-optical network bandwidth allocation method in the above-mentioned embodiment of the present invention. The processor implements the all-optical network bandwidth allocation method in the above-mentioned embodiment of the present invention by running the non-transitory software programs and programs stored in the memory.
[0089] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data required to execute the all-optical network bandwidth allocation method in the above-mentioned embodiment of the present invention, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the optical gateway via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0090] The non-transient software program and program required to implement the all-optical network bandwidth allocation method in the above embodiment of the present invention are stored in the memory, and when executed by one or more processors, the all-optical network bandwidth allocation method in the above embodiment of the present invention is executed, for example, the above described Figure 1 Steps 101 to 105 of the method, Figure 3 Steps 1031 to 1032 of the method, Figure 4 In the method steps 1051 to 1052, a message is obtained from an optical router, the service type of the optical router is identified according to the protocol type of the message, the service demand type is determined according to the delay and bandwidth demand of the service type, the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway are analyzed, and the bandwidth of the optical router is allocated according to the service demand type, the bandwidth allocation time slot and the internal delay. The optical gateway identifies the service demand type of the optical router and the large and small time slots of the bandwidth allocation of the optical line terminal to realize the classification and sorting of the optical router services and the analysis and adjustment of the bandwidth of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slots, realizes the seamless connection of the two-level bandwidth scheduling, reduces the service delay, and improves the bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize the full utilization of the bandwidth of the optical router and improve the user experience.
[0091] In addition, an embodiment of the present invention further provides a computer-readable storage medium, the computer-readable storage medium storing a computer-executable program, the computer-executable program being executed by one or more control processors, for example, Fig.10 The method may be executed by one of the processors in the embodiment of the present invention, so that the one or more processors can execute the all-optical network bandwidth allocation method in the embodiment of the present invention, for example, executing the above-described Figure 1 Steps 101 to 105 of the method, Figure 3 Steps 1031 to 1032 of the method, Figure 4 In the method steps 1051 to 1052, the optical gateway obtains a message from the optical router, identifies the service type of the optical router according to the protocol type of the message, determines the service demand type according to the delay and bandwidth demand of the service type, analyzes the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway, and allocates the bandwidth of the optical router according to the service demand type, bandwidth allocation time slot and internal delay. The optical gateway identifies the service demand type of the optical router and the large and small time slots of the bandwidth allocation of the optical line terminal to realize the classification and sorting of the optical router services and the analysis and adjustment of the bandwidth of the optical line terminal; the optical gateway allocates the bandwidth of the optical router according to the service demand type and the two-level bandwidth allocation time slot, realizes the seamless connection of the two-level bandwidth scheduling, reduces the service delay, and improves the bandwidth utilization; the optical router actively releases the bandwidth mechanism to realize the full utilization of the bandwidth of the optical router and improve the user experience.
[0092] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as a computer-readable program, a data structure, a program module or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media generally contain computer-readable programs, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0093] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A method for allocating bandwidth in an all-optical network, applied to an optical gateway, the method comprising: Get the message from the optical router; Identifying a service type of the optical router according to a protocol type of the message; Determining a service requirement type according to the latency and bandwidth requirements of the service type; Analyze the bandwidth allocation time slot of the optical line terminal and the internal delay of the optical gateway, wherein the internal delay is the message forwarding delay; Adjusting the bandwidth allocation size and bandwidth allocation period of the optical router according to the service demand type; The bandwidth allocation start time of the optical router is determined according to the bandwidth allocation time slot and the internal delay.
2. The method according to claim 1, characterized in that The service demand types include low-latency high-bandwidth service, low-latency low-bandwidth service, high-latency high-bandwidth service and high-latency low-bandwidth service.
3. The method according to claim 1, characterized in that: After determining the service requirement type according to the delay and bandwidth requirement of the service type, the method further includes: Determining the bandwidth allocation priority of the service type according to the service demand type; The allocating the bandwidth of the optical router according to the service demand type, the bandwidth allocation time slot and the internal delay refers to: The bandwidth of the optical router is allocated according to the bandwidth allocation priority of the service type, the bandwidth allocation time slot and the internal delay.
4. The method according to claim 1, characterized in that: Also includes: When it is determined that the optical router has not sent service data within a preset time period, stopping bandwidth allocation to the optical router; When it is determined that the optical router resends the service data, bandwidth allocation to the optical router is restored.
5. The method according to claim 1, characterized in that Also includes: When it is determined that the optical router has not sent service data within a preset time period, sending a first notification instruction to the optical router, so that the optical router switches from the normal mode to the energy-saving mode according to the first notification instruction; When it is determined that the optical router resends the service data, a second notification instruction is sent to the optical router, so that the optical router switches from the energy-saving mode to the normal mode according to the second notification instruction.
6. The method according to claim 1, characterized in that Adjusting the bandwidth allocation size and bandwidth allocation period of the optical router according to the service demand type includes: When it is determined that the service demand type is a low-latency and high-bandwidth service or a high-latency and high-bandwidth service, increasing the bandwidth of the optical router; When it is determined that the service demand type is a low-latency and low-bandwidth service or a high-latency and low-bandwidth service, reducing the bandwidth of the optical router; When it is determined that the service demand type is a low-latency high-bandwidth service or a low-latency low-bandwidth service, reducing the bandwidth allocation period of the optical router; When it is determined that the service demand type is a high-latency and high-bandwidth service or a high-latency and low-bandwidth service, the bandwidth allocation period of the optical router is increased.
7. An optical gateway, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the all-optical network bandwidth allocation method as claimed in any one of claims 1 to 6 when executing the computer program.
8. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the all-optical network bandwidth allocation method as claimed in any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the all-optical network bandwidth allocation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Optical network system data link switching method, optical network unit and system
CN101677415A
Auxiliary node equipment in EPON (Ethernet passive optical network)
CN102497604A
Dynamic bandwidth allocation method and apparatus
CN105933064A
Bandwidth adjustment method and device and computer readable storage medium
CN113055205A
Method and apparatus of multi-service bandwidth allocation in ethernet passive optical network
WO2013072776A2
