Bandwidth allocation method, communication device and storage medium

By performing bandwidth allocation operations based on service attributes in the master device, the problem that FTTR and FTTH networks cannot coordinate in resource allocation is solved, and the network's service certainty service capabilities and low-latency transmission are realized.

CN119906914APending Publication Date: 2025-04-29ZTE CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311424860.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

The FTTR and FTTH networks cannot achieve coordination in resource allocation, making it difficult to achieve low-latency transmission of services or deterministic delay transmission.

Method used

Bandwidth resource collaboration between FTTR and FTTH is achieved by receiving bandwidth requests sent by the slave device in the master device and performing bandwidth allocation operations according to service attributes.

Benefits of technology

It improves the network's service certainty service capabilities, ensures bandwidth resource coordination between FTTR and FTTH networks, and realizes low latency and deterministic latency transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906914A_ABST
    Figure CN119906914A_ABST
Patent Text Reader

Abstract

The invention provides a bandwidth allocation method, communication equipment and a storage medium, and relates to the technical field of communication. The bandwidth allocation method comprises the following steps: a master device receives a bandwidth request for a first service sent by a slave device, and executes a bandwidth allocation related operation according to a service attribute of the first service. According to the scheme provided by the embodiment of the invention, the main equipment executes the corresponding bandwidth allocation operation for the service attribute, so that the bandwidth resource collaboration of the FTTR and the FTTH is realized, and the service deterministic service capability of the network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a bandwidth allocation method, a communication device, and a storage medium. Background Art

[0002] As the standardization of fiber to the room (FTTR) technology gradually matures, FTTR has gradually entered the stage of large-scale deployment. FTTR is similar to fiber to the home (FTTH), using a point-to-multipoint network topology, consisting of a main device (Main FTTR Unit, MFU) connected to multiple slave devices (Sub FTTR Unit, SFU) through an indoor optical distribution network (Indoor Fibre Distribution Network, IFDN). In addition, multiple main devices are connected to the FTTH optical line terminal (Optical Line Terminal, OLT) through an optical distribution network (Optical Distribution Network, ODN).

[0003] In the current networking applications of related technologies, FTTR and FTTH are two independent networks, which cannot achieve coordination in resource allocation and it is difficult to achieve low-latency or deterministic latency transmission of services. Summary of the invention

[0004] The embodiments of the present application provide a bandwidth allocation method, a communication device, and a storage medium, which are intended to achieve bandwidth resource coordination between FTTR and FTTH, thereby improving the service determinism of the network.

[0005] In a first aspect, an embodiment of the present application provides a bandwidth allocation method, which is applied to a master device, and the method includes:

[0006] receiving a bandwidth request for a first service sent from a device;

[0007] Perform bandwidth allocation related operations according to the service attributes of the first service.

[0008] In a second aspect, an embodiment of the present application provides a bandwidth allocation method, which is applied to a slave device, and the method includes:

[0009] receiving a service message of a first service sent by a home user device;

[0010] A bandwidth request related to the service attribute of the first service is sent to the master device, wherein the bandwidth request is used to request allocation of bandwidth for the first service.

[0011] In a third aspect, an embodiment of the present application provides a communication device, including:

[0012] one or more processors;

[0013] A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the bandwidth allocation method as described in the first aspect above, or the bandwidth allocation method as described in the second aspect above.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the bandwidth allocation method as described in the first aspect above, or the bandwidth allocation method as described in the second aspect above is implemented.

[0015] In the bandwidth allocation method, communication device, and storage medium provided in the embodiment of the present application, the master device receives a bandwidth request for a first service sent by a slave device, then determines the service attributes of the first service, and then performs a bandwidth allocation operation according to the service attributes of the first service. In the solution of the embodiment of the present application, the master device performs corresponding bandwidth allocation operations according to the service attributes, so as to achieve bandwidth resource coordination between FTTR and FTTH, thereby improving the service deterministic service capability of the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0017] Figure 1 It is a schematic diagram of an implementation environment of the bandwidth allocation method provided in an embodiment of the present application;

[0018] Figure 2 This is a schematic diagram of an integrated networking architecture of FTTH and FTTR provided in an embodiment of the present application;

[0019] Figure 3 This is another schematic diagram of an integrated networking architecture of FTTH and FTTR provided in an embodiment of the present application;

[0020] Figure 4 This is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;

[0021] Figure 5a This is a schematic diagram of an uplink channel construction provided in an embodiment of the present application;

[0022] Figure 5b This is another schematic diagram of constructing an uplink channel provided in an embodiment of the present application;

[0023] Figure 6 This is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;

[0024] Figure 7 This is a flow chart of a bandwidth allocation method provided in an embodiment of the present application;

[0025] Figure 8 It is a schematic diagram of the device structure of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0027] It should be understood that in the description of the embodiments of the present application, if there is a description of "first", "second", etc., it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. "At least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the situation where A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any group of these items, including any group of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0028] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0029] In order to facilitate understanding of the solutions of the embodiments of the present application and to make the description of the following embodiments clear and concise, a brief introduction to the relevant technologies is first given:

[0030] Passive Optical Network (PON): Passive optical network refers to an optical distribution network (ODN) between the optical line terminal (OLT) and the optical network unit (ONU), without any active communication equipment. One end of the OLT is connected to the upper network to complete the upstream access of the PON. The upper network can be an Internet protocol (IP) backbone network or a public switched telephone network (PSTN). The other end of the OLT is connected to the user-end device through the ODN to complete the downstream transmission of the PON and realize the control, management and ranging functions of the user-end device. The user-end device can be an ONU. One end of the user-end device is connected to the OLT through the ODN, and the other end of the user-end device is connected to other terminal devices, such as computers, landlines, etc. ONU works with OLT to realize Ethernet layer 2 and layer 3 functions and provide voice, data and multimedia services to users. For example, the ONU can select and receive data sent by the OLT; respond to management commands issued by the OLT and make corresponding adjustments; cache the user's Ethernet data and send it to the uplink in the sending window allocated by the OLT; and perform other user management functions.

[0031] Fiber To The Home (FTTH): is the installation and use of optical fiber from a central point directly to individual buildings such as homes, apartment buildings and businesses to provide high-speed Internet access.

[0032] Fiber to the Room (FTTR): refers to the use of fiber optic access to all home broadband, so that each room can guarantee the same Internet speed as the home broadband and will not be affected. FTTR is similar to FTTH (Fiber to the Home), using a point-to-multipoint network topology, with the main device (Main FTTR Unit, MFU) connecting multiple slave devices (Sub FTTR Unit, SFU) through the indoor optical distribution network (Indoor Fibre Distribution Network, IFDN).

[0033] See also Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment of the bandwidth allocation method provided in an embodiment of the present application, wherein the implementation environment includes an OLT, at least one master device and at least one slave device. Figure 1In the example shown, one OLT is connected to multiple master devices, and each master device is respectively connected to multiple slave devices, wherein the OLT can be connected to the multiple master devices through the ODN, and the master device can be connected to the multiple slave devices through the IFDN.

[0034] Exemplarily, the master device can be connected to one or more home user devices, receive service messages sent by the home user devices, and forward the service messages. Similarly, the slave device can also be connected to one or more home user devices, receive service messages sent by the home user devices, and forward the service messages.

[0035] In the embodiment of the present application, the service messages sent by the home user equipment can be divided into east-west service messages and north-south service messages according to service attributes.

[0036] Among them, the east-west service can represent a home interconnection service, the destination address of the east-west service is the home user device address, and the east-west service message is forwarded to the home user device corresponding to the destination address through the FTTR networking device. For example, the master device receives the east-west service message from the home user device, and then forwards the service message to the corresponding slave device according to the destination address, and then the slave device forwards it to the home user device corresponding to the destination address; or, slave device 1 receives the east-west service message from the home user device, and then forwards the service message to the master device, the master device forwards the service message to slave device 2 according to the destination address, and then slave device 2 forwards it to the home user device corresponding to the destination address.

[0037] The north-south service may represent an access service, and the access service may be an Ethernet service, a Synchronous Digital Hierarchy (SDH) service, etc. For example, the Ethernet / SDH service message is first forwarded to the FTTH network device through the FTTR network device, and then enters the upper layer device through the FTTH device to achieve service access. Exemplarily, the master device receives the north-south service message from the home user device, and then forwards the service message to the OLT, and then achieves network access through the OLT; or, the slave device receives the north-south service message from the home user device, and then forwards the service message to the master device, and the master device then forwards the service message to the OLT, and then enters the upper layer device through the OLT to achieve the service access function.

[0038] Exemplarily, the home user device may be a handheld device, a wearable device or a computing device with a wireless communication function. Specifically, the home user device may be a mobile phone, a tablet computer, a smart electrical device or a computer with a wireless transceiver function. The home user device may also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wired / wireless terminal in industrial control, a wired / wireless terminal in telemedicine, a wired / wireless terminal in a smart home, a wired / wireless terminal in a smart grid, a wired / wireless terminal in a smart city, and the like.

[0039] It should be noted that, in the embodiment of the present application, the transmission direction from the home user device to the OLT is referred to as the uplink direction, and the transmission direction from the OLT to the home user device is referred to as the downlink direction.

[0040] In the current networking applications of related technologies, FTTR and FTTH are two independent networks that cannot coordinate in resource allocation. Specifically, the east-west services transmitted only in the FTTR segment and the north-south services transmitted in the FTTH and FTTR segments cannot coordinate in bandwidth allocation, and the bandwidth of the north-south services in the FTTH and FTTR segments cannot be coordinated, making it difficult to achieve low-latency transmission or deterministic latency transmission of the services.

[0041] See also Figure 2 , Figure 2 Schematic diagram of an integrated FTTH and FTTR network architecture provided by an embodiment of the present application. Figure 2 As shown in the figure, when FTTH and FTTR are integrated into a network, Figure 1 The OLT in the FTTH architecture is used as the OLT in the FTTH architecture and can be called FTTH OLT; Figure 1 The main device in the FTTH architecture also serves as the ONU in the FTTH architecture and the OLT in the FTTR architecture, so the main device can be considered to consist of two modules: the FTTH ONU and the FTTR OLT; Figure 1 The slave device in the FTTR architecture is used as an ONU and can be called an FTTR ONU.

[0042] Based on the problems existing in the related art, the embodiments of the present application provide a bandwidth allocation method, a communication device and a computer-readable storage medium, which can realize the coordination of bandwidth resources of FTTR and FTTH, thereby improving the service determinism of the network. In the embodiment of the present application, the master device receives a bandwidth request for a first service sent by a slave device, then determines the service attributes of the first service, and then performs a bandwidth allocation operation according to the service attributes of the first service. The embodiment of the present application coordinates the allocation of bandwidth resources between FTTR and FTTH by performing corresponding bandwidth allocation operations according to the service attributes through the master device, and provides support for improving the service determinism of the network.

[0043] See also Figure 3 , Figure 3 FIG. 1 is another schematic diagram of an integrated FTTH and FTTR network architecture provided in an embodiment of the present application. Figure 3 In the example, the master device includes an FTTH ONU and a forwarding channel, wherein the forwarding channel is a PON layer forwarding channel located between the OLT and the slave device, and the forwarding channel is used to forward the upstream frame of the slave device to the OLT, or to forward the downstream frame from the OLT to the slave device. Exemplarily, the upstream frame can be an upstream service message, a bandwidth request, or other upstream message, and the downstream frame can be a downstream service message, a bandwidth application response, or other downstream message.

[0044] It should be noted that the equal delay forwarding described in the embodiment of the present application means that the time required for the uplink frame / downlink frame to enter the main device and leave the main device remains the same. If the standards of the FTTH and FTTR segments are the same, there is no need to convert the standards, and equal delay forwarding is sufficient. If the standards of the FTTH segment and the FTTR segment are different, the data frame needs to be converted. During the standard conversion, if the functions of the two segments are inconsistent, it is necessary to delete some content in the segment with more functions, or add some content to the segment with fewer functions.

[0045] The forwarding channel provided in the embodiment of the present application can realize deterministic forwarding of uplink frames / downlink frames, that is, the forwarding delay of the master device for the uplink frames / downlink frames is deterministic, for example, the master device is limited to complete the forwarding of the uplink frames / downlink frames within the first delay.

[0046] See also Figure 4 , Figure 4 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The execution subject of the bandwidth allocation method may be Figure 1 or Figure 3 The main device in the implementation environment shown. Figure 4 As shown, the bandwidth allocation method may include but is not limited to the following steps S110-S120, and each step is introduced in turn below:

[0047] Step S110: Receive a bandwidth request for a first service sent from a device.

[0048] Exemplarily, the slave device receives a connection configuration request for a new service initiated by a home user device, where the new service is referred to as a first service. The slave device responds to the connection configuration request for the first service by sending a bandwidth request to the master device to apply for bandwidth for the first service.

[0049] Step S120: Execute bandwidth allocation related operations according to the service attributes of the first service.

[0050] Illustratively, the service attribute of the first service may be an east-west attribute or a north-south attribute.

[0051] Exemplarily, the service attribute of the service can be distinguished according to whether the destination address of the service is a home user device address. For example, if the destination address of the current service is a home user device address, the current service can be considered as an east-west service, otherwise the current service is considered as a north-south service.

[0052] In the embodiment of the present application, the master device performs corresponding bandwidth allocation operations according to whether the first service is an east-west service or a north-south service, so as to achieve bandwidth resource coordination between FTTR and FTTH, thereby improving the service determinism of the network.

[0053] Exemplarily, the OLT may configure multiple uplink channels with channel attributes for the slave device to establish multiple uplink channels with channel attributes between the slave device and the master device, wherein the channel attribute may be an east-west attribute or a north-south attribute.

[0054] For example, the uplink channel may be a transmission container (Transmission CONT, T-CONT). Figure 5a , Figure 5a Schematic diagram of an uplink channel construction provided in an embodiment of the present application. Figure 5a As shown, multiple T-CONTs with channel attributes are established between the slave device and the master device, namely T-CONT1 and T-CONT2, wherein the channel attribute of T-CONT1 is an east-west attribute, and the channel attribute of T-CONT2 is a north-south attribute.

[0055] For example, the uplink channel may be a GPON encapsulation mode port (GEM Port). Figure 5b , Figure 5b FIG. 1 is another schematic diagram of constructing an uplink channel provided in an embodiment of the present application. Figure 5bAs shown, T-CONT1 and T-CONT2 are established between the slave device and the master device, T-CONT1 includes GEM Port1 and GEM Port2, T-CONT2 includes GEM Port3 and GEMPort4, wherein the channel attribute of T-CONT1 is an east-west attribute, and the channel attributes of GEM Port1 and GEM Port2 included therein are also east-west attributes, and the channel attribute of T-CONT2 is a north-south attribute, and the channel attributes of GEM Port3 and GEM Port4 included therein are also north-south attributes. It can be understood that GEM Port is the smallest transmission unit of a service, and a T-CONT can include multiple GEM Ports, and the attributes of the GEM Port match the attributes of the T-CONT in which it is located.

[0056] In an embodiment of the present application, the slave device can map the bandwidth request corresponding to the service to the uplink channel with matching attributes according to the service attributes of the service, so as to obtain the uplink bandwidth through the uplink channel request, and after obtaining the bandwidth allocation, map the uplink service frame corresponding to the service to the uplink channel with matching attributes, and transmit the uplink service frame to the master device in the uplink channel using the corresponding uplink bandwidth. For example, the slave device maps the east-west service bandwidth request to the uplink channel with east-west attributes, obtains the uplink bandwidth through the uplink channel request with east-west attributes, and after obtaining the east-west bandwidth allocation, maps the uplink service frame of the east-west service to the uplink channel with east-west attributes, and transmits the uplink service frame to the master device through the uplink channel with east-west attributes. Alternatively, the slave device maps the north-south service bandwidth request to the uplink channel of the north-south attribute, obtains the uplink bandwidth through the uplink channel request of the north-south attribute, and after obtaining the north-south bandwidth allocation, the slave device maps the uplink service frame of the north-south service to the uplink channel of the north-south attribute, and transmits the uplink service frame to the master device through the uplink channel of the north-south attribute. In the above process, the master device can also determine the service attributes of the uplink service frame according to the channel attributes of the uplink channel for transmitting the uplink service frame.

[0057] It should be noted that the OLT configures multiple uplink channels with channel attributes for the slave device, and can also allocate a specific bandwidth to each uplink channel, and each uplink channel transmits an uplink frame through the allocated bandwidth. Exemplarily, the uplink frame can be a service data message, a service bandwidth request, or other service message.

[0058] Exemplarily, the slave device sends a bandwidth request for the first service to the master device through the first uplink channel. Based on this, the process of determining the service attribute of the first service may specifically include the following steps S121 and S122:

[0059] Step S121: determining a channel attribute of a first uplink channel, wherein the channel attribute includes an east-west attribute or a north-south attribute;

[0060] Step S122: Determine that the service attribute of the first service is an east-west attribute based on that the channel attribute of the first uplink channel is an east-west attribute; or, determine that the service attribute of the first service is a north-south attribute based on that the channel attribute of the first uplink channel is a north-south attribute.

[0061] Exemplarily, the master device receives a bandwidth request for a first service from a first uplink channel with an east-west attribute, determines that the service attribute of the first service is an east-west attribute based on the channel attribute of the first uplink channel being an east-west attribute, and then performs operations related to allocating east-west bandwidth for the first service.

[0062] Exemplarily, the main device receives a bandwidth request for the first service from the first uplink channel with a north-south attribute, determines that the service attribute of the first service is a north-south attribute based on the channel attribute of the first uplink channel being a north-south attribute, and then performs operations related to allocating north-south bandwidth for the first service.

[0063] In one implementation, when it is confirmed that the first service is an east-west service, in step S120, bandwidth allocation related operations are performed according to the service attributes of the first service, which may specifically include: allocating east-west bandwidth to the first service according to the service attributes of the first service being east-west attributes.

[0064] In another embodiment, when it is confirmed that the first service is an east-west service, in step S120, bandwidth allocation related operations are performed according to the service attributes of the first service, which may specifically include: according to the service attribute of the first service being an east-west attribute, the bandwidth request for the first service is forwarded to the optical line terminal OLT, so that the OLT allocates east-west bandwidth to the first service according to the bandwidth request.

[0065] In the case where the first service is an east-west service, the embodiment of the present application provides two implementation methods for allocating east-west bandwidth to the first service, the first being to allocate east-west bandwidth to the first service through the master device, and the second being to allocate east-west bandwidth to the first service through the OLT. In the second implementation method, the master device forwards the bandwidth request with equal delay to the OLT through a locally constructed forwarding channel, so that the OLT responds to the bandwidth request and allocates east-west bandwidth to the first service.

[0066] Exemplarily, allocating the east-west bandwidth to the first service specifically includes: determining the remaining bandwidth according to the total bandwidth of the main device and the used north-south bandwidth; and allocating the east-west bandwidth to the first service from the remaining bandwidth.

[0067] It is understandable that the OLT can distinguish between north-south bandwidth demands and allocate north-south bandwidth according to the total bandwidth under the OLT. It can also distinguish between east-west bandwidth demands and allocate east-west bandwidth to each master device agent. Combine the north-south bandwidth allocation, subtract the north-south bandwidth allocation related to the master device, and allocate east-west bandwidth for the remaining bandwidth under the master device.

[0068] When it is confirmed that the first service is a north-south service, in step S120, bandwidth allocation related operations are performed according to the service attributes of the first service, which may specifically include: according to the service attribute of the first service being a north-south attribute, a bandwidth request for the first service is forwarded to the OLT with equal delay, so that the OLT allocates north-south bandwidth for the first service according to the bandwidth request.

[0069] For bandwidth requests for north-south services, the master device forwards the bandwidth requests with equal delay to the OLT, and the OLT allocates north-south bandwidth for the north-south services.

[0070] Specifically, the OLT may allocate the north-south bandwidth of the FTTH segment to the first service from its own total bandwidth and allocate the north-south bandwidth of the FTTR segment to the first service from the total bandwidth of the main device according to its own total bandwidth and the total bandwidth of the main device.

[0071] It should be noted that when the OLT configures an uplink channel for the slave device, it also allocates a fixed bandwidth for the uplink channel. When the slave device transmits the bandwidth request to the master device through the first uplink channel, the master device forwards the bandwidth request to the OLT through the forwarding channel with equal delay. The OLT can determine which uplink channel the bandwidth request comes from based on the bandwidth used for bandwidth request transmission, and then determine whether the service currently requesting bandwidth is an east-west service or a north-south service based on the channel attributes of the uplink channel.

[0072] In a possible embodiment of the present application, in step S120, performing bandwidth allocation related operations according to the service attributes of the first service may also include: when the connection with the OLT fails, stopping forwarding the bandwidth request for the first service to the OLT, and allocating bandwidth to the first service according to a preset bandwidth allocation rule.

[0073] In the case where the connection between the master device and the OLT fails, that is, the master device loses connection with the OLT, in this case, the master device can allocate bandwidth for the first service according to a preset bandwidth allocation rule, such as simple allocation, fixed allocation, or user participation, and the master device stops forwarding bandwidth requests to the OLT.

[0074] Exemplarily, the embodiment of the present application further includes: the master device forwards the bandwidth allocation result returned by the OLT to the slave device, so that the slave device obtains the allocated bandwidth.

[0075] The method provided in the embodiment of the present application may further include the following steps S210-S230:

[0076] Step S210: receiving a service message of a second service sent by a home user device;

[0077] Step S220: Obtain the destination address of the service message;

[0078] Step S230: When the destination address of the service message belongs to the address of a stored home user device, determine that the service attribute of the service message is an east-west attribute, determine the target slave device according to the destination address of the service message, and forward the service message to the target slave device through the first downlink channel, wherein the channel attribute of the first downlink channel is an east-west attribute.

[0079] Exemplarily, the first downlink channel may be a GEM Port.

[0080] The OLT can configure one or more downstream channels for the master device to establish one or more east-west downstream channels between the master device and the slave device. These downstream channels can be GEM ports. The master device maps the downstream service frame to the downstream channel with matching attributes to transmit the downstream service frame to the slave device through the downstream channel.

[0081] Exemplarily, after step S220, the method of the embodiment of the present application may further include the following step S240:

[0082] Step S240: When the destination address of the service message does not belong to the stored address of the home user device, determine that the service attribute of the service message is a north-south attribute, and forward the service message to the OLT with equal delay.

[0083] Exemplarily, the master device may construct a user device address list locally to store the addresses of home user devices. When receiving a service message from a user device, the service attribute of the service message may be determined based on whether the destination address in the service message is stored in the home user device address list. Specifically, if the master device can find the destination address in the local home user device address list, the service attribute is determined to be an east-west attribute, otherwise it is a north-south attribute.

[0084] Before step S210, the method of the embodiment of the present application may further include the following steps S201 and S202:

[0085] Step S201, obtaining and storing the address of at least one home user device with which a connection has been established;

[0086] Step S202: Send the address of the home user equipment to the slave device via a downlink notification message, so that the slave device stores the address of the home user equipment.

[0087] The master device can request an address from a home user device with which a connection has been established, store the acquired address locally, and send the address of the home user device to the corresponding slave device via a downlink notification message to share the learned home user device address with the slave device.

[0088] The following is explained by an example. In one example of the present application, the following steps S301-S305 are included:

[0089] Step S301, the main device 1 receives a connection request from the home user device 1, establishes a connection with the home user device 1, and obtains the address address1 of the home user device 1;

[0090] Step S302: the master device 1 stores the address address1 of the home user device 1 in the local home user device address list;

[0091] Step S303: The master device 1 generates a downlink notification message "Device_Address_Share_d", and the downlink notification message "Device_Address_Share_d" carries the address address1 of the home user device 1;

[0092] Step S304, the master device 1 sends a downlink notification message "Device_Address_Share_d" to the slave devices 1, 2 and 3, and correspondingly, the slave devices 1, 2 and 3 receive the downlink notification message "Device_Address_Share_d" sent by the master device 1 respectively;

[0093] Step S305, slave device 1, slave device 2 and slave device 3 respectively obtain the address address1 of home user device 1 from "Device_Address_Share_d", and store the address address1 of home user device 1 in the local home user device address list.

[0094] Exemplarily, the format of the downlink notification message "Device_Address_Share_d" may refer to the following Table 1.

[0095] Table 1

[0096] byte Fields illustrate 1-2 ONU-ID Indicates the ONU-ID of all receivers of the broadcast message 3 Message Type ID The value is 0x20, indicating the "Device_Address_Share_d" message 4 SeqNo 8-bit broadcast PLOAM message sequence number 5-10 address 6-byte MAC address 11 Source ONU-ID When the value is 0xFF, it indicates the master device. Other values ​​indicate the ONU-ID of the slave device. 12-40 Padding Set to 0x00 by the transmitter and regarded as "don't care" by the receiver 41-48 MIC Indicates that the default PLOAM integrity key is used for message integrity check

[0097] Before step S210, the method of the embodiment of the present application may further include the following steps S203 and S204:

[0098] Step S203: receiving an uplink notification message sent by the slave device, wherein the uplink notification message carries an address of a home user device connected to the slave device;

[0099] Step S204: storing the address of the home user equipment carried in the uplink notification message;

[0100] Step S205: Send the address of the home user device to other slave devices except the slave device that sends the uplink notification message through a downlink notification message, so that the other slave devices store the address of the home user device.

[0101] The master device may receive the home user device address shared by the slave device through an uplink notification message, and share the home user device address with other slave devices through a downlink notification message.

[0102] The following is explained by an example. In one example of the present application, the following steps S401-S408 are included:

[0103] Step S401: receiving a connection request from home user device 2 from device 1, establishing a connection with home user device 2, and obtaining address address2 of home user device 2;

[0104] Step S402: The slave device 1 stores the address address2 of the home user device 2 in the local home user device address list;

[0105] Step S403: The slave device 1 generates an uplink notification message "Device_Address_Share_u", and the uplink notification message "Device_Address_Share_u" carries the address address2 of the home user device 2;

[0106] Step S404, slave device 1 sends an uplink notification message "Device_Address_Share_u" to master device 1, and correspondingly, master device 1 receives the uplink notification message "Device_Address_Share_u" sent by slave device 1;

[0107] Step S405: The master device 1 obtains the address address2 of the home user device 2 from the uplink notification message "Device_Address_Share_u", and stores the address address2 of the home user device 2 in the local home user device address list;

[0108] Step S406: The master device 1 generates a downlink notification message "Device_Address_Share_d", and the downlink notification message "Device_Address_Share_d" carries the address address2 of the home user device 2;

[0109] Step S407, the master device 1 sends a downlink notification message "Device_Address_Share_d" to the slave devices 2 and 3, and correspondingly, the slave devices 2 and 3 receive the downlink notification message "Device_Address_Share_d" sent by the master device 1 respectively;

[0110] Step S408, slave device 2 and slave device 3 respectively obtain address address2 of home user device 2 from the downlink notification message "Device_Address_Share_d", and store address address2 of home user device 2 in a local home user device address list.

[0111] Exemplarily, the format of the uplink notification message "Device_Address_Share_u" may refer to the following Table 2.

[0112] Table 2

[0113] byte Fields illustrate 1-2 ONU-ID ONU-ID of the message sender 3 Message Type ID The value is 0x1F, indicating the "Device_Address_Share_u" message 4 SeqNo The value is 0x00 5-10 address 6-byte MAC address 11 Source ONU-ID Indicates the ONU-ID of the slave device 12-40 Padding Set to 0x00 by the transmitter and regarded as "don't care" by the receiver 41-48 MIC Indicates that the default PLOAM integrity key is used for message integrity check

[0114] Exemplarily, the method of the embodiment of the present application further includes: constructing a forwarding channel between the OLT and the slave device, the forwarding channel being used to forward the uplink frame from the slave device to the OLT with equal delay, or to forward the downlink frame from the OLT with equal delay to the slave device. The forwarding channel is a PON layer forwarding channel between the OLT and the slave device. Exemplarily, the uplink frame may be an uplink service message, a bandwidth request, or other uplink message, and the downlink frame may be a downlink service message, a bandwidth request response, or other downlink message.

[0115] In one embodiment of the present application, the following steps S501-S510 are included:

[0116] Step S501: receiving a service connection request for service 1 sent by home user device 2 from device 1, where the service connection request carries a destination address of service 1;

[0117] Step S502: Find the destination address of service 1 from the local home user device address list of device 1, and then determine that the service attribute of service 1 is an east-west attribute;

[0118] Step S503: Slave device 1 sends a bandwidth request for service 1 to master device 1 through T-CONT1 of east-west attribute. Correspondingly, master device 1 receives the bandwidth request for service 1 sent by slave device 1 from T-CONT1.

[0119] Step S504: The master device 1 determines that the service attribute of the service 1 is the east-west attribute according to the channel attribute of the T-CONT1 being the east-west attribute;

[0120] Step S505: Master device 1 allocates east-west bandwidth to service 1 based on north-south bandwidth allocation;

[0121] Step S506: receiving a service message of service 1 sent by home user device 2 from device 1;

[0122] Step S507, slave device 1 uses the bandwidth reserved by T-CONT1 for service 1 to send a service message of service 1 to master device 1, and correspondingly, master device 1 receives the service message of service 1 sent by slave device 1 from T-CONT1;

[0123] Step S508: The master device 1 determines that the service message has an east-west attribute according to the channel attribute of T-CONT1 being an east-west attribute;

[0124] Step S509: Master device 1 determines that the destination slave device is slave device 2 according to the destination address of the service message;

[0125] Step S510: Master device 1 maps the service message of service 1 to downlink channel GEM port 5, and forwards the service message of service 1 to slave device 2 through GEM port 5, so that slave device 2 forwards the service message of service 1 to the home user device corresponding to the destination address.

[0126] In one embodiment of the present application, the following steps S601-S611 are included:

[0127] Step S601: receiving a service connection request for service 1 sent by home user device 2 from device 1, where the service connection request carries a destination address of service 1;

[0128] Step S602: Find the destination address of service 1 from the local home user device address list of device 1, and then determine that the service attribute of service 1 is an east-west attribute;

[0129] Step S603: Slave device 1 sends a bandwidth request for service 1 to master device 1 through T-CONT1 of east-west attribute. Correspondingly, master device 1 receives the bandwidth request for service 1 sent by slave device 1 from T-CONT1.

[0130] Step S604: The master device 1 determines that the service attribute of the service 1 is the east-west attribute according to the channel attribute of the T-CONT1 being the east-west attribute;

[0131] Step S605, the master device 1 forwards the bandwidth request and other delays to the FTTH OLT through the forwarding channel;

[0132] Step S606: The FTTH OLT allocates east-west bandwidth to service 1 based on the north-south bandwidth allocation, and sends the east-west bandwidth allocation result to the master device, so that the master device sends the east-west bandwidth allocation result to slave device 1;

[0133] Step S607: receiving a service message of service 1 sent by home user device 2 from device 1;

[0134] Step S608, slave device 1 uses the east-west bandwidth reserved by T-CONT1 for service 1 to send a service message of service 1 to master device 1. Correspondingly, master device 1 receives the service message of service 1 sent by slave device 1 from T-CONT1.

[0135] Step S609: The master device 1 determines that the service message has an east-west attribute according to the channel attribute of T-CONT1 being an east-west attribute;

[0136] Step S610, the master device 1 determines that the destination slave device is the slave device 2 according to the destination address of the service message;

[0137] Step S611, the master device 1 maps the service message of service 1 to the downlink channel GEM port 5, and forwards the service message of service 1 to the slave device 2 through GEM port 5, so that the slave device 2 forwards the service message of service 1 to the home user device corresponding to the destination address.

[0138] In one embodiment of the present application, the following steps S701-S710 are included:

[0139] Step S701: receiving a service connection request for service 2 sent by home user device 2 from device 1, where the service connection request carries a destination address of service 2;

[0140] Step S702: The destination address of the service 2 cannot be found in the local home user device address list of the slave device 1, and then the service attribute of the service 2 is determined to be a north-south attribute;

[0141] Step S703: Slave device 1 sends a bandwidth request for service 2 to master device 1 through T-CONT2 of north-south attribute. Correspondingly, master device 1 receives the bandwidth request for service 2 sent by slave device 1 from T-CONT2.

[0142] Step S704: The master device 1 determines that the service attribute of the service 2 is a north-south attribute according to the channel attribute of the T-CONT2 being a north-south attribute;

[0143] Step S705, the master device 1 forwards the bandwidth request and equal delay to the FTTH OLT through the forwarding channel;

[0144] Step S706: The FTTH OLT allocates the north-south bandwidth of the FTTH segment to service 2 from its own total bandwidth and the total bandwidth of the master device, and allocates the north-south bandwidth of the FTTR segment to service 2 from the total bandwidth of the master device, and the FTTH OLT sends the north-south bandwidth allocation result to the master device, so that the master device sends the north-south bandwidth allocation result to slave device 1;

[0145] Step S707: receiving a service message of service 2 sent by home user device 2 from device 1;

[0146] Step S708, slave device 1 uses the north-south bandwidth reserved for service 2 by T-CONT2 to send a service message of service 2 to master device 1. Correspondingly, master device 1 receives the service message of service 2 sent by slave device 1 from T-CONT2.

[0147] Step S709: The master device 1 determines that the service message has a north-south attribute according to the channel attribute of T-CONT2 being a north-south attribute.

[0148] Step S710: The master device 1 forwards the service message of the service 2 to the FTTH OLT.

[0149] In one embodiment of the present application, the following steps S801-S804 are included:

[0150] Step S801: the main device 1 receives a service message of service 3 sent by the home user device 1, where the service message carries a destination address of service 3;

[0151] Step S802: the master device 1 searches the local home user device address list for the destination address of the service 3, and then determines that the service attribute of the service 3 is an east-west attribute;

[0152] Step S803: Master device 1 determines that the destination slave device is slave device 2 according to the destination address of service 3;

[0153] Step S804: the master device 1 maps the service message of service 3 to the downlink channel GEM port 6, and forwards the service message of service 3 to the slave device 2 through GEM port 6, so that the slave device 2 forwards the service message of service 3 to the home user device corresponding to the destination address.

[0154] In one embodiment of the present application, the following steps S901-S903 are included:

[0155] Step S901: the main device 1 receives a service message of service 4 sent by the home user device 1, where the service message carries a destination address of service 4;

[0156] Step S902: The master device 1 cannot find the destination address of the service 4 in the local home user device address list, and then determines that the service attribute of the service 4 is a north-south attribute;

[0157] Step S903: The master device 1 forwards the service message of service 4 to the FTTH OLT.

[0158] See also Figure 6 , Figure 6 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The execution subject of the bandwidth allocation method may be Figure 1 or Figure 3 The slave device in the implementation environment shown. Figure 6 As shown, the bandwidth allocation method may include but is not limited to the following steps S1001-S1002, and each step is introduced in turn below:

[0159] Step S1001: receiving a service message of a first service sent by a home user device;

[0160] Step S1002: Send a bandwidth request related to a service attribute of a first service to a master device, wherein the bandwidth request is used to request allocation of bandwidth for the first service.

[0161] Exemplarily, the business attributes include east-west attributes and north-south attributes.

[0162] In step S1002, sending a bandwidth request related to the service attribute of the first service to the main device may specifically include: when the service attribute of the first service is an east-west attribute, sending a bandwidth request to the main device through a second uplink channel, wherein the channel attribute of the second uplink channel is an east-west attribute; or, when the service attribute of the first service is a north-south attribute, sending a bandwidth request to the main device through a third uplink channel, wherein the channel attribute of the third uplink channel is a north-south attribute.

[0163] In step S1002, determining the service attribute of the first service may specifically include:

[0164] Obtaining a destination address of a service message of a first service;

[0165] When the destination address of the service message belongs to the address of a stored home user device, the service attribute of the service message is determined to be an east-west attribute; or, when the destination address of the service message does not belong to the address of a stored home user device, the service attribute of the service message is determined to be a north-south attribute.

[0166] Exemplarily, the method of the embodiment of the present application may further include:

[0167] Obtaining and storing an address of at least one connected home user device;

[0168] receiving a downlink notification message sent by the master device, wherein the downlink notification message carries an address of a home user device connected to other slave devices;

[0169] The address of the home user equipment carried in the downlink notification message is stored.

[0170] Exemplarily, the method of the embodiment of the present application may further include:

[0171] The address of the home user equipment is sent to the main device through an uplink notification message, so that the main device stores the address of the home user equipment.

[0172] Exemplarily, the method of the embodiment of the present application may further include:

[0173] Receiving the bandwidth allocation result sent by the master device;

[0174] Determine the bandwidth allocated to the first service according to the bandwidth allocation result;

[0175] The first service is transmitted using the bandwidth allocated to the first service.

[0176] See also Figure 7 , Figure 7 is a flow chart of a bandwidth allocation method provided in an embodiment of the present application. The execution subject of the bandwidth allocation method may be Figure 1 or Figure 3 The OLT in the implementation environment shown in FIG. Figure 7 As shown, the bandwidth allocation method may include but is not limited to the following steps S1101-S1102, and each step is introduced in turn below:

[0177] Step S1101: The master device receives a bandwidth request for a first service from a slave device;

[0178] Step S1102: Perform a bandwidth allocation operation according to the service attribute of the first service.

[0179] Exemplarily, the method of the embodiment of the present application also includes: performing channel configuration on the slave device to construct multiple uplink channels with channel attributes on the slave device, where the channel attributes include east-west attributes or north-south attributes.

[0180] Exemplarily, the OLT can configure the channel of the master device or the slave device through the downlink physical layer operation management and maintenance (PLOAM) message "Assign_Alloc-id" message. Specifically, on the basis of the Alloc-ID / T-CONT message Assign_Alloc-ID, the north-south service attributes and the east-west service attributes are added, wherein the Alloc-ID-type of the 7th byte adds two codes 0x02 and 0x03, indicating that it is used for the north-south service and the east-west service respectively. The format of the Assign_Alloc-ID message can be shown in the following Table 3.

[0181] Table 3

[0182]

[0183]

[0184] Exemplarily, the slave device sends a bandwidth request for the first service to the master device through the first uplink channel, so that the master device forwards the bandwidth request to the OLT with equal delay.

[0185] Exemplarily, determining the service attribute of the first service may include:

[0186] Determining channel attributes of a first uplink channel;

[0187] According to the east-west attribute of the first uplink channel, the service attribute of the first service is determined to be the east-west attribute; or, according to the north-south attribute of the first uplink channel, the service attribute of the first service is determined to be the north-south attribute.

[0188] Exemplarily, performing bandwidth allocation related operations according to the service attribute of the first service may specifically include:

[0189] According to the service attribute of the first service being an east-west attribute, allocating east-west bandwidth to the first service, and forwarding the bandwidth allocation result to the slave device through the master device;

[0190] According to the service attribute of the first service being a north-south attribute, a north-south bandwidth is allocated to the first service, and the bandwidth allocation result is forwarded to the slave device through the master device.

[0191] Exemplarily, allocating east-west bandwidth to the first service may specifically include:

[0192] Determine the remaining bandwidth based on the total bandwidth of the master device and the used north-south bandwidth;

[0193] The east-west bandwidth is allocated to the first service from the remaining bandwidth.

[0194] Exemplarily, allocating north-south bandwidth for the first service may specifically include:

[0195] The north-south bandwidth is allocated to the first service according to the total bandwidth of the service and the total bandwidth of the main device.

[0196] The present application also provides a communication device, such as Figure 8 As shown, the communication device 1400 includes:

[0197] one or more processors 1410;

[0198] The memory 1420 stores one or more programs. When the one or more programs are executed by the one or more processors 1410, the one or more processors 1410 implement:

[0199] Such as the bandwidth allocation method applied to the master device;

[0200] Or, as applied to a bandwidth allocation method of a slave device;

[0201] Or, as the bandwidth allocation method applied to OLT.

[0202] The memory 1420, as a non-transient network system, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory 1420 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 1420 may optionally include a memory 1420 remotely arranged relative to the processor 1410, and these remote memories 1420 may be connected to the processor 1410 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0203] The memory 1420 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1420 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1420, and the processor 1410 calls and executes the methods of the embodiments of this application.

[0204] The processor 1410 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0205] In some embodiments, the communication device further comprises:

[0206] Input / output interface, used to realize information input and output;

[0207] Communication interface, used to realize communication interaction between this device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0208] A bus that transmits information between various components of the device (e.g., processor 1410, memory 1420, input / output interface, and communication interface);

[0209] The processor 1410 , the memory 1420 , the input / output interface and the communication interface can be connected to each other in communication within the device via a bus.

[0210] An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for executing:

[0211] Such as the bandwidth allocation method applied to the master device;

[0212] Or, as applied to a bandwidth allocation method of a slave device;

[0213] Or, as the bandwidth allocation method applied to OLT.

[0214] An embodiment of the present application further provides a computer program product, including a computer program or a computer instruction, wherein the computer program or the computer instruction is stored in a computer-readable storage medium, and a processor of a computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes and implements:

[0215] Such as the bandwidth allocation method applied to the master device;

[0216] Or, as applied to a bandwidth allocation method of a slave device;

[0217] Or, as the bandwidth allocation method applied to OLT.

[0218] The system architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.

[0219] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0220] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0221] The above describes some embodiments of the present application with reference to the accompanying drawings, but does not limit the scope of the present invention. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present application.

Claims

1. A bandwidth allocation method, applied to a master device, comprising: receiving a bandwidth request for a first service sent from a device; Perform bandwidth allocation related operations according to the service attributes of the first service.

2. The method according to claim 1, characterized in that The slave device sends the bandwidth request for the first service to the master device through a first uplink channel; The service attribute of the first service is determined by the following steps: Determining a channel attribute of the first uplink channel, wherein the channel attribute includes an east-west attribute or a north-south attribute; According to the east-west attribute of the first uplink channel, the service attribute of the first service is determined to be the east-west attribute; or, according to the north-south attribute of the first uplink channel, the service attribute of the first service is determined to be the north-south attribute.

3. The method according to claim 2, characterized in that The performing bandwidth allocation related operations according to the service attribute of the first service includes: According to the service attribute of the first service being an east-west attribute, allocating east-west bandwidth to the first service; or, According to the service attribute of the first service being an east-west attribute, the bandwidth request for the first service isochronously forwarded to the optical line terminal OLT, so that the OLT allocates east-west bandwidth for the first service according to the bandwidth request, and forwards the bandwidth allocation result returned by the OLT to the slave device.

4. The method according to claim 3, characterized in that The allocating east-west bandwidth for the first service includes: Determine the remaining bandwidth according to the total bandwidth of the master device and the used north-south bandwidth; An east-west bandwidth is allocated to the first service from the remaining bandwidth.

5. The method according to claim 2, characterized in that: The performing bandwidth allocation related operations according to the service attribute of the first service includes: According to the service attribute of the first service being a north-south attribute, forwarding the bandwidth request for the first service to the OLT with equal delay, so that the OLT allocates north-south bandwidth for the first service according to the bandwidth request; The bandwidth allocation result returned by the OLT is forwarded to the slave device.

6. The method according to any one of claims 3 to 5, wherein the performing of the bandwidth allocation operation according to the service attribute of the first service further comprises: In the case where the connection with the OLT fails, the bandwidth request for the first service is stopped from being forwarded to the OLT, and bandwidth is allocated to the first service according to a preset bandwidth allocation rule.

7. The method according to claim 1, characterized in that The method further comprises: receiving a service message of a second service sent by a home user device; Obtaining the destination address of the service message; In a case where the destination address of the service message belongs to the address of a stored home user device, the service attribute of the service message is determined to be an east-west attribute, the target slave device is determined according to the destination address of the service message, and the service message is forwarded to the target slave device through a first downlink channel, wherein the channel attribute of the first downlink channel is an east-west attribute.

8. The method according to claim 7, characterized in that After obtaining the destination address of the service message, the method further includes: In the case that the destination address of the service message does not belong to the stored address of the home user equipment, it is determined that the service attribute of the service message is a north-south attribute, and the service message is forwarded to the OLT.

9. The method according to claim 7, characterized in that: Before receiving the service message of the second service sent by the home user equipment, the method further includes: Obtaining and storing an address of at least one connected home user device; The address of the home user equipment is sent to the slave device via a downlink notification message, so that the slave device stores the address of the home user equipment.

10. The method according to claim 7, characterized in that Before receiving the service message of the second service sent by the home user equipment, the method further includes: receiving an uplink notification message sent by the slave device, wherein the uplink notification message carries an address of a home user device connected to the slave device; storing the address of the home user equipment carried by the uplink notification message; The address of the home user equipment is sent to other slave devices except the slave device that sends the uplink notification message through a downlink notification message, so that the other slave devices store the address of the home user equipment.

11. The method according to claim 1, characterized in that: The method further comprises: A forwarding channel is constructed between the OLT and the slave device, wherein the forwarding channel is used to forward the uplink frames from the slave device to the OLT with equal delay.

12. A bandwidth allocation method, applied to a slave device, the method comprising: receiving a service message of a first service sent by a home user device; A bandwidth request related to the service attribute of the first service is sent to the master device, wherein the bandwidth request is used to request allocation of bandwidth for the first service.

13. The method according to claim 12, characterized in that The business attributes include east-west attributes and north-south attributes; The sending a bandwidth request related to the service attribute of the first service to the master device includes: In a case where the service attribute of the first service is an east-west attribute, sending the bandwidth request to the master device through a second uplink channel, wherein the channel attribute of the second uplink channel is an east-west attribute; In a case where the service attribute of the first service is a north-south attribute, the bandwidth request is sent to the master device through a third uplink channel, wherein the channel attribute of the third uplink channel is a north-south attribute.

14. The method according to claim 12, characterized in that The service attribute of the first service is determined by the following steps, including: Obtaining a destination address of a service message of the first service; In a case where the destination address of the service message belongs to the address of the stored home user equipment, determining that the service attribute of the service message is an east-west attribute; In a case where the destination address of the service message does not belong to the stored address of the home user equipment, it is determined that the service attribute of the service message is a north-south attribute.

15. The method according to claim 13 or 14, characterized in that The method further comprises: Obtaining and storing an address of at least one connected home user device; receiving a downlink notification message sent by the master device, wherein the downlink notification message carries an address of a home user device connected to other slave devices; The address of the home user equipment carried in the downlink notification message is stored.

16. The method according to claim 15, characterized in that The method further comprises: The address of the home user equipment is sent to the main device through an uplink notification message, so that the main device stores the address of the home user equipment.

17. The method according to claim 15, characterized in that The method further comprises: Receiving the bandwidth allocation result sent by the master device; Determine the bandwidth allocated to the first service according to the bandwidth allocation result; The first service is transmitted using the bandwidth allocated to the first service.

18. A bandwidth allocation method, applied to an optical line terminal OLT, the method comprising: receiving, from the master device, a bandwidth request for a first service from the slave device; Perform bandwidth allocation related operations according to the service attributes of the first service.

19. The method according to claim 18, characterized in that The method further comprises: Channel configuration is performed on the slave device to construct a plurality of uplink channels with channel attributes on the slave device, wherein the channel attributes include east-west attributes or north-south attributes.

20. The method according to claim 19, characterized in that The slave device sends the bandwidth request for the first service to the master device through the first uplink channel, so that the master device forwards the bandwidth request to the OLT with equal delay; The service attribute of the first service is determined by the following steps, including: Determining a channel attribute of the first uplink channel; According to the east-west attribute of the first uplink channel, the service attribute of the first service is determined to be the east-west attribute; or, according to the north-south attribute of the first uplink channel, the service attribute of the first service is determined to be the north-south attribute.

21. The method according to claim 20, characterized in that The performing bandwidth allocation related operations according to the service attribute of the first service includes: According to the service attribute of the first service being an east-west attribute, allocating east-west bandwidth to the first service, and forwarding the bandwidth allocation result to the slave device through the master device; According to the service attribute of the first service being a north-south attribute, a north-south bandwidth is allocated to the first service, and the bandwidth allocation result is forwarded to the slave device through the master device.

22. The method according to claim 21, characterized in that The allocating east-west bandwidth for the first service includes: Determine the remaining bandwidth according to the total bandwidth of the master device and the used north-south bandwidth; An east-west bandwidth is allocated to the first service from the remaining bandwidth.

23. The method according to claim 21, characterized in that The allocating north-south bandwidth for the first service includes: The north-south bandwidth is allocated to the first service according to the total bandwidth of the service and the total bandwidth of the main device.

24. A communication device comprising: one or more processors; A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement: The bandwidth allocation method according to any one of claims 1 to 11; or, The bandwidth allocation method according to any one of claims 12 to 17; or, A bandwidth allocation method as described in any one of claims 18 to 23.

25. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements: The bandwidth allocation method according to any one of claims 1 to 11; or, The bandwidth allocation method according to any one of claims 12 to 17; or, A bandwidth allocation method as described in any one of claims 18 to 23.

Citation Information

Cited By

  • Bandwidth allocation method, and communication device and storage medium

    EP4801057A1