CN113938770B - Bandwidth scheduling method and system based on multi-stage passive optical network - Google Patents

Bandwidth scheduling method and system based on multi-stage passive optical network Download PDF

Info

Publication number
CN113938770B
CN113938770B CN202010605472.5A CN202010605472A CN113938770B CN 113938770 B CN113938770 B CN 113938770B CN 202010605472 A CN202010605472 A CN 202010605472A CN 113938770 B CN113938770 B CN 113938770B
Authority
CN
China
Prior art keywords
level
line terminal
optical line
optical network
optical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010605472.5A
Other languages
Chinese (zh)
Other versions
CN113938770A (en
Inventor
张阔
张伦
张波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010605472.5A priority Critical patent/CN113938770B/en
Priority to PCT/CN2021/083229 priority patent/WO2022001238A1/en
Publication of CN113938770A publication Critical patent/CN113938770A/en
Application granted granted Critical
Publication of CN113938770B publication Critical patent/CN113938770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Abstract

The embodiment of the application provides a bandwidth scheduling method and a system based on a multi-stage passive optical network, wherein the method comprises the following steps: the optical line terminal of the first level receives a first bandwidth request sent by the optical network unit of the first level; the optical line terminal of the first level sends a first bandwidth size to the optical network unit of the first level, the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level, and the data traffic size requested by the optical line terminal of the first level comprises a part of data traffic size in the data traffic size requested by the optical network unit of the first level; and the optical line terminal of the first level receives a second bandwidth size sent by the optical line terminal of the second level. Signaling interaction and data interaction are reduced, the time for allocating the bandwidth to the first-level optical line terminal can be shortened, and the time delay for allocating the bandwidth is reduced; the bandwidth allocation time delay of the integral multistage passive optical network is reduced, and the integral data transmission efficiency of the multistage passive optical network is improved.

Description

Bandwidth scheduling method and system based on multi-stage passive optical network
Technical Field
The present application relates to the field of communications technologies, and in particular, to a bandwidth scheduling method and system based on a multi-stage passive optical network.
Background
With the development of bandwidth technology, a multi-stage Passive Optical Network (PON) is beginning to be developed and applied. The Network architecture of the multi-level passive Optical Network includes a multi-level Optical Line Terminal (OLT) and a multi-level Optical Network Unit (ONU). For a multi-level passive optical network, it is necessary to allocate a bandwidth to each level of the optical network unit, so that the optical network unit can complete data transmission based on the bandwidth.
In a multi-stage passive optical network, bandwidth allocation is subject to links of requesting bandwidth and bandwidth authorization; in a multi-stage passive optical network, in order to reduce the time delay of bandwidth allocation and improve the efficiency of data transmission, a method for completing bandwidth allocation quickly is needed.
Disclosure of Invention
The application provides a bandwidth scheduling method and system based on a multi-stage passive optical network, which aim to solve the problem of low efficiency of data transmission. The bandwidth scheduling method and system based on the multi-stage passive optical network can be applied to the multi-stage passive optical network or other networks.
In a first aspect, the present application provides a bandwidth scheduling method based on a multi-stage passive optical network, where the method includes:
the method comprises the steps that a first-level optical line terminal receives a first bandwidth request sent by a first-level optical network unit, wherein the first bandwidth request comprises the size of data traffic requested by the first-level optical network unit;
the first-level optical line terminal sends a first bandwidth size to the first-level optical network unit, and sends a second bandwidth request to a second-level optical line terminal, wherein the second bandwidth request includes a data traffic size requested by the first-level optical line terminal, the data traffic size requested by the first-level optical line terminal includes a partial data traffic size in the data traffic size requested by the first-level optical network unit, and the first bandwidth size represents the data traffic size requested by the first bandwidth request;
and the optical line terminal of the first level receives a second bandwidth size sent by the optical line terminal of the second level, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
In the above process, first, when the optical line terminal of the first level allocates bandwidth to the optical network unit of the first level, the optical line terminal of the first level may request bandwidth to the optical line terminal of the second level; the optical line terminal of the first level requests the bandwidth from the optical line terminal of the second level without waiting for the optical network unit of the first level to finish data transmission; therefore, in the scheme of this embodiment, when the bandwidth is allocated, signaling interaction and data interaction are reduced, the time for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) can be shortened, and the time delay for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) is reduced; due to the reduced latency of bandwidth allocation for the first level of the olt (i.e. the second level of the onu), the overall latency of bandwidth allocation for the multi-level pon is also reduced. Moreover, because the time delay of bandwidth allocation is reduced, the data transmission efficiency of the optical line terminal of the first level (namely, the optical network unit of the second level) can be improved; and further, the overall data transmission efficiency of the multistage passive optical network is improved.
In a possible implementation manner, the data traffic size requested by the optical network unit of the first level includes a first traffic value and a second traffic value;
the first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels;
the second traffic value is a data traffic amount to be flowed to the optical line terminal of the second level by the optical network unit of the first level. Therefore, in the multi-stage passive optical network, the first flow value is used as the internal flow of the optical network unit of the first level, and the second flow value is used as the external flow of the optical network unit of the first level; the internal traffic and the external traffic (the internal traffic of the optical network unit and the external traffic of the optical network unit) are distinguished, so that the optical line terminal of the first level can accurately request the bandwidth from the optical line terminal of the second level.
In a possible implementation, the first traffic value has a first identifier and the second traffic value has a second identifier. The internal traffic of the first level of the optical network unit is distinguished from the external traffic of the first level of the optical network unit by the identification.
In a possible implementation manner, the size of the data traffic requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value;
the third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal;
the fourth traffic value is a sum of second traffic values of the optical network units of the first levels communicating with the optical line terminal of the first level, and the second traffic value is a data traffic to be flowed to the optical line terminal of the second level by the optical network units of the first level. Because of the internal flow of the optical network unit of the first level, the bandwidth does not need to be reported to the optical line terminal of the second level, that is, the optical line terminal of the second level is not needed to allocate the bandwidth; the external flow of the first level optical network unit needs the second level optical line terminal to allocate bandwidth; therefore, the first-level olt aggregates the external traffic of the first-level olt (i.e., the third traffic) and the external traffic of the first-level onu (i.e., the second traffic of the first-level onu), and determines the data traffic requested by the first-level olt; the optical line terminal of the first level accurately requests the required bandwidth from the optical line terminal of the second level.
In a possible implementation manner, before the sending, by the optical line terminal of the first level, the second bandwidth request to the optical line terminal of the second level, the method further includes:
the optical line terminal of the first level receives a third bandwidth request sent by at least one optical network unit of another first level in one period, wherein the third bandwidth request comprises the size of data traffic requested by the optical network unit of the other first level;
the sending, by the optical line terminal of the first level, a second bandwidth request to an optical line terminal of a second level includes:
and the optical line terminal of the first level sends the second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level. Because the first-level optical line terminal may communicate with a plurality of first-level optical network units, the first-level optical line terminal may summarize an external traffic of the first-level optical line terminal (i.e., a third traffic), and external traffic of each first-level optical network unit (i.e., a second traffic value of the first-level optical network unit) acquired in one period, and determine a size of a data traffic requested by the first-level optical line terminal; instead of a first level of optical line terminal requesting bandwidth to a first level of optical line terminal, the first level of optical line terminal requests bandwidth to a second level of optical line terminal area; instead, the olt of the first level may summarize the bandwidth request of the olt of the first level within a period, and then request the bandwidth from the olt of the second level, thereby reducing the signaling overhead in the bandwidth allocation process.
In a possible implementation manner, after the first level optical line terminal sends the first bandwidth size to the first level optical network unit, the method further includes:
and the optical line terminal of the first level receives the data sent by the optical network unit of the first level. Further, the optical network unit of the first level performs data communication with the optical line terminal of the first level.
In a possible implementation manner, after the first level optical line terminal receives the second bandwidth size sent by the second level optical line terminal, the method further includes:
and the optical line terminal of the first level sends data to the optical line terminal of the second level. Further, the optical line terminal of the first level performs data communication with the optical line terminal of the second level.
In a second aspect, the present application provides a bandwidth scheduling system based on a multi-stage passive optical network, the system including: the optical network unit of the first level and the optical line terminal of the first level;
the optical network unit of the first level is configured to send a first bandwidth request to the optical line terminal of the first level, where the first bandwidth request includes a data traffic size requested by the optical network unit of the first level;
the first-level optical line terminal is configured to send a first bandwidth size to the first-level optical network unit and send a second bandwidth request to a second-level optical line terminal, where the second bandwidth request includes a data traffic size requested by the first-level optical line terminal, the data traffic size requested by the first-level optical line terminal includes a partial data traffic size in the data traffic size requested by the first-level optical network unit, and the first bandwidth size represents the data traffic size requested by the first bandwidth request;
the optical line terminal of the first level is further configured to receive a second bandwidth size sent by the optical line terminal of the second level, where the second bandwidth size represents a data traffic size requested by the second bandwidth request.
In a possible implementation manner, the data traffic size requested by the optical network unit of the first level includes a first traffic value and a second traffic value;
the first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels;
the second traffic value is a data traffic amount to be flowed to the optical line terminal of the second level by the optical network unit of the first level.
In a possible implementation, the first traffic value has a first identifier and the second traffic value has a second identifier.
In a possible implementation manner, the size of the data traffic requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value;
the third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal;
the fourth traffic value is a sum of second traffic values of the optical network units of the first levels communicating with the optical line terminal of the first level, and the second traffic value is a data traffic to be flowed to the optical line terminal of the second level by the optical network units of the first level.
In a possible implementation manner, the optical line terminal of the first level is further configured to: before sending the second bandwidth request to the optical line terminal of the second level, receiving a third bandwidth request sent by at least one optical network unit of another first level in one period, wherein the third bandwidth request comprises the size of data traffic requested by the optical network unit of the other first level;
when the optical line terminal of the first level sends the second bandwidth request to the optical line terminal of the second level, the optical line terminal of the first level is specifically configured to: and sending the second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
In a possible implementation manner, the first-level optical network unit is further configured to:
and after receiving the first bandwidth size sent by the first level optical line terminal, sending data to the first level optical line terminal.
In a possible implementation manner, the optical line terminal of the first level is further configured to send data to the optical line terminal of the second level after receiving the second bandwidth size sent by the optical line terminal of the second level.
For technical effects of the second aspect and the implementation manner of the second aspect, reference may be made to the above-mentioned first aspect.
In a third aspect, the present application provides a bandwidth scheduling system based on a multi-stage passive optical network, where the system includes: the optical network unit of the first level, the optical line terminal of the first level and the optical line terminal of the second level;
the optical network unit of the first level is configured to send a first bandwidth request to the optical line terminal of the first level, where the first bandwidth request includes a data traffic size requested by the optical network unit of the first level;
the first-level optical line terminal is configured to send a first bandwidth size to the first-level optical network unit and send a second bandwidth request to a second-level optical line terminal, where the second bandwidth request includes a data traffic size requested by the first-level optical line terminal, the data traffic size requested by the first-level optical line terminal includes a partial data traffic size in the data traffic size requested by the first-level optical network unit, and the first bandwidth size represents the data traffic size requested by the first bandwidth request;
and the second-level optical line terminal is configured to send a second bandwidth size to the first-level optical line terminal, where the second bandwidth size represents a data traffic size requested by the second bandwidth request.
In a possible implementation manner, the data traffic size requested by the optical network unit of the first level includes a first traffic value and a second traffic value;
the first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels;
the second traffic value is a data traffic amount to be flowed to the optical line terminal of the second level by the optical network unit of the first level.
In a possible implementation, the first flow value has a first identifier and the second flow value has a second identifier.
In a possible implementation manner, the size of the data traffic requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value;
the third flow value is a data flow value requested when data interaction is performed between the optical line terminal of the first level and the optical line terminal of the second level;
the fourth traffic value is a sum of second traffic values of the optical network units of the first levels communicating with the optical line terminal of the first level, and the second traffic value is a data traffic to be flowed to the optical line terminal of the second level by the optical network units of the first level.
In a possible implementation manner, the optical line terminal of the first level is further configured to: before sending the second bandwidth request to the optical line terminal of the second level, receiving a third bandwidth request sent by at least one optical network unit of another first level in one period, wherein the third bandwidth request comprises the size of data traffic requested by the optical network unit of the other first level;
when the optical line terminal of the first level sends the second bandwidth request to the optical line terminal of the second level, the optical line terminal of the first level is specifically configured to: and sending the second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
In a possible implementation manner, the optical network unit of the first level is further configured to:
and after receiving the first bandwidth size sent by the first level optical line terminal, sending data to the first level optical line terminal.
In a possible implementation manner, the optical line terminal of the first level is further configured to send data to the optical line terminal of the second level after receiving the second bandwidth size sent by the optical line terminal of the second level.
For technical effects of the third aspect and any implementation manner of the third aspect, reference may be made to the first aspect described above.
In a fourth aspect, the present application provides a communication apparatus, which is applied to an optical line terminal of a first level, and includes a processor and a memory, where the memory stores a computer program, and the processor executes the computer program stored in the memory to cause the apparatus to perform the method according to any one of the implementation manners of the first aspect and the first aspect.
In a fifth aspect, the present application provides a communication apparatus, which is applied to an optical line terminal of a first level, and includes: a processor and an interface circuit;
the interface circuit is used for receiving code instructions and transmitting the code instructions to the processor;
the processor is configured to execute the code instructions to perform the method according to any one of the implementation manners of the first aspect and the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium storing instructions that, when executed, cause a method according to any one of the implementation manners of the first aspect and the first aspect to be implemented.
In a seventh aspect, the present application provides a computer program product, which contains program code that, when executed by a processor in a terminal, is implemented in a method implementing the implementation manner as in any one of the first aspect and the first aspect.
In an eighth aspect, the present application provides a processor configured to perform the method as implemented in any one of the first aspect and the first aspect.
In a ninth aspect, the present application provides a chip applied to a terminal device, where the chip is configured to execute a method for implementing any one implementation manner of the first aspect and the first aspect.
In a tenth aspect, the present application provides a bandwidth allocation system comprising the communication device of the fourth aspect; alternatively, the bandwidth allocation system comprises the communication device of the fifth aspect.
It should be understood that technical details and technical effects related to any possible implementation manner of the second aspect to the tenth aspect or any aspect may refer to technical details and technical effects described in any implementation manner of the first aspect or the first aspect, and are not repeated herein.
Drawings
Fig. 1 is a network architecture diagram of a passive optical network according to an embodiment of the present application;
fig. 2 is a network architecture diagram of a two-stage passive optical network according to an embodiment of the present disclosure;
fig. 3 is a network architecture diagram of a three-level passive optical network according to an embodiment of the present application;
fig. 4 is a first signaling diagram of a bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 5 is a signaling diagram ii of a bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 6 is a first signaling diagram of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 7 is a signaling diagram ii of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 8 is a signaling diagram three of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 9 is a first signaling diagram of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
FIG. 10 is a schematic diagram of the differentiation between internal traffic and external traffic provided by an embodiment of the present application;
fig. 11 is a signaling diagram ii of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 12 is a signaling diagram three of still another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a bandwidth scheduling system based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of another bandwidth scheduling system based on a multi-stage passive optical network according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of another communication device according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of another communication device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of another communication device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of another communication device according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of another communication device according to an embodiment of the present application.
Detailed Description
The technical solution provided by the present application is further described below by referring to the drawings and the embodiments. It should be understood that the system architecture and application scenarios provided in the examples of the present application are mainly intended to illustrate possible implementations of the technical solutions of the present application and should not be construed as the only limitations on the technical solutions of the present application. As can be known to those skilled in the art, with the evolution of the system structure and the appearance of new service scenarios, the technical solution provided in the present application is also applicable to similar technical problems.
It should be understood that the embodiments of the present application provide a bandwidth scheduling method and system based on a multi-stage passive optical network, so as to improve the efficiency of data transmission based on the multi-stage passive optical network.
Since the principles of solving the problems of these solutions are the same or similar, some of the repeated parts may not be repeated in the following descriptions of the specific embodiments, but it should be understood that these specific embodiments are referred to and can be combined with each other.
The embodiment of the application is applied to a multi-stage passive optical network or other systems which may appear in the future. For example, the embodiments of the present application are applied to a two-stage passive optical network, or the embodiments of the present application are applied to a three-stage passive optical network.
Some terms in the present application are explained below to facilitate understanding by those skilled in the art. It should be noted that, when the scheme of the embodiment of the present application is applied to a multi-stage passive optical network, for example, an existing multi-stage passive optical network or a multi-stage passive optical network that may appear in the future, names of devices may change, but this does not affect the implementation of the scheme of the embodiment of the present application.
1) An Optical Network Unit (ONU), which is a component of a passive optical network, is typically located in a customer premises (e.g., a home), i.e., the ONU is a device located in the customer premises (e.g., a home).
2) An Optical Line Terminal (OLT), which is an integral part of a passive optical network, is typically located in a central control station (e.g., a computer room), i.e., the OLT is a device disposed in the central control station (e.g., the computer room).
3) "plurality" means two or more, and other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
4) "correspond" may refer to an association or binding relationship, and a corresponds to B refers to an association or binding relationship between a and B.
It should be noted that the terms or terms referred to in the embodiments of the present application may be mutually referred and are not described in detail.
With the development of communication technology, broadband access technology has been rapidly developed, and optical passive optical networks have been rapidly developed. Examples of the optical passive optical network include a Gigabit Passive Optical Network (GPON) and an Ethernet Passive Optical Network (EPON). In one example, the optical passive optical networks such as GPON and EPON have already been popularized and rapidly expanded in a large scale, and the 10G passive optical network has also entered a scale deployment stage.
Fig. 1 is a network architecture diagram of a passive optical network according to an embodiment of the present application, and as shown in fig. 1, a passive optical network includes: the optical network system comprises an optical line terminal installed in a central control station, a plurality of optical network units installed at user sites, and an Optical Distribution Network (ODN). The optical distribution network between the optical line terminal and the optical network unit includes an optical fiber and a passive optical splitter or coupler. Where the onu is typically located at a customer premises (e.g., a home), the olt is typically located at a central control station (e.g., a computer room), and the optical distribution network is an optical fiber network connecting the central control station (e.g., the computer room) and the customer premises (e.g., the home).
A multi-level passive optical network includes multiple levels of structures in a passive optical network. In an example, fig. 2 is a network architecture diagram of a two-stage passive optical network according to an embodiment of the present disclosure, as shown in fig. 2, the two-stage passive optical network includes a first-stage optical network unit, a first-stage optical distribution network, a first-stage optical line terminal (i.e., a second-stage optical network unit), a second-stage optical distribution network, and a second-stage optical line terminal, where the number of the first-stage optical network units is multiple, and the number of the first-stage optical line terminals may be multiple. The optical line terminal of the first level corresponds to a plurality of optical network units of the first level, and the optical line terminal of the first level is connected with the optical network units of the first level through an optical distribution network of the first level; the optical line terminal of the second level corresponds to a plurality of optical line terminals of the first level, and is connected with the optical line terminal of the first level through an optical distribution network of the second level; the optical line terminal of the first level and the optical network unit of the second level are integrated in the same hardware equipment. The optical network unit of the first level, referred to as a slave ONU; a first level of optical line termination, referred to as slave OLT; a first level of optical distribution network is called an internal ODU; the optical network unit of the second level is called a main ONU; the second level optical line terminal is called as a main OLT; the optical distribution network of the second level is called an external ODU; and the slave OLT and the main ONU are integrated in the same hardware equipment. Arranging a first-level optical network unit, a first-level optical line terminal (i.e., a second-level optical network unit) in a customer premises (e.g., a home); the second level optical line termination is located at a central control station (e.g. a computer room). Therefore, a PON network inside a user site and a PON network outside the user site constitute a two-stage passive optical network; the PON network outside the user site consists of a main OLT, an external ODN and a main ONU, and the PON network inside the user site consists of a slave OLT, an internal ODN and a slave ONU.
In an example, fig. 3 is a network architecture diagram of a three-level passive optical network according to an embodiment of the present disclosure, and as shown in fig. 3, the three-level passive optical network includes a first level optical network unit, a first level optical distribution network, a first level optical line terminal (i.e., a second level optical network unit), a second level optical distribution network, a second level optical line terminal (i.e., a third level optical network unit), a third level optical distribution network, and a third level optical line terminal, where the number of the first level optical network units is plural, the number of the first level optical line terminals may be plural, and the number of the second level optical line terminals may be plural. The optical line terminal of the first level corresponds to a plurality of optical network units of the first level, and the optical line terminal of the first level is connected with the optical network units of the first level through an optical distribution network of the first level; the optical line terminal of the second level corresponds to a plurality of optical line terminals of the first level, and is connected with the optical line terminal of the first level through an optical distribution network of the second level; the optical line terminal of the first level and the optical network unit of the second level are integrated in the same hardware equipment; the optical line terminal of the third level corresponds to a plurality of optical line terminals of the second level, and the optical line terminal of the third level is connected with the optical line terminal of the second level through an optical distribution network of the third level; the optical line terminal of the second level and the optical network unit of the third level are integrated in the same hardware equipment.
By analogy with fig. 2 and 3, other multi-stage passive optical network structures can be obtained.
In a passive optical network, an optical network unit needs to acquire a bandwidth to transmit data. In one example, in a passive optical network as shown in fig. 1, an optical network unit needs to request a bandwidth from an optical line terminal, and then the optical line terminal allocates a bandwidth to the optical network unit, and then the optical line terminal authorizes the bandwidth for the optical network unit; after the optical network unit obtains the bandwidth allocated to the optical line terminal, the optical network unit completes the transmission of data and the like.
In one example, in a multi-stage passive optical network, for example, a two-stage passive optical network shown in fig. 2, and a three-stage passive optical network shown in fig. 3, the bandwidth allocation is also required to be completed.
In a multi-stage passive optical network, bandwidth allocation is subject to links of requesting bandwidth and bandwidth authorization; in a multi-stage passive optical network, in order to reduce the time delay of bandwidth allocation and improve the efficiency of data transmission, a method for completing bandwidth allocation quickly is needed.
Fig. 4 is a first signaling diagram of a bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application, and fig. 5 is a second signaling diagram of a bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 4 to 5, the method includes:
s101, the optical network unit of the first level sends a bandwidth request to the optical line terminal of the first level, wherein the bandwidth request comprises the cache state of the optical network unit of the first level.
In one example, the buffer status included in the bandwidth request in S101 represents the size of the data traffic required by the onu at the first level.
S102, the optical line terminal of the first level allocates bandwidth for the optical network unit of the first level, and sends the first bandwidth allocation information to the optical network unit of the first level.
S103, data transmission is carried out between the optical network unit of the first level and the optical line terminal of the first level, and data transmission is carried out between the optical network unit of the first level and other optical network units of the first level.
And S104, the optical line terminal of the first level requests the bandwidth of the optical line terminal of the second level, wherein the bandwidth request comprises the cache state of the optical line terminal of the first level.
In one example, the buffer status of the optical line terminal of the first level takes into account the buffer status of the optical network units of the first level. For example, the buffer status of the first level optical line terminal includes the buffer status of the first level optical network unit, or the buffer status of the first level optical line terminal includes part of the information in the buffer status of the first level optical network unit.
The buffer status of the first-level optical line terminal takes into account the buffer status of each first-level optical network unit connected to the first-level optical line terminal.
In one example, the buffer status included in the bandwidth request in S104 characterizes the amount of data traffic required by the optical line terminal of the first level.
And S105, the second-level optical line terminal allocates bandwidth to the first-level optical line terminal and sends second bandwidth allocation information to the first-level optical line terminal.
And S106, data transmission is carried out between the optical line terminal of the first level and the optical line terminal of the second level, and data transmission is carried out between the optical line terminal of the first level and other optical line terminals of the first level.
The bandwidth allocation of the two-stage multi-stage passive optical network can be completed through steps S101 to S106. However, in the above process, after the optical network unit of the first level is required to complete data transmission, the optical line terminal of the second level allocates bandwidth to the optical line terminal of the first level (i.e. the optical network unit of the second level); such a method causes a longer time delay of the whole bandwidth allocation, thereby affecting the efficiency of data transmission; especially for the first level optical line terminal (i.e. the second level optical network unit), the delay of its allocated bandwidth is long, which reduces the efficiency of data transmission of the first level optical line terminal (i.e. the second level optical network unit).
Moreover, in the process shown in steps S101 to S106, it is only necessary to complete multiple interactions (steps S101 to S103) to allocate a bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level), that is, in the above process, the two passive optical networks respectively perform their respective bandwidth allocation and data transmission processes, so that the time delay of the overall bandwidth allocation will be further increased; especially for the first level of the optical line termination (i.e. the second level of the optical network unit), the delay of its allocated bandwidth is long.
In the solutions shown in fig. 4 to fig. 5, the solutions are extended to a multi-level passive optical network (e.g., a two-level passive optical network, a three-level passive optical network, etc.), when bandwidth is allocated to an optical network unit of each level, for the reason that an optical line terminal of a next level is required to allocate bandwidth to an optical network unit of a corresponding level between optical line terminals of adjacent levels, and then after the optical network unit of the level completes data transmission, the optical line terminal of a previous level allocates bandwidth to the optical network unit of the corresponding level. In this way, when the bandwidth is allocated, for the adjacent optical line terminals, after the optical network unit of the next level needs to complete data transmission, the optical line terminal of the previous level allocates the bandwidth to the optical network unit of the corresponding level; such a method causes a longer time delay of the whole bandwidth allocation, thereby affecting the efficiency of data transmission; especially for the optical network unit of the previous level, the delay of the allocated bandwidth is long, which reduces the efficiency of data transmission of the optical network unit of the previous level.
In order to solve the problems of long time delay for allocating bandwidth and low data transmission efficiency, the embodiments of the present application may provide the following solutions.
Fig. 6 is a first signaling diagram of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 6, the method includes:
s201, the optical line terminal of the first level receives a first bandwidth request sent by the optical network unit of the first level, where the first bandwidth request includes a data traffic size requested by the optical network unit of the first level.
For example, the scheme provided by this embodiment may be applied to a multi-level passive optical network, where the multi-level passive optical network includes a plurality of levels of passive optical networks, each level of passive optical network includes a plurality of optical network units, an optical distribution network, and an optical line terminal, and each optical network unit is connected to the optical line terminal through the optical distribution network.
In this embodiment, the present invention relates to an optical network unit of a first level, an optical line terminal of a first level (i.e., an optical network unit of a second level), and an optical line terminal of a second level; the optical line terminal of the first level and the optical network unit of the second level are integrated on the same hardware equipment. Wherein the optical line terminal of the first level is an optical line terminal of a next level of the optical line terminal of the second level; the optical network unit of the upper level and the optical line terminal of the lower level are integrated on the same hardware equipment. Bandwidth needs to be allocated to the optical network units of each level in the multi-level passive optical network.
Firstly, an optical network unit of a first level can know the data traffic required by the optical network unit, and then sends a first bandwidth request to an optical line terminal of the first level; the first bandwidth request includes the cache state information of the first-level onu, and the cache state information represents the data traffic size requested by the first-level onu.
S202, the optical line terminal of the first level sends a first bandwidth size to the optical network unit of the first level, where the first bandwidth size represents a data traffic size requested by the first bandwidth request.
For example, in this embodiment, after receiving a first bandwidth request sent by an optical network unit of a first level, an optical line terminal of the first level allocates a bandwidth size for the optical network unit of the first level, that is, determines a bandwidth size corresponding to a data traffic size requested by the first bandwidth request, and the bandwidth size is referred to as a first bandwidth size.
Then, the optical line terminal of the first level sends the first bandwidth size to the optical network unit of the first level, so that the optical network unit of the first level obtains the bandwidth size. At this time, the optical line terminal of the first level allocates bandwidth to the optical network unit of the first level, that is, the optical network unit of the first level is allocated bandwidth.
S203, the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level, where the second bandwidth request includes a data traffic size requested by the optical line terminal of the first level, and the data traffic size requested by the optical line terminal of the first level includes a partial data traffic size in the data traffic size requested by the optical network unit of the first level.
Illustratively, while the first-level optical line terminal allocates bandwidth to the first-level optical network unit, the first-level optical line terminal may request bandwidth from the second-level optical line terminal; instead of waiting for the optical network unit of the first level to complete the data transmission before requesting the bandwidth from the optical line terminal of the second level. At this time, the first-level olt may determine how much data traffic needs to be requested according to the data traffic requested by the first-level onu and the data traffic required by the first-level olt itself, and then send the second bandwidth request to the second-level olt.
In one example, the size of the data traffic requested by the first bandwidth request sent by the optical network unit of the first level includes the size of the data traffic required when data interaction is performed between the optical network unit of the first level and other optical network units of the first level, and the size of the data traffic that the optical network unit of the first level is to flow to the optical line terminal of the second level; the traffic of the portion of data traffic of the data traffic size required for data interaction between the optical network unit of the first level and the optical network units of other first levels does not need to be requested by the optical line terminal of the second level, and further, the data traffic size requested by the optical line terminal of the first level does not need to include the portion of traffic of the data traffic size required for data interaction between the optical network unit of the first level and the optical network units of other first levels, and the data traffic size requested by the optical line terminal of the first level only needs to include the portion of data traffic size in the data traffic size requested by the optical network unit of the first level.
It is only necessary to execute step S202 and step S203 after step S201. The execution sequence of step S202 and step S203 is not limited, and step S202 and step S203 may be executed simultaneously; or, step S202 is executed first, and then step S203 is executed; alternatively, step S203 is executed first, and then step S202 is executed. In one example, to speed up the efficiency of bandwidth allocation, step S202 and step S203 may be performed simultaneously.
And S204, the optical line terminal of the first level receives a second bandwidth size sent by the optical line terminal of the second level, wherein the second bandwidth size represents a data traffic size requested by a second bandwidth request.
Illustratively, the second-level optical line terminal allocates bandwidth to the first-level optical line terminal according to the second bandwidth request, that is, determines a second bandwidth size provided for the first-level optical line terminal.
And the second-level optical line terminal sends the second bandwidth size to the first-level optical line terminal. At this time, the second-level optical line terminal completes the task of allocating the bandwidth to the first-level optical line terminal (i.e., the second-level optical network unit), that is, allocating the bandwidth to the first-level optical line terminal (i.e., the second-level optical network unit).
In one example, referring to the above procedure, in a two-stage passive optical network (such as the network architecture of the two-stage passive optical network shown in fig. 2), an optical network unit of a first level, referred to as a slave ONU; a first level of optical line termination, referred to as slave OLT; a first level of optical distribution network is called an internal ODU; the optical network unit of the second level is called a main ONU; the second level optical line terminal is called as a main OLT; the optical distribution network of the second level is called an external ODU; and the slave OLT and the main ONU are integrated in the same hardware equipment. Fig. 7 is a signaling diagram ii of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 7, the method includes:
s71, the slave ONU transmits a first bandwidth request to the slave OLT (i.e. the master ONU), wherein the first bandwidth request includes a data traffic size requested by the slave ONU.
S72, the slave OLT (i.e. the master ONU) sends a first bandwidth size to the slave ONU, where the first bandwidth size represents a data traffic size requested by the first bandwidth request.
S73, the slave OLT (i.e. the master ONU) sends a second bandwidth request to the master OLT, wherein the second bandwidth request includes the data traffic size requested by the slave OLT, and the data traffic size requested by the slave OLT includes a partial data traffic size of the data traffic size requested by the slave ONU.
In one example, to speed up the efficiency of bandwidth allocation, step S72 and step S73 may be performed simultaneously.
And S74, the main OLT sends a second bandwidth size to the slave OLT, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
In another example, referring to the above procedure, in a three-level passive optical network (such as the network architecture of the three-level passive optical network shown in fig. 3), the three-level passive optical network includes a first level optical network unit, a first level optical distribution network, a first level optical line terminal (i.e., a second level optical network unit), a second level optical distribution network, a second level optical line terminal (i.e., a third level optical network unit), a third level optical distribution network, and a third level optical line terminal, where the number of the first level optical network units is plural, the number of the first level optical line terminals may be plural, and the number of the second level optical line terminals may be plural. Fig. 8 is a signaling diagram of a third method for bandwidth scheduling based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 8, the method includes:
and S81, the optical network unit of the first level sends a first bandwidth request to the optical line terminal of the first level, wherein the first bandwidth request comprises the data traffic size requested by the optical network unit of the first level.
S82, the optical line terminal of the first level sends a first bandwidth size to the optical network unit of the first level, wherein the first bandwidth size represents the data traffic size requested by the first bandwidth request.
And S83, the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level, where the second bandwidth request includes a data traffic size requested by the optical line terminal of the first level, and the data traffic size requested by the optical line terminal of the first level includes a partial data traffic size in the data traffic size requested by the optical network unit of the first level.
In one example, to speed up the efficiency of bandwidth allocation, step S82 and step S83 may be performed simultaneously.
And S84, the optical line terminal of the second level sends a second bandwidth size to the optical line terminal of the first level, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
And S85, the optical line terminal of the second level sends a third bandwidth request to the optical line terminal of the third level, wherein the third bandwidth request includes the data traffic size requested by the optical line terminal of the second level, and the data traffic size requested by the optical line terminal of the second level includes a part of the data traffic size requested by the optical line terminal of the first level.
In one example, to increase the efficiency of bandwidth allocation, step S84 and step S85 may be performed simultaneously.
And S84, the optical line terminal of the third level sends a third bandwidth size to the optical line terminal of the second level, wherein the third bandwidth size represents the data traffic size requested by the third bandwidth request.
In still another example, the steps shown in fig. 7 and 8 may be referred to for other multi-level passive optical networks (e.g., four-level passive optical network and five-level passive optical network), and the steps shown in fig. 6 are performed for each level of the optical line terminal. For example, for other multi-stage passive optical networks (e.g., four-stage passive optical network, five-stage passive optical network), the optical line terminal of the current stage and the optical network unit of the current stage form a layer of passive optical network in the multi-stage passive optical network; the optical line terminal of the previous level, the optical network unit of the previous level (i.e. the optical line terminal of the current level) constitutes another layer of the passive optical network in the multi-level passive optical network.
The following process may then be performed: the optical line terminal at the current level receives a first bandwidth request sent by an optical network unit at the current level (an optical network unit corresponding to the optical line terminal at the current level), wherein the first bandwidth request comprises the size of data traffic requested by the optical network unit at the current level; the optical line terminal at the current level sends a first bandwidth size to the optical network unit at the current level, and the optical line terminal at the current level sends a second bandwidth request to the optical line terminal at the previous level, wherein the second bandwidth request comprises the data traffic size requested by the optical line terminal at the current level, the data traffic size requested by the optical line terminal at the current level comprises a part of the data traffic size in the data traffic size requested by the optical network unit at the current level, and the first bandwidth size represents the data traffic size requested by the first bandwidth request; and the optical line terminal of the current level receives a second bandwidth size sent by the optical line terminal of the previous level, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
In this embodiment, after receiving a first bandwidth request sent by a first level of optical network unit, the first level of optical line terminal allocates a bandwidth to the first level of optical network unit, and at the same time, the first level of optical line terminal sends a second bandwidth request to a second level of optical line terminal, and then the second level of optical line terminal allocates a bandwidth to the first level of optical line terminal. In the above process, first, when the optical line terminal of the first level allocates bandwidth to the optical network unit of the first level, the optical line terminal of the first level may request bandwidth to the optical line terminal of the second level; the optical line terminal of the first level requests the bandwidth from the optical line terminal of the second level without waiting for the optical network unit of the first level to finish data transmission; therefore, in the scheme of this embodiment, when the bandwidth is allocated, signaling interaction and data interaction are reduced, the time for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) can be shortened, and the time delay for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) is reduced; due to the reduced latency of bandwidth allocation for the first level of the olt (i.e. the second level of the onu), the overall latency of bandwidth allocation for the multi-level pon is also reduced. Moreover, because the time delay of bandwidth allocation is reduced, the data transmission efficiency of the optical line terminal of the first level (namely, the optical network unit of the second level) can be improved; and further, the overall data transmission efficiency of the multistage passive optical network is improved.
Fig. 9 is a first signaling diagram of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 9, the method includes:
s301, the optical line terminal of the first level receives a first bandwidth request sent by the optical network unit of the first level, where the first bandwidth request includes a data traffic requested by the optical network unit of the first level.
In one example, the data traffic size requested by the optical network unit of the first level includes a first traffic value and a second traffic value.
The first traffic value is the data traffic value requested when data interaction is carried out between the optical network unit of the first level and the optical network units of other first levels; the second traffic value is the size of data traffic to be sent to the second level optical line terminal by the first level optical network unit.
In one example, the first flow value has a first identification and the second flow value has a second identification.
For example, the scheme provided by this embodiment may be applied to a multi-level passive optical network, where the multi-level passive optical network includes a plurality of levels of passive optical networks, each level of passive optical network includes a plurality of optical network units, an optical distribution network, and an optical line terminal, and each optical network unit is connected to the optical line terminal through the optical distribution network.
In an example, in a passive optical network, in the schemes shown in fig. 3 to 5, when an optical network unit of each level requests a bandwidth to an optical line terminal of a next level, a bandwidth request sent by the optical network unit of each level to the optical line terminal of the next level only includes a data traffic size required by data to be sent in a local cache of the optical network unit of the current level; here, see the definition in the protocol international telecommunications union (ITU-T) g.987.3, the reported buffer status of the optical network unit at each level only considers the data traffic size required by the data to be sent in the local buffer of the optical network unit, that is: tcont _ dbru = tcont _ buffer _ allocation, where tcont _ dbru is a data traffic size requested by a bandwidth request sent by an optical network unit of each level to an optical line terminal of a previous level, and tcont _ buffer _ allocation is a data traffic size required by data to be sent in a local cache of the optical network unit of each level. The data traffic requested in the solutions shown in fig. 4 to fig. 5 does not meet the requirements of the multi-stage passive optical network, and the bandwidth allocated to the optical network unit of each stage cannot meet the requirements of the optical network unit.
In this embodiment, in the multi-level passive optical network, the optical network unit and the optical line terminal in each level of the passive optical network may not interact with the devices in other levels of the passive optical networks, and at this time, the data traffic in the level of the passive optical network does not need to flow to the passive optical networks in other levels; data traffic that does not flow to other levels of the passive optical network may be referred to as internal traffic of the optical network unit, or may be referred to as internal network traffic. The internal traffic of the optical network unit belongs to the traffic of the internal network.
In addition, in the multi-level passive optical network, the optical network unit in the passive optical network of each level needs to interact with the devices in the passive optical networks of other levels, and at this time, the data traffic of the optical network unit in the passive optical network of the level needs to flow to the passive optical networks of other levels; data traffic that needs to flow to other levels of the passive optical network and belongs to the optical network unit may be referred to as external traffic of the optical network unit. The external traffic of the optical network unit belongs to the traffic of an external network.
The optical line terminal in the passive optical network of each level needs to interact with the devices in the passive optical networks of other levels, and at this time, the data traffic of the optical line terminal in the passive optical network of the level needs to flow to the passive optical networks of other levels; data traffic that needs to flow to other levels of passive optical networks and belongs to the optical line termination may be referred to as external traffic of the optical line termination. The external traffic of the optical line terminal belongs to the traffic of an external network.
On the basis of the definition of the flow, the analysis of the multi-level passive optical network shows that the internal flow of the optical network unit is only transmitted between the optical network unit and the optical line terminal in the passive optical network of the level to which the optical network unit belongs for the passive optical network of each level; the internal flow of the optical network unit does not occupy the bandwidth of each device of the upper-stage passive optical network; therefore, the optical line terminal of the current level does not need to request the bandwidth required by the internal flow of the optical network unit to the optical line terminal of the previous level. Furthermore, in the multi-stage passive optical network, it is necessary to distinguish between traffic of an internal network and traffic of an external network, that is, between internal traffic and external traffic (internal traffic of an optical network unit, external traffic of an optical network unit, and external traffic of an optical line terminal).
For example, for the two-stage passive optical network shown in fig. 2, the internal traffic of the optical network unit (slave ONU) of the first level refers to the traffic occupied by "optical network unit of the first level (slave ONU) > optical line terminal of the first level (slave OLT) > optical network unit of the other first level (other slave ONU)", in the flow direction of data. The external traffic of the optical network unit (slave ONU) of the first level refers to the traffic occupied by the flow direction of data "optical network unit of the first level (slave ONU) > optical line terminal of the first level (slave OLT)". The external traffic of the optical line terminal (slave OLT) of the first level refers to the traffic occupied by the flow of data "the optical line terminal (slave OLT) of the first level" > the optical line terminal (master OLT) of the second level ". That is, the flow of data is the traffic occupied by "optical network unit (main ONU) of the second level" > optical line terminal (main OLT) of the second level ". The internal traffic of the optical network unit (slave ONU) of the first level is only transmitted among the optical network unit of the first level, the optical line terminal of the first level and other optical network units of the first level; the internal traffic of the optical network unit (slave ONU) of the first level does not occupy the bandwidth of each device of the passive optical network of the upper level, that is, the bandwidth between the optical network unit (master ONU) of the second level and the optical line terminal (master OLT) of the second level is not occupied; so that the optical line terminal of the first level (slave OLT) does not need to request the bandwidth required for the internal traffic of the optical network units of the first level (slave ONUs) to the optical line terminal of the second level (master OLT).
Based on the above analysis, in the present embodiment, it is necessary to distinguish between internal traffic and external traffic (internal traffic of the optical network unit, external traffic of the optical network unit, and external traffic of the optical line terminal).
First, the onu at the first level may obtain how much data traffic is needed by itself, and here, the onu at the first level may determine its internal traffic and external traffic. The data traffic requested when performing data interaction between the optical network unit of the first level and the optical network units of other first levels (the optical network unit of the first level and the optical network units of other first levels through the optical line terminal of the first level) is the internal traffic of the optical network unit of the first level, and the data traffic at this time may be referred to as a first traffic value. The size of the data traffic to be sent to the optical line terminal of the second level by the optical network unit of the first level is the external traffic of the optical network unit of the first level, and the size of the data traffic at this time may be referred to as a second traffic value.
Meanwhile, in order to distinguish which part of the flow is the first flow value and which part of the flow is the second flow value, a first identifier is configured for the first flow value, and a second identifier is configured for the second flow value. Wherein, the first identifier may be any one of the following: a transport container (T-CONT) identifier, a physical access control (MAC) address, other addresses, a traffic class, a field; and, the first identification includes, but is not limited to, the above cases. The first identifier may be any one of: T-CONT identification, MAC address, other address, service classification and field; and, the second identifier includes but is not limited to the above cases.
The optical network unit of the first level sends a first bandwidth request to the optical line terminal of the first level; the data traffic size requested by the first bandwidth request is the data traffic size requested by the first-level optical network unit; the data traffic size requested by the first bandwidth request includes internal traffic of the optical network unit of the first level and external traffic of the optical network unit of the first level, that is, the data traffic size requested by the first bandwidth request includes a first traffic value and a second traffic value.
In one example, before performing step 301, in order to distinguish between internal traffic and external traffic, the optical line terminal at the highest level determines a traffic mapping rule, where the traffic mapping rule characterizes an identifier for indicating internal traffic and an identifier for indicating external traffic. For example, the traffic mapping rule indicates that mac address 1 is used to indicate internal traffic of the optical network unit and mac address 2 is used to indicate external traffic of the optical network unit; or, the traffic mapping rule indicates that field 1 is used for indicating the internal traffic of the optical network unit, and field 2 is used for indicating the external traffic of the optical network unit; or, the traffic mapping rule indicates that the data traffic under the service type 1 is the internal traffic of the optical network unit, and the data traffic under the service type 2 is the internal traffic of the optical network unit; or the traffic mapping rule indicates that T-CONT1 is used for storing the internal traffic of the optical network unit and T-CONT2 is used for storing the external traffic of the optical network unit.
Then, the optical line terminal of the highest level sends the flow mapping rule to the optical network unit of the highest level; the optical network unit at the highest level also configures the same traffic mapping rule, for example, the traffic mapping rule configured by the optical line terminal at the highest level is T-CONT1 for storing the internal traffic of the optical network unit at the highest level, T-CONT2 for storing the external traffic of the optical network unit at the highest level, the traffic mapping rule configured by the optical network unit at the highest level is T-CONT3 for storing the internal traffic of the optical network unit at the next level, and T-CONT4 for storing the external traffic of the optical network unit at the next level; the optical network unit at the highest level sends the configured flow mapping rule to the optical network unit at the next level; and by analogy, the traffic mapping rule is configured in the passive optical network of each level.
In another example, before step 301 is performed, in order to distinguish between internal traffic and external traffic, a traffic mapping rule is configured for each level of the passive optical network, and the traffic mapping rule characterizes an identifier for indicating internal traffic and an identifier for indicating external traffic. At this time, the traffic mapping rule does not need to be configured layer by layer downward.
For example, fig. 10 is a schematic diagram illustrating the differentiation between internal traffic and external traffic provided in the embodiment of the present application, and as shown in fig. 10, the data flow direction of the multi-stage passive optical network is as follows:
the optical network unit of the second level may generate a forwarding table (forwarding word); the forwarding table includes a plurality of forwarding table entries, where each forwarding table entry is used to indicate a destination port of data (or a packet) (i.e., from which port the packet flows to which destination port); the forwarding table may be a MAC address forwarding table, i.e. each forwarding table entry indicates the MAC address of the destination port. The second-level optical network unit sends the forwarding table entry of the port of the optical network unit with the destination port of the second level and the port of the optical network unit with the destination port of the first level to the first-level optical network unit; so that the optical network unit of the first level can know destination ports of different data (or different messages).
The first-level optical network unit sends a message of which the destination port is the port of the current first-level optical network unit to the destination port according to the forwarding table item; for example, the optical network unit of the first level has a wireless broadband (wifi) port and an ethernet (interface ethernet) port, and when a packet needs to be sent from the wifi port to the ethernet port, the optical network unit of the first level sends the packet from the wifi port of the optical network unit of the first level to the ethernet port of the optical network unit of the first level. In this case, data flows from one port of the optical network unit to another port of the same optical network unit; the data traffic generated at this time does not need the optical line terminal of the first level to allocate bandwidth.
The optical network unit of the first level sends the message of which the destination port is the port of the optical network unit of other first level to the destination port according to the forwarding table item; for example, when a message needs to be sent from the wifi port of the onu at the first level to the wifi ports of the onu at other first levels, the onu at the first level sends the message from the wifi port of the onu at the first level to the wifi ports of the onu at other first levels through the olt at the first level. In this case, the data sequentially passes through the first-level optical network unit, the first-level optical line terminal, and other first-level optical network units; the data traffic generated at this time does not need the bandwidth allocated by the optical line terminal of the first level, and the data traffic generated at this time is the internal traffic of the optical network unit of the first level.
The optical line terminal of the first level and the optical network unit of the second level are integrated in the same hardware equipment.
And the optical network unit of the first level needs to send the message to the optical network unit of the second level according to the forwarding table entry. In this case, the data sequentially passes through the optical network unit of the first level and the optical network unit of the second level; the data traffic generated at this time needs the optical line terminal of the first level to allocate bandwidth, and the data traffic generated at this time is the external traffic of the optical network unit of the first level.
The optical network unit of the second level (the optical line terminal of the first level) needs to send the message to the optical line terminal of the second level. In this case, the data sequentially passes through the optical network unit of the second level (the optical line terminal of the first level) and the optical line terminal of the second level; the data traffic generated at this time needs the second-level olt to allocate bandwidth, and the data traffic generated at this time is external traffic of the second-level onu (first-level olt).
As shown in fig. 10, the traffic mapping rule is as follows:
the second-level optical line terminal is configured with a traffic mapping rule, wherein the traffic mapping rule indicates T-CONT1 for storing internal traffic of the second-level optical network unit and T-CONT2 for storing external traffic of the second-level optical network unit; and the second-level optical line terminal sends the traffic mapping rule to the second-level optical network unit (the first-level optical line terminal). Therefore, the optical network unit of the second level (the optical line terminal of the first level) stores the data traffic size of the internal traffic of the optical network unit of the second level in T-CONT1, and stores the data traffic size of the external traffic of the optical network unit of the second level in T-CONT 2.
The optical line terminal of the first level (the optical network unit of the second level) is configured with a traffic mapping rule, and the traffic mapping rule indicates T-CONT3 for storing internal traffic of the optical network unit of the first level and T-CONT4 for storing external traffic of the optical network unit of the first level; and the optical line terminal of the first level (the optical network unit of the second level) sends the traffic mapping rule to the optical network unit of the first level. Therefore, the optical network unit of the first level stores the data traffic of the internal traffic of the optical network unit of the first level in T-CONT3, and stores the data traffic of the external traffic of the optical network unit of the first level in T-CONT4.
Based on the above description, in fig. 10, the optical network unit of the first level may determine the internal traffic of the optical network unit of the first level, and refer to the size of the internal traffic as the first traffic value; and, in order to distinguish between the internal traffic and the external traffic, the first traffic value is stored into T-CONT3, and further, the first traffic value has a first identification T-CONT3. The first-level optical network unit may determine external traffic of the first-level optical network unit, and refer to the size of the external traffic as a second traffic value; and, in order to distinguish between the internal traffic and the external traffic, a second traffic value is stored in T-CONT4, and further, the second traffic value has a second identification T-CONT4.
Then, the optical network unit of the first level sends a first bandwidth request to the optical line terminal of the first level, wherein the first bandwidth request comprises a first traffic value and a second traffic value, the first traffic value has a first identifier T-CONT3, and the second traffic value has a second identifier T-CONT4.
S302, the optical line terminal of the first level sends a first bandwidth size to the optical network unit of the first level, where the first bandwidth size represents a data traffic size requested by the first bandwidth request.
For example, after receiving a first bandwidth request sent by a first level of optical network unit, the first level of optical line terminal may allocate a bandwidth to the first level of optical network unit, and further determine a first bandwidth size allocated to the first level of optical network unit; and the optical line terminal of the first level sends the optical line terminal of the first level to the optical network unit of the first level.
The optical line terminal of the first level is connected with a plurality of optical network units of the first level, and when the optical line terminal of the first level receives a bandwidth request sent by one optical network unit of the first level, the optical line terminal of the first level can directly allocate bandwidth to the optical network unit of the first level.
S303, the optical line terminal of the first level receives, in one period, a third bandwidth request sent by at least one optical network unit of another first level, where the third bandwidth request includes a data traffic size requested by the optical network unit of another first level.
Illustratively, the first bandwidth request initiated by the first level of onu includes an internal traffic of the first level of onu and an external traffic of the first level of onu, where the internal traffic of the first level of onu does not require the second level of olt to allocate bandwidth, and the internal traffic of the first level of onu requires the first level of olt (the second level of onu) to allocate bandwidth; therefore, the internal traffic of the optical network unit of the first level does not need to be reported to the optical line terminal of the second level. Meanwhile, the external traffic of the first level of the onu needs the second level of the olt to allocate bandwidth; therefore, the external traffic of the onu at the first level needs to be reported to the olt at the second level.
In this embodiment, when the optical line terminal of the first level requests a bandwidth for external traffic of the optical network unit of the first level, traffic requirements of other optical network units of the first level need to be considered; furthermore, before the first-level optical line terminal sends the second bandwidth request to the second-level optical line terminal, a third bandwidth request sent by one or more other optical network units of the first level may be received, where the third bandwidth request includes internal traffic of the other optical network units of the first level and external traffic of the other optical network units of the first level. In addition, in one example, the optical line terminal of the first level receives bandwidth requests sent by one or more optical network units of the first level in one period.
The unit of the above-mentioned "one period" may be time, slot (slot), sub-slot, and so on.
In one example, after receiving the third bandwidth request sent by the other first-level optical network units, the optical line terminal of the first level may allocate bandwidths to the other first-level optical network units.
The execution sequence of step 302 and step 303 is not limited, and the execution is performed according to the actual time of the bandwidth request initiated by each device in the multi-stage passive optical network; step 302 may be performed first, and then step 303 may be performed; or, step 303 is executed first, and then step 302 is executed; alternatively, step 302 and step 303 are performed simultaneously.
S304, the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level, where the second bandwidth request includes a data traffic size requested by the optical line terminal of the first level, and the data traffic size requested by the optical line terminal of the first level includes a partial data traffic size in the data traffic size requested by the optical network unit of the first level.
In one example, the data traffic size requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value.
The third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal.
The fourth traffic value is a sum of second traffic values of the optical network units of the first level communicating with the optical line terminal of the first level, and the second traffic value is a data traffic amount of the optical network units of the first level about to flow to the optical line terminal of the second level.
In one example, S304 specifically includes: and the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
Illustratively, the optical line terminal of the first level has received one or more bandwidth requests sent by the optical network units of the first level, and the bandwidth requests sent by the optical network units of the first level include internal traffic of the optical network units of the first level (i.e., a first traffic value of the optical network units of the first level) and external traffic of the optical network units of the first level (i.e., a second traffic value of the optical network units of the first level). The internal traffic of the onu at the first level (i.e. the first traffic value of the onu at the first level) only needs to allocate bandwidth to the olt at the first level, and does not need to report the bandwidth to the olt at the second level; however, the external traffic of the onu at the first level (i.e., the second traffic value of the onu at the first level) needs to be allocated with a bandwidth by the olt at the second level, and then needs to be reported to the olt at the second level.
Meanwhile, the optical line terminal of the first level (i.e., the optical network unit of the second level) also has external traffic of the optical line terminal of the first level, which is used for data transmission from the optical line terminal of the first level to the optical line terminal of the second level. The external traffic of the first level of the optical line terminal also needs the bandwidth allocated by the second level of the optical line terminal, and further needs to be reported to the second level of the optical line terminal.
According to the above description, the optical line terminal of the first level needs to count the traffic that needs to be reported to the optical line terminal of the second level.
After the first-level optical line terminal has received the bandwidth request sent by one or more first-level optical network units, the external traffic of each first-level optical network unit (i.e., the second traffic value of each first-level optical network unit) can be determined; then, the first-level optical line terminal sums the acquired external traffic of each first-level optical network unit (i.e., the second traffic values of each first-level optical network unit) to obtain a fourth traffic value
Figure BDA0002560933870000171
The ont _ upstream _ tcont _ dbru is a second traffic value of the first-level optical network unit, N is the total number of the first-level optical network units which send bandwidth requests to the first-level optical line terminal within one period, N is a positive integer, and i is a positive integer greater than or equal to 1 and less than or equal to N.
Meanwhile, the optical line terminal of the first level can determine the internal flow and the external flow of the optical line terminal, so that the optical line terminal of the first level can determine the data flow required when data interaction is performed between the optical line terminal of the first level and the optical line terminal of the second level, and the data flow is called as a third flow; the third flow size needs to be reported to the optical line terminal of the second level.
The first-level olt may sum up the external traffic of the first-level olt (i.e., the third traffic), and the external traffic of each first-level onu (i.e., the second traffic of the first-level onu) acquired in one period, to determine the data traffic requested by the first-level olt. For example, the data traffic requested by the first level of the olt is of the size
Figure BDA0002560933870000173
Wherein ont _ tcont _ buffer _ allocation is the external traffic (i.e., the third traffic size) of the first-class olt,
Figure BDA0002560933870000172
is the fourth flow value.
It can be known that the data traffic size requested by the first level optical line terminal includes a partial data traffic size in the data traffic size requested by the first level optical network unit, that is, includes external traffic of the first level optical network unit in the data traffic size requested by the first level optical network unit.
Then, the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level according to the summarized data traffic (i.e., the third traffic and the second traffic of each optical network unit of the first level), and requests a bandwidth from the optical line terminal of the second level.
In step 304, the first-level olt (i.e., the second-level onu) obtains uplink dynamic bandwidth report (DBRu) information by aggregating according to the bandwidth request sent by the first-level onu and the external traffic requirement (i.e., the buffer status) of the first-level olt within a period, and then sends a second bandwidth request to the second-level olt. Therefore, the optical line terminal of the first level initiates a bandwidth request to the optical line terminal of the second level based on the external traffic of each optical network unit of the first level communicating with the optical line terminal of the first level, so as to allocate bandwidth to each optical network unit of the first level.
Based on steps 301 to 304, when the optical line terminal of the first level allocates bandwidth to the optical network unit of the first level, the optical line terminal of the first level requests the optical line terminal of the second level for bandwidth based on the external traffic demand of each optical network unit of the first level in a period; and the optical line terminal of the first level requests the bandwidth from the optical line terminal of the second level without waiting for the optical network unit of the first level to finish data transmission. Therefore, before the optical network unit of the first level sends data, the optical line terminal of the first level may calculate the external traffic of the optical line terminal of the first level and the external traffic of the optical network unit of the first level in advance, that is, calculate the whole external traffic required by the optical line terminal of the first level at the next time in advance; the optical line terminal of the first level reports the required data flow to the optical line terminal of the second level in advance before the optical network unit of the first level sends data, so that the optical line terminal of the second level allocates a good bandwidth for the optical line terminal of the first level in advance. Furthermore, the time for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) is shortened, and the time delay for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) is reduced.
And, based on steps 301-304, bandwidth can be de-allocated for each level of the optical network unit in the multi-level passive optical network, and joint scheduling of the overall bandwidth of the multi-level passive optical network and Dynamic Bandwidth Allocation (DBA) are completed.
S305, the optical line terminal of the first level receives the data sent by the optical network unit of the first level.
Illustratively, after step S302, the optical network unit of the first level receives the first bandwidth size fed back by the optical line terminal of the first level, and then the optical network unit of the first level obtains the requested data traffic. Then, the optical network unit of the first level may send data to the optical line terminal of the first level by using the first bandwidth size; at this time, the optical line terminal of the first level may send data to the optical network units of other first levels, or perform other processing on the received data (for example, send the data to other devices in the multi-level passive optical network).
That is, after step S302, step S305 may be performed. The execution order between step S305 and steps S303 to S304 is not limited.
S306, the optical line terminal of the first level receives a second bandwidth size sent by the optical line terminal of the second level, where the second bandwidth size represents a data traffic size requested by the second bandwidth request.
Illustratively, after step S304, the optical line terminal of the second level allocates bandwidth to the optical line terminal of the first level according to the received second bandwidth request. The second-level optical line terminal allocates bandwidth for the first-level optical line terminal, and the first-level optical network unit sends data to the first-level optical line terminal, without mutual interference between the first-level optical line terminal and the first-level optical network unit.
The second-level optical line terminal determines a second bandwidth size, and the second bandwidth size can support the external traffic requirement of the first-level optical line terminal and the external traffic requirement of the first-level optical network unit. And the second level optical line terminal sends the second bandwidth size to the first level optical line terminal.
It should be noted that step S306 only needs to be executed after step S304; the execution order between steps S306 and S305 is not limited.
And S307, the optical line terminal of the first level sends data to the optical line terminal of the second level.
Illustratively, after step S306, the optical line terminal of the first level is allocated with a bandwidth, and the optical line terminal of the first level may transmit data to the optical line terminal of the second level with the second bandwidth size.
In one example, the first-level optical line terminal may send data generated by itself to the second-level optical line terminal due to the requirement that the second bandwidth size can support external traffic of the first-level optical line terminal. The second bandwidth size may support a requirement of an external traffic of the optical network unit of the first level, and at this time, the optical line terminal of the first level receives data sent by the optical network unit of the first level, where the data needs to be sent to the optical line terminal of the second level; therefore, the optical line terminal of the first level transmits the data transmitted by the optical network unit of the first level to the optical line terminal of the second level.
It is understood that after step S306, step S307 is performed.
In one example, referring to the above procedure, in a two-stage passive optical network (such as the network architecture of the two-stage passive optical network shown in fig. 2), an optical network unit of a first level, referred to as a slave ONU; a first level of optical line termination, referred to as slave OLT; a first level of optical distribution network is called an internal ODU; the optical network unit of the second level is called a main ONU; the second level optical line terminal is called as a main OLT; the optical distribution network of the second level is called an external ODU; and the slave OLT and the main ONU are integrated in the same hardware equipment. Fig. 11 is a signaling diagram ii of another bandwidth scheduling method based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 11, the method includes:
and S111, sending a first bandwidth request from the ONU to the slave OLT, wherein the first bandwidth request comprises the data traffic size requested by the ONU.
In one example, the data traffic size requested from the ONU comprises a first traffic value and a second traffic value.
The first flow value is the data flow requested when data interaction is carried out between the slave ONU and other slave ONUs; the second traffic value is the amount of data traffic that the slave ONU will flow to the master OLT. The first flow value has a first identification and the second flow value has a second identification.
And S112, sending the first bandwidth size from the OLT to the slave ONU, wherein the first bandwidth size represents the data traffic size requested by the first bandwidth request.
S113, receiving, from the OLT, a third bandwidth request sent by at least one other slave ONU in one period, where the third bandwidth request includes data traffic size requested by the other slave ONU.
S114, the slave OLT sends a second bandwidth request to the master OLT, where the second bandwidth request includes a data traffic size requested by the slave OLT.
In one example, the requested data traffic size from the OLT includes a third traffic value and a fourth traffic value.
The third flow value is the data flow requested when data interaction is performed between the slave OLT and the master OLT. The fourth traffic value is the sum of second traffic values sent by the slave ONUs received by the slave OLT in one period, and the second traffic value is the amount of data traffic to be sent from the slave ONUs to the master OLT.
And S115, the slave ONU transmits data to the slave OLT.
And S116, the main OLT sends a second bandwidth size to the slave OLT, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
S117, the slave OLT transmits data to the master OLT.
For example, in the signaling diagram shown in fig. 11, the two-stage passive optical network includes two slave ONUs, one slave OLT, one master ONU, and one master OLT; the two slave ONUs are the slave ONU1 and the slave ONU2, respectively. The distributions of internal traffic and external traffic of the slave ONU1, the slave ONU2, and the master ONU (i.e., the slave OLT) are shown in table 1
Table 1 traffic status of slave and master ONUs
Figure BDA0002560933870000191
Figure BDA0002560933870000201
T-CONT1 of the slave ONU1 for storing the external traffic of the slave ONU 1; the external traffic from ONU1 is 50MB; thus, external traffic from the ONU1 enters the T-CONT1 of the slave ONU 1. T-CONT2 of the slave ONU1, which is used for storing the internal flow of the slave ONU 1; the internal traffic from ONU1 is 100MB; accordingly, the internal traffic from the ONU1 enters the T-CONT2 of the slave ONU 1.
T-CONT1 of the slave ONU2, which is used for storing the external traffic of the slave ONU 2; the external traffic from ONU2 is 40MB; thus, external traffic from the ONU2 enters the T-CONT1 of the slave ONU2. The T-CONT2 of the slave ONU2 is used for storing the internal flow of the slave ONU 2; the internal traffic from ONU2 is 80MB; accordingly, the internal traffic from the ONU2 enters the T-CONT2 of the slave ONU2.
The slave ONU1 transmits a first bandwidth request for requesting internal traffic of the slave ONU1 and external traffic of the slave ONU1 to the master ONU (i.e., the slave OLT). Accordingly, the slave ONU1 reports the buffer status of the T-CONT1 of the slave ONU1 and the buffer status of the T-CONT2 of the slave ONU1 to the master ONU (i.e., the slave OLT); the buffer status of the T-CONT1 of the slave ONU1 indicates the external traffic 50MB from the ONU1, and the buffer status of the T-CONT2 of the slave ONU1 indicates the internal traffic 100MB from the ONU 1. Further, the master ONU (i.e., the slave OLT) allocates a bandwidth to the slave ONU1 in accordance with the first bandwidth request.
Also, the slave ONU2 transmits a third bandwidth request for requesting the internal traffic of the slave ONU2 and the external traffic of the slave ONU2 to the master ONU (i.e., the slave OLT). Accordingly, the slave ONU2 reports the buffer status of the T-CONT1 of the slave ONU2 and the buffer status of the T-CONT2 of the slave ONU2 to the master ONU (i.e., the slave OLT); the buffer state of the T-CONT1 of the slave ONU2 indicates the external traffic 40MB from the ONU2, and the buffer state of the T-CONT2 of the slave ONU2 indicates the internal traffic 80MB from the ONU2. Further, the master ONU (i.e., the slave OLT) allocates a bandwidth to the slave ONU2 in accordance with the third bandwidth request.
Meanwhile, the T-CONT1 of the main ONU is used for storing the external flow of the main ONU; the external flow of the main ONU is 30MB; thus, the external traffic of the main ONU enters the T-CONT1 of the main ONU. The T-CONT2 of the main ONU is used for storing the internal flow of the main ONU; the internal flow of the main ONU is 50MB; thus, the internal traffic of the main ONU will enter the T-CONT2 of the main ONU.
Further, the main ONU may specify the external traffic of the slave ONU1 and the external traffic of the slave ONU2 based on the first bandwidth request transmitted from the ONU1 and the third bandwidth request transmitted from the ONU2. Main ONU calculates one data traffic size =50mb +40mb +30mb =120mb from external traffic 50MB from ONU1, external traffic 40MB from ONU2, and external traffic 30MB from main ONU; the main ONU sends a second bandwidth request to the main OLT, and the second bandwidth request is used for requesting the data traffic of 120MB; and the main OLT allocates the bandwidth for the main ONU according to the second bandwidth request.
In another example, referring to the above procedure, in a three-level passive optical network (such as the network architecture of the three-level passive optical network shown in fig. 3), the three-level passive optical network includes a first level optical network unit, a first level optical distribution network, a first level optical line terminal (i.e., a second level optical network unit), a second level optical distribution network, a second level optical line terminal (i.e., a third level optical network unit), a third level optical distribution network, and a third level optical line terminal, where the number of the first level optical network units is plural, the number of the first level optical line terminals may be plural, and the number of the second level optical line terminals may be plural. Fig. 12 is a signaling diagram of a third method for bandwidth scheduling based on a multi-stage passive optical network according to an embodiment of the present application, as shown in fig. 12, the method includes:
s121, the optical network unit of the first level sends a first bandwidth request to the optical line terminal of the first level, where the first bandwidth request includes a data traffic size requested by the optical network unit of the first level.
In one example, the data traffic size requested by the first level of the optical network unit includes a first traffic value and a second traffic value.
The first flow value is the data flow requested when the optical network unit of the first level and the optical network units of other first levels carry out data interaction; the second traffic value is the size of data traffic to be sent to the second level optical line terminal by the first level optical network unit. The first flow value has a first designation and the second flow value has a second designation.
S122, the optical line terminal of the first level sends a first bandwidth size to the optical network unit of the first level, where the first bandwidth size represents a data traffic size requested by the first bandwidth request.
Illustratively, step S122 may be performed immediately after step S121.
S123, the optical line terminal of the first level receives, in one period, a third bandwidth request sent by at least one other optical network unit of the first level, where the third bandwidth request includes a data traffic size requested by the other optical network unit of the first level.
Illustratively, the order of execution between steps S123 and steps S121-S1212 is not limiting. In one example, the optical line terminal of the first level receives a bandwidth request sent by one or more optical network units of the first level within one period, and the bandwidth request includes a data traffic size requested by the optical network units of the first level.
S124, the optical line terminal of the first level sends a second bandwidth request to the optical line terminal of the second level, where the second bandwidth request includes a data traffic size requested by the optical line terminal of the first level.
In one example, the data traffic size requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value.
The third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal. The fourth traffic value is the sum of second traffic values sent by the first-level optical network units and received by the first-level optical line terminal in one period, and the second traffic value is the size of data traffic to be sent to the second-level optical line terminal by the first-level optical network units.
For example, after receiving the bandwidth request sent by each optical network unit of the first level within one period, the optical line terminal of the first level may send a second bandwidth request to the optical line terminal of the second level. That is, after step S123, step S124 may be performed.
And S125, the optical network unit of the first level sends data to the optical line terminal of the first level.
For example, after step S122, step S125 may be executed.
S126, the second-level optical line terminal sends a second bandwidth size to the first-level optical line terminal, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request
Illustratively, after step S124, step S126 may be performed.
S127, the optical line terminal of the second level sends a fourth bandwidth request to the optical line terminal of the third level, where the fourth bandwidth request includes a data traffic size requested by the optical line terminal of the second level.
For example, the second-level optical line terminal may send a fourth bandwidth request to the third-level optical line terminal according to the external traffic of the first-level optical line terminal and the external traffic of the second-level optical line terminal, which are in the bandwidth requests sent by the first-level optical line terminals (i.e., the second-level optical network units) received in one cycle.
After step S124, step S127 may be performed. Also, the execution order between step S126 and step S127 is not limited.
And S128, the optical line terminal of the first level sends data to the optical line terminal of the second level.
Illustratively, after step S126, step 128 may be performed.
And S129, the optical line terminal of the third level sends a third bandwidth size to the optical line terminal of the second level, and the third bandwidth size represents the data traffic size requested by the fourth bandwidth request.
Illustratively, after step S127, step 129 may be performed.
And S130, the optical line terminal of the second level sends data to the optical line terminal of the third level.
Illustratively, after step S129, step S130 may be performed.
In still another example, referring to the steps shown in fig. 11 and 12, the steps shown in fig. 9 may be performed for other multi-level passive optical networks (e.g., four-level passive optical network, five-level passive optical network). For example, for other multi-stage passive optical networks (e.g., four-stage passive optical network, five-stage passive optical network), the optical line terminal and the optical network unit at the current stage form a layer of passive optical network in the multi-stage passive optical network; the optical line terminal of the previous level, the optical network unit of the previous level (i.e. the optical line terminal of the current level) constitutes another layer of the passive optical network in the multi-level passive optical network.
In this embodiment, on the basis of the above embodiment, for each level of the passive optical network, the internal traffic of the onu is transmitted only between the onu in the passive optical network at the level to which the onu belongs and the olt; the internal flow of the optical network unit does not occupy the bandwidth of each device of the upper-stage passive optical network; therefore, the optical line terminal of the current level does not need to request the bandwidth required by the internal flow of the optical network unit to the optical line terminal of the previous level; however, the external traffic of the onu needs the olt in the upper-level pon to allocate bandwidth. Therefore, in the multi-stage passive optical network, it is necessary to distinguish between internal traffic and external traffic (internal traffic of the optical network unit, external traffic of the optical network unit, and external traffic of the optical line terminal). Further, bandwidth allocation of the multi-stage passive optical network is completed based on the internal flow and the external flow; the accuracy of bandwidth allocation can be improved, and data transmission of each device in the multistage passive optical network is guaranteed. In addition, before the optical network unit of the first level sends data, the optical line terminal of the first level may calculate the external traffic of the optical line terminal of the first level and the external traffic of the optical network unit of the first level in advance, that is, calculate the whole external traffic required by the optical line terminal of the first level at the next time in advance; the optical line terminal of the first level reports the required data flow to the optical line terminal of the second level in advance before the optical network unit of the first level sends data, so that the optical line terminal of the second level allocates a good bandwidth for the optical line terminal of the first level in advance. Furthermore, the time for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) is shortened, and the time delay for allocating the bandwidth to the optical line terminal of the first level (i.e., the optical network unit of the second level) is reduced. Furthermore, the bandwidth allocation time delay of the whole multistage passive optical network is reduced, and the whole data transmission efficiency of the multistage passive optical network is improved.
Fig. 13 is a schematic structural diagram of a bandwidth scheduling system based on a multi-stage passive optical network according to an embodiment of the present application, and as shown in fig. 13, the bandwidth scheduling system includes: a first level of optical network units and a first level of optical line terminals.
And the first-level optical network unit is used for sending a first bandwidth request to the first-level optical line terminal, wherein the first bandwidth request comprises the data traffic size requested by the first-level optical network unit.
The optical line terminal of the first level is used for sending a first bandwidth size to the optical network unit of the first level and sending a second bandwidth request to the optical line terminal of the second level, wherein the second bandwidth request comprises the data traffic size requested by the optical line terminal of the first level, the data traffic size requested by the optical line terminal of the first level comprises a part of the data traffic size requested by the optical network unit of the first level, and the first bandwidth size represents the data traffic size requested by the first bandwidth request.
The first level optical line terminal is further configured to receive a second bandwidth size sent by the second level optical line terminal, where the second bandwidth size represents a data traffic size requested by the second bandwidth request.
In one example, the data traffic size requested by the optical network unit of the first level includes a first traffic value and a second traffic value; the first flow value is the data flow requested when the optical network unit of the first level and the optical network units of other first levels carry out data interaction; the second traffic value is the size of data traffic to be sent to the second level optical line terminal by the first level optical network unit.
In one example, the first flow value has a first identification and the second flow value has a second identification.
In one example, the data traffic size requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value.
The third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal.
The fourth traffic value is the sum of second traffic values of the optical network units of the first level communicating with the optical line terminal of the first level, and the second traffic value is the data traffic of the optical network units of the first level to flow to the optical line terminal of the second level.
In one example, the first level optical line terminal is further configured to: and receiving a third bandwidth request sent by at least one optical network unit of the other first level in one period before sending the second bandwidth request to the optical line terminal of the second level, wherein the third bandwidth request comprises the data traffic size requested by the optical network units of the other first level.
When the first-level optical line terminal sends the second bandwidth request to the second-level optical line terminal, the method is specifically configured to: and sending a second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
In one example, the optical network unit of the first level is further configured to: and after receiving the first bandwidth size sent by the first-level optical line terminal, sending data to the first-level optical line terminal.
In one example, the optical line terminal of the first level is further configured to send data to the optical line terminal of the second level after receiving the second bandwidth size sent by the optical line terminal of the second level.
For example, the present embodiment may refer to the principles and technical effects shown in fig. 6 to 12, which are not described in detail.
Fig. 14 is a schematic structural diagram of another bandwidth scheduling system based on a multi-stage passive optical network according to an embodiment of the present application, and as shown in fig. 14, the bandwidth scheduling system includes: the optical network unit comprises a first level optical network unit, a first level optical line terminal and a second level optical line terminal.
And the first-level optical network unit is used for sending a first bandwidth request to the first-level optical line terminal, wherein the first bandwidth request comprises the data traffic size requested by the first-level optical network unit.
The optical line terminal of the first level is used for sending a first bandwidth size to the optical network unit of the first level and sending a second bandwidth request to the optical line terminal of the second level, wherein the second bandwidth request comprises the data traffic size requested by the optical line terminal of the first level, the data traffic size requested by the optical line terminal of the first level comprises a part of the data traffic size requested by the optical network unit of the first level, and the first bandwidth size represents the data traffic size requested by the first bandwidth request.
And the second-level optical line terminal is used for sending a second bandwidth size to the first-level optical line terminal, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
In one example, the data traffic size requested by the optical network unit of the first level includes a first traffic value and a second traffic value.
The first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels.
The second traffic value is the size of data traffic to be sent to the second level optical line terminal by the first level optical network unit.
In one example, the first flow value has a first identification and the second flow value has a second identification.
In one example, the data traffic size requested by the optical line terminal of the first class includes a third traffic value and a fourth traffic value.
The third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal.
The fourth traffic value is the sum of second traffic values of the optical network units of the first level communicating with the optical line terminal of the first level, and the second traffic value is the data traffic of the optical network units of the first level to flow to the optical line terminal of the second level.
In one example, the first level optical line terminal is further configured to: and receiving a third bandwidth request sent by at least one optical network unit of the other first level in one period before sending the second bandwidth request to the optical line terminal of the second level, wherein the third bandwidth request comprises the data traffic size requested by the optical network unit of the other first level.
When the first-level optical line terminal sends the second bandwidth request to the second-level optical line terminal, the method is specifically configured to: and sending a second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
In one example, the optical network unit of the first level is further configured to: and after receiving the first bandwidth size sent by the first-level optical line terminal, sending data to the first-level optical line terminal.
In one example, the optical line terminal of the first level is further configured to send data to the optical line terminal of the second level after receiving the second bandwidth size sent by the optical line terminal of the second level.
For example, the present embodiment may refer to the principles and technical effects shown in fig. 6 to 12, which are not described in detail.
Fig. 15 is a schematic structural diagram of a communication device according to an embodiment of the present application. The communication apparatus may be applied to an optical line terminal of a first class. And may implement the methods of fig. 6-9, 11-12, as well as the various alternative embodiments described above. As shown in fig. 15, the communication device 150 includes: a processor 1501, a memory 1502 coupled to the processor 1501. It should be understood that although only one processor and one memory are shown in FIG. 15. The communication device 1501 may include other numbers of processors and memories.
The memory 1502 is used for storing computer programs or computer instructions, among other things. These computer programs or instructions may be divided into two categories depending on the function. One type of computer program or instructions, when executed by the processor 1501, causes the communications apparatus 150 to implement the steps of the first level optical line terminal in the embodiments of the present application. Such computer programs or instructions may be denoted as functional programs. For example, the functional programs may include program codes for implementing the methods shown in fig. 6-9 and fig. 11-12.
Furthermore, the communication device 150 may further include: a connection line 1500, a transmission circuit 1503, a reception circuit 1504, an antenna 1505, and an input/output (I/O) interface 1506. Wherein the transmit circuitry and receive circuitry may be coupled to an antenna for wireless connection with other communication devices. The transmit circuitry and receive circuitry may also be integrated into a transceiver and the antenna may be a radio frequency antenna supporting multiple frequencies. The I/O interface provides the possibility of interaction with other communication devices or users. For example, for a terminal device, the I/O interface may be a screen, a keyboard, a microphone, a speaker, a Universal Serial Bus (USB) interface, and the like. The various components within the communications device 150 may be coupled together by various connections, such as a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. But for the sake of clarity the various buses are collectively referred to herein as a bus system.
It is understood that the processor 1501 and the memory 1502 may be alternatively implemented by a processing unit and a storage unit, wherein the processing unit and the storage unit may be implemented by codes having corresponding functions. A storage unit for storing program instructions; a processing unit for executing the program instructions in the storage unit to implement the methods shown in fig. 6-9 and fig. 11-12, and the above-mentioned alternative embodiments.
Fig. 16 is a schematic structural diagram of another communication device according to an embodiment of the present application. The communication apparatus may be applied to an optical line terminal of a first class. And the methods shown in fig. 6-9, 11-12, and the various alternative embodiments described above may be implemented. As shown in fig. 16, the communication device 160 includes: a processor 1601, an interface circuit 1602 coupled with the processor 1601. It should be understood that although only one processor and one interface circuit are shown in fig. 16. The communication device 160 may include other numbers of processors and interface circuits.
Where the interface circuit 1602 is used to communicate with other components of the first level optical line terminal, such as a memory or other processor. The processor 1601 is used for signal interaction with other components through the interface circuit 1602. The interface circuit 1602 may be an input/output interface of the processor 1601. An interface circuit 1602 is used to receive code instructions and transmit them to the processor 1601.
For example, the processor 1601 reads, via the interface circuit 1602, computer programs or instructions in a memory coupled thereto, and decodes and executes the computer programs or instructions. It will be appreciated that these computer programs or instructions may include the above-described functional programs and may also include the above-described functional programs of the communication apparatus that is employed in the first-class optical line terminal. When the corresponding functional programs are decoded and executed by the processor 1601, the first-level optical line terminal or the communication apparatus in the first-level optical line terminal may be enabled to implement the scheme in the method provided in the embodiment of the present application.
Alternatively, these functional programs are stored in a memory external to the communication device 160. When the functional program is decoded and executed by the processor 1601, a part or all of the content of the functional program is temporarily stored in the memory.
Alternatively, these functional programs are stored in a memory inside the communication device 160. When the functional program is stored in the memory inside the communication apparatus 160, the communication apparatus 160 may be provided in the optical line terminal of the first class provided in the embodiments of the present application.
Alternatively, part of the contents of these functional programs are stored in a memory external to the communication device 160, and the other part of the contents of these functional programs are stored in a memory internal to the communication device 160.
It should be understood that the communication devices shown in any of fig. 15-16 may be combined with each other and that the communication devices shown in any of fig. 15-16 and the design details associated with each of the alternative embodiments may be referenced to each other. Reference may also be made to any of the methods illustrated in fig. 6-9, 11-12, as well as design details related to various alternative embodiments. And will not be repeated here.
Fig. 17 is a schematic structural diagram of another communication device according to an embodiment of the present application. The communication device may be applied to an optical network unit of a first class. And may implement the methods of fig. 6-9, 11-12, as well as the various alternative embodiments described above. As shown in fig. 17, the communication device 170 includes: a processor 1701, and a memory 1702 coupled to the processor 1701. It should be understood that although only one processor and one memory are shown in FIG. 17. The communication device 1701 may include other numbers of processors and memories.
The memory 1702 is used for storing computer programs or computer instructions. These computer programs or instructions may be divided into two categories depending on the function. One type of computer program or instructions, when executed by the processor 1701, causes the communication device 170 to implement the steps of the first level optical network unit in the embodiments of the present application. Such computer programs or instructions may be written as functional programs. For example, the functional programs may include program codes for implementing the methods shown in fig. 6-9 and fig. 11-12.
Further, the communication device 170 may further include: a connection line 1700, a transmitting circuit 1703, a receiving circuit 1704, an antenna 1705, and an I/O interface 1706. Wherein the transmit circuitry and receive circuitry may be coupled to an antenna for wireless connection with other communication devices. The transmit circuitry and receive circuitry may also be integrated into a transceiver and the antenna may be a radio frequency antenna supporting multiple frequencies. The I/O interface provides the possibility of interaction with other communication devices or users. For example, for a terminal device, the I/O interface may be a screen, a keyboard, a microphone, a speaker, a USB interface, and the like. The various components within the communications device 170 may be coupled together by various connections, such as a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. But for the sake of clarity the various buses are collectively referred to herein as a bus system.
It will be appreciated that the processor 1701 and the memory 1702 described above may be alternatively implemented by a processing unit and a storage unit, wherein the processing unit and the storage unit may be implemented by codes having corresponding functions. A storage unit for storing program instructions; a processing unit for executing the program instructions in the storage unit to implement the methods shown in fig. 6-9 and fig. 11-12, and the above-mentioned alternative embodiments.
Fig. 18 is a schematic structural diagram of another communication device according to an embodiment of the present application. The communication device may be applied to an optical network unit of a first class. And the methods shown in fig. 6-9, 11-12, and the various alternative embodiments described above may be implemented. As shown in fig. 18, the communication device 180 includes: a processor 1801, and an interface circuit 1802 coupled to the processor 1801. It should be understood that although only one processor and one interface circuit are shown in FIG. 18. The communication device 180 may include other numbers of processors and interface circuits.
Where the interface circuit 1802 is configured to communicate with other components of the first level optical network unit, such as a memory or other processor. The processor 1801 is configured to interact with other components via the interface circuit 1802. The interface circuit 1802 may be an input/output interface of the processor 1801. Interface circuitry 1802 for receiving code instructions and transmitting them to processor 1801.
For example, the processor 1801 reads, via the interface circuit 1802, computer programs or instructions in a memory coupled thereto, and decodes and executes the computer programs or instructions. It will be appreciated that these computer programs or instructions may include the above-described functional programs and may also include the above-described functional programs of the communication device that is employed within the first level of optical network units. When the corresponding functional program is decoded and executed by the processor 1801, the optical network unit of the first level or the communication device in the optical network unit of the first level may be enabled to implement the scheme in the method provided by the embodiment of the present application.
Alternatively, these functional programs are stored in a memory external to communication device 180. When the functional program is decoded and executed by the processor 1801, part or all of the content of the functional program is temporarily stored in the memory.
Optionally, these functional programs are stored in memory internal to communications device 180. When the memory inside the communication device 180 stores the function program, the communication device 180 may be disposed in the optical network unit of the first level provided in the embodiments of the present application.
Alternatively, some of the contents of these functional programs are stored in a memory external to the communication device 180, and other contents of these functional programs are stored in a memory internal to the communication device 180.
It should be understood that the communication devices shown in any of fig. 17-18 may be combined with each other and that the communication devices shown in any of fig. 17-18 and the design details associated with each of the alternative embodiments may be referenced to each other. Reference may also be made to any of the methods illustrated in fig. 6-9, 11-12, as well as design details related to various alternative embodiments. And will not be repeated here.
Fig. 19 is a schematic structural diagram of another communication device according to an embodiment of the present application. The communication means may be applied to an optical line terminal of a second class. And may implement the methods of fig. 6-9, 11-12, as well as the various alternative embodiments described above. As shown in fig. 19, the communication device 190 includes: a processor 1901, and a memory 1902 coupled to the processor 1901. It should be understood that although only one processor and one memory are shown in FIG. 19. The communication device 1901 may include other numbers of processors and memories.
The memory 1902 is used for storing, among other things, computer programs or computer instructions. These computer programs or instructions may be divided into two categories depending on the function. One type of computer program or instructions, when executed by the processor 1901, causes the communications device 190 to perform the steps of the second level optical line terminal in the embodiments of the present application. Such computer programs or instructions may be denoted as functional programs. For example, the functional programs may include program codes for implementing the methods shown in fig. 6-9 and fig. 11-12.
Further, the communication device 190 may further include: a connection line 1900, a transmission circuit 1903, a reception circuit 1904, an antenna 1905, and an I/O interface 1906. Wherein the transmit circuitry and receive circuitry may be coupled to an antenna for wireless connection with other communication devices. The transmit circuitry and receive circuitry may also be integrated into a transceiver and the antenna may be a radio frequency antenna supporting multiple frequencies. The I/O interface provides the possibility of interaction with other communication devices or users. For example, for a terminal device, the I/O interface may be a screen, a keyboard, a microphone, a speaker, a USB interface, and the like. The various components within the communications device 190 may be coupled together by various connections, such as a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. But for the sake of clarity the various buses are collectively referred to herein as a bus system.
It is to be understood that the processor 1901 and the memory 1902 may alternatively be implemented by a processing unit and a storage unit, wherein the processing unit and the storage unit may be implemented by codes having corresponding functions. A storage unit for storing program instructions; a processing unit for executing the program instructions in the storage unit to implement the methods shown in fig. 6-9 and fig. 11-12, and the above-mentioned alternative embodiments.
Fig. 20 is a schematic structural diagram of another communication device according to an embodiment of the present application. The communication apparatus may be applied to an optical line terminal of a second class. And the methods shown in fig. 6-9, 11-12, and the various alternative embodiments described above may be implemented. As shown in fig. 20, the communication apparatus 200 includes: a processor 2001, and an interface circuit 2002 coupled to the processor 2001. It should be understood that although only one processor and one interface circuit are shown in FIG. 20. The communication device 200 may include other numbers of processors and interface circuits.
Wherein the interface circuit 2002 is configured to communicate with other components of the second level optical line terminal, such as a memory or other processor. The processor 2001 serves to interact with other components via the interface circuit 2002. The interface circuit 2002 may be an input/output interface of the processor 2001. An interface circuit 2002 for receiving code instructions and transmitting to the processor 2001.
For example, the processor 2001 reads computer programs or instructions in a memory coupled thereto through the interface circuit 2002, and decodes and executes the computer programs or instructions. It will be appreciated that these computer programs or instructions may include the above-described functional programs and may also include the above-described functional programs of the communication apparatus that is employed in the second-level optical line terminal. When the corresponding functional programs are decoded and executed by the processor 2001, the second-level optical line terminal or the communication device in the second-level optical line terminal may be enabled to implement the scheme in the method provided by the embodiment of the present application.
Alternatively, these functional programs are stored in a memory external to the communication apparatus 200. When the functional program is decoded and executed by the processor 2001, part or all of the contents of the functional program are temporarily stored in a memory.
Alternatively, these functional programs are stored in a memory inside the communication apparatus 200. When the functional program is stored in the memory inside the communication apparatus 200, the communication apparatus 200 may be provided in the second-class optical line terminal provided in the embodiments of the present application.
Alternatively, part of the contents of these functional programs are stored in a memory external to the communication apparatus 200, and the other part of the contents of these functional programs are stored in a memory internal to the communication apparatus 200.
It should be understood that the communication devices shown in any of fig. 19-20 may be combined with each other and that the communication devices shown in any of fig. 19-20 and the design details associated with each of the alternative embodiments may be referenced to each other. Reference may also be made to any of the methods illustrated in fig. 6-9, 11-12, as well as design details related to various alternative embodiments. And will not be repeated here.
Embodiments of the present application provide a bandwidth allocation system including any of the communication devices provided in fig. 15-16, and any of the communication devices provided in fig. 17-18. Alternatively, the communication system includes any one of the communication devices provided in fig. 15 to 16, any one of the communication devices provided in fig. 17 to 18, and any one of the communication devices provided in fig. 19 to 20.
An embodiment of the present application provides a computer-readable storage medium, in which program codes are stored, and when the program codes are executed by a processor of a communication device, the computer-readable storage medium implements any one of the methods provided in fig. 6-9 and fig. 11-12.
The embodiment of the present application provides a computer program product, and the computer program product includes program codes, which when executed by a processor in a terminal, implement any one of the methods as provided in fig. 6-9 and fig. 11-12.
The terms "first," "second," "third," "fourth," and the like in the embodiments and figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises" and "comprising," as well as any variations thereof, are intended to refer to a non-exclusive inclusion, such as a list of steps or elements. The methods, systems, articles, or apparatus need not be limited to the steps or elements literally set forth, but may include other steps or elements not literally set forth or inherent to such processes, systems, articles, or apparatus.
It is to be understood that, in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" is used to describe the association relationship of the associated object, indicating that there may be three relationships, for example, "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It should be understood that, in the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application. The term "coupled," as used herein to convey the intercommunication or interaction between different components, may include directly connected or indirectly connected through other components.
In the above-described embodiments of the present application, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application occur, in whole or in part, when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, optical fiber, etc.) or wirelessly (e.g., infrared, radio, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be magnetic media, such as floppy disks, hard disks, and magnetic tape; may be an optical medium such as a DVD; or a semiconductor medium such as a Solid State Disk (SSD) or the like.
In the embodiments of the present application, the memory refers to a device or a circuit having data or information storage capability, and can provide instructions and data to the processor. The Memory includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a non-volatile Random Access Memory (NVRAM), a programmable Read-Only Memory or an electrically erasable programmable Memory, a register, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (21)

1. A bandwidth scheduling method based on a multi-stage passive optical network is characterized in that the method comprises the following steps:
the method comprises the steps that a first-level optical line terminal receives a first bandwidth request sent by a first-level optical network unit, wherein the first bandwidth request comprises the size of data traffic requested by the first-level optical network unit;
the first-level optical line terminal sends a first bandwidth size to the first-level optical network unit, and sends a second bandwidth request to a second-level optical line terminal, wherein the second bandwidth request comprises a data traffic size requested by the first-level optical line terminal, and the first bandwidth size represents the data traffic size requested by the first bandwidth request; the data traffic requested by the first-level optical line terminal comprises a third traffic value and a fourth traffic value; the third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal; the fourth traffic value is a sum of second traffic values of the optical network units of the first levels communicating with the optical line terminal of the first level, and the second traffic value is a data traffic to be sent to the optical line terminal of the second level by the optical network units of the first level;
and the optical line terminal of the first level receives a second bandwidth size sent by the optical line terminal of the second level, wherein the second bandwidth size represents the data traffic size requested by the second bandwidth request.
2. The method of claim 1, wherein the requested data traffic size of the first level of ONU comprises a first traffic value and a second traffic value;
the first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels;
the second traffic value is a data traffic amount to be flowed to the optical line terminal of the second level by the optical network unit of the first level.
3. The method of claim 2, wherein the first flow value has a first identification and the second flow value has a second identification.
4. The method of claim 1, wherein before the first level optical line terminal sends the second bandwidth request to the second level optical line terminal, further comprising:
the optical line terminal of the first level receives a third bandwidth request sent by at least one optical network unit of another first level in one period, wherein the third bandwidth request comprises the size of data traffic requested by the optical network unit of the other first level;
the sending, by the optical line terminal of the first level, a second bandwidth request to an optical line terminal of a second level includes:
and the optical line terminal of the first level sends the second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
5. The method according to any of claims 1-4, further comprising, after the first level optical line terminal sends a first bandwidth size to the first level optical network unit:
and the optical line terminal of the first level receives the data sent by the optical network unit of the first level.
6. The method according to any one of claims 1 to 4, wherein after the optical line terminal of the first level receives the second bandwidth size sent by the optical line terminal of the second level, the method further comprises:
and the optical line terminal of the first level sends data to the optical line terminal of the second level.
7. A bandwidth scheduling system based on a multi-stage passive optical network, the system comprising: the optical network unit of the first level and the optical line terminal of the first level;
the optical network unit of the first level is configured to send a first bandwidth request to the optical line terminal of the first level, where the first bandwidth request includes a data traffic size requested by the optical network unit of the first level;
the first-level optical line terminal is configured to send a first bandwidth size to the first-level optical network unit and send a second bandwidth request to a second-level optical line terminal, where the second bandwidth request includes a data traffic size requested by the first-level optical line terminal, and the first bandwidth size represents the data traffic size requested by the first bandwidth request; the data traffic requested by the first-level optical line terminal comprises a third traffic value and a fourth traffic value; the third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal; the fourth traffic value is a sum of second traffic values of the optical network units of the first levels communicating with the optical line terminal of the first level, and the second traffic value is a data traffic to be sent to the optical line terminal of the second level by the optical network units of the first level;
the optical line terminal of the first level is further configured to receive a second bandwidth size sent by the optical line terminal of the second level, where the second bandwidth size represents a data traffic size requested by the second bandwidth request.
8. The system of claim 7, wherein the requested data traffic size of the first level of ONU comprises a first traffic value and a second traffic value;
the first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels;
the second traffic value is a data traffic amount to be flowed to the optical line terminal of the second level by the optical network unit of the first level.
9. The system of claim 8, wherein the first flow value has a first identification and the second flow value has a second identification.
10. The system of claim 7, wherein the first level optical line terminal is further configured to: before sending the second bandwidth request to the optical line terminal of the second level, receiving a third bandwidth request sent by at least one optical network unit of another first level in one period, wherein the third bandwidth request comprises the size of data traffic requested by the optical network unit of the other first level;
when the optical line terminal of the first level sends the second bandwidth request to the optical line terminal of the second level, the optical line terminal of the first level is specifically configured to: and sending the second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
11. The system according to any of claims 7-10, wherein the first level onu is further configured to:
and after receiving the first bandwidth size sent by the first level optical line terminal, sending data to the first level optical line terminal.
12. The system according to any of claims 7-10, wherein the first level of optical line termination is further configured to send data to the second level of optical line termination after receiving the second bandwidth size sent by the second level of optical line termination.
13. A bandwidth scheduling system based on a multi-stage passive optical network, the system comprising: the optical network unit of the first level, the optical line terminal of the first level and the optical line terminal of the second level;
the optical network unit of the first level is configured to send a first bandwidth request to the optical line terminal of the first level, where the first bandwidth request includes a data traffic size requested by the optical network unit of the first level;
the first-level optical line terminal is configured to send a first bandwidth size to the first-level optical network unit and send a second bandwidth request to a second-level optical line terminal, where the second bandwidth request includes a data traffic size requested by the first-level optical line terminal, and the first bandwidth size represents the data traffic size requested by the first bandwidth request; the data traffic requested by the first-level optical line terminal comprises a third traffic value and a fourth traffic value; the third flow value is the data flow requested when data interaction is performed between the first-level optical line terminal and the second-level optical line terminal; the fourth traffic value is a sum of second traffic values of the optical network units of the first levels communicating with the optical line terminal of the first level, and the second traffic value is a data traffic to be sent to the optical line terminal of the second level by the optical network units of the first level;
and the second-level optical line terminal is configured to send a second bandwidth size to the first-level optical line terminal, where the second bandwidth size represents a data traffic size requested by the second bandwidth request.
14. The system of claim 13, wherein the requested data traffic size of the first level onu comprises a first traffic value and a second traffic value;
the first traffic value is a data traffic size requested when data interaction is performed between the optical network unit of the first level and the optical network units of other first levels;
the second traffic value is a data traffic amount to be flowed to the optical line terminal of the second level by the optical network unit of the first level.
15. The system of claim 14, wherein the first flow value has a first identification and the second flow value has a second identification.
16. The system of claim 13, wherein the first level optical line terminal is further configured to: before sending the second bandwidth request to the optical line terminal of the second level, receiving a third bandwidth request sent by at least one optical network unit of another first level in one period, wherein the third bandwidth request comprises the size of data traffic requested by the optical network unit of the other first level;
when the optical line terminal of the first level sends the second bandwidth request to the optical line terminal of the second level, the optical line terminal of the first level is specifically configured to: and sending the second bandwidth request to the optical line terminal of the second level according to the third flow value and the second flow value of each optical network unit of the first level.
17. The system according to any of claims 13-16, wherein the first level optical network unit is further configured to:
and after receiving the first bandwidth size sent by the first level optical line terminal, sending data to the first level optical line terminal.
18. The system according to any of claims 13-16, wherein the first level of optical line termination is further configured to send data to the second level of optical line termination after receiving the second bandwidth size sent by the second level of optical line termination.
19. A communications apparatus for use in a first-class optical line terminal, the apparatus comprising a processor and a memory, the memory having a computer program stored therein, the processor executing the computer program stored in the memory to cause the apparatus to perform the method of any of claims 1-6.
20. A communication apparatus, applied to an optical line terminal of a first class, the apparatus comprising: a processor and an interface circuit;
the interface circuit is used for receiving code instructions and transmitting the code instructions to the processor;
the processor to execute the code instructions to perform the method of any one of claims 1-6.
21. A computer-readable storage medium storing instructions that, when executed, cause the method of any of claims 1-6 to be implemented.
CN202010605472.5A 2020-06-29 2020-06-29 Bandwidth scheduling method and system based on multi-stage passive optical network Active CN113938770B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010605472.5A CN113938770B (en) 2020-06-29 2020-06-29 Bandwidth scheduling method and system based on multi-stage passive optical network
PCT/CN2021/083229 WO2022001238A1 (en) 2020-06-29 2021-03-26 Bandwidth scheduling method and system based on multi-level passive optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605472.5A CN113938770B (en) 2020-06-29 2020-06-29 Bandwidth scheduling method and system based on multi-stage passive optical network

Publications (2)

Publication Number Publication Date
CN113938770A CN113938770A (en) 2022-01-14
CN113938770B true CN113938770B (en) 2023-03-24

Family

ID=79272952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605472.5A Active CN113938770B (en) 2020-06-29 2020-06-29 Bandwidth scheduling method and system based on multi-stage passive optical network

Country Status (2)

Country Link
CN (1) CN113938770B (en)
WO (1) WO2022001238A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116801138A (en) * 2022-04-29 2023-09-22 中国移动通信有限公司研究院 Control method, device, communication equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855778A (en) * 2005-04-29 2006-11-01 上海贝尔阿尔卡特股份有限公司 Passive optical network concatenating system and optical circuit terminal thereof
CN103297866A (en) * 2012-02-29 2013-09-11 华为技术有限公司 Upstream and downstream bandwidth allocation method, equipment and nest system
JP2016082393A (en) * 2014-10-16 2016-05-16 日本電信電話株式会社 Dba control device for multistep pon system, dba control method and dba control program
CN107995540A (en) * 2017-12-29 2018-05-04 中国联合网络通信有限公司广东省分公司 One kind is based on the multistage convergent passive optical network framework of bandwidth

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100605987B1 (en) * 2002-09-09 2006-07-26 삼성전자주식회사 Method and system for implementing dynamic bandwidth allocation mechanism applying tree algorithm in ethernet passive optical network
JP5541327B2 (en) * 2012-08-27 2014-07-09 住友電気工業株式会社 Relay device, station side device, and communication system and communication method using the relay device
JP5876941B2 (en) * 2012-11-14 2016-03-02 日本電信電話株式会社 Optical subscriber communication system, optical subscriber communication method, host device, and optical subscriber line termination device
CN107360737B (en) * 2015-03-30 2021-02-19 日本电信电话株式会社 Terminal station device and bandwidth allocation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855778A (en) * 2005-04-29 2006-11-01 上海贝尔阿尔卡特股份有限公司 Passive optical network concatenating system and optical circuit terminal thereof
CN103297866A (en) * 2012-02-29 2013-09-11 华为技术有限公司 Upstream and downstream bandwidth allocation method, equipment and nest system
JP2016082393A (en) * 2014-10-16 2016-05-16 日本電信電話株式会社 Dba control device for multistep pon system, dba control method and dba control program
CN107995540A (en) * 2017-12-29 2018-05-04 中国联合网络通信有限公司广东省分公司 One kind is based on the multistage convergent passive optical network framework of bandwidth

Also Published As

Publication number Publication date
WO2022001238A1 (en) 2022-01-06
CN113938770A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
US7720072B2 (en) Method for dynamic bandwidth allocation in passive optical network
US8917993B2 (en) Scheduling delivery of upstream traffic based on downstream traffic in optical networks
CN109150366B (en) Method, device and system for registering Optical Network Unit (ONU)
CN102917285B (en) Method and device for testing Ethernet passive optical network devices
US20160112778A1 (en) Optical Network Unit, and Communications System and Method
CN114868363B (en) Optical communication device and resource management method
CN113938770B (en) Bandwidth scheduling method and system based on multi-stage passive optical network
KR20020011026A (en) Method of grant request for mac protocol in pon
CN112422183B (en) Network fault positioning method and device
CN113489616B (en) Fixed network evaluation method and device and computer readable storage medium
CN111601186A (en) PON multichannel dynamic binding transmission method, PON node and storage medium
US20170338891A1 (en) Optical communication device and optical communication method
CN113453096B (en) Method and device for predicting PON port flow of passive optical network
CN108882063B (en) Service mapping method for asymmetric system of passive optical network
CN110769331A (en) Line card, design method, communication control method, device and storage medium
CN113452758A (en) Service access method and device
CN101127759B (en) A receiving and transmission method, device and system for passive optical network data
US7218607B2 (en) Signaling proxy device for automatically setting up standby paths in optical networks
US11233572B2 (en) Slice connection method of optical access network and optical access network system for slice connection
JP6585546B2 (en) Bandwidth allocation device
KR100494556B1 (en) Asynchronous transfer mode-passive optical network slave device and method for transferring/receiving thereof
CN105357597A (en) Passive optical network, data transmission method and data transmission device
US20060159022A1 (en) Routing method
US20220329395A1 (en) Method and Device for Sending Bandwidth Request, and Storage Medium and Electronic Device
CN108667542B (en) Method and device for realizing uplink time division multiplexing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant